1 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
3 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
4 * math/Makefile: Remove isinf_ns.c.
5 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
6 * math/multc3.c (__multc3): Likewise.
7 * math/s_casin.c (__casin): Likewise.
8 * math/s_casinf.c (__casinf): Likewise.
9 * math/s_casinl.c (__casinl): Likewise.
10 * math/s_cproj.c (__cproj): Likewise.
11 * math/s_cprojf.c (__cprojf): Likewise.
12 * math/s_cprojl.c (__cprofl): Likewise.
13 * math/s_ctan.c (__ctan): Likewise.
14 * math/s_ctanf.c (__ctanf): Likewise.
15 * math/s_ctanh.c (__ctanh): Likewise.
16 * math/s_ctanhf.c (__ctanhf): Likewise.
17 * math/s_ctanhl.c (__ctanhl): Likewise.
18 * math/s_ctanl.c (__ctanl): Likewise.
19 * math/w_fmod.c (__fmod): Likewise.
20 * math/w_fmodf.c (__fmodf): Likewise.
21 * math/w_fmodl.c (_fmodl): Likewise.
22 * math/w_remainder.c (__remainder): Likewise.
23 * math/w_remainderf.c (__remainderf): Likewise.
24 * math/w_remainderl.c (__remainderl): Likewise.
25 * math/w_scalb.c (__scalb): Likewise.
26 * math/w_scalbf.c (__scalbf): Likewise.
27 * math/w_scalbl.c (__scalbl): Likewise.
28 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
29 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
32 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
33 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
34 __isinf_nsf with isinf.
35 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
36 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
37 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
38 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
40 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
41 __isinf_nsl with isinf.
42 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
44 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
45 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
46 __isinf_nsl with isinf.
47 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
48 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
51 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
53 * resolv/base64.c (rcsid): Remove unused static.
54 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
55 static. (tqpi1): Likewise.
56 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
57 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
58 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
59 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
60 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
61 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
62 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
63 * timezone/private.h (time_t_min): Likewise. (time_t_max):
66 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
68 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
70 (_longjmp_unwind): Use __libc_ptf_call.
71 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
73 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
75 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
76 * sysdeps/arm/__longjmp.S: Likewise
78 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
80 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
81 Use __builtin_signbit.
82 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
83 Use __builtin_signbitf.
84 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
85 Use __builtin_signbitl.
86 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
87 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
89 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
94 * math/Makefile: Build test-snan.c with -fsignaling-nans.
95 * math/math.h (fpclassify): Use __builtin_fpclassify when
96 available. (signbit): Use __builtin_signbit(f/l).
97 (isfinite): Use__builtin_isfinite. (isnormal): Use
98 __builtin_isnormal. (isnan): Use __builtin_isnan.
99 (isinf): Use __builtin_isinf_sign.
101 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
103 * benchtests/Makefile: Add bench-math-inlines, link with libm.
104 * benchtests/bench-math-inlines.c: New benchmark.
105 * benchtests/bench-util.h: New file.
106 * benchtests/bench-util.c: New file.
107 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
109 2015-09-18 Carlos O'Donell <carlos@redhat.com>
111 * elf/tst-dlmopen1.c: Define TEST_SO.
112 (do_test): Use TEST_SO.
114 * elf/dl-load.c: Include libc-internal.h.
115 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
117 2015-09-18 Vincent Bernat <vincent@bernat.im>
120 * time/strptime_l.c (__strptime_internal): Make %z accept
121 [+-]HH:MM time zones.
123 2015-09-18 Vincent Bernat <vincent@bernat.im>
126 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
129 2015-09-17 Mike Frysinger <vapier@gentoo.org>
131 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
132 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
134 (__ASSUME_FDATASYNC): Delete.
136 2015-09-17 Joseph Myers <joseph@codesourcery.com>
138 * conform/linknamespace.pl: Require weak undefined symbols to be
139 in the standard namespace.
140 (%strong_syms): Rename to %seen_syms.
141 (%strong_seen): Rename to %seen_where.
143 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
146 * misc/error.c (error): Replace pthread_setcancelstate with
147 __pthread_setcancelstate.
148 (error_at_line): Likewise.
149 * posix/wordexp.c (parse_comm): Likewise.
150 * stdlib/fmtmsg.c (fmtmsg): Likewise.
151 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
152 (__pthread_setcancelstate): This.
153 (pthread_setcancelstate): Add an alias.
154 * nptl/nptl-init.c (pthread_functions): Replace
155 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
156 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
157 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
159 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
161 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
162 (pthread_setcancelstate): Renamed to ...
163 (__pthread_setcancelstate): This.
164 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
165 __libc_ptf_call with __pthread_setcancelstate.
167 2015-09-17 Joseph Myers <joseph@codesourcery.com>
168 Andreas Schwab <schwab@suse.de>
171 * math/s_ctan.c (__ctan): Determine sign of zero real part of
172 result when imaginary part of argument is infinite using sine and
174 * math/s_ctanf.c (__ctanf): Likewise.
175 * math/s_ctanl.c (__ctanl): Likewise.
176 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
177 of result when real part of argument is infinite using sine and
179 * math/s_ctanhf.c (__ctanhf): Likewise.
180 * math/s_ctanhl.c (__ctanhl): Likewise.
181 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
182 (ctanh_test_data): Add more tests of ctanh.
184 2015-09-17 Joseph Myers <joseph@codesourcery.com>
187 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
188 bit-mask as in subtraction.
189 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
191 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
192 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
193 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
196 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
197 underflow exception for small results.
198 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
200 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
202 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
204 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
206 * math/auto-libm-test-in: Add more tests of tgamma.
207 * math/auto-libm-test-out: Regenerated.
209 2015-09-17 Andreas Schwab <schwab@suse.de>
211 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
213 2015-09-16 Joseph Myers <joseph@codesourcery.com>
216 * math/bits/mathcalls.h
217 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
219 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
221 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
223 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
225 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
227 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
229 * conform/data/math.h-data
230 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
232 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
233 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
234 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
235 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
236 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
237 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
238 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
239 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
240 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
241 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
242 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
245 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
246 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
247 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
248 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
249 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
250 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
251 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
252 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
253 [NO_LONG_DOUBLE] (scalbnl): Likewise.
254 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
256 [NO_LONG_DOUBLE] (scalbnl): Likewise.
257 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
258 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
259 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
260 long_double_symbol calls.
261 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
262 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
263 strong alias of __ldexpl.
264 (scalbnl): Define using long_double_symbol.
265 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
267 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
268 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
269 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
270 (scalbln_test_data): Add more errno expectations.
272 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
274 Cache the host port like we cache the task port. This way we do not
275 need to call the kernel just to get the port. Furthermore, we no
276 longer increase the reference count on every invocation of
279 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
280 Protect declarations against the macro expansion.
281 * mach/mach_init.c (__mach_host_self_): New variable.
282 (mach_init): Initialize `__mach_host_self_'.
283 * mach/mach_init.h (__mach_host_self_): New declaration.
284 (__mach_host_self, mach_host_self): New macros.
285 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
288 2015-09-16 Joseph Myers <joseph@codesourcery.com>
291 * po/de.po: Update from Translation Project.
294 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
295 (__expm1l): Remove code to handle positive infinity and overflow.
296 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
298 (__expm1l): Remove code to handle positive infinity and overflow.
300 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
301 Paul Pluzhnikov <ppluzhnikov@google.com>
304 * stdio-common/Makefile (tst-printf-bz18872): New test.
305 (tst-printf-bz18872-mem.out): Likewise.
306 * stdio-common/tst-printf-bz18872.sh: Generate new test.
307 * stdio-common/vfprintf.c: Fix memory leaks.
309 2015-09-16 Andreas Schwab <schwab@suse.de>
312 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
313 Remove extra va_start/va_end calls.
316 * posix/execl.c (execl): Add missing va_end.
317 * posix/execle.c (execle): Likewise.
318 * posix/execlp.c (execlp): Likewise.
320 2015-09-15 Roland McGrath <roland@hack.frob.com>
322 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
323 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
325 2015-09-15 Joseph Myers <joseph@codesourcery.com>
328 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
329 undefine around includes of <bits/mathcalls.h>.
330 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
331 not declare function.
332 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
333 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
335 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
337 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
339 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
340 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
341 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
344 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
345 return non-finite argument without doing ordered comparisons on
349 * math/fenv.h (fegetround): Use __attribute_pure__.
350 * include/fenv.h (__fegetround): Likewise.
353 * math/s_ctan.c (__ctan): Force underflow exception for results
354 whose real or imaginary part has small absolute value.
355 * math/s_ctanf.c (__ctanf): Likewise.
356 * math/s_ctanh.c (__ctanh): Likewise.
357 * math/s_ctanhf.c (__ctanhf): Likewise.
358 * math/s_ctanhl.c (__ctanhl): Likewise.
359 * math/s_ctanl.c (__ctanl): Likewise.
360 * math/auto-libm-test-in: Do not allow missing underflow for ctan
361 and ctanh. Add more tests of ctan and ctanh.
364 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
365 handling of cases where one argument is an infinity.
369 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
371 (__ieee754_exp10): For small results, force underflow exception
372 and remove excess range and precision from return value.
373 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
375 (__ieee754_exp10f): For small results, force underflow exception
376 and remove excess range and precision from return value.
377 * math/auto-libm-test-in: Add more tests of exp10.
378 * math/auto-libm-test-out: Regenerated.
380 2015-09-14 Joseph Myers <joseph@codesourcery.com>
384 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
386 (__ieee754_exp): For small results, force underflow exception and
387 remove excess range and precision from return value.
388 (__exp_finite): Likewise.
389 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
391 (__ieee754_expf): For small results, force underflow exception and
392 remove excess range and precision from return value.
393 (__expf_finite): Likewise.
394 * math/auto-libm-test-in: Add more tests of exp.
395 * math/auto-libm-test-out: Regenerated.
399 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
401 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
403 (__ieee754_exp2): For small results, force underflow exception and
404 remove excess range and precision from return value.
405 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
407 (__ieee754_exp2f): For small results, force underflow exception
408 and remove excess range and precision from return value.
409 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
411 (__ieee754_exp2l): Force underflow exception for small results.
412 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
413 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
414 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
416 (__ieee754_exp2l): Force underflow exception for small results.
417 * math/auto-libm-test-in: Add more tests or exp2.
418 * math/auto-libm-test-out: Regenerated.
420 2015-09-14 Carlos O'Donell <carlos@redhat.com>
422 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
424 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
427 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
429 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
430 io fs process)): Drop spurious backslash.
432 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
434 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
435 Use sysinfo system call instead of parsing /proc/meminfo.
436 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
439 2015-09-11 Mike Frysinger <vapier@gentoo.org>
442 * programs/localedef.c (main): Display argv[remaining] when
445 2015-09-11 Joseph Myers <joseph@codesourcery.com>
447 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
448 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
449 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
451 * math/auto-libm-test-out: Regenerated.
452 * sysdeps/i386/fpu/libm-test-ulps: Update.
453 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
454 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
455 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
457 2015-09-11 Roland McGrath <roland@hack.frob.com>
459 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
460 Use 'override' keyword to freeze the value here, preventing
461 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
463 2015-09-11 Joseph Myers <joseph@codesourcery.com>
466 * sysdeps/aarch64/bits/atomic.h: Move to ...
467 * sysdeps/aarch64/atomic-machine.h: ...here.
468 (_AARCH64_BITS_ATOMIC_H): Rename macro to
469 _AARCH64_ATOMIC_MACHINE_H.
470 * sysdeps/alpha/bits/atomic.h: Move to ...
471 * sysdeps/alpha/atomic-machine.h: ...here.
472 * sysdeps/arm/bits/atomic.h: Move to ...
473 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
474 * bits/atomic.h: Move to ...
475 * sysdeps/generic/atomic-machine.h: ...here.
476 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
477 * sysdeps/i386/bits/atomic.h: Move to ...
478 * sysdeps/i386/atomic-machine.h: ...here.
479 * sysdeps/ia64/bits/atomic.h: Move to ...
480 * sysdeps/ia64/atomic-machine.h: ...here.
481 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
482 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
483 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
484 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
485 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
486 * sysdeps/microblaze/bits/atomic.h: Move to ...
487 * sysdeps/microblaze/atomic-machine.h: ...here.
488 * sysdeps/mips/bits/atomic.h: Move to ...
489 * sysdeps/mips/atomic-machine.h: ...here.
490 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
491 * sysdeps/powerpc/bits/atomic.h: Move to ...
492 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
493 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
494 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
495 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
496 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
497 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
498 <atomic-machine.h> instead of <bits/atomic.h>.
499 * sysdeps/s390/bits/atomic.h: Move to ...
500 * sysdeps/s390/atomic-machine.h: ...here.
501 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
502 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
503 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
504 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
505 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
506 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
507 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
508 * sysdeps/tile/bits/atomic.h: Move to ...
509 * sysdeps/tile/atomic-machine.h: ...here.
510 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
511 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
512 <sysdeps/tile/atomic-machine.h> instead of
513 <sysdeps/tile/bits/atomic.h>.
514 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
515 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
516 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
517 <sysdeps/tile/atomic-machine.h> instead of
518 <sysdeps/tile/bits/atomic.h>.
519 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
520 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
521 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
522 <sysdeps/arm/atomic-machine.h> instead of
523 <sysdeps/arm/bits/atomic.h>.
524 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
525 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
526 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
527 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
528 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
529 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
530 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
531 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
532 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
533 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
534 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
535 * sysdeps/x86_64/bits/atomic.h: Move to ...
536 * sysdeps/x86_64/atomic-machine.h: ...here.
537 * include/atomic.h: Include <atomic-machine.h> instead of
540 * sysdeps/mips/mips32/libm-test-ulps: Update.
541 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
544 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
545 not convert non-integer negative arguments to int to determine the
547 * math/auto-libm-test-in: Add more tests of lgamma.
548 * math/auto-libm-test-out: Regenerated.
550 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
551 cosh, csqrt, erfc, expm1 and lgamma.
552 * math/auto-libm-test-out: Regenerated.
553 * sysdeps/i386/fpu/libm-test-ulps: Update.
554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
556 2015-09-10 Joseph Myers <joseph@codesourcery.com>
561 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
562 __lgamma_neg for arguments from -28.0 to -2.0.
563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
564 __lgamma_negf for arguments from -15.0 to -2.0.
565 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
566 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
567 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
568 Call __lgamma_negl for arguments from -33.0 to -2.0.
569 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
570 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
571 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
572 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
573 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
574 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
575 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
576 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
577 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
578 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
579 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
580 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
581 (__lgamma_neg): Likewise.
582 (__lgamma_negl): Likewise.
583 (__lgamma_product): Likewise.
584 (__lgamma_productl): Likewise.
585 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
586 * math/auto-libm-test-in: Add more tests of lgamma.
587 * math/auto-libm-test-out: Regenerated.
588 * sysdeps/i386/fpu/libm-test-ulps: Update.
589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
591 2015-09-09 Justin Maggard <jmaggard@netgear.com>
594 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
596 2015-09-08 Joseph Myers <joseph@codesourcery.com>
599 * bits/libc-lock.h: Move to ...
600 * sysdeps/generic/libc-lock.h: ...here.
601 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
602 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
603 * sysdeps/mach/hurd/libc-lock.h: ...here.
604 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
605 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
606 * sysdeps/mach/bits/libc-lock.h: Move to ...
607 * sysdeps/mach/libc-lock.h: ...here.
608 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
609 * sysdeps/nptl/bits/libc-lock.h: Move to ...
610 * sysdeps/nptl/libc-lock.h: ...here.
611 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
612 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
613 * sysdeps/nptl/libc-lockP.h: ...here.
614 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
615 * crypt/crypt_util.c: Include <libc-lock.h> instead of
617 * dirent/scandir-tail.c: Likewise.
618 * dlfcn/dlerror.c: Likewise.
619 * elf/dl-close.c: Likewise.
620 * elf/dl-iteratephdr.c: Likewise.
621 * elf/dl-lookup.c: Likewise.
622 * elf/dl-open.c: Likewise.
623 * elf/dl-support.c: Likewise.
624 * elf/dl-writev.h: Likewise.
625 * elf/rtld.c: Likewise.
626 * grp/fgetgrent.c: Likewise.
627 * gshadow/fgetsgent.c: Likewise.
628 * gshadow/sgetsgent.c: Likewise.
629 * iconv/gconv_conf.c: Likewise.
630 * iconv/gconv_db.c: Likewise.
631 * iconv/gconv_dl.c: Likewise.
632 * iconv/gconv_int.h: Likewise.
633 * iconv/gconv_trans.c: Likewise.
634 * include/link.h: Likewise.
635 * inet/getnameinfo.c: Likewise.
636 * inet/getnetgrent.c: Likewise.
637 * inet/getnetgrent_r.c: Likewise.
638 * intl/bindtextdom.c: Likewise.
639 * intl/dcigettext.c: Likewise.
640 * intl/finddomain.c: Likewise.
641 * intl/gettextP.h: Likewise.
642 * intl/loadmsgcat.c: Likewise.
643 * intl/localealias.c: Likewise.
644 * intl/textdomain.c: Likewise.
645 * libidn/idn-stub.c: Likewise.
646 * libio/libioP.h: Likewise.
647 * locale/duplocale.c: Likewise.
648 * locale/freelocale.c: Likewise.
649 * locale/newlocale.c: Likewise.
650 * locale/setlocale.c: Likewise.
651 * login/getutent_r.c: Likewise.
652 * login/getutid_r.c: Likewise.
653 * login/getutline_r.c: Likewise.
654 * login/utmp-private.h: Likewise.
655 * login/utmpname.c: Likewise.
656 * malloc/mtrace.c: Likewise.
657 * misc/efgcvt.c: Likewise.
658 * misc/error.c: Likewise.
659 * misc/fstab.c: Likewise.
660 * misc/getpass.c: Likewise.
661 * misc/mntent.c: Likewise.
662 * misc/syslog.c: Likewise.
663 * nis/nis_call.c: Likewise.
664 * nis/nis_callback.c: Likewise.
665 * nis/nss-default.c: Likewise.
666 * nis/nss_compat/compat-grp.c: Likewise.
667 * nis/nss_compat/compat-initgroups.c: Likewise.
668 * nis/nss_compat/compat-pwd.c: Likewise.
669 * nis/nss_compat/compat-spwd.c: Likewise.
670 * nis/nss_nis/nis-alias.c: Likewise.
671 * nis/nss_nis/nis-ethers.c: Likewise.
672 * nis/nss_nis/nis-grp.c: Likewise.
673 * nis/nss_nis/nis-hosts.c: Likewise.
674 * nis/nss_nis/nis-network.c: Likewise.
675 * nis/nss_nis/nis-proto.c: Likewise.
676 * nis/nss_nis/nis-pwd.c: Likewise.
677 * nis/nss_nis/nis-rpc.c: Likewise.
678 * nis/nss_nis/nis-service.c: Likewise.
679 * nis/nss_nis/nis-spwd.c: Likewise.
680 * nis/nss_nisplus/nisplus-alias.c: Likewise.
681 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
682 * nis/nss_nisplus/nisplus-grp.c: Likewise.
683 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
684 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
685 * nis/nss_nisplus/nisplus-network.c: Likewise.
686 * nis/nss_nisplus/nisplus-proto.c: Likewise.
687 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
688 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
689 * nis/nss_nisplus/nisplus-service.c: Likewise.
690 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
691 * nis/ypclnt.c: Likewise.
692 * nptl/libc_pthread_init.c: Likewise.
693 * nss/getXXbyYY.c: Likewise.
694 * nss/getXXent.c: Likewise.
695 * nss/getXXent_r.c: Likewise.
696 * nss/nss_db/db-XXX.c: Likewise.
697 * nss/nss_db/db-netgrp.c: Likewise.
698 * nss/nss_db/nss_db.h: Likewise.
699 * nss/nss_files/files-XXX.c: Likewise.
700 * nss/nss_files/files-alias.c: Likewise.
701 * nss/nsswitch.c: Likewise.
702 * posix/regex_internal.h: Likewise.
703 * posix/wordexp.c: Likewise.
704 * pwd/fgetpwent.c: Likewise.
705 * resolv/res_hconf.c: Likewise.
706 * resolv/res_libc.c: Likewise.
707 * shadow/fgetspent.c: Likewise.
708 * shadow/lckpwdf.c: Likewise.
709 * shadow/sgetspent.c: Likewise.
710 * socket/opensock.c: Likewise.
711 * stdio-common/reg-modifier.c: Likewise.
712 * stdio-common/reg-printf.c: Likewise.
713 * stdio-common/reg-type.c: Likewise.
714 * stdio-common/vfprintf.c: Likewise.
715 * stdio-common/vfscanf.c: Likewise.
716 * stdlib/abort.c: Likewise.
717 * stdlib/cxa_atexit.c: Likewise.
718 * stdlib/fmtmsg.c: Likewise.
719 * stdlib/random.c: Likewise.
720 * stdlib/setenv.c: Likewise.
721 * string/strsignal.c: Likewise.
722 * sunrpc/auth_none.c: Likewise.
723 * sunrpc/bindrsvprt.c: Likewise.
724 * sunrpc/create_xid.c: Likewise.
725 * sunrpc/key_call.c: Likewise.
726 * sunrpc/rpc_thread.c: Likewise.
727 * sysdeps/arm/backtrace.c: Likewise.
728 * sysdeps/generic/ldsodefs.h: Likewise.
729 * sysdeps/generic/stdio-lock.h: Likewise.
730 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
731 * sysdeps/i386/backtrace.c: Likewise.
732 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
733 * sysdeps/m68k/backtrace.c: Likewise.
734 * sysdeps/mach/hurd/cthreads.c: Likewise.
735 * sysdeps/mach/hurd/dirstream.h: Likewise.
736 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
737 * sysdeps/nptl/malloc-machine.h: Likewise.
738 * sysdeps/nptl/stdio-lock.h: Likewise.
739 * sysdeps/posix/dirstream.h: Likewise.
740 * sysdeps/posix/getaddrinfo.c: Likewise.
741 * sysdeps/posix/system.c: Likewise.
742 * sysdeps/pthread/aio_suspend.c: Likewise.
743 * sysdeps/s390/s390-32/backtrace.c: Likewise.
744 * sysdeps/s390/s390-64/backtrace.c: Likewise.
745 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
746 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
747 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
748 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
749 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
750 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
751 * sysdeps/unix/sysv/linux/system.c: Likewise.
752 * sysdeps/x86_64/backtrace.c: Likewise.
753 * time/alt_digit.c: Likewise.
754 * time/era.c: Likewise.
755 * time/tzset.c: Likewise.
756 * wcsmbs/wcsmbsload.c: Likewise.
757 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
758 instead of <bits/libc-lock.h> in comment.
760 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
762 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
763 Only use .set mips2 if the current ISA is below mips2.
764 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
766 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
767 mips32r2 if the current ISA is below mips32r2.
768 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
769 (TLS_IE): Updated to use the TLD_RDHWR macro.
771 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
772 __ASSEMBLER__ condition.
774 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
776 Fix parallel build of before-compile targets.
778 * sysdeps/mach/Makefile ($(patsubst
779 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
780 mach-before-compile target.
781 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
782 io fs process)): Move rule to dedicated hurd-before-compile target.
784 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
786 Fix rules generating headers in hurd/ and mach/ when initial make call
787 has subdir= explicitly set.
789 * sysdeps/mach/Makefile ($(patsubst
790 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
792 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
793 io fs process)): Force subdir to hurd when calling $(MAKE).
794 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
795 subdir to mach when calling $(MAKE).
797 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
799 Check sysheaders when looking for Mach and Hurd headers
801 * sysdeps/mach/configure.ac: Add sysheaders check.
802 * sysdeps/mach/configure: Regenerate.
803 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
804 * sysdeps/mach/hurd/configure: Regenerate.
806 2015-09-04 Roland McGrath <roland@hack.frob.com>
809 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
810 Fix inverted sense of test of 'o_directory_works' value.
811 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
812 Bernhard Voelker <mail@bernhard-voelker.de>.
814 2015-09-04 Joseph Myers <joseph@codesourcery.com>
817 * bits/linkmap.h: Move to ...
818 * sysdeps/generic/linkmap.h: ...here.
819 * sysdeps/aarch64/bits/linkmap.h: Move to ...
820 * sysdeps/aarch64/linkmap.h: ...here.
821 * sysdeps/arm/bits/linkmap.h: Move to ...
822 * sysdeps/arm/linkmap.h: ...here.
823 * sysdeps/hppa/bits/linkmap.h: Move to ...
824 * sysdeps/hppa/linkmap.h: ...here.
825 * sysdeps/ia64/bits/linkmap.h: Move to ...
826 * sysdeps/ia64/linkmap.h: ...here.
827 * sysdeps/mips/bits/linkmap.h: Move to ...
828 * sysdeps/mips/linkmap.h: ...here.
829 * sysdeps/s390/bits/linkmap.h: Move to ...
830 * sysdeps/s390/linkmap.h: ...here.
831 * sysdeps/sh/bits/linkmap.h: Move to ...
832 * sysdeps/sh/linkmap.h: ...here.
833 * sysdeps/x86/bits/linkmap.h: Move to ...
834 * sysdeps/x86/linkmap.h: ...here.
835 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
837 2015-09-04 Andreas Schwab <schwab@suse.de>
840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
841 (__makecontext): Terminate FDE before return label.
842 (__novec_makecontext): Likewise.
844 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
846 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
847 first member of struct sv in syscall macro.
849 2015-09-04 Joseph Myers <joseph@codesourcery.com>
852 * bits/stdio-lock.h: Move to ...
853 * sysdeps/generic/stdio-lock.h: ...here.
854 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
855 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
856 * sysdeps/nptl/stdio-lock.h: ...here.
857 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
858 * include/libio.h: Include <stdio-lock.h> instead of
860 * sysdeps/nptl/fork.c: Likewise.
861 * sysdeps/pthread/flockfile.c: Likewise.
862 * sysdeps/pthread/ftrylockfile.c: Likewise.
863 * sysdeps/pthread/funlockfile.c: Likewise.
866 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
867 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
868 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
869 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
870 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
871 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
872 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
874 2015-09-03 Roland McGrath <roland@hack.frob.com>
876 * elf/Makefile (test-xfail-tst-protected1a): New variable.
877 (test-xfail-tst-protected1b): New variable.
879 2015-09-03 Joseph Myers <joseph@codesourcery.com>
882 * bits/libc-tsd.h: Move to ...
883 * sysdeps/generic/libc-tsd.h: ...here.
884 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
885 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
886 * sysdeps/mach/hurd/libc-tsd.h: ...here.
887 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
888 * include/ctype.h: Include <libc-tsd.h> instead of
890 * include/rpc/rpc.h: Likewise.
891 * locale/localeinfo.h: Likewise.
892 * sunrpc/rpc_thread.c: Likewise.
893 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
894 * sysdeps/nptl/malloc-machine.h: Likewise.
896 * Makefile (headers): Remove bits/libc-lock.h.
897 * libio/Makefile (headers): Remove bits/stdio-lock.h.
899 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
900 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
901 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
903 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
904 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
906 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
909 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
910 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
913 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
915 * malloc/mtrace.pl: Filter out NULL entries.
917 2015-09-01 Joseph Myers <joseph@codesourcery.com>
919 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
920 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
923 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
924 (TCP_CC_INFO): Likewise.
925 (TCP_SAVE_SYN): Likewise.
926 (TCP_SAVED_SYN): Likewise.
928 2015-08-31 Brett Neumeier <brett@neumeier.us>
931 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
933 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
936 Fix broken overflow check in posix_fallocate
937 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
938 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
939 Fix parenthesization typo.
941 2015-08-28 Mike Frysinger <vapier@gentoo.org>
944 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
945 tst-mntent-blank-passno.
946 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
947 * misc/tst-mntent-blank-corrupt.c: New test.
948 * misc/tst-mntent-blank-passno.c: New test ripped from ...
949 * misc/tst-mntent.c (do_test): ... here.
951 2015-08-29 Mike Frysinger <vapier@gentoo.org>
954 * po/de.po: Fix SIGALRM typo.
956 2015-08-28 James Perkins <james@loowit.net>
958 * time/tst-strptime2.c (tests): Replace short list of test
959 strings for strptime %z specifier with code which exhaustively
960 tests every combination of sign and 0 to 5 digits. Tests for
961 rejection of invalid strings.
963 2015-08-28 James Perkins <james@loowit.net>
966 * time/strptime_l.c (__strptime_internal): Fix %z minutes
967 calculation, removing incorrect decimal time rounding, so that
968 all minute values result in a valid seconds value.
969 * time/strptime_l.c (__strptime_internal): Extend %z time zone
970 offset range limits to UTC-99:59 through UTC+99:59 to parse
971 current and historical use cases.
972 * time/tst-strptime2.c (tests): Modify and add tests for the
973 strptime %z input field descriptor, specifically conversion of
974 minutes to seconds and validating an offset range of -9959 to
977 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
978 Dmitry V. Levin <ldv@altlinux.org>
981 * posix/Makefile (tests): Add tst-mmap-offset.
982 * posix/tst-mmap.c: New file.
983 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
984 offset calculation for negative values.
986 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
988 * sysdeps/i386/init-arch.h: New file.
989 * sysdeps/i386/i586/init-arch.h: Likewise.
990 * sysdeps/i386/i686/init-arch.h: Likewise.
991 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
992 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
993 * sysdeps/x86/cpu-features.h (bit_I586): New.
994 (bit_I686): Likewise.
996 (bit_CMOV): Likewise.
997 (index_CX8): Likewise.
998 (index_CMOV): Likewise.
999 (index_I586): Likewise.
1000 (index_I686): Likewise.
1001 (reg_CX8): Likewise.
1002 (reg_CMOV): Likewise.
1003 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1004 available at compile-time.
1005 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1006 available at compile-time.
1007 * sysdeps/x86/init-arch.h (USE_I586): New macro.
1008 (USE_I686): Likewise.
1010 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1012 * sysdeps/i386/bcopy.S: New file.
1013 * sysdeps/i386/bzero.S: Likewise.
1014 * sysdeps/i386/memcpy.S: Likewise.
1015 * sysdeps/i386/memmove.S: Likewise.
1016 * sysdeps/i386/mempcpy.S: Likewise.
1017 * sysdeps/i386/memset.S: Likewise.
1018 * sysdeps/i386/bzero.c: Removed.
1019 * sysdeps/i386/memset.c: Likewise.
1020 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1021 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1022 * sysdeps/i386/i586/memset_chk.S: Likewise.
1023 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1024 * sysdeps/i386/memcpy_chk.S: Here.
1025 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1026 * sysdeps/i386/memmove_chk.S: Here.
1027 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1028 * sysdeps/i386/mempcpy_chk.S: Likewise.
1029 * sysdeps/i386/i686/memset_chk.S: Moved to ...
1030 * sysdeps/i386/memset_chk.S: Likewise.
1032 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
1034 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1035 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1036 file, move DIAG_POP_NEEDS_COMMENT to end of file.
1037 * soft-fp/fmadf4.c: Ditto.
1038 * soft-fp/fmatf4.c: Ditto.
1040 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1042 * sysdeps/i386/i586/Implies: Removed.
1043 * sysdeps/i386/i686/Implies: Likewise.
1045 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1047 * sysdeps/i386/i486/strlen.S: Moved to ...
1048 * sysdeps/i386/strlen.S: Here.
1050 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1052 * sysdeps/i386/i486/strcat.S: Moved to ...
1053 * sysdeps/i386/strcat.S: Here.
1055 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1057 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1058 * sysdeps/i386/pthread_spin_trylock.S: Here.
1059 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1060 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1062 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1064 * sysdeps/i386/i486/string-inlines.c: Moved to ...
1065 * sysdeps/i386/string-inlines.c: Here.
1067 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1069 * sysdeps/i386/i486/htonl.S: Moved ...
1070 * sysdeps/i386/htonl.S: here.
1072 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1074 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1075 * sysdeps/i386/bits/atomic.h: Here.
1077 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
1079 * sysdeps/i386/i486/Versions: Removed.
1081 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
1084 * misc/mktemp.c: Add mkdtemp to the link_warning message.
1085 Based on patch by Aurelien Jarno.
1087 2015-08-26 Stan Shebs <stanshebs@google.com>
1089 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1090 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1092 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1094 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1095 * sysdeps/powerpc/dl-procinfo.c:
1096 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1097 feature so it shows when LD_SHOW_AUXV=1.
1099 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1101 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1102 (__arch_compare_and_exchange_val_32_acq): Remove and use common
1103 definition. ISA 2.07B no longer requires full sync.
1105 2015-08-26 Mike Frysinger <vapier@gentoo.org>
1108 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1109 (si_call_addr): Define.
1110 (si_syscall): Define.
1113 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1116 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1117 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1118 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1119 (__memset_zero_constant_len_parameter): New.
1120 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1121 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1122 (__memset_zero_constant_len_parameter): Don't define if
1123 __memset_chk or USE_AS_BZERO are defined.
1125 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1126 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1127 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1129 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1130 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1131 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1132 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
1134 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1135 -mno-mmx for $(all-rtld-routines).
1136 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1137 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
1140 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
1142 * sysdeps/generic/unwind.h
1143 (_Unwind_Word): Use __mode__(__unwind_word__)
1144 instead of __mode__(__word__).
1145 (_Unwind_Sword): Likewise.
1147 * sysdeps/s390/s390-64/utf8-utf16-z9.c
1148 (MAX_NEEDED_INPUT): New define.
1149 (MAX_NEEDED_OUTPUT): New define.
1151 * NEWS: New item for IBM z13 string optimizations.
1153 * sysdeps/s390/multiarch/memrchr-c.c: New File.
1154 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1155 * sysdeps/s390/multiarch/memrchr.c: Likewise.
1156 * sysdeps/s390/multiarch/Makefile
1157 (sysdep_routines): Add memrchr functions.
1158 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1159 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1161 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1162 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1163 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1164 * sysdeps/s390/multiarch/Makefile
1165 (sysdep_routines): Add wmemcmp functions.
1166 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1167 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1168 * benchtests/bench-wmemcmp.c: New File.
1169 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1171 * sysdeps/s390/multiarch/wmemset-c.c: New File.
1172 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1173 * sysdeps/s390/multiarch/wmemset.c: Likewise.
1174 * sysdeps/s390/multiarch/Makefile
1175 (sysdep_routines): Add wmemset functions.
1176 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1177 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1178 * wcsmbs/wmemset.c: Use WMEMSET if defined.
1179 * string/test-memset.c: Add wmemset support.
1180 * wcsmbs/test-wmemset.c: New File.
1181 * wcsmbs/Makefile (strop-tests): Add wmemset.
1182 * benchtests/bench-memset.c: Add wmemset support.
1183 * benchtests/bench-wmemset.c: New File.
1184 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1186 * sysdeps/s390/multiarch/memccpy-c.c: New File.
1187 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1188 * sysdeps/s390/multiarch/memccpy.c: Likewise.
1189 * sysdeps/s390/multiarch/Makefile
1190 (sysdep_routines): Add memccpy functions.
1191 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1192 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1193 * string/memccpy.c: Use MEMCCPY if defined.
1195 * sysdeps/s390/multiarch/memchr-vx.S: New File.
1196 * sysdeps/s390/multiarch/memchr.c: Likewise.
1197 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1198 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1199 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1200 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1201 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1202 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1203 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1204 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1205 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1206 and rawmemchr functions.
1207 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1208 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1210 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1211 * string/test-memchr.c: Add wmemchr support.
1212 * wcsmbs/test-wmemchr.c: New File.
1213 * wcsmbs/Makefile (strop-tests): Add wmemchr.
1214 * benchtests/bench-memchr.c: Add wmemchr support.
1215 * benchtests/bench-wmemchr.c: New File.
1216 * benchtests/Makefile (wcsmbs-bench): wmemchr.
1218 * sysdeps/s390/multiarch/strcspn-c.c: New File.
1219 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1220 * sysdeps/s390/multiarch/strcspn.c: Likewise.
1221 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1222 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1223 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1224 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1226 * sysdeps/s390/multiarch/ifunc-impl-list.c
1227 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1228 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1229 * string/test-strcspn.c: Add wcscspn support.
1230 * wcsmbs/test-wcscspn.c: New File.
1231 * wcsmbs/Makefile (strop-tests): Add wcscspn.
1232 * benchtests/bench-strcspn.c: Add wcscspn support.
1233 * benchtests/bench-wcscspn.c: New File.
1234 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1236 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1237 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1238 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1239 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1240 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1241 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1242 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1244 * sysdeps/s390/multiarch/ifunc-impl-list.c
1245 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1246 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1247 * string/test-strpbrk.c: Add wcspbrk support.
1248 * wcsmbs/test-wcspbrk.c: New File.
1249 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1250 * benchtests/bench-strpbrk.c: Add wcspbrk support.
1251 * benchtests/bench-wcspbrk.c: New File.
1252 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1254 * sysdeps/s390/multiarch/strspn-c.c: New File.
1255 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1256 * sysdeps/s390/multiarch/strspn.c: Likewise.
1257 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1258 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1259 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1260 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1261 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1263 * sysdeps/s390/multiarch/ifunc-impl-list.c
1264 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1265 * string/test-strspn.c: Add wcsspn support.
1266 * wcsmbs/test-wcsspn.c: New File.
1267 * wcsmbs/Makefile (strop-tests): Add wcsspn.
1268 * benchtests/bench-strspn.c: Add wcsspn support.
1269 * benchtests/bench-wcsspn.c: New File.
1270 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1272 * sysdeps/s390/multiarch/strrchr-c.c: New File.
1273 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1274 * sysdeps/s390/multiarch/strrchr.c: Likewise.
1275 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1276 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1277 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1278 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1280 * sysdeps/s390/multiarch/ifunc-impl-list.c
1281 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1282 * benchtests/bench-wcsrchr.c: New File.
1283 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1285 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1286 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1287 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1288 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1289 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1290 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1291 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1292 wcschrnul functions.
1293 * sysdeps/s390/multiarch/ifunc-impl-list.c
1294 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1295 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1296 * string/test-strchr.c: Add wcschrnul support.
1297 * wcsmbs/test-wcschrnul.c: New File.
1298 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1299 * benchtests/bench-strchr.c: Add wcschrnul support.
1300 * benchtests/bench-wcschrnul.c: New File.
1301 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1303 * sysdeps/s390/multiarch/strchr-c.c: New File.
1304 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1305 * sysdeps/s390/multiarch/strchr.c: Likewise.
1306 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1307 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1308 * sysdeps/s390/multiarch/wcschr.c: Likewise.
1309 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1311 * sysdeps/s390/multiarch/ifunc-impl-list.c
1312 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1313 * string/strchr.c (STRCHR): Define and use macro.
1314 * benchtests/bench-wcschr.c: New File.
1315 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1317 * sysdeps/s390/multiarch/strncmp-c.c: New File.
1318 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1319 * sysdeps/s390/multiarch/strncmp.c: Likewise.
1320 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1321 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1322 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1323 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1325 * sysdeps/s390/multiarch/ifunc-impl-list.c
1326 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1327 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1328 * benchtests/bench-strncmp.c: Add wcsncmp support.
1329 * benchtests/bench-wcsncmp.c: New File.
1330 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1332 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1333 * sysdeps/s390/multiarch/strcmp.c: Likewise.
1334 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1335 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1336 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1337 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1338 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1339 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1341 * sysdeps/s390/multiarch/ifunc-impl-list.c
1342 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1343 * string/strcmp.c (STRCMP): Define and use macro.
1344 * benchtests/bench-wcscmp.c: New File.
1345 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1346 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1347 instead of _HAVE_STRING_ARCH_memchr.
1349 * sysdeps/s390/multiarch/strncat-c.c: New File.
1350 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1351 * sysdeps/s390/multiarch/strncat.c: Likewise.
1352 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1353 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1354 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1355 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1357 * sysdeps/s390/multiarch/ifunc-impl-list.c
1358 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1359 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1360 * string/test-strncat.c: Add wcsncat support.
1361 * wcsmbs/test-wcsncat.c: New File.
1362 * wcsmbs/Makefile (strop-tests): Add wcsncat.
1363 * benchtests/bench-strncat.c: Add wcsncat support.
1364 * benchtests/bench-wcsncat.c: New File.
1365 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1367 * sysdeps/s390/multiarch/strcat-c.c: New File.
1368 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1369 * sysdeps/s390/multiarch/strcat.c: Likewise.
1370 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1371 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1372 * sysdeps/s390/multiarch/wcscat.c: Likewise.
1373 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1375 * sysdeps/s390/multiarch/ifunc-impl-list.c
1376 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1377 * string/strcat.c (STRCAT): Define and use macro.
1378 * wcsmbs/wcscat.c: Use WCSCAT if defined.
1379 * string/test-strcat.c: Add wcscat support.
1380 * wcsmbs/test-wcscat.c: New File.
1381 * wcsmbs/Makefile (strop-tests): Add wcscat.
1382 * benchtests/bench-strcat.c: Add wcscat support.
1383 * benchtests/bench-wcscat.c: New File.
1384 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1386 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1387 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1388 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1389 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1390 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1391 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1392 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1394 * sysdeps/s390/multiarch/ifunc-impl-list.c
1395 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1396 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1397 * string/test-stpncpy.c: Add wcpncpy support.
1398 * wcsmbs/test-wcpncpy.c: New File.
1399 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1400 * benchtests/bench-stpncpy.c: Add wcpncpy support.
1401 * benchtests/bench-wcpncpy.c: New File.
1402 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1404 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1405 * sysdeps/s390/multiarch/strncpy.c: Likewise.
1406 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1407 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1408 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1409 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1410 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1411 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1413 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1414 * sysdeps/s390/multiarch/ifunc-impl-list.c
1415 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1416 * string/test-strncpy.c: Add wcsncpy support.
1417 * wcsmbs/test-wcsncpy.c: New File.
1418 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1419 * benchtests/bench-strncpy.c: Add wcsncpy support.
1420 * benchtests/bench-wcsncpy.c: New File.
1421 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1423 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1424 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1425 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1426 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1427 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1428 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1429 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1431 * string/stpcpy.c: Use STPCPY if defined.
1432 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1433 * sysdeps/s390/multiarch/ifunc-impl-list.c
1434 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1435 * string/test-stpcpy.c: Add wcpcpy support.
1436 * wcsmbs/test-wcpcpy.c: New File.
1437 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1438 * benchtests/bench-stpcpy.c: Add wcpcpy support.
1439 * benchtests/bench-wcpcpy.c: New File.
1440 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1442 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1443 * sysdeps/s390/multiarch/strcpy.c: Likewise.
1444 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1445 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1446 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1447 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1448 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1449 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1451 * sysdeps/s390/multiarch/ifunc-impl-list.c
1452 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1453 * benchtests/bench-wcscpy.c: New File.
1454 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1456 * sysdeps/s390/multiarch/strnlen-c.c: New File.
1457 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1458 * sysdeps/s390/multiarch/strnlen.c: Likewise.
1459 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1460 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1461 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1462 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1464 * sysdeps/s390/multiarch/ifunc-impl-list.c
1465 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1466 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1467 * string/test-strnlen.c: Add wcsnlen support.
1468 * wcsmbs/test-wcsnlen.c: New File.
1469 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1470 * benchtests/bench-strnlen.c: Add wcsnlen support.
1471 * benchtests/bench-wcsnlen.c: New File.
1472 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1474 * sysdeps/s390/multiarch/Makefile: New File.
1475 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1476 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1477 * sysdeps/s390/multiarch/strlen.c: Likewise.
1478 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1479 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1480 * sysdeps/s390/multiarch/wcslen.c: Likewise.
1481 * string/strlen.c (STRLEN): Define and use macro.
1482 * sysdeps/s390/multiarch/ifunc-impl-list.c
1483 (IFUNC_VX_IMPL): New macro function.
1484 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1485 * benchtests/Makefile (wcsmbs-bench): New variable.
1486 (string-bench-all): Added wcsmbs-bench.
1487 * benchtests/bench-wcslen.c: New File.
1489 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1490 s390_vx_libc_ifunc2): New macro function.
1492 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1493 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1495 * sysdeps/s390/configure: Regenerated.
1497 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1498 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1500 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1501 * sysdeps/s390/dl-procinfo.h: Add vector capability.
1502 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1504 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1505 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1506 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1507 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1508 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1509 (memcmp, bcmp): Use __memcmp_default as alias source.
1510 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1511 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1512 Rename to __memcmp_default.
1513 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1514 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1515 (memcpy): Use __memcpy_default as alias source.
1516 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1517 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1518 Rename to __memcpy_default.
1519 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1520 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1521 (memset): Use __memset_default as alias source.
1522 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1523 * sysdeps/s390/s390-32/memset.S (__memset_g5):
1524 Rename to __memset_default.
1525 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1526 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1527 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1528 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1529 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1530 (memcmp, bcmp): Use __memcmp_default as alias source.
1531 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1532 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1533 Rename to __memcmp_default.
1534 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1535 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1536 (memcpy): Use __memcpy_default as alias source.
1537 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1538 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1539 Rename to __memcpy_default.
1540 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1541 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1542 (memset): Use __memset_default as alias source.
1543 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1544 * sysdeps/s390/s390-64/memset.S (__memset_z900):
1545 Rename to __memset_default.
1546 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1547 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1550 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1551 __ieee_instruction_pointer to __unused.
1552 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1553 __ieee_instruction_pointer.
1554 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1555 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1556 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1557 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1558 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1559 Mark dxc-field as reserved.
1561 2015-08-25 Roland McGrath <roland@hack.frob.com>
1563 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1564 if the weak reference is not null.
1566 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1568 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1571 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1573 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1575 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1576 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1577 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1578 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1579 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1580 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1581 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1582 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1583 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1584 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1585 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1586 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1587 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1588 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1589 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1590 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1591 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1592 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1594 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
1596 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1597 register other than r0 for tabort, it has special meaning.
1598 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1599 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1600 transaction before starting syscall.
1602 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1604 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1606 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1608 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1610 * sysdeps/x86_64/rtld-memcmp.c: Removed.
1611 * sysdeps/x86_64/rtld-memset.S: Likewise.
1612 * sysdeps/x86_64/rtld-strchr.S: Likewise.
1613 * sysdeps/x86_64/rtld-strlen.S: Likewise.
1614 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1615 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1617 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1619 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
1621 * debug/strcpy_chk.c: Improve performance.
1622 * debug/stpcpy_chk.c: Likewise.
1623 * sysdeps/x86_64/strcpy_chk.S: Remove.
1624 * sysdeps/x86_64/stpcpy_chk.S: Remove.
1627 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1629 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
1632 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1634 (modules-names): Add ifuncmod8.
1635 ($(objpfx)ifuncmain8): New rule.
1636 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1638 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1639 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1640 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1641 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1642 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1643 * sysdeps/x86_64/dl-trampoline.h: Likewise.
1644 * sysdeps/x86_64/ifuncmain8.c: New file.
1645 * sysdeps/x86_64/ifuncmod8.c: Likewise.
1646 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1648 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1649 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1650 Change rtld_savespace_sse to __glibc_unused2.
1651 (RTLD_CHECK_FOREIGN_CALL): Removed.
1652 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1653 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1654 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1656 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1658 * sysdeps/aarch64/bzero.S (__bzero): Remove.
1660 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
1662 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1663 Unconditionally set __fpcr to avoid uninialized warning.
1664 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1666 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1668 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1671 * malloc/arena.c (arena_get2): Drop unused argument.
1672 (arena_lock): Adjust.
1673 (arena_get_retry): Likewise.
1675 2015-08-24 Andreas Schwab <schwab@suse.de>
1677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1679 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1680 (__ASSUME_IPC64): Don't undef.
1681 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1682 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1683 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1684 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1685 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1686 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1687 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1688 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1689 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1690 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1691 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1692 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1693 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1694 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1695 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1696 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1697 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1698 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1699 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1700 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1701 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1703 2015-08-21 Mike Frysinger <vapier@gentoo.org>
1705 * manual/Makefile (install): Only build manual when perl is available.
1707 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1710 '#undef memcpy' by '#undef memchr'.
1712 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1714 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1715 memchr not point to the internal __GI_memchr implementation.
1717 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1719 * timezone/Makefile (CFLAGS-zdump.c): Remove
1720 -Wno-strict-prototypes.
1721 (CFLAGS-zic.c): Likewise.
1722 (CFLAGS-ialloc.c): Likewise.
1723 (CFLAGS-scheck.c): Likewise.
1725 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1728 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1730 * i386/i686/multiarch/strcasestr-c.c: Removed.
1731 * x86_64/multiarch/strcasestr.c: Likewise.
1732 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1735 2015-08-20 Joseph Myers <joseph@codesourcery.com>
1737 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1739 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1740 variables for high and low parts before possibly modifying them.
1742 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1744 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1745 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1746 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1747 of "multiarch/init-arch.h".
1748 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1749 * sysdeps/x86/init-arch.h: This.
1751 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
1753 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1754 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1756 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
1759 * manual/macros.texi: Add twoexp macro.
1760 * manual/filesys.texi: Fix exponents.
1761 * manual/llio.texi: Likewise.
1762 * manual/stdio.texi: Likewise.
1764 2015-08-20 Florian Weimer <fweimer@redhat.com>
1766 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1769 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1772 * math/s_csqrt.c (__csqrt): Force underflow exception for results
1773 whose real or imaginary part has small absolute value.
1774 * math/s_csqrtf.c (__csqrtf): Likewise.
1775 * math/s_csqrtl.c (__csqrtl): Likewise.
1776 * math/auto-libm-test-in: Add more tests of csqrt.
1777 * math/auto-libm-test-out: Regenerated.
1778 * sysdeps/i386/fpu/libm-test-ulps: Update.
1780 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
1782 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1783 __ppc_set_ppr_very_low): New functions.
1784 * manual/platform.texi: Add documentation about
1785 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1787 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
1789 * string/stpncpy.c (stpncpy): Improve performance using
1790 __strnlen/memcpy/memset.
1792 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
1795 * scripts/test-installation.pl: Don't add -lmvec to build options if
1796 libmvec wasn't built.
1798 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1801 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1802 case when there is a gap between DT_REL and DT_JMPREL sections.
1803 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1804 (LDFLAGS-tst-split-dynreloc): New.
1805 (tst-split-dynreloc-ENV): Likewise.
1806 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1807 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1809 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1812 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1814 (__xstat64_conv): Likewise.
1815 (__xstat32_conv): Likewise.
1817 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1820 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1821 Don't load %ebx when calling __setcontext. Call __setcontext
1822 with HIDDEN_JUMPTARGET.
1823 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1826 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1828 * sysdeps/i386/i686/Makefile
1829 [$(subdir) == string] (sysdep_routines): Moved to ...
1830 * sysdeps/i386/Makefile: Here.
1831 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1832 * sysdeps/i386/cacheinfo.c: Here.
1833 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1834 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1836 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1838 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
1840 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1841 __i586__ is defined.
1842 (HAS_I686): Defined to 1 if __i686__ is defined.
1844 2015-08-19 Joseph Myers <joseph@codesourcery.com>
1846 * elf/Makefile [$(have-z-execstack) = yes]
1847 (CPPFLAGS-tst-execstack.c): New variable.
1849 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1850 conditional to [defined UTMPX || _HAVE_UT_TYPE].
1851 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1852 UTMPX || _HAVE_UT_TV].
1853 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1854 UTMPX || _HAVE_UT_TV - 0].
1856 2015-08-18 Joseph Myers <joseph@codesourcery.com>
1858 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1859 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1860 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1862 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
1864 * sysdeps/powerpc/dl-procinfo.c:
1865 (_dl_powerpc_cap_flags): Added missing strings for some
1867 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1869 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
1871 Port the 0x7efe...feff pattern to GCC 6.
1872 See Steve Ellcey's bug report in:
1873 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1874 * string/memrchr.c (MEMRCHR):
1875 * string/rawmemchr.c (RAWMEMCHR):
1876 * string/strchr.c (strchr):
1877 * string/strchrnul.c (STRCHRNUL):
1878 Rewrite code to avoid issues with signed shift overflow.
1880 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
1882 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1883 whether cpuid is available only if HAS_CPUID is 0.
1884 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1885 (HAS_I586): Likewise.
1886 (HAS_I686): Likewise.
1888 2015-08-18 Zack Weinberg <zackw@panix.com>
1890 * misc/Versions (libc): Add GLIBC_2.23.
1892 2015-08-18 Alan Modra <amodra@gmail.com>
1895 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1897 (_start): Load %dp via .Lp__global.
1898 [!SHARED]: Use .section .rodata.
1900 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1902 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1903 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1905 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1907 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1908 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1910 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1912 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1913 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1915 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1917 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1918 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1920 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1922 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1923 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1925 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1927 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1928 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1930 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1932 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1934 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1936 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1937 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
1938 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1939 (__ASSUME_LWS_CAS): Delete.
1941 2015-08-18 Mike Frysinger <vapier@gentoo.org>
1943 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1944 * sysdeps/hppa/configure: Regenerated.
1945 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1946 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1947 * sysdeps/hppa/nptl/tls.h: Likewise.
1949 2015-08-17 Joseph Myers <joseph@codesourcery.com>
1952 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1953 for scaling up small arguments.
1954 * math/s_csqrtf.c (__csqrtf): Likewise.
1955 * math/s_csqrtl.c (__csqrtl): Likewise.
1956 * math/auto-libm-test-in: Add more tests of csqrt.
1957 * math/auto-libm-test-out: Regenerated.
1959 2015-08-17 Andreas Schwab <schwab@suse.de>
1961 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1962 version set GLIBC_2.19.
1964 2015-08-16 Zack Weinberg <zackw@panix.com>
1967 * misc/regexp.h: This interface is no longer supported.
1968 Remove all contents, leaving only an #error directive.
1969 * misc/regexp.c (loc1, loc2, locs, step, advance):
1970 Demote to compatibility symbols.
1972 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
1975 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1976 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1977 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1978 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1979 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1980 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1981 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1982 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1983 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1985 2015-08-15 Zack Weinberg <zackw@panix.com>
1988 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1989 buffer length is known to be too large, not if it's known to be
1991 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1992 overflow at runtime, involving a length parameter, twice: once
1993 with a compile-time constant length parameter, once without.
1995 2015-08-14 Joseph Myers <joseph@codesourcery.com>
1998 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1999 scaling x * y up instead of down.
2000 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2001 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2002 * math/auto-libm-test-in: Add more tests of fma.
2003 * math/auto-libm-test-out: Regenerated.
2005 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
2007 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2009 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2011 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2013 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2016 2015-08-13 Joseph Myers <joseph@codesourcery.com>
2018 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2019 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2020 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2022 * math/auto-libm-test-out: Regenerated.
2023 * sysdeps/i386/fpu/libm-test-ulps: Update.
2024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2027 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2028 (__tanh): Force underflow exception for arguments with small
2030 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2031 (__tanhf): Force underflow exception for arguments with small
2033 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2034 (__tanhl): Force underflow exception for arguments with small
2036 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2037 (__tanhl): Force underflow exception for arguments with small
2039 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2040 (__tanhl): Force underflow exception for arguments with small
2042 * math/auto-libm-test-in: Add more tests of tanh.
2043 * math/auto-libm-test-out: Regenerated.
2044 * sysdeps/i386/fpu/libm-test-ulps: Update.
2046 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2048 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2049 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2051 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2053 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2056 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2058 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2059 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2061 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2063 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2064 Remove $(objpfx)init-arch.o.
2065 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2067 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2068 (INIT_ARCH_EXT): Defined as empty.
2069 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2070 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2071 __init_cpu_features call. Replace HAS_XXX with
2072 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2073 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2074 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2075 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2076 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2077 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2078 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2079 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2080 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2081 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2082 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2083 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2084 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2085 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2086 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2087 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2088 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2089 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2090 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2091 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2092 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2093 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2094 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2095 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2096 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2097 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2098 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2099 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2100 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2101 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2102 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2103 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2104 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2105 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2106 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2107 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2109 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2111 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2112 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2113 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2114 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2115 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2116 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2117 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2118 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2119 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2120 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2121 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2122 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
2123 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2124 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2125 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2126 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2127 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2128 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2129 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2130 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2131 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2132 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2133 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2134 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2135 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2136 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2137 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2138 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2139 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2140 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2141 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2142 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2143 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2146 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2147 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2148 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2149 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2150 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2151 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2152 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2153 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2155 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2157 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2158 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2160 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2161 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2162 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2164 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2165 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2166 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2167 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2168 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2169 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2170 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2171 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2172 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2173 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2174 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2175 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2176 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2178 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2179 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2180 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2181 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2182 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2183 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2184 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
2185 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2186 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2187 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2188 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2189 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2190 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2191 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2192 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2193 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2194 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2195 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2196 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2197 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2198 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2199 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2201 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
2203 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2204 (dl_platform_init): Call init_cpu_features.
2205 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2206 * sysdeps/i386/i686/cacheinfo.c
2207 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2208 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2209 * sysdeps/i386/i686/multiarch/Versions: Removed.
2210 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2212 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2213 * sysdeps/unix/sysv/linux/x86/Makefile
2214 (libpthread-sysdep_routines): Remove init-arch.
2215 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2216 <sysdeps/x86_64/dl-procinfo.c> instead of
2217 sysdeps/generic/dl-procinfo.c>.
2218 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2219 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2220 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2221 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2222 [$(subdir) == elf] (tests-static): Add
2223 tst-get-cpu-features-static.
2224 * sysdeps/x86/Versions: New file.
2225 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2226 * sysdeps/x86/cpu-features.c: Likewise.
2227 * sysdeps/x86/cpu-features.h: Likewise.
2228 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2229 * sysdeps/x86/libc-start.c: Likewise.
2230 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2231 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2232 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2233 * sysdeps/x86_64/dl-procinfo.c: Likewise.
2234 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2235 Assume USE_MULTIARCH is defined and don't check it.
2236 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2238 (max_cpuid): Likewise.
2239 (intel_check_word): Likewise.
2240 (__cache_sysconf): Don't call __init_cpu_features.
2241 (__x86_preferred_memory_instruction): Removed.
2242 (init_cacheinfo): Don't call __init_cpu_features. Replace
2243 __cpu_features with GLRO(dl_x86_cpu_features).
2244 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2245 (dl_platform_init): Call init_cpu_features.
2246 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2247 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2248 * sysdeps/x86_64/multiarch/Versions: Removed.
2249 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2250 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2251 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2253 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2255 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2258 * libio/Makefile (test-fmemopen-mem): New test.
2259 * libio/test-fmemopen.c (do_bz18820): New test.
2260 * libio/fmemopen.c (__fmemopen): Fix memory leak.
2261 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2263 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
2266 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2268 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2269 * libio/genops.c (_IO_setb): Use malloc and free directly.
2270 (_IO_default_doallocate, _IO_default_finish): Likewise.
2271 ( _IO_unbuffer_all): Likewise.
2272 ( libc_freeres_fn): Likewise.
2273 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2274 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2275 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2276 (_IO_wdefault_doallocate): Likewise.
2278 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2281 * sysdeps/posix/nice.c (nice): Restore old errno.
2282 * posix/tst-nice.c (do_test): Add test for BZ #18086.
2284 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
2286 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2288 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2290 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2291 __bcopy and add a weak_alias to bcopy.
2292 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2295 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2296 cleanup macro usage.
2297 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2298 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2299 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2300 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2301 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2302 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2303 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2304 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2305 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2307 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2308 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2310 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2312 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2313 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2314 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2315 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2317 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2319 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2321 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2322 (sysdep_routines): Add strstr-ppc64.
2323 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2325 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
2328 * elf/Makefile (tests): Add Add tst-nodelete2.
2329 (modules-names): Add tst-nodelete2mod.
2330 (tst-nodelete2mod.so-no-z-defs): New.
2331 ($(objpfx)tst-nodelete2): Likewise.
2332 ($(objpfx)tst-nodelete2.out): Likewise.
2333 (LDFLAGS-tst-nodelete2): Likewise.
2334 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2335 out of loop through all loaded libraries.
2336 * elf/tst-nodelete2.c: New file.
2337 * elf/tst-nodelete2mod.c: Likewise.
2338 * elf/tst-znodelete-zlib.cc: Delete.
2340 2015-08-11 Andreas Schwab <schwab@suse.de>
2342 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2343 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2344 (__openat64_nocancel): Likewise.
2346 2015-08-11 Joseph Myers <joseph@codesourcery.com>
2348 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2349 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2350 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2351 * math/auto-libm-test-out: Regenerated.
2352 * sysdeps/i386/fpu/libm-test-ulps: Update.
2353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2355 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2358 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2359 threshold for returning +/- 1.
2360 * math/auto-libm-test-in: Add more tests of tanh.
2361 * math/auto-libm-test-out: Regenerated.
2362 * sysdeps/i386/fpu/libm-test-ulps: Update.
2364 2015-08-10 Andreas Schwab <schwab@suse.de>
2367 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2368 MORE_OFLAGS to oflag.
2369 * io/test-lfs.c (do_test): Test openat64.
2371 2015-08-10 Joseph Myers <joseph@codesourcery.com>
2374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2375 smaller threshold for returning the argument.
2376 * math/auto-libm-test-in: Add more tests of sinh.
2377 * math/auto-libm-test-out: Regenerated.
2378 * sysdeps/i386/fpu/libm-test-ulps: Update.
2380 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
2383 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2386 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
2388 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2389 (generated): Don't add $(addprefix z.,$(tzfiles)).
2391 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2393 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2394 * scripts/sysd-rules.awk: Likewise.
2396 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2398 * iconvdata/tst-tables.sh: Change echo -n to printf.
2399 * nss/db-Makefile: Likewise.
2400 * posix/tst-getconf.sh: Likewise.
2401 * stdio-common/tst-unbputc.sh: Likewise.
2403 2015-08-09 Mike Frysinger <vapier@gentoo.org>
2405 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2406 MADV_*_PAGES defines behind this feature check.
2408 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
2411 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2412 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2414 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2415 LOAD_REGS_5, LOAD_REGS_6): Update.
2416 (INTERNAL_SYSCALL): Update using new LOAD defines.
2417 (INTERNAL_SYSCALL_NCS): Likewise.
2418 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2420 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2423 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2425 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2428 * catgets/Makefile (tst-catgets-mem): New test.
2429 * catgets/catgets.c (catopen): Don't use unbounded alloca.
2430 * catgets/open_catalog.c (__open_catalog): Likewise.
2431 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2433 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
2436 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2438 (atomic_compare_and_exchange_val_acq): Use register asms to assign
2439 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
2440 Cast return to __typeof (oldval).
2442 2015-08-08 Mike Frysinger <vapier@gentoo.org>
2444 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2445 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
2446 and delete sys/syscall.h include.
2448 2015-08-07 Joseph Myers <joseph@codesourcery.com>
2451 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2452 (tan): Force underflow exception for arguments with small absolute
2454 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2455 (__kernel_tanf): Force underflow exception for arguments with
2456 small absolute value.
2457 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2458 (__kernel_tanl): Force underflow exception for arguments with
2459 small absolute value.
2460 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2461 (__kernel_tanl): Force underflow exception for arguments with
2462 small absolute value.
2463 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2464 (__kernel_tanl): Force underflow exception for arguments with
2465 small absolute value.
2466 * math/auto-libm-test-in: Add more tests of tan.
2467 * math/auto-libm-test-out: Regenerated.
2469 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2471 Fix sysdeps/i386/fpu/s_scalbn.S build
2473 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2475 2015-08-07 Mike Frysinger <vapier@gentoo.org>
2477 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2479 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2481 Fix gcrt0.o compilation
2483 When static-start-installed-name is different from
2484 start-installed-name, we must not use the shared objects.
2487 (extra-objs): Add gmon-start.o when building shared library and
2488 $(static-start-installed-name) is different from
2489 $(start-installed-name).
2490 $(objpfx)g$(static-start-installed-name): When building shared
2491 library and $(static-start-installed-name) is different from
2492 $(static-start-installed-name), revert to non-shared rule,
2493 i.e. using $(objpfx)% and gmon-start.o.
2495 2015-08-06 Joseph Myers <joseph@codesourcery.com>
2498 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2499 (__ieee754_sinh): Force underflow exception for arguments with
2500 small absolute value.
2501 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2502 (__ieee754_sinhf): Force underflow exception for arguments with
2503 small absolute value.
2504 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2505 (__ieee754_sinhl): Force underflow exception for arguments with
2506 small absolute value.
2507 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2508 (__ieee754_sinhl): Force underflow exception for arguments with
2509 small absolute value.
2510 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2511 (__ieee754_sinhl): Force underflow exception for arguments with
2512 small absolute value.
2513 * math/auto-libm-test-in: Add more tests of sinh.
2514 * math/auto-libm-test-out: Regenerated.
2515 * sysdeps/i386/fpu/libm-test-ulps: Update.
2517 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2519 * libio/oldfileops.c: Include unistd.h.
2521 2015-08-06 Mike Frysinger <vapier@gentoo.org>
2523 * stdlib/isomac.c: Include ctype.h.
2525 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
2527 * dirent/tst-seekdir.c (main): Converted to ...
2528 (do_test): ... this.
2529 (TEST_FUNCTION): New macro.
2530 Include test-skeleton.c.
2531 * elf/tst-dlmodcount.c (main): Converted to ...
2532 (do_test): ... this.
2533 (TEST_FUNCTION): New macro.
2534 Include test-skeleton.c.
2535 * elf/tst-order-main.c (main): Converted to ...
2536 (do_test): ... this.
2537 (TEST_FUNCTION): New macro.
2538 Include test-skeleton.c.
2539 * elf/tst-pie2.c (main): Converted to ...
2540 (do_test): ... this.
2541 (TEST_FUNCTION): New macro.
2542 Include test-skeleton.c.
2543 * inet/tst-ether_aton.c (main): Converted to ...
2544 (do_test): ... this.
2545 (TEST_FUNCTION): New macro.
2546 Include test-skeleton.c.
2547 * misc/tst-mntent.c (main): Converted to ...
2548 (do_test): ... this.
2549 (TEST_FUNCTION): New macro.
2550 Include test-skeleton.c.
2551 * misc/tst-tsearch.c (main): Converted to ...
2552 (do_test): ... this.
2553 (TEST_FUNCTION): New macro.
2554 Include test-skeleton.c.
2555 * posix/tst-regexloc.c (main): Converted to ...
2556 (do_test): ... this.
2557 (TEST_FUNCTION): New macro.
2558 Include test-skeleton.c.
2559 * resolv/tst-aton.c (main): Converted to ...
2560 (do_test): ... this.
2561 (TEST_FUNCTION): New macro.
2562 Include test-skeleton.c.
2563 * stdio-common/test-fwrite.c (main): Converted to ...
2564 (do_test): ... this.
2565 (TEST_FUNCTION): New macro.
2566 Include test-skeleton.c.
2567 * stdio-common/tst-ferror.c (main): Converted to ...
2568 (do_test): ... this.
2569 (TEST_FUNCTION): New macro.
2570 Include test-skeleton.c.
2571 * stdio-common/tst-printf.c (main): Converted to ...
2572 (do_test): ... this.
2573 (TEST_FUNCTION): New macro.
2574 Include test-skeleton.c.
2575 * stdio-common/tst-printfsz.c (main): Converted to ...
2576 (do_test): ... this.
2577 (TEST_FUNCTION): New macro.
2578 Include test-skeleton.c.
2579 * stdlib/tst-strtod.c (main): Converted to ...
2580 (do_test): ... this.
2581 (TEST_FUNCTION): New macro.
2582 Include test-skeleton.c.
2583 * string/tst-strlen.c (main): Converted to ...
2584 (do_test): ... this.
2585 (TEST_FUNCTION): New macro.
2586 Include test-skeleton.c.
2587 * string/tst-svc.c (main): Converted to ...
2588 (do_test): ... this.
2589 (TEST_FUNCTION): New macro.
2590 Include test-skeleton.c.
2591 * time/tst-strptime.c (main): Converted to ...
2592 (do_test): ... this.
2593 (TEST_FUNCTION): New macro.
2594 Include test-skeleton.c.
2595 * timezone/tst-timezone.c (main): Converted to ...
2596 (do_test): ... this.
2597 (TEST_FUNCTION): New macro.
2598 Include test-skeleton.c.
2600 2015-08-05 Zack Weinberg <zackw@panix.com>
2602 * misc/regexp.h: Update comments.
2604 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
2607 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2608 before return label.
2610 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2613 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2614 when calling __errno_location.
2615 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2616 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2618 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2621 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2622 (__lll_timedwait_tid): Align stack to 16 bytes when calling
2625 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2628 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2629 (__start_context): Don't use pop to restore %rdi so that stack
2630 is aligned to 16 bytes when calling __setcontext.
2632 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2634 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2636 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2638 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2640 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2641 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
2642 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2644 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2646 * string/memccpy.c (memccpy):
2647 Improve performance by using memchr/memcpy/__mempcpy.
2649 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2651 * string/strncpy.c (strncpy):
2652 Improve performance by using __strnlen/memcpy.
2654 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2656 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2657 Optimize to avoid an unnecessary FPCR read.
2659 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
2661 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2662 Optimize to reduce FPCR/FPSR accesses.
2664 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
2666 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2667 dead->data[category] != NULL.
2669 2015-08-05 Joseph Myers <joseph@codesourcery.com>
2672 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2673 and |x| close to 1, use absolute value of x when computing log.
2674 * math/auto-libm-test-in: Add more tests of pow.
2675 * math/auto-libm-test-out: Regenerated.
2677 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2679 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2680 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2681 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2683 2015-08-05 Marko Myllynen <myllynen@redhat.com>
2686 * locales/km_KH: Remove timezone definition.
2687 * locales/lo_LA: Likewise.
2688 * locales/my_MM: Likewise.
2689 * locales/nan_TW@latin: Likewise.
2690 * locales/th_TH: Likewise.
2691 * locales/uk_UA: Likewise.
2693 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2696 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2697 (wcsncat): Likewise.
2699 (wcsncmp): Likewise.
2701 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2703 * test-skeleton.c (usage): New function.
2704 (main): Call usage when opt is '?'.
2706 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2708 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2711 2015-08-05 Mike Frysinger <vapier@gentoo.org>
2713 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2714 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
2717 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
2719 * version.h (RELEASE): Set to "development".
2720 (VERSION): Set to "2.22.90"
2722 * version.h (RELEASE): Set to "stable".
2723 (VERSION): Set to "2.22"
2724 * include/features.h (__GLIBC_MINOR__): Set to 22.
2726 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
2728 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2729 Restructure macro to avoid "value computed is not used" warning.
2730 (atomic_compare_and_exchange_val_acq): Likewise.
2732 2015-08-04 Andreas Schwab <schwab@suse.de>
2735 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2737 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2739 2015-08-01 Carlos O'Donell <carlos@redhat.com>
2741 * po/pl.po: Updated translation.
2742 * po/uk.po: Likewise.
2743 * po/fi.po: Likewise.
2744 * po/ko.po: Likewise.
2745 * po/ru.po: Likewise.
2746 * po/vi.po: Likewise.
2748 2015-07-31 Zack Weinberg <zackw@panix.com>
2751 * regexp.h: Add unconditional #warning stating that this header
2752 will be removed soon. Revise banner comment to match.
2753 (compile): Consistently use ERROR instead of RETURN to report
2754 errors (partial fix for bz#18681).
2755 * regexp.c: Don't include regexp.h. Remove some unnecessary
2758 2015-07-31 Carlos O'Donell <carlos@redhat.com>
2760 * po/libc.pot: Regenerated.
2762 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
2765 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2766 float-vlen4-arch-ext-cflags): Removed.
2767 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2768 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2770 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2773 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2774 aligned to __aligned__.
2775 (pthread_cond_t, pthread_rwlock_t): Likewise.
2777 2015-07-30 Torvald Riegel <triegel@redhat.com>
2779 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2781 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2783 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2784 (struct sigaction): Change sa_flags from a long to an int, and add
2785 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2787 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2789 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2790 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2791 sysdeps/generic/sysdep.h include.
2792 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2793 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
2794 sysdeps/hppa/sysdep.h.
2795 (ENTRY, PSEUDO): Undefine before defining.
2797 2015-07-30 Mike Frysinger <vapier@gentoo.org>
2799 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2800 from scratch to use INTERNAL_SYSCALL.
2802 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
2805 * scripts/check-localplt.awk: Support alternate relocations.
2806 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2808 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2809 malloc entries with + REL R_386_GLOB_DAT.
2810 * sysdeps/x86_64/localplt.data: New file.
2812 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
2815 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2816 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2817 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2819 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2821 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2823 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2825 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2826 directly in terms of __sync_fetch_and_add and delete (int) cast.
2828 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2830 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2831 the -D_ASM_IA64_CURRENT_H flag.
2833 2015-07-27 Mike Frysinger <vapier@gentoo.org>
2836 * pwd/pwd.h (putpwent): Delete __nonnull markings.
2838 2015-07-27 Andreas Schwab <schwab@suse.de>
2840 * conform/conformtest.pl (checknamespace): Filter out string
2841 literals while tokenizing.
2843 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2845 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2846 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2847 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2849 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
2851 * nptl/tst-join7mod.c: Add #include <string.h>.
2853 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2855 * sysdeps/nios2/libm-test-ulps: Update.
2857 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
2859 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2860 Fix order of arguments to the rt_sigprocmask syscall.
2861 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2864 2015-07-24 Roland McGrath <roland@hack.frob.com>
2866 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2868 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2871 * nptl/Makefile (tests): New test case tst-join7.
2872 (modules-names): New test case module tst-join7mod.
2873 * nptl/tst-join7.c: New file.
2874 * nptl/tst-join7mod.c: New file.
2875 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2876 all translation units in libc.so, libpthread.so and rtld.
2878 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2882 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
2884 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2885 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2886 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2887 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2888 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2889 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2890 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2891 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2892 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2893 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2894 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2895 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2896 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2897 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2898 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2901 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
2904 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2905 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2906 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2907 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2908 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2909 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2911 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2913 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2914 instead of just saying load lock in the comments.
2916 2015-07-23 Roland McGrath <roland@hack.frob.com>
2918 * sysdeps/unix/Subdirs: Moved ...
2919 * sysdeps/posix/Subdirs: ... here.
2920 * login/pty.h (struct termios, struct winsize): Add forward decls.
2921 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2922 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2923 * sysdeps/arm/nacl/libc.abilist: Updated.
2924 * sysdeps/nacl/libutil.abilist: New file.
2926 * bits/signum.h: Update comments to mention 1003.1-2013 too.
2927 (SIGWINCH): New macro.
2929 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2930 * sysdeps/arm/nacl/libc.abilist: Add it.
2932 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2934 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2936 2015-07-23 Mike Frysinger <vapier@gentoo.org>
2938 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2939 Swap __glibc_reserved0 and sa_flags order.
2941 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
2944 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2945 are pending TLS destructor calls.
2946 * include/link.h (struct link_map): Add concurrency note for
2948 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2949 Don't touch the link map flag. Atomically increment
2951 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2952 Avoid taking the load lock and don't touch the link map flag.
2953 * stdlib/tst-tls-atexit-nodelete.c: New test case.
2954 * stdlib/Makefile (tests): Use it.
2955 * stdlib/tst-tls-atexit.c (do_test): dlopen
2956 tst-tls-atexit-lib.so again before dlclose. Add conditionals
2957 to allow tst-tls-atexit-nodelete test case to use it.
2959 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2961 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2963 (msgqnum_t): New typedef.
2964 (msglen_t): Likewise.
2965 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
2966 and msg_qbytes type to msglen_t.
2968 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2970 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2971 pad0 to __glibc_reserved0.
2972 (struct stat64): Likewise.
2974 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2976 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2977 Change sa_flags from a long to an int and add __glibc_reserved0 before
2980 2015-07-22 Mike Frysinger <vapier@gentoo.org>
2982 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2983 anonymous by deleting "siginfo" name.
2985 2015-07-21 Roland McGrath <roland@hack.frob.com>
2987 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2988 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2989 rather than __nacl_irt_filename.
2990 * sysdeps/nacl/xstat.c (__xstat): Likewise.
2992 * NEWS: New item for arm-nacl port.
2993 * sysdeps/arm/nacl/libc.abilist: New file.
2994 * sysdeps/nacl/ld.abilist: New file.
2995 * sysdeps/nacl/libBrokenLocale.abilist: New file.
2996 * sysdeps/nacl/libanl.abilist: New file.
2997 * sysdeps/nacl/libcrypt.abilist: New file.
2998 * sysdeps/nacl/libdl.abilist: New file.
2999 * sysdeps/nacl/libm.abilist: New file.
3000 * sysdeps/nacl/libpthread.abilist: New file.
3001 * sysdeps/nacl/libresolv.abilist: New file.
3002 * sysdeps/nacl/librt.abilist: New file.
3004 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
3006 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3007 __startcontext to initialize the new context.
3008 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3009 up CFI directive to forbid further backtracing.
3011 2015-07-21 Marko Myllynen <myllynen@redhat.com>
3013 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3015 * charmaps/ANSI_X3.4-1968: Likewise.
3016 * charmaps/BS_4730: Likewise.
3017 * charmaps/BS_VIEWDATA: Likewise.
3018 * charmaps/CP1250: Likewise.
3019 * charmaps/CP1251: Likewise.
3020 * charmaps/CP1252: Likewise.
3021 * charmaps/CP1253: Likewise.
3022 * charmaps/CP1254: Likewise.
3023 * charmaps/CP1255: Likewise.
3024 * charmaps/CP1256: Likewise.
3025 * charmaps/CSN_369103: Likewise.
3026 * charmaps/EBCDIC-DK-NO: Likewise.
3027 * charmaps/GB_1988-80: Likewise.
3028 * charmaps/GREEK-CCITT: Likewise.
3029 * charmaps/GREEK7: Likewise.
3030 * charmaps/INIS-8: Likewise.
3031 * charmaps/ISIRI-3342: Likewise.
3032 * charmaps/ISO_2033-1983: Likewise.
3033 * charmaps/ISO_5427-EXT: Likewise.
3034 * locales/POSIX: Likewise.
3035 * locales/ar_SA: Likewise.
3036 * locales/be_BY: Likewise.
3037 * locales/be_BY@latin: Likewise.
3038 * locales/ca_ES: Likewise.
3039 * locales/cs_CZ: Likewise.
3040 * locales/da_DK: Likewise.
3041 * locales/de_BE: Likewise.
3042 * locales/de_CH: Likewise.
3043 * locales/de_LU: Likewise.
3044 * locales/en_AU: Likewise.
3045 * locales/en_BW: Likewise.
3046 * locales/en_CA: Likewise.
3047 * locales/en_DK: Likewise.
3048 * locales/en_GB: Likewise.
3049 * locales/en_IE: Likewise.
3050 * locales/en_NZ: Likewise.
3051 * locales/en_ZA: Likewise.
3052 * locales/en_ZW: Likewise.
3053 * locales/es_AR: Likewise.
3054 * locales/es_BO: Likewise.
3055 * locales/es_CL: Likewise.
3056 * locales/es_CO: Likewise.
3057 * locales/es_DO: Likewise.
3058 * locales/es_EC: Likewise.
3059 * locales/es_ES: Likewise.
3060 * locales/es_HN: Likewise.
3061 * locales/es_MX: Likewise.
3062 * locales/es_PA: Likewise.
3063 * locales/es_PE: Likewise.
3064 * locales/es_PY: Likewise.
3065 * locales/es_SV: Likewise.
3066 * locales/es_US: Likewise.
3067 * locales/es_UY: Likewise.
3068 * locales/es_VE: Likewise.
3069 * locales/et_EE: Likewise.
3070 * locales/fa_IR: Likewise.
3071 * locales/fo_FO: Likewise.
3072 * locales/fr_CA: Likewise.
3073 * locales/fr_CH: Likewise.
3074 * locales/gv_GB: Likewise.
3075 * locales/he_IL: Likewise.
3076 * locales/hr_HR: Likewise.
3077 * locales/id_ID: Likewise.
3078 * locales/is_IS: Likewise.
3079 * locales/it_CH: Likewise.
3080 * locales/iw_IL: Likewise.
3081 * locales/kl_GL: Likewise.
3082 * locales/ko_KR: Likewise.
3083 * locales/kw_GB: Likewise.
3084 * locales/lg_UG: Likewise.
3085 * locales/lt_LT: Likewise.
3086 * locales/lv_LV: Likewise.
3087 * locales/mi_NZ: Likewise.
3088 * locales/nhn_MX: Likewise.
3089 * locales/nl_BE: Likewise.
3090 * locales/pl_PL: Likewise.
3091 * locales/sk_SK: Likewise.
3092 * locales/sl_SI: Likewise.
3093 * locales/sv_FI: Likewise.
3094 * locales/tl_PH: Likewise.
3095 * locales/tr_TR: Likewise.
3096 * locales/vi_VN: Likewise.
3098 2015-07-21 Khem Raj <raj.khem@gmail.com>
3101 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3104 2015-07-21 Mike Frysinger <vapier@gentoo.org>
3107 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3109 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3111 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3113 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3114 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3115 (spawn_thread): New function.
3116 (load): Rename to reg_dtor_and_close. Move dlopen to...
3117 (do_test): ... here. Use IS_LOADED to test for its
3120 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
3122 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3124 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
3127 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3130 (si_upper): Likewise.
3132 2015-07-16 David S. Miller <davem@davemloft.net>
3134 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3136 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3138 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3140 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3141 fail output information.
3143 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3147 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3148 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3149 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3150 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3151 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3153 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3155 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3156 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3157 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3158 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3160 2015-07-16 Mike Frysinger <vapier@gentoo.org>
3162 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3163 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3165 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3167 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3169 * tst-nodelete-opened.c (do_test): Add comment to clarify how
3172 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3175 * elf/tst-nodelete-opened.c: New test case.
3176 * elf/tst-nodelete-opened-lib.c: New test case module.
3177 * elf/Makefile (tests, modules-names): Use them.
3178 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3181 2015-07-15 David S. Miller <davem@davemloft.net>
3183 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3185 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3186 * sysdeps/sparc/sparc64/Makefile: Likewise.
3187 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3188 Remove space from macro define.
3189 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3191 2015-07-15 Pravin Satpute <psatpute@redhat.com>
3194 * locale/iso-639.def: Update Bhili and Tulu language codes as
3197 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
3199 * elf/tst-leaks1.c (main): Converted to ...
3200 (do_test): ... this.
3201 (TEST_FUNCTION): New macro.
3202 Include test-skeleton.c.
3203 * localedata/tst-langinfo.c (main): Converted to ...
3204 (do_test): ... this.
3205 (TEST_FUNCTION): New macro.
3206 Include test-skeleton.c.
3207 * math/test-fpucw.c (main): Converted to ...
3208 (do_test): ... this.
3209 (TEST_FUNCTION): New macro.
3210 Include test-skeleton.c.
3211 * math/test-tgmath.c (main): Converted to ...
3212 (do_test): ... this.
3213 (TEST_FUNCTION): New macro.
3214 Include test-skeleton.c.
3215 * math/test-tgmath2.c (main): Converted to ...
3216 (do_test): ... this.
3217 (TEST_FUNCTION): New macro.
3218 Include test-skeleton.c.
3219 * setjmp/tst-setjmp.c (main): Converted to ...
3220 (do_test): ... this.
3221 (TEST_FUNCTION): New macro.
3222 Include test-skeleton.c.
3223 * stdio-common/tst-sscanf.c (main): Converted to ...
3224 (do_test): ... this.
3225 (TEST_FUNCTION): New macro.
3226 Include test-skeleton.c.
3227 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3228 (do_test): ... this.
3229 (TEST_FUNCTION): New macro.
3230 Include test-skeleton.c.
3232 * elf/tst-audit9.c (main): Converted to ...
3233 (do_test): ... this.
3234 (TEST_FUNCTION): New macro.
3235 Include test-skeleton.c.
3237 2015-07-15 Mike Frysinger <vapier@gentoo.org>
3239 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3241 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3243 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3246 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
3248 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3250 2015-07-14 Roland McGrath <roland@hack.frob.com>
3252 * sysdeps/generic/dl-fileid.h: New file.
3253 * sysdeps/posix/dl-fileid.h: New file.
3254 * sysdeps/nacl/dl-fileid.h: New file.
3255 * include/link.h: Include <dl-fileid.h>.
3256 (struct link_map): Replace l_dev and l_ino with l_file_id.
3257 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3258 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
3259 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
3261 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3263 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3265 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3267 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3268 Add iff $CXX is set.
3269 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3271 (tst-nodelete-zmodiff): Likewise.
3272 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3274 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3276 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3278 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3280 * sysdeps/aarch64/fpu/math_private.h
3281 (define math_opt_barrier): Add AArch64 version.
3282 (math_force_eval): Likewise.
3284 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
3286 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3288 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
3290 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3291 %ld with %jd and cast to intmax_t.
3292 (do_test_length_zero): Likewise.
3294 2015-07-10 Roland McGrath <roland@hack.frob.com>
3296 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3298 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
3300 * sysdeps/tile/libm-test-ulps: Regenerated.
3302 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3303 Comment out the whole function, not just its body.
3305 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3307 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3310 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3312 2015-07-10 Torvald Riegel <triegel@redhat.com>
3314 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3315 (sem_assume_only_signals_cause_futex_EINTR): Remove.
3317 2015-07-10 Torvald Riegel <triegel@redhat.com>
3319 * sysdeps/nptl/futex-internal.h: New file.
3320 * sysdeps/nacl/futex-internal.h: New file.
3321 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3322 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3324 (setxid_unmark_thread): Likewise.
3325 (__nptl_setxid): Likewise.
3326 (__wait_lookup_done): Likewise.
3327 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3328 * nptl/nptl-init.c (sighandler_setxid): Likewise.
3329 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3330 * nptl/pthread_once.c (clear_once_control): Likewise.
3331 (__pthread_once_slow): Likewise.
3332 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3333 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3334 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3335 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3336 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3337 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3339 (__pthread_rwlock_rdlock): Likewise.
3340 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3342 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3344 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3346 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3347 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3349 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3350 __ASSUME_PRIVATE_FUTEX check.
3351 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3352 Check that shared futexes are supported.
3353 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3354 wrappers with error checking.
3355 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3356 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3357 * nptl/pthread_barrierattr_setpshared.c
3358 (pthread_barrierattr_setpshared): Check that shared futexes are
3360 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3362 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3364 * nptl/sem_init.c (futex_private_if_supported): Remove.
3365 (__new_sem_init): Adapt and check that shared futexes are supported.
3366 * nptl/sem_open.c (sem_open): Likewise.
3367 * nptl/sem_post.c (futex_wake): Remove.
3368 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3369 (do_futex_wait): Use futex wrappers with error checking.
3370 * nptl/sem_wait.c: Include lowlevellock.h.
3371 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3372 Use futex_supports_pshared.
3373 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3374 Use futex wrappers with error checking.
3375 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3377 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3378 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3379 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3380 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3381 (futex_wake): Likewise.
3382 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3383 (do_futex_wait): Use futex wrappers with error checking.
3384 (__new_sem_wait_slow): Update EINTR handling.
3385 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3387 2015-07-09 Martin Sebor <msebor@redhat.com>
3390 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3391 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3392 * nptl/Makefile (test-xfail-tst-once5): Define.
3394 2015-07-09 Roland McGrath <roland@hack.frob.com>
3396 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3397 * elf/dl-minimal.c: For readability, reorder some definitions and
3398 introduce more page breaks. Include <stdio.h>.
3399 (__libc_fatal): New function.
3401 * include/unistd.h: Add rtld_hidden_proto for _exit.
3402 * posix/_exit.c: Add rtld_hidden_def.
3403 * sysdeps/mach/hurd/_exit.c: Likewise.
3404 * sysdeps/nacl/_exit.c: Likewise.
3405 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3406 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3408 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
3410 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3411 bndmov encoding with zero displacement.
3413 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
3414 H.J. Lu <hongjiu.lu@intel.com>
3417 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3418 * sysdeps/i386/configure: Regenerated.
3419 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3420 (_dl_runtime_profile): Save and restore Intel MPX return bound
3421 registers when calling _dl_call_pltexit. Add
3422 PRESERVE_BND_REGS_PREFIX before return.
3423 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3424 (LRV_BND1_OFFSET): Likewise.
3425 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3427 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3428 typo in bndmov encoding.
3429 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3430 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
3431 branch instructions to preserve bounds.
3433 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3436 [GLIBC_2.22]: Add fmemopen.
3438 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
3440 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3441 returns an error, also try to use host port from __mach_host_self for
3443 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3445 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
3449 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3450 Fix pr_uid and pr_gid members.
3451 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3452 definition to elf_greg_t.
3454 2015-07-08 Roland McGrath <roland@hack.frob.com>
3457 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3458 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3459 * sysdeps/arm/configure: Regenerated.
3460 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3461 (test-xfail-tst-tlsalign-static): Variable removed.
3463 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3464 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3465 rather than explicit 'ln -s'.
3467 * resolv/rpc/netdb.h: New file.
3468 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3470 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3472 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3474 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3483 * include/stdio.h (fmemopen): Remove hidden prototype.
3484 (__fmemopen): Add new hidden prototype.
3485 * libio/Makefile: Add oldfmemopen object.
3486 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3487 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3489 * libio/oldfmemopen.c: New file: old fmemopen implementation for
3490 symbol compatibility.
3491 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3492 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3494 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3495 on append and read mode.
3496 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3498 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3499 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3500 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3501 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3503 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3504 [GLIBC_2.22]: Likewise.
3505 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3507 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3509 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3510 [GLIBC_2.22]: Likewise.
3511 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3512 [GLIBC_2.22]: Likewise.
3513 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3514 [GLIBC_2.22]: Likewise.
3515 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3516 [GLIBC_2.22]: Likewise.
3517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3518 [GLIBC_2.22]: Likewise.
3519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3520 [GLIBC_2.22]: Likewise.
3521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3522 [GLIBC_2.22]: Likewise.
3523 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3525 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3527 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3528 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3529 [GLIBC_2.22]: Likewise.
3530 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3531 [GLIBC_2.22]: Likewise.
3532 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3533 [GLIBC_2.22]: Likewise.
3534 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3535 [GLIBC_2.22]: Likewise.
3536 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3538 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3540 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3542 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3543 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3545 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3548 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3549 IPV6_PATHMTU, and IPV6_DONTFRAG.
3551 2015-07-08 Feng Gao <gfree.wind@gmail.com>
3553 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3555 * libio/oldfileops.c: Likewise.
3556 * libio/wfileops.c: Likewise.
3558 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3560 * nscd/selinux.c: Delete selinux/flask.h include.
3562 2015-07-08 Mike Frysinger <vapier@gentoo.org>
3565 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3566 (putpwent): Likewise.
3567 (getpwnam): Likewise.
3568 (getpwent_r): Likewise.
3569 (getpwuid_r): Likewise.
3570 (getpwnam_r): Likewise.
3571 (fgetpwent_r): Likewise.
3573 2015-07-08 Carlos O'Donell <carlos@redhat.com>
3576 * inet/rcmd.c (__validuser2_sa): Check user first to
3577 short-circuit host check.
3579 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
3580 Mikhail Ilin <m.ilin@samsung.com>
3583 * elf/Makefile (tests): Add tst-nodelete.
3584 (modules-names): Add tst-nodelete-uniquemod.
3585 (tst-nodelete-uniquemod.so-no-z-defs): New.
3586 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3587 (tst-nodelete-zmod.so-no-z-defs): Likewise.
3588 ($(objpfx)tst-nodelete): Likewise.
3589 ($(objpfx)tst-nodelete.out): Likewise.
3590 (LDFLAGS-tst-nodelete): Likewise.
3591 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3592 * elf/dl-close.c (_dl_close_worker): Add a parameter to
3593 implement forced object deletion.
3594 (_dl_close): Pass false to _dl_close_worker.
3595 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3596 * elf/tst-nodelete.cc: New file.
3597 * elf/tst-nodeletelib.cc: Likewise.
3598 * elf/tst-znodeletelib.cc: Likewise.
3599 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3601 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3604 * stdlib/Makefile ($(objpfx)tst-makecontext3):
3606 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3607 is not called infinitely times.
3608 (backtrace_helper): New function.
3609 (trace_arg): New struct.
3610 (st1): Enlarge stack size.
3611 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3612 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3613 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3616 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3618 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3620 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
3622 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3623 Include sys/types.h instead of bits/types.h.
3624 Remove inclusion of bits/wordsize.h.
3626 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3628 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3629 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3630 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3631 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3632 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3633 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3635 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3637 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3639 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3640 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3641 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3643 * sysdeps/i386/link-defines.sym: New file.
3645 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
3647 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3648 (modules-names): Add tst-auditmod3a tst-auditmod3b.
3649 ($(objpfx)tst-audit3): New rule.
3650 ($(objpfx)tst-audit3.out): Likewise.
3651 * sysdeps/i386/tst-audit3.c: New file.
3652 * sysdeps/i386/tst-audit3.h: Likewise.
3653 * sysdeps/i386/tst-auditmod3a.c: Likewise.
3654 * sysdeps/i386/tst-auditmod3b.c: Likewise.
3656 2015-07-07 Torvald Riegel <triegel@redhat.com>
3659 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3661 (__strcat_c): Likewise.
3662 (__strcat_g): Likewise.
3664 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
3667 * misc/sbrk.c: Set errno to ENOMEM on overflow.
3669 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3671 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3672 New function. (__ieee754_sqrtf): New function.
3673 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3675 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3678 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
3680 * sysdeps/ieee754/support.c: Remove unused file.
3682 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
3684 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3685 registers instead of d ones so the layout is kernel abi compatible.
3686 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3687 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3690 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
3692 * sysdeps/aarch64/libm-test-ulps: Regenerated.
3694 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3697 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3698 and return argument in case of subnormal argument.
3700 2015-07-01 Martin Sebor <msebor@redhat.com>
3703 * nptl/Makefile: Add tst-once5.cc.
3704 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3705 Remove macro redefinitions.
3706 * nptl/tst-once5.cc: New test.
3708 2015-07-01 Joseph Myers <joseph@codesourcery.com>
3710 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3712 * sysdeps/arm/libm-test-ulps: Regenerated.
3714 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3715 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3717 2015-06-30 Torvald Riegel <triegel@redhat.com>
3719 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3720 lll_lock_wait_private and lll_futex_wake probes.
3722 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3723 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3725 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3727 * sysdeps/x86_64/bits/atomic.h: Likewise.
3728 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3729 to atomic_spin_nop and move ...
3730 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3732 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3733 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3734 atomic_spin_nop instead of BUSY_WAIT_NOP.
3735 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3737 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3738 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3739 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3740 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3741 instead of atomic_delay.
3743 2015-06-29 Joseph Myers <joseph@codesourcery.com>
3746 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3747 X_ADJ not X when adjusting exponent.
3748 (__ieee754_gamma_r): Do intermediate computations in
3749 round-to-nearest then adjust overflowing and underflowing results
3751 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3752 of X_ADJ not X when adjusting exponent.
3753 (__ieee754_gammaf_r): Do intermediate computations in
3754 round-to-nearest then adjust overflowing and underflowing results
3756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3757 log of X_ADJ not X when adjusting exponent.
3758 (__ieee754_gammal_r): Do intermediate computations in
3759 round-to-nearest then adjust overflowing and underflowing results
3760 as needed. Use 1.0L not 1.0f as numerator of division.
3761 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3762 log of X_ADJ not X when adjusting exponent.
3763 (__ieee754_gammal_r): Do intermediate computations in
3764 round-to-nearest then adjust overflowing and underflowing results
3765 as needed. Use 1.0L not 1.0f as numerator of division.
3766 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3767 of X_ADJ not X when adjusting exponent.
3768 (__ieee754_gammal_r): Do intermediate computations in
3769 round-to-nearest then adjust overflowing and underflowing results
3770 as needed. Use 1.0L not 1.0f as numerator of division.
3771 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
3772 to auto-libm-test-in.
3773 (tgamma_test): Use ALL_RM_TEST.
3774 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
3775 tests of tgamma with spurious-overflow.
3776 * math/auto-libm-test-out: Regenerated.
3777 * math/gen-libm-have-vector-test.sh: Do not check for START.
3778 * sysdeps/i386/fpu/libm-test-ulps: Update.
3779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3782 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3783 arguments, just return 0.5 times the argument, with underflow
3785 * math/auto-libm-test-in: Add more tests of j1.
3786 * math/auto-libm-test-out: Regenerated.
3789 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3790 (__ieee754_j1): Force underflow exception for small results.
3791 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3792 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3793 (__ieee754_j1f): Force underflow exception for small results.
3794 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3795 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3796 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3798 (__ieee754_j1l): Force underflow exception for small results.
3799 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3800 * math/auto-libm-test-in: Add more tests of j1 and jn.
3801 * math/auto-libm-test-out: Regenerated.
3803 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3804 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3805 (PF_MPLS): Likewise.
3807 (AF_MPLS): Likewise.
3808 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3810 (MS_RMT_MASK): Include MS_LAZYTIME.
3812 2015-06-26 Mel Gorman <mgorman@suse.de>
3815 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3818 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
3820 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3821 (DT_MIPS_NUM): Update.
3822 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3823 DT_MIPS_RLD_MAP_REL.
3825 2015-06-25 Joseph Myers <joseph@codesourcery.com>
3829 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3830 round-to-nearest internally then recompute results that
3831 underflowed to zero in the original rounding mode.
3832 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3833 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3836 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3837 * sysdeps/i386/fpu/libm-test-ulps: Update.
3838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3840 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
3842 * NEWS: Fixed description of link with vector math library.
3844 2015-06-25 Andreas Schwab <schwab@suse.de>
3847 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3848 * libio/test-fmemopen.c (do_test): Add test for it.
3850 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
3853 * Makeconfig (no-pie-ldflag): New.
3854 (+link): Set to $(+link-pie) if default to PIE.
3855 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3856 * config.make.in (build-pie-default): New.
3857 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
3858 is default. AC_SUBST.
3859 * configure: Regenerated.
3860 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3862 2015-06-24 Roland McGrath <roland@hack.frob.com>
3864 * nptl/descr.h (struct pthread): Change type of field setxid_futex
3867 * resolv/gai_misc.h (struct waitlist): Change type of field
3868 counterp to 'volatile unsigned int *'.
3869 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3870 FUTEXADDR and OLDVAL.
3871 * resolv/getaddrinfo_a.c (getaddrinfo_a):
3872 Give local variable TOTAL type 'volatile unsigned int'.
3873 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3874 * resolv/gai_suspend.c (gai_suspend):
3875 Give local variable CNTR type 'unsigned int'.
3877 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3878 counterp to 'volatile unsigned int *'.
3879 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3880 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3881 (aio_suspend): Give local variable CNTR type 'unsigned int'.
3882 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3883 Give local variable TOTAL type 'volatile unsigned int'.
3884 (struct async_waitlist): Change type of field counter to 'unsigned int'.
3886 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
3889 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3890 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
3891 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3892 comment for i386/x86-64.
3893 (test-xfail-tst-tlsalign-extern-static): Removed.
3895 2015-06-24 Joseph Myers <joseph@codesourcery.com>
3897 * math/test-double.h: New file.
3898 * math/test-float.h: Likewise.
3899 * math/test-ldouble.h: Likewise.
3900 * math/test-math-inline.h: Likewise.
3901 * math/test-math-no-inline.h: Likewise.
3902 * math/test-math-scalar.h: Likewise.
3903 * math/test-math-vector.h: Likewise.
3904 * math/test-vec-loop.h: Remove file. Contents moved into
3906 * math/libm-test.inc (MATHCONST): Do not document macro.
3907 * math/test-double.c: Include test-double.h, test-math-no-inline.h
3908 and test-math-scalar.h.
3909 (FUNC): Remove macro.
3910 (FUNC_TEST): Likewise.
3912 (MATHCONST): Likewise.
3913 (PRINTF_EXPR): Likewise.
3914 (PRINTF_XEXPR): Likewise.
3915 (PRINTF_NEXPR): Likewise.
3916 (TEST_DOUBLE): Likewise.
3917 (TEST_MATHVEC): Likewise.
3918 (__NO_MATH_INLINES): Likewise.
3919 * math/test-float.c: Include test-float.h, test-math-no-inline.h
3920 and test-math-scalar.h.
3921 (FUNC): Remove macro.
3922 (FUNC_TEST): Likewise.
3924 (MATHCONST): Likewise.
3925 (PRINTF_EXPR): Likewise.
3926 (PRINTF_XEXPR): Likewise.
3927 (PRINTF_NEXPR): Likewise.
3928 (TEST_FLOAT): Likewise.
3929 (TEST_MATHVEC): Likewise.
3930 (__NO_MATH_INLINES): Likewise.
3931 * math/test-idouble.c: Include test-double.h, test-math-inline.h
3932 and test-math-scalar.h.
3933 (FUNC): Remove macro.
3934 (FUNC_TEST): Likewise.
3936 (MATHCONST): Likewise.
3937 (PRINTF_EXPR): Likewise.
3938 (PRINTF_XEXPR): Likewise.
3939 (PRINTF_NEXPR): Likewise.
3940 (TEST_DOUBLE): Likewise.
3941 (TEST_MATHVEC): Likewise.
3942 (TEST_INLINE): Likewise.
3943 (__NO_MATH_INLINES): Likewise.
3944 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3946 (FUNC): Remove macro.
3947 (FUNC_TEST): Likewise.
3949 (MATHCONST): Likewise.
3950 (PRINTF_EXPR): Likewise.
3951 (PRINTF_XEXPR): Likewise.
3952 (PRINTF_NEXPR): Likewise.
3953 (TEST_FLOAT): Likewise.
3954 (TEST_MATHVEC): Likewise.
3955 (TEST_INLINE): Likewise.
3956 (__NO_MATH_INLINES): Likewise.
3957 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3958 and test-math-scalar.h.
3959 (FUNC): Remove macro.
3960 (FUNC_TEST): Likewise.
3962 (MATHCONST): Likewise.
3963 (PRINTF_EXPR): Likewise.
3964 (PRINTF_XEXPR): Likewise.
3965 (PRINTF_NEXPR): Likewise.
3966 (TEST_LDOUBLE): Likewise.
3967 (TEST_MATHVEC): Likewise.
3968 (TEST_INLINE): Likewise.
3969 (__NO_MATH_INLINES): Likewise.
3970 * math/test-ldouble.c: Include test-ldouble.h,
3971 test-math-no-inline.h and test-math-scalar.h.
3972 (FUNC): Remove macro.
3973 (FUNC_TEST): Likewise.
3975 (MATHCONST): Likewise.
3976 (PRINTF_EXPR): Likewise.
3977 (PRINTF_XEXPR): Likewise.
3978 (PRINTF_NEXPR): Likewise.
3979 (TEST_LDOUBLE): Likewise.
3980 (TEST_MATHVEC): Likewise.
3981 (__NO_MATH_INLINES): Likewise.
3982 * math/test-double-vlen2.h: Include test-double.h,
3983 test-math-no-inline.h and test-math-vector.h.
3984 (FLOAT): Remove macro.
3986 (MATHCONST): Likewise.
3987 (PRINTF_EXPR): Likewise.
3988 (PRINTF_XEXPR): Likewise.
3989 (PRINTF_NEXPR): Likewise.
3990 (TEST_DOUBLE): Likewise.
3991 (TEST_MATHVEC): Likewise.
3992 (__NO_MATH_INLINES): Likewise.
3995 (WRAPPER_NAME): Likewise.
3996 (WRAPPER_DECL): Likewise.
3997 (WRAPPER_DECL_ff): Likewise.
3998 (WRAPPER_DECL_fFF): Likewise.
3999 (VECTOR_WRAPPER): Likewise.
4000 (VECTOR_WRAPPER_ff): Likewise.
4001 (VECTOR_WRAPPER_fFF): Likewise.
4002 (VEC_LEN): New macro.
4003 * math/test-double-vlen4.h: Include test-double.h,
4004 test-math-no-inline.h and test-math-vector.h.
4005 (FLOAT): Remove macro.
4007 (MATHCONST): Likewise.
4008 (PRINTF_EXPR): Likewise.
4009 (PRINTF_XEXPR): Likewise.
4010 (PRINTF_NEXPR): Likewise.
4011 (TEST_DOUBLE): Likewise.
4012 (TEST_MATHVEC): Likewise.
4013 (__NO_MATH_INLINES): Likewise.
4016 (WRAPPER_NAME): Likewise.
4017 (WRAPPER_DECL): Likewise.
4018 (WRAPPER_DECL_ff): Likewise.
4019 (WRAPPER_DECL_fFF): Likewise.
4020 (VECTOR_WRAPPER): Likewise.
4021 (VECTOR_WRAPPER_ff): Likewise.
4022 (VECTOR_WRAPPER_fFF): Likewise.
4023 (VEC_LEN): New macro.
4024 * math/test-double-vlen8.h: Include test-double.h,
4025 test-math-no-inline.h and test-math-vector.h.
4026 (FLOAT): Remove macro.
4028 (MATHCONST): Likewise.
4029 (PRINTF_EXPR): Likewise.
4030 (PRINTF_XEXPR): Likewise.
4031 (PRINTF_NEXPR): Likewise.
4032 (TEST_DOUBLE): Likewise.
4033 (TEST_MATHVEC): Likewise.
4034 (__NO_MATH_INLINES): Likewise.
4037 (WRAPPER_NAME): Likewise.
4038 (WRAPPER_DECL): Likewise.
4039 (WRAPPER_DECL_ff): Likewise.
4040 (WRAPPER_DECL_fFF): Likewise.
4041 (VECTOR_WRAPPER): Likewise.
4042 (VECTOR_WRAPPER_ff): Likewise.
4043 (VECTOR_WRAPPER_fFF): Likewise.
4044 (VEC_LEN): New macro.
4045 * math/test-float-vlen4.h: Include test-float.h,
4046 test-math-no-inline.h and test-math-vector.h.
4047 (FLOAT): Remove macro.
4049 (MATHCONST): Likewise.
4050 (PRINTF_EXPR): Likewise.
4051 (PRINTF_XEXPR): Likewise.
4052 (PRINTF_NEXPR): Likewise.
4053 (TEST_FLOAT): Likewise.
4054 (TEST_MATHVEC): Likewise.
4055 (__NO_MATH_INLINES): Likewise.
4058 (WRAPPER_NAME): Likewise.
4059 (WRAPPER_DECL): Likewise.
4060 (WRAPPER_DECL_ff): Likewise.
4061 (WRAPPER_DECL_fFF): Likewise.
4062 (VECTOR_WRAPPER): Likewise.
4063 (VECTOR_WRAPPER_ff): Likewise.
4064 (VECTOR_WRAPPER_fFF): Likewise.
4065 (VEC_LEN): New macro.
4066 * math/test-float-vlen8.h: Include test-float.h,
4067 test-math-no-inline.h and test-math-vector.h.
4068 (FLOAT): Remove macro.
4070 (MATHCONST): Likewise.
4071 (PRINTF_EXPR): Likewise.
4072 (PRINTF_XEXPR): Likewise.
4073 (PRINTF_NEXPR): Likewise.
4074 (TEST_FLOAT): Likewise.
4075 (TEST_MATHVEC): Likewise.
4076 (__NO_MATH_INLINES): Likewise.
4079 (WRAPPER_NAME): Likewise.
4080 (WRAPPER_DECL): Likewise.
4081 (WRAPPER_DECL_ff): Likewise.
4082 (WRAPPER_DECL_fFF): Likewise.
4083 (VECTOR_WRAPPER): Likewise.
4084 (VECTOR_WRAPPER_ff): Likewise.
4085 (VECTOR_WRAPPER_fFF): Likewise.
4086 (VEC_LEN): New macro.
4087 * math/test-float-vlen16.h: Include test-float.h,
4088 test-math-no-inline.h and test-math-vector.h.
4089 (FLOAT): Remove macro.
4091 (MATHCONST): Likewise.
4092 (PRINTF_EXPR): Likewise.
4093 (PRINTF_XEXPR): Likewise.
4094 (PRINTF_NEXPR): Likewise.
4095 (TEST_FLOAT): Likewise.
4096 (TEST_MATHVEC): Likewise.
4097 (__NO_MATH_INLINES): Likewise.
4100 (WRAPPER_NAME): Likewise.
4101 (WRAPPER_DECL): Likewise.
4102 (WRAPPER_DECL_ff): Likewise.
4103 (WRAPPER_DECL_fFF): Likewise.
4104 (VECTOR_WRAPPER): Likewise.
4105 (VECTOR_WRAPPER_ff): Likewise.
4106 (VECTOR_WRAPPER_fFF): Likewise.
4107 (VEC_LEN): New macro.
4108 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4110 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4111 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4112 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4113 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4114 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4115 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4116 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4118 2015-06-24 Roland McGrath <roland@hack.frob.com>
4120 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4121 (__getlogin_r): ... this.
4123 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4126 * math/s_ccosh.c (__ccosh): Compare with least normal value
4127 instead of comparing class with FP_SUBNORMAL.
4128 * math/s_ccoshf.c (__ccoshf): Likewise.
4129 * math/s_ccoshl.c (__ccoshl): Likewise.
4130 * math/s_cexp.c (__cexp): Likewise.
4131 * math/s_cexpf.c (__cexpf): Likewise.
4132 * math/s_cexpl.c (__cexpl): Likewise.
4133 * math/s_csin.c (__csin): Likewise.
4134 * math/s_csinf.c (__csinf): Likewise.
4135 * math/s_csinh.c (__csinh): Likewise.
4136 * math/s_csinhf.c (__csinhf): Likewise.
4137 * math/s_csinhl.c (__csinhl): Likewise.
4138 * math/s_csinl.c (__csinl): Likewise.
4139 * math/s_ctan.c (__ctan): Likewise.
4140 * math/s_ctanf.c (__ctanf): Likewise.
4141 * math/s_ctanh.c (__ctanh): Likewise.
4142 * math/s_ctanhf.c (__ctanhf): Likewise.
4143 * math/s_ctanhl.c (__ctanhl): Likewise.
4144 * math/s_ctanl.c (__ctanl): Likewise.
4145 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4146 csin, csinh, ctan and ctanh.
4147 * math/auto-libm-test-out: Regenerated.
4148 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4149 * sysdeps/i386/fpu/libm-test-ulps: Update.
4150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4152 2015-06-24 Roland McGrath <roland@hack.frob.com>
4154 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4155 return value is wrong, print the expected value too.
4157 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
4160 * elf/readlib.c (is_gdb_python_file): New.
4161 (process_file): Don't issue errors on filenames with -gdb.py
4164 2015-06-24 Joseph Myers <joseph@codesourcery.com>
4166 * math/auto-libm-test-in: Add more tests of csin and csinh.
4167 * math/auto-libm-test-out: Regenerated.
4168 * math/libm-test.inc (csin_test_data): Remove tests moved to
4170 (csinh_test_data): Likewise.
4173 * math/s_csin.c (__csin): Negate before rather than after possibly
4174 overflowing multiplication.
4175 * math/s_csinf.c (__csinf): Likewise.
4176 * math/s_csinh.c (__csinh): Likewise.
4177 * math/s_csinhf.c (__csinhf): Likewise.
4178 * math/s_csinhl.c (__csinhl): Likewise.
4179 * math/s_csinl.c (__csinl): Likewise.
4180 * math/auto-libm-test-in: Add some tests of csin and csinh.
4181 * math/auto-libm-test-out: Regenerated.
4182 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4183 (csinh_test_data): Likewise.
4184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4187 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4188 underflow exception for small results.
4190 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
4192 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4193 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4194 variable and included header.
4195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4196 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4197 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4198 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4199 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4200 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4201 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4203 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4204 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4205 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4206 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4207 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4208 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4209 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4210 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4212 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4216 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4217 (__sin): Force underflow exception for arguments with small
4219 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4220 (__kernel_sinf): Force underflow exception for arguments with
4221 small absolute value.
4222 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4223 (__kernel_sincosl): Force underflow exception for arguments with
4224 small absolute value.
4225 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4226 (__kernel_sinl): Force underflow exception for arguments with
4227 small absolute value.
4228 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4229 (__kernel_sincosl): Force underflow exception for arguments with
4230 small absolute value.
4231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4232 (__kernel_sinl): Force underflow exception for arguments with
4233 small absolute value.
4234 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4235 (__kernel_sinl): Force underflow exception for arguments with
4236 small absolute value.
4237 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4238 (__kernel_sinf): Force underflow exception for arguments with
4239 small absolute value.
4240 * math/auto-libm-test-in: Add more tests of sin and sincos.
4241 * math/auto-libm-test-out: Regenerated.
4245 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4246 (__kernel_standard_l): Use feholdexcept and fesetenv around
4247 conversion to double instead of special-casing overflow and
4249 * math/libm-test.inc (fmod_test_data): Add more tests.
4250 (remainder_test_data): Likewise.
4251 (sqrt_test_data): Likewise.
4253 2015-06-23 Torvald Riegel <triegel@redhat.com>
4256 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4257 atomic_read_barrier, atomic_write_barrier): Define.
4258 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4259 atomic_read_barrier, atomic_write_barrier): Define.
4261 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4263 * math/Makefile [$(PERL) != no]
4264 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4265 dependency on libm-test.stmp below the inclusion of Rules.
4267 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
4269 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4270 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4271 and included header.
4272 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4273 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4274 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4275 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4276 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4277 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4278 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4279 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4280 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4281 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4282 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4283 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4284 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4285 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4286 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4287 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4288 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4289 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4290 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4292 2015-06-23 Joseph Myers <joseph@codesourcery.com>
4295 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4296 intermediate but not final result might underflow.
4297 * math/s_csqrtf.c (__csqrtf): Likewise.
4298 * math/s_csqrtl.c (__csqrtl): Likewise.
4299 * math/auto-libm-test-in: Add more tests of csqrt.
4300 * math/auto-libm-test-out: Regenerated.
4301 * sysdeps/i386/fpu/libm-test-ulps: Update.
4304 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4305 threshold on absolute value of exponent for which scaling is used.
4306 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4307 * math/auto-libm-test-in: Add more tests of exp2.
4308 * math/auto-libm-test-out: Regenerated.
4310 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
4313 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4314 when initializing interface list, based on the bug analysis
4315 and the patch proposed by Eric Newton.
4316 * resolv/tst-res_hconf_reorder.c: New test.
4317 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4318 tst-res_hconf_reorder.
4319 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4320 and $(shared-thread-library).
4321 (tst-res_hconf_reorder-ENV): New variable.
4323 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4326 2015-06-22 Joseph Myers <joseph@codesourcery.com>
4329 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4330 (__expm1): Force underflow exception for arguments with small
4332 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4333 (__expm1f): Force underflow exception for arguments with small
4335 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4336 (__expm1): Force underflow exception for arguments with small
4338 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4339 (__expm1f): Force underflow exception for arguments with small
4341 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4342 Check for small arguments before calling __expm1.
4343 * math/auto-libm-test-in: Do not mark underflow exceptions as
4344 possibly missing for bug 16353.
4345 * math/auto-libm-test-out: Regenerated.
4347 2015-06-22 Andreas Schwab <schwab@suse.de>
4350 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4353 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
4355 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4357 * string/strcoll_l.c: Remove unused struct element idxnow.
4359 2015-06-21 Joseph Myers <joseph@codesourcery.com>
4362 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4363 underflow and return argument in case of subnormal argument.
4364 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4366 * math/auto-libm-test-in: Add more tests of expm1.
4367 * math/auto-libm-test-out: Regenerated.
4370 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4371 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4373 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4374 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4376 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
4377 mark underflow exceptions as possibly missing for bug 16361.
4378 * math/auto-libm-test-out: Regenerated.
4380 2015-06-19 Joseph Myers <joseph@codesourcery.com>
4382 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4383 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4385 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4386 (test-xfail-XOPEN2K8/utmpx.h/conform).
4388 * conform/conformtest.pl ($xerrors): New variable.
4389 (note_error): New function.
4390 (compiletest): New argument $xfail. Use not_error.
4391 (runtest): Likewise.
4392 (top level): Handle xfail- lines. Update calls to compiletest and
4393 runtest. Handle xfail- and optional- in headers listed with
4395 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4397 (O_SEARCH): Likewise.
4398 * conform/data/stropts.h-data (ioctl): Likewise.
4399 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4400 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4401 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4402 (msghdr.msg_controllen): Likewise.
4403 (cmsghdr.cmsg_len): Likewise.
4404 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4405 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4407 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4408 (test-xfail-XPG4/stropts.h/conform): Likewise.
4409 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4410 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4411 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4412 (test-xfail-UNIX98/stropts.h/conform): Likewise.
4413 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4414 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4415 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4416 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4417 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4418 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4419 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4420 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4421 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4422 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4423 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4424 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4425 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4426 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4427 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4429 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
4431 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4432 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4433 definitions for proper unfolding of __MATHDECL_VEC.
4435 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4437 * benchtests/bench-strcoll.c:
4439 (main): Remove unused variable res.
4441 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4443 * timezone/Makefile (%/UTC %/Universal):
4444 Generate test-result files for UTC and Universal.
4446 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
4448 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4450 2015-06-18 Joseph Myers <joseph@codesourcery.com>
4453 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4454 for arguments with small absolute value.
4455 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4456 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4457 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4458 (__asinh): Force underflow exception for arguments with small
4460 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4461 (__asinhf): Force underflow exception for arguments with small
4463 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4464 (__asinhl): Force underflow exception for arguments with small
4466 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4467 (__asinhl): Force underflow exception for arguments with small
4469 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4470 (__asinhl): Force underflow exception for arguments with small
4472 * math/auto-libm-test-in: Do not mark underflow exceptions as
4473 possibly missing for bug 16350.
4474 * math/auto-libm-test-out: Regenerated.
4476 * include/bits/ipc.h: Remove file.
4477 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4479 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4480 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4481 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4482 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4483 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4484 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4485 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4486 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4487 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4489 * math/auto-libm-test-in: Remove spurious underflow allowance for
4491 * math/auto-libm-test-out: Regenerated.
4494 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4495 unconditional definition.
4496 (MCAST_BLOCK_SOURCE): Likewise.
4497 (MCAST_UNBLOCK_SOURCE): Likewise.
4498 (MCAST_LEAVE_GROUP): Likewise.
4499 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4500 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4501 (MCAST_MSFILTER): Likewise.
4502 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4504 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4505 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4506 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4507 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4508 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4510 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
4512 * NEWS: Mention addition of x86_64 vector sincosf.
4513 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4514 * math/test-float-vlen4.h: Likewise.
4515 * math/test-float-vlen8.h: Likewise.
4516 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4517 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4518 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4519 * sysdeps/x86_64/fpu/Versions: New versions added.
4520 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4521 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4522 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4523 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4524 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4525 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4526 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4527 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4528 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4529 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4530 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4531 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4532 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4533 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4534 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4535 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4536 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4537 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4538 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4539 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4540 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4541 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4542 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4543 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4545 * NEWS: Mention addition of x86_64 vector sincos.
4546 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4547 * math/math.h (__MATHDECL_VEC): New macro.
4548 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4549 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4550 declaration under condition.
4551 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4552 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4553 TEST_VEC_LOOP change.
4554 * math/test-double-vlen4.h: Likewise.
4555 * math/test-double-vlen8.h: Likewise.
4556 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4557 * math/test-float-vlen4.h: Likewise.
4558 * math/test-float-vlen8.h: Likewise.
4559 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4560 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4561 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4562 * sysdeps/x86_64/fpu/Versions: New versions added.
4563 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4564 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4565 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4566 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4569 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4570 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4571 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4572 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4573 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4574 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4575 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4576 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4577 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4578 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4579 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4580 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4581 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4582 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4583 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4584 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4585 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4586 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4588 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4589 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4590 redirections for powf.
4591 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4592 * sysdeps/x86_64/fpu/Versions: New versions added.
4593 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4594 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4595 Added build of SSE, AVX2 and AVX512 IFUNC versions.
4596 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4597 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4598 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4599 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4600 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4601 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4602 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4603 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4604 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4605 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4606 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4607 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4608 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4609 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4610 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4611 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4612 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4613 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4614 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4615 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4616 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4617 * math/test-float-vlen16.h: Fixed 2 argument macro.
4618 * math/test-float-vlen4.h: Likewise.
4619 * math/test-float-vlen8.h: Likewise.
4620 * NEWS: Mention addition of x86_64 vector powf.
4622 2015-06-17 Joseph Myers <joseph@codesourcery.com>
4624 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4626 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4628 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4629 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4633 * resource/getpriority.c (getpriority): Rename to __getpriority
4634 and define as weak alias of __getpriority.
4635 * resource/setpriority.c (setpriority): Rename to __setpriority
4636 and define as weak alias of __setpriority.
4637 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4638 __getpriority and define as weak alias of __getpriority.
4639 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4640 __setpriority and define as weak alias of __setpriority.
4641 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4643 (setpriority): Use __setpriority as strong name.
4644 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4645 __getpriority and define as weak alias of __getpriority.
4646 * include/sys/resource.h (__getpriority): Declare. Use
4648 (__setpriority): Likewise.
4649 (getpriority): Don't use libc_hidden_proto.
4650 (setpriority): Likewise.
4651 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4652 getpriority. Call __setpriority instead of setpriority.
4653 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4657 * misc/getttyent.c (getttynam): Rename to __getttynam and define
4658 as weak alias of __getttynam. Use prototype function definition.
4659 Call __setttyent, __getttyent and __endttyent instead of
4660 setttyent, getttyent and endttyent.
4661 (getttyent): Rename to __getttyent and define as weak alias of
4662 __getttyent. Call __setttyent instead of setttyent. Call
4663 __fgets_unlocked instead of fgets_unlocked.
4664 (setttyent): Rename to __setttyent and define as weak alias of
4666 (endttyent): Rename to __endttyent and define as weak alias of
4668 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
4669 (__setttyent): Likewise.
4670 (__endttyent): Likewise.
4671 (getttyent): Don't use libc_hidden_proto.
4672 (setttyent): Likewise.
4673 (endttyent): Likewise.
4674 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4675 __endttyent instead of setttyent, getttyent and endttyent.
4676 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4680 * socket/recv.c (__recv): Use libc_hidden_def.
4681 * socket/socket.c (__socket): Likewise.
4682 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4683 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4684 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4685 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4686 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4688 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4690 * include/sys/socket.h (__socket): Do not use attribute_hidden.
4691 Use libc_hidden_proto.
4693 * socket/Versions (libc): Export __recv and __socket at version
4695 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4697 (init_mq_netlink): Call __socket instead of socket.
4698 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4702 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4703 __mq_timedreceive and define as alias of __mq_timedreceive. Use
4705 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4706 define as alias of __mq_timedsend. Use hidden_weak.
4707 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4708 __mq_timedsend as strong name.
4709 (mq_timedreceive): Use __mq_timedreceive as strong name.
4710 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
4711 (__mq_timedreceive): Likewise.
4712 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4713 __mq_timedreceive instead of mq_timedreceive.
4714 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4715 instead of mq_timedsend.
4716 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4719 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4720 hidden_def and hidden_weak instead of libc_hidden_def and
4722 (top level): Refer to hidden_def in comment.
4723 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4724 macro. Use it instead of libc_hidden_def.
4725 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4726 specify __GI_* name explicitly.
4727 (mq_timedreceive): Likewise.
4728 (mq_setattr): Likewise.
4731 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4732 __pthread_barrier_init and define as weak alias of
4733 __pthread_barrier_init.
4734 * sysdeps/sparc/nptl/pthread_barrier_init.c
4735 (pthread_barrier_init): Likewise.
4736 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4737 __pthread_barrier_wait and define as weak alias of
4738 __pthread_barrier_wait.
4739 * sysdeps/sparc/nptl/pthread_barrier_wait.c
4740 (pthread_barrier_wait): Likewise.
4741 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4742 (pthread_barrier_wait): Likewise.
4743 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4744 (pthread_barrier_wait): Likewise.
4745 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4746 (pthread_barrier_wait): Likewise.
4747 * nptl/Versions (libpthread): Export __pthread_barrier_init and
4748 __pthread_barrier_wait at version GLIBC_PRIVATE.
4749 * include/pthread.h (__pthread_barrier_init): Declare.
4750 (__pthread_barrier_wait): Likewise.
4751 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4752 Call __pthread_barrier_wait instead of pthread_barrier_wait.
4753 (helper_thread): Likewise.
4754 (init_mq_netlink): Call __pthread_barrier_init instead of
4755 pthread_barrier_init.
4758 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4759 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4760 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
4761 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4763 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4767 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4768 strong alias of _IO_fflush. Use libc_hidden_def.
4769 * libio/iofflush_u.c (fflush_unlocked): Rename to
4770 __fflush_unlocked and define as weak alias of __fflush_unlocked.
4771 Use libc_hidden_weak.
4772 * include/stdio.h (__fflush_unlocked): Declare. Use
4774 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4776 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4780 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4781 define as weak alias of __addseverity.
4782 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4784 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4785 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4786 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4789 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4790 (__tfind): Likewise.
4791 (__tdelete): Likewise.
4792 (__twalk): Likewise.
4793 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4794 __twalk to GLIBC_PRIVATE.
4795 * include/search.h (__tsearch): Use libc_hidden_proto.
4796 (__tfind): Likewise.
4797 (__tdelete): Likewise.
4798 (__twalk): Likewise.
4799 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4800 Call __tdelete instead of tdelete.
4801 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4802 tfind. Call __tsearch instead of tsearch.
4803 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4804 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4806 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4809 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4810 (dprintf): Define as a weak alias of __dprintf, not a strong
4812 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
4813 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4815 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4817 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4818 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4821 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4823 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4827 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4828 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
4829 (in6addr_loopback): Rename to __in6addr_loopback and define as
4830 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
4831 * include/netinet/in.h (__in6addr_loopback): Declare. Use
4833 (__in6addr_any): Likewise.
4834 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4836 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4838 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4840 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
4842 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4843 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4844 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4845 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4846 redirections for pow.
4847 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4848 * sysdeps/x86_64/fpu/Versions: New versions added.
4849 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4850 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4851 build of SSE, AVX2 and AVX512 IFUNC versions.
4852 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4853 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4854 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4855 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4856 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4857 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4858 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4859 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4860 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4861 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4862 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4863 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4864 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4865 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4866 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4867 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4868 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4869 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4870 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4871 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4872 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4873 * NEWS: Mention addition of x86_64 vector pow.
4875 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4876 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4877 redirections for expf.
4878 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4879 * sysdeps/x86_64/fpu/Versions: New versions added.
4880 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4881 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4882 build of SSE, AVX2 and AVX512 IFUNC versions.
4883 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4884 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4885 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4886 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4887 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4888 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4889 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4890 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4891 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4892 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4893 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4894 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4895 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4896 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4897 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4898 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4899 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4900 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4901 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4902 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4903 * NEWS: Mention addition of x86_64 vector expf.
4905 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4906 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4907 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4908 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4909 redirections for exp.
4910 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4911 * sysdeps/x86_64/fpu/Versions: New versions added.
4912 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4913 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4914 build of SSE, AVX2 and AVX512 IFUNC versions.
4915 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4916 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4917 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4918 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4919 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4920 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4921 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4922 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4923 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4924 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4925 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4926 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4927 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4928 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4929 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4930 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4931 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4932 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4933 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4934 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4935 * NEWS: Mention addition of x86_64 vector exp.
4937 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4938 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4939 redirections for logf.
4940 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4941 * sysdeps/x86_64/fpu/Versions: New versions added.
4942 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4943 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4944 build of SSE, AVX2 and AVX512 IFUNC versions.
4945 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4946 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4947 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4948 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4949 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4950 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4951 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4952 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4953 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4954 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4955 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4956 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4957 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4958 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4959 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4960 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4961 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4962 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4963 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4964 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4965 * NEWS: Mention addition of x86_64 vector logf.
4967 * bits/libm-simd-decl-stubs.h: Added stubs for log.
4968 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4969 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4970 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4971 redirections for log.
4972 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4973 * sysdeps/x86_64/fpu/Versions: New versions added.
4974 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4975 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4976 build of SSE, AVX2 and AVX512 IFUNC versions.
4977 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4978 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4979 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4980 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4981 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4982 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4983 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4984 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4985 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4986 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4987 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4988 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4989 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4991 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4992 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4993 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4994 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4995 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4996 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4997 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4998 * NEWS: Mention addition of x86_64 vector log.
5000 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
5002 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5003 cfi_adjust_cfa_offset argument.
5004 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5005 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5008 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5009 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5010 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5011 ordering using ldar.
5012 (_dl_tlsdesc_dynamic): Likewise.
5013 (_dl_tlsdesc_return_lazy): Likewise.
5014 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5015 relaxed atomics instead of volatile and synchronize with release store.
5016 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5018 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5020 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
5022 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5023 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5024 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5025 * sysdeps/x86_64/fpu/Versions: New versions added.
5026 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5027 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5028 build of SSE, AVX2 and AVX512 IFUNC versions.
5029 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5030 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5031 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5032 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5033 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5034 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5035 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5036 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5037 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5038 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5039 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5040 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5041 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5042 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5043 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5044 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5045 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5046 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5047 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5048 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5049 * NEWS: Mention addition of x86_64 vector sinf.
5051 2015-06-14 Joseph Myers <joseph@codesourcery.com>
5053 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5054 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5055 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5057 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5058 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5060 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5063 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5064 strong alias of _IO_fputs. Use libc_hidden_def.
5065 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5066 and define as weak alias of __fputs_unlocked. Use
5068 * include/stdio.h (__fputs_unlocked): Declare. Use
5070 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5074 * resolv/netdb.h [__USE_POSIX]: Change condition to
5076 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5078 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5079 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5080 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5081 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5082 [XPG4 || UNIX98] (AI_ALL): Likewise.
5083 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5084 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5085 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5086 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5087 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5088 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5089 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5090 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5091 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5092 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5093 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5094 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5095 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5096 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5097 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5098 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5099 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5100 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5101 [XPG4 || UNIX98] (gai_strerror): Likewise.
5102 [XPG4 || UNIX98] (getaddrinfo): Likewise.
5103 [XPG4 || UNIX98] (getnameinfo): Likewise.
5106 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5107 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5109 (getgrent): Likewise.
5110 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5112 [XPG3 || POSIX2008] (endgrent): Likewise.
5113 [XPG3] (setgrent): Likewise.
5114 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5116 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5119 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5120 define as weak alias of __getlogin_r. Use libc_hidden_weak.
5121 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5122 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5123 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5124 * include/unistd.h (__getlogin_r): Declare. Use
5126 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5127 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5129 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5130 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5131 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5133 2015-06-12 Martin Sebor <msebor@redhat.com>
5136 * Makerules (check-install-supported): New target.
5137 (install): Add check-install-supported as a dependency.
5138 * manual/install.texi (Installing the C Library): Document
5139 that overriding prefix and exec_prefix is not supported.
5141 * INSTALL: Regenerate from the above.
5143 2015-06-12 Joseph Myers <joseph@codesourcery.com>
5146 * posix/Versions (libc): Export __libc_pread at version
5148 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5150 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5155 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5156 (cvt_symbol): Use weak_alias instead of strong_alias.
5157 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5158 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5160 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5161 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5164 * inet/herrno.c (h_errno): Rename to __h_errno.
5165 (__libc_h_errno): Define as alias of __h_errno not h_errno.
5166 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5167 to __h_errno instead of h_errno.
5168 * nptl/herrno.c (h_errno): Rename to __h_errno.
5169 (__h_errno_location): Refer to __h_errno not h_errno.
5170 * resolv/Versions (h_errno): Rename to __h_errno.
5171 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5173 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5175 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
5177 * configure.ac: More strict check for AVX512 assembler support.
5178 * configure: Regenerated.
5180 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5181 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5182 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5183 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5184 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5185 * sysdeps/x86_64/fpu/Versions: New versions added.
5186 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5187 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5188 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5189 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5190 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5191 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5192 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5193 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5194 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5195 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5196 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5197 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5198 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5199 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5200 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5201 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5203 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5204 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5205 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5206 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5207 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5208 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5209 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5210 * NEWS: Mention addition of x86_64 vector sin.
5212 2015-06-11 Florian Weimer <fweimer@redhat.com>
5214 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5217 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
5220 * nptl/pt-interp.c: New file.
5221 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5223 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5224 $(common-objpfx)runtime-linker.h.
5226 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
5228 * Makeconfig (+interp): Remove unused variable.
5229 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5230 only. Depend on $(common-objpfx)runtime-linker.h instead of
5231 $(elf-objpfx)runtime-linker.h.
5232 ($(elf-objpfx)runtime-linker.h): Rename to
5233 $(common-objpfx)runtime-linker.h and move ...
5234 * Makerules [$(build-shared) = yes]: ... here.
5235 * elf/interp.c: Include <runtime-linker.h> instead of
5236 <elf/runtime-linker.h>.
5238 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5240 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5241 (__gettimeofday_syscall): Remove vsyscall fallback.
5242 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5243 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5244 Add syscall fallback function.
5245 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5246 if vDSO is not present.
5247 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5249 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5252 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5254 2015-06-09 Joseph Myers <joseph@codesourcery.com>
5257 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5259 (wcscmp): Define as weak alias of WCSCMP.
5260 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5262 (USE_HIDDEN_DEF): Define.
5263 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5264 __wcscoll. Don't use libc_hidden_weak.
5265 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5267 * sysdeps/i386/i686/multiarch/wcscmp-c.c
5268 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5270 (weak_alias): Undefine and redefine.
5271 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5272 __wcscmp and define as weak alias of __wcscmp.
5273 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5274 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
5275 (__wcscoll): Likewise.
5276 (wcscmp): Don't use libc_hidden_proto.
5277 (wcscoll): Likewise.
5278 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5280 * posix/regexec.c (check_node_accept_bytes): Likewise.
5281 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5283 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5284 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5287 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5288 __fstatvfs and define as weak alias of __fstatvfs. Use
5290 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5291 and define as weak alias of __statvfs. Use libc_hidden_weak.
5292 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5293 Define as alias of __fstatvfs, not fstatvfs.
5294 (fstatvfs64): Likewise.
5295 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5296 Define as alias of __statvfs, not statvfs.
5297 (statvfs64): Likewise.
5298 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5301 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5304 (HAVE_GETCPU_VSYSCALL): Define.
5305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5306 (HAVE_GETCPU_VSYSCALL): Likewise.
5307 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5308 * sysdeps/unix/sysv/linux/sched_getcpu.c
5309 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5310 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5311 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5313 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5314 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5315 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5318 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5319 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5320 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5323 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
5325 * sysdeps/x86_64/fpu/Makefile: New file.
5326 * sysdeps/x86_64/fpu/Versions: New file.
5327 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5328 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5329 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5330 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5331 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5332 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5333 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5334 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5335 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5336 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5337 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5338 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5339 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5340 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5341 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5342 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5343 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5344 * sysdeps/x86_64/configure.ac: Options for libmvec build.
5345 * sysdeps/x86_64/configure: Regenerated.
5346 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5347 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5348 * manual/install.texi (Configuring and compiling): Document
5350 * INSTALL: Regenerated.
5351 * NEWS: Mention addition of libmvec and x86_64 vector cos.
5353 * math/Makefile: Added rules for vector tests.
5354 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5355 declaration under condition.
5356 * math/test-double-vlen2.h: New file.
5357 * math/test-double-vlen4.h: New file.
5358 * math/test-double-vlen8.h: New file.
5359 * math/test-vec-loop.h: Added initialization macro.
5360 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5361 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5362 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5363 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5364 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5365 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5366 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5367 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5368 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5369 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5370 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5372 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5373 * sysdeps/x86_64/fpu/Versions: New versions added.
5374 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5375 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5376 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5377 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5378 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5379 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5380 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5381 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5382 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5383 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5384 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5385 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5386 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5387 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5388 Added build of SSE, AVX2 and AVX512 IFUNC versions.
5389 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5390 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5391 * NEWS: Mention addition of x86_64 vector cosf.
5393 * math/Makefile: Added CFLAGS for new tests.
5394 * math/test-float-vlen16.h: New file.
5395 * math/test-float-vlen4.h: New file.
5396 * math/test-float-vlen8.h: New file.
5397 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5398 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5400 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5401 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5402 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5403 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5404 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5405 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5406 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5407 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5409 2015-06-09 Marko Myllynen <myllynen@redhat.com>
5411 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5412 * locale/programs/ld-ctype.c: Likewise.
5414 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
5416 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5417 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5418 bit_ZMM16_31_state): New macro.
5419 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5420 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5422 2015-06-08 Joseph Myers <joseph@codesourcery.com>
5424 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5426 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
5428 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5430 2015-06-05 Joseph Myers <joseph@codesourcery.com>
5433 * libio/memstream.c (open_memstream): Rename to __open_memstream
5434 and define as weak alias of __open_memstream.
5435 * include/stdio.h (__open_memstream): Declare. Use
5437 (open_memstream): Don't use libc_hidden_proto.
5438 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5440 * posix/getopt.c (_getopt_internal_r): Likewise.
5441 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5443 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5444 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5445 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5448 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5452 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5453 [__USE_XOPEN2K8]. Remove redundant #endif.
5454 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5455 Remove redundant #if.
5456 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5458 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5459 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5462 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5463 (__iswlower): Likewise.
5464 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
5465 (__iswlower): Likewise.
5466 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5467 instead of towlower.
5468 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5469 instead of iswlower. Call __towupper instead of towupper.
5470 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5471 instead of iswalnum.
5473 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5475 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5478 2015-06-05 Florian Weimer <fweimer@redhat.com>
5482 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5483 Check for overflow properly. Check for O_APPEND. Ignore large
5484 file system block sizes. Add comments about problems.
5485 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5486 * manual/filesys.texi (Storage Allocation): New node.
5488 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5490 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5491 cancellable syscalls.
5492 (SYS_ify): Add guard to no redefine it.
5493 (INLINE_SYSCALL): Likewise.
5494 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5495 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5496 SYSCALL_CANCEL instead.
5497 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5498 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5499 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5500 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5501 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5502 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5503 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5504 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5505 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5506 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5507 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5508 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5509 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5510 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5511 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5512 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5514 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5515 (__libc_pread64): Likewise.
5516 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5517 (__libc_preadv): Likewise.
5518 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5519 (__libc_readv64): Likewise.
5520 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5521 (__libc_pwrite): Likewise.
5522 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5523 (__libc_pwrite64): Likewise.
5524 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5525 (__libc_pwritev): Likewise.
5526 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5527 (__libc_pwritev64): Likewise.
5528 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5529 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5530 (sync_file_range): Likewise.
5531 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5533 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5535 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5536 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5537 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5538 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5539 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5540 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5541 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5542 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5546 (__libc_read64): Likewise.
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5556 (__libc_pread64): Likewise.
5557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5560 (__libc_pwrite64): Likewise.
5561 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5562 (sync_file_range): Likewise.
5563 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5564 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5565 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5566 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5567 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5568 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5569 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5570 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5571 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5572 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5573 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5574 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5575 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5576 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5577 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5578 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5579 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5580 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5581 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5583 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5585 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5586 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5588 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5589 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5590 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5591 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5593 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5594 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5595 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5596 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5597 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5599 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
5601 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5603 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5604 Use VDSO routines for gettimeofday, clock_gettime if
5606 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5607 Declare VDSO symbols.
5608 * sysdeps/unix/sysv/linux/arm/sysdep.h:
5609 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5610 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5611 * sysdeps/unix/sysv/linux/arm/Versions: Add
5612 __vdso_clock_gettime.
5614 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5616 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5617 be an inline implementation regardless of library is built within.
5618 (open_not_cancel_2): Likewise.
5619 (__read_nocancel): Likewise.
5620 (__write_nocancel): Likewise.
5621 (openat_not_cancel): Likewise.
5622 (openat_not_cancel_3): Likewise.
5623 (openat64_not_cancel): Likewise.
5624 (openat64_not_cancel_3): Likewise.
5625 (__close_nocancel): Likewise.
5626 (pause_not_cancel): Likewise.
5627 (nanosleep_not_cancel): Likewise.
5628 (sigsuspend_not_cancel): Likewise.
5630 2015-06-04 Torvald Riegel <triegel@redhat.com>
5633 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5635 (__pthread_rwlock_rdlock_slow): Likewise.
5636 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5638 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5640 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5641 * nptl/tst-rwlock16.c: New file.
5642 * nptl/Makefile (tests): Add new test.
5644 2015-06-04 Torvald Riegel <triegel@redhat.com>
5647 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5648 missing wake-up of readers.
5649 * nptl/tst-rwlock15.c: New file.
5650 * nptl/Makefile (tests): Add new test.
5652 2015-06-03 Roland McGrath <roland@hack.frob.com>
5654 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5655 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5656 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5657 and __nacl_supply_interface_rtld.
5658 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5659 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5660 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5661 Add __nacl_supply_interface_rtld.
5662 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5664 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5666 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5668 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5669 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5671 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
5673 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5674 __signbit* with standard C99 macros.
5675 * math/e_exp10l.c: Likewise.
5676 * math/e_exp2l.c: Likewise.
5677 * math/e_scalb.c: Likewise.
5678 * math/e_scalbf.c: Likewise.
5679 * math/e_scalbl.c: Likewise.
5680 * math/s_ldexp.c: Likewise.
5681 * math/s_ldexpf.c: Likewise.
5682 * math/s_ldexpl.c: Likewise.
5683 * math/w_atan2.c: Likewise.
5684 * math/w_atan2f.c: Likewise.
5685 * math/w_atan2l.c: Likewise.
5686 * math/w_cosh.c: Likewise.
5687 * math/w_coshf.c: Likewise.
5688 * math/w_coshl.c: Likewise.
5689 * math/w_exp10.c: Likewise.
5690 * math/w_exp10f.c: Likewise.
5691 * math/w_exp10l.c: Likewise.
5692 * math/w_exp2.c: Likewise.
5693 * math/w_exp2f.c: Likewise.
5694 * math/w_exp2l.c: Likewise.
5695 * math/w_fmod.c: Likewise.
5696 * math/w_fmodf.c: Likewise.
5697 * math/w_fmodl.c: Likewise.
5698 * math/w_hypot.c: Likewise.
5699 * math/w_hypotf.c: Likewise.
5700 * math/w_hypotl.c: Likewise.
5701 * math/w_jnl.c: Likewise.
5702 * math/w_lgamma.c: Likewise.
5703 * math/w_lgamma_r.c: Likewise.
5704 * math/w_lgammaf.c: Likewise.
5705 * math/w_lgammaf_r.c: Likewise.
5706 * math/w_lgammal.c: Likewise.
5707 * math/w_lgammal_r.c: Likewise.
5708 * math/w_pow.c: Likewise.
5709 * math/w_powf.c: Likewise.
5710 * math/w_powl.c: Likewise.
5711 * math/w_remainder.c: Likewise.
5712 * math/w_remainderf.c: Likewise.
5713 * math/w_remainderl.c: Likewise.
5714 * math/w_scalb.c: Likewise.
5715 * math/w_scalbf.c: Likewise.
5716 * math/w_scalbl.c: Likewise.
5717 * math/w_scalbln.c: Likewise.
5718 * math/w_scalblnf.c: Likewise.
5719 * math/w_scalblnl.c: Likewise.
5720 * math/w_sinh.c: Likewise.
5721 * math/w_sinhf.c: Likewise.
5722 * math/w_sinhl.c: Likewise.
5723 * math/w_tgamma.c: Likewise.
5724 * math/w_tgammaf.c: Likewise.
5725 * math/w_tgammal.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5727 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5733 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5736 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5743 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5745 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5753 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5755 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5756 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5757 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5758 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5759 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5760 * stdio-common/printf_fp.c: Likewise.
5761 * stdio-common/printf_fphex.c: Likewise.
5762 * stdio-common/printf_size.c: Likewise.
5764 2015-06-03 Joseph Myers <joseph@codesourcery.com>
5767 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5769 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5771 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5772 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5773 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5774 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5775 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5776 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5777 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5778 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5779 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5780 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5783 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5784 weak alias of __wmemchr. Use libc_hidden_weak.
5785 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
5786 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5789 2015-06-02 Roland McGrath <roland@hack.frob.com>
5792 * elf/tst-tlsalign-extern.c: New file.
5793 * elf/tst-tlsalign-extern-static.c: New file.
5794 * elf/tst-tlsalign-vars.c: New file.
5795 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5796 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5797 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5798 ($(objpfx)tst-tlsalign-extern-static): Likewise.
5799 (test-xfail-tst-tlsalign-extern-static): New variable.
5801 2015-06-02 Joseph Myers <joseph@codesourcery.com>
5803 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5804 Use variable name _sc_err instead of err.
5805 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5807 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5808 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5809 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5810 (INLINE_SYSCALL): Likewise.
5812 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5813 * include/string.h (__strnlen): Use libc_hidden_proto.
5814 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5815 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5816 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5817 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5818 (libc_hidden_def): Undefine and redefine.
5819 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5820 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5822 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5824 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5827 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5828 weak alias of __towlower. Use libc_hidden_weak.
5829 (towupper): Rename to __towupper and define as weak alias of
5830 __towupper. Use libc_hidden_weak.
5831 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
5832 (__towupper): Likewise.
5833 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5834 __towlower instead of towlower.
5836 2015-06-02 Roland McGrath <roland@hack.frob.com>
5838 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5839 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5841 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5843 * sysdeps/aarch64/libm-test-ulps: Update.
5845 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5847 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5849 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5850 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5851 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5852 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5853 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5854 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5855 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5857 2015-06-01 Martin Sebor <msebor@redhat.com>
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5861 (__setcontext): Use extended four-operand version of mtsf whenever
5863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5864 (__novec_swapcontext): Likewise.
5866 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5868 * benchtests/scripts/compare_bench.py: New file.
5869 * benchtests/scripts/import_bench.py (mean): New function.
5870 (split_list): Likewise.
5871 (do_for_all_timings): Likewise.
5872 (compress_timings): Likewise.
5874 * benchtests/scripts/import_bench.py: New file.
5875 * benchtests/scripts/validate_benchout.py: Import import_bench
5876 instead of jsonschema.
5877 (validate_bench): Remove function.
5878 (main): Use import_bench.
5880 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
5882 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5883 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5885 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5889 2015-05-28 Roland McGrath <roland@hack.frob.com>
5891 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5892 set THREAD_SELF->tid to a magic value and futex-wake it.
5893 Pass its address to the thread_exit system call.
5894 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5896 * sysdeps/nacl/lowlevellock.h: New file.
5897 * sysdeps/nacl/lll_timedwait_tid.c: New file.
5899 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5900 Add TIMEOUT to current time, don't subtract it.
5902 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
5906 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5907 ($(objpfx)tst-audit2.out): Also depend on
5908 $(objpfx)tst-auditmod9b.so.
5909 * elf/tst-audit2.c: Include <dlfcn.h>.
5910 (calloc_called): New.
5911 (calloc): Allow to be called more than once.
5912 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5914 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
5916 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5917 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5919 2015-05-27 Marko Myllynen <myllynen@redhat.com>
5921 * stdlib/monetary.h: Fix comment.
5923 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
5925 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5926 Avoid using variables in #defines that might cause shadowing.
5927 (INTERNAL_VSYSCALL_CALL): Likewise.
5929 2015-05-26 Roland McGrath <roland@hack.frob.com>
5931 * sysdeps/nacl/lll_timedlock_wait.c: New file.
5933 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5934 * nptl/lll_timedlock_wait.c: ... to this new file.
5935 * nptl/Makefile (libpthread-routines): Add it.
5936 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5937 * nptl/lll_timedwait_tid.c: ... to this new file.
5938 * nptl/Makefile (libpthread-routines): Add it.
5939 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5940 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5941 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5942 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5943 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5944 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5945 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5946 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5947 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5948 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5950 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5952 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5953 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5954 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5955 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5956 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5957 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5958 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5959 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5960 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5961 * sysdeps/unix/sysv/linux/tile/sysdep.h
5962 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5963 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5964 using vDSO syscall macro.
5966 2015-05-26 Andriy Rysin <arysin@gmail.com>
5969 * uk_UA: Fix sorting order for Ukrainian locale
5971 2015-05-26 Marko Myllynen <myllynen@redhat.com>
5973 * stdlib/monetary.h: Fix comment.
5975 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
5978 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5979 st_mtim and st_ctim members.
5980 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5981 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5982 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5983 (struct stat64): Likewise.
5984 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5985 (struct stat64): Likewise.
5986 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5987 (struct stat64): Likewise.
5989 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5991 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5992 Define and include sysdep-vdso.h.
5993 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5995 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5997 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5998 Define with VDSO_SYMBOL and use PTR_MANGLE.
5999 (__vdso_clock_gettime): Likewise.
6000 (__vdso_clock_getres): Likewise.
6001 (_libc_vdso_platform_setup): Likewise.
6002 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6004 (_libc_vdso_platform_setup): Likewise.
6005 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6007 (__vdso_clock_gettime): Likewise.
6008 (__vdso_clock_getres): Likewise.
6009 (__vdso_get_tbfreq): Likewise.
6010 (__vdso_getcpu): Likewise.
6011 (__vdso_time): Likewise.
6012 (__vdso_sigtramp_rt64): Likewise.
6013 (__vdso_signtramp32): Likewise.
6014 (__vdso_sigtramp_rt32): Likewise.
6015 (_libc_vdso_platform_setup): Likewise.
6016 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6018 (__vdso_clock_gettime): Likewise.
6019 (__vdso_clock_getres): Likewise.
6020 (_libc_vdso_platform_setup): Likewise.
6021 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6023 (__vdso_clock_gettime): Likewise.
6024 (_libc_vdso_platform_setup): Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6027 (__vdso_getcpu): Likewise.
6028 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6029 Use VDSO_SYMBOL macro to define.
6030 (__vdso_clock_gettime): Likewise.
6031 (__vdso_clock_getres): Likewise.
6032 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6034 (__vdso_clock_gettime): Likewise.
6035 (__vdso_clock_getres): Likewise.
6036 (__vdso_get_tbfreq): Likewise.
6037 (__vdso_getcpu): Likewise.
6038 (__vdso_time): Likewise.
6039 (__vdso_sigtramp_rt64): Likewise.
6040 (__vdso_signtramp32): Likewise.
6041 (__vdso_sigtramp_rt32): Likewise.
6042 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6044 (__vdso_clock_gettime): Likewise.
6045 (__vdso_clock_getres): Likewise.
6046 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6048 (__vdso_clock_gettime): Likewise.
6049 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6051 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
6053 (INTERNAL_VSYSCALL): Likewise.
6054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6056 (INTERNAL_VSYSCALL): Likewise.
6057 (INTERNAL_VSYSCALL_NCS): Likewise.
6058 (INTERNAL_VSYSCALL_CALL): New macro.
6059 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6060 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6062 (INTERNAL_VSYSCALL): Likewise.
6063 (INTERNAL_VSYSCALL_NCS): Likewise.
6064 (INTERNAL_VSYSCALL_CALL): New macro.
6065 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6067 (INLINE_VSYSCALL): Remove macro.
6068 (INTERNAL_VSYSCALL): Remove macro.
6069 (INTERNAL_VSYSCALL_NCS): Remove macro.
6070 (INTERNAL_VSYSCALL_CALL): New macro.
6071 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6072 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6073 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6074 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6075 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6077 (INLINE_VSYSCALL): Remove macro.
6078 (INTERNAL_VSYSCALL): Likewise.
6079 (INTERNAL_VSYSCALL_NCS): Likewise.
6080 (INTERNAL_VSYSCALL_CALL): New macro.
6081 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6082 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6083 PTR_DEMANGLE on vDSO pointer.
6084 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6085 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6087 (INTERNAL_SYSCALL): Likewise.
6088 (INTERNAL_VSYSCALL_NCS): Remove macro.
6089 (INTERNAL_VSYSCALL_CALL): New macro.
6090 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6092 (INTERNAL_VSYSCALL): Likewise.
6093 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6094 sysdep-vdso.h instead of libc-vdso.h.
6095 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6097 (INLINE_VSYSCALL): Likewise.
6098 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6099 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6101 (INLINE_VSYSCALL): Likewise.
6102 (INTERNAL_VSYSCALL): Likewise.
6103 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6104 * sysdeps/unix/sysv/linux/timespec_get.c
6105 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6106 (timespec_get): Use ANSI prototype.
6107 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6108 and definition for Linux.
6110 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
6112 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6113 * include/libc-symbols.h: libmvec_hidden_* macro series added.
6115 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
6119 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6120 for missing DT_PLTRELSZ.
6122 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
6124 Remove obsolete aliases that broke 'locale -a'
6126 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6127 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6128 breaking some applications that use 'locale -a' output.
6129 Change the encoding of this file from Latin-1 to ASCII to avoid
6130 other potential problems with people grepping this file.
6132 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6134 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6135 -fasynchronous-unwind-tables.
6136 (CFLAGS-sendto.c): Likewise.
6137 (CFLAGS-sendmsg.c): Likewise.
6138 (CFLAGS-connect.c): Likewise.
6139 (CFLAGS-recvmsg.c): Likewise.
6140 (CFLAGS-recvfrom.c): Likewise.
6141 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6142 (SOCKETCALL): New macro: non-cancellable socketcall.
6143 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6144 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6145 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6146 * sysdeps/unix/sysv/linux/accept.c: New file.
6147 * sysdeps/unix/sysv/linux/bind.c: Likewise.
6148 * sysdeps/unix/sysv/linux/connect.c: Likewise.
6149 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6150 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6151 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6152 * sysdeps/unix/sysv/linux/listen.c: Likewise.
6153 * sysdeps/unix/sysv/linux/recv.c: Likewise.
6154 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6155 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6156 * sysdeps/unix/sysv/linux/send.c: Likewise.
6157 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6158 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6159 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6160 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6161 * sysdeps/unix/sysv/linux/socket.c: Likewise.
6162 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6163 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6165 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6166 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6167 instead of __internal_xxx function.
6168 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6170 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6171 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6172 instead of __internal_xxx function.
6173 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6175 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6176 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6177 instead of __internal_xxx function.
6178 * sysdeps/unix/sysv/linux/accept.S: Remove file.
6179 * sysdeps/unix/sysv/linux/bind.S: Likewise.
6180 * sysdeps/unix/sysv/linux/connect.S: Likewise.
6181 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6182 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6183 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6184 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6185 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6186 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6187 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6188 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6189 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6190 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6191 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6192 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6193 * sysdeps/unix/sysv/linux/listen.S: Likewise.
6194 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6195 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6196 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6197 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6200 * sysdeps/unix/sysv/linux/recv.S: Likewise.
6201 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6202 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6203 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6204 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6205 * sysdeps/unix/sysv/linux/send.S: Likewise.
6206 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6207 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6208 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6209 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6210 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6211 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6212 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6213 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6214 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6215 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6216 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6217 socketcall is implemented in GLIBC.
6219 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6221 * soft-fp/fmadf4.c: Include <libc-internal.h>.
6222 (__fma): Ignore uninitialized warnings around packing.
6223 * soft-fp/fmasf4.c: Include <libc-internal.h>.
6224 (__fmaf): Ignore uninitialized warnings around packing.
6225 * soft-fp/fmatf4.c: Include <libc-internal.h>.
6226 (__fmal): Ignore uninitialized warnings around packing.
6228 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6229 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6230 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6231 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6233 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6234 switch statement into default case.
6235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6237 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6238 a conditional in forcing "inexact".
6239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6242 2015-05-22 Roland McGrath <roland@hack.frob.com>
6244 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6245 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6246 for each INTERNAL_SYSCALL use.
6248 2015-05-22 Joseph Myers <joseph@codesourcery.com>
6251 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6252 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6256 * string/basename.c (basename): Rename to __basename and define as
6257 weak alias of __basename. Use libc_hidden_weak.
6258 * include/string.h (__basename): Declare. Use libc_hidden_proto.
6259 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6260 __basename instead of basename.
6261 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6263 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6265 2015-05-18 Florian Weimer <fweimer@redhat.com>
6267 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6268 (_IO_JUMPS_FILE_plus): New.
6269 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6270 _IO_CAST_FIELD_ACCESS.
6271 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6272 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6273 * libio/freopen.c (freopen): Likewise.
6274 * libio/freopen64.c (freopen64): Likewise.
6275 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6276 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6277 * libio/iofwide.c (_IO_fwide): Likewise.
6278 * libio/memstream.c (open_memstream): Likewise.
6279 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6280 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6281 * libio/oldiopopen.c (_IO_old_popen): Likewise.
6283 2015-05-21 Joseph Myers <joseph@codesourcery.com>
6285 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6286 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6288 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6289 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6291 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6292 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6295 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6298 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6299 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6301 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6302 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6303 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6305 2015-05-21 Florian Weimer <fweimer@redhat.com>
6307 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6308 Adjust jump table label generation macros.
6310 2015-05-21 Florian Weimer <fweimer@redhat.com>
6312 * stdio-common/vfprintf.c (vfprintf): Move local variables
6313 args_malloced, specs, specs_malloced, and the code after
6314 do_positional to the printf_positional function.
6315 (printf_positional): New function.
6317 2015-05-21 Florian Weimer <fweimer@redhat.com>
6319 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6321 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6322 STEP4_TABLE, process_arg): Move macro definitions
6323 out of the vfprintf function. (Cosmetic change only.)
6325 2015-05-21 Carlos O'Donell <carlos@redhat.com>
6327 * benchtests/Makefile (stdio-common-bench): Define.
6328 (benchset): Add stdio-common-bench.
6329 * sprintf-inputs: New file.
6330 * sprintf-source.c: New file.
6332 2015-05-21 Andreas Schwab <schwab@suse.de>
6336 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6337 of struct __res_state.
6338 * resolv/res_send.c (__libc_res_nsend): Likewise.
6339 (get_nsaddr): New function.
6340 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6343 2015-05-20 Joseph Myers <joseph@codesourcery.com>
6345 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6346 -D_POSIX_C_SOURCE=199506L.
6348 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6350 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6351 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6352 Do not mention otherwise.
6353 [POSIX] (_XOPEN_VERSION): Do not expect.
6354 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6355 [POSIX] (_POSIX2_C_BIND): Likewise.
6356 [POSIX] (_POSIX2_VERSION): Likewise.
6357 [POSIX] (_XOPEN_XPG2): Likewise.
6358 [POSIX] (_XOPEN_XPG3): Likewise.
6359 [POSIX] (_XOPEN_XPG4): Likewise.
6360 [POSIX] (_XOPEN_UNIX): Likewise.
6361 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6362 [POSIX] (_POSIX_BARRIERS): Likewise.
6363 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6364 [POSIX] (_POSIX_CPUTIME): Likewise.
6365 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6366 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6367 [POSIX] (_POSIX_SHELL): Likewise.
6368 [POSIX] (_POSIX_SPAWN): Likewise.
6369 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6370 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6371 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6372 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6373 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6374 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6375 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6376 [POSIX] (_XBS5_LP64_OFF64): Likewise.
6377 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6378 [POSIX] (_POSIX_TIMEOUTS): Likewise.
6379 [POSIX] (_POSIX2_PBS): Likewise.
6380 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6381 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6382 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6383 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6384 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6385 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6386 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6387 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6388 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6389 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6390 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6391 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6392 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6393 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6394 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6395 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6396 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6397 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6398 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6399 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6400 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6401 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6402 [POSIX] (_SC_2_C_BIND): Likewise.
6403 [POSIX] (_SC_2_C_VERSION): Likewise.
6404 [POSIX] (_SC_2_PBS): Likewise.
6405 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6406 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6407 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6408 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6409 [POSIX] (_SC_2_PBS_TRACK): Likewise.
6410 [POSIX] (_SC_ATEXIT_MAX): Likewise.
6411 [POSIX] (_SC_BARRIERS): Likewise.
6412 [POSIX] (_SC_BASE): Likewise.
6413 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6414 [POSIX] (_SC_DEVICE_IO): Likewise.
6415 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6416 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6417 [POSIX] (_SC_FD_MGMT): Likewise.
6418 [POSIX] (_SC_FIFO): Likewise.
6419 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6420 [POSIX] (_SC_FILE_LOCKING): Likewise.
6421 [POSIX] (_SC_FILE_SYSTEM): Likewise.
6422 [POSIX] (_SC_IOV_MAX): Likewise.
6423 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6424 [POSIX] (_SC_NETWORKING): Likewise.
6425 [POSIX] (_SC_PAGE_SIZE): Likewise.
6426 [POSIX] (_SC_PASS_MAX): Likewise.
6427 [POSIX] (_SC_PIPE): Likewise.
6428 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6429 [POSIX] (_SC_REGEXP): Likewise.
6430 [POSIX] (_SC_SHELL): Likewise.
6431 [POSIX] (_SC_SIGNALS): Likewise.
6432 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6433 [POSIX] (_SC_SPIN_LOCKS): Likewise.
6434 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6435 [POSIX] (_SC_USER_GROUPS): Likewise.
6436 [POSIX] (_SC_USER_GROUPS_R): Likewise.
6437 [POSIX] (_SC_STREAMS): Likewise.
6438 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6439 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6440 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6441 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6442 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6443 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6444 [POSIX] (_PC_FILESIZEBITS): Likewise.
6445 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6446 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6447 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6448 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6449 [POSIX] (uid_t): Likewise.
6450 [POSIX] (gid_t): Likewise.
6451 [POSIX] (off_t): Likewise.
6452 [POSIX] (pid_t): Likewise.
6453 [POSIX] (cuserid): Allow.
6454 (_SC_2_CHAR_TERM): Require constant.
6455 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6456 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6459 2015-05-20 Roland McGrath <roland@hack.frob.com>
6461 * sysdeps/nacl/pthread-pids.h: New file.
6462 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6463 (create_thread): Use __nacl_get_tid to initialize PD->tid.
6465 * nptl/pthread-pids.h: New file.
6466 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6467 * nptl/nptl-init.c: Include <pthread-pids.h>.
6468 (__pthread_initialize_minimal_internal):
6469 Call __pthread_initialize_pids instead of set_tid_address syscall.
6471 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6472 * sysdeps/posix/usleep.c: ... here.
6474 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6476 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6477 call_pselect6 object.
6478 [$(subdir) = io]: Remove call_sync_file_range object.
6479 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6480 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6481 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6482 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6484 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
6486 * math/s_cproj.c: Add include "math_private.h".
6487 * math/s_cprojf.c: Likewise.
6488 * math/s_cprojl.c: Likewise.
6490 2015-05-19 Joseph Myers <joseph@codesourcery.com>
6493 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6494 high mantissa bit when testing whether P is a NaN.
6495 * math/libm-test.inc (remainder_test_data): Add more tests.
6496 (remquo_test_data): Likewise.
6499 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6500 below -32, return the argument, with underflow if subnormal.
6501 * math/auto-libm-test-in: Add more tests of atanh.
6502 * math/auto-libm-test-out: Regenerated.
6504 2015-05-19 Roland McGrath <roland@hack.frob.com>
6507 * nptl/tst-sem15.c: New file.
6508 * nptl/Makefile (tests): Add it.
6509 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6510 s/<</>>/ to fix typo in EOVERFLOW check.
6511 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6513 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6515 * manual/strings.texi (envz_remove): Fix typo in safety
6518 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
6519 Steve Ellcey <sellcey@imgtec.com>
6521 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6522 in order to avoid strict alias warnings.
6523 (iruserok_af): Ditto for ra.
6525 2015-05-19 James Lemke <jwlemke@codesourcery.com>
6529 (magicbyte): Convert to a function and avoid returning 0x01.
6530 (mem2mem_check): Avoid using a length byte equal to the magic byte.
6531 (mem2chunk_check): Fix unsigned comparisons to zero.
6532 Hoist defs of sz and magic.
6534 2015-05-19 Richard Henderson <rth@redhat.com>
6536 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6538 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6540 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6543 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6544 * malloc/arena.c (arena_lock): Check if arena is corrupt.
6545 (reused_arena): Find a non-corrupt arena.
6546 (heap_trim): Pass arena to unlink.
6547 * malloc/hooks.c (malloc_check_get_size): Pass arena to
6549 (top_check): Likewise.
6550 (free_check): Likewise.
6551 (realloc_check): Likewise.
6552 * malloc/malloc.c (malloc_printerr): Add arena argument.
6554 (munmap_chunk): Adjust.
6555 (ARENA_CORRUPTION_BIT): New macro.
6556 (arena_is_corrupt): Likewise.
6557 (set_arena_corrupt): Likewise.
6558 (sysmalloc): Use mmap if there are no usable arenas.
6559 (_int_malloc): Likewise.
6560 (__libc_malloc): Don't fail if arena_get returns NULL.
6561 (_mid_memalign): Likewise.
6562 (__libc_calloc): Likewise.
6563 (__libc_realloc): Adjust for additional argument to
6565 (_int_free): Likewise.
6566 (malloc_consolidate): Likewise.
6567 (_int_realloc): Likewise.
6568 (_int_memalign): Don't touch corrupt arenas.
6569 * malloc/tst-malloc-backtrace.c: New test case.
6571 * Makefile (summarize-tests): Fix return value on success.
6573 * manual/string.texi (Envz Functions): Add envz_remove.
6575 2015-05-18 Roland McGrath <roland@hack.frob.com>
6577 * sysdeps/posix/opendir.c: Include <stdbool.h>.
6578 (invalid_name): New function, broken out of ...
6579 (__opendirat): ... here. Call it.
6580 (need_isdir_precheck): New function, broken out of ...
6581 (__opendirat): ... here. Call it.
6582 Use __fxstatat64, not __xstatat64.
6583 (opendir_oflags): New function, broken out of ...
6584 (__opendirat): ... here. Call it.
6585 (opendir_tail): New function, broken out of ...
6586 (__opendirat): ... here. Call it.
6587 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6588 opendir_tail, rather than punting to __opendirat.
6589 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6591 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6593 * .gitignore: Ignore generated *.pyc.
6595 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
6597 * include/stdio.h: Define __need_wint_t.
6598 * test-skeleton.c: Avoid `for' loop initial declaration.
6599 * nptl/tst-initializers1.c: Use test-skeleton.c.
6601 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6604 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6606 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6609 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6610 (__ieee754_atanh): Force underflow exception for results with
6611 small absolute value.
6612 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6613 (__ieee754_atanhf): Force underflow exception for results with
6614 small absolute value.
6615 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6616 (__ieee754_atanh): Force underflow exception for results with
6617 small absolute value.
6618 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6619 (__ieee754_atanhf): Force underflow exception for results with
6620 small absolute value.
6621 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6622 (__ieee754_atanhl): Force underflow exception for results with
6623 small absolute value.
6624 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6625 (__ieee754_atanhl): Force underflow exception for results with
6626 small absolute value.
6627 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6628 (__ieee754_atanhl): Force underflow exception for results with
6629 small absolute value.
6630 * math/auto-libm-test-in: Do not allow missing underflow
6631 exceptions from atanh.
6632 * math/auto-libm-test-out: Regenerated.
6635 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6636 2**-28 as threshold for returning x or +/- 1/x.
6637 * math/auto-libm-test-in: Add more tests of tan.
6638 * math/auto-libm-test-out: Regenerated.
6641 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6642 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6643 * math/auto-libm-test-in: Add another test of lgamma.
6644 * math/auto-libm-test-out: Regenerated.
6646 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
6648 * stdio-common/printf_fp.c (___printf_fp): Use abs.
6649 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
6650 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6651 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6652 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
6653 (ADD2A): Use fabs. (SUB2A): Use fabs.
6654 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6655 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6656 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6657 (log1): Use fabs. (my_log2): Use fabs.
6658 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6659 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6660 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6661 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6663 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
6664 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
6665 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
6666 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
6667 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6668 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6670 2015-05-15 Joseph Myers <joseph@codesourcery.com>
6673 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6674 as threshold for returning 1 - x.
6675 * math/auto-libm-test-in: Add more tests of erfc.
6676 * math/auto-libm-test-out: Regenerated.
6678 2015-05-14 Joseph Myers <joseph@codesourcery.com>
6681 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6682 threshold for large arguments.
6683 * math/auto-libm-test-in: Add another test of atan.
6684 * math/auto-libm-test-out: Regenerated.
6687 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6688 (__log1p): Force underflow exception for results with small
6690 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6691 (__log1pf): Force underflow exception for results with small
6693 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6694 (__log1p): Force underflow exception for results with small
6696 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6697 (__log1pf): Force underflow exception for results with small
6699 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6700 (__log1pl): Force underflow exception for results with small
6702 * math/auto-libm-test-in: Do not allow missing underflow
6703 exceptions from log1p.
6704 * math/auto-libm-test-out: Regenerated.
6706 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
6707 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6710 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6712 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
6714 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6715 (libmvec): New variable.
6716 * configure.ac: Added option for mathvec build.
6717 * configure: Regenerated.
6718 * mathvec/Depend: New file.
6719 * mathvec/Makefile: New file.
6720 * shlib-versions: Added libmvec.
6721 * math/Makefile: Added rule for libm.so installation.
6723 * bits/math-vector.h: New file.
6724 * bits/libm-simd-decl-stubs.h: New header.
6725 * math/Makefile (headers): Added new header
6726 libm-simd-decl-stubs.h.
6727 * math/math.h (__MATHCALL_VEC): New macro.
6729 * math/gen-libm-have-vector-test.sh: Script generates series of macros
6730 for conditions in testing functions.
6731 * math/Makefile: Added call of libm-have-vector-test.sh.
6732 * math/libm-test.inc (HAVE_VECTOR): New macros.
6734 * math/libm-test.inc: START refactored.
6735 * math/test-double.c (TEST_MATHVEC): Add define.
6736 * math/test-float.c: Likewise.
6737 * math/test-idouble.c: Likewise.
6738 * math/test-ifloat.c: Likewise.
6739 * math/test-ildoubl.c: Likewise.
6740 * math/test-ldouble.c: Likewise.
6741 * sysdeps/generic/math-tests-arch.h
6742 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6745 * math/test-double.c (FUNC_TEST): New macro.
6746 * math/test-float.c: Likewise.
6747 * math/test-idouble.c: Likewise.
6748 * math/test-ifloat.c: Likewise.
6749 * math/test-ildoubl.c: Likewise.
6750 * math/test-ldouble.c: Likewise.
6751 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6753 2015-05-13 Roland McGrath <roland@hack.frob.com>
6755 * sysdeps/nacl/fdopendir.c: New file.
6757 * dirent/scandir-tail.c: New file.
6758 * dirent/scandir64-tail.c: New file.
6759 * dirent/Makefile (routines): Add them.
6760 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6761 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6762 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6763 [!SCANDIR] (SCANDIR_TAIL): New macro.
6764 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6765 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6766 (SCANDIRAT): Macro removed.
6767 (SCANDIR_TAIL): New macro.
6768 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6769 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6770 (SCANDIRAT): Just call __opendirat and __scandir_tail.
6771 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6772 (READDIR): Macro removed.
6773 (SCANDIR_TAIL): New macro.
6774 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6775 (SCANDIR_TAIL): New macro.
6777 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6778 * dirent/scandir-cancel.c: ... to this new file.
6779 * dirent/Makefile (routines): Add it.
6780 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6781 * sysdeps/unix/sysv/linux/i386/scandir64.c
6782 (SKIP_SCANDIR_CANCEL): Macro removed.
6783 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6785 * dirent/tst-scandir.c: New file.
6786 * dirent/tst-scandir64.c: New file.
6787 * dirent/Makefile (tests): Add them.
6789 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
6792 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6794 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
6796 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6799 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
6801 * benchtests/bench-strcoll.c: New benchmark.
6802 * benchtests/Makefile: Generate locales and run benchmark.
6803 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6804 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6805 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6806 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6807 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6808 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6809 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6810 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6811 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6812 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6813 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6814 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6815 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6816 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6817 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6818 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6819 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6820 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6821 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6822 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6823 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6824 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6825 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6826 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6828 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
6830 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6831 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6833 2015-05-12 Roland McGrath <roland@hack.frob.com>
6835 * posix/uname-values.h: New file.
6836 * posix/uname.c: Include that instead of <config-name.h>.
6837 * sysdeps/nacl/uname-values.h: New file.
6838 * sysdeps/arm/nacl/uname-values.h: New file.
6840 2015-05-12 Joseph Myers <joseph@codesourcery.com>
6842 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6843 splitting into fields.
6845 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
6847 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6848 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6849 * locale/localeinfo.h: Add enum collation_encoding_type.
6850 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6851 * programs/ld-collate.c (collate_output): Add encoding type info.
6852 * string/strcoll_l.c (STRDIFF): New function.
6853 * (STRCOLL): Use STRDIFF to skip over equal prefix.
6854 * wcsmbs/wcscoll_l.c: Define STRDIFF.
6856 2015-05-11 Joseph Myers <joseph@codesourcery.com>
6859 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6860 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
6861 <fpu_control.h> instead of <math/fpu_control.c>.
6862 * sysdeps/mips/mips32/fpu/Makefile: New file.
6864 2015-05-11 Andreas Schwab <schwab@suse.de>
6867 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6869 (_nss_compat_endgrent): Call nss_endgrent.
6870 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6872 (_nss_compat_endpwent): Call nss_endpwent.
6873 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6874 needent, call nss_setspent only if non-zero.
6875 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6876 (internal_endspent): Don't call nss_endspent.
6877 (_nss_compat_endspent): Call nss_endspent.
6878 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6879 Remove. All uses removed.
6880 (internal_setent): Remove parameter stayopen, add parameter
6881 stream. Use it instead of global variable.
6882 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6883 (internal_endent, internal_getent): Add parameter stream. Use it
6884 instead of global variable.
6885 (CONCAT(_nss_files_end,ENTNAME))
6886 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6887 (_nss_files_get##name##_r): Pass local stream. Remove locking.
6888 * nss/nss_files/files-alias.c (position, last_use): Remove. All
6890 (internal_setent, internal_endent): Add parameter stream. Use it
6891 instead of global variable.
6892 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6894 (get_next_alias): Add parameter stream.
6895 (_nss_files_getaliasent_r): Pass global stream.
6896 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
6897 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6898 (_nss_files_gethostbyname4_r): Pass local stream to
6899 internal_setent, internal_getent and internal_endent. Remove
6902 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6904 * tst-strfmon1.c (tests): Update expected currency symbol.
6906 2015-05-08 Roland McGrath <roland@hack.frob.com>
6908 * sysdeps/nacl/gethostname.c: New file.
6910 2015-05-08 Joseph Myers <joseph@codesourcery.com>
6912 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6914 * math/auto-libm-test-out: Regenerated.
6915 * sysdeps/i386/fpu/libm-test-ulps: Update.
6916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6918 2015-05-08 Carlos O'Donell <carlos@redhat.com>
6921 * stdlib/tst-setcontext3.c: New file.
6922 * stdlib/tst-setcontext3.sh: New file.
6923 * stdlib/Makefile (tests): Add tst-setcontext3.
6924 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6925 to verify test program created output file.
6926 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6927 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6928 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6929 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6931 2015-05-06 Roland McGrath <roland@hack.frob.com>
6934 * elf/tst-tlsalign.c: New file.
6935 * elf/tst-tlsalign-static.c: New file.
6936 * elf/tst-tlsalign-lib.c: New file.
6937 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6938 (tests-static): Add tst-tlsalign-static.
6939 (modules-names): Add tst-tlsalign-lib.
6940 (test-xfail-tst-tlsalign): New variable.
6941 (test-xfail-tst-tlsalign-static): New variable.
6943 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6944 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6946 2015-05-06 Joseph Myers <joseph@codesourcery.com>
6948 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6949 csqrt, erfc, sin and sincos.
6950 * math/auto-libm-test-out: Regenerated.
6951 * sysdeps/i386/fpu/libm-test-ulps: Update.
6952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6954 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
6956 * sysdeps/aarch64/libm-test-ulps: Update.
6958 2015-05-05 Joseph Myers <joseph@codesourcery.com>
6960 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6961 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6962 * math/auto-libm-test-out: Regenerated.
6963 * sysdeps/i386/fpu/libm-test-ulps: Update.
6964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6966 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
6969 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6970 (wcsncpy): Likewise.
6972 2015-05-05 Florian Weimer <fweimer@redhat.com>
6974 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6975 Assume __ASSUME_FALLOCATE is always true.
6976 * sysdeps/unix/sysv/linux/posix_fallocate64.c
6977 (__posix_fallocate64_l64): Likweise.
6978 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6979 (posix_fallocate): Likewise.
6980 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6981 (__posix_fallocate64_l64): Likewise.
6982 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6983 [!__ASSUME_FALLOCATE]: Add comment.
6985 2015-05-05 Florian Weimer <fweimer@redhat.com>
6987 * sysdeps/unix/sysv/linux/i386/Makefile
6988 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6989 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6990 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6991 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6992 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6993 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6994 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6996 2015-05-02 Joseph Myers <joseph@codesourcery.com>
6998 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6999 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7001 * math/auto-libm-test-out: Regenerated.
7002 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7005 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7007 * math/auto-libm-test-in: Add more tests of tgamma.
7008 * math/auto-libm-test-out: Regenerated.
7009 * sysdeps/i386/fpu/libm-test-ulps: Update.
7010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7012 * math/auto-libm-test-in: Add more tests of tanh.
7013 * math/auto-libm-test-out: Regenerated.
7014 * sysdeps/i386/fpu/libm-test-ulps: Update.
7015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7017 * math/auto-libm-test-in: Add more tests of tan.
7018 * math/auto-libm-test-out: Regenerated.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7022 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7023 * math/auto-libm-test-out: Regenerated.
7024 * sysdeps/i386/fpu/libm-test-ulps: Update.
7025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7027 * math/auto-libm-test-in: Add another test of pow.
7028 * math/auto-libm-test-out: Regenerated.
7029 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7031 * math/auto-libm-test-in: Add more tests of lgamma.
7032 * math/auto-libm-test-out: Regenerated.
7033 * sysdeps/i386/fpu/libm-test-ulps: Update.
7034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7036 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7038 * math/auto-libm-test-out: Regenerated.
7039 * sysdeps/i386/fpu/libm-test-ulps: Update.
7040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7042 2015-05-01 Mark Wielaard <mjw@redhat.com>
7044 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7045 Elf64_Chdr structs and ELFCOMPRESS constants.
7047 2015-05-01 Joseph Myers <joseph@codesourcery.com>
7049 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7051 * math/auto-libm-test-out: Regenerated.
7052 * sysdeps/i386/fpu/libm-test-ulps: Update.
7053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7055 * math/auto-libm-test-in: Add more tests of erf and erfc.
7056 * math/auto-libm-test-out: Regenerated.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7060 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
7062 * config.h.in (HAVE_AARCH64_BE): Add.
7064 2015-04-30 Joseph Myers <joseph@codesourcery.com>
7066 * math/auto-libm-test-in: Add more tests of csqrt.
7067 * math/auto-libm-test-out: Regenerated.
7068 * sysdeps/i386/fpu/libm-test-ulps: Update.
7069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7071 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7072 * math/auto-libm-test-out: Regenerated.
7073 * sysdeps/i386/fpu/libm-test-ulps: Update.
7074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7076 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7078 2015-04-29 Roland McGrath <roland@hack.frob.com>
7080 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7081 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7083 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7084 (euidaccess, eaccess): Define as weak aliases.
7086 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7087 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
7088 but __suseconds_t is often 'long int' so some sources assume that
7089 type is being used (e.g. they use %ld to print tv_usec).
7091 2015-04-29 Florian Weimer <fweimer@redhat.com>
7094 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7096 * nss/tst-nss-getpwent.c: New file.
7097 * nss/Makefile (tests): Add new test.
7099 2015-04-28 Joseph Myers <joseph@codesourcery.com>
7102 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7103 exponents less than 48 as cases where high part of mantissa needs
7104 examining to determine whether argument is integral.
7105 * math/libm-test.inc (round_test_data): Add more tests.
7107 2015-04-28 Mark Wielaard <mjw@redhat.com>
7109 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7111 2015-04-27 David S. Miller <davem@davemloft.net>
7113 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7115 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7117 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
7120 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7122 2015-04-27 Florian Weimer <fweimer@redhat.com>
7125 * time/tzset.c (parse_tzname): Return error on memory allocation
7127 * test-skeleton.c (struct temp_name_list): Change type of name
7128 member to non-const.
7129 (add_temp_file): Create a copy of the file name.
7130 (delete_temp_files): Deallocate memory.
7131 (create_temp_file): Add comment.
7133 2015-04-24 Florian Weimer <fweimer@redhat.com>
7135 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7136 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7138 2015-04-24 Roland McGrath <roland@hack.frob.com>
7140 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7141 * sysdeps/arm/configure: Regenerated.
7143 2015-04-24 Florian Weimer <fweimer@redhat.com>
7146 * time/tzfile.c (__tzfile_read): Check for large values of
7147 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
7148 * time/tzset.c (__tzstring_len): New function, based on the old
7149 __tzstring function.
7150 (__tzstring): Call __tzstring_len.
7151 (parse_tzname): New helper function extracted from
7152 __tzset_parse_tz. Call __tzstring_len, without making a copy of
7154 (parse_offset): New helper function extracted from
7155 __tzset_parse_tz. Replace switch with fallthrough with
7156 initialization before sscanf.
7157 (parse_rule): Likewise.
7158 (__tzset_parse_tz): Rewrite using the new helper functions. Use
7159 new-style function definition.
7160 * timezone/Makefile (tests): Add tst-tzset.
7161 (tst-tzset.out): Dependencies on time zone files.
7162 (tst-tzset-ENV): Set TZDIR.
7163 (testdata/XT%): Copy crafted time zone files.
7164 * timezone/README: Mention crafted time zone files.
7165 * timezone/testdata/XT1, timezone/testdata/XT2,
7166 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7168 * timezone/tst-tzset.c: New test.
7170 2015-04-24 Florian Weimer <fweimer@redhat.com>
7172 * Makeconfig (+gccwarn): Remove -Winline.
7174 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7176 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7178 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7180 * NEWS: Mention sysconf() cache information support for s390.
7181 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7183 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
7185 * math/k_casinh.c (__kernel_casinh): Use __copysign.
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7187 (__nearbyint): Likewise.
7188 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7189 (copysignl): Likewise.
7191 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
7194 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7195 based on padding. (CVE-2015-1781)
7197 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7199 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7201 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7202 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7203 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7204 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7205 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7206 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7207 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7208 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7209 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7210 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7211 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7212 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7213 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7214 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7215 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7216 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7217 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7218 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7219 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7220 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7221 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7222 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7223 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7225 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
7227 * stdlib/setenv.c (__add_to_environ):
7228 Dump core quickly if setenv (..., NULL, ...) is called.
7229 This time, do it the right way, and pacify GCC with a pragma.
7231 2015-04-17 Roland McGrath <roland@hack.frob.com>
7233 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7234 IMAP->l_prev cannot be null, and #if out the code for the contrary
7235 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7236 believe that NS (&_dl_ns[NSID]) could point outside the array.
7238 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7239 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7240 before using NSID as an index.
7242 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
7245 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7246 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7247 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7249 2015-04-17 Roland McGrath <roland@hack.frob.com>
7251 Add preliminary port to Google Native Client on ARM.
7252 * abi-tags (.*-.*-nacl.*): New entry.
7253 * sysdeps/arm/nacl: New directory.
7254 * sysdeps/nacl: New directory.
7256 2015-04-16 David S. Miller <davem@davemloft.net>
7258 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7259 lowlevellock-futex.h
7261 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
7263 * sysdeps/tile/configure.ac: New file.
7264 * sysdeps/tile/configure: Regenerated.
7266 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7268 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
7269 conditionals for weak_alias and libc_hidden_weak.
7270 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7271 libc_hidden_weak and weak_alias.
7272 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7273 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7274 and weak_alias for static one.
7276 2015-04-15 David S. Miller <davem@davemloft.net>
7278 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7280 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7283 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7284 Use signed comparision instead of substraction to avoid
7286 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7287 Take the sign of ret.
7288 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7289 Do not expect precise return values. Only the sign matters.
7290 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7291 * wcsmbs/test-wcsncmp.c: New File.
7292 * string/test-strncmp.c: Add wcsncmp support.
7294 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7297 * math/w_log1p.c: New file.
7298 * math/w_log1pf.c: Likewise.
7299 * math/w_log1pl.c: Likewise.
7300 * math/Makefile (libm-calls): Add w_log1p.
7301 * math/s_log1pl.c (log1pl): Remove weak_alias.
7302 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7303 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7304 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7305 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7306 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7307 [NO_LONG_DOUBLE] (log1pl): Likewise.
7308 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7309 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7310 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7311 (log1p): Remove long_double_symbol.
7312 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7313 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7314 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7315 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7316 remove weak_alias for corresponding log1p function.
7317 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7318 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7319 * sysdeps/ia64/fpu/w_log1p.c: New file.
7320 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7321 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7322 * math/libm-test.inc (log1p_test_data): Add errno expectations.
7324 2015-04-10 Joseph Myers <joseph@codesourcery.com>
7327 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7328 decimal exponent by 1.
7329 * stdlib/tst-strtod-round-data: Add more tests.
7330 * stdlib/tst-strtod-round.c (tests): Regenerated.
7332 2015-04-09 Joseph Myers <joseph@codesourcery.com>
7334 * math/auto-libm-test-in: Add more tests of clog and clog10.
7335 * math/auto-libm-test-out: Regenerated.
7336 * sysdeps/i386/fpu/libm-test-ulps: Update.
7337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339 2015-04-09 Roland McGrath <roland@hack.frob.com>
7341 * Makeconfig (module-cppflags): Exclude all .v.i files.
7342 (skip-module-cppflags): Variable removed.
7344 * configure.ac (libc_config_ok): Initialize before reading
7345 preconfigure scripts, not after.
7346 * configure: Regenerated.
7348 * test-skeleton.c (TIMEOUT): Move #define to top level.
7349 (main): Grok environment variable TEST_DIRECT. If set, print
7350 test expectation details into that file and then behave as if
7353 2015-04-09 Florian Weimer <fweimer@redhat.com>
7355 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7358 2015-04-08 David S. Miller <davem@davemloft.net>
7360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7362 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7364 * math/auto-libm-test-in: Add more tests of atanh.
7365 * math/auto-libm-test-out: Regenerated.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7369 * math/auto-libm-test-in: Add more tests of atan.
7370 * math/auto-libm-test-out: Regenerated.
7371 * sysdeps/i386/fpu/libm-test-ulps: Update.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7374 2015-04-08 Florian Weimer <fweimer@redhat.com>
7376 * elf/pldd.c (main): Rewrite to use struct
7377 scratch_buffer instead of extend_alloca.
7378 * elf/pldd-xx.c (find_maps): Likewise.
7379 * grp/initgroups.c: Include <scratch_buffer.h> instead of
7381 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7382 scratch_buffer instead of extend_alloca.
7383 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7384 grp/compat-initgroups.c.
7385 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7386 Rewrite to use struct scratch_buffer instead of extend_alloca.
7387 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7388 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7390 2015-04-08 Joseph Myers <joseph@codesourcery.com>
7392 * math/auto-libm-test-in: Add more tests of cbrt.
7393 * math/auto-libm-test-out: Regenerated.
7394 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7396 * math/auto-libm-test-in: Add more tests of cabs.
7397 * math/auto-libm-test-out: Regenerated.
7398 * sysdeps/i386/fpu/libm-test-ulps: Update.
7399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7403 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7404 (__ieee754_atan2): Set FE_TONEAREST mode for internal
7406 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7408 * math/auto-libm-test-out: Regenerated.
7409 * sysdeps/i386/fpu/libm-test-ulps: Update.
7410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7413 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7414 (atan): Set FE_TONEAREST mode for internal computations.
7415 * math/auto-libm-test-in: Add more tests of atan.
7416 * math/auto-libm-test-out: Regenerated.
7418 2015-04-07 James Cowgill <james410@cowgill.org.uk>
7421 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7423 2015-04-07 Florian Weimer <fweimer@redhat.com>
7425 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7427 2015-04-07 Florian Weimer <fweimer@redhat.com>
7429 * include/scratch_buffer.h: New file.
7430 * malloc/scratch_buffer_grow.c: Likewise.
7431 * malloc/scratch_buffer_grow_preserve.c: Likewise.
7432 * malloc/scratch_buffer_set_array_size.c: Likewise.
7433 * malloc/tst-scratch_buffer.c: Likewise.
7434 * malloc/Makefile (routines): Add scratch_buffer_grow.
7435 (tests): Add test case.
7436 * malloc/Versions (GLIBC_PRIVATE): Export
7437 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7438 __libc_scratch_buffer_set_array_size.
7440 2015-04-06 Richard Henderson <rth@redhat.com>
7442 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7443 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7445 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7446 unsigned int before printing.
7448 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7451 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7452 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7454 2015-04-02 Florian Weimer <fweimer@redhat.com>
7456 * include/libc-internal.h (libc_max_align_t): Define.
7458 2015-04-02 Andreas Schwab <schwab@suse.de>
7461 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7463 2015-04-02 Mel Gorman <mgorman@suse.de>
7466 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7467 as well as the main arena.
7469 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7472 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7473 sharing L2 cache to 2 for Silvermont/Knights Landing.
7475 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7478 * config.make.in (have-protected-data): New.
7479 * configure.ac: Check linker support for protected data symbol.
7480 * configure: Regenerated.
7481 * elf/Makefile (modules-names): Add tst-protected1moda and
7482 tst-protected1modb if $(have-protected-data) is yes.
7483 (tests): Add tst-protected1a and tst-protected1b if
7484 $(have-protected-data) is yes.
7485 ($(objpfx)tst-protected1a): New.
7486 ($(objpfx)tst-protected1b): Likewise.
7487 (tst-protected1modb.so-no-z-defs): Likewise.
7488 * elf/tst-protected1a.c: New file.
7489 * elf/tst-protected1b.c: Likewise.
7490 * elf/tst-protected1mod.h: Likewise.
7491 * elf/tst-protected1moda.c: Likewise.
7492 * elf/tst-protected1modb.c: Likewise.
7494 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
7497 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7498 indicates it is called from do_lookup_x on relocation against
7499 protected data, skip the data definion in the executable from
7501 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7502 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7503 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7504 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7505 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7507 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7508 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7509 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7510 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7511 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7512 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7514 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
7516 * sysdeps/nptl/pthread.h: Remove duplicate definition of
7517 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7519 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
7521 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7523 * sysdeps/x86_64/nptl/tls.h: Ditto.
7525 2015-03-27 Roland McGrath <roland@hack.frob.com>
7527 * dlfcn/tststatic.c (main): Converted to ...
7528 (do_test): ... this.
7529 (TEST_FUNCTION): New macro.
7530 Include test-skeleton.c.
7532 2015-03-26 Alan Modra <amodra@gmail.com>
7534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7535 Don't segfault if ifunc resolver returns a NULL. Do set plt to
7536 zero for undefined weak.
7537 (elf_machine_plt_conflict): Similarly.
7539 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7541 * math/auto-libm-test-in: Add more tests of acosh, asinh and
7543 * math/auto-libm-test-out: Regenerated.
7544 * sysdeps/i386/fpu/libm-test-ulps: Update.
7545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7547 * math/auto-libm-test-in: Add another test of asin.
7548 * math/auto-libm-test-out: Regenerated.
7549 * sysdeps/i386/fpu/libm-test-ulps: Update.
7550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7554 (LLL_EBX_REG): Likewise.
7555 (LLL_ENTER_KERNEL): Likewise.
7557 * math/auto-libm-test-in: Add more tests of asin.
7558 * math/auto-libm-test-out: Regenerated.
7559 * sysdeps/i386/fpu/libm-test-ulps: Update.
7560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7564 libc_do_syscall_args): New structure.
7565 (INTERNAL_SYSCALL_MAIN_0): New macro.
7566 (INTERNAL_SYSCALL_MAIN_1): Likewise.
7567 (INTERNAL_SYSCALL_MAIN_2): Likewise.
7568 (INTERNAL_SYSCALL_MAIN_3): Likewise.
7569 (INTERNAL_SYSCALL_MAIN_4): Likewise.
7570 (INTERNAL_SYSCALL_MAIN_5): Likewise.
7571 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
7572 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7573 Replace conditional definitions by conditional definitions of ....
7574 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
7575 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7576 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7577 (libpthread-sysdep_routines): Add libc-do-syscall.
7578 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7579 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7580 to __NR_futex not 240.
7582 2015-03-25 Alan Modra <amodra@gmail.com>
7584 * NEWS: Advertise TLS optimization.
7585 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7586 (DT_PPC_NUM): Increment.
7587 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7588 (CHECK_STATIC_TLS): Use here.
7589 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7591 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7592 * sysdeps/powerpc/dl-tls.c: New file.
7593 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7594 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7595 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7596 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7601 2015-03-25 Alan Modra <amodra@gmail.com>
7603 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7604 for overlapping .opd entries" to "support...".
7605 * sysdeps/powerpc/powerpc64/configure: Regenerate
7607 2015-03-25 Joseph Myers <joseph@codesourcery.com>
7609 * math/auto-libm-test-in: Add more tests of acos.
7610 * math/auto-libm-test-out: Regenerated.
7611 * sysdeps/i386/fpu/libm-test-ulps: Update.
7612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7614 * math/auto-libm-test-in: Add more tests of expm1.
7615 * math/auto-libm-test-out: Regenerated.
7616 * sysdeps/i386/fpu/libm-test-ulps: Update.
7617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7619 2015-03-24 Joseph Myers <joseph@codesourcery.com>
7621 * math/auto-libm-test-in: Add more tests of cosh and sinh.
7622 * math/auto-libm-test-out: Regenerated.
7623 * sysdeps/i386/fpu/libm-test-ulps: Update.
7624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7626 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7629 * math/auto-libm-test-in: Add more tests of log2.
7630 * math/auto-libm-test-out: Regenerated.
7631 * sysdeps/i386/fpu/libm-test-ulps: Update.
7632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7634 2015-03-23 Roland McGrath <roland@hack.frob.com>
7636 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7637 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
7638 _IO_IS_APPENDING bit in READ_WRITE instead.
7640 2015-03-23 Florian Weimer <fweimer@redhat.com>
7642 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7643 (__determine_cpumask_size): Replace extend_alloca with a
7644 variable-length array. Do not treat res == 0 as an error.
7646 2015-03-23 Florian Weimer <fweimer@redhat.com>
7649 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7650 and integer overflow.
7651 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7652 (main): Add integer overflow tests.
7653 * manual/pattern.texi (Calling Wordexp): Document additional use
7656 2015-03-23 Alan Modra <amodra@gmail.com>
7658 * config.h.in: Remove HAVE_ASM_PPC_REL16.
7659 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7660 and false branch of conditional.
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7664 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
7666 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7668 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7669 unused declaration of _hurd_intr_rpc_msg_in_trap.
7670 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7671 defined instead of whether it is non-zero.
7672 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7673 input constraint instead of both input and output constraint. Use ecx
7674 clobber instead of %ecx.
7675 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7676 mutex_unlock): Use a statement expression instead of an expression list.
7677 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7678 type to vm_size_t instead of vm_address_t.
7679 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7680 defined instead of whether it is non-zero.
7681 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7682 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7683 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7684 comparisons with mapaddr.
7685 * nscd/nscd-client.h: Include <time.h>.
7686 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7687 9th parameter to __vm_region instead of int.
7688 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7689 * scripts/check-local-headers.sh (exclude): Add device/,
7690 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7693 2015-03-19 Roland McGrath <roland@hack.frob.com>
7695 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7696 to account for alignment padding.
7697 * sysdeps/arm/memmove.S: Likewise.
7699 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
7701 * sysdeps/unix/sysv/linux/generic/README: New file.
7703 2015-03-18 Joseph Myers <joseph@codesourcery.com>
7706 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7707 (futex_abstimed_wait)
7708 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7709 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7710 of lll_futex_timed_wait.
7712 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
7715 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7717 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
7724 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7725 entries with Static TLS too. Skip entries past the end of the
7726 allocated DTV, from Alan Modra.
7727 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
7728 Static TLS DTV entry set up from...
7729 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7730 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7731 * nptl/allocatestack.c (init_one_static_tls): ... and here...
7732 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7734 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
7735 that the slot we find is associated with the given map before
7736 using its generation count.
7737 * nptl_db/db_info.c: Include ldsodefs.h.
7738 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7739 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7740 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7741 (link_map::l_tls_offset): New struct field.
7742 (dtv_t::counter): Likewise.
7743 (rtld_global): New struct.
7744 (_rtld_global): New rtld variable.
7745 (dl_tls_dtv_slotinfo_list): New rtld global field.
7746 (dtv_slotinfo_list): New struct.
7747 (dtv_slotinfo): Likewise.
7748 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7749 (td_lookup): Rename to...
7750 (td_mod_lookup): ... this. Use new mod parameter instead of
7752 * nptl_db/td_thr_tlsbase.c: Include link.h.
7753 (dtv_slotinfo_list, dtv_slotinfo): New functions.
7754 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
7755 addresses even if the DTV is out of date or missing them.
7756 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7757 index zero-length arrays.
7758 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7759 (td_lookup): Make it a macro implemented in terms of...
7760 (td_mod_lookup): ... this declaration.
7761 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7762 (DB_MAIN_VARIABLE): Likewise.
7764 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
7767 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7769 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
7771 * stdlib/setenv.c (__add_to_environ): Revert previous change.
7773 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
7776 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7777 (atomic_add, atomic_increment_and_test)
7778 (atomic_decrement_and_test): Fix 64-bit arithmetic.
7780 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
7782 * stdlib/setenv.c (__add_to_environ):
7783 Dump core quickly if setenv (..., NULL, ...) is called.
7785 2015-03-13 Roland McGrath <roland@hack.frob.com>
7787 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7788 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7789 all the necessary asm magic in one place.
7790 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7793 2015-03-13 Carlos O'Donell <carlos@redhat.com>
7796 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7797 traced file mtime. Use consistent log message.
7798 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7799 (register_traced_file): Call install_watches. Always set mtime.
7800 (invalidate_cache): Iterate over all trace files. Call install_watches.
7801 (inotify_check_files): Don't inline. Handle watching parent
7802 directories and configuration file movement in and out.
7803 (handle_inotify_events): New function.
7804 (main_loop_poll): Call handle_inotify_events.
7805 (main_loop_epoll): Likewise.
7806 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7807 (struct traced_file): Use array of inotify fds. Add parent directory,
7809 (struct database_dyn): Remove unused file_mtime.
7810 (init_traced_file): New inline function.
7811 (define_traced_file): New macro.
7812 * nss/nss_db/db-init.c: Use define_traced_file.
7813 (_nss_db_init): Use init_traced_file.
7814 * nss/nss_files/files-init.c: Use define_traced_file.
7815 (_nss_files_init): Use init_traced_file.
7817 2015-03-12 Joseph Myers <joseph@codesourcery.com>
7819 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7820 [_LIBC]: Do not include <stdlib.h>.
7821 [!_LIBC] (abort): Remove declaration.
7822 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7823 _FP_STATIC_ASSERT instead of conditionally calling abort.
7824 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7825 (_FP_EXTEND_CNAN): Likewise.
7826 (FP_TRUNC): Likewise.
7827 (__FP_CLZ): Likewise.
7828 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7830 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
7832 * manual/string.texi (XPG basename): Fix prototype.
7834 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7837 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7838 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7839 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7840 (__setcontext): Likewise.
7841 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7842 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7843 Call rt_sigprocmask syscall one time to set new signal mask
7844 and retrieve the current signal mask instead of two calls.
7845 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7846 (__swapcontext): Likewise.
7847 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7848 * stdlib/tst-setcontext2.c: New file.
7850 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
7852 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7854 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
7857 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7860 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
7863 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7865 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
7867 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7868 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7870 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7871 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7872 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7873 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7874 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7875 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7877 * nptl_db/td_symbol_list.c (td_lookup): Remove
7878 HAVE_ASM_GLOBAL_DOT_NAME code.
7879 * sysdeps/powerpc/powerpc64/configure.ac: Remove
7880 HAVE_ASM_GLOBAL_DOT_NAME check.
7881 * sysdeps/powerpc/powerpc64/configure: Regenerate.
7882 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7883 (DOT_LABEL): Remove define.
7884 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7885 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7886 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7887 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7888 (__TLS_GET_ADDR): Likewise.
7889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7890 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7892 2015-03-11 Carlos O'Donell <carlos@redhat.com>
7895 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7896 (_FPU_SETCW): Initialize cw from fpsr before storing.
7897 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7898 (fesetexceptflag): Rewrite using fpu_control.h.
7899 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7901 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
7904 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7906 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7908 2015-03-11 Joseph Myers <joseph@codesourcery.com>
7910 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7911 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7913 (_FP_FMA): Likewise.
7914 (_FP_DIV): Likewise.
7916 2015-03-10 Roland McGrath <roland@hack.frob.com>
7918 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7919 with 0 in that case.
7920 * Makefile (summarize-tests): New canned sequence, factored out of
7921 commands for targets tests and xtests. Display summary lines that
7922 don't start with PASS: or XFAIL: rather than ones that do start with
7923 ERROR: or FAIL:. Make the commands fail if any summary lines fail
7924 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7925 do start with ERROR: or FAIL:.
7926 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7927 (except for [$(build-shared) = yes]).
7928 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7929 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7930 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7931 * nptl/Makefile: Revert 2015-03-04 changes.
7932 [$(CXX) empty] (tests-unsupported): New variable.
7933 * debug/Makefile: Likewise.
7935 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7936 gnulib file. Replace __attribute with __attribute__ throughout.
7938 2015-03-10 Carlos O'Donell <carlos@redhat.com>
7940 * sysdeps/hppa/fpu/libm-test-ulps: Update.
7942 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7945 * math/auto-libm-test-in: Add another test of pow.
7946 * math/auto-libm-test-out: Regenerated.
7948 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7950 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7951 $(config-cflags-nofma).
7953 2015-03-10 Joseph Myers <joseph@codesourcery.com>
7955 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7956 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7957 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7958 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7959 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7960 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7961 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7962 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7963 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7964 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7965 Add comment on closing #endif.
7967 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7969 * posix/wordexp.c (CHAR_IN_SET): New macro.
7970 (parse_param): Use it.
7972 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7974 * sysdeps/powerpc/fpu/libm-test-ulps: update.
7976 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7979 * posix/wordexp.c (parse_param): Fix buffer overflow.
7980 * posix/wordexp-test.c (test_case): Add test case.
7982 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7985 * posix/wordexp.c (parse_backtick): Fix off-by-one.
7986 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7988 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
7991 * posix/wordexp-test.c (test_case): Add test for BZ #18043
7992 (do_bz18043): Delete.
7994 (testit): Refactor to have words at the edge of unreadable page.
7996 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7999 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8000 Cleanup read-only streams as well.
8001 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8003 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8005 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8008 2015-03-07 Joseph Myers <joseph@codesourcery.com>
8010 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
8012 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8013 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8014 * soft-fp/op-common.h (_FP_DECL): Likewise.
8016 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
8018 * elf/ifuncdep2.c (global): Replace
8019 __attribute__((visibility("protected"))) with
8020 asm (".protected global").
8021 * elf/ifuncmod1.c (global): Likewise.
8022 * elf/ifuncmod5.c (global): Likewise.
8024 2015-03-06 Joseph Myers <joseph@codesourcery.com>
8026 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8027 <asm/sfp-machine.h> instead of <sfp-machine.h>.
8029 2015-03-06 Roland McGrath <roland@hack.frob.com>
8031 * manual/install.texi (Configuring and compiling):
8032 Document test-wrapper-env-only.
8033 * INSTALL: Regenerated.
8035 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8038 * posix/wordexp.c (parse_param): Fix buffer overflow.
8039 * posix/wordexp-test.c (do_bz18043): Add test case.
8041 2015-03-06 Vincent Bernat <vincent@bernat.im>
8043 * time/tst-strptime2.c (do_test): Ensure failing tests are
8045 * time/tst-strptime3.c (do_test): Likewise.
8047 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
8049 Fix aio_error thread-safety.
8050 * sysdeps/pthread/aio_error.c: New file
8051 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8054 2015-03-06 Florian Weimer <fweimer@redhat.com>
8056 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8057 (group_number, vfprintf): Use it.
8058 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8059 (JUMP, REF): Use it.
8060 (WORK_BUFFER_SIZE): New enum constant.
8061 (process_arg, vfprintf): Use it.
8063 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
8065 * manual/errno.texi (Error Messages): Complete example function
8066 by adding missing #define.
8067 (program_invocation_name): Add statement indicating GNU
8068 extension and reference which header file declares the variable.
8069 (program_invocation_short_name): Likewise.
8071 2015-03-06 Mike Frysinger <vapier@gentoo.org>
8073 * manual/errno.texi (Error Messages): Delete strerror ISO C89
8076 2015-03-05 Roland McGrath <roland@hack.frob.com>
8078 * Makeconfig (test-wrapper-env-only): New variable.
8079 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8080 then use that with $(test-wrapper-env-only) rather than using
8081 $(test-wrapper-env) $(run-program-env) $($*-ENV).
8083 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
8086 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8087 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8088 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8089 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8090 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8091 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8092 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8093 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8095 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8100 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8102 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8104 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8105 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8107 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8109 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8110 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8112 2015-03-04 Roland McGrath <roland@hack.frob.com>
8114 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8115 (ETH_ALEN): New macro.
8116 (struct ether_addr): Use it for length of ether_addr_octet.
8118 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8119 (setdb): Don't call __nss_configure_lookup for "rpc".
8120 (do_test): Don't call test_rpc.
8121 (output_rpcent, test_rpc): Functions moved ...
8122 * sunrpc/test-rpcent.c: ... to this new file.
8123 * sunrpc/Makefile (tests): Add it.
8125 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8127 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8128 * nptl/tst-signal6.c: Likewise.
8129 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8130 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8132 * configure.ac (libc_cv_cxx_link_ok): New check.
8133 Reset CXX to empty if it fails to link.
8134 * configure: Regenerated.
8135 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8136 bug-atexit3-lib only if $(CXX) is nonempty.
8137 * nptl/Makefile (tests): Likewise for tst-cancel24.
8138 (tests, tests-static): Likewise for tst-cancel24-static.
8139 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8140 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8141 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8142 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8144 2015-03-04 Andreas Schwab <schwab@suse.de>
8147 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8148 for non-GCC compilers.
8149 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8152 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8155 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8156 integer before bitwise and assembly operations.
8157 (feclearexcept): Likewise.
8158 * math/test-fenvinline.c: New file.
8159 * math/Makefile: Add test-fenvinline test.
8161 2015-03-03 Alan Modra <amodra@gmail.com>
8164 * scripts/localplt.awk: Strip off symbol version.
8165 * NEWS: Mention bug fix.
8167 2015-03-02 Roland McGrath <roland@hack.frob.com>
8169 * sysdeps/pthread/timer_routines.c
8170 (timer_free_list, thread_free_list, thread_active_list): Make static.
8172 2015-03-02 Joseph Myers <joseph@codesourcery.com>
8175 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8176 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8178 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8179 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8181 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8182 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8185 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
8188 * posix/fnmatch_loop.c (END): Detect invalid pattern.
8189 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8191 2015-03-02 Andreas Schwab <schwab@suse.de>
8193 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8196 2015-03-02 Florian Weimer <fweimer@redhat.com>
8198 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8199 Return error status.
8201 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
8204 * locale/findlocale.c (_nl_find_locale): Introduce const
8205 version of loc_name and drop unsafe type casts.
8207 2015-02-27 Roland McGrath <roland@hack.frob.com>
8209 * dlfcn/tststatic2.c (main): Converted to ...
8210 (do_test): ... this.
8211 (TEST_FUNCTION): New macro.
8212 Include test-skeleton.c.
8214 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
8217 * elf/Makefile (tests): Add vismain only if PIE is enabled.
8218 (tests-pie): Add vismain.
8219 (CFLAGS-vismain.c): New.
8220 * elf/vismain.c: Add comments for PIE requirement.
8222 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8226 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8227 0x1p-56L as threshold for just returning the argument.
8228 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8229 0x1p-32L as threshold for just returning the argument.
8230 * math/auto-libm-test-in: Add more tests of atanh.
8231 * math/auto-libm-test-out: Regenerated.
8232 * sysdeps/i386/fpu/libm-test-ulps: Update.
8233 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8235 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8237 * string/bcopy.c (bcopy): Call memmove for performance.
8239 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
8241 * string/bzero.c (__bzero): Call memset for performance.
8243 2015-02-27 John David Anglin <dave.anglin@bell.net>
8246 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8249 2015-02-27 Joseph Myers <joseph@codesourcery.com>
8251 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8253 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8255 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8256 (__kernel_standard): Use CSTR macro when setting exc.name.
8257 * sysdeps/ieee754/Makefile [$(subdir) = math]
8258 (CFLAGS-k_standard.c): Remove variable.
8260 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8261 setting p and q from "else if" to "else".
8263 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8265 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8267 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8269 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8271 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8276 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8277 return pi/2 for arguments below 0x1p-113L.
8278 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8279 return pi/2 for arguments below 0x1p-106L.
8280 * math/auto-libm-test-in: Add more tests of acos.
8281 * math/auto-libm-test-out: Regenerated.
8284 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8286 (__ieee754_asin): Force underflow exception for results with small
8288 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8290 (__ieee754_asinf): Force underflow exception for results with
8291 small absolute value.
8292 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8293 (__ieee754_asin): Force underflow exception for results with small
8295 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8296 (__ieee754_asinf): Force underflow exception for results with
8297 small absolute value.
8298 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8299 (__ieee754_asinl): Force underflow exception for results with
8300 small absolute value.
8301 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8302 (__ieee754_asinl): Force underflow exception for results with
8303 small absolute value.
8304 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8305 (__ieee754_asinl): Force underflow exception for results with
8306 small absolute value.
8307 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8309 * math/auto-libm-test-in: Do not mark underflow exceptions as
8310 possibly missing for bug 16351.
8311 * math/auto-libm-test-out: Regenerated.
8314 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8315 of power of 2 down when low part has opposite sign.
8316 * math/libm-test.inc (logb_test_data): Add more tests.
8318 2015-02-26 Andreas Schwab <schwab@suse.de>
8321 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8322 over collating symbol inside a bracket expression. Minor cleanup.
8323 * posix/tst-fnmatch3.c (do_test): Add test case.
8325 2015-02-26 Joseph Myers <joseph@codesourcery.com>
8328 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8329 Adjust exponent of power of 2 down when low part has opposite
8331 * math/libm-test.inc (ilogb_test_data): Add more tests.
8333 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
8336 * locale/findlocale.c (_nl_find_locale): Fix constness error in
8337 the previous change.
8340 * locale/findlocale.c (_nl_find_locale): Retry archive search
8341 after alias expansion.
8343 2015-02-25 Roland McGrath <roland@hack.frob.com>
8345 * iconv/tst-iconv3.c (main): Converted to ...
8346 (do_test): ... this.
8347 (TEST_FUNCTION): New macro.
8348 Include test-skeleton.c.
8350 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8351 (convert): Make function static.
8352 (test_unalign): Likewise. Add const to argument pointee types.
8353 (main): Replace with static function do_test.
8354 Print "Succeeded." only if RET is zero.
8355 (TEST_FUNCTION): New macro.
8356 Include test-skeleton.c.
8358 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8359 returns a null pointer.
8361 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8363 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8364 to __memcpy_ppc only for static builds.
8366 2015-02-25 Joseph Myers <joseph@codesourcery.com>
8369 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8370 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8371 * math/auto-libm-test-in: Add more tests of asinh.
8372 * math/auto-libm-test-out: Regenerated.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8376 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
8379 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8380 and ip6_mtuinfo definitions here.
8381 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8382 in this define too. Update comment.
8384 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
8386 * elf/sprof.c (load_shobj): Tweak error message to match others.
8388 2015-02-24 Kevin Easton <kevin@guarana.org>
8390 [BZ #16145] (partial fix)
8391 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8392 to reduce lock contention.
8394 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
8396 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8397 (struct timex): Update time comment.
8398 (ADJ_SETOFFSET): Define.
8400 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8403 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8404 2**56 not 2**28 as threshold for log (2x) formula.
8405 * math/auto-libm-test-in: Add more tests of acosh.
8406 * math/auto-libm-test-out: Regenerated.
8407 * sysdeps/i386/fpu/libm-test-ulps: Update.
8408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8410 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8412 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8413 parenthesis around the buf assignment.
8414 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8416 2015-02-24 Joseph Myers <joseph@codesourcery.com>
8419 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8420 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8421 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8422 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8423 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8424 * math/libm-test.inc (scalb_test_data): Add more tests.
8426 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
8429 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8430 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8432 2015-02-24 Eric Rannaud <e@nanocritical.com>
8435 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8436 * io/bits/fcntl2.h (open): Use it.
8438 * io/open.c (__libc_open): Likewise.
8439 * io/open64.c (__libc_open64): Likewise.
8440 * io/open64_2.c (__open64_2): Likewise.
8441 * io/open_2.c (__open_2): Likewise.
8442 * io/openat.c (__openat): Likewise.
8443 * io/openat64.c (__openat64): Likewise.
8444 * io/openat64_2.c (__openat64_2): Likewise.
8445 * io/openat_2.c (__openat_2): Likewise.
8446 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8447 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8448 * sysdeps/posix/open64.c (__libc_open64): Likewise.
8449 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8450 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8451 (__open_nocancel): Likewise.
8452 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8453 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8454 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8456 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8459 * resolv/gethnamaddr.c (getanswer): Skip logging if
8460 RES_USE_DNSSEC is set.
8461 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8463 2015-02-24 Mike Frysinger <vapier@gentoo.org>
8465 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8467 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
8469 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8470 201304L, for Unicode 7.
8472 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
8475 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8476 shared library. Add gmon-start.os otherwise.
8477 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8478 $(objpfx)gmon-start.os if builing shared library.
8479 ($(objpfx)g$(static-start-installed-name)): Likewise.
8481 2015-02-23 Andreas Schwab <schwab@suse.de>
8483 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8485 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8488 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8489 (enlarge_userbuf): Likewise.
8491 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
8493 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8494 * math/atest-exp.c (TIMEOUT): Adjust to 200.
8495 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8496 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8498 2015-02-20 Joseph Myers <joseph@codesourcery.com>
8500 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8501 expression inside statement expression.
8503 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8505 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8506 <sysdeps/nptl/lowlevellock.h> and remove macros and
8507 functions that are now defined there.
8508 (SYS_futex): Remove.
8509 (lll_compare_and_swap): Remove.
8510 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8512 2015-02-19 Joseph Myers <joseph@codesourcery.com>
8515 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8516 instead of scandirat.
8517 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8518 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8519 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8521 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8522 (__scandirat): Declare. Use libc_hidden_proto.
8523 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8525 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8527 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8530 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8532 (__ieee754_atan2): For results with small absolute value, force
8533 underflow exception and remove excess range and precision from
8535 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8537 (__ieee754_atan2f): For results with small absolute value, force
8538 underflow exception and remove excess range and precision from
8540 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8542 (__atan): For results with small absolute value, force underflow
8543 exception and remove excess range and precision from return value.
8544 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8546 (__atanf): For results with small absolute value, force underflow
8547 exception and remove excess range and precision from return value.
8548 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8550 (__ieee754_atan2): Force underflow exception for results with
8551 small absolute value.
8552 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8554 (atan): Force underflow exception for results with small absolute
8556 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8557 (__atanf): Force underflow exception for results with small
8559 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8561 (__atanl): Force underflow exception for results with small
8563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8564 (__atanl): Force underflow exception for results with small
8566 * sysdeps/x86/fpu/bits/mathinline.h
8567 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8568 (__ieee754_atan2): Only define inline for long double.
8569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8570 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8571 * math/auto-libm-test-in: Do not mark underflow exceptions as
8572 possibly missing for bug 15319. Add more tests of atan2.
8573 * math/auto-libm-test-out: Regenerated.
8574 * math/libm-test.inc (casin_test_data): Do not mark underflow
8575 exceptions as possibly missing for bug 15319.
8576 (casinh_test_data): Likewise.
8577 * sysdeps/i386/fpu/libm-test-ulps: Update.
8579 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
8581 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8582 * sysdeps/mips/bits/endian.h: Fix comments.
8584 2015-02-18 Joseph Myers <joseph@codesourcery.com>
8587 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8588 (hdestroy_r): Likewise.
8589 (hsearch_r): Likewise.
8590 (__hcreate_r): Declare and use libc_hidden_proto.
8591 (__hdestroy_r): Likewise.
8592 (__hsearch_r): Likewise.
8593 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8594 (hcreate): Call __hcreate_r instead of hcreate_r.
8595 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8596 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8597 as weak alias of __hcreate_r.
8598 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8600 (hsearch_r): Rename to __hsearch_r and define as weak alias of
8602 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8604 (test-xfail-XPG4/search.h/linknamespace): Likewise.
8605 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8606 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8607 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8609 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8611 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8612 arena_lock into a single arena_get.
8614 2015-02-17 Carlos O'Donell <carlos@redhat.com>
8616 * dl-reloc.c: Inlucde libc-internal.h.
8617 (_dl_try_allocate_static_tls): Call ALIGN_UP.
8618 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8619 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8620 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8621 (grow_heap): Likewise.
8622 * malloc/malloc.c: Include libc-internal.h.
8623 (do_check_malloc): Call powerof2.
8624 (sysmalloc): Use pagesize. Call ALIGN_UP.
8625 (systrim): Use pagesize.
8626 (mremap_chunk): Use pagesize. Call ALIGN_UP.
8627 (__libc_valloc): Use pagesize.
8628 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8630 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8633 * include/sys/resource.h (__getrlimit64): Declare. Use
8635 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8636 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
8637 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8639 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8641 [!getrlimit64] (getrlimit64): Define as weak alias of
8642 __getrlimit64. Use libc_hidden_weak.
8643 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8644 using __getrlimit64 not __new_getrlimit64.
8645 (__GI_getrlimit64): Likewise.
8646 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8648 (__GI_getrlimit64): Likewise.
8649 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8651 (getrlimit): Add __getrlimit64 alias.
8652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8654 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8656 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8657 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8659 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
8661 * libio/fileops.c: Add missing sys/mman.h
8662 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8664 2015-02-17 Joseph Myers <joseph@codesourcery.com>
8666 * manual/math.texi (Errors in Math Functions): Clarify goals
8667 regarding inexact and underflow exceptions.
8669 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8671 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8672 * sysdeps/mips/memset.S: Ditto.
8674 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
8676 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8678 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
8680 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8681 (__v1longjmp): Remove versioned symbol.
8682 (__v1siglongjmp): Remove alias and versioned symbol.
8683 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8684 (__v2siglongjmp): Likewise.
8686 2015-02-16 Torvald Riegel <triegel@redhat.com>
8688 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8690 2015-02-16 Mike Frysinger <vapier@gentoo.org>
8692 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8694 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8697 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8698 zero result does not depend on the sign resulting from
8700 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8702 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8703 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8704 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8705 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8706 * math/libm-test.inc (remquo_test_data): Add more tests.
8708 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
8710 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8711 Problem reported by J William Piggott.
8713 2015-02-16 Joseph Myers <joseph@codesourcery.com>
8716 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8717 products 4 * y and 2 * y where those would overflow.
8718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8720 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8721 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8722 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8723 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8724 * math/libm-test.inc (remquo_test_data): Add more tests.
8726 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8728 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8729 [defined _COMPILING_NEWLIB].
8730 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8731 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8733 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8734 [!defined __mips_isa_rev || __mips_isa_rev < 6].
8736 2015-02-16 Torvald Riegel <triegel@redhat.com>
8738 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8741 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
8744 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8745 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8746 HOST_STACK_END_ADDR): Likewise.
8748 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
8750 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8751 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8752 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8754 2015-02-13 Roland McGrath <roland@hack.frob.com>
8756 * sysdeps/generic/c++-types.data: New file.
8757 * sysdeps/generic/ld.abilist: New file.
8758 * sysdeps/generic/libBrokenLocale.abilist: New file.
8759 * sysdeps/generic/libanl.abilist: New file.
8760 * sysdeps/generic/libc.abilist: New file.
8761 * sysdeps/generic/libcrypt.abilist: New file.
8762 * sysdeps/generic/libdl.abilist: New file.
8763 * sysdeps/generic/libm.abilist: New file.
8764 * sysdeps/generic/libpthread.abilist: New file.
8765 * sysdeps/generic/libresolv.abilist: New file.
8766 * sysdeps/generic/librt.abilist: New file.
8768 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8771 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8772 Compute absolute value of x as modified by fmod, not original
8774 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8775 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
8776 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
8777 RUN_TEST_ffI_f1_mod8.
8778 (remquo_test_data): Add more tests.
8780 2015-02-13 Roland McGrath <roland@hack.frob.com>
8782 * sysdeps/init_array/pt-crti.S: New file.
8784 2015-02-13 Joseph Myers <joseph@codesourcery.com>
8787 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8788 __builtin_fmaf instead of relying on contraction of a * b + c.
8790 2015-02-12 J William Piggott <elseifthen@gmx.com>
8793 * manual/time.texi: correct the zoneinfo path in the TZ Variable
8796 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8799 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8800 __builtin_fma instead of relying on contraction of a * b + c.
8802 2015-02-12 Roland McGrath <roland@hack.frob.com>
8804 * Makeconfig (ASFLAGS): Add -Werror=undef.
8805 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8806 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8807 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8809 * Makeconfig (after-link): New variable.
8810 (+link-pie, +link-pie-tests): Use it.
8811 (+link-static, +link-static-tests): Likewise.
8812 (+link, +link-tests): Likewise.
8813 * Makerules (build-module, build-module-asneeded): Likewise.
8814 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8816 * elf/Makefile ($(objpfx)ld.so): Likewise.
8818 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
8821 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8822 both struct timeval and struct timespec.
8824 2015-02-12 Joseph Myers <joseph@codesourcery.com>
8827 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8829 (__ieee754_exp2l): Do not multiply small fractional parts by
8831 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8833 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8834 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8835 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8836 * math/auto-libm-test-in: Add more tests of exp2.
8837 * math/auto-libm-test-out: Regenerated.
8839 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8841 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8844 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8846 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8849 2015-02-12 Andreas Schwab <schwab@suse.de>
8852 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8853 Filter out elision flags from value returned in kind.
8854 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8855 * nptl/tst-pthread-mutexattr.c: New file.
8857 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
8859 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8860 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8861 into gnu-gnu, and update comment to refer to abi-tags.
8863 2015-02-11 Joseph Myers <joseph@codesourcery.com>
8866 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8867 (__sincos): Set errno to EDOM for infinite argument.
8868 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8869 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8870 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8871 (__sincosl): Set errno to EDOM for infinite argument.
8872 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8873 (__sincosl): Set errno to EDOM for infinite argument.
8874 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8875 (__sincosl): Set errno to EDOM for infinite argument.
8876 * math/libm-test.inc (sincos_test_data): Test errno setting.
8878 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
8880 * string/strxfrm_l.c: Remove #define STRCMP.
8881 * string/strcoll_l.c: Remove #define STRLEN.
8882 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8883 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8885 2015-02-10 Joseph Myers <joseph@codesourcery.com>
8887 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8888 * sysdeps/mips/mips32/sfp-machine.h: ... here.
8889 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8890 * sysdeps/mips/mips64/Makefile: ... here.
8891 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8892 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8893 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8894 * sysdeps/mips/mips64/sfp-machine.h: ... here.
8895 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8896 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8897 * sysdeps/mips/mips64/n64/Implies: Likewise.
8899 2015-02-10 Roland McGrath <roland@hack.frob.com>
8901 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8902 <sys/time.h>, <string.h>, and <errno.h>.
8903 (dest_offset, dest_address, value, zero): Remove unused variables.
8904 (ldouble): Remove typedef.
8905 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8906 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
8908 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8909 (check): Function removed.
8911 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
8912 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8913 Don't call set_sigaction_FP and remove_sigaction_FP here.
8914 (ldouble_test): Just use 'long double' as macro argument, no need for
8915 the 'ldouble' typedef.
8916 (do_test): Set up SIGFPE handler at start, using plain signal rather
8917 than sigaction. Fix code style.
8919 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
8922 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8925 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
8927 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8928 * sysdeps/powerpc/powerpc32/configure: Regenerated.
8930 * sysdeps/powerpc/configure.ac: Remove file.
8931 * sysdeps/powerpc/configure: Likewise.
8933 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8934 [sysdep_routines]: Remove wordcopy-power6 object.
8935 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8936 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8937 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8938 (__memmove_ppc32): Likewise.
8939 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8941 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8942 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8943 Remove preprocessor.
8945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8946 [sysdep_routines]: Remove wide chars objects.
8947 [wcsmbs]: New rule for wide char objects.
8949 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8950 Remove wordcopy-power6 obejct.
8951 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8952 Use local call for wordcopy and memcpy symbols.
8953 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8954 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8955 implementation for loader.
8956 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8958 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8959 Remove wordcopy-power7 object.
8960 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8961 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8962 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8963 (_wordcopy_fwd_dest_aligned): Likewise.
8964 (_wordcopy_bwd_aligned): Likewise.
8965 (_wordcopy_bwd_dest_aligned): Likewise.
8967 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8968 Rewrite to call __memmove_ppc instead of include default
8971 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8972 Remove wide chars objects.
8973 [wcsmbs]: New rule for wide char objects.
8975 2015-02-09 Andreas Schwab <schwab@suse.de>
8978 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8979 in terms of __O_DIRECTORY.
8981 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
8983 * time/getdate.c: Include <stdbool.h>.
8984 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8986 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8989 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
8991 Add ersatz _Static_assert on older C hosts
8992 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8993 pre-C11 C platform that is not known to support _Static_assert.
8995 2015-02-07 Richard Braun <rbraun@sceen.net>
8997 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8999 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9001 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
9003 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9004 priority against unexistent AIO_PRIO_DELTA_MAX.
9005 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9007 * misc/fchflags.c (fchflags): Likewise.
9008 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9009 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9010 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9011 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9012 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9014 [__USE_MISC] (chflags, fchflags): Declare functions.
9015 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9016 EINVAL when nfds is greater than FD_SETSIZE.
9017 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9018 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9020 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9021 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9022 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9024 * hurd/hurd/signal.h (_hurd_self_sigstate,
9025 _hurd_critical_section_lock, _hurd_critical_section_unlock):
9026 Explicit casts from void *.
9027 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9028 * abi-tags: Rename gnu-gnu os into gnu.
9031 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9032 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9033 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9034 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9035 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9036 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9039 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9040 duplicates ADDR->sun_path with sockaddr LEN limitation.
9041 * sysdeps/mach/hurd/connect.c: Include <string.h>
9042 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9043 * sysdeps/mach/hurd/sendmsg.c: Likewise.
9044 * sysdeps/mach/hurd/sendto.c: Likewise.
9045 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9046 implementing it by hand.
9048 2015-02-06 Roland McGrath <roland@hack.frob.com>
9050 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9051 Use sfi_breg on ldr.
9052 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9055 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9057 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9058 Test SIGSETXID only if it's defined.
9060 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9062 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9063 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
9065 * nptl/tst-align2.c: Moved ...
9066 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9067 * nptl/Makefile (tests): Remove tst-align2.
9068 * sysdeps/unix/sysv/linux/Makefile
9069 [$(subdir) = nptl] (tests): Add tst-align-clone.
9070 * nptl/tst-getpid1.c: Moved ...
9071 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9072 * nptl/tst-getpid2.c: Moved ...
9073 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9074 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9075 * sysdeps/unix/sysv/linux/Makefile
9076 [$(subdir) = nptl] (tests): ... here.
9077 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9078 * sysdeps/unix/sysv/linux/Makefile
9079 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9081 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9082 Drop trailing \n from perror argument. Use return rather than exit.
9084 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9086 * nptl/tst-cancel21.c (do_test): Likewise.
9087 * debug/tst-backtrace6.c: Include <signal.h> first thing.
9088 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9089 [!SA_SIGINFO]: Make it a stub test.
9091 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9092 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9094 * posix/tst-getlogin.c: Move to ...
9095 * login/tst-getlogin.c: ... here.
9096 * posix/Makefile (tests): Move tst-getlogin to ...
9097 * login/Makefile (tests): ... here.
9099 * libio/tst-atime.c (do_test): Move local variables SV and E
9100 inside [ST_NOATIME] conditional.
9102 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9104 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9106 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9107 (wait_code): New function replaces macro.
9108 Call nanosleep rather than syscall.
9110 * nptl/pt-system.c: Rewritten. Put everything under
9111 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9112 Use IFUNC to redirect when possible.
9114 * nptl/pt-longjmp.c: Rewritten. Put everything under
9115 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9116 Use IFUNC to redirect when possible.
9118 * nptl/pt-fork.c: Rewritten. Put everything under
9119 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9120 Use IFUNC to redirect when possible.
9121 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9123 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9124 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9125 unconditionally nowadays. This included the only reference to
9126 __vdso_clock_gettime that appears outside libc proper.
9127 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9128 Remove version set (containing only __vdso_clock_gettime).
9129 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9130 Add attribute_hidden.
9131 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9132 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9133 libc_hidden_data_def.
9134 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9135 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9137 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9138 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9139 setrpcent, and getrpcport to ...
9140 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9141 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9142 getrpcbynumber_r, and getrpcent_r to ...
9143 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9144 * inet/getrpcbyname.c: Moved ...
9145 * sunrpc/getrpcbyname.c: ... here.
9146 * inet/getrpcbyname_r.c: Moved ...
9147 * sunrpc/getrpcbyname_r.c: ... here.
9148 * inet/getrpcbynumber.c: Moved ...
9149 * sunrpc/getrpcbynumber.c: ... here.
9150 * inet/getrpcbynumber_r.c: Moved ...
9151 * sunrpc/getrpcbynumber_r.c: ... here.
9152 * inet/getrpcent.c: Moved ...
9153 * sunrpc/getrpcent.c: ... here.
9154 * inet/getrpcent_r.c: Moved ...
9155 * sunrpc/getrpcent_r.c: ... here.
9156 * inet/Makefile (routines): Move those to ...
9157 * sunrpc/Makefile (routines): ... here.
9158 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9159 the $(subdirs) list.
9160 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
9161 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9162 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9163 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9165 * elf/Makefile (routines): Include $(all-dl-routines), not just
9167 (rtld-routines): Likewise. Use = rather than :=.
9168 * sysdeps/aarch64/Makefile [$(subdir) = elf]
9169 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9170 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9171 * sysdeps/arm/Makefile: Likewise.
9172 * sysdeps/i386/Makefile: Likewise.
9173 * sysdeps/x86_64/Makefile: Likewise.
9174 * sysdeps/hppa/Makefile [$(subdir) = elf]
9175 (sysdep_routines, sysdep-rtld-routines): Don't add
9176 $(sysdep-dl-routines) to these.
9177 * sysdeps/ia64/Makefile: Likewise.
9178 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9179 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9180 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9181 Don't add dl-static to these; sysdep-dl-routines alone is enough.
9182 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9183 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9184 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9185 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9186 * sysdeps/powerpc/Makefile [$(subdir) = elf]
9187 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9188 these; sysdep-dl-routines alone is enough.
9190 2015-02-06 Joseph Myers <joseph@codesourcery.com>
9193 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9194 where multiplication results in zero and third argument is finite
9196 * math/auto-libm-test-in: Add more tests of fma.
9197 * math/auto-libm-test-out: Regenerated.
9199 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9200 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9201 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9202 (_FP_CMP_EQ): Likewise.
9203 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9205 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9206 extra argument CHECK_NAN. Redefine as wrapper around
9209 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
9211 * version.h (RELEASE): Set to "stable".
9212 (VERSION): Set to "2.21"
9213 * include/features.h (__GLIBC_MINOR__): Set to 21.
9215 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9217 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9218 Paul Eggert <eggert@cs.ucla.edu>
9221 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9222 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9223 size in bytes. Store needed elements in wpmax. Use needed size
9224 in bytes for extend_alloca.
9226 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
9228 * manual/install.texi: Latest tested versions are GCC 4.9.2,
9229 binutls 2.25, and texinfo 5.2.
9230 * INSTALL: Regenerate.
9231 * sysdeps/nios2/configure: Regenerate.
9232 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9233 * manual/contrib.texi: Update.
9257 * po/pt_BR.po: Update.
9266 * po/zh_CN.po: Update.
9267 * po/zh_TW.po: Update.
9269 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9270 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9271 * sysdeps/hppa/dl-irel.h: Remove #warning.
9272 * sysdeps/hppa/entry.h: Provide prototype for
9273 __canonicalize_funcptr_for_compare and cast argument.
9274 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9275 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9276 * sysdeps/hppa/sotruss-lib.c: New file.
9277 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9278 (atomic_compare_and_exchange_val_acq): Use __typeof__.
9279 (atomic_compare_and_exchange_bool_acq): Likewise.
9280 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9281 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9283 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9284 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9285 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9287 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
9289 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9290 called function in non-PIC case.
9292 2015-01-31 David S. Miller <davem@davemloft.net>
9294 * sysdeps/sparc/sparc32/bits/atomic.h
9295 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9296 unlock not after it.
9297 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9298 volatile register usage warnings from the compiler.
9300 * sysdeps/sparc/nptl/sem_init.c: Delete.
9301 * sysdeps/sparc/nptl/sem_post.c: Delete.
9302 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9303 * sysdeps/sparc/nptl/sem_wait.c: Delete.
9304 * sysdeps/sparc/sparc32/sem_init.c: New file.
9305 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9306 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9307 padding explicitly initialized.
9308 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9309 padding for in-semaphore spinlock.
9310 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9311 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9312 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9313 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9314 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9315 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9316 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9317 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9319 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9320 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9322 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
9325 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9326 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9327 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9329 (index_AVX_Fast_Unaligned_Load): Likewise.
9330 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9331 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9332 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9333 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9334 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9335 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9336 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9337 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9338 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9340 2015-01-29 Andreas Schwab <schwab@suse.de>
9342 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9344 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9347 * nscd/nscd_stat.c (send_stats): Initialize DATA.
9349 2015-01-28 Martin Sebor <msebor@redhat.com>
9351 * math/README.libm-test: Clarify. Add "How to read the test output."
9353 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
9355 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9358 2015-01-28 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9361 (__HAVE_64B_ATOMICS): Define to 0.
9363 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9366 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9367 value to set as new flag.
9370 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9371 and use _ARCH_PPCSQ instead.
9372 (__ieee754_sqrt): Likewise.
9373 (__ieee754_sqrtf): Likewise.
9374 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9375 _ARCH_PPCSQ is defined.
9376 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9378 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9379 _ARCH_PPCSQ is defined.
9380 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9382 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9384 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9386 * iconv/loop.c: Suppress array out of bound warning caused by GCC
9387 bug (GCC BZ #64739).
9389 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
9391 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9392 Mark _retval as used.
9393 (lll_futex_wake_unlock): Likewise.
9394 (lll_futex_timed_wait_requeue_pi): Likewise.
9396 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9397 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9400 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9403 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9404 (__bswap_64): Mark as __always_inline.
9406 2015-01-25 Bram <bug_rh@spam.wizbit.be>
9409 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9410 when none of the search directories exist.
9412 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9415 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9416 power8 in .machine directive.
9419 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9420 set dependency from opd value.
9422 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9425 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9428 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
9431 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9433 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9435 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9436 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9437 Replace 1UL with (uint64_t) 1.
9438 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9441 2015-01-23 Roland McGrath <roland@hack.frob.com>
9443 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9444 (if_freenameindex): Likewise.
9446 * resource/getrlimit64.c: Add missing libc_hidden_def.
9448 2015-01-22 Joseph Myers <joseph@codesourcery.com>
9450 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9452 (_FP_FMA): Likewise.
9453 (_FP_TO_INT_ROUND): Likewise.
9454 (_FP_FROM_INT): Likewise.
9456 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9459 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9460 Make code racy and cancel safe.
9462 2015-01-21 Carlos O'Donell <carlos@redhat.com>
9464 * sysdeps/arm/unwind-resume.h: Fix copyright year.
9465 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9468 * pwd/tst-getpw.c: Rewrite.
9471 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9472 (modules-names): Add moddummy1 and moddummy2.
9473 ($(objpfx)tst-rec-dlopen): Define.
9474 * dlfcn/moddummy1.c: New file.
9475 * dlfcn/moddummy2.c: New file.
9476 * dlfcn/tst-rec-dlopen.c: New file.
9477 * elf/dl-cache.c (_dl_load_cache_lookup):
9478 Return char*. Copy result with alloca/strcpy/strdup.
9479 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9480 returns char*. Free cached. If not saving realname
9482 * elf/dl-open.c (dl_open_worker): Do not assert that
9483 _r_debug->r_state is RT_CONSISTENT.
9484 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9487 2015-01-21 Torvald Riegel <triegel@redhat.com>
9488 Carlos O'Donell <carlos@redhat.com>
9491 * nptl/sem_waitcommon.c: New file.
9492 * nptl/sem_wait.c: Include sem_waitcommon.c.
9493 (__sem_wait_cleanup, do_futex_wait): Remove.
9494 (__new_sem_wait): Adapt.
9495 (__new_sem_trywait): New function.
9496 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9497 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9498 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9499 (sem_timedwait): Adapt.
9500 * nptl/sem_post.c (__new_sem_post): Adapt.
9501 (futex_wake): New function.
9502 (__old_sem_post): Add release MO fence.
9503 * nptl/sem_open.c (sem_open): Adapt.
9504 * nptl/sem_init.c (__new_sem_init): Adapt.
9505 (futex_private_if_supported): New function.
9506 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9507 (__old_sem_getvalue): Add using previous code.
9508 * sysdeps/nptl/internaltypes.h: Adapt.
9509 * nptl/tst-sem13.c (do_test): Adapt.
9510 * nptl/tst-sem11.c (main): Adapt.
9511 * nptl/sem_trywait.c: Remove.
9512 * nptl/DESIGN-sem.txt: Remove.
9513 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9514 (gen-as-const-headers): Remove structsem.sym.
9515 * nptl/structsem.sym: Remove.
9516 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9517 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9518 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9519 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9520 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9521 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9522 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9523 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9524 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9525 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9526 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9527 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9528 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9529 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9530 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9531 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9532 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9533 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9534 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9535 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9536 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9537 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9539 2015-01-20 Carlos O'Donell <carlos@redhat.com>
9541 * INSTALL: Regenerated.
9543 * po/libc.pot: Regenerated.
9545 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
9546 Sandra Loosemore <sandra@codesourcery.com>
9547 Andrew Jenner <andrew@codesourcery.com>
9548 Joseph Myers <joseph@codesourcery.com>
9549 Nathan Sidwell <nathan@codesourcery.com>
9551 * NEWS: Mention new Nios II port.
9552 * sysdeps/nios2/Implies: New file.
9553 * sysdeps/nios2/Makefile: New file.
9554 * sysdeps/nios2/Subdirs: New file.
9555 * sysdeps/nios2/Versions: New file.
9556 * sysdeps/nios2/__longjmp.S: New file.
9557 * sysdeps/nios2/abort-instr.h: New file.
9558 * sysdeps/nios2/backtrace.c: New file.
9559 * sysdeps/nios2/bits/endian.h: New file.
9560 * sysdeps/nios2/bits/fenv.h: New file.
9561 * sysdeps/nios2/bits/link.h: New file.
9562 * sysdeps/nios2/bits/setjmp.h: New file.
9563 * sysdeps/nios2/bsd-_setjmp.S: New file.
9564 * sysdeps/nios2/bsd-setjmp.S: New file.
9565 * sysdeps/nios2/configure: New generated file.
9566 * sysdeps/nios2/configure.ac: New file.
9567 * sysdeps/nios2/crti.S: New file.
9568 * sysdeps/nios2/crtn.S: New file.
9569 * sysdeps/nios2/dl-init.c: New file.
9570 * sysdeps/nios2/dl-machine.h: New file.
9571 * sysdeps/nios2/dl-sysdep.h: New file.
9572 * sysdeps/nios2/dl-tls.h: New file.
9573 * sysdeps/nios2/dl-trampoline.S: New file.
9574 * sysdeps/nios2/gccframe.h: New file.
9575 * sysdeps/nios2/gmp-mparam.h: New file.
9576 * sysdeps/nios2/jmpbuf-offsets.h: New file.
9577 * sysdeps/nios2/jmpbuf-unwind.h: New file.
9578 * sysdeps/nios2/ldsodefs.h: New file.
9579 * sysdeps/nios2/libc-tls.c: New file.
9580 * sysdeps/nios2/libm-test-ulps: New file.
9581 * sysdeps/nios2/machine-gmon.h: New file.
9582 * sysdeps/nios2/math-tests.h: New file.
9583 * sysdeps/nios2/math_private.h: New file.
9584 * sysdeps/nios2/memusage.h: New file.
9585 * sysdeps/nios2/nptl/Makefile: New file.
9586 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9587 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9588 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9589 * sysdeps/nios2/nptl/pthreaddef.h: New file.
9590 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9591 * sysdeps/nios2/nptl/tls.h: New file.
9592 * sysdeps/nios2/preconfigure: New file.
9593 * sysdeps/nios2/s_fma.c: New file.
9594 * sysdeps/nios2/s_fmaf.c: New file.
9595 * sysdeps/nios2/setjmp.S: New file.
9596 * sysdeps/nios2/sfp-machine.h: New file.
9597 * sysdeps/nios2/sotruss-lib.c: New file.
9598 * sysdeps/nios2/stackguard-macros.h: New file.
9599 * sysdeps/nios2/stackinfo.h: New file.
9600 * sysdeps/nios2/start.S: New file.
9601 * sysdeps/nios2/sysdep.h: New file.
9602 * sysdeps/nios2/tls-macros.h: New file.
9603 * sysdeps/nios2/tst-audit.h: New file.
9604 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9605 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9606 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9607 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9608 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9609 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9610 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9611 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9612 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9613 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9614 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9615 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9616 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9617 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9618 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9619 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9620 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9621 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9622 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9623 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9624 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9625 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9626 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9627 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9628 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9629 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9630 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9631 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9632 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9633 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9634 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9635 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9636 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9637 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9638 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9639 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9640 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9641 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9642 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9643 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9644 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9645 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9646 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9647 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9649 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9652 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9653 (getutent): Use weak_alias in non SHARED case
9654 and default_symbol_version in SHARED case.
9655 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9656 (getutent_r, pututline): Likewise.
9657 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9658 (getutid): Likewise.
9659 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9660 (getutid_r): Likewise.
9661 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9662 (getutline): Likewise.
9663 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9664 (getutline_r): Likewise.
9665 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9666 (updwtmp): Likewise.
9668 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
9671 * sysdeps/s390/s390-32/memcmp.S
9672 (memcmp_g5): Rename to __memcmp_g5.
9673 * sysdeps/s390/s390-32/memcpy.S
9674 (memcpy_g5): Rename to __memcpy_g5.
9675 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9676 (memcpy_mvcle) Rename to __memcpy_mvcle.
9677 * sysdeps/s390/s390-32/memset.S
9678 (memset_g5): Rename to __memset_g5.
9679 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9680 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9681 and use prefixed functions.
9682 * sysdeps/s390/s390-32/multiarch/memcmp.S
9683 (memcmp_z196): Rename to __memcmp_z196.
9684 (memcmp_z10): Rename to __memcmp_z10.
9685 (memcmp): Set alias to __memcmp_g5.
9686 (bcmp): Set alias to __memcmp_g5.
9687 * sysdeps/s390/s390-32/multiarch/memcpy.S
9688 (memcpy_z196): Rename to __memcpy_z196.
9689 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9690 (memcpy_z10): Rename to __memcpy_z10.
9691 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9692 (memcpy): Set alias to __memcpy_g5.
9693 * sysdeps/s390/s390-32/multiarch/memset.S
9694 (memset_z196): Rename to __memset_z196.
9695 Jump to __memset_mvcle instead of memset_mvcle.
9696 (memset_z10): Rename to __memset_z10.
9697 Jump to __memset_mvcle instead of memset_mvcle.
9698 (memset_mvcle) Rename to __memset_mvcle.
9699 (memset): Set alias to __memset_g5.
9700 * sysdeps/s390/s390-64/memcmp.S
9701 (memcmp_z900): Rename to __memcmp_z900.
9702 * sysdeps/s390/s390-64/memcpy.S
9703 (memcpy_z900): Rename to __memcpy_z900.
9704 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9705 (memcpy_mvcle) Rename to __memcpy_mvcle.
9706 * sysdeps/s390/s390-64/memset.S
9707 (memset_z900): Rename to __memset_z900.
9708 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9709 (IFUNC_RESOLVE): Prefix ifunc-resolve function
9710 and use prefixed functions.
9711 * sysdeps/s390/s390-64/multiarch/memcmp.S
9712 (memcmp_z196): Rename to __memcmp_z196.
9713 (memcmp_z10): Rename to __memcmp_z10.
9714 (memcmp): Set alias to __memcmp_z900.
9715 (bcmp): Set alias to __memcmp_z900.
9716 * sysdeps/s390/s390-64/multiarch/memcpy.S
9717 (memcpy_z196): Rename to __memcpy_z196.
9718 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9719 (memcpy_z10): Rename to __memcpy_z10.
9720 Jump to __memcpy_mvcle instead of memcpy_mvcle.
9721 (memcpy): Set alias to __memcpy_z900.
9722 * sysdeps/s390/s390-64/multiarch/memset.S
9723 (memset_z196): Rename to __memset_z196.
9724 Jump to __memset_mvcle instead of memset_mvcle.
9725 (memset_z10): Rename to __memset_z10.
9726 Jump to __memset_mvcle instead of memset_mvcle.
9727 (memset_mvcle) Rename to __memset_mvcle.
9728 (memset): Set alias to __memset_z900.
9730 2015-01-14 Joseph Myers <joseph@codesourcery.com>
9733 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9734 __fesetenv instead of fesetenv.
9736 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9738 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9741 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9743 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9746 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9747 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9748 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9749 strncmp-power8 object.
9750 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9751 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9752 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9755 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9756 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9758 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9759 trailing byte check.
9761 2015-01-13 David S. Miller <davem@davemloft.net>
9763 * include/signal.h (__sigreturn): Guard with __USE_MISC.
9765 2015-01-13 Roland McGrath <roland@hack.frob.com>
9767 * login/logout.c (logout): Use memset rather than bzero.
9768 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9769 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9770 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9771 (_gethtbyaddr): Likewise.
9772 * locale/programs/simple-hash.c (bcopy): Macro removed.
9774 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9776 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9777 Add strcmp-power8 object.
9778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9779 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9780 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9781 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9782 __strcmp_power8 implementation.
9783 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9786 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9787 Add strncpy-power8 and stpncpy-power8 objects.
9788 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9789 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9791 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9792 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9793 __stpncpy_power8 implementation.
9794 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9795 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9796 __strncpy_power8 implementation.
9797 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9798 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9801 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9802 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9803 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9805 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9806 strncat-power8 object.
9807 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9808 __strcat_power8 implementation.
9809 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9810 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9811 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9812 optimized strcat for power8.
9814 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9815 strcpy-power8 and stpcpy-power8 objects.
9816 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9817 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9819 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9820 multiarch stpcpy implementation for POWER8.
9821 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9822 multiarch strcpy implementation for POWER8.
9823 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9824 __strcpy_power8 function.
9825 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9827 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9831 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
9834 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9835 weights and rules. Use do_xfrm_cached if data fits in cache,
9836 do_xfrm otherwise. Moved former main loop to...
9837 * (do_xfrm_cached): New function.
9838 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9839 find_idx, find_position and stack_push.
9840 * (find_idx): New function.
9841 * (find_position): Likewise.
9842 * localedata/sort-test.sh: Added test run for do_xfrm.
9843 * localedata/xfrm-test.c (main): Added command line option
9844 -nocache to run the test with strings that are too large for
9847 2015-01-13 Torvald Riegel <triegel@redhat.com>
9849 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9850 variable to lll_futex_wake call, not the value itself.
9852 2015-01-12 Joseph Myers <joseph@codesourcery.com>
9855 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9856 twom64. Adjust value to 0x1p-64L.
9857 (__scalblnl): Only return standard underflowing result for K <=
9858 -64 not K <= -63; adjust exponent for underflowing result by 64
9860 * math/libm-test.inc (scalbn_test_data): Add more tests.
9861 (scalbln_test_data): Likewise.
9864 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9866 (__scalblnl): Get new exponent of adjusted subnormal value from ES
9868 * math/libm-test.inc (scalbn_test_data): Add more tests.
9869 (scalbln_test_data): Likewise.
9871 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9872 Stefani Seibold <stefani@seibold.net>
9874 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9875 (sysdep_routines): Add dl-vdso here, ...
9876 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9877 (sysdep_routines): ... not here.
9878 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9879 fallback when vDSO is not presented.
9880 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9881 Define with libc_hidden_proto/libc_hidden_data_def definitions.
9882 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9883 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9884 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9885 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9886 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9888 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9890 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
9891 fallback configurable symbol when vDSO is not available.
9892 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9893 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
9894 be able to redefine fallback symbol when vDSO is not available.
9895 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9896 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9898 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9900 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9901 (TLS_INIT_TP): Add tm_capable initialization.
9902 (TLS_DEFINE_INIT_TP): Likewise.
9903 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9905 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9906 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9908 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9909 transactoion is lock elision is built and TCB tm_capable is set.
9910 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9912 (INTERNAL_SYSCALL_NCS): Likewise.
9913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9914 (INTERNAL_SYSCALL_NCS): Likewise.
9915 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9917 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9919 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9920 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9921 and remove it for 32 bits case.
9922 [pthread_rwlock_t] (__rwelision): New field for lock elision.
9923 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9925 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9926 Disable lock elision with rdlocks if elision is not available.
9928 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9929 (sysdep_routines): Add lock elision objects.
9930 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9931 [pthread_mutex_t] (__spins): Rework to add lock elision field.
9932 [pthread_mutex_t] (__elision): Add field.
9933 [__PTHREAD_SPINS]: Adjust to init lock elision field.
9934 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9935 elision definitions for powerpc.
9936 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9937 implementation of lock elision for powerpc.
9938 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9939 implementation of timed lock elision for powerpc.
9940 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9941 implementation of trylock with lock elision for powerpc.
9942 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9943 implementaion of unlock for lock elision for powerpc.
9944 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9945 automatic enable lock elision for mutexes.
9946 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9947 transaction execution definitions for powerpc.
9948 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9950 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9951 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9952 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9953 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9956 2015-01-09 Roland McGrath <roland@hack.frob.com>
9958 * sysdeps/posix/shm-directory.c: Use <> rather than ""
9959 for #include of <shm-directory.h>.
9961 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
9963 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9964 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9966 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
9969 * NEWS: Mention bug fix.
9970 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9971 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9972 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9974 2015-01-09 Torvald Riegel <triegel@redhat.com>
9976 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9978 2015-01-09 Torvald Riegel <triegel@redhat.com>
9980 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9982 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9984 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9985 pointer and cast to uintptr_t.
9987 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9989 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9991 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9993 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
9995 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9998 2015-01-08 Roland McGrath <roland@hack.frob.com>
10000 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10001 <nptl/pthreadP.h> instead.
10002 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10004 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10006 [__SIGRTMIN] (init): Function removed.
10007 [__SIGRTMIN] (initialized): Variable removed.
10008 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10009 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10010 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10011 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10012 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10013 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10014 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10015 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10016 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10017 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10018 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10019 * sysdeps/nptl/allocrtsig.c: New file.
10020 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10021 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10022 * sysdeps/generic/testrtsig.h: File removed.
10024 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10025 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10027 * nptl/nptl-init.c (pthread_functions): Conditionalize
10028 .ptr__nptl_setxid initialization on [SIGSETXID].
10030 * sysdeps/nptl/sys/procfs.h: New file.
10031 * nptl_db/Makefile (headers): Add it.
10032 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10034 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10035 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10036 * nptl/pthread_attr_setaffinity.c: Include it.
10037 * nptl/pthread_setattr_default_np.c: Likewise.
10038 * nptl/check-cpuset.h: New file.
10040 2015-01-08 Richard Henderson <rth@redhat.com>
10042 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10043 (CFLAGS-tst-execstack-prog.c): Likewise.
10044 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10046 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
10047 Sandra Loosemore <sandra@codesourcery.com>
10048 Andrew Jenner <andrew@codesourcery.com>
10049 Joseph Myers <joseph@codesourcery.com>
10050 Nathan Sidwell <nathan@codesourcery.com>
10052 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10053 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10054 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10055 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10056 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10057 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10058 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10059 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10060 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10061 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10062 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10063 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10064 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10065 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10066 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10067 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10068 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10070 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10072 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10073 timespec struct member in syscall macro.
10074 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10075 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10076 first timeval struct member in syscall macro.
10077 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10079 2015-01-07 Joseph Myers <joseph@codesourcery.com>
10082 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10083 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10084 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10085 __feupdateenv and define as weak alias of __feupdateenv. Use
10087 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10089 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10090 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
10091 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10092 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10094 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10095 __feupdateenv and define as weak alias of __feupdateenv. Use
10097 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10099 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10100 __feupdateenv and define as weak alias of __feupdateenv. Use
10102 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10104 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10105 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10106 (__feupdateenv): Likewise.
10107 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10108 __feupdateenv and define as weak alias of __feupdateenv. Use
10110 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10111 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10113 * sysdeps/tile/math_private.h (__feupdateenv): New inline
10115 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10117 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10118 __feupdateenv instead of feupdateenv.
10119 (default_libc_feupdateenv_test): Likewise.
10120 (libc_feresetround_ctx): Likewise.
10122 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10124 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10127 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
10129 * posix/regcomp.c (parse_bracket_exp): Initialize type to
10130 COLL_SYM in a couple of places to avoid uninitialized variable
10131 wanings on tilegx gcc 4.8.2.
10133 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10135 * sysdeps/aarch64/strcpy.S: New file.
10136 * sysdeps/aarch64/stpcpy.S: New file.
10139 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
10141 * sysdeps/aarch64/strrchr.S: New file.
10144 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
10147 * stdlib/setenv.c: Fix memory leak when setting large,
10150 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
10153 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10154 and tabs from buffer before parsing fstab entry.
10155 * misc/tst-mntent.c (main): Add test for mount entry with
10156 trailing spaces and tabs.
10158 2015-01-06 Joseph Myers <joseph@codesourcery.com>
10161 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
10162 * math/fesetround.c (fesetround): Rename to __fesetround and
10163 define as weak alias of __fesetround. Use libm_hidden_weak.
10164 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10165 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10166 * sysdeps/arm/fesetround.c (fesetround): Likewise.
10167 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10168 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10169 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10170 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10171 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10172 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10173 __fesetround_inline.
10174 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10175 __fesetround_inline instead of __fesetround.
10176 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10177 __fesetround and define as weak alias of __fesetround. Use
10178 libm_hidden_weak. Call __fesetround_inline instead of
10180 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10181 __fesetround and define as weak alias of __fesetround. Use
10183 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10185 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10186 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10187 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10188 * sysdeps/tile/math_private.h (__fesetround): New inline function.
10189 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10190 __fesetround and define as weak alias of __fesetround. Use
10192 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10193 __fesetround instead of fesetround.
10194 (default_libc_feholdexcept_setround): Likewise.
10195 (libc_feholdsetround_ctx): Likewise.
10196 (libc_feholdsetround_noex_ctx): Likewise.
10199 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10200 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10201 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10202 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10203 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10204 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10205 define as weak alias of __fesetenv. Use libm_hidden_weak.
10206 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10207 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10208 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10209 define as weak alias of __fesetenv. Use libm_hidden_weak.
10210 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10211 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10212 define as weak alias of __fesetenv. Use libm_hidden_weak.
10213 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10215 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10216 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10218 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10219 define as weak alias of __fesetenv. Use libm_hidden_weak.
10220 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10221 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10222 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10223 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10224 and define as weak alias of __fesetenv. Use libm_hidden_weak.
10225 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10226 __fesetenv instead of fesetenv.
10227 (libc_feresetround_noex_ctx): Likewise.
10228 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10229 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10230 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10231 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10232 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10233 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10234 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10235 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10236 (__feupdateenv): Likewise.
10237 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10238 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10239 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10240 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10242 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10245 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10246 addresses have been freed.
10248 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
10250 * resolv/res_init.c (__res_vinit): Improve comments about nserv
10253 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
10255 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10256 Clean up check_pf allocation pattern. addresses
10258 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10260 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10261 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10262 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10263 * nptl/pthread_exit.c (__pthread_exit): Likewise.
10264 * nptl/pthread_join.c (pthread_join): Likewise.
10265 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10266 * sysdeps/posix/waitid.c (__waitid): Likewise.
10267 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10268 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10269 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10270 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10271 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10273 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10274 (__libc_pread64): Likewise.
10275 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10276 (__libc_pwrite): Likewise.
10277 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10278 (__libc_pwrite64): Likewsie.
10279 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10280 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10281 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10282 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10283 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10284 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10285 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10289 (__libc_pread64): Likewise.
10290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10293 (__libc_pwrite64): Likewise.
10294 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10295 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10296 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10297 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10298 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10299 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10300 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10301 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10302 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10303 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10304 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10305 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10306 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10307 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10308 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10309 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10312 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
10314 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10315 (CFLAGS-test-double.c): Likewise.
10316 (CFLAGS-test-ldouble.c): Likewise.
10317 (CPPFLAGS-test-ifloat.c): Likewise.
10318 (CPPFLAGS-test-idouble.c): Likewise.
10319 (CPPFLAGS-test-ildoubl.c): Likewise.
10320 (CFLAGS-test-test-fenv.c): Remove variable.
10321 (CFLAGS-test-misc.c): Likewise.
10323 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
10326 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10327 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10328 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10329 CLOCKS_PER_SEC == 1000000.
10330 * time/clocktest.c (main): Replace %ld with %jd and cast to
10333 2015-01-05 Roland McGrath <roland@hack.frob.com>
10335 * sysdeps/generic/unwind-resume.h: New file.
10336 * sysdeps/gnu/unwind-resume.c: Include it.
10337 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10338 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10340 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10341 global rather than static.
10342 (_Unwind_Resume): Update user.
10343 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10344 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
10345 rather than static. Add __attribute__ ((cold)).
10346 (_Unwind_Resume, __gcc_personality_v0): Update callers.
10347 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10348 * sysdeps/arm/arm-unwind-resume.S: New file.
10349 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10350 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10351 * sysdeps/arm/Makefile [$(subdir) = csu]
10352 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10353 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10354 Add rt-arm-unwind-resume.
10356 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10357 Add pt-arm-unwind-resume.
10358 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10359 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10361 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10364 * include/fenv.h (__feholdexcept): Declare. Use
10366 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10367 define as weak alias of __feholdexcept. Use libm_hidden_weak.
10368 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10369 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10370 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10371 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10372 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10373 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10374 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10375 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10376 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10377 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10378 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10379 (feholdexcept): Likewise.
10380 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10382 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10383 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10384 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10385 __feholdexcept instead of feholdexcept.
10386 (default_libc_feholdexcept_setround): Likewise.
10388 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10390 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10391 to avoid using stl/str to align destination.
10393 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10395 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10397 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10400 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10401 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10402 Define as weak alias not strong alias.
10404 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
10406 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10407 bltzal with addiupc.
10408 (RTLD_START): Ditto.
10410 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
10412 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10413 for __vdso_* functions in declarations.
10414 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10416 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10417 INTERNAL_VSYSCALL): Use struct return types to check for error.
10419 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10420 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10421 function with cast from llround().
10422 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10423 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10426 2015-01-05 Joseph Myers <joseph@codesourcery.com>
10429 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10430 Define as weak alias not strong alias.
10433 * ctype/ctype-c99.c: New file. isblank implementation moved from
10435 * ctype/ctype-extn.c: ... here.
10436 (__isblank_l): Move to ...
10437 * ctype/ctype-c99_l.c: ... here. New file.
10438 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10439 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10441 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10442 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10443 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10444 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10445 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10448 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10449 (posix_fadvise64): Define as weak alias not strong alias.
10450 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10451 (posix_fallocate64): Likewise.
10452 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10454 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10455 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10456 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10457 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10458 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10460 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
10463 * NEWS: Mention bug fix.
10464 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10465 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10466 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10467 (HOST_STACK_END_ADDR): Likewise.
10469 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10472 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
10473 * math/fegetround.c (fegetround): Rename to __fegetround and
10474 define as weak alias of __fegetround. Use libm_hidden_weak.
10475 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10476 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10477 * sysdeps/arm/fegetround.c (fegetround): Likewise.
10478 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10479 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10480 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10481 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10482 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10483 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10484 Undefine after rather than before function definition; use
10485 parentheses around function name in definition.
10486 (__fegetround): Also undefine macro after function definition.
10487 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10488 __fegetround and define as weak alias of __fegetround. Use
10489 libm_hidden_weak. Do not undefine as macro.
10490 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10492 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10493 __fegetround and define as weak alias of __fegetround. Use
10495 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10496 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10497 * sysdeps/tile/math_private.h (__fegetround): New inline function.
10498 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10499 __fegetround and define as weak alias of __fegetround. Use
10501 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10502 __fegetround instead of fegetround.
10505 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10506 Condition macro definition on [__USE_MISC].
10509 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10510 (struct sigaction): Change type of sa_flags field to int.
10513 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10514 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10517 * nptl/version.c (banner): Use single year in copyright notice.
10519 * NEWS: Update copyright dates.
10520 * catgets/gencat.c (print_version): Likewise.
10521 * csu/version.c (banner): Likewise.
10522 * debug/catchsegv.sh: Likewise.
10523 * debug/pcprofiledump.c (print_version): Likewise.
10524 * debug/xtrace.sh (do_version): Likewise.
10525 * elf/ldconfig.c (print_version): Likewise.
10526 * elf/ldd.bash.in: Likewise.
10527 * elf/pldd.c (print_version): Likewise.
10528 * elf/sotruss.sh: Likewise.
10529 * elf/sprof.c (print_version): Likewise.
10530 * iconv/iconv_prog.c (print_version): Likewise.
10531 * iconv/iconvconfig.c (print_version): Likewise.
10532 * locale/programs/locale.c (print_version): Likewise.
10533 * locale/programs/localedef.c (print_version): Likewise.
10534 * login/programs/pt_chown.c (print_version): Likewise.
10535 * malloc/memusage.sh (do_version): Likewise.
10536 * malloc/memusagestat.c (print_version): Likewise.
10537 * malloc/mtrace.pl: Likewise.
10538 * manual/libc.texinfo: Likewise.
10539 * nptl/version.c (banner): Likewise.
10540 * nscd/nscd.c (print_version): Likewise.
10541 * nss/getent.c (print_version): Likewise.
10542 * nss/makedb.c (print_version): Likewise.
10543 * posix/getconf.c (main): Likewise.
10544 * scripts/test-installation.pl: Likewise.
10545 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10547 2015-01-02 Will Newton <will.newton@linaro.org>
10549 * sysdeps/arm/armv7/configure: Removed.
10550 * sysdeps/arm/armv7/configure.ac: Likewise.
10552 2015-01-02 Joseph Myers <joseph@codesourcery.com>
10554 * All files with FSF copyright notices: Update copyright dates
10555 using scripts/update-copyrights.
10556 * intl/plural.c: Regenerated.
10557 * locale/programs/charmap-kw.h: Likewise.
10558 * locale/programs/locfile-kw.h: Likewise.
10560 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10562 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10564 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10567 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10568 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10569 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10570 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10571 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10572 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10573 define as weak alias of __fegetenv. Use libm_hidden_weak.
10574 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10575 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10576 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10577 define as weak alias of __fegetenv. Use libm_hidden_weak.
10578 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10579 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10580 define as weak alias of __fegetenv. Use libm_hidden_weak.
10581 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10583 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10584 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10586 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10587 define as weak alias of __fegetenv. Use libm_hidden_weak.
10588 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10589 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10590 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10591 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10592 and define as weak alias of __fegetenv. Use libm_hidden_weak.
10593 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10594 __fegetenv instead of fegetenv.
10595 (libc_feholdsetround_noex_ctx): Likewise.
10597 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
10599 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10600 (Elf_MIPS_ABIFlags_v0): New structure.
10601 (EF_MIPS_FP64): Define.
10602 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10603 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10604 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10605 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10606 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10607 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10608 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10609 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10610 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10611 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10612 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10613 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10614 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10615 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10616 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10617 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10618 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10619 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10620 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10621 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10622 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10623 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10625 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10627 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10628 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10629 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10630 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10631 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10632 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10633 * sysdeps/mips/tst-abi-interlink.c: Likewise.
10634 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10635 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10636 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10637 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10638 record the current FP ABI extension.
10639 (mips-mode-switch): Define to show if kernel headers support mode
10641 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10642 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10643 supported SYSV ABI version to 3.
10644 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10647 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10648 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10650 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10652 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10654 2014-12-31 Joseph Myers <joseph@codesourcery.com>
10656 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10657 __fegetround and redefine to call __fegetround. Remove condition
10658 on [!__NO_MATH_INLINES].
10659 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10661 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10662 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10664 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10665 instead of <fenv_libc.h>.
10666 (__llrintl): Call fegetround instead of __fegetround.
10667 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10668 instead of <fenv_libc.h>.
10669 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10670 (__lrintl): Call fegetround instead of __fegetround.
10671 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10672 instead of <fenv_libc.h>.
10673 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10674 (__rintl): Call fegetround instead of __fegetround.
10676 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
10678 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10681 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10684 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10685 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10686 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10688 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10690 * sysdeps/i386/tls-macros.h: Include <features.h>.
10691 (TLS_LE): Use non-PIC version for GCC >= 5.0.
10692 (TLS_IE): Likewise.
10693 (TLS_LD): Likewise.
10694 (TLS_GD): Likewise.
10695 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10696 define for GCC >= 5.0.
10698 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
10700 * math/test-fenv.c (test_single_exception, set_single_exc,
10701 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10702 feexcp_mask_test, feenable_test, fe_single_test): Add
10703 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10704 case where they are not used.
10705 * math/libm-test.inc: Likewise.
10706 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10707 unused in the absence of FP rounding/exception support.
10708 * stdio-common/tst-printf-round.c: Likewise.
10709 * stdlib/tst-strtod-round.c: Likewise.
10710 * stdlib/tst-strtod-underflow.c: Likewise.
10712 2014-12-30 Joseph Myers <joseph@codesourcery.com>
10715 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10716 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10717 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10718 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10720 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10721 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10722 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10724 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10725 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10727 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10729 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10730 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10731 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10733 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10735 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10736 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10737 (__feraiseexcept): Likewise.
10738 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10739 __feraiseexcept and define as weak alias of __feraiseexcept. Use
10741 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10742 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10744 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10745 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10746 Use libm_hidden_def.
10747 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10749 (feraiseexcept): Define as weak not strong alias. Use
10751 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10752 New inline function. Factored out of ...
10753 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
10754 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10755 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10757 * math/w_acos.c (__acos): Likewise.
10758 * math/w_asin.c (__asin): Likewise.
10759 * math/w_ilogb.c (__ilogb): Likewise.
10760 * math/w_j0.c (y0): Likewise.
10761 * math/w_j1.c (y1): Likewise.
10762 * math/w_jn.c (yn): Likewise.
10763 * math/w_log.c (__log): Likewise.
10764 * math/w_log10.c (__log10): Likewise.
10765 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10766 * sysdeps/aarch64/fpu/math_private.h
10767 (libc_feupdateenv_test_aarch64): Likewise.
10768 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10769 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10770 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10771 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10772 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10773 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10774 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10775 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10776 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10777 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10779 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
10782 * io/test-utime.c (main): Replace %ld with %jd and cast to
10784 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10785 * nptl/tst-mutex5.c: Include <stdint.h>.
10786 (do_test): Replace %ld with %jd and cast to intmax_t.
10787 * posix/tst-regex.c (run_test): Likewise.
10788 (run_test_backwards): Likewise.
10789 * rt/tst-clock.c: Include <stdint.h>.
10790 (clock_test): Replace %ld with %jd and cast to intmax_t.
10791 * rt/tst-cpuclock1.c: Include <stdint.h>.
10792 (do_test): Replace %lu with %ju and cast to uintmax_t.
10793 * rt/tst-cpuclock2.c: Include <stdint.h>.
10794 (do_test): Replace %lu with %ju and cast to uintmax_t.
10795 * rt/tst-mqueue1.c: Include <stdint.h>.
10796 (check_attrs): Replace %ld with %jd and cast to intmax_t.
10797 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10799 * rt/tst-mqueue4.c (do_test): Likewise.
10800 * rt/tst-timer4.c: Include <stdint.h>.
10801 (check_ts): Replace %ld with %jd and cast to intmax_t.
10802 (do_test): Likewise.
10803 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10804 and cast to intmax_t.
10805 * sysdeps/pthread/tst-timer.c (main): Likewise.
10806 * time/clocktest.c (main): Likewise.
10807 * time/tst-posixtz.c (do_test): Likewise.
10808 * timezone/tst-timezone.c (main): Likewise.
10810 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
10811 H.J. Lu <hongjiu.lu@intel.com>
10813 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10814 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10815 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10816 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10817 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10818 version if bit_Fast_Unaligned_Load is set.
10819 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10820 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10821 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10822 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10823 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10824 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10825 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10826 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10827 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10828 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10830 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10831 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10832 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10833 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10835 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
10837 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10838 instead of #if to avoid a Wundef warning.
10839 * stdlib/tst-limits.c (do_test): Likewise.
10841 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10842 parallel other exception macros.
10843 (fegetenv): Convert from macro to extern inline so that it applies
10844 retroactively to inline functions already seen by the compiler.
10845 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10847 * posix/Makefile (before-compile): Use $(objpfx) for
10848 posix-conf-vars-def.h.
10850 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10852 * posix/getconf.c (main): Use size_t for type of I.
10853 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10856 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10857 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10858 * posix/posix-envs.def: Likewise.
10859 * sysdeps/posix/sysconf.c: Likewise.
10860 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10861 (specs): Remove array.
10862 * scripts/gen-posix-conf-vars.awk: Support generation of specs
10865 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10866 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10867 (__sysconf): Use CONF_IS_* macros.
10869 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10870 ($(objpfx)posix-conf-vars-def.h): New target.
10871 * posix/posix-conf-vars.list: New file.
10872 * posix/posix-conf-vars.h: New file.
10873 * posix/confstr.c: Include posix-conf-vars.h.
10874 (confstr): Use CONF_IS_* macros.
10875 * posix/posix-envs.def: Include posix-conf-vars.h. Use
10877 * scripts/gen-posix-conf-vars.awk: New file.
10879 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
10881 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10882 fegetround): Add no-op macros to avoid linknamespace issues.
10884 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10885 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10887 * sysdeps/unix/sysv/linux/tile/sysdep.h
10888 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10889 assembly-specific section to avoid a redefinition warning.
10891 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10892 long before casting to pointer to avoid a cast warning.
10894 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
10896 * sysdeps/tile/tilegx/Implies: New file.
10898 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
10900 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10902 2014-12-23 Florian Weimer <fweimer@redhat.com>
10904 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10906 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10910 * sysdeps/unix/sysv/linux/utimes.c: Do not include
10911 <kernel-features.h>.
10912 (__utimes) [__NR_utimes]: Make code unconditional.
10913 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10914 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10915 (__ASSUME_UTIMES): Do not undefine.
10916 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10917 (__ASSUME_UTIMES): Likewise.
10918 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10919 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10920 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10921 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10923 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10925 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10927 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
10930 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10931 alias to weak alias for j0l, y0l.
10932 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10933 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10936 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10939 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
10941 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10942 to zero if not already defined.
10944 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10947 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10948 (__kernel_standard_f): Remove. Moved to k_standardf.c.
10949 (__kernel_standard_l): Remove. Moved to k_standardl.c with
10950 (char *) casts added.
10951 * sysdeps/ieee754/k_standardf.c: New file.
10952 * sysdeps/ieee754/k_standardl.c: Likewise.
10953 * math/Makefile (libm-support): Remove k_standard.
10954 (libm-calls): Add k_standard.
10956 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10958 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10959 Optimize to avoid an unnecessary FPCR read.
10961 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10963 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10964 Optimize to reduce FPCR/FPSR accesses.
10966 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10968 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10969 Call libc_fetestexcept_aarch64.
10971 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
10973 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10974 Call libc_fesetround_aarch64.
10976 2014-12-22 Joseph Myers <joseph@codesourcery.com>
10979 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10980 (__bind): Do not define as weak alias.
10981 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10983 (__getsockname): Do not define as weak alias.
10985 2014-12-22 Will Newton <will.newton@linaro.org>
10987 * manual/install.texi: Document that we require bison 2.7
10989 * INSTALL: Regenerate.
10990 * configure.ac: Use AC_CHECK_PROG_VER instead of
10991 AC_PATH_PROG when checking for bison and check for
10992 version 2.7 or above.
10993 * configure: Regenerate.
10995 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
10998 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10999 * sysdeps/tile/ffsll.c (ffsll): To here.
11001 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11003 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11005 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11007 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11009 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11010 hidden ___tls_get_addr.
11011 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11012 hidden __tls_get_addr.
11013 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11014 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11017 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
11019 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11022 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
11024 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11025 from "call _dl_init@PLT".
11026 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11028 2014-12-21 Anders Kaseorg <andersk@mit.edu>
11030 * manual/search.texi: (Array Sort Function): Clarify stable sorting
11033 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
11035 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11037 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11040 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11043 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11045 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11046 of multu on MIPSr6.
11047 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11048 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11049 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11050 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11051 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11053 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
11055 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11056 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11057 (PTR_SUBU): Use subu for mips32r6/mips64r6.
11058 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11059 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11061 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11063 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
11065 * string/strncat.c (STRNCAT): Simplify implementation.
11067 2014-12-19 David S. Miller <davem@davemloft.net>
11069 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11070 access the quad as both a long double and as a series of 4 words.
11072 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11073 link_map->l_info array access.
11075 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
11077 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11079 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11080 * math/atest-exp2.c (TIMEOUT): Likewise.
11081 * math/atest-sincos.c (TIMEOUT): Likewise.
11083 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11085 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11086 -Wno-error with -fno-builtin-lround.
11088 2014-12-19 Torvald Riegel <triegel@redhat.com>
11090 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11091 Contains futex constants and functions moved over from ...
11092 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
11093 <lowlevellock-futex.h>.
11094 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11095 (lll_timedwait_tid): Add comments and parentheses around macro
11098 2014-12-19 Torvald Riegel <triegel@redhat.com>
11100 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11101 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
11102 (__lll_private_flag): Remove.
11103 (lll_futex_wait): Likewise.
11104 (lll_futex_timed_wait): Likewise.
11105 (lll_futex_wake): Likewise.
11106 (lll_futex_requeue): Likewise.
11107 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11108 (__lll_timedwait_tid): Spell out argument names.
11109 (lll_timedwait_tid): Add comments and parentheses around macro
11111 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11112 LLL_SHARED and LLL_PRIVATE usable from assembly code.
11114 2014-12-19 Torvald Riegel <triegel@redhat.com>
11116 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11117 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11118 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11119 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11120 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11121 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11122 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11123 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11124 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11125 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11126 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11127 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11128 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11129 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11130 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11131 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11132 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11133 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11134 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11136 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11138 * sysdeps/x86_64/x32/Makefile: New file.
11140 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
11142 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11143 1L with (mp_limb_t) 1.
11145 2014-12-17 Roland McGrath <roland@hack.frob.com>
11147 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11148 * nptl/libc_pthread_init.c: ... here.
11149 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11150 * nptl/register-atfork.c: ... here.
11152 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11153 Use pthread_sigmask rather than INTERNAL_SYSCALL.
11154 Use assert_perror to check its return value.
11155 (__gai_create_helper_thread): Likewise.
11157 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11159 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11161 2014-12-17 Joseph Myers <joseph@codesourcery.com>
11164 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11166 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11168 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11170 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11172 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11173 (profil_counter): Likewise.
11174 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11175 (profil_counter): Likewise.
11176 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11178 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11180 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11181 (profil_counter): Likewise.
11182 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11184 [!__profil_counter] (profil_counter): Define as weak alias of
11186 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11187 (profil_counter): Rename to __profil_counter.
11188 [!__profil_counter] (profil_counter): Define as weak alias of
11190 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11191 (profil_counter): Rename to __profil_counter.
11192 [!__profil_counter] (profil_counter): Define as weak alias of
11194 * sysdeps/posix/profil.c: Update comment referring to
11196 (__profil): Use __profil_counter instead of profil_counter.
11197 * sysdeps/posix/sprofil.c (profil_counter): Rename to
11198 __profil_counter. Use __profil_counter_ushort and
11199 __profil_counter_uint in definitions.
11200 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11201 instead of profil_counter_uint and profil_counter_ushort.
11204 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11205 define as weak alias of __inet_makeaddr.
11206 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11207 as weak alias of __inet_addr.
11208 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11209 as weak alias of __inet_pton. Use libc_hidden_weak.
11210 * include/arpa/inet.h (__inet_pton): Declare. Use
11212 (inet_makeaddr): Don't use libc_hidden_proto.
11213 (__inet_makeaddr): Declare. Use libc_hidden_proto.
11214 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11215 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
11216 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11218 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11219 (test-xfail-POSIX/time.h/linknamespace): Likewise.
11221 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
11223 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11225 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11227 * stdio-common/bug-vfprintf-nargs.c (do_test):
11228 Cast value to intptr_t to avoid format warning
11229 for usage with PRIdPTR printing macro.
11231 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11233 * libio/tst-widetext.c (do_test):
11234 Use format type %td instead of %Zd for ptrdiff_t
11235 in order to avoid format warning.
11237 2014-12-17 Andreas Schwab <schwab@suse.de>
11239 * nscd/mem.c (gc): Add size_t cast to match printf format.
11241 2014-12-16 Roland McGrath <roland@hack.frob.com>
11243 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11244 (init): Apply PTR_MANGLE to pointers before storing them.
11245 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11248 2014-12-16 Joseph Myers <joseph@codesourcery.com>
11251 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11252 define as weak alias of __memrchr.
11253 (__memrchr): Do not define as strong alias of memrchr.
11254 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11256 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11257 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11258 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11261 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11262 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
11263 (if_indextoname): Rename to __if_indextoname and define as weak
11264 alias of __if_indextoname. Use libc_hidden_weak.
11265 (if_freenameindex): Rename to __if_freenameindex and define as
11266 weak alias of __if_freenameindex.
11267 (if_nameindex): Rename to __if_nameindex and define as weak alias
11269 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11270 __if_nametoindex and define as weak alias of __if_nametoindex.
11271 Use libc_hidden_weak.
11272 (if_freenameindex): Rename to __if_freenameindex and define as
11273 weak alias of __if_freenameindex.
11274 (if_nameindex): Rename to __if_nameindex and define as weak alias
11276 (if_indextoname): Rename to __if_indextoname and define as weak
11277 alias of __if_indextoname. Use libc_hidden_weak.
11278 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11279 __if_nametoindex and define as weak alias of __if_nametoindex.
11280 Use libc_hidden_weak.
11281 (if_freenameindex): Rename to __if_freenameindex and define as
11282 weak alias of __if_freenameindex. Use libc_hidden_weak.
11283 (if_nameindex_netlink): Use __if_freenameindex instead of
11285 (if_nameindex): Rename to __if_nameindex and define as weak alias
11286 of __if_nameindex. Use libc_hidden_weak.
11287 (if_indextoname): Rename to __if_indextoname and define as weak
11288 alias of __if_indextoname. Use libc_hidden_weak.
11289 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11291 [!_ISOMAC] (__if_freenameindex): Likewise.
11292 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11294 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11296 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11297 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11298 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11299 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11300 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11301 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11302 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11304 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11306 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11307 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11309 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11311 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11312 subscript above bounds'
11314 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11317 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
11319 * libio/tst-fopenloc.c: Use test-skeleton.c.
11321 * stdlib/tst-bsearch.c: Use test-skeleton.c.
11322 (entry): Rename to ITEM.
11323 (do_test, comp): Adjust.
11325 * stdio-common/tst-fseek.c: Use test-skeleton.c.
11327 2014-12-16 Torvald Riegel <triegel@redhat.com>
11329 * string/tester.c: Include <libc-internal.h>.
11330 (test_memset): Ignore -Wmemset-transposed-args.
11332 2014-12-16 Torvald Riegel <triegel@redhat.com>
11334 * misc/tst-mntent2.c (do_test): Fix warning.
11336 2014-12-16 Torvald Riegel <triegel@redhat.com>
11338 * elf/tst-unique4lib.cc(a): Mark as used.
11340 2014-12-16 Florian Weimer <fweimer@redhat.com>
11343 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11346 2014-12-16 Allan McRae <allan@archlinux.org>
11348 * stdio-common/Makefile (tests): Re-add bug26.
11350 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
11353 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11356 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
11358 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11359 (__lll_lock_wait): Likewise.
11360 (__lll_timedlock_wait): Likewise.
11361 (__lll_timedwait_tid): Likewise.
11362 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11363 (__lll_robust_timedlock_wait): Likewise.
11364 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11365 (lll_cond_trylock): Likewise.
11366 (__lll_lock): Likewise.
11367 (__lll_robust_lock): Likewise.
11368 (__lll_cond_lock): Likewise.
11369 (lll_robust_cond_lock): Likewise.
11370 (__lll_timedlock): Likewise.
11371 (__lll_robust_timedlock): Likewise.
11372 (__lll_unlock): Likewise.
11373 (__lll_robust_unlock): Likewise.
11374 (lll_wait_tid): Likewise.
11375 (lll_timedwait_tid): Likewise.
11377 2014-12-15 Torvald Riegel <triegel@redhat.com>
11379 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11381 2014-12-15 Torvald Riegel <triegel@redhat.com>
11383 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11385 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11387 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11388 * stdio-common/tst-sprintf.c: Likewise.
11390 2014-12-15 Torvald Riegel <triegel@redhat.com>
11392 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11394 2014-12-15 Jeff Law <law@redhat.com>
11397 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11398 on the heap. (CVE-2012-3406)
11399 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11400 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
11401 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11403 2014-12-15 Will Newton <will.newton@linaro.org>
11405 * manual/install.texi: Bump required version of texinfo
11407 * INSTALL: Regenerated.
11408 * configure.ac: Check for makeinfo version 4.7 and above.
11409 * configure: Regenerated.
11411 2014-12-12 Roland McGrath <roland@hack.frob.com>
11413 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11414 PREFIX, string constant to insert between directory and name.
11415 * sysdeps/posix/shm_open.c: Update caller.
11416 * sysdeps/posix/shm_unlink.c: Likewise.
11417 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11418 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11419 (SEM_SHM_PREFIX): New macro.
11420 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11421 [$(have-thread-library) = no].
11422 * nptl/Makefile (libpthread-routines): Add shm-directory.
11423 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11424 * sysdeps/nptl/shm-directory.h: New file.
11425 * sysdeps/posix/shm-directory.c
11426 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11427 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11428 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11430 (__where_is_shmfs): Function removed.
11431 (mountpoint, defaultmount, defaultdir, __namedsem_once):
11433 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11435 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
11437 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11438 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11439 unconditional for use inside libpthread.
11440 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11442 2014-12-12 Roland McGrath <roland@hack.frob.com>
11444 * nptl/pthread_getaffinity.c: New file.
11445 * nptl/pthread_setaffinity.c: New file.
11446 * nptl/pthread_getname.c: New file.
11447 * nptl/pthread_setname.c: New file.
11449 * nptl/pthread_create.c (START_THREAD_DEFN)
11450 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11452 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11453 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11455 * resolv/res_send.c (send_vc): Disable warning resplen may
11456 be used uninitialized.
11458 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11460 * nptl/tst-mutex6.c
11461 (ATTR_NULL): New define checks ATTR against NULL.
11462 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11463 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11465 2014-12-11 James Lemke <jwlemke@codesourcery.com>
11469 (mem2mem_check): Revert my previous change.
11470 (malloc_check_get_size): Revert my previous change.
11471 (mem2chunk_check): Revert my previous change.
11473 2014-12-11 Roland McGrath <roland@hack.frob.com>
11475 * sysdeps/posix/shm-directory.c: New file.
11476 * sysdeps/posix/shm-directory.h: New file.
11477 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11478 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11479 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
11480 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11481 Transmute EPERM to EACCES.
11482 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11484 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
11485 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11487 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11489 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11490 pointer and cast to uintptr_t.
11491 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11492 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11493 Add cast to avoid warning.
11494 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11496 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11498 * nptl/semaphore.h: Move to ...
11499 * sysdeps/pthread/semaphore.h: ... here.
11500 * Makefile (installed-headers): Change nptl/semaphore.h to
11501 sysdeps/pthread/semaphore.h.
11503 2014-12-11 Roland McGrath <roland@hack.frob.com>
11505 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11506 generated error format strings.
11508 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11509 -Wformat-extra-args warnings for scanf formats.
11510 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11511 test of zero-length format (duh).
11512 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11513 corner-case scanf format test.
11514 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11515 generated fprintf format string.
11516 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11517 corner-case sprintf format tests.
11518 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11519 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11520 -Wformat-extra-args warnings throughout.
11521 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11522 (CFLAGS-scanf4.c): Likewise.
11523 (CFLAGS-scanf7.c): Likewise.
11524 (CFLAGS-tst-sprintf.c): Likewise.
11525 (CFLAGS-tst-printf.c): Likewise.
11526 (CFLAGS-tst-printfsz.c): Likewise.
11528 2014-12-11 Joseph Myers <joseph@codesourcery.com>
11530 * include/cpio.h: New file.
11531 * include/fmtmsg.h: Likewise.
11533 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
11534 corresponding format argument to size_t.
11535 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
11537 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
11538 corresponding format argument to size_t.
11539 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
11541 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
11542 corresponding format argument to size_t.
11543 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11544 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11545 (CFLAGS-tst-mbswcs2.c): Likewise.
11546 (CFLAGS-tst-mbswcs3.c): Likewise.
11547 (CFLAGS-tst-mbswcs4.c): Likewise.
11548 (CFLAGS-tst-mbswcs5.c): Likewise.
11549 (CFLAGS-tst-trans.c): Likewise
11551 2014-12-11 Roland McGrath <roland@hack.frob.com>
11553 * posix/regexbug1.c (main): Use "%s" format with regerror results,
11554 rather than assuming they won't contain any '%'s.
11556 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
11558 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11559 inhibit_loop_to_libcall to avoid recursive calls.
11560 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11561 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11563 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
11565 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11568 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11570 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11571 integer value instead of boolean.
11573 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
11575 * malloc/malloc.c: Fix powerof2 check.
11577 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11579 * locale/programs/locfile.h (maybe_swap_uint32):
11580 Remove inline and add unused attribute.
11582 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11584 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11585 Truncating assembler expression to a .long expression.
11587 2014-12-11 Andreas Schwab <schwab@suse.de>
11589 * elf/rtld.c (struct map_args): Constify str member.
11590 (do_preload): Constify fname argument.
11592 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11594 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11595 constants definition.
11597 2014-12-11 Andreas Schwab <schwab@suse.de>
11600 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11601 FORCE_ELISION instead of DO_ELISION.
11602 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11604 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11607 * iconvdata/gconv-modules: Remove duplicate entry.
11609 2014-12-11 Will Newton <will.newton@linaro.org>
11611 Merge gettext 0.19.3 into intl/.
11613 This involves a number of cosmetic changes to comments
11614 and ANSI function definitions and prototypes throughout
11615 all the files. The gettext copyright header is used but
11616 with the date ranges taken from the glibc copy.
11618 * NEWS: Add gettext merge to 2.21.
11619 * intl/bindtextdom.c: Switch to gettext copyright.
11620 Use ANSI definitions and prototypes.
11621 Use gl_* locking primitives rather than __libc_* ones.
11622 Use __builtin_expect rather than __glibc_likely/unlikely.
11623 * intl/dcgettext.c: Switch to gettext copyright.
11624 Use ANSI definitions and prototypes.
11625 * intl/dcigettext.c: Switch to gettext copyright.
11626 Use ANSI definitions and prototypes.
11627 (INTDIV0_RAISES_SIGFPE): New define.
11628 Use gl_* locking primitives rather than __libc_* ones.
11629 Include eval-plural.h instead of plural-eval.c.
11630 Use __builtin_expect rather than __glibc_likely/unlikely.
11631 * intl/dcngettext.c: Switch to gettext copyright.
11632 Use ANSI definitions and prototypes.
11633 * intl/dgettext.c: Likewise.
11634 * intl/dngettext.c: Likewise.
11635 * intl/plural-eval.c: Renamed to...
11636 * intl/eval-plural.h: ...this.
11637 * intl/explodename.c: Switch to gettext copyright.
11638 Use ANSI definitions and prototypes.
11639 (_nl_explode_name): Use strchr instead of __rawmemchr.
11640 * intl/finddomain.c: Switch to gettext copyright.
11641 Use ANSI definitions and prototypes.
11642 Use gl_* locking primitives rather than __libc_* ones.
11643 (_nl_find_domain): Use malloc rather than alloca for
11644 allocation of temporary locale name.
11645 * intl/gettext.c: Switch to gettext copyright.
11646 Use ANSI definitions and prototypes.
11647 * intl/gettextP.h: Switch to gettext copyright.
11648 Use ANSI definitions and prototypes.
11649 Use gl_* locking primitives rather than __libc_* ones.
11650 * intl/gmo.h: Switch to gettext copyright.
11651 (struct sysdep_string): Move struct segment_pair outside of
11653 * intl/hash-string.c: Use ANSI definitions and prototypes.
11654 * intl/hash-string.h: Switch to gettext copyright.
11655 Use ANSI definitions and prototypes.
11656 * intl/l10nflist.c: Switch to gettext copyright.
11657 Use ANSI definitions and prototypes.
11658 (_nl_normalize_codeset): Avoid integer overflow.
11659 * intl/loadinfo.h: Switch to gettext copyright.
11660 Use ANSI definitions and prototypes.
11661 (LIBINTL_DLL_EXPORTED): New define.
11662 (PATH_SEPARATOR): New define.
11663 * intl/loadmsgcat.c: Switch to gettext copyright.
11664 * intl/localealias.c: Switch to gettext copyright.
11665 Use ANSI definitions and prototypes.
11666 (_nl_expand_alias): Use PATH_SEPARATOR.
11667 * intl/ngettext.c: Switch to gettext copyright.
11668 Use ANSI definitions and prototypes.
11669 * intl/plural-exp.c: Likewise.
11670 * intl/plural-exp.h: Switch to gettext copyright.
11671 Use ANSI definitions and prototypes.
11672 (struct expression): Move definition of enum operator outside
11673 of struct definition.
11674 * intl/plural.c: Regenerate.
11675 * intl/plural.y: Switch to gettext copyright.
11676 Use ANSI definitions and prototypes.
11678 * intl/textdomain.c: Switch to gettext copyright.
11679 Use ANSI definitions and prototypes.
11680 Use gl_* locking primitives rather than __libc_* ones.
11682 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
11684 * debug/warning-nop.c: Add used atrribute.
11686 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11688 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11690 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11691 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11692 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11694 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11695 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11698 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11699 Undefine after defining function. Define as weak alias of
11700 __wcschr. Use libc_hidden_weak.
11701 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
11702 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11703 (libc_hidden_def): Also define __GI___wcschr alias.
11704 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11705 __wcschr and define as weak alias of __wcschr.
11706 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11708 [!WCSCHR] (DEFAULT_WCSCHR): Define.
11709 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11710 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
11711 libc_hidden_weak. Do not use libc_hidden_def.
11712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11713 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11714 __GI___wcschr alias.
11715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11716 [IS_IN (libc)] (wcschr): Define as macro expanding to
11718 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11719 [IS_IN (libc)] (__wcschr_power6): Likewise.
11720 [IS_IN (libc)] (__wcschr_power7): Likewise.
11721 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
11723 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11725 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11726 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11727 __wcschr and define as weak alias of __wcschr. Use
11728 libc_hidden_builtin_def.
11729 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11730 as weak alias of __wcschr. Use libc_hidden_weak.
11731 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11733 * time/era.c (_nl_init_era_entries): Likewise.
11734 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11736 (test-xfail-XPG3/time.h/linknamespace): Likewise.
11737 (test-xfail-XPG4/time.h/linknamespace): Likewise.
11739 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11741 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11742 format for long int variable.
11744 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
11747 * manual/search.texi: (Array Sort Function): Remove claim how to make
11750 2014-12-10 Andreas Schwab <schwab@suse.de>
11753 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11754 user-controlled locks.
11756 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
11758 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11761 2014-12-10 Joseph Myers <joseph@codesourcery.com>
11763 * configure.ac (--disable-werror): New configure option.
11764 (enable_werror): New AC_SUBST.
11765 * configure: Regenerated.
11766 * config.make.in (enable-werror): New variable.
11767 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11769 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11770 * manual/install.texi (Configuring and compiling): Document
11772 * INSTALL: Regenerated.
11773 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11774 (CFLAGS-tst-chk2.c): Likewise.
11775 (CFLAGS-tst-chk3.c): Likewise.
11776 (CFLAGS-tst-chk4.cc): Likewise.
11777 (CFLAGS-tst-chk5.cc): Likewise.
11778 (CFLAGS-tst-chk6.cc): Likewise.
11779 (CFLAGS-tst-lfschk1.c): Likewise.
11780 (CFLAGS-tst-lfschk2.c): Likewise.
11781 (CFLAGS-tst-lfschk3.c): Likewise.
11782 (CFLAGS-tst-lfschk4.cc): Likewise.
11783 (CFLAGS-tst-lfschk5.cc): Likewise.
11784 (CFLAGS-tst-lfschk6.cc): Likewise.
11786 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11787 (main): Disable -Wdeprecated-declarations around calls to
11788 register_printf_function.
11790 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11791 (do_test): Disable -Wdiv-by-zero around some calls to
11792 fwrite_unlocked and fread_unlocked.
11794 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11795 (DIAG_POP_NEEDS_COMMENT): Likewise.
11796 (_DIAG_STR1): Likewise.
11797 (_DIAG_STR): Likewise.
11798 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11799 * stdio-common/bug21.c: Include <libc-internal.h>.
11800 (do_test): Disable -Wformat around call to sscanf.
11801 * stdio-common/scanf14.c: Include <libc-internal.h>.
11802 (main): Disable -Wformat around some calls to scanf functions.
11804 2014-12-09 Torvald Riegel <triegel@redhat.com>
11806 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11808 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11810 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11811 stack variable alignment.
11813 2014-12-06 Joseph Myers <joseph@codesourcery.com>
11816 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11817 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11818 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11819 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11820 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11821 __getrlimit instead of getrlimit.
11822 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11823 __gettimeofday instead of gettimeofday.
11824 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11826 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11828 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11829 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11831 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11832 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11834 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11836 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11837 for wide-character tests.
11839 2014-12-04 Roland McGrath <roland@hack.frob.com>
11841 * io/openat64.c: #include <libc-internal.h>
11842 (__openat64): Prototypify. Use ignore_value on MODE.
11843 * io/openat.c: Likewise.
11844 * misc/reboot.c: #include <libc-internal.h>
11845 (reboot): Prototypify. Use ignore_value on HOWTO.
11846 * misc/ptrace.c: #include <libc-internal.h>
11847 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
11849 2014-12-04 Joseph Myers <joseph@codesourcery.com>
11851 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11852 XPG4, UNIX98 and XOPEN2K.
11853 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11855 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11857 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11859 * libio/fileops.c: Use ISO C style for function definitions.
11860 * libio/iofopen.c: Likewise.
11861 * libio/wfileops.c: Likewise.
11864 * libio/fileops.c (_IO_new_file_underflow): Unset cached
11866 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11867 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11868 (fgets_func): Function pointer to fgets and fgetws.
11869 (do_ftell_test): Add test to verify ftell value after read
11871 (do_test): Set fgets_func.
11873 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11874 O_TRUNC flag for w and w+ modes.
11875 (do_rewind_test): Likewise.
11876 (do_ftell_test): Likewise.
11877 (do_write_test): Likewise.
11880 * libio/fileops.c (do_ftell): Seek only when there are
11882 * libio/wfileops.c (do_ftell_wide): Likewise.
11883 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11885 (do_one_test): Call it.
11887 2014-12-03 Joseph Myers <joseph@codesourcery.com>
11889 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11890 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11891 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11893 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11894 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11895 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11897 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11899 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11901 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11904 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11905 as weak alias of __getifaddrs. Use libc_hidden_weak.
11906 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11907 __freeifaddrs. Use libc_hidden_weak.
11908 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11909 define as weak alias of __getifaddrs. Use libc_hidden_weak.
11910 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11911 __freeifaddrs. Use libc_hidden_weak.
11912 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11913 __getifaddrs and define as weak alias of __getifaddrs. Use
11915 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11916 __freeifaddrs. Use libc_hidden_weak.
11917 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11919 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11920 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11922 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
11925 * sysdeps/mips/start.S (__start): Use indirect jump to call
11928 2014-12-02 Joseph Myers <joseph@codesourcery.com>
11930 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11932 * nptl/tst-mutex1.c: Include <stdbool.h>.
11933 [!ATTR] (ATTR_NULL): New macro.
11934 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11935 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11936 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11938 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11942 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11943 Change conditional to [__USE_MISC].
11946 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11948 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11950 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11952 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11954 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11955 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11956 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11957 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11958 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11959 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11960 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11961 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11962 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11964 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11966 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11968 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11969 Remove strpbrk objects.
11970 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11971 (__libc_ifunc_impl_list): Remove strpbrk implementation.
11972 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11973 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11974 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11975 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11977 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11978 Remove strcspn objects.
11979 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11980 (__libc_ifunc_impl_list): Remove strcspn implementation.
11981 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11982 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11983 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11984 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11986 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11987 Remove strspn objetcs.
11988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11989 (__libc_ifunc_impl_list): Remove strspn implementation.
11990 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11991 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11992 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11993 * sysdeps/powerpc/powerpc64/strspn.S: New file.
11995 2014-12-01 James Lemke <jwlemke@codesourcery.com>
11999 (mem2mem_check): Add a terminator to the chain of checking blocks.
12000 (malloc_check_get_size): Use it here.
12001 (mem2chunk_check): Ditto.
12003 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12005 * sysdeps/powerpc/powerpc64/strtok.S: New file.
12006 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12008 2014-11-29 Carlos O'Donell <carlos@redhat.com>
12010 * bits/ioctl-types.h: Indent preprocessor directives correctly.
12012 * nptl/nptl-init.c: Include libc-internal.h.
12013 (__pthread_initialize_minimal_internal): Use ROUND_UP.
12015 * elf/ldconfig.c (search_dir): Expand comment.
12017 2014-11-29 Joseph Myers <joseph@codesourcery.com>
12019 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12021 (linknamespace-symlist-stdlibs-tests): Likewise.
12022 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12023 instead of $(objpfx)symlist-stdlibs.
12024 (linknamespace-libs-isoc): New variable.
12025 (linknamespace-libs): Use $(linknamespace-libs-isoc).
12026 (linknamespace-libs-ISO): New variable.
12027 (linknamespace-libs-ISO99): Likewise.
12028 (linknamespace-libs-ISO11): Likewise.
12029 (linknamespace-libs-XPG3): Likewise.
12030 (linknamespace-libs-XPG4): Likewise.
12031 (linknamespace-libs-POSIX): Likewise.
12032 (linknamespace-libs-UNIX98): Likewise.
12033 (linknamespace-libs-XOPEN2K): Likewise.
12034 (linknamespace-libs-POSIX2008): Likewise.
12035 (linknamespace-libs-XOPEN2K8): Likewise.
12036 ($(objpfx)symlist-stdlibs): Replace by
12037 $(linknamespace-symlist-stdlibs-tests). Use
12038 $(linknamespace-libs-$*) as set of libraries.
12039 ($(linknamespace-header-tests)): Update dependencies. Use
12040 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12041 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12042 * conform/linknamespace.pl: Remove comment about considering
12043 definitions of symbols from irrelevant libraries.
12045 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
12048 * elf/dl-tls.c: Include <atomic.h>.
12049 (oom): Remove #ifdef SHARED/#endif.
12050 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12051 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
12052 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12054 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12055 * nptl/Makefile (tests): Add tst-stack4.
12056 (modules-names): Add tst-stack4mod.
12057 ($(objpfx)tst-stack4): New.
12058 (tst-stack4mod.sos): Likewise.
12059 ($(objpfx)tst-stack4.out): Likewise.
12060 ($(tst-stack4mod.sos)): Likewise.
12062 * nptl/tst-stack4.c: New file.
12063 * nptl/tst-stack4mod.c: Likewise.
12065 2014-11-27 J. Brown <jb999@gmx.de>
12067 * sysdeps/x86/bits/string.h: Add recent CPUs.
12069 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12071 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12074 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12077 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12080 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12082 * nscd/connections.c: Include libc-internal.h because of macro
12083 usage ignore_value.
12085 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12087 * string/bits/string3.h (__warn_memset_zero_len): Don't
12088 declare for gcc newer than 5.0.
12089 (memset): Don't test for zero-length __LEN for gcc newer than
12092 2014-11-27 Joseph Myers <joseph@codesourcery.com>
12094 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12095 size_t for %zu format.
12097 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12098 difference, not %ju.
12100 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12102 * include/libc-internal.h (ignore_value): New macro.
12103 * nscd/connections.c (restart): Wrap calls to setuid and setgid
12106 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12109 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12110 pthread_cleanup_push to void *.
12112 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12117 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12118 instead of 1L << 52.
12120 * libio/bug-rewind.c (do_test): Check fwscanf return values.
12121 * libio/bug-rewind2.c (do_test): Likewise.
12123 * debug/test-stpcpy_chk-ifunc.c: Remove file.
12124 * debug/test-strcpy_chk-ifunc.c: Likewise.
12125 * wcsmbs/test-wcschr-ifunc.c: Likewise.
12126 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12127 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12128 * wcsmbs/test-wcslen-ifunc.c: Likewise.
12129 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12130 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12131 * Rules [$(multi-arch) = no] (tests): Do not filter out
12133 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12134 * debug/Makefile (tests-ifunc): Remove variable.
12135 (tests): Do not add $(tests-ifunc).
12136 * wcsmbs/Makefile (tests-ifunc): Remove variable.
12137 (tests): Do not add $(tests-ifunc).
12138 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12139 [TEST_IFUNC]: Remove conditionals.
12140 * string/test-string.h (TEST_IFUNC): Remove macro.
12141 [TEST_IFUNC]: Remove conditionals.
12143 * string/test-strchr.c [!WIDE] (L): New macro.
12144 [WIDE] (L): Likewise.
12145 (check1): Use CHAR instead of char. Use L on string and character
12148 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
12150 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12152 * sysdeps/powerpc/bits/atomic.h
12153 (__arch_atomic_exchange_and_add_32_acq): Add definition.
12154 (__arch_atomic_exchange_and_add_32_rel): Likewise.
12155 (atomic_exchange_and_add_acq): Likewise.
12156 (atomic_exchange_and_add_rel): Likewise.
12157 * sysdeps/powerpc/powerpc32/bits/atomic.h
12158 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12159 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12160 * sysdeps/powerpc/powerpc64/bits/atomic.h
12161 (__arch_atomic_exchange_and_add_64_acq): Add definition.
12162 (__arch_atomic_exchange_and_add_64_rel): Likewise.
12164 2014-11-26 Torvald Riegel <triegel@redhat.com>
12166 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12167 Change synchronization of __sched_fifo_min_prio and
12168 __sched_fifo_max_prio.
12169 * nptl/pthread_mutexattr_getprioceiling.c
12170 (pthread_mutexattr_getprioceiling): Likewise.
12171 * nptl/pthread_mutexattr_setprioceiling.c
12172 (pthread_mutexattr_setprioceiling): Likewise.
12173 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12174 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12177 2014-11-26 Joseph Myers <joseph@codesourcery.com>
12179 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12182 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12184 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12185 third argument const.
12187 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
12189 fnmatch: work around GCC compiler warning bug with uninit var
12190 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12191 This works around a bug with x86-64 GCC 4.9.2 and earlier
12192 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12193 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12194 used uninitialized in this function [-Wmaybe-uninitialized]".
12196 2014-11-25 Joseph Myers <joseph@codesourcery.com>
12198 * posix/bug-regex31.c (main): Return RES not 0.
12200 2014-11-25 Anton Blanchard <anton@samba.org>
12202 * sysdeps/powerpc/bits/atomic.h
12203 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12205 2014-11-24 Sterling Augustine <saugustine@google.com>
12207 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12209 2014-11-24 Ryan Cumming <etaoins@gmail.com>
12212 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12214 2014-11-24 Joseph Myers <joseph@codesourcery.com>
12217 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12218 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12220 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12221 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12223 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12225 * string/strncpy.c (strncpy): Improve performance by using memset.
12227 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
12229 * string/strcpy.c (strcpy):
12230 Improve performance by using strlen and memcpy.
12232 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
12234 * string/strcoll_l.c (get_next_seq): __always_inline.
12235 * string/strcoll_l.c (do_compare): __always_inline.
12237 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12239 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12241 * include/mqueue.h: Likewise.
12242 * include/stdlib.h: Likewise.
12244 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12245 (get_null_defines): Adjust.
12246 * sunrpc/Makefile: Adjust comment.
12247 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12248 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12249 (CFLAGS-interp.c): Likewise.
12250 (CFLAGS-ldconfig.c): Likewise.
12251 (CPPFLAGS-.os): Likewise.
12252 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12253 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12254 * extra-modules.mk (extra-modules.mk): Likewise.
12255 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12256 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12257 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12258 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12259 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12260 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12261 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12262 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12263 * iconvdata/Makefile (CPPFLAGS): Likewise.
12264 (cpp-srcs-left): Add libof for all iconvdata routines.
12265 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12266 * include/assert.h: Likewise.
12267 * include/ctype.h: Likewise.
12268 * include/errno.h: Likewise.
12269 * include/libc-symbols.h: Likewise.
12270 * include/math.h: Likewise.
12271 * include/netdb.h: Likewise.
12272 * include/resolv.h: Likewise.
12273 * include/stdio.h: Likewise.
12274 * include/stdlib.h: Likewise.
12275 * include/string.h: Likewise.
12276 * include/sys/stat.h: Likewise.
12277 * include/wctype.h: Likewise.
12278 * intl/l10nflist.c: Likewise.
12279 * libidn/idn-stub.c: Likewise.
12280 * libio/libioP.h: Likewise.
12281 * nptl/libc_multiple_threads.c: Likewise.
12282 * nptl/pthreadP.h: Likewise.
12283 * posix/regex_internal.h: Likewise.
12284 * resolv/res_hconf.c: Likewise.
12285 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12286 * sysdeps/arm/memmove.S: Likewise.
12287 * sysdeps/arm/sysdep.h: Likewise.
12288 * sysdeps/generic/_itoa.h: Likewise.
12289 * sysdeps/generic/symbol-hacks.h: Likewise.
12290 * sysdeps/gnu/errlist.awk: Likewise.
12291 * sysdeps/gnu/errlist.c: Likewise.
12292 * sysdeps/i386/i586/memcpy.S: Likewise.
12293 * sysdeps/i386/i586/memset.S: Likewise.
12294 * sysdeps/i386/i686/memcpy.S: Likewise.
12295 * sysdeps/i386/i686/memmove.S: Likewise.
12296 * sysdeps/i386/i686/mempcpy.S: Likewise.
12297 * sysdeps/i386/i686/memset.S: Likewise.
12298 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12299 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12300 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12301 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12302 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12303 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12304 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12305 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12306 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12307 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12308 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12309 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12310 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12311 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12312 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12313 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12314 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12315 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12316 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12317 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12318 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12319 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12320 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12321 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12322 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12323 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12324 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12327 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12328 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12329 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12330 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12331 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12332 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12334 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12335 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12336 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12337 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12338 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12339 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12340 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12342 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12343 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12344 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12345 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12346 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12347 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12348 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12349 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12350 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12351 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12352 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12353 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12354 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12355 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12356 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12357 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12358 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12359 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12360 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12361 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12362 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12363 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12364 * sysdeps/posix/closedir.c: Likewise.
12365 * sysdeps/posix/opendir.c: Likewise.
12366 * sysdeps/posix/readdir.c: Likewise.
12367 * sysdeps/posix/rewinddir.c: Likewise.
12368 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12369 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12370 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12371 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12372 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12373 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12374 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12375 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12377 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12379 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12380 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12381 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12382 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12383 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12384 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12385 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12386 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12387 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12388 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12390 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12392 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12393 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12394 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12395 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12396 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12397 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12398 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12399 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12400 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12402 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12403 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12404 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12406 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12407 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12408 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12409 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12410 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12411 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12412 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12413 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12414 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12415 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12416 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12417 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12418 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12419 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12420 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12421 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12422 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12423 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12424 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12425 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12426 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12427 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12428 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12430 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12432 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12433 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12434 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12435 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12436 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12437 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12438 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12440 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12441 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12442 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12443 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12444 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12445 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12447 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12448 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12449 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12450 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12452 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12453 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12454 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12455 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12456 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12457 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12458 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12459 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12460 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12461 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12462 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12463 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12464 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12466 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12467 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12468 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12469 * sysdeps/unix/alpha/sysdep.S: Likewise.
12470 * sysdeps/unix/alpha/sysdep.h: Likewise.
12471 * sysdeps/unix/make-syscalls.sh: Likewise.
12472 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12473 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12474 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12475 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12476 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12477 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12478 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12479 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12480 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12481 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12482 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12483 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12485 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12486 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12487 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12488 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12489 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12490 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12491 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12492 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12493 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12494 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12495 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12496 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12497 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12506 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12508 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12510 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12511 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12513 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12517 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12520 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12521 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12522 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12523 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12524 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12525 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12527 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12528 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12529 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12530 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12531 * sysdeps/x86_64/memcpy.S: Likewise.
12532 * sysdeps/x86_64/memmove.c: Likewise.
12533 * sysdeps/x86_64/memset.S: Likewise.
12534 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12535 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12536 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12537 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12538 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12539 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12540 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12541 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12542 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12543 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12544 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12545 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12546 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12547 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12548 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12549 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12550 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12551 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12552 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12553 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12554 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12555 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12556 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12557 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12558 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12559 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12560 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12561 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12562 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12563 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12564 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12565 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12566 * sysdeps/x86_64/strcmp.S: Likewise.
12568 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12570 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12571 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12572 * elf/rtld-Rules: Likewise.
12573 * elf/setup-vdso.h: Likewise.
12574 * include/assert.h: Likewise.
12575 * include/bits/stdlib-float.h: Likewise.
12576 * include/errno.h: Likewise.
12577 * include/sys/stat.h: Likewise.
12578 * include/unistd.h: Likewise.
12579 * sysdeps/aarch64/setjmp.S: Likewise.
12580 * sysdeps/alpha/setjmp.S: Likewise.
12581 * sysdeps/arm/__longjmp.S: Likewise.
12582 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12583 * sysdeps/arm/setjmp.S: Likewise.
12584 * sysdeps/arm/sysdep.h: Likewise.
12585 * sysdeps/generic/_itoa.h: Likewise.
12586 * sysdeps/generic/dl-sysdep.h: Likewise.
12587 * sysdeps/generic/ldsodefs.h: Likewise.
12588 * sysdeps/i386/dl-tls.h: Likewise.
12589 * sysdeps/i386/setjmp.S: Likewise.
12590 * sysdeps/m68k/setjmp.c: Likewise.
12591 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12592 * sysdeps/mach/hurd/opendir.c: Likewise.
12593 * sysdeps/posix/getcwd.c: Likewise.
12594 * sysdeps/posix/opendir.c: Likewise.
12595 * sysdeps/posix/profil.c: Likewise.
12596 * sysdeps/powerpc/dl-procinfo.h: Likewise.
12597 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12598 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12599 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12600 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12603 * sysdeps/s390/dl-tls.h: Likewise.
12604 * sysdeps/s390/s390-32/setjmp.S: Likewise.
12605 * sysdeps/s390/s390-64/setjmp.S: Likewise.
12606 * sysdeps/sh/sh3/setjmp.S: Likewise.
12607 * sysdeps/sh/sh4/setjmp.S: Likewise.
12608 * sysdeps/unix/alpha/sysdep.h: Likewise.
12609 * sysdeps/unix/arm/sysdep.S: Likewise.
12610 * sysdeps/unix/i386/sysdep.S: Likewise.
12611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12612 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12613 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12615 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12616 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12617 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12618 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12619 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12620 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12621 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12622 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12623 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12626 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12628 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12629 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12630 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12631 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12632 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12634 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12635 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12636 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12637 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12638 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12639 * sysdeps/x86_64/setjmp.S: Likewise.
12641 * include/math.h: Use IS_IN instead of IS_IN_libm.
12642 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12643 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12644 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12645 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12646 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12647 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12648 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12649 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12650 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12651 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12652 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12653 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12654 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12655 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12656 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12657 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12658 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12659 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12660 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12661 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12662 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12663 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12664 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12665 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12666 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12667 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12668 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12669 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12670 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12671 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12672 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12673 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12674 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12685 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12686 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12687 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12688 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12689 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12690 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12696 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12697 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12698 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12699 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12700 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12701 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12702 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12703 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12704 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12705 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12706 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12707 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12708 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12709 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12711 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12713 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12714 * nptl/pthreadP.h: Likewise.
12715 * nptl_db/structs.def: Likewise.
12716 * sysdeps/arm/sysdep.h: Likewise.
12717 * sysdeps/nptl/bits/libc-lock.h: Likewise.
12718 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12719 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12720 * sysdeps/unix/alpha/sysdep.h: Likewise.
12721 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12722 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12723 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12724 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12725 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12726 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12727 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12728 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12729 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12730 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12731 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12732 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12733 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12734 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12739 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12742 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12743 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12744 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12745 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12746 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12748 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12749 * nptl/pthreadP.h: Likewise.
12750 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12751 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12752 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12753 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12754 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12755 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12756 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12757 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12758 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12759 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12761 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12768 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12771 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12772 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12773 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12775 * dlfcn/dladdr.c: Use IS_IN.
12776 * dlfcn/dladdr1.c: Likewise.
12777 * dlfcn/dlclose.c: Likewise.
12778 * dlfcn/dlerror.c: Likewise.
12779 * dlfcn/dlinfo.c: Likewise.
12780 * dlfcn/dlmopen.c: Likewise.
12781 * dlfcn/dlopen.c: Likewise.
12782 * dlfcn/dlsym.c: Likewise.
12783 * dlfcn/dlvsym.c: Likewise.
12785 * include/ifaddrs.h: Use IS_IN.
12786 * inet/check_pf.c: Likewise.
12787 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12788 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12790 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12792 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12793 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12795 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12796 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12799 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12801 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12802 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12803 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12804 * include/libc-symbols.h (IS_IN_LIB): New macro.
12805 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12806 * include/netdb.h: Likewise.
12807 * include/stap-probe.h: Remove all uses of IN_LIB.
12809 * Makeconfig (module-cppflags-real): Define MODULE_NAME
12810 instead of IN_MODULE.
12811 * include/libc-symbols.h (IN_MODULE): Define using
12813 (PASTE_NAME, PASTE_NAME1): New macros.
12814 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12816 (STAP_PROBE_ASM): Likewise.
12818 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
12820 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12821 __mach_init in dlopened libc.
12823 2014-11-22 Mike Frysinger <vapier@gentoo.org>
12825 * sysdeps/arm/preconfigure.ac: Delete EABI check.
12826 * sysdeps/arm/preconfigure: Regenerate.
12828 2014-11-21 Roland McGrath <roland@hack.frob.com>
12830 * nptl/pthread_create.c (__pthread_create_2_1): Set
12831 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12832 when copying values from IATTR into PD.
12834 2014-11-21 Will Newton <will.newton@linaro.org>
12835 Andrew Pinski <andrew.pinski@caviumnetworks.com>
12837 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12838 Refactor inline-asm. Also add comment.
12840 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12841 ElfW macro instead of hardcoded Elf64 types.
12842 (la_aarch64_gnu_pltenter): Likewise.
12843 * sysdeps/aarch64/dl-machine.h
12844 (elf_machine_runtime_setup): Use ElfW(Addr).
12846 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12847 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12848 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12849 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12850 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12851 (R_AARCH64_TLS_DTPMOD64): Rename to ..
12852 (R_AARCH64_TLS_DTPMOD): This.
12853 (R_AARCH64_TLS_DTPREL64): Rename to ...
12854 (R_AARCH64_TLS_DTPREL): This.
12855 (R_AARCH64_TLS_TPREL64): Rename to ...
12856 (R_AARCH64_TLS_TPREL): This.
12857 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12858 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12859 R_AARCH64_TLS_TPREL64.
12860 (elf_machine_rela): Likewise.
12862 2014-11-21 Torvald Riegel <triegel@redhat.com>
12864 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12865 by setting it to 0. 64b atomics are not supported currently.
12867 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12870 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12871 search domain names.
12873 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12877 * resolv/res_query.c (__libc_res_nquerydomain): Retain
12879 * posix/tst-getaddrinfo5.c: New.
12880 * posix/Makefile (tests): Add it.
12882 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12886 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12887 after parsing line but before break_if_match.
12888 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12889 if there is a protocol mismatch.
12891 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12893 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12894 because the potential race is on the user-supplied stream.
12896 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12898 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12899 string literal if not passed a buffer.
12900 * manual/job.texi (ctermid): Update reasoning, note deviation
12901 from posix, suggest mtasurace when not passed a buffer, for
12902 future non-preliminary safety notes.
12904 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12906 * manual/users.texi (cuserid): Fix MT-Safety note for the case
12907 of not passing it a buffer.
12908 Reported by Peng Haitao.
12910 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
12912 * manual/Makefile ($(objpfx)stamp-summary): Require
12913 check-safety.sh to pass.
12914 * manual/check-safety.sh: Wish for verification that every
12915 @deftypefn and @deftypefun is followed by a @safety remark.
12917 2014-11-20 Roland McGrath <roland@hack.frob.com>
12919 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12921 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12922 PTHREAD_CANCEL_ASYNCHRONOUS.
12923 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12926 * nptl/default-sched.h: New file.
12927 * sysdeps/unix/sysv/linux/default-sched.h: New file.
12928 * nptl/pthread_create.c: Include it.
12929 (__pthread_create_2_1): Use collect_default_sched instead of making
12930 Linux syscalls here directly.
12932 2014-11-20 Torvald Riegel <triegel@redhat.com>
12934 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12935 __pthread_once): Use C11 atomics.
12937 2014-11-20 Torvald Riegel <triegel@redhat.com>
12939 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12941 2014-11-20 Torvald Riegel <triegel@redhat.com>
12943 * include/atomic.h (__atomic_link_error, __atomic_check_size,
12944 atomic_thread_fence_acquire, atomic_thread_fence_release,
12945 atomic_thread_fence_seq_cst, atomic_load_relaxed,
12946 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12947 atomic_compare_exchange_weak_relaxed,
12948 atomic_compare_exchange_weak_acquire,
12949 atomic_compare_exchange_weak_release,
12950 atomic_exchange_acquire, atomic_exchange_release,
12951 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12952 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12953 atomic_fetch_and_acquire,
12954 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12956 2014-11-20 Torvald Riegel <triegel@redhat.com>
12958 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12959 USE_ATOMIC_COMPILER_BUILTINS): Define.
12960 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12961 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12962 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12963 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12964 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12965 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12966 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12967 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12968 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12969 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12970 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12971 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12972 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12973 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12974 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12976 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12978 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12979 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12980 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12982 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12984 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12986 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12988 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12990 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12992 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12994 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12995 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12996 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12998 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13001 2014-11-19 Roland McGrath <roland@hack.frob.com>
13003 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13004 the sched_priority value here. It was already checked when the user
13005 called pthread_attr_setschedparam.
13007 * nptl/tst-bad-schedattr.c: New file.
13008 * nptl/Makefile (tests): Add it.
13010 2014-11-19 Carlos O'Donell <carlos@redhat.com>
13011 Florian Weimer <fweimer@redhat.com>
13012 Joseph Myers <joseph@codesourcery.com>
13013 Adam Conrad <adconrad@0c3.net>
13014 Andreas Schwab <schwab@suse.de>
13015 Brooks <bmoses@google.com>
13018 * wordexp-test.c (__dso_handle): Add prototype.
13019 (__register_atfork): Likewise.
13020 (__app_register_atfork): New function.
13021 (registered_forks): New global.
13022 (register_fork): New function.
13023 (test_case): Add 3 new tests for WRDE_CMDSUB.
13024 (main): Call __app_register_atfork.
13025 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13026 fork count is non-zero fail the test.
13027 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13029 (parse_dollars): Remove check for WRDE_NOCMD.
13030 (parse_dquote): Likewise.
13032 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13034 * Makeconfig (built-modules): List non-library modules to be
13036 (module-cppflags): Include libc-modules.h for
13037 everything except shlib-versions.v.i.
13038 (CPPFLAGS): Use it.
13039 (before-compile): Add libc-modules.h.
13040 ($(common-objpfx)libc-modules.h,
13041 $(common-objpfx)libc-modules.stmp): New targets.
13042 (common-generated): Add libc-modules.h and libc-modules.stmp.
13043 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13044 * include/libc-symbols.h: Don't include libc-modules.h.
13045 * include/libc-modules.h: Remove file.
13046 * scripts/gen-libc-modules.awk: New script to generate
13048 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13049 Depend on libc-modules.stmp.
13051 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13053 * Makeconfig (in-module): Get value of libof set for the
13055 (CPPFLAGS): Use $(in-module).
13056 * Makerules: Don't suffix routine names for nonlib.
13057 * include/libc-modules.h: New file.
13058 * include/libc-symbols.h: Include libc-modules.h
13059 (IS_IN): New macro to replace IS_IN_* macros.
13060 * elf/Makefile: Set libof-* for each routine.
13061 * elf/rtld-Rules: Likewise.
13062 * extra-modules.mk: Likewise.
13063 * iconv/Makefile: Likewise.
13064 * iconvdata/Makefile: Likewise.
13065 * locale/Makefile: Likewise.
13066 * malloc/Makefile: Likewise.
13067 * nss/Makefile: Likewise.
13068 * sysdeps/gnu/Makefile: Likewise.
13069 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13070 * sysdeps/unix/sysv/linux/Makefile: Likewise.
13071 * sysdeps/s390/s390-64/Makefile: Likewise.
13072 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
13073 CPPFLAGS for nscd instead of nonlib.
13075 2014-11-18 Roland McGrath <roland@hack.frob.com>
13077 * nptl/createthread.c: New file.
13079 * nptl/createthread.c: Moved ...
13080 * sysdeps/unix/sysv/linux/createthread.c: ... here.
13082 * nptl/createthread.c: Add proper top-line comment.
13083 (do_clone): Folded into ...
13084 (create_thread): ... here. Take new arguments STOPPED_START and
13085 THREAD_RAN. Always set PD->stopped_start to something here. Don't
13086 increment __nptl_threads, do event-reporting logic, do
13087 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13088 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
13089 resource cleanup if sched_setaffinity or sched_setscheduler fails,
13090 just send SIGCANCEL.
13091 * nptl/pthread_create.c: Forward-declare create_thread before
13092 including createthread.c.
13093 (start_thread): Use new macro START_THREAD_DEFN to replace defining
13094 declaration, and new macro START_THREAD_SELF to replace argument.
13095 Remove return statement.
13096 (report_thread_creation): New function.
13097 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
13098 synchronization logic, and __nptl_nthreads increment here, around
13099 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
13100 PD->parent_cancelhandling here, before create_thread. When
13101 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13102 __deallocate_stack, and ENOMEM translation here.
13104 2014-11-18 Joseph Myers <joseph@codesourcery.com>
13107 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13108 (mptwo): Rename to __mptwo.
13109 (__inv): Use __mptwo instead of mptwo.
13110 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13111 (mptwo): Rename to __mptwo.
13112 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13113 of mpone and __mptwo instead of mptwo.
13114 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13116 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13117 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13118 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13119 of mpone and __mptwo instead of mptwo.
13120 (__mpranred): Use __mpone instead of mpone.
13121 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13123 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13124 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13125 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13126 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13127 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13128 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13129 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13130 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13131 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13132 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13133 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13134 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13135 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13136 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13137 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13138 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13139 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13140 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13141 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13143 2014-11-18 Tom de Vries <tom@codesoucery.com>
13145 * manual/signal.texi (Primitives Interrupted by Signals): In section,
13146 replace BSD Handler xref with BSD Signal Handling.
13148 2014-11-17 Richard Henderson <rth@redhat.com>
13150 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13151 (_FP_PACK_RAW_2): Remove.
13152 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13153 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13154 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13155 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13156 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13157 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13158 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13159 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13160 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13161 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13162 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13163 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13164 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13165 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13166 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13167 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13169 2014-11-14 Roland McGrath <roland@hack.frob.com>
13171 * signal/signal.h [__USE_MISC]
13172 (struct sigvec): Remove type.
13173 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13174 (sigvec): Remove declaration.
13175 * sysdeps/posix/sigvec.c: Moved ...
13176 * signal/sigvec.c: ... here, replacing old file.
13177 (struct sigvec): New type, copied from old signal.h definition.
13178 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13179 (__sigvec): Convert definition to prototype.
13180 (sigvec): Replace weak_alias with compat_symbol.
13181 * signal/Versions (libc: GLIBC_2.21): New version set.
13182 * include/signal.h: Remove __sigvec declaration.
13183 * sysdeps/unix/bsd/sigvec.c: Remove file.
13184 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13185 * manual/signal.texi (BSD Handler): Remove subsection.
13186 Move siginterrupt up to ...
13187 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
13188 (Blocking in BSD): Fold subsection into its parent.
13189 * NEWS: Mention sigvec removal.
13191 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13193 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13194 (DLA_FMS): Make definition conditional only on [__FMA4__].
13195 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13198 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13199 Make definition conditional only on [PROF].
13200 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13202 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13203 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13205 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13207 * include/signal.h (__sigpause): Move declaration above call to
13209 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13211 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13212 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13214 2014-11-14 David S. Miller <davem@davemloft.net>
13216 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13217 Define before including <string/memcpy.c> and <string/mempcpy.c>.
13219 2014-11-14 Joseph Myers <joseph@codesourcery.com>
13221 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13222 * configure: Regenerated.
13223 * manual/install.texi (Tools for Compilation): Document a
13224 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13225 compiler verified to work.
13226 * INSTALL: Regenerated.
13228 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13229 redeclare with asm name.
13230 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13231 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13232 including <string.h>.
13233 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13234 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13235 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13236 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13237 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13238 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13239 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13241 2014-11-13 Joseph Myers <joseph@codesourcery.com>
13243 * stdlib/strtol.c (__strtol): Use prototype definition.
13246 * stdlib/strtol.c (SYM__): New macro.
13247 (SYM__1): Likewise.
13248 (__strtol): Likewise.
13249 (strtol): Rename to __strtol and define as weak alias of
13250 __strtol. Use libc_hidden_weak.
13252 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13254 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13255 Use numbered labels in inline assembly.
13257 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13259 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13260 Add setjmp LIBC_PROBE.
13261 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13263 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13264 Add longjmp, longjmp_target LIBC_PROBE.
13265 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13268 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13270 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13271 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13272 to get rid of unused variable warning.
13274 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13276 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13277 Check for unwind_backtrace == NULL only in SHARED case.
13278 (__backchain_backtrace): Compile only in SHARED case.
13279 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13281 (__backchain_backtrace): Declare as static.
13283 2014-11-12 Roland McGrath <roland@hack.frob.com>
13285 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13286 (__libc_multiple_threads_ptr): Variable moved ...
13287 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13289 2014-11-12 Joseph Myers <joseph@codesourcery.com>
13291 * conform/GlibcConform.pm: New file.
13292 * conform/conformtest.pl: Use GlibcConform module.
13293 * conform/linknamespace.pl: New file.
13294 * conform/list-header-symbols.pl: Likewise.
13295 * conform/Makefile (linknamespace-symlists-base): New variable.
13296 (linknamespace-symlists-tests): Likewise.
13297 (linknamespace-header-base): Likewise.
13298 (linknamespace-header-tests): Likewise.
13299 (tests-special): Add new tests.
13300 ($(linknamespace-symlists-tests)): New rule.
13301 (linknamespace-libs): New variable.
13302 ($(objpfx)symlist-stdlibs): New rule.
13303 ($(linknamespace-header-tests)): Likewise.
13304 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13305 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13306 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13307 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13308 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13309 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13310 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13311 (test-xfail-ISO/math.h/linknamespace): Likewise.
13312 (test-xfail-ISO/signal.h/linknamespace): Likewise.
13313 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13314 (test-xfail-ISO/time.h/linknamespace): Likewise.
13315 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13316 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13317 (test-xfail-ISO99/math.h/linknamespace): Likewise.
13318 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13319 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13320 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13321 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13322 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13323 (test-xfail-ISO11/math.h/linknamespace): Likewise.
13324 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13325 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13326 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13327 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13328 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13329 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13330 (test-xfail-XPG3/math.h/linknamespace): Likewise.
13331 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13332 (test-xfail-XPG3/search.h/linknamespace): Likewise.
13333 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13334 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13335 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13336 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13337 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13338 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13339 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13340 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13341 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13342 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13343 (test-xfail-XPG4/math.h/linknamespace): Likewise.
13344 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13345 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13346 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13347 (test-xfail-XPG4/search.h/linknamespace): Likewise.
13348 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13349 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13350 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13351 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13352 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13353 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13354 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13355 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13356 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13357 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13358 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13359 (test-xfail-POSIX/math.h/linknamespace): Likewise.
13360 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13361 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13362 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13363 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13364 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13365 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13366 (test-xfail-POSIX/time.h/linknamespace): Likewise.
13367 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13368 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13369 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13370 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13371 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13372 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13373 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13374 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13375 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13376 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13377 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13378 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13379 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13380 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13381 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13382 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13383 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13384 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13385 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13386 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13387 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13388 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13389 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13390 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13391 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13392 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13393 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13394 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13395 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13396 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13397 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13398 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13399 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13400 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13401 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13402 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13403 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13404 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13405 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13406 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13407 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13408 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13409 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13410 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13411 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13412 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13413 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13414 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13415 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13416 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13417 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13418 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13419 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13420 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13421 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13422 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13423 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13424 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13425 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13426 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13427 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13428 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13429 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13430 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13431 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13432 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13433 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13434 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13435 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13436 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13437 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13438 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13439 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13440 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13441 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13442 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13443 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13444 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13445 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13446 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13447 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13448 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13449 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13450 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13451 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13452 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13453 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13454 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13455 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13456 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13457 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13458 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13459 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13460 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13461 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13462 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13463 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13464 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13467 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13471 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13472 (memmem): Rename to __memmem and define as weak alias of
13473 __memmem. Use libc_hidden_weak.
13474 (__memmem): Use libc_hidden_def.
13475 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
13476 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13480 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13481 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
13482 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13483 and define as weak alias of __fgets_unlocked. Use
13485 (__fgets_unlocked): Use libc_hidden_def.
13486 * include/stdio.h (__fgets_unlocked): Declare. Use
13488 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13489 __fgets_unlocked instead of fgets_unlocked.
13490 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13491 (GET_NPROCS_CONF_PARSER): Likewise.
13492 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13493 (GET_NPROCS_CONF_PARSER): Likewise.
13496 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13497 weak alias of __wmemset. Use libc_hidden_weak.
13498 (__wmemset): Use libc_hidden_def.
13499 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
13500 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13504 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13505 with asm name __mempcpy.
13506 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13509 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13510 and define as weak alias of __rawmemchr.
13511 (__rawmemchr): Do not define as strong alias of rawmemchr.
13514 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13515 alias of __qsort_r.
13516 (qsort): Call __qsort_r instead of qsort_r.
13517 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13518 (__qsort_r): Declare. Call libc_hidden_proto.
13519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13520 instead of qsort_r.
13521 * nscd/gai.c (__qsort_r): Define to qsort_r.
13522 * posix/tst-rfc3484.c (__qsort_r): Likewise.
13523 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13524 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13527 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13528 define as weak alias of __malloc_info.
13531 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13532 as weak alias of __rewinddir. Don't use libc_hidden_def.
13533 (__rewinddir): Use libc_hidden_def.
13534 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13535 as weak alias of __rewinddir. Don't use libc_hidden_def.
13536 (__rewinddir): Use libc_hidden_def.
13537 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13538 weak alias of __rewinddir. Don't use libc_hidden_def.
13539 (__rewinddir): Use libc_hidden_def.
13540 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13541 (__rewinddir): Use libc_hidden_proto.
13542 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13544 (__getcwd): Use __rewinddir instead of rewinddir.
13547 * libio/fileno.c (fileno): Rename to __fileno and define as weak
13548 alias of __fileno. Use libc_hidden_weak.
13549 (__fileno): Use libc_hidden_def.
13550 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13551 * libio/ftello.c (ftello): Rename to __ftello and define as weak
13553 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13555 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13556 (__fread_unlocked): Define as strong alias of _IO_fread. Use
13558 (fread_unlocked): Don't use libc_hidden_ver.
13559 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13560 and define as weak alias of __fread_unlocked. Don't use
13562 (__fread_unlocked): Use libc_hidden_def.
13563 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
13564 (ftello): Don't use libc_hidden_proto.
13565 (__ftello): Declare. Use libc_hidden_proto.
13566 (fread_unlocked): Don't use libc_hidden_proto.
13567 (__fread_unlocked): Declare. Use libc_hidden_proto.
13568 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13569 and __ftello instead of fileno, fread_unlocked and ftello.
13571 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13573 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13575 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13577 (_dl_start_user): Likewise.
13578 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13580 2014-11-12 Carlos O'Donell <carlos@redhat.com>
13581 Siddhesh Poyarekar <siddhesh@redhat.com>
13583 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13584 Move argv and envp down instead of moving argc up.
13585 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13587 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
13590 * test-skeleton.c (main): Return successful if one of
13591 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13592 * string/tst-strcoll-overflow.c: Define expected status.
13594 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
13597 * locale/iso-639.def: Define Bhili and Tulu language codes.
13599 2014-11-11 Alan Hayward <alan.hayward@arm.com>
13601 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13603 2014-11-10 Renlin Li <Renlin.Li@arm.com>
13606 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13608 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
13610 * configure.ac: Updated check of minimal required version to
13612 * manual/install.texi (Tools for Compilation): Updated version
13614 * configure: Regenerated.
13615 * INSTALL: Likewise.
13617 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
13619 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13622 2014-11-07 Joseph Myers <joseph@codesourcery.com>
13624 * include/sys/wait.h (__libc_waitpid): Remove declaration.
13625 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13626 (__waitpid): Don't define as alias. Use libc_hidden_def not
13628 (waitpid): Define as alias of __waitpid.
13629 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13631 (__waitpid): Don't define as alias. Use libc_hidden_def not
13633 (waitpid): Define as alias of __waitpid.
13634 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13635 __libc_waitpid alias.
13636 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13637 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13639 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13640 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13641 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13643 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13645 (__waitpid): Don't define as alias. Use libc_hidden_def not
13647 (waitpid): Define as alias of __waitpid.
13649 2014-11-06 Carlos O'Donell <carlos@redhat.com>
13651 * manual/llio.texi: Add comment that write safety has been
13654 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13655 (localplt-build-dso): Add elf/ld.so.
13656 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13657 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13658 and free for ld.so.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13660 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13665 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13666 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13667 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13668 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13669 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13670 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13671 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13672 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13673 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13674 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13675 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13677 2014-11-05 Joseph Myers <joseph@codesourcery.com>
13680 * include/libc-symbols.h (INTUSE): Remove macro.
13681 (INTDEF): Likewise.
13682 (INTVARDEF): Likewise.
13683 (_INTVARDEF): Likewise.
13684 (INTDEF2): Likewise.
13685 (INTVARDEF2): Likewise.
13686 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13687 rtld_hidden_def instead of INTVARDEF.
13688 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13689 (_dl_starting_up_internal): Remove declaration.
13690 (_dl_starting_up): Use rtld_hidden_proto.
13691 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13693 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13694 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13696 * elf/dl-writev.h (_dl_writev): Likewise.
13697 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13698 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13699 _dl_starting_up_internal.
13701 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13703 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13706 2014-11-05 Will Newton <will.newton@linaro.org>
13708 * benchtests/Makefile: (bench-malloc): Add malloc thread
13709 scalability benchmark.
13710 * benchtests/bench-malloc-threads.c: New file.
13712 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
13714 * sysdeps/aarch64/strchrnul.S: New file.
13716 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13718 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13720 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13724 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13726 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13728 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13731 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
13733 * catgets/test-gencat.c: Use test-skeleton.c.
13734 * catgets/tst-catgets.c: Likewise.
13735 * csu/tst-empty.c: Likewise.
13736 * elf/tst-audit2.c: Likewise.
13737 * elf/tst-global1.c: Likewise.
13738 * elf/tst-pathopt.c: Likewise.
13739 * elf/tst-piemod1.c: Likewise.
13740 * elf/tst-tls10.c: Likewise.
13741 * elf/tst-tls11.c: Likewise.
13742 * elf/tst-tls12.c: Likewise.
13743 * gnulib/tst-gcc.c: Likewise.
13744 * iconvdata/tst-e2big.c: Likewise.
13745 * iconvdata/tst-loading.c: Likewise.
13746 * iconv/tst-iconv1.c: Likewise.
13747 * iconv/tst-iconv2.c: Likewise.
13748 * inet/test-inet6_opt.c: Likewise.
13749 * inet/tst-gethnm.c: Likewise.
13750 * inet/tst-network.c: Likewise.
13751 * inet/tst-ntoa.c: Likewise.
13752 * intl/tst-codeset.c: Likewise.
13753 * intl/tst-gettext2.c: Likewise.
13754 * intl/tst-gettext3.c: Likewise.
13755 * intl/tst-ngettext.c: Likewise.
13756 * intl/tst-translit.c: Likewise.
13757 * io/test-stat.c: Likewise.
13758 * libio/test-fmemopen.c: Likewise.
13759 * libio/tst-freopen.c: Likewise.
13760 * libio/tst-sscanf.c: Likewise.
13761 * libio/tst-ungetwc1.c: Likewise.
13762 * libio/tst-ungetwc2.c: Likewise.
13763 * libio/tst-widetext.c: Likewise.
13764 * localedata/tst-ctype.c: Likewise.
13765 * localedata/tst-digits.c: Likewise.
13766 * localedata/tst-leaks.c: Likewise.
13767 * localedata/tst-mbswcs1.c: Likewise.
13768 * localedata/tst-mbswcs2.c: Likewise.
13769 * localedata/tst-mbswcs3.c: Likewise.
13770 * localedata/tst-mbswcs4.c: Likewise.
13771 * localedata/tst-mbswcs5.c: Likewise.
13772 * localedata/tst-setlocale.c: Likewise.
13773 * localedata/tst-trans.c: Likewise.
13774 * localedata/tst-wctype.c: Likewise.
13775 * localedata/tst-xlocale1.c: Likewise.
13776 * login/tst-grantpt.c: Likewise.
13777 * malloc/tst-calloc.c: Likewise.
13778 * malloc/tst-malloc.c: Likewise.
13779 * malloc/tst-mallocstate.c: Likewise.
13780 * malloc/tst-mcheck.c: Likewise.
13781 * malloc/tst-mtrace.c: Likewise.
13782 * malloc/tst-obstack.c: Likewise.
13783 * math/atest-exp2.c: Likewise.
13784 * math/atest-exp.c: Likewise.
13785 * math/atest-sincos.c: Likewise.
13786 * math/test-matherr.c: Likewise.
13787 * math/test-misc.c: Likewise.
13788 * math/test-powl.c: Likewise.
13789 * math/tst-definitions.c: Likewise.
13790 * misc/tst-dirname.c: Likewise.
13791 * misc/tst-efgcvt.c: Likewise.
13792 * misc/tst-fdset.c: Likewise.
13793 * misc/tst-hsearch.c: Likewise.
13794 * misc/tst-mntent2.c: Likewise.
13795 * nptl/tst-sem7.c: Likewise.
13796 * nptl/tst-sem8.c: Likewise.
13797 * nptl/tst-sem9.c: Likewise.
13798 * nss/test-netdb.c: Likewise.
13799 * posix/tst-fnmatch.c: Likewise.
13800 * posix/tst-getlogin.c: Likewise.
13801 * posix/tst-gnuglob.c: Likewise.
13802 * posix/tst-mmap.c: Likewise.
13803 * pwd/tst-getpw.c: Likewise.
13804 * resolv/tst-inet_ntop.c: Likewise.
13805 * rt/tst-timer.c: Likewise.
13806 * stdio-common/test-fseek.c: Likewise.
13807 * stdio-common/test-popen.c: Likewise.
13808 * stdio-common/test-vfprintf.c: Likewise.
13809 * stdio-common/tst-cookie.c: Likewise.
13810 * stdio-common/tst-fileno.c: Likewise.
13811 * stdio-common/tst-gets.c: Likewise.
13812 * stdio-common/tst-obprintf.c: Likewise.
13813 * stdio-common/tst-perror.c: Likewise.
13814 * stdio-common/tst-sprintf2.c: Likewise.
13815 * stdio-common/tst-sprintf3.c: Likewise.
13816 * stdio-common/tst-sprintf.c: Likewise.
13817 * stdio-common/tst-swprintf.c: Likewise.
13818 * stdio-common/tst-tmpnam.c: Likewise.
13819 * stdio-common/tst-unbputc.c: Likewise.
13820 * stdio-common/tst-wc-printf.c: Likewise.
13821 * stdlib/tst-environ.c: Likewise.
13822 * stdlib/tst-fmtmsg.c: Likewise.
13823 * stdlib/tst-limits.c: Likewise.
13824 * stdlib/tst-rand48-2.c: Likewise.
13825 * stdlib/tst-rand48.c: Likewise.
13826 * stdlib/tst-random2.c: Likewise.
13827 * stdlib/tst-random.c: Likewise.
13828 * stdlib/tst-strtol.c: Likewise.
13829 * stdlib/tst-strtoll.c: Likewise.
13830 * stdlib/tst-tls-atexit.c: Likewise.
13831 * stdlib/tst-xpg-basename.c: Likewise.
13832 * string/test-ffs.c: Likewise.
13833 * string/tst-bswap.c: Likewise.
13834 * string/tst-inlcall.c: Likewise.
13835 * string/tst-strtok.c: Likewise.
13836 * string/tst-strxfrm.c: Likewise.
13837 * sysdeps/x86_64/tst-audit10.c: Likewise.
13838 * sysdeps/x86_64/tst-audit3.c: Likewise.
13839 * sysdeps/x86_64/tst-audit4.c: Likewise.
13840 * sysdeps/x86_64/tst-audit5.c: Likewise.
13841 * time/tst-ftime_l.c: Likewise.
13842 * time/tst-getdate.c: Likewise.
13843 * time/tst-mktime3.c: Likewise.
13844 * time/tst-mktime.c: Likewise.
13845 * time/tst-posixtz.c: Likewise.
13846 * time/tst-strptime2.c: Likewise.
13847 * time/tst-strptime3.c: Likewise.
13848 * wcsmbs/tst-btowc.c: Likewise.
13849 * wcsmbs/tst-mbrtowc.c: Likewise.
13850 * wcsmbs/tst-mbsrtowcs.c: Likewise.
13851 * wcsmbs/tst-wchar-h.c: Likewise.
13852 * wcsmbs/tst-wcpncpy.c: Likewise.
13853 * wcsmbs/tst-wcrtomb.c: Likewise.
13854 * wcsmbs/tst-wcsnlen.c: Likewise.
13855 * wcsmbs/tst-wcstof.c: Likewise.
13857 2014-11-04 Joseph Myers <joseph@codesourcery.com>
13860 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13862 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13864 (_dl_mcount): Use rtld_hidden_proto.
13865 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13867 * elf/rtld.c (_rtld_global_ro): Likewise.
13870 * elf/dl-init.c (_dl_init): Don't use INTDEF.
13871 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13872 of _dl_init_internal.
13873 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13874 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13875 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13876 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13877 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13878 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13879 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13880 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13881 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13882 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13883 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13884 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13885 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13886 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13887 * sysdeps/tile/dl-start.S (_start): Likewise.
13888 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13889 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13892 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13893 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13894 (rtld_progname): Make macro definition unconditional.
13895 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13897 (dlmopen_doit): Do not use INTUSE with _dl_argv.
13898 (dl_main): Likewise.
13899 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13900 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13901 instead of _dl_argv_internal.
13902 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13903 __GI__dl_argv instead of INTUSE(_dl_argv).
13904 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13905 __GI__dl_argv instead of _dl_argv_internal.
13907 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13908 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13910 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13911 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13913 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13914 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13916 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13917 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13919 2014-11-04 Andreas Schwab <schwab@suse.de>
13921 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13923 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13925 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13926 mtvsrd instruction in binary form.
13928 2014-11-03 Andreas Schwab <schwab@suse.de>
13931 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13932 for less than MB_LEN_MAX use a local buffer of that size.
13933 * libio/tst-fputws.c: New file.
13934 * libio/Makefile (tests): Add tst-fputws.
13936 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
13938 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13939 the size of the fpu_fr.fpu_dregs[] array.
13941 2014-11-01 Joseph Myers <joseph@codesourcery.com>
13943 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13944 (__nanosleep): Do not define as alias.
13945 (nanosleep): Define as alias of __nanosleep.
13946 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13947 __libc_nanosleep name.
13949 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13951 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13952 install.texi in comment.
13954 2014-10-31 Torvald Riegel <triegel@redhat.com>
13956 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13957 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13958 ... add here and use lwsync or sync ...
13959 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13960 ... and add here using lwsync.
13962 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
13964 * elf/dl-machine-reject-phdr.h: New file.
13965 * elf/dl-load.c: #include that.
13966 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13967 if that returned true.
13969 2014-10-31 Roland McGrath <roland@hack.frob.com>
13972 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13973 gen-as-const-headers chunk. Add a big scare comment after the last
13974 safe place to touch before-compile.
13976 2014-10-31 Joseph Myers <joseph@codesourcery.com>
13978 * manual/install.texi (Tools for Compilation): Update autoconf
13979 version requirements.
13980 * INSTALL: Regenerated.
13982 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13983 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13984 (__libc_pselect): Likewise.
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13992 2014-10-31 Torvald Riegel <triegel@redhat.com>
13994 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13995 correct barrier instruction.
13996 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13998 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14001 2014-10-30 Roland McGrath <roland@hack.frob.com>
14003 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14004 after defining inlines. Instead, just use parens to defeat macro
14005 expansion of __isctype in its declaration.
14007 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14009 * include/sys/uio.h (__libc_readv): Remove declaration.
14010 (__libc_writev): Likewise.
14011 * misc/readv.c (__libc_readv): Rename to __readv.
14012 (__readv): Do not define as alias.
14013 (readv): Define as alias of __readv.
14014 * misc/writev.c (__libc_writev): Rename to __writev.
14015 (__writev): Do not define as alias.
14016 (writev): Define as alias of __writev.
14017 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14018 (__readv): Do not define as alias.
14019 (readv): Define unconditionally as alias of __readv.
14020 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14021 (__writev): Do not define as alias.
14022 (writev): Define unconditionally as alias of __writev.
14023 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14025 (writev): Do not define __libc_writev name.
14027 2014-10-30 Roland McGrath <roland@hack.frob.com>
14029 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14030 (convert_charseq): New function, broken out of ...
14031 (use_from_charmap): ... here. Call it.
14032 (use_to_charmap): Use convert_charseq and free instead of duplicating
14033 its code with a variable-length stack struct.
14035 2014-10-30 Joseph Myers <joseph@codesourcery.com>
14037 * include/fcntl.h (__libc_creat): Remove declaration.
14038 * io/creat.c (__libc_creat): Rename to creat.
14039 (creat): Do not define as alias.
14040 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14041 of creat instead of __libc_creat.
14042 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14044 (creat): Do not define as alias.
14045 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14047 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14049 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14052 2014-10-29 Carlos O'Donell <carlos@redhat.com>
14054 * manual/llio.texi: Add comments discussing why write() may be
14055 considered MT-unsafe on Linux.
14057 2014-10-28 Carlos O'Donell <carlos@redhat.com>
14059 * dl-load.c (local_strdup): Remove.
14060 (expand_dynamic_string_token): Use __strdup.
14061 (decompose_rpath): Likewise.
14062 (_dl_map_object): Likewise.
14064 2014-10-28 Joseph Myers <joseph@codesourcery.com>
14067 * sysdeps/generic/unwind-dw2-fde.c
14068 (__register_frame_info_bases_internal): Do not declare.
14069 (__register_frame_info_table_bases_internal): Likewise.
14070 (__deregister_frame_info_bases_internal): Likewise.
14071 (__register_frame_info_bases): Declare and use hidden_proto before
14072 definition. Use hidden_def instead of INTDEF.
14073 (__register_frame_info_table_bases): Likewise.
14074 (__deregister_frame_info_bases): Likewise.
14075 (__register_frame_info): Do not use INTUSE.
14076 (__register_frame): Likewise.
14077 (__register_frame_info_table): Likewise.
14078 (__register_frame_table): Likewise.
14079 (__deregister_frame_info): Likewise.
14080 (__deregister_frame): Likewise.
14082 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
14084 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14085 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14087 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14089 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14092 2014-10-27 Joseph Myers <joseph@codesourcery.com>
14095 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14096 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14097 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14098 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14099 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14100 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14101 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14102 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14103 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14104 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14105 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14106 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14107 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14109 (setfsuid): Likewise.
14110 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14111 (setfsuid): Likewise.
14112 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14113 (setfsuid): Likewise.
14114 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14116 (setfsuid): Likewise.
14117 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14118 (setfsuid): Likewise.
14119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14121 (setfsuid): Likewise.
14123 2014-10-27 Andreas Schwab <schwab@suse.de>
14126 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14127 check for Slow_SSE4_2 feature bit.
14128 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14129 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14130 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14131 Likewise. Fix check for Fast_Unaligned_Load feature bit.
14133 2014-10-24 Roland McGrath <roland@hack.frob.com>
14135 * configure.ac: Validate compiler version with a empirical test of
14136 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14138 * configure: Regenerated.
14140 * inet/htons.c (htons): Prototypify.
14141 * inet/htonl.c (htonl): Likewise.
14143 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14145 * string/strncat.c (strncat): Improve performance by using strlen.
14147 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14149 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14151 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14153 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14154 Call libc_fetestexcept_aarch64.
14156 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14158 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14159 Call libc_feholdexcept_aarch64.
14161 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14163 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14164 Call get_rounding_mode.
14166 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14168 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14171 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
14173 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14176 2014-10-24 Joseph Myers <joseph@codesourcery.com>
14179 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14180 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14181 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14182 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14183 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14184 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14185 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14186 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14187 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14188 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14189 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14190 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14191 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14192 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14193 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14194 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14195 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14196 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14197 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14198 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14199 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14200 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14201 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14202 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14203 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14204 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14205 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14206 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14207 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14208 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14209 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14210 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14211 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14212 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14213 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14214 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14215 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14216 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14217 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14218 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14219 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14221 (geteuid): Likewise.
14222 (getgid): Likewise.
14223 (getuid): Likewise.
14224 (getresgid): Likewise.
14225 (getresuid): Likewise.
14226 (getgroups): Likewise.
14227 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14228 (geteuid): Likewise.
14229 (getgid): Likewise.
14230 (getuid): Likewise.
14231 (getresgid): Likewise.
14232 (getresuid): Likewise.
14233 (getgroups): Likewise.
14234 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14235 (geteuid): Likewise.
14236 (getgid): Likewise.
14237 (getuid): Likewise.
14238 (getresgid): Likewise.
14239 (getresuid): Likewise.
14240 (getgroups): Likewise.
14241 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14243 (geteuid): Likewise.
14244 (getgid): Likewise.
14245 (getuid): Likewise.
14246 (getresgid): Likewise.
14247 (getresuid): Likewise.
14248 (getgroups): Likewise.
14249 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14250 (geteuid): Likewise.
14251 (getgid): Likewise.
14252 (getuid): Likewise.
14253 (getresgid): Likewise.
14254 (getresuid): Likewise.
14255 (getgroups): Likewise.
14256 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14258 (geteuid): Likewise.
14259 (getgid): Likewise.
14260 (getuid): Likewise.
14261 (getgroups): Likewise.
14264 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14265 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14266 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14267 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14268 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14269 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14270 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14271 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14272 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14273 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14274 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14275 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14276 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14278 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14279 (lchown): Likewise.
14280 (fchown): Likewise.
14281 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14283 (lchown): Likewise.
14284 (fchown): Likewise.
14285 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14286 (lchown): Likewise.
14287 (fchown): Likewise.
14288 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14290 (lchown): Likewise.
14291 (fchown): Likewise.
14293 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14295 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14298 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14300 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14303 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14305 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14306 Remove unused include.
14308 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
14310 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14311 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14312 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14313 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14315 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
14316 Helge Deller <deller@gmx.de>
14319 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14320 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14321 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14323 2014-10-23 Joseph Myers <joseph@codesourcery.com>
14326 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14327 Remove macro definition.
14328 (__ashrdi3_v_glibc20): Likewise.
14329 (__lshrdi3_v_glibc20): Likewise.
14330 (__cmpdi2_v_glibc20): Likewise.
14331 (__ucmpdi2_v_glibc20): Likewise.
14332 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14333 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14334 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14335 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14336 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14337 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14339 2014-10-22 Roland McGrath <roland@hack.frob.com>
14341 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14342 old GNU extension [0] syntax.
14343 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14344 alloca rather than an array member with variable length.
14345 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14346 * nscd/nscd.c (invalidate_db): New function, broken out of ...
14347 (parse_opt): ... here. Likewise use alloca there.
14348 Validate the -i argument before checking for rootness.
14349 (send_shutdown): New function, broken out of ...
14350 (parse_opt): ... here.
14352 2014-10-22 Roland McGrath <roland@hack.frob.com>
14354 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14355 macro to get at the _rt_local_ro field.
14356 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14357 ([PIC] case) or _dl_hwcap ([!PIC] case).
14358 * sysdeps/arm/setjmp.S: Likewise.
14360 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14361 * sysdeps/arm/configure.ac: New check to define it.
14362 * sysdeps/arm/configure: Regenerated.
14363 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14364 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14365 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14366 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14367 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14368 Use move/movt pair instead of a load.
14369 (LDST_GLOBAL): Macro removed.
14370 (LDR_GLOBAL): New macro replaces it.
14371 (LDR_HIDDEN): New macro.
14372 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14373 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14375 * setjmp/tst-setjmp-static.c: New file.
14376 * setjmp/Makefile (tests): Add it.
14377 (tests-static): New variable.
14379 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
14382 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14384 2014-10-21 Joseph Myers <joseph@codesourcery.com>
14387 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14389 2014-10-21 Roland McGrath <roland@hack.frob.com>
14391 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14393 2014-10-20 Roland McGrath <roland@hack.frob.com>
14395 * io/fts.c (dirent_not_directory): New function.
14396 (fts_build): Call it.
14398 2014-10-20 Roland McGrath <roland@hack.frob.com>
14400 * nptl/version.c (__nptl_main): Use normal __write rather than
14402 (banner): Update copyright years.
14404 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14406 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14407 * nptl/pthread_cond_timedwait.c: Likewise.
14408 * nptl/pthread_mutex_timedlock.c: Likewise.
14409 * nptl/sem_timedwait.c: Likewise.
14411 * sysdeps/nptl/bits/libc-lock.h
14412 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14413 (__libc_lock_init_recursive): Return void, not 0.
14414 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14415 (__libc_rwlock_init): Likewise.
14416 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14418 2014-10-20 Torvald Riegel <triegel@redhat.com>
14421 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14422 (__pthread_once_slow): ... here.
14423 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14424 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14426 2014-10-20 Torvald Riegel <triegel@redhat.com>
14429 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14430 __PTHREAD_ONCE_FORK_GEN_INCR): New.
14431 * sysdeps/nptl/fork.c (__libc_fork): Use them.
14432 * nptl/pthread_once.c (__pthread_once): Likewise.
14435 2014-10-20 Joseph Myers <joseph@codesourcery.com>
14438 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14440 (writev): Use __libc_writev as strong name.
14441 * sysdeps/unix/sysv/linux/readv.c: Remove file.
14442 * sysdeps/unix/sysv/linux/writev.c: Likewise.
14444 2014-10-17 Roland McGrath <roland@hack.frob.com>
14446 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14448 * sysdeps/i386/nptl/tls.h
14449 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14450 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14452 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14453 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14454 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14455 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14456 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14457 Call CHECK_THREAD_SYSINFO instead of doing an assert.
14459 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14460 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14462 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14464 (__pthread_mutex_init): ... here. Call it.
14465 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14466 Conditionalize PI cases on [__NR_futex].
14467 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14468 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14469 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14471 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14472 conditional on [SIGSETXID].
14473 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14474 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14475 is defined. Likewise for SIGSETXID.
14476 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14477 Conditionalize definitions on [SIGSETXID].
14478 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14479 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14480 unblocking on [SIGCANCEL].
14482 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14483 [__NR_set_robust_list].
14485 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14487 * string/strcoll_l.c (get_next_seq): Fix up formatting.
14488 (do_compare): Likewise.
14490 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
14493 * string/strcoll_l.c: Don't include stdio.h.
14494 (coll_seq): Remove members idxarr and rulearr.
14495 (get_next_seq_cached): Remove function.
14496 (get_next_seq): Likewise.
14497 (get_next_seq_nocache): Rename to get_next_seq.
14498 (do_compare): Remove function.
14499 (do_compare_nocache): Rename to do_compare.
14500 (STRCOLL): Remove weight and rules cache.
14502 2014-10-16 Roland McGrath <roland@hack.frob.com>
14504 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14505 * sysdeps/arm/sfp-machine.h: ... to here.
14506 * sysdeps/arm/Implies: Remove arm/soft-fp.
14508 2014-10-14 Joseph Myers <joseph@codesourcery.com>
14510 * conform/data/sys/utsname.h-data (*_t): Allow.
14511 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14512 [POSIX] (WEXITED): Do not expect constant.
14513 [POSIX] (WSTOPPED): Likewise.
14514 [POSIX] (WNOHANG): Likewise.
14515 [POSIX] (WNOWAIT): Likewise.
14516 [POSIX] (siginfo_t): Do not expect type or elements.
14517 [POSIX] (pid_t): Do not expect type.
14518 [POSIX] (signal.h): Do not allow header.
14519 [POSIX] (sys/resource.h): Likewise.
14520 [POSIX] (si_*): Do not allow pattern.
14521 [POSIX] (W*): Likewise.
14522 [POSIX] (P_*): Likewise.
14523 [POSIX] (BUS_*): Likewise.
14524 [POSIX] (CLD_*): Likewise.
14525 [POSIX] (FPE_*): Likewise.
14526 [POSIX] (ILL_*): Likewise.
14527 [POSIX] (POLL_*): Likewise.
14528 [POSIX] (SEGV_*): Likewise.
14529 [POSIX] (SI_*): Likewise.
14530 [POSIX] (TRAP_*): Likewise.
14531 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14534 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
14537 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14538 infinite loop when __recvmsg returns 0.
14540 2014-10-10 Joseph Myers <joseph@codesourcery.com>
14542 * CANCEL-FCT-WAIVE: Remove file.
14543 * CANCEL-FILE-WAIVE: Likewise.
14546 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14547 instead of INTVARDEF.
14548 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14549 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14550 rtld_hidden_data_def instead of INTVARDEF.
14551 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14552 * elf/dl-deps.c (expand_dst): Likewise.
14553 * elf/dl-load.c (_dl_dst_count): Likewise.
14554 (_dl_dst_substitute): Likewise.
14555 (decompose_rpath): Likewise.
14556 (_dl_init_paths): Likewise.
14557 (open_path): Likewise.
14558 (_dl_map_object): Likewise.
14559 * elf/rtld.c (dl_main): Likewise.
14560 (process_dl_audit): Likewise.
14561 (process_envvars): Likewise.
14562 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14563 Remove declaration.
14564 (__libc_enable_secure): Use rtld_hidden_proto.
14566 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14569 (add_path): New function broken out of _dl_rtld_di_serinfo.
14570 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
14572 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14574 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14575 parentheses around macro arguments.
14576 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14577 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14578 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14579 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14580 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14581 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14582 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14583 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14584 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14585 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14586 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14587 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14588 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14589 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14590 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14591 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14592 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14593 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14594 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14595 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14596 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14597 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14598 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14599 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14600 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14601 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14602 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14603 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14604 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14605 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14606 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14607 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14608 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14609 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14610 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14611 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14613 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14615 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14616 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14617 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14619 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14620 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14621 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14622 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14623 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14624 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14625 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14626 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14627 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14629 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14632 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14633 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14634 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14635 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14636 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14637 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14638 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14639 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14640 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14641 (_FP_FRAC_SRS_1): Likewise.
14642 (_FP_FRAC_CLZ_1): Likewise.
14643 (_FP_MUL_MEAT_1_imm): Likewise.
14644 (_FP_MUL_MEAT_1_wide): Likewise.
14645 (_FP_MUL_MEAT_1_hard): Likewise.
14646 (_FP_SQRT_MEAT_1): Likewise.
14647 (_FP_FRAC_ASSEMBLE_1): Likewise.
14648 (_FP_FRAC_DISASSEMBLE_1): Likewise.
14649 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14650 (__FP_CLZ_2): Likewise.
14651 (_FP_MUL_MEAT_2_wide): Likewise.
14652 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14653 (_FP_MUL_MEAT_2_gmp): Likewise.
14654 (_FP_MUL_MEAT_2_120_240_double): Likewise.
14655 (_FP_SQRT_MEAT_2): Likewise.
14656 (_FP_FRAC_ASSEMBLE_2): Likewise.
14657 (_FP_FRAC_DISASSEMBLE_2): Likewise.
14658 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14659 (_FP_FRAC_CLZ_4): Likewise.
14660 (_FP_MUL_MEAT_4_wide): Likewise.
14661 (_FP_MUL_MEAT_4_gmp): Likewise.
14662 (_FP_SQRT_MEAT_4): Likewise.
14663 (_FP_FRAC_ASSEMBLE_4): Likewise.
14664 (_FP_FRAC_DISASSEMBLE_4): Likewise.
14665 * soft-fp/op-common.h (_FP_CMP): Likewise.
14666 (_FP_CMP_EQ): Likewise.
14667 (_FP_CMP_UNORD): Likewise.
14668 (_FP_TO_INT): Likewise.
14669 (_FP_FROM_INT): Likewise.
14670 [!__FP_CLZ] (__FP_CLZ): Likewise.
14671 (_FP_DIV_HELP_imm): Likewise.
14672 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14674 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14677 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14678 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14679 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14680 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14681 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14682 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14683 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14684 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14685 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14686 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14687 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14688 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14689 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14690 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14692 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14695 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14696 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14697 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14698 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14699 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14700 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14701 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14702 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14703 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14704 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14705 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14706 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14707 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14708 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14709 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14710 (FP_UNPACK_RAW_SP): Likewise.
14711 (FP_PACK_RAW_S): Likewise.
14712 (FP_PACK_RAW_SP): Likewise.
14713 (FP_UNPACK_S): Likewise.
14714 (FP_UNPACK_SP): Likewise.
14715 (FP_UNPACK_SEMIRAW_S): Likewise.
14716 (FP_UNPACK_SEMIRAW_SP): Likewise.
14717 (FP_PACK_S): Likewise.
14718 (FP_PACK_SP): Likewise.
14719 (FP_PACK_SEMIRAW_S): Likewise.
14720 (FP_PACK_SEMIRAW_SP): Likewise.
14721 (_FP_SQRT_MEAT_S): Likewise.
14722 (FP_CMP_S): Likewise.
14723 (FP_CMP_EQ_S): Likewise.
14724 (FP_CMP_UNORD_S): Likewise.
14725 (FP_TO_INT_S): Likewise.
14726 (FP_FROM_INT_S): Likewise.
14728 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14730 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14731 (FP_EX_INVALID_IMZ): Likewise.
14732 (FP_EX_INVALID_IMZ_FMA): Likewise.
14733 (FP_EX_INVALID_ISI): Likewise.
14734 (FP_EX_INVALID_ZDZ): Likewise.
14735 (FP_EX_INVALID_IDI): Likewise.
14736 (FP_EX_INVALID_SQRT): Likewise.
14737 (FP_EX_INVALID_CVI): Likewise.
14738 (FP_EX_INVALID_VC): Likewise.
14739 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14740 "invalid" exceptions.
14741 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14742 (_FP_ADD_INTERNAL): Likewise.
14743 (_FP_MUL): Likewise.
14744 (_FP_FMA): Likewise.
14745 (_FP_DIV): Likewise.
14746 (_FP_CMP_CHECK_NAN): Likewise.
14747 (_FP_SQRT): Likewise.
14748 (_FP_TO_INT): Likewise.
14749 (FP_EXTEND): Likewise.
14751 2014-10-09 Allan McRae <allan@archlinux.org>
14753 * po/fr.po: Update French translation from translation project.
14755 2014-10-09 Joseph Myers <joseph@codesourcery.com>
14758 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14760 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14761 (__cxa_atexit): Use libc_hidden_proto.
14762 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14765 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14767 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14768 [!_ISOMAC] (__iswspace_l_internal): Likewise.
14769 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14770 [!_ISOMAC] (__iswctype_internal): Likewise.
14771 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14772 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14774 (fcntl): Remove __fcntl_internal alias.
14775 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14776 __connect_internal alias.
14777 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14780 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14781 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14783 (_FP_CHECK_FLUSH_ZERO): New macro.
14784 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14785 (_FP_CMP): Likewise.
14786 (_FP_CMP_EQ): Likewise.
14787 (_FP_TO_INT): Do not set inexact for subnormal arguments if
14789 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14790 (FP_TRUNC): Likewise.
14792 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14793 treated as invalid conversion, not as normal exponent.
14795 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14796 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
14797 (_FP_CMP_EQ): Likewise.
14798 (_FP_CMP_UNORD): Likewise.
14799 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14800 (FP_CMP_EQ_D): Likewise.
14801 (FP_CMP_UNORD_D): Likewise.
14802 * soft-fp/extended.h (FP_CMP_E): Likewise.
14803 (FP_CMP_EQ_E): Likewise.
14804 (FP_CMP_UNORD_E): Likewise.
14805 * soft-fp/quad.h (FP_CMP_Q): Likewise.
14806 (FP_CMP_EQ_Q): Likewise.
14807 (FP_CMP_UNORD_Q): Likewise.
14808 * soft-fp/single.h (FP_CMP_S): Likewise.
14809 (FP_CMP_EQ_S): Likewise.
14810 (FP_CMP_UNORD_S): Likewise.
14811 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14812 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14813 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14814 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14815 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14816 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14817 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14818 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14819 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14820 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14821 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14822 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14823 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14825 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14827 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14828 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14830 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14832 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14833 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14834 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14835 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14837 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14839 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14840 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14842 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14844 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14845 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14846 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14847 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14850 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14851 a subnormal result, set the underflow exception if trapping on
14852 underflow is enabled.
14853 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14854 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14855 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14857 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14858 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14859 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14860 * soft-fp/extendxftf2.c (__extendxftf2): Use
14861 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14863 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14864 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14865 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14866 FP_HANDLE_EXCEPTIONS.
14867 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14868 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14869 FP_HANDLE_EXCEPTIONS.
14870 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14871 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14872 FP_HANDLE_EXCEPTIONS.
14873 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14874 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14875 FP_HANDLE_EXCEPTIONS.
14877 2014-10-08 Joseph Myers <joseph@codesourcery.com>
14880 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14881 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14883 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14884 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14886 (__adjtimex): Define using libc_hidden_ver.
14887 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14888 Remove declaration.
14889 (ntp_gettime): Call __adjtimex directly.
14890 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14891 Remove declaration.
14892 (ntp_gettimex): Call __adjtimex directly.
14893 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14894 __adjtimex_internal alias.
14896 2014-10-08 Roland McGrath <roland@hack.frob.com>
14899 * nscd/nscd.c (more_help): Rewrite list of tables collection
14900 using xstrdup and asprintf.
14902 * nscd/nscd_conf.c: Remove local xstrdup declaration.
14904 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14905 Roland McGrath <roland@hack.frob.com>
14907 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14908 (do_lookup_unique): ... local function 'enter' here; update callers.
14910 2014-10-06 Joseph Myers <joseph@codesourcery.com>
14912 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14913 compat_symbol calls on [SHARED].
14914 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14915 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14917 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14918 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14919 (oldsetrlimit): Remove.
14920 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14922 (lchown): New syscall entry.
14923 (oldsetrlimit): Remove.
14924 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14926 (oldsetrlimit): Remove.
14927 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14930 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14931 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14932 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14933 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14934 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14935 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14936 (fchown): Likewise.
14937 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14938 (fchown): Likewise.
14939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14942 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14944 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14945 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14946 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14947 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14948 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14950 (__old_sem_post): Likewise.
14952 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
14954 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14955 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14956 HAVE_CLOCK_GETTIME_VSYSCALL macros.
14957 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14958 Use INLINE_VSYSCALL macro.
14959 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14960 __vdso_clock_gettime.
14961 * sysdeps/unix/sysv/linux/tile/init-first.c
14962 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14963 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14964 __vdso_clock_gettime.
14966 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14967 to set up frame more cleanly.
14969 * sysdeps/tile/memcmp.c: New file.
14971 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14973 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14974 * sysdeps/tile/tilegx/strcasestr.c: New file.
14975 * sysdeps/tile/tilegx/strnlen.c: New file.
14976 * sysdeps/tile/tilegx/strstr.c: New file.
14978 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14980 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
14982 * nptl/tst-setuid3.c: Write errors to stdout.
14984 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14987 (preload): New functions broken out of _dl_map_object_deps.
14988 (_dl_map_object_deps): Remove a nested function. Update call sites.
14990 2014-10-01 Joseph Myers <joseph@codesourcery.com>
14993 * sysdeps/unix/sysv/linux/execve.c: Remove file.
14994 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14996 2014-10-01 Steve Ellcey <sellcey@mips.com>
14998 * sysdeps/mips/strcmp.S: New.
15000 2014-09-30 Joseph Myers <joseph@codesourcery.com>
15003 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15004 (linkat): Likewise.
15005 (mkdirat): Likewise.
15006 (readlinkat): Likewise.
15007 (renameat): Likewise.
15008 (symlinkat): Likewise.
15009 (unlinkat): Likewise.
15010 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15011 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15012 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15013 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15014 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15015 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15016 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15018 2014-09-30 Will Newton <will.newton@linaro.org>
15020 * math/math.h: Define long double math functions if
15021 _LIBC_TEST is defined.
15022 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15024 * localedata/Makefile: Move assignment to tests-special
15025 into an ifdef testing run-built-tests.
15026 * timezone/Makefile: Likewise.
15028 2014-09-29 Joseph Myers <joseph@codesourcery.com>
15030 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15031 with $(BASH) not $(SHELL).
15033 2014-09-29 Carlos O'Donell <carlos@redhat.com>
15034 Matthew LeGendre <legendre1@llnl.gov>
15037 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15040 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15042 * stdio-common/printf_fp.c
15043 (hack_digit): New function, broken out of ...
15044 (__printf_fp): ... local function here. Update call sites.
15045 hack_digit now takes an additional parameter that is a pointer
15046 to a struct of the referenced locals. Those locals moved inside
15047 the struct and references updated.
15049 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
15051 * aclocal.m4: Require autoconf 2.69.
15052 * configure: Regenerated.
15053 * sysdeps/aarch64/configure: Likewise.
15054 * sysdeps/alpha/configure: Likewise.
15055 * sysdeps/arm/armv7/configure: Likewise.
15056 * sysdeps/arm/configure: Likewise.
15057 * sysdeps/ia64/configure: Likewise.
15058 * sysdeps/mach/configure: Likewise.
15059 * sysdeps/mips/configure: Likewise.
15060 * sysdeps/s390/configure: Likewise.
15061 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15064 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15066 * sysdeps/ia64/configure.ac: Likewise.
15068 2014-09-26 Joseph Myers <joseph@codesourcery.com>
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15071 specify symbol version for ld.so. Do not include entry for
15073 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15074 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15075 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15078 * Makeconfig [$(build-shared) = yes]
15079 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15081 [$(build-shared) = yes && $(soversions.mk-done) = t]
15082 ($(common-objpfx)gnu/lib-names.h): Remove rule.
15083 [$(build-shared) = yes && $(soversions.mk-done) = t]
15084 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
15086 [$(build-shared) = yes && $(soversions.mk-done) = t]
15087 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15089 [$(build-shared) = yes && $(soversions.mk-done) = t]
15090 (common-generated): Don't append gnu/lib-names.h and
15091 gnu/lib-names.stmp here.
15092 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15093 (lib-names-h-abi): New variable.
15094 [$(build-shared) = yes && $(soversions.mk-done) = t]
15095 (lib-names-stmp-abi): Likewise.
15096 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15097 abi-variants] (before-compile): Append
15098 $(common-objpfx)$(lib-names-h-abi).
15099 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15100 abi-variants] (common-generated): Append gnu/lib-names.h.
15101 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15102 abi-variants] (install-others-nosubdir): Depend on
15103 $(inst_includedir)/$(lib-names-h-abi).
15104 [$(build-shared) = yes && $(soversions.mk-done) = t &&
15105 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15106 [$(build-shared) = yes && $(soversions.mk-done) = t]
15107 ($(common-objpfx)$(lib-names-h-abi)): New rule.
15108 [$(build-shared) = yes && $(soversions.mk-done) = t]
15109 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15110 [$(build-shared) = yes && $(soversions.mk-done) = t]
15111 (common-generated): Append $(lib-names-h-abi) and
15112 $(lib-names-stmp-abi).
15113 * scripts/lib-names.awk: Do not handle multi being set.
15114 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15116 (abi-lp64_be-ld-soname): Likewise.
15117 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15119 (abi-hard-ld-soname): Likewise.
15120 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15121 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15123 (abi-o32_hard-ld-soname): Likewise.
15124 (abi-o32_soft_2008-ld-soname): Likewise.
15125 (abi-o32_hard_2008-ld-soname): Likewise.
15126 (abi-n32_soft-ld-soname): Likewise.
15127 (abi-n32_hard-ld-soname): Likewise.
15128 (abi-n32_soft_2008-ld-soname): Likewise.
15129 (abi-n32_hard_2008-ld-soname): Likewise.
15130 (abi-n64_soft-ld-soname): Likewise.
15131 (abi-n64_hard-ld-soname): Likewise.
15132 (abi-n64_soft_2008-ld-soname): Likewise.
15133 (abi-n64_hard_2008-ld-soname): Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15136 (abi-64-v2-ld-soname): Likewise.
15137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15139 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15141 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15143 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15145 (abi-64-ld-soname): Likewise.
15146 (abi-x32-ld-soname): Likewise.
15147 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15149 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15151 2014-09-23 Joseph Myers <joseph@codesourcery.com>
15154 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15155 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15156 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15157 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15158 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15159 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15160 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15161 syscall entry for GLIBC_2.2 symbol version.
15162 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15165 (setrlimit): Likewise.
15166 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15169 2014-09-23 Will Newton <will.newton@linaro.org>
15171 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15172 _LINUX_ARM_SYSDEP_H include guard too.
15173 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15176 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15178 * sysdeps/unix/sysv/linux/eventfd.c:
15179 Make first argument unsigned.
15180 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15181 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15183 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
15185 * socket/recvmmsg.c (recvmmsg): Drop const argument.
15186 * socket/sys/socket.h: Likewise
15187 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15189 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15191 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15193 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
15195 * time/tst-ftime.c: New test.
15196 * time/Makefile (tests): Add tst-ftime.
15198 2014-09-17 Joseph Myers <joseph@codesourcery.com>
15200 * soft-fp/extended.h: Fix comment formatting.
15201 * soft-fp/op-1.h: Likewise.
15202 * soft-fp/op-2.h: Likewise.
15203 * soft-fp/op-4.h: Likewise.
15204 * soft-fp/op-8.h: Likewise.
15205 * soft-fp/op-common.h: Likewise.
15206 * soft-fp/soft-fp.h: Likewise.
15208 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15210 2014-09-16 Joseph Myers <joseph@codesourcery.com>
15213 * Makeconfig (soversions-default-setname): Remove variable.
15214 ($(common-objpfx)soversions.i): Don't pass default_setname to
15216 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15217 oldest_abi to abi-versions.awk.
15218 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15219 * config.make.in (oldest-abi): Remove variable.
15220 * configure.ac (--enable-oldest-abi): Remove configure option.
15221 * configure: Regenerated.
15222 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15224 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15225 * scripts/soversions.awk: Do not handle default_setname variable.
15226 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15228 * sysdeps/mach/hurd/configure: Regenerated.
15229 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15231 * sysdeps/unix/sysv/linux/configure: Regenerated.
15233 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15235 * elf/Makefile (CFLAGS-interp.c): Remove.
15236 ($(elf-objpfx)runtime-linker.h): Generate header with linker
15238 * elf/interp.c: Include generated runtime-linker.h
15240 * Makerules (lib%.so): Don't include $(+interp) in
15242 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15243 * dlfcn/eval.c: Remove file.
15245 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15249 * misc/sys/cdefs.h: Define __extern_always_inline for clang
15253 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15255 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15256 Jakub Jelinek <jakub@redhat.com>
15259 * libio/stdio.h: Check definition of __fortify_function
15260 instead of __extern_always_inline to include bits/stdio2.h.
15261 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15262 check if __extern_always_inline is defined.
15263 [__USE_MISC || __USE_XOPEN]: Likewise.
15264 [__USE_ISOC99] Likewise.
15265 * misc/sys/cdefs.h (__fortify_function): Define only if
15266 __extern_always_inline is defined.
15267 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15268 __extern_always_inline and __extern_inline only for g++-4.3
15269 and newer or a compatible gcc.
15271 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
15274 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15275 last change to handle zero prefix length.
15277 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15279 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15282 * posix/getconf.c (vars): Add _POSIX_IPV6 and
15283 _POSIX_RAW_SOCKETS.
15285 2014-09-13 Allan McRae <allan@archlinux.org>
15287 * po/ru.po: Update Russian translation from translation project.
15289 2014-09-12 Roland McGrath <roland@hack.frob.com>
15291 * locale/programs/locale.c (show_locale_vars): Inline local function
15292 into its sole call site. Clean up some style nits.
15293 (print_item): New function, broken out of ...
15294 (show_info): ... local function here. Clean up style nits.
15296 * locale/programs/ld-ctype.c (set_one_default): New function, broken
15298 (set_class_defaults): ... local function set_default here.
15299 Define set_default as a macro locally to pass constant parameters.
15300 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15301 rather than a shared local.
15303 * stdlib/rpmatch.c (try): New function, broken out of ...
15304 (rpmatch): ... local function here. Also, prototypify definition.
15306 2014-09-12 Joseph Myers <joseph@codesourcery.com>
15308 * scripts/soversions.awk: Do not handle configuration names.
15309 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15310 vendor and os variables to soversions.awk.
15311 * configure.ac: Do not modify gnu-* host_os.
15312 * configure: Regenerated
15313 * shlib-versions: Remove first column with configuration names.
15314 * nptl/shlib-versions: Likewise.
15315 * nptl_db/shlib-versions: Likewise.
15316 * sysdeps/hppa/shlib-versions: Likewise.
15317 * sysdeps/m68k/shlib-versions: Likewise.
15318 * sysdeps/mach/hurd/shlib-versions: Likewise.
15319 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15320 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15321 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15322 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15323 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15324 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15325 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15326 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15329 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15330 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15331 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15332 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15333 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15334 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15335 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15336 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15339 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15342 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15344 Condition symbol version definitions on [HAVE_ELFV2_ABI].
15346 * shlib-versions: Remove OS-specific entries. Moved to files in
15348 * sysdeps/mach/hurd/shlib-versions: New file.
15349 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15351 * nptl/shlib-versions: Remove architecture-specific entries.
15352 Moved to files in sysdeps.
15353 * shlib-versions: Likewise.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15356 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15357 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15358 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15359 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15361 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15362 (UDP_NO_CHECK6_RX): Likewise.
15364 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15366 * sysdeps/posix/sysconf.c (__sysconf): Spell
15367 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15369 2014-08-12 Florian Weimer <fweimer@redhat.com>
15371 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15373 * iconv/Versions (__gconv_transliterate): Export for use from
15375 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15376 (struct __gconv_trans_data, __gconv_trans_fct,
15377 __gconv_trans_context_fct, __gconv_trans_query_fct,
15378 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15380 (struct __gconv_step_data): Remove __trans member.
15381 (__gconv_transliterate): Declaration moved from gconv_int.h. No
15382 longer hidden. Remove unused trans_data argument.
15383 * iconv/gconv_int.h (struct trans_struct): Remove definition.
15384 (__gconv_translit_find): Remove declaration.
15385 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
15387 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15388 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15389 trans_data argument. Add hidden definition.
15390 (__gconv_translit_find): Remove.
15391 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15392 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15393 * iconv/skeleton.c: Remove transliteration initialization.
15394 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15395 __gconv_step_data initialization.
15396 * libio/iofwide.c (__libio_translit_): Remove.
15397 (_IO_fwide): Adjust struct __gconv_step_data initialization.
15398 * wcsmbs/btowc.c (__btowc): Likewise.
15399 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15400 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15401 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15402 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15403 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15404 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15405 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15406 * wcsmbs/wctob.c (wctob): Likewise.
15408 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15411 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15412 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
15414 * sysdeps/x86/Makefile: Adjust.
15416 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15417 Roland McGrath <roland@hack.frob.com>
15419 * locale/weight.h: Add include guard.
15420 (findidx): Make static rather than auto; take new parameters
15421 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15422 * locale/weightwc.h: Likewise.
15423 * posix/fnmatch_loop.c
15424 (FCT): Change type of EXTRA from int32_t to wint_t.
15425 Don't include either header inside the function.
15426 Call FINDIDX rather than findidx, and pass new arguments.
15427 #undef FINDIDX at the end of the file.
15428 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15429 FINDIDX before including fnmatch_loop.c for the non-wide version.
15430 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15431 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15432 for the wide version.
15433 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15434 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15435 Pass new arguments to findidx.
15436 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15437 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15438 Don't #include it inside the function. Pass new arguments to findidx.
15439 * posix/regex_internal.h
15440 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15441 (re_string_elem_size_at): Don't #include it inside the function.
15442 Pass new arguments to findidx.
15443 * string/strcoll_l.c: #include WEIGHT_H at top level.
15444 (get_next_seq): Don't #include it inside the function.
15445 Pass new arguments to findidx.
15446 (get_next_seq_nocache): Likewise.
15447 * string/strxfrm_l.c: #include WEIGHT_H at top level.
15448 (STRXFRM): Don't #include it inside the function.
15449 Pass new arguments to findidx.
15451 2014-09-11 Florian Weimer <fweimer@redhat.com>
15454 * malloc/malloc.c (unlink): Turn asserts into a call to
15457 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
15460 * libio/wfileops (do_ftell_wide): Free OUT.
15462 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
15464 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15466 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15469 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15470 group if the current group is empty.
15472 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15474 * benchtests/bench-memset.c (test_main): Add more test from size
15475 from 32 to 512 bytes.
15476 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15477 Add POWER8 memset object.
15478 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15479 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15480 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15482 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15484 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15485 multiarch POWER8 memset optimization.
15486 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15487 POWER8 memset optimization.
15489 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15490 Remove bzero multiarch objects.
15491 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15492 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15493 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15494 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15496 [__bzero]: Redefine to specific name.
15497 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15498 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15499 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15501 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15502 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15504 2014-09-10 Florian Weimer <fweimer@redhat.com>
15506 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15507 warnings into errors.
15509 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15510 __cxa_thread_atexit_impl prototype.
15512 2014-09-09 Steve Ellcey <sellcey@mips.com>
15514 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15515 Fix capitalization of error message.
15517 2014-09-09 Steve Ellcey <sellcey@mips.com>
15519 * sysdeps/mips/preconfigure: Modify ABI tests.
15521 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
15523 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15525 2014-09-07 Roland McGrath <roland@hack.frob.com>
15526 Carlos O'Donell <carlos@systemhalted.org>
15528 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15529 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15530 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15531 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15532 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15533 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15534 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15535 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15536 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15537 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15538 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15539 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15540 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15541 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15542 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15543 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15545 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15546 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15547 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15548 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15549 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15550 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15551 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15552 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15553 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15554 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15555 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15556 Deconditionalize the code that was previously under [RESET_PID].
15557 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15558 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15559 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15560 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15563 2014-09-08 Allan McRae <allan@archlinux.org>
15565 * version.h (RELEASE): Set to "development".
15566 (VERSION): Set to "2.20.90"
15568 2014-09-07 Allan McRae <allan@archlinux.org
15570 * version.h (RELEASE): Set to "stable".
15571 (VERSION): Set to "2.20"
15572 * include/features.h (__GLIBC_MINOR__): Set to 20.
15574 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15577 * po/ko.po: Update Korean translation from translation project.
15579 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
15582 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15583 macro for handling signed relocations.
15585 2014-09-03 Florian Weimer <fweimer@redhat.com>
15588 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15589 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15591 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15592 * iconvdata/ibm935.c (BODY): Likewise.
15593 * iconvdata/ibm937.c (BODY): Likewise.
15594 * iconvdata/ibm939.c (BODY): Likewise.
15595 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15597 * iconvdata/Makefile (iconv-test.out): Pass module list to test
15599 * iconvdata/run-iconv-test.sh: New test loop for checking for
15602 2014-09-02 Khem Raj <raj.khem@gmail.com>
15604 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15607 2014-09-01 Allan McRae <allan@archlinux.org>
15609 * po/eo.po: Update Esperanto translation from translation project.
15611 * po/ca.po: Update Catalan translation from translation project.
15613 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
15615 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15616 __proc_dostop call.
15618 2014-08-27 Mark Wielaard <mjw@redhat.com>
15621 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15622 to call set_thread_area instead of hand written asm.
15623 (__NR_set_thread_area): Removed define.
15624 (TLS_FLAG_WRITABLE): Likewise.
15625 (__ASSUME_SET_THREAD_AREA): Remove check.
15626 (TLS_EBX_ARG): Remove define.
15627 (TLS_LOAD_EBX): Likewise.
15629 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
15631 Simplify atomicity of socket creation in bind.
15633 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15634 looking up the name after linking the file.
15636 2014-08-27 Allan McRae <allan@archlinux.org>
15638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15640 2014-08-26 Florian Weimer <fweimer@redhat.com>
15643 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15644 trans_compare, open_translit, __gconv_translit_find):
15645 Remove module loading code.
15647 2014-08-26 Allan McRae <allan@archlinux.org>
15649 * po/vi.po: Update Vietnamese translation from translation project.
15651 * po/uk.po: Update Ukrainian translation from translation project.
15653 * po/fr.po: Update French translation from translation project.
15655 * po/ru.po: Update Russian translation from translation project.
15657 * po/pl.po: Update Polish translation from translation project.
15659 * po/cs.po: Update Czech translation from translation project.
15661 * po/de.po: Update German translation from translation project.
15663 * po/bg.po: Update Bulgarian translation from translation project.
15665 * po/sv.po: Update Sweedish translation from translation project.
15667 * po/nl.po: Update Dutch translation from translation project.
15669 * po/es.po: Update Spanish translation from translation project.
15671 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15673 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15675 * catgets/Makefile (CPPFLAGS-gencat): Remove.
15676 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15677 (CPPFLAGS-iconvconfig): Likewise.
15678 * timezone/Makefile (CPPFLAGS-zic): Likewise.
15680 * include/libc-symbols.h: Remove unnecessary check for
15682 * nptl/pthreadP.h: Likewise.
15683 * sysdeps/aarch64/setjmp.S: Likewise.
15684 * sysdeps/alpha/setjmp.S: Likewise.
15685 * sysdeps/arm/sysdep.h: Likewise.
15686 * sysdeps/i386/setjmp.S: Likewise.
15687 * sysdeps/m68k/setjmp.c: Likewise.
15688 * sysdeps/posix/getcwd.c: Likewise.
15689 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15690 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15691 * sysdeps/s390/s390-32/setjmp.S: Likewise.
15692 * sysdeps/s390/s390-64/setjmp.S: Likewise.
15693 * sysdeps/sh/sh3/setjmp.S: Likewise.
15694 * sysdeps/sh/sh4/setjmp.S: Likewise.
15695 * sysdeps/unix/alpha/sysdep.h: Likewise.
15696 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15697 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15698 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15699 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15702 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15703 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15704 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15705 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15706 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15707 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15709 * sysdeps/x86_64/setjmp.S: Likewise.
15711 2014-08-13 Joseph Myers <joseph@codesourcery.com>
15714 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15716 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15717 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15719 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15721 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15724 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15725 and __x86_64__ when disabling x87 inline functions.
15727 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
15730 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15731 asm statement with __cpuid_count.
15733 2014-08-12 Mike Frysinger <vapier@gentoo.org>
15735 * configure.ac: Change __ehdr_start code to dereference the struct.
15736 Run readelf on the output to look for relocations.
15737 * configure: Regenerated.
15739 2014-08-12 Joseph Myers <joseph@codesourcery.com>
15742 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15744 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15746 2014-08-12 Roland McGrath <roland@hack.frob.com>
15748 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15750 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
15753 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15754 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15756 2014-08-12 Sean Anderson <seanga2@gmail.com>
15758 * malloc/malloc.c: Fix typo in comment.
15760 2014-08-09 Allan McRae <allan@archlinux.org>
15762 * Regenerate libc.po.
15764 2014-08-08 Mike Frysinger <vapier@gentoo.org>
15766 * intl/tst-gettext2.sh: Check every lang file for creation.
15768 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15770 * sysdeps/aarch64/fpu/math_private.h
15771 (libc_feholdsetround_noex_aarch64_ctx): New function.
15773 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
15775 * sysdeps/arm/armv6/strcpy.S (strcpy):
15776 Fix performance issue in misaligned cases.
15778 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15780 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15781 Move definition from termios.h.
15782 (struct termio): Likewise.
15783 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15784 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15785 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15786 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15788 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15789 Move definition to ioctl-types.h
15790 (struct termio): Likewise.
15791 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15792 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15793 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15794 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15797 2014-08-05 Richard Henderson <rth@redhat.com>
15799 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15801 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15803 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15804 Use __feraiseexcept.
15805 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15806 Protect libm symbols with IS_IN_libm.
15808 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15810 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
15812 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15814 2014-08-04 Will Newton <will.newton@linaro.org>
15816 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15819 2014-08-04 Mike Frysinger <vapier@gentoo.org>
15821 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15822 variants for each function.
15824 2014-08-04 Roland McGrath <roland@hack.frob.com>
15826 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15828 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15829 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15831 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15832 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15833 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15834 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15835 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15836 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15837 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15838 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15839 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15840 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15841 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15842 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15843 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15844 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15845 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15846 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15847 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15848 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15849 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15850 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15851 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15852 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15853 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15854 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15855 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15856 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15857 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15858 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15859 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15860 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15861 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15862 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15863 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15864 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15865 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15866 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15867 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15868 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15869 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15870 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15871 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15872 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15873 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15874 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15875 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15876 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15877 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15878 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15879 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15880 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15881 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15882 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15883 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15885 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15886 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15888 2014-08-04 Roland McGrath <roland@hack.frob.com>
15890 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15891 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15892 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15893 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15894 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15895 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15897 2014-08-04 Roland McGrath <roland@hack.frob.com>
15899 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15900 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15901 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15902 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15904 2014-08-04 Roland McGrath <roland@hack.frob.com>
15906 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15907 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15908 (__libc_vfork): Define function under this name.
15909 (__vfork): Define as an alias.
15910 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15911 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15913 2014-08-04 Roland McGrath <roland@hack.frob.com>
15915 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15916 that was previously under [RESET_PID].
15917 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15919 2014-08-04 Andreas Schwab <schwab@suse.de>
15921 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15923 2014-08-03 Mike Frysinger <vapier@gentoo.org>
15925 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15928 2014-08-01 Roland McGrath <roland@hack.frob.com>
15930 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15932 2014-08-01 Richard Henderon <rth@redhat.com>
15934 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15935 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15936 typo in exact zero test.
15937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15938 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15939 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15941 2014-08-01 Roland McGrath <roland@hack.frob.com>
15943 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15944 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15945 * sysdeps/arm/sysdep.h: ... here.
15946 [!__ASSEMBLER__]: Include <stdint.h>.
15948 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
15950 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15951 (HAVE_WCTYPE_H): Likewise.
15952 (HAVE_ISWCTYPE): Likewise.
15953 (ENABLE_NLS): Likewise.
15954 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15955 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15957 * posix/regex_internal.c: Check if DEBUG is defined and is
15960 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15961 (HAVE_MBSRTOWCS): Likewise.
15962 * posix/fnmatch.c: Include string.h unconditionally.
15964 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
15966 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15969 2014-07-31 Roland McGrath <roland@hack.frob.com>
15971 * sysdeps/generic/safe-fatal.h: New file.
15972 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15973 * nptl/forward.c: Include it.
15974 (__pthread_unwind): Use __safe_fatal as default action, rather
15975 than a bogus use of INTERNAL_SYSCALL that could never work.
15977 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15978 * configure.ac (libc_cv_builtin_trap): New test.
15979 * configure: Regenerated.
15980 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15981 (ABORT_INSTRUCTION): Define using __builtin_trap.
15983 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15984 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15985 * sysdeps/nptl/nptl-signals.h: New file.
15986 * nptl/pthreadP.h: Include <nptl-signals.h>.
15988 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15990 * sysdeps/s390/s390-64/utf16-utf32-z9.c
15991 (ONE_DIRECTION): Define.
15992 * sysdeps/s390/s390-64/utf8-utf16-z9.c
15993 (ONE_DIRECTION): Define.
15994 * sysdeps/s390/s390-64/utf8-utf32-z9.c
15995 (ONE_DIRECTION): Define.
15997 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
15999 * sysdeps/s390/Makefile: Delete file.
16000 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16001 * sysdeps/s390/__longjmp.c: Delete file.
16002 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16003 Remove fields __flags and __reserved.
16004 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16005 and add versioning.
16006 * sysdeps/s390/rtld-__longjmp.c: Delete file.
16007 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16008 * sysdeps/s390/rtld-setjmp.S: Likewise.
16009 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16010 * sysdeps/s390/s390-32/__longjmp.c: ... here.
16011 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16012 * sysdeps/s390/s390-32/setjmp.S: ... here.
16014 (__sigsetjmp): Remove setting __flags field.
16015 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16016 * sysdeps/s390/s390-64/__longjmp.c: ... here.
16017 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16018 * sysdeps/s390/s390-64/setjmp.S: ... here.
16020 (__sigsetjmp): Remove setting __flags field.
16021 * sysdeps/s390/setjmp.S: Delete file.
16022 * sysdeps/s390/sigjmp.c: Likewise.
16023 * sysdeps/s390/v1-longjmp.c: Likewise.
16024 * sysdeps/s390/v1-setjmp.h: Likewise.
16025 * sysdeps/s390/v1-sigjmp.c: Likewise.
16026 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16027 Remove v1-longjmp_chk.
16028 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16029 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16030 Include debug/longjmp_chk.c and add versioning.
16031 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16032 Include nptl/pt-longjmp.c and add versioning.
16033 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16034 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16035 Include __longjmp.c.
16036 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16038 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16039 (__getcontext): Remove setting __flags field.
16041 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16042 Don't restore upper high grps.
16043 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16045 (__swapcontext): Remove setting uc_flags field.
16046 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16048 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16049 Include __longjmp.c.
16050 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16052 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16053 (__getcontext): Remove setting __flags field.
16055 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16056 (__swapcontext): Remove setting uc_flags field.
16057 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16058 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16059 Remove fields uc_high_gprs and __reserved.
16060 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16061 New file with reverted content.
16062 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16063 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16065 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16068 2014-07-31 Andreas Schwab <schwab@suse.de>
16070 * config.h.in (HAVE_IFUNC): Define to 0.
16071 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16074 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
16076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16077 memmove-avx-unaligned, memcpy-avx-unaligned and
16078 mempcpy-avx-unaligned.
16079 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16080 Add tests for AVX memcpy functions.
16081 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16082 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16084 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16085 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16087 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16090 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16091 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16092 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16094 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16097 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16100 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
16103 * manual/llio.texi: Add section about open file description locks.
16104 * manual/examples/ofdlocks.c: Example of open file description
16106 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16107 F_OFD_SETLK, and F_OFD_SETLKW.
16109 2014-07-23 Allan McRae <allan@archlinux.org>
16111 * po/es.po: Update Spanish translation from translation project.
16113 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
16115 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16117 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
16120 * sysdeps/arm/dl-machine.h (elf_machine_rela)
16121 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16122 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16124 2014-07-17 Joseph Myers <joseph@codesourcery.com>
16127 * math/fesetenv.c (__fesetenv)
16128 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16129 * math/feupdateenv.c (__feupdateenv)
16130 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16132 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16133 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16134 (__ASSUME_SOCKETCALL): Do not define.
16136 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16137 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16138 (__ASSUME_SOCKETCALL): Do not define.
16139 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16140 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16141 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16142 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16143 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16144 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16145 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16146 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16148 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16149 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16150 (__ASSUME_SOCKETCALL): Do not define.
16151 (__ASSUME_IPC64): Define unconditionally.
16152 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16153 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16154 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16155 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16156 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16157 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16158 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16161 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16162 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16163 (__ASSUME_SOCKETCALL): Do not define.
16164 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16165 (__ASSUME_FUTEX_LOCK_PI): Likewise.
16166 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16167 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16168 (__ASSUME_REQUEUE_PI): Define unconditionally.
16169 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16170 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16171 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16172 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16173 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16174 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16176 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16177 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16178 (__ASSUME_SOCKETCALL): Do not define.
16179 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16180 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16181 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16182 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16183 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16184 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16187 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16188 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16189 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16190 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16191 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16192 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16193 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16194 (__ASSUME_GETCPU_SYSCALL): Likewise.
16196 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16197 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
16198 cases for individual architectures.
16199 * sysdeps/gnu/configure: Regenerated.
16200 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16201 LIBC_SLIBDIR_RTLDDIR.
16202 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16203 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16204 LIBC_SLIBDIR_RTLDDIR.
16205 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16207 LIBC_SLIBDIR_RTLDDIR.
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16210 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16211 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16213 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16214 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16216 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16217 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16218 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16219 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16221 * sysdeps/aarch64/shlib-versions: Move to ...
16222 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16223 * sysdeps/alpha/shlib-versions: Move to ...
16224 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16225 * sysdeps/arm/shlib-versions: Move to ...
16226 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16227 * sysdeps/hppa/shlib-versions: Move all contents except for
16228 libgcc_s entry to ...
16229 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
16231 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
16232 * sysdeps/ia64/shlib-versions: Move to ...
16233 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
16235 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
16236 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16237 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16238 * sysdeps/microblaze/shlib-versions: Move to ...
16239 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16240 * sysdeps/mips/shlib-versions: Move to ...
16241 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
16243 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
16244 * sysdeps/tile/shlib-versions: Move to ...
16245 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16246 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16248 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
16249 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16251 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
16253 2014-07-17 Will Newton <will.newton@linaro.org>
16255 * sysdeps/arm/bits/atomic.h
16256 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16257 (__arch_compare_and_exchange_bool_16_int): Likewise.
16258 (__arch_compare_and_exchange_bool_64_int): Likewise.
16260 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16261 into an #else block.
16263 2014-07-16 Roland McGrath <roland@hack.frob.com>
16265 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16266 just Linux configurations. Test empirically that the compiler sets
16267 __ARM_EABI__, rather than using the tuple to decide.
16268 * sysdeps/arm/preconfigure: Regenerated.
16269 * sysdeps/unix/sysv/linux/arm/configure: File removed.
16270 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16271 contents appended ...
16272 * sysdeps/arm/configure.ac: ... here.
16273 * sysdeps/arm/configure: Regenerated.
16275 2014-07-15 Roland McGrath <roland@hack.frob.com>
16277 * nptl/pthread_kill.c: New file.
16278 * nptl/pthread_sigmask.c: New file.
16279 * nptl/pthread_sigqueue.c: New file.
16281 * sysdeps/nptl/lowlevellock.h: New file.
16282 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16283 * sysdeps/nptl/lowlevellock-futex.h: New file.
16285 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16286 Remove dead declarations.
16288 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
16290 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16291 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16292 config-cflags-avx2.
16293 * sysdeps/x86_64/configure.ac: Likewise.
16294 * sysdeps/i386/configure: Regenerated.
16295 * sysdeps/x86_64/configure: Likewise.
16296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16297 memset-avx2 only if config-cflags-avx2 is yes.
16298 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16299 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16301 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16302 only if HAVE_AVX2_SUPPORT is defined.
16303 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16305 2014-07-14 Alan Modra <amodra@gmail.com>
16308 * elf/elf.h (DT_PPC64_NUM): Correct value.
16309 * NEWS: Add to fixed bug list.
16311 2014-07-13 Jim Meyering <meyering@fb.com>
16314 regex: don't deref NULL upon heap allocation failure
16315 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16316 failure in one more place.
16317 To trigger the segfault, configure grep -with-included-regex,
16318 build it, and run these commands:
16319 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16321 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
16323 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16325 2014-07-11 Richard Henderson <rth@redhat.com>
16327 * sysdeps/aarch64/libm-test-ulps: Update.
16329 2014-07-10 Florian Weimer <fweimer@redhat.com>
16332 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16333 * nptl/allocatestack.c (__nptl_setxid_error): New function.
16334 (__nptl_setxid): Initialize error member. Call
16335 __nptl_setxid_error.
16336 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16337 * nptl/descr.h (struct xid_command): Add error member.
16338 * nptl/tst-setuid3.c: New file.
16339 * nptl/Makefile (tests): Add it.
16341 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16343 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16345 (__lll_trylock): Use __lll_base_trylock.
16346 (__lll_cond_trylock): Likewise.
16348 2014-07-10 Roland McGrath <roland@hack.frob.com>
16350 * nptl/pthread_create.c (start_thread): Use atomic_or and
16351 lll_futex_wake directly rather than lll_robust_dead.
16352 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16353 (lll_robust_dead): Macro removed.
16354 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16355 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16356 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16357 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16358 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16359 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16360 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16361 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16362 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16363 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16364 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16365 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16366 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16367 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16368 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16370 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16371 Use atomic_compare_and_exchange_val_acq directly rather than
16372 lll_robust_trylock.
16373 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16374 (__lll_robust_trylock, lll_robust_trylock): Removed.
16375 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16376 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16377 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16378 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16379 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16380 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16381 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16382 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16383 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16384 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16385 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16386 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16387 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16388 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16390 2014-07-02 Florian Weimer <fweimer@redhat.com>
16392 * manual/locale.texi (Locale Names): New section documenting
16393 locale name syntax. Adjust menu and node chaining accordingly.
16394 (Choosing Locale): Reference Locale Names, Locale Categories.
16395 Mention setting LC_ALL=C. Reflect that name syntax is now
16397 (Locale Categories): New section title. Reference Locale Names.
16398 LC_ALL is an environment variable, but not a category.
16399 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16400 description, now in Locale Name. Reference that section. Locale
16401 name syntax is now documented.
16403 2014-07-02 Florian Weimer <fweimer@redhat.com>
16406 * locale/findlocale.c (name_present, valid_locale_name): New
16408 (_nl_find_locale): Use the loc_name variable to store name
16409 candidates. Call name_present and valid_locale_name to check and
16410 validate locale names. Return an error if the locale is invalid.
16412 2014-07-02 Florian Weimer <fweimer@redhat.com>
16414 * locale/setlocale.c (setlocale): Use strdup for allocating
16415 composite name copy.
16417 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16419 Sync up with gnulib.
16420 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16421 [!_LIBC && ENABLE_NLS]: Include gettext.h.
16422 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16423 and _GL_ARG_NONNULL.
16424 [USE_UNLOCKED_IO]: Include unlocked-io.h.
16425 [!_LIBC]: Include code for Windows and Cygwin.
16426 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16427 Include prototype for int strerror_r.
16428 [!_LIBC] (is_open): New function.
16429 (flush_stdout): New function.
16430 (print_errno_message): Use it.
16432 (error_at_line): Likewise.
16433 (error_tail) Add function attribute macros. Use
16436 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16438 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16440 * io/ftw.c: Include sys/param.h unconditionally.
16442 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16445 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16447 (freecache): New function to free CACHE on exit.
16449 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16452 2014-07-09 David S. Miller <davem@davemloft.net>
16454 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16456 * sysdeps/sparc/nptl/internaltypes.h: Delete.
16457 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16458 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16459 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16460 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16461 * sysdeps/sparc/nptl/sem_init.c: Likewise.
16462 * sysdeps/sparc/nptl/sem_post.c: Likewise.
16463 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16464 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16465 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16466 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16467 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16468 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16470 2014-07-09 Andreas Schwab <schwab@suse.de>
16472 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16474 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16475 (do_test): Likewise.
16477 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16479 2014-07-09 Will Newton <will.newton@linaro.org>
16481 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16482 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16483 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16484 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16485 * sysdeps/hppa/start.S (_start): Likewise.
16487 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16489 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16491 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16494 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16496 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16497 after checking that it is non-NULL.
16499 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16501 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16503 * sysdeps/powerpc/memmove.c: Remove file.
16504 * sysdeps/powerpc/powerpc32/power4/memcopy.h
16505 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16506 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16507 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16508 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16509 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16510 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16511 string memmove instead of removed powerpc one.
16513 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16514 [weak_alias]: Fix compiler warning due trailing data.
16515 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16516 [weak_alias]: Likewise.
16517 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16518 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16520 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16521 (__libc_ifunc_impl_list): Add memmove functions.
16523 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16525 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16527 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16529 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16531 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16533 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16535 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16537 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16539 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16541 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16543 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16545 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16547 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16549 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16551 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16553 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16555 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16557 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16560 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16562 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16563 to avoid alignment traps in non-cacheable memory.
16564 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16566 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16568 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16569 file: multiarch power7 memmove.
16570 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16571 multiarch default memmove.
16572 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16573 multiarch memove for powerpc32/power4.
16575 * string/bcopy.c: Use full path to include memmove.c.
16576 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16578 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16579 bcopy for powerpc64.
16580 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16581 bcopy for powerpc64.
16582 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16583 and memmove implementations.
16584 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16585 optimized multiarch memmove for POWER7/powerpc64.
16586 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16587 default multiarch memmove for powerpc64.
16588 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16589 multiarch for powerpc64.
16590 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16591 for POWER7/powerpc64.
16592 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16593 memmove for POWER7/powerpc64.
16595 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16598 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16599 __ELF_NATIVE_CLASS equal to 64.
16601 2014-07-07 Roland McGrath <roland@hack.frob.com>
16603 * sysdeps/nptl/lowlevellock.h: File removed.
16605 * NEWS: NPTL is no longer an add-on!
16606 * nptl/internaltypes.h: Moved ...
16607 * sysdeps/nptl/internaltypes.h: ... here.
16608 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16609 * sysdeps/nptl/fork.c: Likewise.
16610 * sysdeps/nptl/gai_misc.h: Likewise.
16611 * sysdeps/nptl/librt-cancellation.c: Likewise.
16612 * sysdeps/nptl/jmp-unwind.c: Likewise.
16613 * sysdeps/nptl/setxid.h: Likewise.
16614 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16615 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16616 * sysdeps/unix/sysv/linux/arm/Implies: New file.
16617 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16618 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16619 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16620 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16621 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16622 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16623 * sysdeps/unix/sysv/linux/mips/Implies: New file.
16624 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16625 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16626 * sysdeps/unix/sysv/linux/sh/Implies: New file.
16627 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16628 * sysdeps/unix/sysv/linux/tile/Implies: New file.
16629 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16630 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16631 * nptl/Makeconfig: Moved ...
16632 * sysdeps/nptl/Makeconfig: ... here.
16633 * nptl/configure: File removed.
16634 * nptl/ANNOUNCE: File removed.
16635 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16636 * sysdeps/unix/sysv/linux/configure: Regenerated.
16638 * nptl/Makefile (routines): Add libc_pthread_init,
16639 libc_multiple_threads, register-atfork and unregister-atfork.
16640 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16641 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16642 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16643 pthread-pi-defines.sym, structsem.sym.
16644 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16645 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16646 [$(subdir) = nptl] (tests): Add tst-setgetname.
16647 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16648 * sysdeps/unix/sysv/linux/sigaction.c: Just include
16649 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16650 [!LIBC_SIGACTION]: Remove aliases.
16651 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16652 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16653 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16654 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16655 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16656 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16657 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16658 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16659 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16660 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16661 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16662 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16663 __libc_allocate_rtsig_private.
16664 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16665 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16666 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16667 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16668 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16669 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16670 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16671 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16672 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16673 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16674 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16675 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16676 * nptl/internaltypes.h: ... here.
16677 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16678 * sysdeps/nptl/jmp-unwind.c: ... here.
16679 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16680 * nptl/libc-lowlevellock.c: ... here.
16681 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16682 * nptl/libc_multiple_threads.c: ... here.
16683 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16684 * nptl/libc_pthread_init.c: ... here.
16685 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16686 * nptl/lowlevelbarrier.sym: ... here.
16687 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16688 * nptl/lowlevelcond.sym: ... here.
16689 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16690 * nptl/lowlevellock.c: ... here.
16691 * nptl/lowlevellock.h: Moved ...
16692 * sysdeps/nptl/lowlevellock.h: ... here.
16693 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16694 * nptl/lowlevelrobustlock.c: ... here.
16695 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16696 * nptl/lowlevelrobustlock.sym: ... here.
16697 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16698 * nptl/lowlevelrwlock.sym: ... here.
16699 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16700 * nptl/pt-fork.c: ... here.
16701 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16702 * nptl/pthread-pi-defines.sym: ... here.
16703 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16704 * nptl/pthread_attr_getaffinity.c: ... here.
16705 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16706 * nptl/pthread_attr_setaffinity.c: ... here.
16707 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16708 * nptl/pthread_mutex_cond_lock.c: ... here.
16709 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16711 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16712 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16713 * nptl/pthread_once.c: ... here, replacing old file.
16714 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16715 * nptl/pthread_yield.c: ... here.
16716 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16717 * nptl/register-atfork.c: ... here.
16718 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16719 * nptl/sem_post.c: ... here.
16720 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16721 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16722 * nptl/sem_timedwait.c: ... here.
16723 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16724 * nptl/sem_trywait.c: ... here.
16725 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16726 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16727 * nptl/sem_wait.c: ... here.
16728 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16729 * nptl/structsem.sym: ... here.
16730 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16731 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16732 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16733 * nptl/unregister-atfork.c: ... here.
16734 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16735 * nptl/unwindbuf.sym: ... here.
16736 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16737 * sysdeps/nptl/fork.c: ... here.
16738 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16739 * sysdeps/nptl/fork.h: ... here.
16740 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16741 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16742 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16743 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16744 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16745 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16746 * sysdeps/unix/sysv/linux/getpid.c: ... here.
16747 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16748 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16749 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16750 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16751 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16752 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16753 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16754 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16755 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16756 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16757 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16758 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16759 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16760 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16761 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16762 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16763 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16764 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16765 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16766 * sysdeps/unix/sysv/linux/raise.c: ... here.
16767 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16768 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16769 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16770 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16771 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16772 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16773 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16774 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16775 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16776 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16777 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16778 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16779 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16780 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16781 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16783 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16785 * sysdeps/generic/memcopy.h: Add comment for
16786 MEMCPY_OK_FOR_FWD_MEMMOVE.
16788 2014-07-04 Will Newton <will.newton@linaro.org>
16790 * string/memchr.c: Merge from gnulib.
16791 [_LIBC]: Remove conditionals.
16792 (__ptr_t): Remove define.
16793 (LONG_MAX_32_BITS): Likewise.
16794 (LONG_MAX): Likewise.
16795 (MEMCHR): Use ANSI prototype and optimize algorithm.
16797 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16799 2014-07-03 Roland McGrath <roland@hack.frob.com>
16801 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16802 (lll_futex_timed_wait_bitset): Fix syscall argument count.
16804 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16805 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16806 in a bare environment with no <stdlib.h> installed.
16807 * sysdeps/nptl/configure: Regenerated.
16809 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16811 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16812 AC_EGREP_CPP for kernel header checks, so they only succeed if
16813 including <linux/version.h> actually works right.
16814 * sysdeps/unix/sysv/linux/configure: Regenerated.
16816 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16817 value so it's not diagnosed as unused.
16819 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16820 thing) with "ifeq ($(subdir),rt)".
16822 2014-07-03 Richard Henderson <rth@redhat.com>
16824 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16825 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16826 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16828 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16829 (math_force_eval): New.
16831 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16832 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16834 * sysdeps/alpha/fpu/s_round.c: Remove file.
16835 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16837 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16838 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16839 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16840 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16841 (_dl_start, print_statistics): Likewise.
16842 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16843 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16845 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16846 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16847 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16848 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16849 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16850 (HP_SMALL_TIMING_AVAIL): Define.
16851 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16852 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16853 (HP_SMALL_TIMING_AVAIL): Define.
16854 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16855 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16857 * sysdeps/aarch64/hp-timing.h: New file.
16859 * sysdeps/generic/hp-timing.h: Remove dead comment.
16860 * sysdeps/generic/hp-timing-common.h: New file.
16861 * sysdeps/alpha/hp-timing.h: Include it.
16862 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16863 * sysdeps/i386/i686/hp-timing.h: Likewise.
16864 * sysdeps/ia64/hp-timing.h: Likewise.
16865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16866 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16867 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16868 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16869 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16870 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16871 (hp_timing_t): New.
16873 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16874 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16875 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16876 * elf/rtld.c (_dl_start_final): Likewise.
16877 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16878 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16879 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16880 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16881 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16882 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16883 (HP_TIMING_DIFF_INIT): Remove.
16884 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16885 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16886 (HP_TIMING_DIFF_INIT): Remove.
16887 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16888 * sysdeps/i386/i686/hp-timing.c: Remove file.
16889 * sysdeps/x86_64/hp-timing.c: Remove file.
16890 * sysdeps/ia64/hp-timing.c: Remove file.
16891 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16892 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16893 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16894 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16896 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16897 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16898 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16899 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16900 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16901 (HP_TIMING_ACCUM): Remove.
16902 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16903 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16904 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16906 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16907 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16908 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16909 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16910 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16911 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16912 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16913 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16915 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16917 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
16919 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16921 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16923 Sync up with gettext.
16924 * intl/loadmsgcat.c: Define O_BINARY if not defined.
16925 [_MSC_VER]: Include malloc.h
16926 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16927 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16928 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
16929 TEMP_FAILURE_RETRY. Cast return of alloca.
16930 [!_LIBC] Call gl_rwlock_init.
16931 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16933 2014-07-02 Roland McGrath <roland@hack.frob.com>
16935 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16936 before checking its value.
16938 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16940 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16942 * debug/memcpy_chk.c: Don't include pagecopy.h.
16943 * debug/mempcpy_chk.c: Likewise.
16944 * string/memcpy.c: Likewise.
16945 * string/memmove.c: Likewise.
16946 * sysdeps/powerpc/memmove.c: Likewise.
16947 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
16948 definition of PAGE_COPY_FWD_MAYBE here...
16949 * sysdeps/generic/pagecopy.h: ... from here.
16950 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16952 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16953 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16955 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16956 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16958 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16959 (__libc_ifunc_impl_list): Likewise.
16960 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16961 multiarch strcat for PPC64.
16962 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16963 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16965 2014-07-02 Roland McGrath <roland@hack.frob.com>
16967 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16969 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16971 * intl/loadmsgcat.c: Remove declaration of
16972 get_sysdep_segment_value.
16973 (get_sysdep_segment_value): Use ISO C style.
16974 (_nl_load_domain): Use ISO C style. Get rid of redundant
16975 semicolon. Fix typo and formatting in comment.
16976 (_nl_unload_domain): Use ISO C style.
16978 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16980 2014-07-02 Will Newton <will.newton@linaro.org>
16982 * malloc/obstack.c: Merge from gnulib master.
16983 [HAVE_CONFIG_H]: Remove conditional code.
16984 [!_LIBC]: Include config.h.
16985 [!ELIDE_CODE]: Don't include inttypes.h, include
16986 stdint.h unconditionally.
16987 (print_and_abort): Mark as _Noreturn.
16988 (_obstack_allocated_p): Mark as __attribute_pure__.
16989 (obstack_free): Rename to __obstack_free.
16990 [!__attribute__]: Remove conditional code.
16991 * malloc/obstack.h: Merge from gnulib master.
16992 [__cplusplus]: Move conditional down.
16993 [!__attribute_pure__]: Define __attribute_pure__ here
16994 if it is not already defined.
16995 (_obstack_memory_used): Mark as __attribute_pure__.
16996 [!__obstack_free]: Define as obstack_free.
16997 [__GNUC__]: Remove check for ancient NeXT gcc.
16999 2014-07-02 Will Newton <will.newton@linaro.org>
17000 Paul Eggert <eggert@cs.ucla.edu>
17002 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17004 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17006 * resolv/gethnamaddr.c: Add comment warning that the file is
17009 2014-07-01 Carlos O'Donell <carlos@redhat.com>
17011 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17014 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17015 entry for aio_cancel and aio_cancel64.
17016 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17017 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17018 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17019 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17020 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17021 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17022 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17023 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17024 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17025 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17026 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17027 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17028 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17030 2014-07-01 Roland McGrath <roland@hack.frob.com>
17032 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17033 * nptl/pthread_mutex_lock.c: Likewise.
17034 * nptl/pthread_mutex_timedlock.c: Likewise.
17035 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17037 2014-07-01 Richard henderson <rth@redhat.com>
17039 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17040 (__isnan, __isnanl): Remove.
17041 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17043 * sysdeps/alpha/fpu/libm-test-ulps: Update.
17045 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17047 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17049 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17051 * resolv/nss_dns/dns-host.c (getanswer_r)
17052 [MULTI_PTRS_ARE_ALIASES]: Remove code.
17054 2014-07-01 Joseph Myers <joseph@codesourcery.com>
17056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17057 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17059 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17060 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17062 2014-07-01 Roland McGrath <roland@hack.frob.com>
17064 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17065 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17067 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17068 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17070 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17071 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17073 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17074 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17076 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17077 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17078 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17079 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17081 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17082 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17083 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17084 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17085 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17087 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17089 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17090 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17091 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17092 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17093 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17094 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17095 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17096 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17097 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17098 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17099 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17100 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17101 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17102 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17103 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17104 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17105 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17106 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17107 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17108 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17110 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17111 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17112 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17113 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17114 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17115 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17116 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17117 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17119 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
17121 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17122 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17123 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17126 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17128 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17130 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17132 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17133 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17135 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17137 * sysdeps/arm/libm-test-ulps: Regenerated.
17139 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17140 Roland McGrath <roland@hack.frob.com>
17142 * test-skeleton.c (signal_handler): Kill the whole process group
17143 before killing the child individually.
17144 (main): Report any failure on `setpgid'.
17146 2014-06-30 Roland McGrath <roland@hack.frob.com>
17148 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17149 from _TLS_H to _ARM_NPTL_TLS_H.
17150 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17151 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17153 2014-06-30 Joseph Myers <joseph@codesourcery.com>
17156 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17157 (__expm1l): Return argument unchanged when small but not
17160 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17161 include macro name.
17162 (_FP_UNPACK_RAW_1_P): Likewise.
17163 (_FP_PACK_RAW_1): Likewise.
17164 (_FP_PACK_RAW_1_P): Likewise.
17165 (_FP_MUL_MEAT_1_wide): Likewise.
17166 (_FP_MUL_MEAT_DW_1_hard): Likewise.
17167 (_FP_MUL_MEAT_1_hard): Likewise.
17168 (_FP_DIV_MEAT_1_imm): Likewise.
17169 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17170 (_FP_DIV_MEAT_1_udiv): Likewise.
17171 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17172 (_FP_UNPACK_RAW_2): Likewise.
17173 (_FP_UNPACK_RAW_2_P): Likewise.
17174 (_FP_PACK_RAW_2): Likewise.
17175 (_FP_PACK_RAW_2_P): Likewise.
17176 (_FP_MUL_MEAT_DW_2_wide): Likewise.
17177 (_FP_MUL_MEAT_2_wide): Likewise.
17178 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17179 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17180 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17181 (_FP_MUL_MEAT_2_gmp): Likewise.
17182 (_FP_DIV_MEAT_2_udiv): Likewise.
17183 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17184 (_FP_FRAC_SRL_4): Likewise.
17185 (_FP_FRAC_SRST_4): Likewise.
17186 (_FP_FRAC_SRS_4): Likewise.
17187 (_FP_UNPACK_RAW_4): Likewise.
17188 (_FP_UNPACK_RAW_4_P): Likewise.
17189 (_FP_PACK_RAW_4): Likewise.
17190 (_FP_PACK_RAW_4_P): Likewise.
17191 (_FP_MUL_MEAT_DW_4_wide): Likewise.
17192 (_FP_MUL_MEAT_4_wide): Likewise.
17193 (_FP_MUL_MEAT_4_gmp): Likewise.
17194 (umul_ppppmnnn): Likewise.
17195 (_FP_DIV_MEAT_4_udiv): Likewise.
17196 (__FP_FRAC_ADD_4): Likewise.
17197 (__FP_FRAC_SUB_3): Likewise.
17198 (__FP_FRAC_SUB_4): Likewise.
17199 (__FP_FRAC_DEC_3): Likewise.
17200 (__FP_FRAC_DEC_4): Likewise.
17201 (__FP_FRAC_ADDI_4): Likewise.
17202 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17203 (_FP_FRAC_SRL_8): Likewise.
17204 (_FP_FRAC_SRS_8): Likewise.
17206 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17207 include macro name.
17208 (FP_UNPACK_RAW_EP): Likewise.
17209 (FP_PACK_RAW_E): Likewise.
17210 (FP_PACK_RAW_EP): Likewise.
17211 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17212 (_FP_ISSIGNAN): Likewise.
17213 (_FP_ADD_INTERNAL): Likewise.
17214 (_FP_FMA): Likewise.
17215 (_FP_CMP): Likewise.
17216 (_FP_SQRT): Likewise.
17217 (_FP_TO_INT): Likewise.
17218 (_FP_FROM_INT): Likewise.
17219 (FP_EXTEND): Likewise.
17220 (_FP_DIV_MEAT_N_loop): Likewise.
17222 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
17224 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17227 2014-06-29 Joseph Myers <joseph@codesourcery.com>
17230 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17231 result with correct sign in case of exponents that produce
17232 overflow except for X very close to 1.
17234 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
17236 mktime: merge #if/#ifdef usage from glibc
17237 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17238 as that works with both Glibc's and Gnulib's style.
17239 See thread starting at Siddhesh Poyarekar's bug report at:
17240 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17242 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17244 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17245 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17246 * sysdeps/tile/tilegx/memmove.c: Remove file.
17248 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17250 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17251 abi-name definition.
17252 * scripts/soversions.awk: Do not handle or generate ABI lines.
17253 * shlib-versions: Remove ABI entries.
17254 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17255 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17257 2014-06-27 Roland McGrath <roland@hack.frob.com>
17259 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17260 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17262 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17263 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17264 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17265 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17267 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17269 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17270 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17271 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17272 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17274 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17275 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17276 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17278 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17280 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17281 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17283 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17284 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17285 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17286 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17287 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17288 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17290 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17293 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17295 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17296 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17298 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17299 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17300 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17301 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17302 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17303 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17304 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17307 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17309 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17310 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17312 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17313 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17315 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17316 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17317 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17318 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17320 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17322 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17323 Identical file removed.
17324 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17326 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17328 Identical file removed.
17329 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17330 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17331 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17333 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17334 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17335 Identical file removed.
17336 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17337 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17338 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17339 Identical file removed.
17340 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17341 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17342 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17343 Identical file removed.
17344 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17345 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17346 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17347 Identical file removed.
17348 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17350 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17352 Identical file removed.
17353 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17355 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17356 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17357 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17358 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17359 Identical file removed.
17360 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17362 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17365 Identical file removed.
17366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17368 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17370 Identical file removed.
17371 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17373 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17374 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17375 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17376 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17377 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17378 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17381 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17382 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17384 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17385 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17386 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17387 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17388 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17390 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
17393 * nscd/nscd.c (monitor_child): Return exit status of child
17394 instead of return value from wait syscall.
17396 2014-06-27 Joseph Myers <joseph@codesourcery.com>
17398 * configure.ac (libc_commonpagesize): Remove variable.
17399 (libc_relro_required): Likewise.
17400 (libc_cv_z_relro): Remove configure test.
17401 * configure: Regenerated.
17402 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17404 (libc_relro_required): Likewise.
17405 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17406 (libc_relro_required): Likewise.
17407 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17408 (libc_relro_required): Likewise.
17409 * sysdeps/arm/preconfigure: Regenerated.
17410 * sysdeps/ia64/preconfigure: Remove file.
17411 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17413 (libc_relro_required): Likewise.
17417 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17418 (__ieee754_yn): Set FE_TONEAREST mode internally and then
17419 recompute overflowing results in original rounding mode.
17420 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17421 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17422 recompute overflowing results in original rounding mode.
17423 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17424 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17425 recompute overflowing results in original rounding mode.
17426 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17427 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17428 recompute overflowing results in original rounding mode.
17429 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17430 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17431 recompute overflowing results in original rounding mode.
17432 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17433 (libc_feholdsetround_ctx): New macro.
17434 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17435 * sysdeps/i386/fpu/libm-test-ulps: Update.
17436 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17438 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17440 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17441 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17442 corresponding .cpsetup call.
17444 2014-06-26 Roland McGrath <roland@hack.frob.com>
17446 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17447 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17448 * sysdeps/arm/Makefile [$(subdir) = csu]
17449 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17450 (static-only-routines): Add aeabi_read_tp here.
17451 (shared-only-routines): Add libc-aeabi_read_tp here.
17452 (CFLAGS-libc-start.c): Add -fexceptions here.
17453 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17454 (sysdep_routines, static-only-routines, shared-only-routines):
17455 Don't add to these here.
17456 (CFLAGS-libc-start.c): Likewise.
17458 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17459 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17460 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17461 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17462 * sysdeps/arm/Makefile [$(subdir) = rt]
17463 (librt-sysdep_routines, librt-shared-only-routines):
17464 Append rt-aeabi_unwind_cpp_pr1 here.
17465 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17466 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17467 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17468 (libpthread-sysdep_routines, libpthread-shared-only-routines):
17469 Append nptl-aeabi_unwind_cpp_pr1 here.
17470 (tests): Filter out tst-cleanupx4 here.
17471 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17472 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17473 Don't do those here.
17475 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17477 * scripts/list-sources.sh: Do not handle ports specially.
17479 2014-06-26 Roland McGrath <roland@hack.frob.com>
17481 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17482 * sysdeps/arm/feupdateenv.c: Likewise.
17484 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17486 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17488 * manual/texinfo.tex: Update to version 2014-05-05.10 with
17489 trailing whitespace removed.
17490 * scripts/config.guess: Update to version 2014-03-23.
17491 * scripts/config.sub: Update to version 2014-05-01
17492 * scripts/install-sh: Update to version 2013-12-25.23.
17493 * scripts/move-if-change: Update from gnulib.
17495 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17497 * debug/memmove_chk.c: Remove pagecopy.h include.
17499 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
17501 * time/mktime.c (leapyear): Remove inline keyword. The code is now
17502 identical to gnulib mktime.
17504 2014-06-26 Joseph Myers <joseph@codesourcery.com>
17506 * configure.ac: Do not test for machine being rs6000. Do not test
17507 for powerpc*-*soft.
17508 * configure: Regenerated.
17511 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17513 * configure: Regenerated.
17514 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17515 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17516 Remove configure test.
17517 * sysdeps/arm/configure: Regenerated.
17518 * sysdeps/nptl/configure.ac: Do not check
17519 libc_cv_asm_cfi_directives.
17520 * sysdeps/nptl/configure: Regenerated.
17521 * sysdeps/x86_64/nptl/configure.ac: Remove file.
17522 * sysdeps/x86_64/nptl/configure: Remove generated file.
17523 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17525 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17527 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17529 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17530 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17531 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17534 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17535 instead of whether it is defined.
17536 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17537 * sysdeps/hppa/dl-machine.h: Likewise.
17538 * sysdeps/ia64/dl-machine.h: Likewise.
17539 * sysdeps/m68k/dl-machine.h: Likewise.
17540 * sysdeps/microblaze/dl-machine.h: Likewise.
17541 * sysdeps/mips/dl-machine.: Likewise.
17542 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17543 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17544 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17545 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17546 * sysdeps/sh/dl-machine.h: Likewise.
17547 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17548 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17549 * sysdeps/tile/dl-machine.h: Likewise.
17550 * sysdeps/x86_64/dl-machine.h: Likewise.
17552 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17554 (verify_persistent_db): Likewise.
17556 2014-06-26 Roland McGrath <roland@hack.frob.com>
17558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17559 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17560 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17561 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17564 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17566 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17567 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17569 Identical file removed.
17570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17571 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17573 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17575 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17577 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17579 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17582 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17584 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17586 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17589 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17591 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17593 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17595 Identical file removed.
17596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17597 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17599 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17602 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17605 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17606 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17607 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17609 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17610 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17611 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17613 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17616 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17619 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17621 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17624 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17626 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17628 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17630 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17631 * sysdeps/unix/sysv/linux/s390/Versions
17632 (libpthread: GLIBC_2.19): New version set.
17633 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17634 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17635 (librt: GLIBC_2.3.3): New version set.
17636 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17637 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17638 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17639 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17640 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17641 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17642 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17643 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17644 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17645 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17646 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17647 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17648 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17649 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17650 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17651 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17652 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17653 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17654 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17655 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17656 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17657 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17658 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17659 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17660 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17661 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17662 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17663 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17664 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17665 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17666 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17667 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17668 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17669 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17672 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17673 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17674 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17675 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17676 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17677 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17678 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17679 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17680 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17682 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17683 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17684 (__libc_vfork): Define the function under this name.
17685 [!NOT_IN_libc] (__vfork): Make this an alias.
17686 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17687 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17688 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17689 (__libc_vfork): Define the function under this name.
17690 [!NOT_IN_libc] (__vfork): Make this an alias.
17691 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17692 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17693 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17694 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17695 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17696 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17698 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17699 code that was previously under [RESET_PID].
17700 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17701 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17702 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17704 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17705 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17706 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17707 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17708 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17709 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17710 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17711 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17712 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17713 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17714 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17716 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17717 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17718 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17719 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17720 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17721 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17722 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17723 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17724 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17725 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17726 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17727 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17728 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17729 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17730 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17731 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17732 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17733 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17734 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17735 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17736 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17737 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17738 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17739 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17740 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17741 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17742 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17743 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17744 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17746 2014-06-25 Roland McGrath <roland@hack.frob.com>
17748 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17749 that was previously under [RESET_PID].
17750 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17752 2014-06-25 Joseph Myers <joseph@codesourcery.com>
17754 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17755 not undefine and redefine.
17756 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17757 [O_CLOEXEC]: Make code unconditional.
17758 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17759 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17760 <kernel-features.h>.
17761 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17762 conditional variable definition.
17763 (shm_open) [O_CLOEXEC]: Make code unconditional.
17764 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17767 * configure.ac (USE_REGPARMS): Don't define here.
17768 * configure: Regenerated.
17769 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17770 * sysdeps/i386/configure: Regenerated.
17772 * nptl/createthread.c: Don't include kernel-features.h.
17773 * nptl/pthread_cancel.c: Likewise.
17774 * nptl/pthread_condattr_setclock.c: Likewise.
17775 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17776 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17777 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17778 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17779 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17780 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17781 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17782 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17783 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17784 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17785 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17786 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17787 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17788 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17789 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17790 * nscd/gai.c: Likewise.
17791 * nss/nss_db/db-open.c: Likewise.
17792 * sysdeps/generic/ldsodefs.h: Likewise.
17793 * sysdeps/sh/nptl/tls.h: Likewise.
17794 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17795 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17796 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17797 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17798 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17799 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17800 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17801 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17802 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17803 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17804 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17805 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17806 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17807 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17808 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17809 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17810 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17811 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17812 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17813 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17814 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17815 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17816 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17817 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17818 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17820 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17821 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17822 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17823 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17824 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17825 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17826 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17827 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17828 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17829 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17830 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17831 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17832 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17833 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17834 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17835 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17836 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17837 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17838 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17839 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17840 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17841 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17842 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17843 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17844 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17845 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17846 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17847 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17848 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17849 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17850 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17851 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17874 * sysdeps/unix/sysv/linux/pread.c: Likewise.
17875 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17876 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17877 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17878 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17879 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17880 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17881 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17882 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17883 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17884 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17885 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17886 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17887 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17888 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17889 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17890 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17891 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17892 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17893 * sysdeps/unix/sysv/linux/system.c: Likewise.
17894 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17895 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17896 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17897 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17898 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17899 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17900 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17902 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17903 * configure: Regenerated.
17904 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17906 * configure.ac (base_machine): Do not set specially for particular
17908 * configure: Regenerated.
17909 * sysdeps/powerpc/preconfigure: Move machine and base_machine
17910 settings from configure.ac.
17911 * sysdeps/i386/preconfigure: New file.
17912 * sysdeps/s390/preconfigure: Likewise.
17913 * sysdeps/sh/preconfigure: Likewise.
17914 * sysdeps/sparc/preconfigure: Likewise.
17916 2014-06-25 Roland McGrath <roland@hack.frob.com>
17918 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17919 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17920 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17921 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17922 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17923 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17924 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17925 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17926 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17927 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17928 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17929 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17930 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17931 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17932 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17933 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17934 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17935 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17936 * sysdeps/sparc/sparc64/Makefile: ... appended here.
17938 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17939 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17940 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17941 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17942 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17943 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17944 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17945 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17946 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17947 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17948 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17949 * sysdeps/sparc/sparc32/sem_post.c: ... here.
17950 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17951 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17952 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17953 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17954 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17955 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17956 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17957 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17959 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17960 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17961 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17962 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17963 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17965 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17966 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17967 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17969 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17970 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17971 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17973 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17974 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17975 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17978 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17980 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17983 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17985 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17986 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17987 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17988 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17991 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17993 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17995 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17996 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17997 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18000 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18003 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18004 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18005 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18008 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18010 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18012 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18013 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18014 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18015 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18016 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18017 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18019 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18021 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18027 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18029 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18031 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18032 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18033 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18036 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18039 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18040 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18041 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18042 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18044 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18046 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18048 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18050 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18052 * timezone/checktab.awk: Update from tzcode 2014e.
18053 * timezone/private.h: Likewise.
18054 * timezone/tzfile.h: Likewise.
18055 * timezone/zdump.c: Likewise.
18056 * timezone/zic.c: Likewise.
18058 * sysdeps/unix/sysv/linux/kernel-features.h
18059 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18060 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18061 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18062 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18063 Remove conditional code.
18065 2014-06-25 Will Newton <will.newton@linaro.org>
18067 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18068 (_dl_arm_cap_flags): Add HWCAP2 values.
18069 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18070 (_DL_HWCAP_COUNT): Increase to 37.
18071 (_DL_HWCAP_LAST): New define.
18072 (_DL_HWCAP2_LAST): New define.
18073 (_dl_procinfo): Add support for printing
18075 (_dl_string_hwcap): Use _dl_hwcap_string.
18077 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18079 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18081 2014-06-25 Joseph Myers <joseph@codesourcery.com>
18083 * README: Do not mention ports directory.
18085 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18087 * sysdeps/unix/sysv/linux/futimes.c: Do not include
18088 <kernel-features.h>.
18089 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18090 conditional variable definition.
18091 (__futimes): Update comment.
18092 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18093 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18096 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18097 arguments close to 0.
18098 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18100 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18102 * math/auto-libm-test-in: Add more tests of exp10.
18103 * math/auto-libm-test-out: Regenerated.
18104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18106 * sysdeps/unix/sysv/linux/kernel-features.h
18107 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18108 * sysdeps/unix/sysv/linux/readv.c: Do not include
18109 <kernel-features.h>.
18110 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18111 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18112 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18114 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18116 * sysdeps/unix/sysv/linux/writev.c: Do not include
18117 <kernel-features.h>.
18118 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18119 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18120 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18122 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18125 2014-06-25 Will Newton <will.newton@linaro.org>
18127 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18128 comment changes throughout the file. Remove checks
18129 for HAVE_*_H definitions that are not required.
18130 (__gen_tempname): Call abort if an unknown kind value is
18133 2014-06-25 Andreas Schwab <schwab@suse.de>
18136 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18137 scalbln, scalblnf, scalblnl in libc.
18139 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
18142 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18143 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18144 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18146 2014-06-24 Roland McGrath <roland@hack.frob.com>
18148 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18149 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18150 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18151 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18153 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18154 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18156 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18157 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18158 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18159 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18160 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18161 * sysdeps/x86/bits/pthreadtypes.h: ... here.
18162 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18163 * sysdeps/x86/bits/semaphore.h: ... here.
18164 * sysdeps/x86/nptl/elide.h: Moved ...
18165 * sysdeps/x86/elide.h: ... here.
18166 * sysdeps/x86_64/nptl/Implies: File removed.
18167 * sysdeps/i386/nptl/Implies: File removed.
18169 2014-06-24 Joseph Myers <joseph@codesourcery.com>
18172 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18173 return the argument for normal arguments with exponent below -64.
18174 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18176 * math/auto-libm-test-in: Add another test of expm1.
18177 * math/auto-libm-test-out: Regenerated.
18180 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18181 calling __erfcl for arguments at least 16.
18182 * math/auto-libm-test-in: Add more tests of erf.
18183 * math/auto-libm-test-out: Regenerated.
18185 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18186 individual architectures.
18187 * sysdeps/unix/sysv/linux/configure: Regenerated.
18188 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18189 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18190 * sysdeps/unix/sysv/linux/powerpc/configure.ac
18191 (ldd_rewrite_script): Define variable.
18192 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18197 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18198 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18199 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18200 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18201 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18202 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18203 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18204 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18206 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18209 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18210 Rename member __data.d to __data.__elision_data.
18212 2014-06-24 Wilco <wdijkstr@arm.com>
18214 * NEWS: Add 16918 to fixed bug list.
18216 2014-06-24 Wilco <wdijkstr@arm.com>
18218 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18220 2014-06-24 Wilco <wdijkstr@arm.com>
18222 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18223 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18224 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18225 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18226 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18227 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18228 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18231 2014-06-24 Wilco <wdijkstr@arm.com>
18233 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18235 2014-06-24 Wilco <wdijkstr@arm.com>
18237 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18238 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18239 * sysdeps/arm/fesetround.c (fesetround): Remove space.
18240 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18242 2014-06-24 Wilco <wdijkstr@arm.com>
18245 * sysdeps/arm/feupdateenv.c (feupdateenv):
18246 Rewrite to reduce FPSCR accesses and fix return value.
18248 2014-06-24 Wilco <wdijkstr@arm.com>
18250 * sysdeps/arm/fclrexcpt.c (feclearexcept):
18251 Optimize to avoid unnecessary FPSCR writes.
18252 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18253 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18254 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18255 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18257 2014-06-24 Wilco <wdijkstr@arm.com>
18259 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18260 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18261 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18262 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18263 Call libc_fetestexcept_vfp.
18264 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18265 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18266 __SOFTFP__ ifdef so that they can be built for softfp.
18268 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18270 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18271 argument type signed char.
18273 * Makerules (check-abi): Dump diff of symlist if the test
18276 2014-06-23 Roland McGrath <roland@hack.frob.com>
18278 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18281 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18282 Remove unused variable ST.
18284 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18288 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18289 small arguments before calling __expm1.
18290 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18291 small arguments before calling __expm1f.
18292 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18293 small arguments before calling __expm1l.
18294 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18296 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18297 * math/auto-libm-test-in: Add more cosh tests. Do not allow
18298 spurious underflow for some cosh tests.
18299 * math/auto-libm-test-out: Regenerated.
18300 * sysdeps/i386/fpu/libm-test-ulps: Update.
18303 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18304 (__ieee754_y1): Set errno if return value overflows.
18305 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18306 (__ieee754_y1f): Set errno if return value overflows.
18307 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18308 (__ieee754_y1l): Set errno if return value overflows.
18309 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18310 (__ieee754_y1l): Set errno if return value overflows.
18311 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18312 * math/auto-libm-test-out: Regenerated.
18314 * math/gen-auto-libm-tests.c: Document use of
18315 ignore-zero-inf-sign.
18316 (input_flag_type): Add value flag_ignore_zero_inf_sign.
18317 (input_flags): Add ignore-zero-inf-sign.
18318 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18319 * math/gen-libm-test.pl (generate_testfile): Handle
18320 ignore-zero-inf-sign.
18321 * math/auto-libm-test-in: Mark some cpow tests with
18322 ignore-zero-inf-sign and some with xfail-rounding.
18323 * math/auto-libm-test-out: Regenerated.
18324 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18325 * sysdeps/i386/fpu/libm-test-ulps: Update.
18326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18329 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18330 overflowing or underflowing operations take place with sign of
18332 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18333 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18334 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18335 (__ieee754_pow): Recompute overflowing and underflowing results in
18336 original rounding mode.
18337 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18338 (__powl_helper): Allow negative argument X and scale negated value
18339 as needed. Avoid passing value outside [-1, 1] to f2xm1.
18340 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18341 overflowing or underflowing operations take place with sign of
18343 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18345 * math/auto-libm-test-in: Add more tests of pow.
18346 * math/auto-libm-test-out: Regenerated.
18347 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18348 (pow_tonearest_test_data): Remove.
18349 (pow_test_tonearest): Likewise.
18350 (pow_towardzero_test_data): Likewise.
18351 (pow_test_towardzero): Likewise.
18352 (pow_downward_test_data): Likewise.
18353 (pow_test_downward): Likewise.
18354 (pow_upward_test_data): Likewise.
18355 (pow_test_upward): Likewise.
18356 (main): Don't call removed functions.
18357 * sysdeps/i386/fpu/libm-test-ulps: Update.
18358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18360 2014-06-23 Roland McGrath <roland@hack.frob.com>
18362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18536 2014-06-23 Will Newton <will.newton@linaro.org>
18537 Wilco <wdijkstr@arm.com>
18539 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18540 implementation. Include get-rounding-mode.h.
18541 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18542 [!libc_feholdsetround_noex_ctx]: Define
18543 libc_feholdsetround_noex_ctx.
18544 [!libc_feholdsetround_noexf_ctx]: Define
18545 libc_feholdsetround_noexf_ctx.
18546 [!libc_feholdsetround_noexl_ctx]: Define
18547 libc_feholdsetround_noexl_ctx.
18548 (libc_feholdsetround_ctx): New function.
18549 (libc_feresetround_ctx): New function.
18550 (libc_feholdsetround_noex_ctx): New function.
18551 (libc_feresetround_noex_ctx): New function.
18553 2014-06-23 Roland McGrath <roland@hack.frob.com>
18555 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18556 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18557 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18558 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18559 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18560 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18562 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18563 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18564 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18565 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18566 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18567 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18568 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18569 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18570 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18571 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18572 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18574 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18576 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18577 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18578 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18579 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18580 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18582 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18584 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18586 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18587 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18588 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18589 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18591 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18592 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18594 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18595 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18596 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18597 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18599 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18601 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18602 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18603 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18604 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18605 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18606 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18607 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18608 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18610 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18612 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18613 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18614 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18616 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18617 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18618 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18619 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18620 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18621 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18622 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18623 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18624 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18626 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18628 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18630 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18631 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18633 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18634 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18635 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18636 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18637 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18639 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18640 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18641 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18642 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18643 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18644 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18645 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18646 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18652 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18656 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18657 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18658 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18659 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18660 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18661 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18662 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18663 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18664 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18665 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18666 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18668 2014-06-23 Joseph Myers <joseph@codesourcery.com>
18670 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18671 (FALLOC_FL_COLLAPSE_RANGE): New macro.
18672 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18673 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18674 (IPV6_PMTUDISC_INTERFACE): Likewise.
18675 (IPV6_PMTUDISC_OMIT): Likewise.
18677 2014-06-23 Andreas Schwab <schwab@suse.de>
18679 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18680 Remove unused errout label.
18682 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18684 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18685 macro: hardware supports Vector Crypto instructions.
18687 2014-06-23 Will Newton <will.newton@linaro.org>
18689 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18690 rather than __builtin_expect.
18692 * elf/dl-lookup.c (undefined_msg): Remove variable.
18693 (_dl_lookup_symbol_x): Replace undefined_msg with string
18696 * elf/dl-lookup.c (do_lookup_unique): New function.
18697 (do_lookup_x): Move STB_GNU_UNIQUE handling code
18698 to a separate function.
18700 2014-06-23 Andreas Schwab <schwab@suse.de>
18703 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18704 before reading the next line.
18706 2014-06-23 Will Newton <will.newton@linaro.org>
18708 * test-skeleton.c (signal_handler): Use printf and %m
18709 rather than perror. Use printf rather than fprintf to
18710 stderr. Use puts rather than fputs to stderr.
18713 2014-06-22 Ludovic Courtès <ludo@gnu.org>
18715 * nscd/nscd.c (thread_info_t): Remove typedef.
18716 (thread_info): Remove variable.
18718 2014-06-21 Allan McRae <allan@archlinux.org>
18720 * NEWS: Mention CVE-2014-4043.
18722 2014-06-20 Roland McGrath <roland@hack.frob.com>
18724 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18725 * nptl/smp.h: ... here.
18727 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18729 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18730 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18731 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18732 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18734 * nptl/allocatestack.c: Include <stack-aliasing.h>.
18735 * nptl/stack-aliasing.h: New file.
18736 * sysdeps/i386/i686/stack-aliasing.h: New file.
18737 * sysdeps/i386/i686/nptl/Makefile: File removed.
18738 * sysdeps/x86_64/stack-aliasing.h: New file.
18739 * sysdeps/x86_64/nptl/Makefile
18740 (CFLAGS-pthread_create.c): Variable removed.
18742 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18743 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18745 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18746 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18749 2014-06-21 Joseph Myers <joseph@codesourcery.com>
18751 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18752 (__ASSUME_SIGFRAME_V2): Remove macro.
18753 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18754 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18755 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18756 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18757 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18758 Declare as function. Remove conditional macro definitions.
18759 (__default_rt_sa_restorer): Likewise.
18760 (__default_sa_restorer_v1): Remove declaration.
18761 (__default_sa_restorer_v2): Likewise.
18762 (__default_rt_sa_restorer_v1): Likewise.
18763 (__default_rt_sa_restorer_v2): Likewise.
18764 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18765 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18766 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18768 2014-06-20 Roland McGrath <roland@hack.frob.com>
18770 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18771 (libpthread-routines): Add sysdep.
18772 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18773 * sysdeps/unix/sysv/linux/sparc/Versions
18774 (libpthread: GLIBC_2.3.3): New version set.
18775 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18776 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18777 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18778 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18779 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
18780 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18782 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18783 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18784 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18785 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18786 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18787 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18788 * sysdeps/sparc/nptl/sem_init.c: ... here.
18789 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18790 * sysdeps/sparc/nptl/sem_post.c: ... here.
18791 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18792 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18793 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18794 * sysdeps/sparc/nptl/sem_wait.c: ... here.
18795 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18796 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18797 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18798 (libpthread-routines): Add cpu_relax.
18799 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18801 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18802 (librt: GLIBC_2.3.3): New version set.
18803 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18804 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18805 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18806 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18807 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18808 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18809 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18810 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18812 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18813 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18814 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18815 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18816 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18817 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18818 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18819 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18820 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18823 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18827 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18831 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18835 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18837 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18839 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18843 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18846 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18848 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18850 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18851 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18852 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18853 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18854 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18855 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18857 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18859 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18861 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18863 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18865 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18866 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18867 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18868 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18869 * nscd/nscd.c: Likewise.
18870 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18871 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18872 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18873 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18875 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18876 <kernel-features.h>.
18877 (init_mq_netlink): Remove conditional have_sock_cloexec
18878 definitions. Remove code conditional on have_sock_cloexec < 0.
18879 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18880 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18881 * sysdeps/unix/sysv/linux/opensock.c: Do not include
18882 <kernel-features.h>.
18883 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18884 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18886 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
18888 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18889 Add tests for memset_chk and memset.
18891 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18894 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18897 * elf/tst-dl-iter-static.c: New file.
18898 * elf/Makefile (tests-static): Add tst-dl-iter-static.
18900 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18903 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18905 * sysdeps/unix/sysv/linux/kernel-features.h
18906 (__ASSUME_F_GETOWN_EX): Remove macro.
18907 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18908 <kernel-features.h>.
18909 (miss_F_GETOWN_EX): Remove variable or macro.
18910 (do_fcntl): Do not check miss_F_GETOWN_EX.
18911 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18915 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18916 [!__ASSUME_AT_RANDOM]: Remove conditional code.
18917 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18919 * sysdeps/unix/sysv/linux/kernel-features.h
18920 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18921 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18922 [ADJ_OFFSET_SS_READ]: Make code unconditional.
18923 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18925 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
18928 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18929 Fix calculation of the symbol's value.
18930 * sysdeps/arm/tst-armtlsdescloc.c: New file.
18931 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18932 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18933 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18934 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18935 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18936 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18937 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18938 (modules-names): Add `tst-armtlsdescmod',
18939 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18940 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18941 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18942 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18943 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18944 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18945 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18946 ($(objpfx)tst-armtlsdescloc): New dependency.
18947 ($(objpfx)tst-armtlsdescextnow): Likewise.
18948 ($(objpfx)tst-armtlsdescextlazy): Likewise.
18949 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18950 TLS scheme support.
18951 * sysdeps/arm/configure: Regenerate.
18953 2014-06-20 Joseph Myers <joseph@codesourcery.com>
18955 * include/fcntl.h (__atfct_seterrno): Remove prototype.
18956 (__atfct_seterrno_2): Likewise.
18957 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18958 <kernel-features.h>.
18959 (__ASSUME_ATFCTS): Do not undefine and redefine.
18960 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18961 (__have_atfcts): Remove conditional definition.
18962 (__fxstatat([__NR_fstatat64]: Make code unconditional.
18963 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18964 unreachable if [__ASSUME_ATFCTS].
18965 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18966 not undefine and redefine.
18967 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18968 <kernel-features.h>.
18969 (faccessat) [__NR_faccessat]: Make code unconditional.
18970 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18971 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18972 <kernel-features.h>.
18973 (fchmodat) [__NR_fchmodat]: Make code unconditional.
18974 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18975 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18976 <kernel-features.h>.
18977 (fchownat) [__NR_fchownat]: Make code unconditional.
18978 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18979 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18980 <kernel-features.h>.
18981 (futimesat) [__NR_futimesat]: Make code unconditional.
18982 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18983 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18984 <kernel-features.h>.
18985 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18986 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18987 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18988 <kernel-features.h>.
18989 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18990 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18991 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18992 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18993 <kernel-features.h>.
18994 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18995 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18996 * sysdeps/unix/sysv/linux/linkat.c: Do not include
18997 <kernel-features.h>.
18998 (linkat) [__NR_linkat]: Make code unconditional.
18999 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19000 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19001 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19002 <kernel-features.h>.
19003 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19004 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19005 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19006 <kernel-features.h>.
19007 (mkdirat) [__NR_mkdirat]: Make code unconditional.
19008 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19009 * sysdeps/unix/sysv/linux/openat.c: Do not include
19010 <kernel-features.h>.
19011 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19012 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19013 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19014 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19015 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19016 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19017 <kernel-features.h>.
19018 (readlinkat) [__NR_readlinkat]: Make code unconditional.
19019 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
19020 result of INLINE_SYSCALL directly, not via int variable.
19021 * sysdeps/unix/sysv/linux/renameat.c: Do not include
19022 <kernel-features.h>.
19023 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19024 (renameat) [__NR_renameat]: Make code unconditional.
19025 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19026 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19027 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19028 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19029 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19030 (__ASSUME_ATFCTS): Do not undefine and redefine.
19031 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19032 <kernel-features.h>.
19033 (symlinkat) [__NR_symlinkat]: Make code unconditional.
19034 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19035 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19036 <kernel-features.h>.
19037 (unlinkat) [__NR_unlinkat]: Make code unconditional.
19038 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19039 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19040 (__ASSUME_ATFCTS): Do not undefine and redefine.
19041 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19042 <kernel-features.h>.
19043 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19044 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19045 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19046 <kernel-features.h>.
19047 (__xmknodat) [__NR_mknodat]: Make code unconditional.
19048 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19050 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
19052 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19054 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
19057 * posix/regcomp.c (parse_reg_exp): Deallocate partially
19058 constructed tree before returning error.
19059 * posix/bug-regexp36.c: Expand test case.
19061 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
19064 * math/libm-test.inc (scalbln_test_date):
19065 Add errno expectations.
19066 * math/w_scalblnf.c: New File.
19067 Add wrapper which checks for setting errno to ERANGE.
19068 Add weak_alias for corresponding scalbln function.
19069 * math/w_scalbln.c: Likewise.
19070 * math/w_scalblnl.c: Likewise.
19071 * math/Makefile (libm-calls): Add w_scalbln.
19072 * sysdeps/ieee754/flt-32/s_scalblnf.c:
19073 Remove weak_alias for corresponding scalbln function.
19074 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19075 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19076 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19078 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19079 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19080 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19081 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19082 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19083 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19084 Remove long_double_symbol for scalblnl function in libm, libc.
19085 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19086 Add wrapper which checks for setting errno to ERANGE.
19087 Add long_double_symbol for scalblnl function in libm, libc.
19088 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19089 Remove long_double_symbol for scalblnl in libm.
19090 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19091 Add wrapper which checks for setting errno to ERANGE.
19092 Add long_double_symbol for scalblnl function in libm.
19093 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19094 Do not use wrapper because of own implementation.
19096 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
19098 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19099 3 bytes for __pad1 for x32.
19100 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19102 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
19103 H.J. Lu <hongjiu.lu@intel.com>
19105 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19106 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19107 * sysdeps/x86_64/multiarch/memset.S: Likewise.
19108 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19109 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19111 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
19114 * posix/regcomp.c (parse_expression): Deallocate partially
19115 constructed tree before returning error.
19116 * posix/Makefile.c (tests): Add bug-regex36.
19117 (generated): Add bug-regex36.mtrace.
19118 (tests-special): Add $(objpfx)bug-regex36-mem.out
19119 (bug-regex36-ENV): New variable.
19120 ($(objpfx)bug-regex36-mem.out): New rule.
19121 * posix/bug-regex36.c: New file.
19123 2014-06-19 Will Newton <will.newton@linaro.org>
19125 * malloc/malloc.c (systrim): If extra is zero then return
19128 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
19130 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19132 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
19134 * sysdeps/aarch64/strchr.S: New file.
19136 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19139 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19140 from arguments -2 or below.
19141 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19142 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19144 2014-06-18 Andreas Schwab <schwab@suse.de>
19147 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19148 of a bracket expr not to run off the end of the string.
19149 * posix/Makefile (tests): Add tst-fnmatch3.
19150 * posix/tst-fnmatch3.c: New file.
19152 2014-06-18 Joseph Myers <joseph@codesourcery.com>
19154 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19155 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19156 [$(cross-compiling) = no]: Likewise.
19157 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19158 [$(cross-compiling) = no]: Likewise.
19160 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19163 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19164 double, adjusted for any remainder from the high double.
19165 * math/libm-test.inc (nearbyint): Add tests.
19168 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19170 * nptl/sysdeps/powerpc/Makefile: Moved ...
19171 * sysdeps/powerpc/nptl/Makefile: ... here.
19172 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19173 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19174 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19175 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19176 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19177 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19178 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19179 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19180 * nptl/sysdeps/powerpc/tls.h: Moved ...
19181 * sysdeps/powerpc/nptl/tls.h: ... here.
19183 2014-06-16 Joseph Myers <joseph@codesourcery.com>
19186 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19187 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19188 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19189 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19190 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19191 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19192 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19193 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19194 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19196 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
19198 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19200 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
19202 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19205 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19208 2014-06-16 Florian Weimer <fweimer@redhat.com>
19211 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19212 non-executed part of the test.
19214 2014-06-16 Andreas Schwab <schwab@suse.de>
19216 * string/bits/string2.h (strdup, strndup): Update feature guard.
19218 2014-06-14 David S. Miller <davem@davemloft.net>
19220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19222 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
19224 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19225 that was previously under [RESET_PID].
19226 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19228 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19229 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19230 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19231 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19232 (__libc_vfork): New strong alias.
19233 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19235 2014-06-14 Andi Kleen <ak@linux.intel.com>
19237 * sysdeps/generic/elide.h: New file.
19239 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
19241 * Makefile (installed-headers): Adjust path of pthread.h header.
19243 2014-06-13 Roland McGrath <roland@hack.frob.com>
19245 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19246 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19247 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19248 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19250 * nptl/sysdeps/s390/Makefile: Moved ...
19251 * sysdeps/s390/nptl/Makefile: ... here.
19252 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19253 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19254 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19255 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19256 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19257 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19258 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19259 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19260 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19261 * sysdeps/s390/nptl/pthreaddef.h: ... here.
19262 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19263 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19264 * nptl/sysdeps/s390/tls.h: Moved ...
19265 * sysdeps/s390/nptl/tls.h: ... here.
19267 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19268 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19270 2014-06-13 David S. Miller <davem@davemloft.net>
19272 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19274 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19275 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19276 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19278 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19279 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19280 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19281 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19282 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19283 Remove RESET_PID cpp guards.
19284 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19285 Remove RESET_PID cpp guards.
19286 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19288 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
19290 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19293 2014-06-13 Andi Kleen <ak@linux.intel.com>
19295 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19296 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19297 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19298 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19299 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19300 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19301 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19302 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19303 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19304 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19305 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19306 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19307 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19309 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19310 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19311 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19312 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19313 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19314 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19316 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19317 (pthread_rwlock_rdlock): Add elision.
19318 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19319 (pthread_rwlock_wrlock): Add elision.
19320 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19321 (pthread_rwlock_trywrlock): Add elision.
19322 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19323 (pthread_rwlock_tryrdlock): Add elision.
19324 * nptl/pthread_rwlock_unlock.c: Include elide.h.
19325 (pthread_rwlock_tryrdlock): Add elision unlock.
19326 * nptl/sysdeps/pthread/pthread.h:
19327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19328 (PTHREAD_RWLOCK_INITIALIZER,
19329 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19330 Handle new elision field.
19331 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19332 * sysdeps/arm/nptl/bits/pthreadtypes.h
19333 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19334 * sysdeps/sh/nptl/bits/pthreadtypes.h
19335 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19336 * sysdeps/tile/nptl/bits/pthreadtypes.h
19337 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19338 * sysdeps/a/nptl/bits/pthreadtypes.h
19339 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19340 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19341 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19342 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19343 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19344 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19345 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19346 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19347 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19348 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19349 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19350 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19351 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19352 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19353 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19354 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19355 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19356 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19357 (elision_init): Set try_xbegin to zero when no RTM.
19358 * sysdeps/x86/nptl/bits/pthreadtypes.h
19359 (pthread_rwlock_t): Change __pad1 to __rwelision.
19360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19362 2014-06-13 Andi Kleen <ak@linux.intel.com>
19364 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19365 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19366 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19367 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19369 2014-06-13 Meador Inge <meadori@codesourcery.com>
19372 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19373 that the cached result has been set before returning it.
19375 2014-06-12 Roland McGrath <roland@hack.frob.com>
19377 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19378 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19379 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19380 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19381 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19382 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19384 * nptl/sysdeps/sparc/Makefile: Moved ...
19385 * sysdeps/sparc/nptl/Makefile: ... here.
19386 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19387 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19388 * nptl/sysdeps/sparc/tls.h: Moved ...
19389 * sysdeps/sparc/nptl/tls.h: ... here.
19390 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19391 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19392 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19393 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19394 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19395 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19396 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19397 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19398 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19399 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19400 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19401 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19402 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19403 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19404 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19405 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19406 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19407 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19409 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19410 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19412 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19413 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19415 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19416 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19419 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19421 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19422 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19424 * sysdeps/pthread/posix-timer.h: Include <list.h>.
19425 (struct list_links): Type removed.
19426 (struct thread_node, struct timer_node): Replace struct list_links
19427 with struct list_head.
19428 (list_unlink_ip): Likewise.
19429 * sysdeps/pthread/timer_routines.c
19430 (timer_free_list, thread_free_list, thread_active_list): Likewise.
19431 (list_append, list_insbefore): Likewise.
19432 (list_init): Function removed.
19433 (thread_init, init_module): Use INIT_LIST_HEAD instead.
19434 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19435 * sysdeps/pthread/Makefile: ... here, new file.
19437 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19438 * sysdeps/nptl/Implies: ... here.
19439 * sysdeps/unix/sysv/linux/Implies: Add nptl.
19440 * nptl/sysdeps/pthread/list.h: Moved ...
19441 * include/list.h: ... here.
19442 * nptl/sysdeps/pthread/createthread.c: Moved ...
19443 * nptl/createthread.c: ... here.
19444 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19445 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19446 * nptl/pt-longjmp.c: ... here.
19447 * nptl/sysdeps/pthread/Makefile: Moved ...
19448 * sysdeps/nptl/Makefile: ... here.
19449 * nptl/sysdeps/pthread/Subdirs: Moved ...
19450 * sysdeps/nptl/Subdirs: ... here.
19451 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19452 * sysdeps/nptl/aio_misc.h: ... here.
19453 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19454 * sysdeps/nptl/bits/libc-lock.h: ... here.
19455 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19456 * sysdeps/nptl/bits/libc-lockP.h: ... here.
19457 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19458 * sysdeps/nptl/bits/stdio-lock.h: ... here.
19459 * nptl/sysdeps/pthread/configure: Moved ...
19460 * sysdeps/nptl/configure: ... here.
19461 * nptl/sysdeps/pthread/configure.ac: Moved ...
19462 * sysdeps/nptl/configure.ac: ... here.
19463 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19464 * sysdeps/nptl/gai_misc.h: ... here.
19465 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19466 * sysdeps/nptl/librt-cancellation.c: ... here.
19467 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19468 * sysdeps/nptl/malloc-machine.h: ... here.
19469 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19470 * sysdeps/nptl/pthread-functions.h: ... here.
19471 * nptl/sysdeps/pthread/pthread.h: Moved ...
19472 * sysdeps/nptl/pthread.h: ... here.
19473 * nptl/sysdeps/pthread/setxid.h: Moved ...
19474 * sysdeps/nptl/setxid.h: ... here.
19475 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19476 * sysdeps/nptl/sigfillset.c: ... here.
19477 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19478 * sysdeps/nptl/tcb-offsets.h: ... here.
19479 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19480 * sysdeps/nptl/tst-mqueue8x.c: ... here.
19481 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19482 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19483 * nptl/sysdeps/pthread/allocalim.h: Moved ...
19484 * sysdeps/pthread/allocalim.h: ... here.
19485 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19486 * sysdeps/pthread/bits/sigthread.h: ... here.
19487 * nptl/sysdeps/pthread/flockfile.c: Moved ...
19488 * sysdeps/pthread/flockfile.c: ... here.
19489 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19490 * sysdeps/pthread/ftrylockfile.c: ... here.
19491 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19492 * sysdeps/pthread/funlockfile.c: ... here.
19493 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19494 * sysdeps/pthread/posix-timer.h: ... here.
19495 * nptl/sysdeps/pthread/timer_create.c: Moved ...
19496 * sysdeps/pthread/timer_create.c: ... here.
19497 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19498 * sysdeps/pthread/timer_delete.c: ... here.
19499 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19500 * sysdeps/pthread/timer_getoverr.c: ... here.
19501 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19502 * sysdeps/pthread/timer_gettime.c: ... here.
19503 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19504 * sysdeps/pthread/timer_routines.c: ... here.
19505 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19506 * sysdeps/pthread/timer_settime.c: ... here.
19507 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19508 * sysdeps/pthread/tst-timer.c: ... here.
19509 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19510 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19512 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19513 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19515 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19516 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19517 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19518 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19519 Update #include target.
19520 * nptl/sysdeps/i386/i686/Makefile: Moved ...
19521 * sysdeps/i386/i686/nptl/Makefile: ... here.
19522 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19523 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19524 Update #include target.
19525 * nptl/sysdeps/i386/i686/tls.h: Moved ...
19526 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
19527 * nptl/sysdeps/i386/Makefile: Moved ...
19528 * sysdeps/i386/nptl/Makefile: ... here.
19529 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19530 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19531 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19532 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19533 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19534 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19535 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19536 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19537 * sysdeps/i386/nptl/pthreaddef.h: ... here.
19538 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19539 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19540 * nptl/sysdeps/i386/tls.h: Moved ...
19541 * sysdeps/i386/nptl/tls.h: ... here.
19543 * sysdeps/sh/Makefile [$(subdir) = csu]
19544 (gen-as-const-headers): Add tcb-offsets.sym.
19545 * nptl/sysdeps/sh/Makefile: File removed.
19546 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19547 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19548 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19549 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19550 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19551 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19552 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19553 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19554 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19555 * sysdeps/sh/nptl/pthreaddef.h: ... here.
19556 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19557 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19558 * nptl/sysdeps/sh/tls.h: Moved ...
19559 * sysdeps/sh/nptl/tls.h: ... here.
19560 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19561 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19562 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19563 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19564 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19565 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19566 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19568 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19569 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19570 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19571 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19572 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19573 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19574 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19575 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19576 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19577 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19578 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19579 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19580 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19581 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19582 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19583 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19584 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19586 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19589 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19590 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19591 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19592 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19593 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19594 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19595 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19596 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19597 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19598 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19599 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19600 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19601 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19602 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19603 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19604 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19605 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19606 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19607 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19609 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
19611 * posix/spawn_faction_addopen.c: Include string.h.
19613 2014-06-11 Roland McGrath <roland@hack.frob.com>
19615 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19616 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19617 * nptl/sysdeps/x86_64/Makefile: Moved ...
19618 * sysdeps/x86_64/nptl/Makefile: ... here.
19619 * nptl/sysdeps/x86_64/configure: Moved ...
19620 * sysdeps/x86_64/nptl/configure: ... here.
19621 * nptl/sysdeps/x86_64/configure.ac: Moved ...
19622 * sysdeps/x86_64/nptl/configure.ac: ... here.
19623 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19624 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19625 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19626 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19627 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19628 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19629 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19630 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19631 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19632 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19633 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19634 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19635 * nptl/sysdeps/x86_64/tls.h: Moved ...
19636 * sysdeps/x86_64/nptl/tls.h: ... here.
19637 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19638 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19639 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19640 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19642 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19644 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19648 2014-06-11 Joseph Myers <joseph@codesourcery.com>
19650 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19652 [POSIX] (off_t): Likewise.
19653 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19654 [POSIX] (S_ISBLK): Require macro.
19655 [POSIX] (S_ISCHR): Likewise.
19656 [POSIX] (S_ISDIR): Likewise.
19657 [POSIX] (S_ISFIFO): Likewise.
19658 [POSIX] (S_ISREG): Likewise.
19659 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19661 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19663 [POSIX] (time_t): Likewise.
19664 [POSIX] (timer_t): Likewise.
19666 2014-06-11 Florian Weimer <fweimer@redhat.com>
19669 * posix/spawn_int.h (struct __spawn_action): Make the path string
19670 non-const to support deallocation.
19671 * posix/spawn_faction_addopen.c
19672 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19673 * posix/spawn_faction_destroy.c
19674 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
19675 path in all spawn_do_open actions.
19676 * posix/tst-spawn.c (do_test): Exercise the copy operation in
19677 posix_spawn_file_actions_addopen.
19679 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
19681 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19682 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19683 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19684 conditional code always true.
19685 (__libc_vfork): New alias.
19687 2014-06-11 Roland McGrath <roland@hack.frob.com>
19689 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19690 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19692 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19694 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19695 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19697 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19698 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19700 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19701 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19703 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
19705 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19706 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19707 multiarch strcmp for PPC64.
19708 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19711 multiarch optimizations.
19712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19713 (__libc_ifunc_impl_list): Likewise.
19715 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19717 * benchtests/scripts/validate_benchout.py: New script.
19718 * benchtests/Makefile (bench-func): Call it.
19719 * benchtests/scripts/benchout.schema.json: New file.
19721 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
19723 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19724 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19725 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19726 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19727 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19728 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19729 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19730 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19731 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19732 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19733 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19734 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19735 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19736 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19737 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19738 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19739 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19741 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19746 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19748 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19750 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19757 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19768 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19797 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19816 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19823 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19825 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19827 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19842 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19843 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19844 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19845 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19846 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19848 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19850 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19851 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19852 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19853 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19854 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19855 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19856 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19857 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19858 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19859 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19860 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19861 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19862 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19864 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19867 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19868 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19869 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19870 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19872 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19874 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19875 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19876 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19877 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19878 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19880 2014-06-10 Wilco <wdijkstr@arm.com>
19882 * math/test-fenv-return.c: New file.
19883 * math/Makefile: Add new test test-fenv-return.
19885 2014-06-10 Joseph Myers <joseph@codesourcery.com>
19888 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19889 when x - 1 is zero.
19890 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19891 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19892 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19893 0.0L for an argument of 1.0L.
19894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19896 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19897 value when x - 1 is zero.
19898 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19899 * sysdeps/i386/fpu/libm-test-ulps: Update.
19900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19902 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
19905 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19907 2014-06-09 Roland McGrath <roland@hack.frob.com>
19909 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19910 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19912 2014-06-09 Roland McGrath <roland@hack.frob.com>
19914 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19915 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19917 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19918 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19920 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19921 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19923 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19924 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19926 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19927 if not already defined.
19928 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19929 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19930 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19931 (TLS_INIT_TP): Use it.
19932 (TLS_DEFINE_INIT_TP): New macro.
19933 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19935 2014-06-09 Joseph Myers <joseph@codesourcery.com>
19937 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19939 [POSIX] (IXANY): Likewise.
19940 [POSIX] (OLCUC): Likewise.
19941 [POSIX || POSIX2008] (CBAUD): Do not allow.
19942 [POSIX || POSIX2008] (DEFECHO): Likewise.
19943 [POSIX || POSIX2008] (ECHOCTL): Likewise.
19944 [POSIX || POSIX2008] (ECHOKE): Likewise.
19945 [POSIX || POSIX2008] (ECHOPRT): Likewise.
19946 [POSIX || POSIX2008] (EXTA): Likewise.
19947 [POSIX || POSIX2008] (EXTB): Likewise.
19948 [POSIX || POSIX2008] (FLUSHO): Likewise.
19949 [POSIX || POSIX2008] (LOBLK): Likewise.
19950 [POSIX || POSIX2008] (PENDIN): Likewise.
19951 [POSIX || POSIX2008] (SWTCH): Likewise.
19952 [POSIX || POSIX2008] (VDISCARD): Likewise.
19953 [POSIX || POSIX2008] (VDSUSP): Likewise.
19954 [POSIX || POSIX2008] (VLNEXT): Likewise.
19955 [POSIX || POSIX2008] (VREPRINT): Likewise.
19956 [POSIX || POSIX2008] (VSTATUS): Likewise.
19957 [POSIX || POSIX2008] (VWERASE): Likewise.
19958 (B*): Change to B[0123456789]*.
19959 * conform/data/time.h-data [POSIX || UNIX98]
19960 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19961 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19962 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19963 [POSIX] (tm_*): Do not allow.
19965 2014-06-07 Joseph Myers <joseph@codesourcery.com>
19967 * Makefile (install): Don't set LANGUAGE.
19968 * Makefile.in (install): Likewise.
19969 * assert/Makefile (test-assert-ENV): Remove variable.
19970 (test-assert-perr-ENV): Likewise.
19971 * elf/Makefile (neededtest4-ENV): Likewise.
19972 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19973 [$(cross-compiling) = no]: Don't set LANGUAGE.
19974 * io/ftwtest-sh (LANG): Remove variable.
19975 * libio/Makefile (tst-widetext-ENV): Likewise.
19976 * manual/install.texi (Running make install): Don't refer to
19977 environment settings for make install.
19978 * INSTALL: Regenerated.
19979 * nptl/tst-tls6.sh: Don't set LANG.
19980 * posix/globtest.sh (LANG): Remove variable.
19981 * string/Makefile (tester-ENV): Likewise.
19982 (inl-tester-ENV): Likewise.
19983 (noinl-tester-ENV): Likewise.
19984 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19985 [$(cross-compiling) = no]: Don't set LANGUAGE.
19986 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19987 without explicit environment settings.
19989 2014-06-06 Roland McGrath <roland@hack.frob.com>
19991 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19992 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19993 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19994 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19996 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
19998 * crypt/crypt-private.h [DOS]: Add some includes taken from the
19999 other files in the crypt directory.
20000 * crypt/crypt.c: Remove duplicate includes.
20001 * crypt/crypt-entry.c: Likewise.
20002 * crypt/crypt_util.c: Likewise.
20004 2014-06-06 Joseph Myers <joseph@codesourcery.com>
20006 * Makeconfig (run-program-env): New variable.
20007 (run-program-prefix-before-env): Likewise.
20008 (run-program-prefix-after-env): Likewise.
20009 (run-program-prefix): Define in terms of new variables.
20010 (built-program-cmd-before-env): New variable.
20011 (built-program-cmd-after-env): Likewise.
20012 (built-program-cmd): Define in terms of new variables.
20013 (test-program-prefix-before-env): New variable.
20014 (test-program-prefix-after-env): Likewise.
20015 (test-program-prefix): Define in terms of new variables.
20016 (test-program-cmd-before-env): New variable.
20017 (test-program-cmd-after-env): Likewise.
20018 (test-program-cmd): Define in terms of new variables.
20019 * Rules (make-test-out): Use $(run-program-env).
20020 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20021 (help): Do not mention environment variables. Mention
20022 --timeoutfactor option.
20023 (timeoutfactor): New variable.
20024 (blacklist_exports): Remove function.
20025 (exports): Remove variable.
20026 (command): Do not include ${exports}.
20027 * manual/install.texi (Configuring and compiling): Do not mention
20028 test wrappers preserving environment variables. Mention that last
20029 assignment to a variable must take precedence.
20030 * INSTALL: Regenerated.
20031 * benchtests/Makefile (run-bench): Use $(run-program-env).
20032 * catgets/Makefile ($(objpfx)test1.cat): Use
20033 $(built-program-cmd-before-env), $(run-program-env) and
20034 $(built-program-cmd-after-env).
20035 ($(objpfx)test2.cat): Do not specify environment variables
20037 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20038 $(run-program-env) and $(built-program-cmd-after-env).
20039 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20040 $(run-program-env) and $(test-program-cmd-after-env).
20041 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20043 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20044 run_program_env and test_program_cmd_after_env arguments.
20045 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20046 * elf/tst-pathopt.sh: Use run_program_env argument.
20047 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20048 $(test-wrapper-env) and $(run-program-env).
20049 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20050 run_program_env arguments.
20051 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20052 * intl/Makefile ($(objpfx)tst-gettext.out): Use
20053 $(test-program-prefix-before-env), $(run-program-env) and
20054 $(test-program-prefix-after-env).
20055 ($(objpfx)tst-gettext2.out): Likewise.
20056 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20057 run_program_env and test_program_prefix_after_env arguments.
20058 * intl/tst-gettext2.sh: Likewise.
20059 * intl/tst-gettext4.sh: Do not set environment variables
20061 * intl/tst-gettext6.sh: Likewise.
20062 * intl/tst-translit.sh: Likewise.
20063 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20064 $(test-program-prefix-before-env), $(run-program-env) and
20065 $(test-program-prefix-after-env).
20066 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20067 run_program_env and test_program_prefix_after_env arguments.
20068 * math/Makefile (run-regen-ulps): Use $(run-program-env).
20069 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20070 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
20071 explicitly with each use of ${test_wrapper_env}.
20072 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20073 $(test-program-prefix-before-env), $(run-program-env) and
20074 $(test-program-prefix-after-env).
20075 * posix/tst-getconf.sh: Do not set environment variables
20077 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20078 run_program_env and test_program_prefix_after_env arguments.
20079 * stdio-common/tst-printf.sh: Do not set environment variables
20081 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20082 $(test-program-prefix-before-env), $(run-program-env) and
20083 $(test-program-prefix-after-env).
20084 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20085 run_program_env and test_program_prefix_after_env arguments.
20086 Split $test calls into $test_pre and $test.
20087 * timezone/Makefile (build-testdata): Use
20088 $(built-program-cmd-before-env), $(run-program-env) and
20089 $(built-program-cmd-after-env).
20091 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20093 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20094 strlen for non SHARED builds.
20096 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20098 * nptl/allocatestack.c (check_list): Inlined function...
20099 (__reclaim_stacks): ... here.
20101 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20104 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20107 2014-06-05 Joseph Myers <joseph@codesourcery.com>
20109 * Rules (make-test-out): Include
20110 LOCPATH=$(common-objpfx)localedata in default environment.
20111 * debug/Makefile (tst-chk1-ENV): Remove variable.
20112 (tst-chk2-ENV): Likewise.
20113 (tst-chk3-ENV): Likewise.
20114 (tst-chk4-ENV): Likewise.
20115 (tst-chk5-ENV): Likewise.
20116 (tst-chk6-ENV): Likewise.
20117 (tst-lfschk1-ENV): Likewise.
20118 (tst-lfschk2-ENV): Likewise.
20119 (tst-lfschk3-ENV): Likewise.
20120 (tst-lfschk4-ENV): Likewise.
20121 (tst-lfschk5-ENV): Likewise.
20122 (tst-lfschk6-ENV): Likewise.
20123 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20124 (tst-iconv7-ENV): Likewise.
20125 * intl/Makefile (LOCPATH-ENV): Likewise.
20126 (tst-codeset-ENV): Likewise.
20127 (tst-gettext3-ENV): Likewise.
20128 (tst-gettext5-ENV): Likewise.
20129 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20130 (tst-fopenloc-ENV): Likewise.
20131 (tst-fgetws-ENV): Remove variable.
20132 (tst-ungetwc1-ENV): Likewise.
20133 (tst-ungetwc2-ENV): Likewise.
20134 (bug-ungetwc2-ENV): Likewise.
20135 (tst-swscanf-ENV): Likewise.
20136 (bug-ftell-ENV): Likewise.
20137 (tst-fgetwc-ENV): Likewise.
20138 (tst-fseek-ENV): Likewise.
20139 (tst-ftell-partial-wide-ENV): Likewise.
20140 (tst-ftell-active-handler-ENV): Likewise.
20141 (tst-ftell-append-ENV): Likewise.
20142 * posix/Makefile (tst-fnmatch-ENV): Likewise.
20143 (tst-regexloc-ENV): Likewise.
20144 (bug-regex1-ENV): Likewise.
20145 (tst-regex-ENV): Likewise.
20146 (tst-regex2-ENV): Likewise.
20147 (bug-regex5-ENV): Likewise.
20148 (bug-regex6-ENV): Likewise.
20149 (bug-regex17-ENV): Likewise.
20150 (bug-regex18-ENV): Likewise.
20151 (bug-regex19-ENV): Likewise.
20152 (bug-regex20-ENV): Likewise.
20153 (bug-regex22-ENV): Likewise.
20154 (bug-regex23-ENV): Likewise.
20155 (bug-regex25-ENV): Likewise.
20156 (bug-regex26-ENV): Likewise.
20157 (bug-regex30-ENV): Likewise.
20158 (bug-regex32-ENV): Likewise.
20159 (bug-regex33-ENV): Likewise.
20160 (bug-regex34-ENV): Likewise.
20161 (bug-regex35-ENV): Likewise.
20162 (tst-rxspencer-ENV): Likewise.
20163 (tst-rxspencer-no-utf8-ENV): Likewise.
20164 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20165 (tst-sscanf-ENV): Likewise.
20166 (tst-swprintf-ENV): Likewise.
20167 (tst-swscanf-ENV): Likewise.
20168 (test-vfprintf-ENV): Likewise.
20169 (scanf13-ENV): Likewise.
20170 (bug14-ENV): Likewise.
20171 (tst-grouping-ENV): Likewise.
20172 * stdlib/Makefile (tst-strtod-ENV): Likewise.
20173 (tst-strtod3-ENV): Likewise.
20174 (tst-strtod4-ENV): Likewise.
20175 (tst-strtod5-ENV): Likewise.
20176 (testmb2-ENV): Likewise./
20177 * string/Makefile (tst-strxfrm-ENV): Likewise.
20178 (tst-strxfrm2-ENV): Likewise.
20179 (bug-strcoll1-ENV): Likewise.
20180 (test-strcasecmp-ENV): Likewise.
20181 (test-strncasecmp-ENV): Likewise.
20182 * time/Makefile (tst-strptime-ENV): Likewise.
20183 (tst-ftime_l-ENV): Likewise.
20184 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20185 (tst-mbrtowc-ENV): Likewise.
20186 (tst-wcrtomb-ENV): Likewise.
20187 (tst-mbrtowc2-ENV): Likewise.
20188 (tst-c16c32-1-ENV): Likewise.
20189 (tst-mbsnrtowcs-ENV): Likewise.
20191 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
20193 * manual/resource.texi (How to get information about the memory
20194 subsystem?): Fix typo.
20195 Reported by Peon de la Parra Ivan <peon@keba.com>
20197 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
20200 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20201 (pthread_spin_lock): Branch out of spin loop to proper location.
20202 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20203 (pthread_spin_lock): Likewise.
20205 * nptl/tst-spin4.c: New test.
20206 * nptl/Makefile (tests): Add tst-spin4.
20208 2014-06-03 Andreas Schwab <schwab@suse.de>
20211 * resolv/res_send.c (send_dg): Reload file descriptor after
20214 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
20216 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20218 2014-06-03 Richard Henderson <rth@redhat.com>
20220 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20221 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20222 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20223 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
20224 in the SAVE_PID block.
20225 (__libc_vfork): New alias.
20226 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20228 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20229 child in registers, not on the stack. Remove RESET_PID conditionals.
20230 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20232 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
20234 * sysdeps/aarch64/libm-test-ulps: Regenerate.
20236 2014-06-03 Wilco <wdijkstr@arm.com>
20238 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20239 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20240 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20241 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20242 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20245 2014-06-03 Wilco <wdijkstr@arm.com>
20247 * sysdeps/aarch64/fpu/math_private.h
20248 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20249 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20250 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20251 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20254 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20256 * crypt/crypt-private.h: Include ufc-crypt.h.
20257 (__b64_from_24bit): Declare extern.
20258 * crypt/crypt_util.c(__b64_from_24bit): New function.
20259 (b64t): New static const variable.
20260 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20261 (b64t): Remove variable.
20262 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20263 * crypt/sha256-crypt.c: Include crypt-private.h.
20264 (b64t): Remove variable.
20265 (__sha256_crypt_r): Remove b64_from_24bit and replace
20266 with __b64_from_24bit.
20267 * crypt/sha512-crypt.c: Likewise.
20269 2014-06-02 Roland McGrath <roland@hack.frob.com>
20271 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20272 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20273 Label the code __libc_vfork rather than __vfork.
20274 [!NOT_IN_libc] (vfork): Define as weak alias.
20275 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20276 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20277 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20279 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20281 * malloc/malloc.c (malloc_info): Fix format specifier for
20284 2014-06-02 Wilco <wdijkstr@arm.com>
20286 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20289 2014-06-02 Wilco <wdijkstr@arm.com>
20292 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20293 Rewrite to reduce FPCR/FPSR accesses.
20295 2014-06-01 David S. Miller <davem@davemloft.net>
20297 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20299 2014-05-31 David S. Miller <davem@davemloft.net>
20301 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20302 to occur in round to nearest mode when |x| >= 2.0
20304 2014-05-30 Richard Henderson <rth@twiddle.net>
20306 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20307 (PSEUDO_RET_NOERRNO): Remove.
20308 (ret): Don't redefine.
20309 (ret_NOERRNO): Define in terms of ret.
20310 (ret_ERRVAL): Likewise.
20312 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20313 use of PSEUDO_RET; perform the error check directly.
20315 2014-05-30 Marko Myllynen <myllynen@redhat.com>
20317 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20320 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20322 * malloc/malloc (malloc_info): Fix formatting.
20324 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20325 Roland McGrath <roland@hack.frob.com>
20327 * malloc/malloc (malloc_info): Also print mmapped statistics.
20329 2014-05-30 Roland McGrath <roland@hack.frob.com>
20331 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20332 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20334 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
20336 * malloc/malloc.c (malloc_info): Inline mi_arena.
20338 2014-05-29 Richard Henderson <rth@twiddle.net>
20340 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20341 Remove comma before expanding ASM_ARGS_##nr.
20342 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20343 Make _x0 a strict output; make _x8 a strict input; adjust expansion
20345 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20346 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20347 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20348 (ASM_ARGS_1): Add leading comma.
20350 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20351 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20352 to __errno_location.
20353 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20354 Remove the expected plt for __errno_location.
20356 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20357 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20360 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20361 Always allocate 64 bytes of stack frame. Use ldp/stp to create
20362 it and break it down.
20363 (DOCARGS_0, DOCARGS_1): Do nothing.
20364 (DOCARGS_2): Update to store into the new stack frame.
20365 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20366 (UNDOCARGS_1): Update to restore from the new stack frame.
20367 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20368 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20370 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20371 (SINGLE_THREAD_P): New parameter for result regno.
20372 (PSEUDO): Update to match; use cbz instead of beq.
20374 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20375 Use ENTRY to define the _nocancel entry point. Share the syscall
20376 and syscall error check paths with the cancel path.
20379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20380 whitespace; tabs before and after asm mnemonics.
20382 2014-05-29 Eric Wong <normalperson@yhbt.net>
20385 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20386 Call fstat64 or stat64 internally, depending on arguments passed.
20387 Replace stat buffer argument with file descriptor argument.
20388 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20389 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20390 Pass fd to __internal_statvfs instead of calling fstat64.
20391 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20392 Pass fd to __internal_statvfs64 instead of calling fstat64.
20393 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20394 Pass -1 to __internal_statvfs instead of calling stat64.
20395 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20396 Pass -1 to __internal_statvfs64 instead of calling stat64.
20398 2014-05-28 Roland McGrath <roland@hack.frob.com>
20400 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20401 that was previously under [RESET_PID].
20402 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20404 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20405 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20407 2014-05-27 Roland McGrath <roland@hack.frob.com>
20409 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20411 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20412 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20414 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
20416 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20418 2014-05-27 Andreas Schwab <schwab@suse.de>
20420 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20422 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20423 * elf/rtld.c (init_tls, dl_main): Likewise.
20424 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20425 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20426 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20427 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20428 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20429 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20430 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20431 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20432 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20433 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20434 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20435 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20436 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20437 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20438 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20439 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20440 * sysdeps/generic/tls.h: Update description.
20442 2014-05-27 Will Newton <will.newton@linaro.org>
20445 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20446 and restore r2 rather than just restoring.
20448 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20451 * libio/tst-ftell-append.c: New test case.
20452 * libio/Makefile (tests): Add test case.
20453 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20455 * libio/wfileops.c (do_ftell_wide): Likewise.
20457 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20461 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20465 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20466 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20467 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20468 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20469 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20470 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20471 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20477 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20478 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20479 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20480 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20481 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20483 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20484 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20486 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20488 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20490 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20491 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20492 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20494 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20495 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20496 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20497 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20499 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20502 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20508 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20520 conditional [RESET_PID].
20521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20529 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20530 (__libc_vfork): New strong alias.
20531 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20533 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20538 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20539 (__libc_vfork): New strong alias.
20540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20542 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20545 2014-05-26 Carlos O'Donell <carlos@redhat.com>
20547 * malloc/malloc.c (mi_arena): New function.
20548 (malloc_info): Remove nested function mi_arena. Call non-nosted
20551 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20553 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20555 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20556 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20557 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20558 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20559 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20560 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20561 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20563 2014-05-26 Andreas Schwab <schwab@suse.de>
20566 * locale/programs/repertoire.c (repertoire_read): Add slash
20567 between I18NPATH element and file name.
20568 * locale/programs/locfile.c (locfile_read): Likewise.
20570 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20572 * nptl/pthread_mutexattr_settype.c
20573 (__pthread_mutexattr_settype):
20574 Disable lock elision for PTHREAD_MUTEX_NORMAL.
20576 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
20578 * nptl/tst-mutex5 (do_test):
20579 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20581 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20583 * benchtests/README: Document 'init' directive.
20584 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20586 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20587 (parse_file): Recognize 'init' directive.
20589 2014-05-26 Kyle McMartin <kyle@redhat.com>
20592 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20593 alignment of struct pthread.
20595 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20598 * nscd/netgroupcache.c (addgetnetgrentX): Look for
20599 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20600 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20601 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20603 2014-05-25 Richard Henderson <rth@twiddle.net>
20605 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20606 (SINGLE_THREAD_P_PIC): Remove.
20607 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20608 (SINGLE_THREAD_P_PIC): Remove.
20610 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20611 branch to syscall error ...
20612 (PSEUDO): ... here.
20613 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20614 from __local_syscall_error to .Lsyscall_error.
20615 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20616 (SYSCALL_ERROR): Update label name.
20618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20619 Do not use DOARGS/UNDOARGS.
20620 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20621 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20622 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20623 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20624 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20626 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20629 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20630 define if !NOT_IN_libc.
20631 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20632 define with non-default symbol versions.
20634 2014-05-23 Richard Henderson <rth@twiddle.net>
20636 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20637 (vfork, __vfork): Define via compat_symbol.
20639 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20640 [!HAVE_IFUNC] (vfork_compat): Remove.
20641 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20643 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20646 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20647 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20650 2014-05-23 Richard Henderson <rth@twiddle.net>
20652 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20653 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20654 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20655 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20657 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20658 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20659 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20660 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20661 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20662 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20663 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20664 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20665 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20666 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20667 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20668 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20669 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20670 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20671 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20672 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20673 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20674 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20675 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20676 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20677 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20678 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20679 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20680 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20681 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20682 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20683 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20684 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20685 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20686 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20687 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20688 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20689 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20690 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20691 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20692 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20693 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20694 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20695 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20696 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20697 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20698 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20699 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20700 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20701 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20702 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20703 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20704 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20705 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20706 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20707 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20708 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20709 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20710 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20711 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20712 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20714 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20715 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20716 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
20717 before exiting on error.
20718 (__libc_vfork): New strong alias.
20719 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20720 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20722 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20723 that was previously under [RESET_PID].
20724 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20726 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20728 2014-05-23 Joseph Myers <joseph@codesourcery.com>
20731 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20732 value when x - 1 is zero.
20733 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20734 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20735 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20736 0.0L for an argument of 1.0L.
20737 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20739 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20740 value when x - 1 is zero.
20741 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20742 * sysdeps/i386/fpu/libm-test-ulps: Update.
20743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20745 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
20747 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20748 alphasort and versionsort.
20750 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20752 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20754 [copysignf]: Likewise.
20756 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20758 * crypt/md5-crypt.c: Fix formatting.
20760 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
20762 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20763 (b64_from_24bit): New function.
20765 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20767 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20768 libc_hidden_builtin_def to ifunc.
20769 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20770 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20772 2014-05-21 Roland McGrath <roland@hack.frob.com>
20774 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20775 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20777 2014-05-21 Joseph Myers <joseph@codesourcery.com>
20779 * nscd/Depend (linuxthreads): Remove.
20781 * resolv/Depend (linuxthreads): Remove.
20782 * rt/Depend (linuxthreads): Remove.
20784 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20785 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20786 $(common-objpfx)elf/.
20787 (link-libc-before-gnulib): Likewise.
20788 (elfobjdir): Remove variable.
20789 * Makefile (install): Use $(elf-objpfx) instead of
20790 $(common-objpfx)elf/.
20791 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20793 (link-libc-deps): Likewise.
20794 ($(common-objpfx)libc.so): Likewise.
20795 ($(common-objpfx)linkobj/libc.so): Likewise.
20796 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20797 instead of $(common-objpfx)elf/.
20798 (symbolic-link-list): Likewise.
20799 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20800 [$(cross-compiling) = no]: Likewise.
20801 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20803 (static-gnulib-arch): Likewise.
20804 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20805 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20806 $(common-objpfx)elf/.
20808 2014-05-21 Richard Henderson <rth@redhat.com>
20810 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20811 (SINGLE_THREAD_P): Use the correct width load. Fold
20812 into the ldr offset.
20814 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20815 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20817 2014-05-20 Joseph Myers <joseph@codesourcery.com>
20819 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20820 (libgcc_s_resume): Use __attribute_used__.
20821 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20824 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20826 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20827 optimization when used with float constants.
20829 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20831 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
20834 * locale/nl_langinfo_l.c: Make direct reference to every
20835 _nl_current_CATEGORY symbol.
20836 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20837 (tests-static): Add tst-langinfo-static.
20838 (tests-special): Add tst-langinfo-static.out.
20839 ($(objpfx)tst-langinfo.out): Redirect output.
20840 ($(objpfx)tst-langinfo-static.out): New.
20841 * localedata/tst-langinfo.sh: Send output to stdout.
20842 * localedata/tst-langinfo-static.c: New file.
20845 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20846 when the shift amount is modulo the limb size.
20848 2014-05-20 Richard Henderson <rth@redhat.com>
20851 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20852 Change type of sa_flags from unsigned int to int.
20855 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20857 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20859 2014-05-20 Will Newton <will.newton@linaro.org>
20861 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20862 Test the return value of the system call in the nocancel case.
20864 2014-05-20 Will Newton <will.newton@linaro.org>
20865 Yvan Roux <yvan.roux@linaro.org>
20867 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20868 #include of asm/ptrace.h.
20869 (PTRACE_GET_THREAD_AREA): Remove #undef.
20870 (PTRACE_GETHBPREGS): Likewise.
20871 (PTRACE_SETHBPREGS): Likewise.
20872 (struct user_regs_struct): New structure.
20873 (struct user_fpsimd_struct): New structure.
20874 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20875 #include of asm/ptrace.h and second #include of sys/user.h.
20876 (PTRACE_GET_THREAD_AREA): Remove #undef.
20877 (PTRACE_GETHBPREGS): Likewise.
20878 (PTRACE_SETHBPREGS): Likewise.
20879 (ELF_NGREG): Use new struct user_regs_struct.
20880 (elf_fpregset_t): Use new struct user_fpsimd_struct.
20882 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20884 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20885 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20887 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
20890 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20891 membar to avoid block loads/stores to overlap previous stores.
20893 2014-05-17 Richard Henderson <rth@redhat.com>
20895 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20896 Create the __##syscall_name##_nocancel entry point.
20897 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20898 Remove; let the sysdep-cancel.h code create it.
20900 2014-05-17 David S. Miller <davem@davemloft.net>
20902 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20903 Protect with __USE_GNU.
20904 (TIOCSET_TEMPT): Likewise.
20905 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20906 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20907 these are already provided in bits/ioctl-types.h
20909 2014-05-16 Roland McGrath <roland@hack.frob.com>
20911 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20912 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20914 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20915 Use wait4 regardless of [__NR_waitpid].
20917 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20920 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20921 (_FP_NANSIGN_Q): Set the quiet bit.
20923 2014-05-16 Joseph Myers <joseph@codesourcery.com>
20925 * benchtests/Makefile
20926 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20927 not $(common-objpfx)math/libm.so.
20928 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20929 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20930 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20931 $(common-objpfx)dlfcn/libdl.so.
20932 ($(objpfx)tst-audit8): Depend on $(libm), not
20933 $(common-objpfx)math/libm.so.
20934 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20935 not $(common-objpfx)dlfcn/libdl.so.
20937 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20938 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
20939 [$(build-shared) = yes].
20940 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20941 $(common-objpfx)nptl/libpthread.so.
20942 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20943 $(common-objpfx)math/libm.so$(libm.so-version) or
20944 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20945 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20946 $(common-objpfx)dlfcn/libdl.so.
20947 * setjmp/Makefile (link-libm): Remove variable.
20948 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20949 * stdio-common/Makefile (link-libm): Remove variable.
20950 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20951 * stdlib/Makefile (link-libm): Remove variable.
20952 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20953 ($(objpfx)tst-strtod-round): Likewise.
20954 ($(objpfx)tst-tininess): Likewise.
20955 ($(objpfx)tst-strtod-underflow): Likewise.
20956 ($(objpfx)tst-strtod6): Likewise.
20957 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20958 $(libdl), not $(common-objpfx)nptl/libpthread.so and
20959 $(common-objpfx)dlfcn/libdl.so.
20961 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20963 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20964 BSD terminal modes definitions.
20966 2014-05-16 Roland McGrath <roland@hack.frob.com>
20968 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20969 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20971 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20972 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20973 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20974 Don't do #include_next.
20975 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20976 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20977 Don't do #include_next.
20978 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20979 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20980 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20981 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20983 2014-05-16 Allan McRae <allan@archlinux.org>
20985 * po/sv.po: Update Swedish translation from translation project.
20987 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20990 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
20993 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20994 errno if the TIOCGPTN ioctl fails with an error different than
20996 * login/tst-ptsname.c: New file.
20997 * login/Makefile (tests): Add tst-ptsname.
21000 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21003 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
21006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21007 herrno to return EAI_AGAIN.
21009 2014-05-14 Roland McGrath <roland@hack.frob.com>
21011 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21012 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21013 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21014 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21015 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21016 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21017 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21018 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21019 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21020 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21021 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21022 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21023 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21024 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21025 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21026 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21027 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21028 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21029 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21030 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21031 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21032 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21033 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21034 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21035 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21036 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21037 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21038 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21039 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21040 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21042 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21043 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21044 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21045 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21047 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21048 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21049 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21050 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21051 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21052 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21053 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21055 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21057 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21059 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21060 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21061 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21062 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21063 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21065 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21066 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21067 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21068 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21069 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21071 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21073 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21076 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21077 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21078 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21080 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21081 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21082 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21084 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21086 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21088 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21089 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21090 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21091 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21092 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21093 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21094 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21097 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21099 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21101 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21102 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21103 (libpthread-sysdep_routines): Add elision-related stuff here instead.
21104 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21105 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21106 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21107 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21108 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21109 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21110 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21111 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21113 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21114 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21115 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21116 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21117 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21118 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21119 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21121 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21122 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21123 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21124 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21125 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21126 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21127 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21128 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21129 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21131 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21133 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21134 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21136 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21137 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21138 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21139 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21140 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21141 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21143 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21144 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21146 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21147 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21149 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21150 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21152 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21153 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21154 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21155 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21157 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21158 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21159 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21161 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21162 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21163 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21164 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21166 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21167 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21169 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21171 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21172 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21173 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21174 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21175 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21177 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21181 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21182 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21183 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21184 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21185 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21186 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21188 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21189 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21191 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21192 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21194 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21195 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21197 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21198 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21199 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21200 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21202 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21203 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21204 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21206 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21207 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21208 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21209 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21211 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21212 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21214 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21216 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21217 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21218 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21219 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21220 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21222 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21226 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21227 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21228 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21229 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21230 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21231 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21232 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21233 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21234 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21235 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21237 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21238 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21240 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21241 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21243 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21244 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21246 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21247 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21248 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21249 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21250 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21253 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21254 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21255 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21256 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21257 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21258 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21259 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21260 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21262 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21263 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21265 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21267 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21268 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21269 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21270 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21271 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21273 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21275 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21277 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21278 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21279 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21280 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21281 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21282 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21283 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21284 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21285 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21286 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21287 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21289 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21290 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21292 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21293 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21295 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21296 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21297 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21298 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21299 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21300 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21301 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21302 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21303 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21304 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21305 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21306 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21307 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21308 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21309 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21310 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21311 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21312 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21314 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21315 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21316 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21317 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21319 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21320 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21321 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21322 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21323 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21324 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21325 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21326 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21328 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21329 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21331 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21332 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21333 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21334 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21335 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21336 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21337 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21338 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21339 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21340 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21341 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21342 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21343 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21344 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21345 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21346 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21347 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21349 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21350 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21351 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21352 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21353 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21355 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21356 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21357 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21358 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21359 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21360 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21361 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21362 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21363 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21364 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21366 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21369 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21370 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21371 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21372 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21373 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21374 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21375 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21376 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21377 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21378 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21379 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21380 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21381 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21382 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21383 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21385 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21387 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21389 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21391 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21403 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21404 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21405 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21406 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21407 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21408 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21409 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21410 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21411 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21412 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21413 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21414 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21415 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21416 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
21417 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
21419 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21420 that was previously under [RESET_PID].
21421 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21422 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21423 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21425 * sysdeps/i386/nptl/Implies: New file.
21426 * sysdeps/x86_64/nptl/Implies: New file.
21427 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21428 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21429 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21430 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21432 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21433 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21434 (__libc_vfork): New strong alias.
21435 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21436 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21438 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21439 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21440 (__libc_vfork): New strong alias.
21441 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21442 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21444 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21445 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21446 (__libc_vfork): New strong alias.
21447 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21448 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21449 * nptl/pt-vfork.c: New file.
21450 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21451 (libpthread: GLIBC_2.20): New version set (empty).
21453 2014-05-14 Will Newton <will.newton@linaro.org>
21455 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21458 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21461 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21462 arguments with exponent 65 or above.
21463 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21464 arguments 0x1p113L or above.
21465 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21466 to arguments 0x1p107L or above.
21467 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21468 positive arguments with exponent 65 or above.
21469 * math/auto-libm-test-in: Add more tests of log1p.
21470 * math/auto-libm-test-out: Regenerated.
21473 * math/s_cacos.c (__cacos): Ensure zero real part of result from
21474 non-finite arguments is +0.
21475 * math/s_cacosf.c (__cacosf): Likewise.
21476 * math/s_cacosl.c (__cacosl): Likewise.
21477 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21478 * sysdeps/i386/fpu/libm-test-ulps: Update.
21479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21482 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21484 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21485 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21486 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21487 for explicit high bit of mantissa when testing for argument equal
21489 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21490 * sysdeps/i386/fpu/libm-test-ulps: Update.
21491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21494 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21495 (__erf): Scale by 16 instead of 8 in potentially underflowing
21496 case. Ensure exception if result actually underflows.
21497 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21498 (__erff): Scale by 16 instead of 8 in potentially underflowing
21499 case. Ensure exception if result actually underflows.
21500 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21501 (efx8): Remove variable.
21502 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21503 case. Ensure exception if result actually underflows.
21504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21505 (efx8): Remove variable.
21506 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21507 case. Ensure exception if result actually underflows.
21508 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21509 (efx8): Remove variable.
21510 (__erfl): Scale by 16 instead of 8 in potentially underflowing
21511 case. Ensure exception if result actually underflows.
21512 * math/auto-libm-test-in: Add more tests of erf.
21513 * math/auto-libm-test-out: Regenerated.
21515 2014-05-14 Andreas Schwab <schwab@suse.de>
21517 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21518 Remove code conditionalized on USE___THREAD.
21520 * config.h.in (HAVE_PT_CHOWN): Define as 0.
21521 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21524 2014-05-14 Joseph Myers <joseph@codesourcery.com>
21526 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21527 Define unconditionally.
21528 (__ASSUME_O_CLOEXEC): Likewise.
21529 (__ASSUME_SOCK_CLOEXEC): Likewise.
21530 (__ASSUME_IN_NONBLOCK): Likewise.
21531 (__ASSUME_PIPE2): Likewise.
21532 (__ASSUME_EVENTFD2): Likewise.
21533 (__ASSUME_SIGNALFD4): Likewise.
21534 (__ASSUME_DUP3): Likewise.
21535 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21536 (__ASSUME_DUP3): Do not define.
21537 (__ASSUME_EVENTFD2): Likewise.
21538 (__ASSUME_IN_NONBLOCK): Likewise.
21539 (__ASSUME_O_CLOEXEC): Likewise.
21540 (__ASSUME_PIPE2): Likewise.
21541 (__ASSUME_SIGNALFD4): Likewise.
21542 (__ASSUME_SOCK_CLOEXEC): Likewise.
21543 (__ASSUME_UTIMES): Undefine.
21544 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21545 (__ASSUME_UTIMES): Do not define.
21546 (__ASSUME_O_CLOEXEC): Likewise.
21547 (__ASSUME_SOCK_CLOEXEC): Likewise.
21548 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21549 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21551 (__ASSUME_PIPE2): Likewise.
21552 (__ASSUME_EVENTFD2): Likewise.
21553 (__ASSUME_SIGNALFD4): Likewise.
21554 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21555 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21557 (__ASSUME_EVENTFD2): Likewise.
21558 (__ASSUME_SIGNALFD4): Likewise.
21559 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21560 (__ASSUME_32BITUIDS): Likewise.
21561 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21562 (__ASSUME_IPC64): Likewise.
21563 (__ASSUME_ST_INO_64_BIT): Likewise.
21564 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21565 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21566 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21567 (__ASSUME_UTIMES): Do not define.
21568 (__ASSUME_PSELECT): Likewise.
21569 (__ASSUME_PPOLL): Likewise.
21570 (__ASSUME_O_CLOEXEC): Likewise.
21571 (__ASSUME_SOCK_CLOEXEC): Likewise.
21572 (__ASSUME_IN_NONBLOCK): Likewise.
21573 (__ASSUME_PIPE2): Likewise.
21574 (__ASSUME_EVENTFD2): Likewise.
21575 (__ASSUME_SIGNALFD4): Likewise.
21576 (__ASSUME_DUP3): Likewise.
21577 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21578 (__ASSUME_UTIMES): Likewise.
21579 (__ASSUME_O_CLOEXEC): Likewise.
21580 (__ASSUME_SOCK_CLOEXEC): Likewise.
21581 (__ASSUME_IN_NONBLOCK): Likewise.
21582 (__ASSUME_PIPE2): Likewise.
21583 (__ASSUME_EVENTFD2): Likewise.
21584 (__ASSUME_SIGNALFD4): Likewise.
21585 (__ASSUME_DUP3): Likewise.
21586 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21587 (__ASSUME_UTIMES): Likewise.
21588 (__ASSUME_O_CLOEXEC): Likewise.
21589 (__ASSUME_SOCK_CLOEXEC): Likewise.
21590 (__ASSUME_IN_NONBLOCK): Likewise.
21591 (__ASSUME_PIPE2): Likewise.
21592 (__ASSUME_EVENTFD2): Likewise.
21593 (__ASSUME_SIGNALFD4): Likewise.
21594 (__ASSUME_DUP3): Likewise.
21595 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21597 (__ASSUME_UTIMES): Likewise.
21598 (__ASSUME_EVENTFD2): Likewise.
21599 (__ASSUME_SIGNALFD4): Likewise.
21600 * sysdeps/unix/sysv/linux/tile/kernel-features.h
21601 (__ASSUME_O_CLOEXEC): Likewise.
21602 (__ASSUME_SOCK_CLOEXEC): Likewise.
21603 (__ASSUME_IN_NONBLOCK): Likewise.
21604 (__ASSUME_PIPE2): Likewise.
21605 (__ASSUME_EVENTFD2): Likewise.
21606 (__ASSUME_SIGNALFD4): Likewise.
21607 (__ASSUME_DUP3): Likewise.
21608 (__ASSUME_UTIMES): Undefine.
21610 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21611 feclearexcept. Remove symbol versioning code.
21612 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
21613 symbol versioning code.
21614 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
21615 symbol versioning code.
21616 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21617 feupdateenv. Remove symbol versioning code.
21618 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21619 fegetexceptflag. Remove symbol versioning code.
21620 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21621 fesetexceptflag. Remove symbol versioning code.
21622 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21623 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
21624 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21625 (__posix_fadvise64_l32): Remove prototype.
21626 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21629 2014-05-13 Roland McGrath <roland@hack.frob.com>
21631 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21632 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21633 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21634 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21636 2014-05-13 Sami Kerola <kerolasa@iki.fi>
21638 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21639 current working directory
21641 2014-05-13 Roland McGrath <roland@hack.frob.com>
21643 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21644 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21645 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21646 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21647 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21648 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21649 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21650 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21651 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21652 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21653 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21654 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21655 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21656 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21657 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21658 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21659 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21660 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21661 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21662 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21663 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21664 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21665 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21666 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21667 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21668 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21669 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21670 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21671 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21672 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21673 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21674 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21675 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21676 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21677 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21678 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21679 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21680 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21681 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21682 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21683 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21684 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21686 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21687 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21689 * sysdeps/unix/sysv/linux/arm/Makefile
21690 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21691 Add rt-aeabi_unwind_cpp_pr1.
21692 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21693 Add nptl-aeabi_unwind_cpp_pr1.
21694 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21695 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21696 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21697 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21698 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21699 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21701 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21702 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21703 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21704 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21706 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21707 Deconditionalize the code that was previously under [RESET_PID].
21708 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21710 * sysdeps/generic/exit-thread.h: New file.
21711 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21712 * include/unistd.h (__exit_thread): Remove declaration.
21713 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21714 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21715 * csu/libc-start.c: Include <exit-thread.h>.
21716 (LIBC_START_MAIN): Pass no argument to __exit_thread.
21717 * nptl/pthread_create.c: Include <exit-thread.h>.
21718 (start_thread): Call __exit_thread in place of __exit_thread_inline.
21719 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21720 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21721 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21722 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21723 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21724 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21725 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21726 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21727 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21728 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21729 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21730 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21731 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21732 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21733 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21734 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21736 2014-05-13 Andreas Schwab <schwab@suse.de>
21738 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21740 2014-05-12 Joseph Myers <joseph@codesourcery.com>
21742 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21743 (__ASSUME_UTIMES): Do not condition on kernel version.
21744 (__ASSUME_PSELECT): Define unconditionally.
21745 (__ASSUME_PPOLL): Likewise.
21746 (__ASSUME_ATFCTS): Likewise.
21747 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21748 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21749 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21750 (__ASSUME_UTIMENSAT): Define unconditionally.
21751 (__ASSUME_PRIVATE_FUTEX): Likewise.
21752 (__ASSUME_FALLOCATE): Likewise.
21753 (__ASSUME_O_CLOEXEC): Likewise.
21754 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21755 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21756 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21757 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21758 (__ASSUME_IN_NONBLOCK): Likewise.
21759 (__ASSUME_PIPE2): Likewise.
21760 (__ASSUME_EVENTFD2): Likewise.
21761 (__ASSUME_SIGNALFD4): Likewise.
21762 (__ASSUME_DUP3): Likewise.
21763 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21764 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21765 (__ASSUME_AT_RANDOM): Likewise.
21766 (__ASSUME_PREADV): Likewise.
21767 (__ASSUME_PWRITEV): Likewise.
21768 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21769 (__ASSUME_F_GETOWN_EX): Define unconditionally.
21770 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21771 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21772 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21773 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21774 (__ASSUME_O_CLOEXEC): Define unconditionally.
21775 (__ASSUME_PSELECT): Do not undefine conditionally.
21776 (__ASSUME_PPOLL): Likewise.
21777 (__ASSUME_ATFCTS): Likewise.
21778 (__ASSUME_SET_ROBUST_LIST): Likewise.
21779 (__ASSUME_UTIMENSAT): Likewise.
21780 (__ASSUME_FDATASYNC): Define unconditionally.
21781 * sysdeps/unix/sysv/linux/arm/kernel-features.h
21782 (__ASSUME_SIGFRAME_V2): Likewise.
21783 )__ASSUME_EVENTFD2): Likewise.
21784 (__ASSUME_SIGNALFD4): Likewise.
21785 (__ASSUME_PSELECT): Do not undefine conditionally.
21786 (__ASSUME_PPOLL): Likewise.
21787 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21788 (__ASSUME_PSELECT): Define unconditionally.
21789 (__ASSUME_PPOLL): Likewise.
21790 (__ASSUME_O_CLOEXEC): Likewise.
21791 (__ASSUME_SOCK_CLOEXEC): Likewise.
21792 (__ASSUME_IN_NONBLOCK): Likewise.
21793 (__ASSUME_PIPE2): Likewise.
21794 (__ASSUME_EVENTFD2): Likewise.
21795 (__ASSUME_SIGNALFD4): Likewise.
21796 (__ASSUME_DUP3): Likewise.
21797 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21798 (__ASSUME_O_CLOEXEC): Likewise.
21799 (__ASSUME_SOCK_CLOEXEC): Likewise.
21800 (__ASSUME_IN_NONBLOCK): Likewise.
21801 (__ASSUME_PIPE2): Likewise.
21802 (__ASSUME_EVENTFD2): Likewise.
21803 (__ASSUME_SIGNALFD4): Likewise.
21804 (__ASSUME_DUP3): Likewise.
21805 * sysdeps/unix/sysv/linux/mips/kernel-features.h
21806 (__ASSUME_EVENTFD2): Likewise.
21807 (__ASSUME_SIGNALFD4): Likewise.
21808 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21810 2014-05-12 Andreas Schwab <schwab@suse.de>
21813 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21814 (_nss_nis_gethostbyname4_r): Return error if item length is larger
21815 than maximum RPC packet size.
21816 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21817 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21818 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21819 (_nss_nis_getservbyport_r): Likewise.
21821 2014-05-12 Will Newton <will.newton@linaro.org>
21823 * malloc/Makefile (tests): Add tst-mallopt.
21824 * malloc/tst-mallopt.c: New file.
21826 2014-05-09 Roland McGrath <roland@hack.frob.com>
21828 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21829 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21831 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21833 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21834 (tst-tlsmod6.so): Likewise.
21836 2014-05-09 Roland McGrath <roland@hack.frob.com>
21838 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21840 2014-05-09 Joseph Myers <joseph@codesourcery.com>
21843 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21844 and <dl-procinfo.h>.
21845 (__fegetenv): Save SSE state in envp->__eip if supported.
21846 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21847 envp->__eip if supported.
21848 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21849 and <dl-procinfo.h>.
21850 (__fesetenv): Always set __eip, __cs_selector, __opcode,
21851 __data_offset and __data_selector in environment to 0. Set SSE
21852 state if supported.
21853 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21855 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21857 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21859 2014-05-09 Will Newton <will.newton@linaro.org>
21861 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21862 and libc_relro_required for ARM.
21863 * sysdeps/arm/preconfigure: Regenerate.
21865 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
21866 Stefan Liebler <stli@linux.vnet.ibm.com>
21868 * config.make.in (enable-lock-elision): New Makefile variable.
21869 * configure.ac: Likewise.
21870 * configure: Regenerate.
21871 * sysdeps/s390/configure.ac:
21872 Add check for gcc transactions support.
21873 * sysdeps/s390/configure: Regenerate.
21874 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21875 Build elision files if enabled.
21876 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21877 Add lock elision support for s390.
21878 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21879 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21880 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21881 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21882 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21883 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21890 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21892 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21893 (__lll_timedlock_elision, __lll_lock_elision)
21894 (__lll_unlock_elision, __lll_trylock_elision)
21895 (lll_timedlock_elision, lll_lock_elision)
21896 (lll_unlock_elision, lll_trylock_elision): Add.
21897 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21898 (pthread_mutex_t): Add lock elision support for s390.
21900 2014-05-14 Wilco <wdijkstr@arm.com>
21902 * sysdeps/arm/fclrexcpt.c: Cleanup.
21903 * sysdeps/arm/fedisblxcpt.c: Cleanup.
21904 * sysdeps/arm/feenablxcpt.c: Cleanup.
21905 * sysdeps/arm/fegetenv.c: Cleanup.
21906 * sysdeps/arm/fegetexcept.c: Cleanup.
21907 * sysdeps/arm/fegetround.c: Cleanup.
21908 * sysdeps/arm/feholdexcpt.c: Cleanup.
21909 * sysdeps/arm/fesetenv.c: Cleanup.
21910 * sysdeps/arm/fesetround.c: Cleanup.
21911 * sysdeps/arm/feupdateenv.c: Cleanup.
21912 * sysdeps/arm/fgetexcptflg.c: Cleanup.
21913 * sysdeps/arm/fraiseexcpt.c: Cleanup.
21914 * sysdeps/arm/fsetexcptflg.c: Cleanup.
21915 * sysdeps/arm/ftestexcept.c: Cleanup.
21916 * sysdeps/arm/get-rounding-mode.h: Cleanup.
21917 * sysdeps/arm/setfpucw.c: Cleanup.
21919 2014-05-09 Will Newton <will.newton@linaro.org>
21921 * sysdeps/arm/armv7/strcmp.S: New file.
21922 * NEWS: Mention addition of ARMv7 optimized strcmp.
21924 2014-05-08 Roland McGrath <roland@hack.frob.com>
21926 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21927 look for %.ac rather than %.in.
21929 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21930 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21931 * sysdeps/mach/hurd/configure: Regenerated.
21932 * sysdeps/unix/sysv/linux/configure: Regenerated.
21934 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21936 2014-05-07 Steve Ellcey <sellcey@mips.com>
21939 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21943 2014-05-07 Andreas Schwab <schwab@suse.de>
21945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21946 when skipping over non-matching result from nscd.
21948 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
21951 * nptl/sockperf.c (client): Check socket return value.
21954 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21955 nscd security class.
21957 2014-05-06 Roland McGrath <roland@hack.frob.com>
21959 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21960 * sysdeps/arm/unwind.h: ... here.
21962 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
21965 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21968 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21970 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21971 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21972 multiarch strncpy for PPC64.
21973 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21974 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21976 multiarch optimizations.
21977 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21978 (__libc_ifunc_impl_list): Likewise.
21979 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21980 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21981 multiarch stpncpy for PPC64.
21982 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21985 2014-05-06 Andreas Schwab <schwab@suse.de>
21988 * gmon/mcount.c (_MCOUNT_DECL): Use
21989 atomic_compare_and_exchange_bool_acq instead of
21990 catomic_compare_and_exchange_bool_acq.
21992 2014-05-05 Roland McGrath <roland@hack.frob.com>
21994 * elf/Makefile (others, install-bin): Remove pldd.
21995 (pldd-modules): Variable removed.
21996 ($(objpfx)pldd): Target removed.
21997 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21998 (others, install-bin): Append pldd here.
21999 ($(objpfx)pldd): New target.
22001 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22002 to 0, so the first #if test emitted later doesn't see it undefined.
22003 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22004 * sysdeps/gnu/errlist.c: Regenerated.
22006 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22008 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22009 [libc_hidden_builtin_def]: Define to empty value.
22010 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22011 [libc_hidden_builtin_def]: Likewise.
22012 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22013 [libc_hidden_builtin_def]: Likewise.
22014 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22015 [libc_hidden_builtin_def]: Likewise.
22016 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22017 __redirect_memcpy and define ifunc as default hidden symbol.
22018 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22019 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22021 2014-05-04 Adam Conrad <adconrad@0c3.net>
22023 * locale/iso-4217.def: Reintroduce XDR currency.
22025 2014-05-04 Allan McRae <allan@archlinux.org>
22027 * po/eo.po: Update Esperanto translation from translation project.
22029 2014-05-02 Carlos O'Donell <carlos@redhat.com>
22031 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22032 and FEATURE_INDEX_MAX to 1.
22033 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22035 2014-05-01 Steve Ellcey <sellcey@mips.com>
22037 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22038 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22039 * iconvdata/big5.c (ONE_DIRECTION): Define.
22040 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22041 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22042 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22043 * iconvdata/cp932.c (ONE_DIRECTION): Define.
22044 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22045 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22046 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22047 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22048 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22049 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22050 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22051 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22052 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22053 * iconvdata/gbk.c (ONE_DIRECTION): Define.
22054 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22055 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22056 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22057 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22058 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22059 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22060 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22061 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22062 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22063 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22064 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22065 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22066 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22067 * iconvdata/iso646.c (ONE_DIRECTION): Define.
22068 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22069 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22070 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22071 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22072 * iconvdata/johab.c (ONE_DIRECTION): Define.
22073 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22074 * iconvdata/sjis.c (ONE_DIRECTION): Define.
22075 * iconvdata/t.61.c (ONE_DIRECTION): Define.
22076 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22077 * iconvdata/tscii.c (ONE_DIRECTION): Define.
22078 * iconvdata/uhc.c (ONE_DIRECTION): Define.
22079 * iconvdata/unicode.c (ONE_DIRECTION): Define.
22080 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22081 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22082 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22084 2014-05-01 Roland McGrath <roland@hack.frob.com>
22086 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22087 (_IO_JUMPS_OFFSET): Define to 0.
22089 * nptl/sysdeps/pthread/bits/libc-lock.h
22090 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22091 (__libc_lock_define_initialized_recursive): Always define using
22092 initializer. Modern compilers treat uninitialized (implicit zero) and
22093 explicit zero initializers the same (i.e. put the datum in bss).
22095 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22097 * nscd/nscd-client.h: Include <string.h>.
22099 2014-05-01 David S. Miller <davem@davemloft.net>
22102 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22103 multiple zero bytes exist at the end of a string.
22104 Reported by Aurelien Jarno <aurelien@aurel32.net>
22106 * string/test-strcmp.c (check): Add explicit test for situations where
22107 there are multiple zero bytes after the first.
22109 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
22112 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22113 when compiling wprintf.
22114 * stdio-common/tstdiomisc.c (t3): New function.
22117 2014-05-01 Steve Ellcey <sellcey@mips.com>
22119 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22120 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22121 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22122 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22124 2014-05-01 Steve Ellcey <sellcey@mips.com>
22126 * stdlib/longlong.h: Updated from GCC.
22128 2014-05-01 Will Newton <will.newton@linaro.org>
22129 Bernard Ogden <bernie.ogden@linaro.org>
22131 * NEWS: Update fixed bug list.
22134 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22136 2014-04-30 David S. Miller <davem@davemloft.net>
22138 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22139 (libc_feholdexcept_setround_sparc_ctx): New function.
22140 (libc_fesetenv_sparc_ctx): Likewise.
22141 (libc_feupdateenv_sparc_ctx): Likewise.
22142 (libc_feholdsetround_sparc_ctx): Likewise.
22143 (libc_feholdexcept_setround_ctx): Define.
22144 (libc_feholdexcept_setroundf_ctx): Likewise.
22145 (libc_feholdexcept_setroundl_ctx): Likewise.
22146 (libc_fesetenv_ctx): Likewise.
22147 (libc_fesetenvf_ctx): Likewise.
22148 (libc_fesetenvl_ctx): Likewise.
22149 (libc_feupdateenv_ctx): Likewise.
22150 (libc_feupdateenvf_ctx): Likewise.
22151 (libc_feupdateenvl_ctx): Likewise.
22152 (libc_feresetround_ctx): Likewise.
22153 (libc_feresetroundf_ctx): Likewise.
22154 (libc_feresetroundl_ctx): Likewise.
22155 (libc_feholdsetround_ctx): Likewise.
22156 (libc_feholdsetroundf_ctx): Likewise.
22157 (libc_feholdsetroundl_ctx): Likewise.
22159 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22160 with __USE_GNU instead of XOPEN cpp guards.
22162 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22165 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22166 with XOPEN cpp guards.
22168 2014-04-30 Julian Brown <julian@codesourcery.com>
22171 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22174 2014-04-30 Joseph Myers <joseph@codesourcery.com>
22177 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22179 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22180 * sysdeps/unix/sysv/linux/configure: Regenerated.
22181 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22182 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22183 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22184 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22185 * README: Update reference to required Linux kernel version.
22186 * manual/install.texi (Linux): Update reference to required Linux
22187 kernel headers version.
22188 * INSTALL: Regenerated.
22190 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22192 [POSIX] (limits.h): Likewise.
22193 [POSIX] (math.h): Likewise.
22194 [POSIX] (sys/wait.h): Likewise.
22195 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22197 [POSIX] (stddef.h): Do not allow header inclusion.
22199 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22201 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22203 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
22205 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22206 Return immediately after lll_futex_wake.
22208 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22211 * nscd/nscd-client.h (datahead_init_common): Initialize entire
22213 (datahead_init_pos): Call datahead_init_common early.
22214 (datahead_init_neg): Likewise.
22216 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22217 datahead_init_neg): New functions.
22218 * nscd/aicache.c (addhstaiX): Use them.
22219 * nscd/grpcache.c (cache_addgr): Likewise.
22220 * nscd/hstcache.c (cache_addhst): Likewise.
22221 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22222 * nscd/netgroupcache.c (do_notfound): Likewise.
22223 (addgetnetgrentX): Likewise.
22224 (addinnetgrX): Likewise.
22225 * nscd/pwdcache.c (cache_addpw): Likewise.
22226 * nscd/servicescache.c (cache_addserv): Likewise.
22228 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22229 Atsushi Onoe <atsushi@onoe.org>
22234 * resolv/res_query.c (__libc_res_nsearch): Return if at least
22235 one response is valid.
22236 * resolv/res_send.c (send_dg): Check for validity of other
22237 response if the current response is a referral.
22239 2014-04-29 Steve Ellcey <sellcey@mips.com>
22241 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22243 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
22246 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22247 Always divide by positive zero when computing -Inf result.
22248 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22249 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22251 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22253 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22254 FPSCR if value do not change.
22255 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22256 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22257 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22258 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22259 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22260 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22263 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
22265 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22266 * sysdeps/unix/sysv/linux/hppa: Move directory from
22267 ports/systeps/unix/sysv/linux/hppa.
22268 * README: Update listing for hppa-*-linux-gnu.
22270 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
22273 * manual/stdio.texi (Hook functions): Fix types of stream hook
22276 * socket/sys/socket.h: Fix typo in comment.
22278 2014-04-28 Wilco <wdijkstr@arm.com>
22280 * sysdeps/arm/fenv_private.h: New file.
22281 * sysdeps/arm/math_private.h: New file.
22282 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22284 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
22286 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22288 (La_x86_64_retval): Likewise.
22290 2014-04-24 Ian Bolton <ian.bolton@arm.com>
22292 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22293 fpsr if value didn't change.
22294 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22295 to fpcr if value didn't change.
22296 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22297 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22298 fpsr or fpcr if value didn't change.
22299 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22300 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22301 fpcr if value didn't change.
22302 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22303 to fpsr if value didn't change.
22305 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22307 * nptl/tst-sem3.c: Use test-skeleton.c
22308 (main): Rename to do_test. Use return instead of
22310 * nptl/tst-sem4.c: Use test-skeleton.c
22311 (main): Rename to do_test.
22313 2014-04-22 David S. Miller <davem@davemloft.net>
22315 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22316 (struct sigaction): New struct member __glibc_reserved0, change
22317 type of sa_flags to int.
22319 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
22321 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22322 (COUNT_LEADING_ZEROS_0): Define for AArch64.
22324 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22326 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22327 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22329 2014-04-22 Will Newton <will.newton@linaro.org>
22330 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
22332 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22333 (__longjmp): Add longjmp and longjmp_target SystemTap
22335 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22336 (__sigsetjmp): Add setjmp SystemTap probe.
22338 2014-04-17 Carlos O'Donell <carlos@redhat.com>
22340 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22341 match manual order.
22343 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22345 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22347 * sysdeps/powerpc/fpu/fenv_private.h
22348 (libc_feholdexcept_setroundl_ctx): Define to
22349 libc_feholdexcept_setround_ppc_ctx.
22350 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22351 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22352 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22353 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22355 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22357 * sysdeps/aarch64/math-tests.h: New file.
22359 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
22361 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22363 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22364 Check and set bit_AVX2_Usable.
22365 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22367 (bit_AVX2): Likewise.
22368 (index_AVX2_Usable): Likewise.
22369 (CPUID_AVX2): Likewise.
22370 (HAS_AVX2): Likewise.
22372 2014-04-17 Will Newton <will.newton@linaro.org>
22374 * manual/setjmp.texi (System V contexts): Add note that
22375 calling setcontext on a context created by a call to a
22376 signal handler is undefined. Update text to note that
22377 setcontext from a signal handler is possible but not
22381 * stdlib/tst-setcontext.c: Include signal.h.
22382 (main): Check that the signal stack before and
22383 after swapcontext is the same.
22385 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22386 Re-implement to restore registers in user code and avoid
22387 rt_sigreturn system call.
22389 2014-04-17 Wilco <wdijkstr@arm.com>
22391 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22392 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22393 * math/test-fenv.c: Skip exception trap tests on targets which only
22394 support non-stop mode.
22396 2014-04-17 Ian Bolton <ian.bolton@arm.com>
22397 Wilco Dijkstra <wilco.dijkstra@arm.com>
22399 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22400 (libc_feholdsetround_aarch64_ctx)
22401 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22402 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22403 (libc_feresetround_ctx, libc_feresetroundf_ctx)
22404 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22405 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22406 (libc_feresetround_noexl_ctx): Define.
22408 2014-04-16 Richard Henderson <rth@redhat.com>
22410 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22412 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22415 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22416 const from the non-libc, non-ldso copy.
22418 * sysdeps/alpha/libm-test-ulps: Regenerate.
22420 2014-04-16 Ian Bolton <ian.bolton@arm.com>
22421 Wilco Dijkstra <wilco.dijkstra@arm.com>
22423 * sysdeps/aarch64/fpu/math_private.h: New file.
22425 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
22427 * sysdeps/aarch64/libm-test-ulps: Regenerate.
22429 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
22432 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22433 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22434 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22435 Intel MPX bound registers before _dl_profile_fixup.
22436 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22437 registers after _dl_profile_fixup. Save and restore bound
22438 registers bnd0/bnd1 when calling _dl_call_pltexit.
22439 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22440 (LR_BND_OFFSET): Likewise.
22441 (LRV_BND0_OFFSET): Likewise.
22442 (LRV_BND1_OFFSET): Likewise.
22444 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22446 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22448 * sysdeps/mach/hurd/i386/tls.h: ... here.
22449 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22450 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22453 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22455 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22457 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22459 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22461 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
22464 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22465 * sysdeps/s390/configure: Regenerate.
22468 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22469 Set round-to-nearest internally to reduce error accumulation.
22471 2014-04-16 Alan Modra <amodra@gmail.com>
22475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22476 * math/libm-test.inc (frexp_test_data): Add tests.
22477 * NEWS: Update fixed bug list.
22479 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 * benchtests/Makefile: Depend on libraries in build directory.
22482 (bench-math): Separate out math tests.
22483 (bench-pthread): Separate out pthread tests.
22484 (bench): Include math and pthread tests.
22486 2014-04-14 Carlos O'Donell <carlos@redhat.com>
22489 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22490 _dl_debug_initialize.
22492 * configure.ac: Remove SELinux header check.
22493 * configure: Regenerate.
22494 * nscd/selinux.c (perms): Array of const char* to permission names.
22495 (nscd_request_avc_has_perm): Call security_deny_unknown to find
22496 default policy. Call string_to_security_class and string_to_av_perm to
22497 translate strings. Enforce default policy and call avs_has_perm with
22498 results of translated strings.
22500 2014-04-13 David S. Miller <davem@davemloft.net>
22502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22504 2014-04-12 Allan McRae <allan@archlinux.org>
22507 * manual/string.texi (Collation Functions): Fix qsort argument
22509 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22511 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
22513 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22514 Make the test a no-op if there are no exceptions defined.
22516 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
22518 * elf/Makefile (tests): make tst-dlopen-aout conditional on
22519 enable-hardcoded-path-in-tests
22521 2014-04-11 Will Newton <will.newton@linaro.org>
22523 * benchtests/Makefile (extra-objs): Add json-lib.o.
22524 (bench-func): Tidy up JSON output.
22525 * benchtests/bench-skeleton.c: Include json-lib.h.
22526 (main): Use JSON library functions to do output of
22528 * benchtests/bench-timing-type.c (main): Output the
22529 timing type simply, leaving formatting to the user.
22530 * benchtests/json-lib.c: New file.
22531 * benchtests/json-lib.h: Likewise.
22533 2014-04-11 Torvald Riegel <triegel@redhat.com>
22536 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22537 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
22538 memory barriers. Add comments.
22539 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22540 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22541 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22542 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22543 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22544 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22546 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22548 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22549 * sysdeps/s390/s390-64/configure.ac: ... this ...
22550 * sysdeps/s390/configure.ac: ... to here.
22551 * sysdeps/s390/s390-32/configure: Delete file.
22552 * sysdeps/s390/s390-64/configure: Delete file.
22553 * sysdeps/s390/configure: Regenerate.
22555 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
22557 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22559 2014-04-11 Will Newton <will.newton@linaro.org>
22561 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22562 to zero if it is not defined elsewhere. (mtrim): Test
22563 the value of MALLOC_DEBUG with #if rather than #ifdef.
22565 2014-04-10 Torvald Riegel <triegel@redhat.com>
22567 * benchtests/pthread_once-inputs: New file.
22568 * benchtests/pthread_once-source.c: New file.
22569 * benchtests/README: Update documentation.
22571 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
22572 H.J. Lu <hongjiu.lu@intel.com>
22575 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22576 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22577 * sysdeps/x86_64/configure: Regenerated.
22578 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22580 (REGISTER_SAVE_RAX): Likewise.
22581 (REGISTER_SAVE_RCX): Likewise.
22582 (REGISTER_SAVE_RDX): Likewise.
22583 (REGISTER_SAVE_RSI): Likewise.
22584 (REGISTER_SAVE_RDI): Likewise.
22585 (REGISTER_SAVE_R8): Likewise.
22586 (REGISTER_SAVE_R9): Likewise.
22587 (REGISTER_SAVE_BND0): Likewise.
22588 (REGISTER_SAVE_BND1): Likewise.
22589 (REGISTER_SAVE_BND2): Likewise.
22590 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
22591 bound registers when calling _dl_fixup.
22593 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22595 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22596 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22598 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22599 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22600 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22601 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22602 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22603 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22604 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22606 2014-04-09 Peter Brett <peter@peter-b.co.uk>
22609 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22610 pathconf(_PC_NAME_MAX).
22612 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22614 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22615 Remove macro usage.
22616 (__PTHREAD_SPINS): Move definition to ...
22617 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22618 (__PTHREAD_SPINS): ... here.
22619 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22620 (__PTHREAD_SPIN): Likewise.
22621 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22622 (__PTHREAD_SPIN): Likewise.
22623 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22624 (__PTHREAD_SPIN): Likewise.
22625 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22626 (__PTHREAD_SPIN): Likewise.
22627 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22628 (__PTHREAD_SPIN): Likewise.
22629 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22630 (__PTHREAD_SPIN): Likewise.
22631 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22632 (__PTHREAD_SPIN): Likewise.
22633 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22634 (__PTHREAD_SPIN): Likewise.
22635 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22636 (__PTHREAD_SPIN): Likewise.
22637 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22638 (__PTHREAD_SPIN): Likewise.
22639 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22640 (__PTHREAD_SPIN): Likewise.
22641 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22642 (__PTHREAD_SPIN): Likewise.
22644 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22645 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22646 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22647 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22649 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22650 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22651 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22652 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22653 correct imply path.
22654 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22655 strlen symbol for non multi-arch builds.
22656 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22657 missing hidden_def and weak_alias.
22659 2014-04-08 Carlos O'Donell <carlos@redhat.com>
22661 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22663 2014-04-07 Will Newton <will.newton@linaro.org>
22665 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22666 and contents. [!_LIBC] Remove #ifndef and contents.
22667 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
22668 * string/memccpy.c (__memccpy): Use ANSI prototype.
22669 * string/memfrob.c (memfrob): Likewise.
22670 * string/strcoll.c (STRCOLL): Likewise.
22671 * string/strlen.c (strlen): Likewise.
22672 * string/strtok.c (STRTOK): Likewise.
22673 * string/strcat.c: Remove unused #include of memcopy.h.
22674 (strcat): Use ANSI prototype.
22675 * string/strchr.c: Remove unused #include of memcopy.h.
22676 (strchr): Use ANSI prototype.
22677 * string/strcmp.c: Remove unused #include of memcopy.h.
22678 (strcmp): Use ANSI prototype.
22679 * string/strcpy.c: Remove unused #include of memcopy.h.
22680 (strcpy): Use ANSI prototype.
22682 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22684 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22685 * config.make.in (config-extra-cppflags): Set it from
22686 libc_extra_cppflags.
22687 * configure.ac (libc_extra_cflags): Make it accumulate over
22688 configure fragments.
22689 (libc_extra_cppflags): New flag.
22690 * configure. Regenerate.
22691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22692 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22693 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22697 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22698 result for FE_DOWNWARD rounding mode.
22699 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22703 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
22705 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22706 in function argument name.
22708 2014-04-03 David Svoboda <svoboda@cert.org>
22711 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22714 2014-04-03 Roland McGrath <roland@hack.frob.com>
22716 * elf/dl-unmap-segments.h: New file.
22717 * sysdeps/generic/ldsodefs.h
22718 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22719 * elf/dl-close.c: Include <dl-unmap-segments.h>.
22720 * elf/dl-fptr.c: Likewise.
22721 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22722 * sysdeps/aarch64/tlsdesc.c: Likewise.
22723 * sysdeps/arm/tlsdesc.c: Likewise.
22724 * sysdeps/i386/tlsdesc.c: Likewise.
22725 * sysdeps/tile/dl-runtime.c: Likewise.
22726 * sysdeps/x86_64/tlsdesc.c: Likewise.
22727 * elf/dl-load.h: New file.
22728 * elf/dl-load.c: Include it.
22729 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22730 Macros moved to dl-load.h.
22731 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22732 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22733 Use _dl_unmap_segments in place of __munmap.
22734 Break out segment-mapping loop into ...
22735 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22737 2014-04-03 Will Newton <will.newton@linaro.org>
22739 * elf/dl-lookup.c (do_lookup_x): Remove comment
22740 referring to nested function and move variable
22741 declarations down to before first use.
22743 2014-04-02 Joseph Myers <joseph@codesourcery.com>
22747 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22749 * math/s_catanf.c (__catanf): Likewise.
22750 * math/s_catanh.c (__catanh): Likewise.
22751 * math/s_catanhf.c (__catanhf): Likewise.
22752 * math/s_catanhl.c (__catanhl): Likewise.
22753 * math/s_catanl.c (__catanl): Likewise.
22754 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22755 by positive zero when computing -Inf result.
22756 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22757 (catanh_test): Likewise.
22758 * sysdeps/i386/fpu/libm-test-ulps: Update.
22759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22762 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22763 instead of using underflowing value in computing result.
22764 * math/s_clog10.c (__clog10): Likewise.
22765 * math/s_clog10f.c (__clog10f): Likewise.
22766 * math/s_clog10l.c (__clog10l): Likewise.
22767 * math/s_clogf.c (__clogf): Likewise.
22768 * math/s_clogl.c (__clogl): Likewise.
22769 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22770 (clog10_test): Likewise.
22771 * sysdeps/i386/fpu/libm-test-ulps: Update.
22772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22774 2014-04-02 Alan Modra <amodra@gmail.com>
22777 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22778 output when value is near a power of two. Use int64_t for lx and
22779 remove casts. Use decimal rather than hex exponent constants.
22780 Don't use long double multiplication when double will suffice.
22781 * math/libm-test.inc (nextafter_test_data): Add tests.
22782 * NEWS: Add 16739 and 16786 to bug list.
22784 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22786 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22788 2014-04-01 Will Newton <will.newton@linaro.org>
22790 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22791 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
22793 2014-04-01 Florian Weimer <fweimer@redhat.com>
22796 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22797 * nptl/tst-setuid2.c: New file.
22798 * nptl/Makefile (xtests): Add tst-setuid2.
22800 2014-04-01 Alan Modra <amodra@gmail.com>
22803 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22805 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22809 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22810 set errno as appropriate.
22811 * math/w_scalbf.c (__scalbf): Likewise.
22812 * math/w_scalbl.c (__scalbl): Likewise.
22813 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22814 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22815 * math/libm-test.inc (scalb_test_data): Add errno expectations.
22816 Add more NaN tests.
22819 * math/w_atan2.c: Include <errno.h>.
22820 (__atan2): Set errno for result underflowing to zero.
22821 * math/w_atan2f.c: Include <errno.h>.
22822 (__atan2f): Set errno for result underflowing to zero.
22823 * math/w_atan2l.c: Include <errno.h>.
22824 (__atan2l): Set errno for result underflowing to zero.
22825 * math/auto-libm-test-in: Don't allow missing errno for some atan2
22827 * math/auto-libm-test-out: Regenerated.
22829 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22831 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22832 Encode instruction correctly in little endian.
22833 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22835 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22837 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22839 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22842 2014-03-31 Joseph Myers <joseph@codesourcery.com>
22845 * sysdeps/unix/sysv/linux/kernel-features.h
22846 [__sparc__ && !__arch64__ && !__sparc_v9__]
22847 (__ASSUME_SET_ROBUST_LIST): Do not define.
22848 [__sparc__ && !__arch64__ && !__sparc_v9__]
22849 (__ASSUME_FUTEX_LOCK_PI): Likewise.
22850 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22852 * sysdeps/unix/sysv/linux/arm/kernel-features.h
22853 (__ASSUME_FUTEX_LOCK_PI): Undefine.
22854 (__ASSUME_REQUEUE_PI): Likewise.
22855 (__ASSUME_SET_ROBUST_LIST): Likewise.
22856 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22857 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22859 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22860 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22862 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22864 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22866 * sysdeps/unix/sysv/linux/mips/kernel-features.h
22867 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22869 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22870 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22875 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22876 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22878 2014-03-31 Will Newton <will.newton@linaro.org>
22880 * benchtests/Makefile (bench): Add ffs and ffsll to list
22882 * benchtests/ffs-inputs: New file.
22883 * benchtests/ffsll-inputs: Likewise.
22885 2014-03-29 Joseph Myers <joseph@codesourcery.com>
22888 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22889 too large before casting to int.
22890 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22891 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22892 * math/libm-test.inc (scalb_test_data): Add more tests.
22894 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22896 * benchtests/Makefile (DETAILED_OPT): New make option.
22897 (bench-func): Run benchmark program with -d if DETAILED_OPT is
22899 * benchtests/bench-skeleton.c: Include stdbool.h.
22900 (main): Store and print timings per input.
22901 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22902 member to each argument value.
22903 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22904 (_print_arg_data): Initialize per-input timing to 0.
22906 * benchtests/Makefile (timing-type): New binary.
22907 (bench-clean): Also remove bench-timing-type.
22908 (bench): New target for timing-type.
22909 (bench-func): Print output in JSON format.
22910 * benchtests/bench-skeleton.c (main): Print output in JSON
22912 * benchtests/bench-timing-type.c: New file.
22913 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22914 (TIMING_PRINT_STATS): Remove.
22915 * benchtests/scripts/bench.py (_print_arg_data): Store variant
22918 * benchtests/bench-modf.c: Remove.
22919 * benchtests/modf-inputs: New inputs file.
22921 2014-03-28 Joseph Myers <joseph@codesourcery.com>
22924 * math/s_clog10.c (M_PI_LOG10E): New macro.
22925 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22926 imaginary parts are 0.
22927 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22928 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22929 imaginary parts are 0.
22930 * math/s_clog10l.c (M_PI_LOG10El): New macro.
22931 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22932 imaginary parts are 0.
22933 * math/libm-test.inc (clog10_test_data): Update expected results
22934 for when real and imaginary parts are 0.
22936 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
22938 * elf/dl-load.c: Finish conversion of __builtin_expect into
22939 __glibc_{un}likely.
22941 2014-03-27 Joseph Myers <joseph@codesourcery.com>
22944 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22945 1+x for argument with exponent below -67.
22946 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22948 * math/auto-libm-test-in: Add more tests of exp.
22949 * math/auto-libm-test-out: Regenerated.
22951 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22954 * inet/getnetgrent_r.c (get_nonempty_val): New function.
22955 (nscd_getnetgrent): Use it.
22958 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22961 2014-03-27 Andi Kleen <ak@linux.intel.com>
22963 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22964 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22965 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22966 (lll_robust_unlock): Remove out of line section. Use cfi
22968 (LLL_STUB_UNWIND_INFO*): Remove.
22969 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22970 (lll_robust_lock, lll_cond_lock, lll_timedlock)
22971 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22972 (lll_robust_unlock): Remove out of line section. Use cfi
22974 (LLL_STUB_UNWIND_INFO*): Remove.
22976 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
22979 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22982 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
22984 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22986 2014-03-26 Joseph Myers <joseph@codesourcery.com>
22989 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22991 * math/test-fenv-preserve.c: New file.
22992 * math/Makefile (tests): Add test-fenv-preserve.
22994 2014-03-26 Will Newton <will.newton@linaro.org>
22996 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22998 2014-03-25 Roland McGrath <roland@hack.frob.com>
23000 * scripts/versionlist.awk: Partition the version sets and emit all
23001 GLIBC_* (sorted) before all others (sorted).
23003 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23005 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23006 GLIBC_2.2.5 version.
23008 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23010 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23013 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23016 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23018 2014-03-25 Andreas Schwab <schwab@suse.de>
23020 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23021 label to be used after in6ailist is initialized.
23023 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23025 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23026 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23028 2014-03-25 Joseph Myers <joseph@codesourcery.com>
23032 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23034 (fp_formats): Update initializers.
23035 (init_fp_formats): Initialize new field.
23036 (output_for_one_input_case): Allow underflow for results up to
23038 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23039 * math/auto-libm-test-in: Don't mark some underflows from asin and
23041 * math/auto-libm-test-out: Regenerated.
23042 * sysdeps/i386/fpu/libm-test-ulps: Update.
23043 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23045 2014-03-25 Andreas Schwab <schwab@suse.de>
23047 * libio/Makefile (tst-ftell-partial-wide-ENV)
23048 (tst-ftell-active-handler-ENV): Define.
23050 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
23052 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23054 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23056 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23058 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23060 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23061 * sysdeps/x86_64/fpu/multiarch/e_exp.c
23062 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23064 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
23067 * elf/dl-load.c (open_verify): Add mode parameter.
23068 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23069 (open_path): Change from boolean 'secure' to complete flag 'mode'
23070 (_dl_map_object): Adjust.
23071 * elf/Makefile (tests): Add tst-dlopen-aout.
23072 * elf/tst-dlopen-aout.c: New test.
23074 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
23077 * sysdeps/unix/sysv/linux/s390/bits/stat.h
23078 (struct stat): Rename member pad0 to __glibc_reserved0.
23081 * sysdeps/s390/s390-32/bits/wordsize.h
23082 (__WORDSIZE32_SIZE_ULONG): New define.
23083 * sysdeps/s390/s390-64/bits/wordsize.h
23084 (__WORDSIZE32_SIZE_ULONG): Likewise.
23085 * sysdeps/generic/stdint.h (SIZE_MAX):
23086 Define as UL if __WORDSIZE32_SIZE_ULONG.
23089 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23090 (__glibc_reserved0): New variable.
23091 (sa_flags): Change type to int.
23093 * posix/Makefile (before-compile): Use += before-compile instead
23096 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23097 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23099 2014-03-20 Andreas Schwab <schwab@suse.de>
23102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23103 non-matching result from nscd.
23105 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23107 * scripts/bench.py: Moved to ...
23108 * benchtests/scripts/bench.py: ... here.
23109 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23111 2014-03-24 Andreas Schwab <schwab@suse.de>
23114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23115 alloca_account and account alloca use for struct in6ailist.
23117 2014-03-24 Joseph Myers <joseph@codesourcery.com>
23120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23121 rounding mode to recompute results that overflow to infinity or
23123 * math/auto-libm-test-in: Don't mark tests as expected to fail for
23125 * math/auto-libm-test-out: Regenerated.
23126 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23127 (ccosh_test): Likewise.
23128 (csin_test_data): Use plus_oflow.
23129 (csin_test): Use ALL_RM_TEST.
23130 (csinh_test_data): Use plus_oflow.
23131 (csinh_test): Use ALL_RM_TEST.
23132 * sysdeps/i386/fpu/libm-test-ulps: Update.
23133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23135 2014-03-21 Joseph Myers <joseph@codesourcery.com>
23137 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23138 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23139 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23142 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23143 when x - 1 is zero.
23144 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23145 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23146 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23147 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23149 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23150 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23152 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23153 * sysdeps/i386/fpu/libm-test-ulps: Update.
23154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23156 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23158 * scripts/bench.pl: Remove file.
23159 * scripts/bench.py: New benchmark script.
23160 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23161 * benchtests/README: Mention python dependency.
23162 * scripts/pylintrc: New file.
23163 * scripts/pylint: New file.
23165 * bits/mathdef.h: Use #ifdef instead of #if.
23166 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23167 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23168 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23169 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23170 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23171 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23173 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23174 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23176 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23178 and strpbrk-ppc64 objects.
23179 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23180 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23181 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23182 multiarch strpbrk for POWER7.
23183 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23184 multiarch strpbrk for PPC64.
23185 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23187 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23188 strpbrk for POWER7.
23190 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23192 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23193 (atan_test): Likewise.
23194 (atanh_test_data): Use NO_TEST_INLINE for two tests.
23195 (atanh_test): Use ALL_RM_TEST.
23196 (atan2_test_data): Likewise.
23197 (cabs_test): Likewise.
23198 (cacosh_test): Likewise.
23199 (carg_test): Likewise.
23200 (casin_test): Likewise.
23201 (casinh_test): Likewise.
23202 (cbrt_test): Likewise.
23203 (csqrt_test): Likewise.
23204 (erf_test): Likewise.
23205 (erfc_test): Likewise.
23206 (pow10_test): Likewise.
23207 (exp2_test): Likewise.
23208 (hypot_test): Likewise.
23209 (j0_test): Likewise.
23210 (j1_test): Likewise.
23211 (lgamma_test): Likewise.
23212 (gamma_test): Likewise.
23213 (sincos_test): Likewise.
23214 (tanh_test): Likewise.
23215 (y0_test): Likewise.
23216 (y1_test): Likewise.
23217 * sysdeps/i386/fpu/libm-test-ulps: Update.
23218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23220 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23222 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23223 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23224 and strcspn-ppc64 objects.
23225 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23226 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23227 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23228 multiarch strcspn for POWER7.
23229 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23230 multiarch strcspn for PPC64.
23231 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23233 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23234 strcspn for POWER7.
23236 2014-03-20 Joseph Myers <joseph@codesourcery.com>
23238 * math/gen-libm-test.pl (generate_testfile): Expect only function
23239 name as argument to AUTO_TESTS_* and pass results for all rounding
23240 modes to parse_args.
23241 (parse_auto_input): Separate inputs of automatic tests from
23242 outputs before storing in %auto_tests.
23243 * math/libm-test.inc (acos_test_data): Update call to
23245 (acos_test): Use ALL_RM_TEST.
23246 (acos_tonearest_test_data): Remove.
23247 (acos_test_tonearest): Likewise.
23248 (acos_towardzero_test_data): Likewise.
23249 (acos_test_towardzero): Likewise.
23250 (acos_downward_test_data): Likewise.
23251 (acos_test_downward): Likewise.
23252 (acos_upward_test_data): Likewise.
23253 (acos_test_upward): Likewise.
23254 (acosh_test_data): Update call to AUTO_TESTS_f_f.
23255 (asin_test_data): Likewise.
23256 (asin_test): Use ALL_RM_TEST.
23257 (asin_tonearest_test_data): Remove.
23258 (asin_test_tonearest): Likewise.
23259 (asin_towardzero_test_data): Likewise.
23260 (asin_test_towardzero): Likewise.
23261 (asin_downward_test_data): Likewise.
23262 (asin_test_downward): Likewise.
23263 (asin_upward_test_data): Likewise.
23264 (asin_test_upward): Likewise.
23265 (asinh_test_data): Update call to AUTO_TESTS_f_f.
23266 (atan_test_data): Likewise.
23267 (atanh_test_data): Likewise.
23268 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23269 (cabs_test_data): Update call to AUTO_TESTS_c_f.
23270 (carg_test_data): Likewise.
23271 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23272 (ccos_test_data): Update call to AUTO_TESTS_c_c.
23273 (ccosh_test_data): Likewise.
23274 (cexp_test_data): Likewise.
23275 (clog_test_data): Likewise.
23276 (clog10_test_data): Likewise.
23277 (cos_test_data): Update call to AUTO_TESTS_f_f.
23278 (cos_test): Use ALL_RM_TEST.
23279 (cos_tonearest_test_data): Remove.
23280 (cos_test_tonearest): Likewise.
23281 (cos_towardzero_test_data): Likewise.
23282 (cos_test_towardzero): Likewise.
23283 (cos_downward_test_data): Likewise.
23284 (cos_test_downward): Likewise.
23285 (cos_upward_test_data): Likewise.
23286 (cos_test_upward): Likewise.
23287 (cosh_test_data): Update call to AUTO_TESTS_f_f.
23288 (cosh_test): Use ALL_RM_TEST.
23289 (cosh_tonearest_test_data): Remove.
23290 (cosh_test_tonearest): Likewise.
23291 (cosh_towardzero_test_data): Likewise.
23292 (cosh_test_towardzero): Likewise.
23293 (cosh_downward_test_data): Likewise.
23294 (cosh_test_downward): Likewise.
23295 (cosh_upward_test_data): Likewise.
23296 (cosh_test_upward): Likewise.
23297 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23298 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23299 (ctan_test_data): Likewise.
23300 (ctan_test): Use ALL_RM_TEST.
23301 (ctan_tonearest_test_data): Remove.
23302 (ctan_test_tonearest): Likewise.
23303 (ctan_towardzero_test_data): Likewise.
23304 (ctan_test_towardzero): Likewise.
23305 (ctan_downward_test_data): Likewise.
23306 (ctan_test_downward): Likewise.
23307 (ctan_upward_test_data): Likewise.
23308 (ctan_test_upward): Likewise.
23309 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23310 (ctanh_test): Use ALL_RM_TEST.
23311 (ctanh_tonearest_test_data): Remove.
23312 (ctanh_test_tonearest): Likewise.
23313 (ctanh_towardzero_test_data): Likewise.
23314 (ctanh_test_towardzero): Likewise.
23315 (ctanh_downward_test_data): Likewise.
23316 (ctanh_test_downward): Likewise.
23317 (ctanh_upward_test_data): Likewise.
23318 (ctanh_test_upward): Likewise.
23319 (erf_test_data): Update call to AUTO_TESTS_f_f.
23320 (erfc_test_data): Likewise.
23321 (exp_test_data): Likewise.
23322 (exp_test): Use ALL_RM_TEST.
23323 (exp_tonearest_test_data): Remove.
23324 (exp_test_tonearest): Likewise.
23325 (exp_towardzero_test_data): Likewise.
23326 (exp_test_towardzero): Likewise.
23327 (exp_downward_test_data): Likewise.
23328 (exp_test_downward): Likewise.
23329 (exp_upward_test_data): Likewise.
23330 (exp_test_upward): Likewise.
23331 (exp10_test_data): Update call to AUTO_TESTS_f_f.
23332 (exp10_test): Use ALL_RM_TEST.
23333 (exp10_tonearest_test_data): Remove.
23334 (exp10_test_tonearest): Likewise.
23335 (exp10_towardzero_test_data): Likewise.
23336 (exp10_test_towardzero): Likewise.
23337 (exp10_downward_test_data): Likewise.
23338 (exp10_test_downward): Likewise.
23339 (exp10_upward_test_data): Likewise.
23340 (exp10_test_upward): Likewise.
23341 (exp2_test_data): Update call to AUTO_TESTS_f_f.
23342 (expm1_test_data): Likewise.
23343 (expm1_test): Use ALL_RM_TEST.
23344 (expm1_tonearest_test_data): Remove.
23345 (expm1_test_tonearest): Likewise.
23346 (expm1_towardzero_test_data): Likewise.
23347 (expm1_test_towardzero): Likewise.
23348 (expm1_downward_test_data): Likewise.
23349 (expm1_test_downward): Likewise.
23350 (expm1_upward_test_data): Likewise.
23351 (expm1_test_upward): Likewise.
23352 (fma_test_data): Update call to AUTO_TESTS_fff_f.
23353 (fma_test): Use ALL_RM_TEST.
23354 (fma_towardzero_test_data): Remove.
23355 (fma_test_towardzero): Likewise.
23356 (fma_downward_test_data): Likewise.
23357 (fma_test_downward): Likewise.
23358 (fma_upward_test_data): Likewise.
23359 (fma_test_upward): Likewise.
23360 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23361 (j0_test_data): Update call to AUTO_TESTS_f_f.
23362 (j1_test_data): Likewise.
23363 (jn_test_data): Update call to AUTO_TESTS_if_f.
23364 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23365 (log_test_data): Update call to AUTO_TESTS_f_f.
23366 (log10_test_data): Likewise.
23367 (log1p_test_data): Likewise.
23368 (log2_test_data): Likewise.
23369 (pow_test_data): Update call to AUTO_TESTS_ff_f.
23370 (pow_tonearest_test_data): Likewise.
23371 (sin_test_data): Update call to AUTO_TESTS_f_f.
23372 (sin_test): Use ALL_RM_TEST.
23373 (sin_tonearest_test_data): Remove.
23374 (sin_test_tonearest): Likewise.
23375 (sin_towardzero_test_data): Likewise.
23376 (sin_test_towardzero): Likewise.
23377 (sin_downward_test_data): Likewise.
23378 (sin_test_downward): Likewise.
23379 (sin_upward_test_data): Likewise.
23380 (sin_test_upward): Likewise.
23381 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23382 (sinh_test_data): Update call to AUTO_TESTS_f_f.
23383 (sinh_test): Use ALL_RM_TEST.
23384 (sinh_tonearest_test_data): Remove.
23385 (sinh_test_tonearest): Likewise.
23386 (sinh_towardzero_test_data): Likewise.
23387 (sinh_test_towardzero): Likewise.
23388 (sinh_downward_test_data): Likewise.
23389 (sinh_test_downward): Likewise.
23390 (sinh_upward_test_data): Likewise.
23391 (sinh_test_upward): Likewise.
23392 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23393 (sqrt_test): Use ALL_RM_TEST.
23394 (sqrt_tonearest_test_data): Remove.
23395 (sqrt_test_tonearest): Likewise.
23396 (sqrt_towardzero_test_data): Likewise.
23397 (sqrt_test_towardzero): Likewise.
23398 (sqrt_downward_test_data): Likewise.
23399 (sqrt_test_downward): Likewise.
23400 (sqrt_upward_test_data): Likewise.
23401 (sqrt_test_upward): Likewise.
23402 (tan_test_data): Update call to AUTO_TESTS_f_f.
23403 (tan_test): Use ALL_RM_TEST.
23404 (tan_tonearest_test_data): Remove.
23405 (tan_test_tonearest): Likewise.
23406 (tan_towardzero_test_data): Likewise.
23407 (tan_test_towardzero): Likewise.
23408 (tan_downward_test_data): Likewise.
23409 (tan_test_downward): Likewise.
23410 (tan_upward_test_data): Likewise.
23411 (tan_test_upward): Likewise.
23412 (tanh_test_data): Update call to AUTO_TESTS_f_f.
23413 (tgamma_test_data): Likewise.
23414 (y0_test_data): Likewise.
23415 (y1_test_data): Likewise.
23416 (yn_test_data): Update call to AUTO_TESTS_if_f.
23417 (main): Do not call removed functions.
23419 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23421 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23422 (ldexp_test_data): Remove.
23423 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
23425 (scalb_test): Use ALL_RM_TEST.
23427 2014-03-19 Andreas Schwab <schwab@suse.de>
23429 * nscd/nscd.service: Also invalidate netgroup cache on reload.
23431 2014-03-19 Joseph Myers <joseph@codesourcery.com>
23434 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23435 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23436 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23437 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23438 (__ASSUME_PREADV): Undefine.
23439 (__ASSUME_PWRITEV): Likewise.
23441 2014-03-18 Roland McGrath <roland@hack.frob.com>
23443 * bits/mman-linux.h: Add comment about non-Linux use.
23444 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23445 bits/mman-linux.h resting place.
23447 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23448 * bits/mman-linux.h: ... here.
23450 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23452 * conform/conformtest.pl: Add standard definition when calling C
23453 preprocessor on data files.
23454 (checknamespace): Remove unused variable.
23456 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23458 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23459 minus_oflow, plus_uflow and minus_uflow in expected results.
23460 * math/libm-test.inc (scalbn_test_data): Add more tests of
23461 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
23463 (scalbn_test): Use ALL_RM_TEST.
23464 (scalbln_test_data): Add more tests of negative arguments. Use
23465 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23466 (scalbln_test): Use ALL_RM_TEST.
23468 2014-03-18 Roland McGrath <roland@hack.frob.com>
23470 * scripts/abilist.awk: Ignore symbols marked with .hidden.
23472 2014-03-18 Will Newton <will.newton@linaro.org>
23474 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23475 inaccurate comment.
23477 2014-03-18 Joseph Myers <joseph@codesourcery.com>
23479 * Makerules [!subdir] (check-abi): Exit with error status if a
23482 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23484 * math/libm-test.inc (nearbyint_test_data): Include all tests used
23485 for rint. Include results for all rounding modes.
23486 (nearbyint_test): Use ALL_RM_TEST.
23487 (rint_test_data): Include all tests used for nearbyint.
23489 2014-03-17 Will Newton <will.newton@linaro.org>
23491 * nptl/sysdeps/pthread/pthread.h: Revert previous
23494 * sysdeps/generic/ldsodefs.h: Revert previous
23497 * libio/genops.c: Revert previous change.
23498 * libio/libioP.h: Likewise.
23499 * stdio-common/vfprintf.c: Likewise.
23501 * sysdeps/generic/math_private.h: Revert previous
23504 * sysdeps/generic/math_private.h: Check whether
23505 HAVE_RM_CTX is defined with #ifdef rather
23508 * argp/argp-fmtstream.h: Check whether
23509 __STRICT_ANSI__ is defined with #ifdef rather
23511 * argp/argp.h: Likewise.
23513 * libio/genops.c: Check whether
23514 _IO_JUMPS_OFFSET is defined with #ifdef rather
23516 * libio/libioP.h: Likewise.
23517 * stdio-common/vfprintf.c: Likewise.
23519 * sysdeps/generic/ldsodefs.h: Check whether
23520 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23523 * nptl/sysdeps/pthread/pthread.h: Check
23524 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23527 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
23529 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23531 * libio/tst-ftell-active-handler.c (do_append_test): Add a
23535 * libio/fileops.c (_IO_file_open): Seek to end of file but
23536 don't cache the offset.
23537 (get_file_offset): Remove function.
23538 (do_ftell): Use cached offset when available.
23539 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23540 don't cache the offset.
23541 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23543 (do_one_test): Call it.
23544 (do_ftell_test): Fix up expected old offset for a+ mode.
23545 * libio/wfileops.c (do_ftell_wide): Used cached offset when
23548 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23549 up test status with function return status.
23550 (do_write_test): Likewise.
23551 (do_append_test): Likewise.
23553 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23554 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23557 2014-03-17 Joseph Myers <joseph@codesourcery.com>
23559 * math/gen-libm-test.pl (parse_args): Handle results specified for
23560 each rounding mode separately.
23561 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23562 tests and results from lrint_tonearest_test_data,
23563 lrint_towardzero_test_data, lrint_downward_test_data and
23564 lrint_upward_test_data.
23565 (lrint_test): Use ALL_RM_TEST.
23566 (lrint_tonearest_test_data): Remove.
23567 (lrint_test_tonearest): Likewise.
23568 (lrint_towardzero_test_data): Likewise.
23569 (lrint_test_towardzero): Likewise.
23570 (lrint_downward_test_data): Likewise.
23571 (lrint_test_downward): Likewise.
23572 (lrint_upward_test_data): Likewise.
23573 (lrint_test_upward): Likewise.
23574 (llrint_test_data): Merge in per-rounding-mode tests and results
23575 from llrint_tonearest_test_data, llrint_towardzero_test_data,
23576 llrint_downward_test_data and llrint_upward_test_data.
23577 (llrint_test): Use ALL_RM_TEST.
23578 (llrint_tonearest_test_data): Remove.
23579 (llrint_test_tonearest): Likewise.
23580 (llrint_towardzero_test_data): Likewise.
23581 (llrint_test_towardzero): Likewise.
23582 (llrint_downward_test_data): Likewise.
23583 (llrint_test_downward): Likewise.
23584 (llrint_upward_test_data): Likewise.
23585 (llrint_test_upward): Likewise.
23586 (rint_test_data): Merge in per-rounding-mode tests and results
23587 from rint_tonearest_test_data, rint_towardzero_test_data,
23588 rint_downward_test_data and rint_upward_test_data. Add
23589 per-rounding-mode results for tests not in those arrays.
23590 (rint_test): Use ALL_RM_TEST.
23591 (rint_tonearest_test_data): Remove.
23592 (rint_test_tonearest): Likewise.
23593 (rint_towardzero_test_data): Likewise.
23594 (rint_test_towardzero): Likewise.
23595 (rint_downward_test_data): Likewise.
23596 (rint_test_downward): Likewise.
23597 (rint_upward_test_data): Likewise.
23598 (rint_test_upward): Likewise.
23599 (main): Don't call removed functions.
23601 2014-03-14 Roland McGrath <roland@hack.frob.com>
23603 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23604 "Compiled on ..." crapola. It is anti-useful.
23606 2014-03-14 Joseph Myers <joseph@codesourcery.com>
23608 * scripts/evaluate-test.sh: Handle fourth argument to determine
23609 whether test run should stop on failure.
23610 * Makeconfig (stop-on-test-failure): New variable.
23611 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23612 $(stop-on-test-failure).
23613 * Makefile (tests): Give a summary of results from testing and
23614 exit with failure status if they include an ERROR or FAIL.
23615 (xtests): Likewise.
23616 * manual/install.texi (Configuring and compiling): Mention
23617 stop-on-test-failure=y.
23618 * INSTALL: Regenerated.
23620 2014-03-14 Roland McGrath <roland@hack.frob.com>
23622 * scripts/versionlist.awk: New file.
23623 * Makerules [$(build-shared) = yes]
23624 (postclean-generated): Add Versions.def, not Versions.def.v and
23626 ($(common-objpfx)Versions.def.v.i): Target removed.
23627 ($(common-objpfx)Versions.def): New target.
23628 ($(common-objpfx)Versions.all): Depend on that rather that
23629 $(common-objpfx)Versions.def.v.
23630 * Versions.def: File removed.
23632 * Makeconfig (+gccwarn): Add -Wundef.
23633 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23634 a dl-sysdep.h breaking its contract.
23635 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23636 * include/stackinfo.h: New file.
23637 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23638 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23639 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23640 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23641 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23642 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23643 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23644 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23645 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23646 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23647 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23648 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23649 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23650 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23651 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23653 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23656 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23658 * math/libm-test.inc (round_test_data): Add more tests.
23661 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23663 * math/libm-test.inc (nearbyint_test_data): Add more tests.
23666 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23668 * math/libm-test.inc (ceil_test_data): Add more tests.
23670 * math/libm-test.inc (trunc_test_data): Add more tests related to
23673 2014-03-14 Roland McGrath <roland@hack.frob.com>
23675 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23676 with #if rather than #ifdef.
23677 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23679 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
23681 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23682 first. Disable AVX-512 GCC support if assembler doesn't support
23684 * sysdeps/x86_64/configure: Regenerated.
23686 2014-03-13 Carlos O'Donell <carlos@redhat.com>
23688 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23689 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23690 (__old_pthread_attr_setstack): Likewise.
23691 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23692 [!_STACK_GROWS_DOWN]: Likewise.
23694 2014-03-13 Mike Frysinger <vapier@gentoo.org>
23696 * config.make.in (have-bash2): Delete.
23697 * configure.ac (libc_cv_have_bash2): Delete.
23698 * configure: Regenerate.
23699 * elf/Makefile (common-ldd-rewrite): Rename to ...
23700 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
23701 (sh-ldd-rewrite): Delete.
23702 (bash-ldd-rewrite): Delete.
23703 (have-bash2): Delete checks.
23704 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23707 * config.make.in (have-ksh): Delete.
23709 * configure.ac (libc_cv_have_ksh): Delete.
23710 * configure: Regenerate.
23712 * elf/Makefile: Delete $(have-ksh) check.
23713 ($(objpfx)sotruss): Change KSH to BASH.
23714 * elf/sotruss.ksh: Rename to ...
23715 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
23716 function style to match POSIX. Drop ksh vim mode setting.
23718 * manual/time.texi (Specifying the Time Zone with TZ): Change
23719 Tuesday to Thursday.
23721 * debug/tst-longjmp_chk2.c: Update header comment.
23722 (stackoverflow_handler): Add comment. Call assert on pass value.
23724 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
23727 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23728 (HAVE_AVX512_ASM_SUPPORT): Likewise.
23729 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23730 (La_x86_64_vector): Add zmm.
23731 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23732 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23733 ($(objpfx)tst-audit10): New target.
23734 ($(objpfx)tst-audit10.out): Likewise.
23735 (tst-audit10-ENV): New.
23736 (AVX512-CFLAGS): Likewise.
23737 (CFLAGS-tst-audit10.c): Likewise.
23738 (CFLAGS-tst-auditmod10a.c): Likewise.
23739 (CFLAGS-tst-auditmod10b.c): Likewise.
23740 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23741 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23742 * sysdeps/x86_64/configure: Regenerated.
23743 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23744 AVX-512 zmm register support.
23745 (_dl_x86_64_save_sse): Likewise.
23746 (_dl_x86_64_restore_sse): Likewise.
23747 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23748 size vector registers.
23749 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23750 (ZMM_SIZE): Likewise.
23751 * sysdeps/x86_64/tst-audit10.c: New file.
23752 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23753 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23755 2014-03-13 Roland McGrath <roland@hack.frob.com>
23757 * configure.ac (HAVE_EHDR_START): New check.
23758 * configure: Regenerated.
23759 * config.h.in (HAVE_EHDR_START): New #undef.
23760 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23761 assuming the lowest-addressed segment maps the start of the file.
23763 2014-03-13 Joseph Myers <joseph@codesourcery.com>
23765 * INSTALL: Regenerated.
23767 2014-03-13 Will Newton <will.newton@linaro.org>
23769 * manual/setjmp.texi (System V contexts): Improve
23770 clarity and grammar of documentation.
23772 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23775 * elf/Makefile (tests): Add tst-pie2.
23776 (tests-pie): Add tst-pie2.
23777 * elf/tst-pie2.c: New file.
23778 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23780 * elf/rtld.c (map_doit): Load executable as lt_executable.
23781 (dl_main): Likewise.
23783 2014-03-12 Joseph Myers <joseph@codesourcery.com>
23786 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23787 (__ASSUME_PSELECT): Undefine.
23789 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23792 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23793 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23795 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23796 selector for static builds.
23798 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23801 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23804 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23806 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23807 IFUNC selector for static builds.
23809 2014-03-11 Joseph Myers <joseph@codesourcery.com>
23811 * sysdeps/mips/math_private.h [__mips_hard_float]
23812 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23813 libc_feresetround_mips_ctx.
23814 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23815 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23816 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23819 * math/s_nextafter.c (__nextafter): Do not return value from
23820 overflowing computation.
23821 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23822 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23823 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23825 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23827 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23828 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23830 2014-03-11 Roland McGrath <roland@hack.frob.com>
23832 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23833 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23834 Move sfi_sp use from the load-multiple (that no longer sets sp) to
23835 the new mov targetting sp.
23837 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23840 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23841 Define it for static builds as well.
23842 (NO_BZERO_IMPL): Likewise.
23844 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23846 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23847 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23848 multiarch strspn for PPC64.
23849 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23850 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23852 (__libc_ifunc_impl_list): Likewise.
23853 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23854 multiarch optimizations
23855 * string/strspn.c (strspn): Using macro to redefine symbol name.
23857 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23858 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23860 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23861 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23862 multiarch strncat for PPC64.
23863 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23864 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23865 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23866 (__libc_ifunc_impl_list): Likewise.
23867 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23868 multiarch optimizations
23870 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23873 * nscd/nscd.service: Make service type forking.
23875 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23877 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23878 sign in non default rounding modes.
23879 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23881 2014-03-08 Joseph Myers <joseph@codesourcery.com>
23883 * math/libm-test.inc (ALL_RM_TEST): New macro.
23884 (ceil_test): Use ALL_RM_TEST.
23885 (cimag_test): Likewise.
23886 (conj_test): Likewise.
23887 (copysign_test): Likewise.
23888 (cproj_test): Likewise.
23889 (creal_test): Likewise.
23890 (fabs_test): Likewise.
23891 (floor_test): Likewise.
23892 (fmax_test): Likewise.
23893 (fmin_test): Likewise.
23894 (fmod_test): Likewise.
23895 (fpclassify_test): Likewise.
23896 (frexp_test): Likewise.
23897 (ilogb_test): Likewise.
23898 (isfinite_test): Likewise.
23899 (finite_test): Likewise.
23900 (isgreater_test): Likewise.
23901 (isgreaterequal_test): Likewise.
23902 (isinf_test): Likewise.
23903 (isless_test): Likewise.
23904 (islessequal_test): Likewise.
23905 (islessgreater_test): Likewise.
23906 (isnan_test): Likewise.
23907 (isnormal_test): Likewise.
23908 (issignaling_test): Likewise.
23909 (isunordered_test): Likewise.
23910 (logb_test): Likewise.
23911 (logb_downward_test_data): Remove.
23912 (logb_test_downward): Likewise.
23913 (lround_test): Use ALL_RM_TEST.
23914 (llround_test): Likewise.
23915 (modf_test): Likewise.
23916 (nexttoward_test): Likewise.
23917 (remainder_test): Likewise.
23918 (drem_test): Likewise.
23919 (remainder_tonearest_test_data): Likewise.
23920 (remainder_test_tonearest): Likewise.
23921 (drem_test_tonearest): Likewise.
23922 (remainder_towardzero_test_data): Likewise.
23923 (remainder_test_towardzero): Likewise.
23924 (drem_test_towardzero): Likewise.
23925 (remainder_downward_test_data): Likewise.
23926 (remainder_test_downward): Likewise.
23927 (drem_test_downward): Likewise.
23928 (remainder_upward_test_data): Likewise.
23929 (remainder_test_upward): Likewise.
23930 (drem_test_upward): Likewise.
23931 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
23932 (round_test): Use ALL_RM_TEST.
23933 (signbit_test): Likewise.
23934 (trunc_test): Likewise.
23935 (significand_test): Likewise.
23936 (main): Don't call removed functions.
23938 2014-03-07 Joseph Myers <joseph@codesourcery.com>
23941 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23942 || __USE_XOPEN2K8].
23943 (ILL_ILLOPN): Likewise.
23944 (ILL_ILLADR): Likewise.
23945 (ILL_ILLTRP): Likewise.
23946 (ILL_PRVOPC): Likewise.
23947 (ILL_PRVREG): Likewise.
23948 (ILL_COPROC): Likewise.
23949 (ILL_BADSTK): Likewise.
23950 (FPE_INTDIV): Likewise.
23951 (FPE_INTOVF): Likewise.
23952 (FPE_FLTDIV): Likewise.
23953 (FPE_FLTOVF): Likewise.
23954 (FPE_FLTUND): Likewise.
23955 (FPE_FLTRES): Likewise.
23956 (FPE_FLTINV): Likewise.
23957 (FPE_FLTSUB): Likewise.
23958 (SEGV_MAPERR): Likewise.
23959 (SEGV_ACCERR): Likewise.
23960 (BUS_ADRALN): Likewise.
23961 (BUS_ADRERR): Likewise.
23962 (BUS_OBJERR): Likewise.
23963 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23964 (TRAP_TRACE): Likewise.
23965 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23967 (CLD_KILLED): Likewise.
23968 (CLD_DUMPED): Likewise.
23969 (CLD_TRAPPED): Likewise.
23970 (CLD_STOPPED): Likewise.
23971 (CLD_CONTINUED): Likewise.
23972 (POLL_IN): Likewise.
23973 (POLL_OUT): Likewise.
23974 (POLL_MSG): Likewise.
23975 (POLL_ERR): Likewise.
23976 (POLL_PRI): Likewise.
23977 (POLL_HUP): Likewise.
23978 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23980 (ILL_ILLOPN): Likewise.
23981 (ILL_ILLADR): Likewise.
23982 (ILL_ILLTRP): Likewise.
23983 (ILL_PRVOPC): Likewise.
23984 (ILL_PRVREG): Likewise.
23985 (ILL_COPROC): Likewise.
23986 (ILL_BADSTK): Likewise.
23987 (FPE_INTDIV): Likewise.
23988 (FPE_INTOVF): Likewise.
23989 (FPE_FLTDIV): Likewise.
23990 (FPE_FLTOVF): Likewise.
23991 (FPE_FLTUND): Likewise.
23992 (FPE_FLTRES): Likewise.
23993 (FPE_FLTINV): Likewise.
23994 (FPE_FLTSUB): Likewise.
23995 (SEGV_MAPERR): Likewise.
23996 (SEGV_ACCERR): Likewise.
23997 (BUS_ADRALN): Likewise.
23998 (BUS_ADRERR): Likewise.
23999 (BUS_OBJERR): Likewise.
24000 (BUS_MCEERR_AR): Likewise.
24001 (BUS_MCEERR_AO): Likewise.
24002 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24003 (TRAP_TRACE): Likewise.
24004 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24006 (CLD_KILLED): Likewise.
24007 (CLD_DUMPED): Likewise.
24008 (CLD_TRAPPED): Likewise.
24009 (CLD_STOPPED): Likewise.
24010 (CLD_CONTINUED): Likewise.
24011 (POLL_IN): Likewise.
24012 (POLL_OUT): Likewise.
24013 (POLL_MSG): Likewise.
24014 (POLL_ERR): Likewise.
24015 (POLL_PRI): Likewise.
24016 (POLL_HUP): Likewise.
24017 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24018 (ILL_ILLOPN): Likewise.
24019 (ILL_ILLADR): Likewise.
24020 (ILL_ILLTRP): Likewise.
24021 (ILL_PRVOPC): Likewise.
24022 (ILL_PRVREG): Likewise.
24023 (ILL_COPROC): Likewise.
24024 (ILL_BADSTK): Likewise.
24025 (FPE_INTDIV): Likewise.
24026 (FPE_INTOVF): Likewise.
24027 (FPE_FLTDIV): Likewise.
24028 (FPE_FLTOVF): Likewise.
24029 (FPE_FLTUND): Likewise.
24030 (FPE_FLTRES): Likewise.
24031 (FPE_FLTINV): Likewise.
24032 (FPE_FLTSUB): Likewise.
24033 (SEGV_MAPERR): Likewise.
24034 (SEGV_ACCERR): Likewise.
24035 (BUS_ADRALN): Likewise.
24036 (BUS_ADRERR): Likewise.
24037 (BUS_OBJERR): Likewise.
24038 (BUS_MCEERR_AR): Likewise.
24039 (BUS_MCEERR_AO): Likewise.
24040 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24041 (TRAP_TRACE): Likewise.
24042 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24044 (CLD_KILLED): Likewise.
24045 (CLD_DUMPED): Likewise.
24046 (CLD_TRAPPED): Likewise.
24047 (CLD_STOPPED): Likewise.
24048 (CLD_CONTINUED): Likewise.
24049 (POLL_IN): Likewise.
24050 (POLL_OUT): Likewise.
24051 (POLL_MSG): Likewise.
24052 (POLL_ERR): Likewise.
24053 (POLL_PRI): Likewise.
24054 (POLL_HUP): Likewise.
24055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24057 (ILL_ILLOPN): Likewise.
24058 (ILL_ILLADR): Likewise.
24059 (ILL_ILLTRP): Likewise.
24060 (ILL_PRVOPC): Likewise.
24061 (ILL_PRVREG): Likewise.
24062 (ILL_COPROC): Likewise.
24063 (ILL_BADSTK): Likewise.
24064 (ILL_BADIADDR): Likewise.
24065 (ILL_BREAK): Likewise.
24066 (FPE_INTDIV): Likewise.
24067 (FPE_INTOVF): Likewise.
24068 (FPE_FLTDIV): Likewise.
24069 (FPE_FLTOVF): Likewise.
24070 (FPE_FLTUND): Likewise.
24071 (FPE_FLTRES): Likewise.
24072 (FPE_FLTINV): Likewise.
24073 (FPE_FLTSUB): Likewise.
24074 (FPE_DECOVF): Likewise.
24075 (FPE_DECDIV): Likewise.
24076 (FPE_DECERR): Likewise.
24077 (FPE_INVASC): Likewise.
24078 (FPE_INVDEC): Likewise.
24079 (SEGV_MAPERR): Likewise.
24080 (SEGV_ACCERR): Likewise.
24081 (SEGV_PSTKOVF): Likewise.
24082 (BUS_ADRALN): Likewise.
24083 (BUS_ADRERR): Likewise.
24084 (BUS_OBJERR): Likewise.
24085 (BUS_MCEERR_AR): Likewise.
24086 (BUS_MCEERR_AO): Likewise.
24087 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24088 (TRAP_TRACE): Likewise.
24089 (TRAP_BRANCH): Likewise.
24090 (TRAP_HWBKPT): Likewise.
24091 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24093 (CLD_KILLED): Likewise.
24094 (CLD_DUMPED): Likewise.
24095 (CLD_TRAPPED): Likewise.
24096 (CLD_STOPPED): Likewise.
24097 (CLD_CONTINUED): Likewise.
24098 (POLL_IN): Likewise.
24099 (POLL_OUT): Likewise.
24100 (POLL_MSG): Likewise.
24101 (POLL_ERR): Likewise.
24102 (POLL_PRI): Likewise.
24103 (POLL_HUP): Likewise.
24104 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24105 (ILL_ILLOPN): Likewise.
24106 (ILL_ILLADR): Likewise.
24107 (ILL_ILLTRP): Likewise.
24108 (ILL_PRVOPC): Likewise.
24109 (ILL_PRVREG): Likewise.
24110 (ILL_COPROC): Likewise.
24111 (ILL_BADSTK): Likewise.
24112 (FPE_INTDIV): Likewise.
24113 (FPE_INTOVF): Likewise.
24114 (FPE_FLTDIV): Likewise.
24115 (FPE_FLTOVF): Likewise.
24116 (FPE_FLTUND): Likewise.
24117 (FPE_FLTRES): Likewise.
24118 (FPE_FLTINV): Likewise.
24119 (FPE_FLTSUB): Likewise.
24120 (SEGV_MAPERR): Likewise.
24121 (SEGV_ACCERR): Likewise.
24122 (BUS_ADRALN): Likewise.
24123 (BUS_ADRERR): Likewise.
24124 (BUS_OBJERR): Likewise.
24125 (BUS_MCEERR_AR): Likewise.
24126 (BUS_MCEERR_AO): Likewise.
24127 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24128 (TRAP_TRACE): Likewise.
24129 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24131 (CLD_KILLED): Likewise.
24132 (CLD_DUMPED): Likewise.
24133 (CLD_TRAPPED): Likewise.
24134 (CLD_STOPPED): Likewise.
24135 (CLD_CONTINUED): Likewise.
24136 (POLL_IN): Likewise.
24137 (POLL_OUT): Likewise.
24138 (POLL_MSG): Likewise.
24139 (POLL_ERR): Likewise.
24140 (POLL_PRI): Likewise.
24141 (POLL_HUP): Likewise.
24142 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24143 (ILL_ILLOPN): Likewise.
24144 (ILL_ILLADR): Likewise.
24145 (ILL_ILLTRP): Likewise.
24146 (ILL_PRVOPC): Likewise.
24147 (ILL_PRVREG): Likewise.
24148 (ILL_COPROC): Likewise.
24149 (ILL_BADSTK): Likewise.
24150 (FPE_INTDIV): Likewise.
24151 (FPE_INTOVF): Likewise.
24152 (FPE_FLTDIV): Likewise.
24153 (FPE_FLTOVF): Likewise.
24154 (FPE_FLTUND): Likewise.
24155 (FPE_FLTRES): Likewise.
24156 (FPE_FLTINV): Likewise.
24157 (FPE_FLTSUB): Likewise.
24158 (SEGV_MAPERR): Likewise.
24159 (SEGV_ACCERR): Likewise.
24160 (BUS_ADRALN): Likewise.
24161 (BUS_ADRERR): Likewise.
24162 (BUS_OBJERR): Likewise.
24163 (BUS_MCEERR_AR): Likewise.
24164 (BUS_MCEERR_AO): Likewise.
24165 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24166 (TRAP_TRACE): Likewise.
24167 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24169 (CLD_KILLED): Likewise.
24170 (CLD_DUMPED): Likewise.
24171 (CLD_TRAPPED): Likewise.
24172 (CLD_STOPPED): Likewise.
24173 (CLD_CONTINUED): Likewise.
24174 (POLL_IN): Likewise.
24175 (POLL_OUT): Likewise.
24176 (POLL_MSG): Likewise.
24177 (POLL_ERR): Likewise.
24178 (POLL_PRI): Likewise.
24179 (POLL_HUP): Likewise.
24180 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24181 (ILL_ILLOPN): Likewise.
24182 (ILL_ILLADR): Likewise.
24183 (ILL_ILLTRP): Likewise.
24184 (ILL_PRVOPC): Likewise.
24185 (ILL_PRVREG): Likewise.
24186 (ILL_COPROC): Likewise.
24187 (ILL_BADSTK): Likewise.
24188 (FPE_INTDIV): Likewise.
24189 (FPE_INTOVF): Likewise.
24190 (FPE_FLTDIV): Likewise.
24191 (FPE_FLTOVF): Likewise.
24192 (FPE_FLTUND): Likewise.
24193 (FPE_FLTRES): Likewise.
24194 (FPE_FLTINV): Likewise.
24195 (FPE_FLTSUB): Likewise.
24196 (SEGV_MAPERR): Likewise.
24197 (SEGV_ACCERR): Likewise.
24198 (BUS_ADRALN): Likewise.
24199 (BUS_ADRERR): Likewise.
24200 (BUS_OBJERR): Likewise.
24201 (BUS_MCEERR_AR): Likewise.
24202 (BUS_MCEERR_AO): Likewise.
24203 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24204 (TRAP_TRACE): Likewise.
24205 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24207 (CLD_KILLED): Likewise.
24208 (CLD_DUMPED): Likewise.
24209 (CLD_TRAPPED): Likewise.
24210 (CLD_STOPPED): Likewise.
24211 (CLD_CONTINUED): Likewise.
24212 (POLL_IN): Likewise.
24213 (POLL_OUT): Likewise.
24214 (POLL_MSG): Likewise.
24215 (POLL_ERR): Likewise.
24216 (POLL_PRI): Likewise.
24217 (POLL_HUP): Likewise.
24218 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24219 (ILL_ILLOPN): Likewise.
24220 (ILL_ILLADR): Likewise.
24221 (ILL_ILLTRP): Likewise.
24222 (ILL_PRVOPC): Likewise.
24223 (ILL_PRVREG): Likewise.
24224 (ILL_COPROC): Likewise.
24225 (ILL_BADSTK): Likewise.
24226 (ILL_DBLFLT): Likewise.
24227 (ILL_HARDWALL): Likewise.
24228 (FPE_INTDIV): Likewise.
24229 (FPE_INTOVF): Likewise.
24230 (FPE_FLTDIV): Likewise.
24231 (FPE_FLTOVF): Likewise.
24232 (FPE_FLTUND): Likewise.
24233 (FPE_FLTRES): Likewise.
24234 (FPE_FLTINV): Likewise.
24235 (FPE_FLTSUB): Likewise.
24236 (SEGV_MAPERR): Likewise.
24237 (SEGV_ACCERR): Likewise.
24238 (BUS_ADRALN): Likewise.
24239 (BUS_ADRERR): Likewise.
24240 (BUS_OBJERR): Likewise.
24241 (BUS_MCEERR_AR): Likewise.
24242 (BUS_MCEERR_AO): Likewise.
24243 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24244 (TRAP_TRACE): Likewise.
24245 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24247 (CLD_KILLED): Likewise.
24248 (CLD_DUMPED): Likewise.
24249 (CLD_TRAPPED): Likewise.
24250 (CLD_STOPPED): Likewise.
24251 (CLD_CONTINUED): Likewise.
24252 (POLL_IN): Likewise.
24253 (POLL_OUT): Likewise.
24254 (POLL_MSG): Likewise.
24255 (POLL_ERR): Likewise.
24256 (POLL_PRI): Likewise.
24257 (POLL_HUP): Likewise.
24258 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24259 (ILL_ILLOPN): Likewise.
24260 (ILL_ILLADR): Likewise.
24261 (ILL_ILLTRP): Likewise.
24262 (ILL_PRVOPC): Likewise.
24263 (ILL_PRVREG): Likewise.
24264 (ILL_COPROC): Likewise.
24265 (ILL_BADSTK): Likewise.
24266 (FPE_INTDIV): Likewise.
24267 (FPE_INTOVF): Likewise.
24268 (FPE_FLTDIV): Likewise.
24269 (FPE_FLTOVF): Likewise.
24270 (FPE_FLTUND): Likewise.
24271 (FPE_FLTRES): Likewise.
24272 (FPE_FLTINV): Likewise.
24273 (FPE_FLTSUB): Likewise.
24274 (SEGV_MAPERR): Likewise.
24275 (SEGV_ACCERR): Likewise.
24276 (BUS_ADRALN): Likewise.
24277 (BUS_ADRERR): Likewise.
24278 (BUS_OBJERR): Likewise.
24279 (BUS_MCEERR_AR): Likewise.
24280 (BUS_MCEERR_AO): Likewise.
24281 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24282 (TRAP_TRACE): Likewise.
24283 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24285 (CLD_KILLED): Likewise.
24286 (CLD_DUMPED): Likewise.
24287 (CLD_TRAPPED): Likewise.
24288 (CLD_STOPPED): Likewise.
24289 (CLD_CONTINUED): Likewise.
24290 (POLL_IN): Likewise.
24291 (POLL_OUT): Likewise.
24292 (POLL_MSG): Likewise.
24293 (POLL_ERR): Likewise.
24294 (POLL_PRI): Likewise.
24295 (POLL_HUP): Likewise.
24296 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24297 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24300 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24301 before #include of <time.h>.
24302 [!__USE_XOPEN2K] (__need_timespec): Likewise.
24303 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24304 (test-xfail-UNIX98/sched.h/conform): Likewise.
24306 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
24308 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24309 error absence of trapping exception support.
24310 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24312 2014-03-07 Joseph Myers <joseph@codesourcery.com>
24314 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24315 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24316 * timezone/Makefile (testdata): Move definition above include of
24318 (test-zones): New variable.
24319 (tests-special): Add zone files.
24320 (build-testdata): Use $(evaluate-test).
24322 * elf/Makefile (tests-special): Rename tests to end with .out.
24323 ($(objpfx)noload-mem): Likewise.
24324 ($(objpfx)tst-leaks1-mem): Likewise.
24325 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24326 * iconv/Makefile (xtests-special): Change test-iconvconfig to
24327 $(objpfx)test-iconvconfig.out.
24328 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
24329 set -e inside subshell and redirect output to file.
24330 * iconvdata/Makefile (generated): Rename tests to end with .out.
24332 (tests-special): Rename tests to end with .out.
24333 ($(objpfx)mtrace-tst-loading): Likewise.
24334 * intl/Makefile (generated): Likewise.
24335 (tests-special): Likewise.
24336 ($(objpfx)mtrace-tst-gettext): Likewise.
24337 * misc/Makefile (generated): Likewise.
24338 (tests-special): Likewise.
24339 ($(objpfx)tst-error1-mem): Likewise.
24340 * nptl/Makefile (tests-special): Likewise.
24341 ($(objpfx)tst-stack3-mem): Likewise.
24342 (generated): Likewise.
24343 * posix/Makefile (generated): Likewise.
24344 (tests-special): Likewise.
24345 (xtests-special): Likewise.
24346 ($(objpfx)tst-fnmatch-mem): Likewise.
24347 ($(objpfx)bug-regex2-mem): Likewise.
24348 ($(objpfx)bug-regex14-mem): Likewise.
24349 ($(objpfx)bug-regex21-mem): Likewise.
24350 ($(objpfx)bug-regex31-mem): Likewise.
24351 ($(objpfx)tst-vfork3-mem): Likewise.
24352 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24353 ($(objpfx)tst-pcre-mem): Likewise.
24354 ($(objpfx)tst-boost-mem): Likewise.
24355 ($(objpfx)bug-ga2-mem): Likewise.
24356 ($(objpfx)bug-glob2-mem): Likewise.
24357 * resolv/Makefile (generate): Likewise.
24358 (tests-special): Likewise.
24359 (xtests-special): Likewise.
24360 (generated): Likewise.
24361 ($(objpfx)mtrace-tst-leaks): Likewise.
24362 ($(objpfx)mtrace-tst-leaks2): Likewise.
24364 * scripts/merge-test-results.sh: New file.
24365 * Makefile (tests-special-notdir): New variable.
24366 (tests): Run merge-test-results.sh.
24367 (xtests): Likewise.
24368 * Rules (tests-special-notdir): New variable.
24369 (xtests-special-notdir): Likewise.
24370 (tests): Run merge-test-results.sh
24371 (xtests): Likewise.
24373 * Makeconfig (test-xfail-name): New variable.
24374 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24375 compute variable name for expected failures.
24376 * conform/Makefile (conformtest-headers-data): New variable.
24377 (conformtest-standards): Likewise.
24378 (conformtest-headers-ISO): Likewise.
24379 (conformtest-headers-ISO99): Likewise.
24380 (conformtest-headers-ISO11): Likewise.
24381 (conformtest-headers-POSIX): Likewise.
24382 (conformtest-headers-XPG3): Likewise.
24383 (conformtest-headers-XPG4): Likewise.
24384 (conformtest-headers-UNIX98): Likewise.
24385 (conformtest-headers-XOPEN2K): Likewise.
24386 (conformtest-headers-POSIX2008): Likewise.
24387 (conformtest-headers-XOPEN2K8): Likewise.
24388 (conformtest-header-list-base): Likewise.
24389 (conformtest-header-list-tests): Likewise.
24390 (conformtest-header-base): Likewise.
24391 (conformtest-header-tests): Likewise.
24392 (tests-special): Add $(conformtest-header-list-tests). If
24393 [$(fast-check) && !$(cross-compiling)], add
24394 $(conformtest-header-tests) instead of
24395 $(objpfx)run-conformtest.out.
24396 (generated): Add $(conformtest-header-list-base). If
24397 [$(fast-check) && !$(cross-compiling)], add
24398 $(conformtest-header-base). Remove previous setting.
24399 ($(conformtest-header-list-tests)): New target.
24400 (test-xfail-run-conformtest): Remove variable.
24401 ($(objpfx)run-conformtest.out): Remove target.
24402 (test-xfail-ISO11/complex.h/conform): New variable.
24403 (test-xfail-ISO11/stdalign.h/conform): Likewise.
24404 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24405 (test-xfail-XPG3/varargs.h/conform): Likewise.
24406 (test-xfail-XPG4/varargs.h/conform): Likewise.
24407 (test-xfail-UNIX98/varargs.h/conform): Likewise.
24408 (test-xfail-XPG4/ndbm.h/conform): Likewise.
24409 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24410 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24411 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24412 (test-xfail-XPG3/fcntl.h/conform): Likewise.
24413 (test-xfail-XPG3/ftw.h/conform): Likewise.
24414 (test-xfail-XPG3/grp.h/conform): Likewise.
24415 (test-xfail-XPG3/langinfo.h/conform): Likewise.
24416 (test-xfail-XPG3/limits.h/conform): Likewise.
24417 (test-xfail-XPG3/pwd.h/conform): Likewise.
24418 (test-xfail-XPG3/search.h/conform): Likewise.
24419 (test-xfail-XPG3/signal.h/conform): Likewise.
24420 (test-xfail-XPG3/stdio.h/conform): Likewise.
24421 (test-xfail-XPG3/stdlib.h/conform): Likewise.
24422 (test-xfail-XPG3/string.h/conform): Likewise.
24423 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24424 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24425 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24426 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24427 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24428 (test-xfail-XPG3/sys/types.h/conform): Likewise.
24429 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24430 (test-xfail-XPG3/termios.h/conform): Likewise.
24431 (test-xfail-XPG3/time.h/conform): Likewise.
24432 (test-xfail-XPG3/unistd.h/conform): Likewise.
24433 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24434 (test-xfail-XPG4/fcntl.h/conform): Likewise.
24435 (test-xfail-XPG4/langinfo.h/conform): Likewise.
24436 (test-xfail-XPG4/netdb.h/conform): Likewise.
24437 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24438 (test-xfail-XPG4/signal.h/conform): Likewise.
24439 (test-xfail-XPG4/stdio.h/conform): Likewise.
24440 (test-xfail-XPG4/stdlib.h/conform): Likewise.
24441 (test-xfail-XPG4/stropts.h/conform): Likewise.
24442 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24443 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24444 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24445 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24446 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24447 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24448 (test-xfail-XPG4/sys/time.h/conform): Likewise.
24449 (test-xfail-XPG4/sys/types.h/conform): Likewise.
24450 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24451 (test-xfail-XPG4/termios.h/conform): Likewise.
24452 (test-xfail-XPG4/ucontext.h/conform): Likewise.
24453 (test-xfail-XPG4/unistd.h/conform): Likewise.
24454 (test-xfail-XPG4/utmpx.h/conform): Likewise.
24455 (test-xfail-POSIX/sched.h/conform): Likewise.
24456 (test-xfail-POSIX/signal.h/conform): Likewise.
24457 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24458 (test-xfail-POSIX/tar.h/conform): Likewise.
24459 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24460 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24461 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24462 (test-xfail-UNIX98/netdb.h/conform): Likewise.
24463 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24464 (test-xfail-UNIX98/sched.h/conform): Likewise.
24465 (test-xfail-UNIX98/signal.h/conform): Likewise.
24466 (test-xfail-UNIX98/stdio.h/conform): Likewise.
24467 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24468 (test-xfail-UNIX98/stropts.h/conform): Likewise.
24469 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24470 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24471 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24472 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24473 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24474 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24475 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24476 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24477 (test-xfail-UNIX98/unistd.h/conform): Likewise.
24478 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24479 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24480 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24481 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24482 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24483 (test-xfail-XOPEN2K/math.h/conform): Likewise.
24484 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24485 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24486 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24487 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24488 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24489 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24490 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24491 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24492 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24493 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24494 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24495 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24496 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24497 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24498 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24499 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24500 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24501 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24502 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24503 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24504 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24505 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24506 (test-xfail-POSIX2008/signal.h/conform): Likewise.
24507 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24508 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24509 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24510 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24511 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24512 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24513 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24514 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24515 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24516 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24517 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24518 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24519 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24520 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24521 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24522 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24523 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24524 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24525 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24526 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24527 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24528 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24529 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24530 (conformtest-cc-flags): Likewise.
24531 ($(conformtest-header-tests): New target.
24532 * conform/check-header-lists.sh: New file.
24533 * conform/run-conformtest.sh: Remove.
24535 * conform/conformtest.pl: Allow ' and \ in values given for
24537 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24539 [POSIX] (sys/types.h): Likewise.
24540 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24542 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24544 * conform/data/signal.h-data (SIGIO): Remove expectation.
24545 [XPG3] (SIGBUS): Do not expect.
24546 [POSIX || XPG3] (SIGPOLL): Likewise.
24547 [POSIX || XPG3] (SIGPROF): Likewise.
24548 [POSIX || XPG3] (SIGSYS): Likewise.
24549 [XPG3] (SIGTRAP): Likewise.
24550 [POSIX || XPG3] (SIGURG): Likewise.
24551 [POSIX || XPG3] (SIGVTALRM): Likewise.
24552 [POSIX || XPG3] (SIGXCPU): Likewise.
24553 [POSIX || XPG3] (SIGXFSZ): Likewise.
24554 [POSIX] (SA_SIGINFO): Expect.
24555 [XPG3] (siginfo_t): Do not expect type or contents.
24556 [POSIX] (si_pid): Do not expect element.
24557 [POSIX] (si_uid): Likewise.
24558 [POSIX] (si_addr): Likewise.
24559 [POSIX] (si_status): Likewise.
24560 [POSIX] (si_band): Likewise.
24561 [XPG4] (si_value): Likewise.
24562 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24563 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24564 [POSIX || XPG3] (ILL_ILLADR): Likewise.
24565 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24566 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24567 [POSIX || XPG3] (ILL_PRVREG): Likewise.
24568 [POSIX || XPG3] (ILL_COPROC): Likewise.
24569 [POSIX || XPG3] (ILL_BADSTK): Likewise.
24570 [POSIX || XPG3] (FPE_INTDIV): Likewise.
24571 [POSIX || XPG3] (FPE_INTOVF): Likewise.
24572 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24573 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24574 [POSIX || XPG3] (FPE_FLTUND): Likewise.
24575 [POSIX || XPG3] (FPE_FLTRES): Likewise.
24576 [POSIX || XPG3] (FPE_FLTINV): Likewise.
24577 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24578 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24579 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24580 [POSIX || XPG3] (BUS_ADRALN): Likewise.
24581 [POSIX || XPG3] (BUS_ADRERR): Likewise.
24582 [POSIX || XPG3] (BUS_OBJERR): Likewise.
24583 [POSIX || XPG3] (CLD_EXITED): Likewise.
24584 [POSIX || XPG3] (CLD_KILLED): Likewise.
24585 [POSIX || XPG3] (CLD_DUMPED): Likewise.
24586 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24587 [POSIX || XPG3] (CLD_STOPPED): Likewise.
24588 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24589 [POSIX || XPG3] (POLL_IN): Likewise.
24590 [POSIX || XPG3] (POLL_OUT): Likewise.
24591 [POSIX || XPG3] (POLL_MSG): Likewise.
24592 [POSIX || XPG3] (POLL_ERR): Likewise.
24593 [POSIX || XPG3] (POLL_PRI): Likewise.
24594 [POSIX || XPG3] (POLL_HUP): Likewise.
24595 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24596 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24597 (SIG*): Do not allow.
24598 [XPG3] (si_*): Likewise.
24599 [XPG3] (SI_*): Likewise.
24600 [XPG3 || XPG4] (sigev_*): Likewise.
24601 [XPG3 || XPG4] (SIGEV_*): Likewise.
24602 [XPG3 || XPG4] (sival_*): Likewise.
24603 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24604 [POSIX || XPG3] (BUS_*): Likewise.
24605 [POSIX || XPG3] (CLD_*): Likewise.
24606 [POSIX || XPG3] (FPE_*): Likewise.
24607 [POSIX || XPG3] (ILL_*): Likewise.
24608 [POSIX || XPG3] (POLL_*): Likewise.
24609 [POSIX || XPG3] (SEGV_*): Likewise.
24610 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24611 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24612 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24613 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24614 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24615 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24616 Specify type and value.
24617 (TVERSLEN): Likewise.
24618 (REGTYPE): Likewise.
24619 (AREGTYPE): Likewise.
24620 (LNKTYPE): Likewise.
24621 (SYMTYPE): Likewise.
24622 (CHRTYPE): Likewise.
24623 (BLKTYPE): Likewise.
24624 (DIRTYPE): Likewise.
24625 (FIFOTYPE): Likewise.
24626 (CONTTYPE): Likewise.
24630 (TUREAD): Likewise.
24631 (TUWRITE): Likewise.
24632 (TUEXEC): Likewise.
24633 (TGREAD): Likewise.
24634 (TGWRITE): Likewise.
24635 (TGEXEC): Likewise.
24636 (TOREAD): Likewise.
24637 (TOWRITE): Likewise.
24638 (TOEXEC): Likewise.
24639 [POSIX] (TSVTX): Expect constant.
24641 2014-03-06 Joseph Myers <joseph@codesourcery.com>
24643 * Makefile (tests): Change dependencies to ....
24644 (tests-special): ... additions to this variable.
24645 (tests): Depend on $(tests-special).
24646 * Makerules (check-abi-list): New variable.
24647 (check-abi): Depend on $(check-abi-list).
24648 [$(subdir) = elf] (tests-special): Add
24649 $(objpfx)check-abi-libc.out.
24650 [$(build-shared) = yes && subdir] (tests-special): Add
24652 [$(build-shared) = yes && subdir] (tests): Do not depend on
24654 * Rules (tests): Depend on $(tests-special).
24655 (xtests): Depend on $(xtests-special).
24656 * catgets/Makefile (tests): Change dependencies to ....
24657 (tests-special): ... additions to this variable.
24658 * conform/Makefile (tests): Change dependencies to ....
24659 (tests-special): ... additions to this variable.
24660 * elf/Makefile (tests): Change dependencies to ....
24661 (tests-special): ... additions to this variable.
24662 * grp/Makefile (tests): Change dependencies to ....
24663 (tests-special): ... additions to this variable.
24664 * iconv/Makefile (xtests): Change dependencies to ....
24665 (xtests-special): ... additions to this variable.
24666 * iconvdata/Makefile (tests): Change dependencies to ....
24667 (tests-special): ... additions to this variable.
24668 * intl/Makefile (tests): Change dependencies to ....
24669 (tests-special): ... additions to this variable. Also add
24670 $(objpfx)tst-gettext.out.
24671 * io/Makefile (tests): Change dependencies to ....
24672 (tests-special): ... additions to this variable.
24673 * libio/Makefile (tests): Change dependencies to ....
24674 (tests-special): ... additions to this variable.
24675 * malloc/Makefile (tests): Change dependencies to ....
24676 (tests-special): ... additions to this variable.
24677 * misc/Makefile (tests): Change dependencies to ....
24678 (tests-special): ... additions to this variable.
24679 * nptl/Makefile (tests): Change dependencies to ....
24680 (tests-special): ... additions to this variable.
24681 * nptl_db/Makefile (tests): Change dependencies to ....
24682 (tests-special): ... additions to this variable.
24683 * posix/Makefile (tests): Change dependencies to ....
24684 (tests-special): ... additions to this variable.
24685 (xtests): Change dependencies to ....
24686 (xtests-special): ... additions to this variable.
24687 * resolv/Makefile (tests): Change dependencies to ....
24688 (tests-special): ... additions to this variable.
24689 (xtests): Change dependencies to ....
24690 (xtests-special): ... additions to this variable.
24691 * stdio-common/Makefile (tests): Change dependencies to ....
24692 (tests-special): ... additions to this variable.
24693 (do-tst-unbputc): Remove target.
24694 (do-tst-printf): Likewise.
24695 * stdlib/Makefile (tests): Change dependencies to ....
24696 (tests-special): ... additions to this variable.
24697 * string/Makefile (tests): Change dependencies to ....
24698 (tests-special): ... additions to this variable.
24699 * sysdeps/x86/Makefile (tests): Change dependencies to ....
24700 (tests-special): ... additions to this variable.
24702 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24704 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24706 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24707 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24709 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24710 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24711 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24712 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24713 * conform/data/libgen.h-data [XPG3]: Likewise.
24714 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24715 * conform/data/ndbm.h-data [XPG3]: Likewise.
24716 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24717 * conform/data/netdb.h-data [XPG3]: Likewise.
24718 * conform/data/netinet/in.h-data [XPG3]: Likewise.
24719 * conform/data/poll.h-data [XPG3]: Likewise.
24720 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24721 * conform/data/strings.h-data [XPG3]: Likewise.
24722 * conform/data/stropts.h-data [XPG3]: Likewise.
24723 * conform/data/sys/mman.h-data [XPG3]: Likewise.
24724 * conform/data/sys/resource.h-data [XPG3]: Likewise.
24725 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24727 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24728 * conform/data/sys/time.h-data [XPG3]: Likewise.
24729 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24730 * conform/data/sys/uio.h-data [XPG3]: Likewise.
24731 * conform/data/sys/un.h-data [XPG3]: Likewise.
24732 * conform/data/syslog.h-data [XPG3]: Likewise.
24733 * conform/data/ucontext.h-data [XPG3]: Likewise.
24734 * conform/data/utmpx.h-data [XPG3]: Likewise.
24735 * conform/data/varargs.h-data [UNIX98]: Enable file.
24737 * manual/Makefile (INSTALL_INFO): Remove variable setting.
24739 * math/libm-test.inc (struct test_f_f_data): Move expected results
24740 into structure for each rounding mode.
24741 (struct test_ff_f_data): Likewise.
24742 (struct test_ff_f_data_nexttoward): Likewise.
24743 (struct test_fi_f_data): Likewise.
24744 (struct test_fl_f_data): Likewise.
24745 (struct test_if_f_data): Likewise.
24746 (struct test_fff_f_data): Likewise.
24747 (struct test_c_f_data): Likewise.
24748 (struct test_f_f1_data): Likewise.
24749 (struct test_fF_f1_data): Likewise.
24750 (struct test_ffI_f1_data): Likewise.
24751 (struct test_c_c_data): Likewise.
24752 (struct test_cc_c_data): Likewise.
24753 (struct test_f_i_data): Likewise.
24754 (struct test_ff_i_data): Likewise.
24755 (struct test_f_l_data): Likewise.
24756 (struct test_f_L_data): Likewise.
24757 (struct test_fFF_11_data): Likewise.
24759 (RM_FE_DOWNWARD): Likewise.
24760 (RM_FE_TONEAREST): Likewise.
24761 (RM_FE_TOWARDZERO): Likewise.
24762 (RM_FE_UPWARD): Likewise.
24763 (RUN_TEST_LOOP_f_f): Update references to expected results.
24764 (RUN_TEST_LOOP_2_f): Likewise.
24765 (RUN_TEST_LOOP_fff_f): Likewise.
24766 (RUN_TEST_LOOP_c_f): Likewise.
24767 (RUN_TEST_LOOP_f_f1): Likewise.
24768 (RUN_TEST_LOOP_fF_f1): Likewise.
24769 (RUN_TEST_LOOP_fI_f1): Likewise.
24770 (RUN_TEST_LOOP_ffI_f1): Likewise.
24771 (RUN_TEST_LOOP_c_c): Likewise.
24772 (RUN_TEST_LOOP_cc_c): Likewise.
24773 (RUN_TEST_LOOP_f_i): Likewise.
24774 (RUN_TEST_LOOP_f_i_tg): Likewise.
24775 (RUN_TEST_LOOP_ff_i_tg): Likewise.
24776 (RUN_TEST_LOOP_f_b): Likewise.
24777 (RUN_TEST_LOOP_f_b_tg): Likewise.
24778 (RUN_TEST_LOOP_f_l): Likewise.
24779 (RUN_TEST_LOOP_f_L): Likewise.
24780 (RUN_TEST_LOOP_fFF_11): Likewise.
24781 * math/gen-libm-test.pl (parse_args): Output four copies of
24782 expected results for each test.
24784 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24785 (__ASSUME_UTIMES): Remove.
24786 * sysdeps/unix/sysv/linux/tile/kernel-features.h
24787 (__ASSUME_UTIMES): Likewise.
24789 * math/gen-auto-libm-tests.c: Update comment on output format.
24790 (output_for_one_input_case): Generate before-rounding and
24791 after-rounding information as conditions on output flags not
24792 floating-point format.
24793 * math/auto-libm-test-out: Regenerated.
24794 * math/gen-libm-test.pl (cond_value): New function.
24795 (or_cond_value): Use cond_value.
24796 (generate_testfile): Handle conditional exceptions.
24798 2014-03-05 Joseph Myers <joseph@codesourcery.com>
24800 * math/libm-test.inc (max_valid_error): New variable.
24801 (init_max_error): Take new argument specifying whether function
24802 results are exactly determined. Set max_valid_error and bound
24803 other variables for errors based on this argument.
24804 (set_max_error): Do not record results above max_valid_error.
24805 (check_float_internal): Only accept errors of up to 0.5ulps if
24806 also at most max_valid_error.
24807 (START): Take new argument EXACT and pass it to init_max_error.
24808 (acos_test): Update call to START.
24809 (acos_test_tonearest): Likewise.
24810 (acos_test_towardzero): Likewise.
24811 (acos_test_downward): Likewise.
24812 (acos_test_upward): Likewise.
24813 (acosh_test): Likewise.
24814 (asin_test): Likewise.
24815 (asin_test_tonearest): Likewise.
24816 (asin_test_towardzero): Likewise.
24817 (asin_test_downward): Likewise.
24818 (asin_test_upward): Likewise.
24819 (asinh_test): Likewise.
24820 (atan_test): Likewise.
24821 (atanh_test): Likewise.
24822 (atan2_test): Likewise.
24823 (cabs_test): Likewise.
24824 (cacos_test): Likewise.
24825 (cacosh_test): Likewise.
24826 (carg_test): Likewise.
24827 (casin_test): Likewise.
24828 (casinh_test): Likewise.
24829 (catan_test): Likewise.
24830 (catanh_test): Likewise.
24831 (cbrt_test): Likewise.
24832 (ccos_test): Likewise.
24833 (ccosh_test): Likewise.
24834 (ceil_test): Likewise.
24835 (cexp_test): Likewise.
24836 (cimag_test): Likewise.
24837 (clog_test): Likewise.
24838 (clog10_test): Likewise.
24839 (conj_test): Likewise.
24840 (copysign_test): Likewise.
24841 (cos_test): Likewise.
24842 (cos_test_tonearest): Likewise.
24843 (cos_test_towardzero): Likewise.
24844 (cos_test_downward): Likewise.
24845 (cos_test_upward): Likewise.
24846 (cosh_test): Likewise.
24847 (cosh_test_tonearest): Likewise.
24848 (cosh_test_towardzero): Likewise.
24849 (cosh_test_downward): Likewise.
24850 (cosh_test_upward): Likewise.
24851 (cpow_test): Likewise.
24852 (cproj_test): Likewise.
24853 (creal_test): Likewise.
24854 (csin_test): Likewise.
24855 (csinh_test): Likewise.
24856 (csqrt_test): Likewise.
24857 (ctan_test): Likewise.
24858 (ctan_test_tonearest): Likewise.
24859 (ctan_test_towardzero): Likewise.
24860 (ctan_test_downward): Likewise.
24861 (ctan_test_upward): Likewise.
24862 (ctanh_test): Likewise.
24863 (ctanh_test_tonearest): Likewise.
24864 (ctanh_test_towardzero): Likewise.
24865 (ctanh_test_downward): Likewise.
24866 (ctanh_test_upward): Likewise.
24867 (erf_test): Likewise.
24868 (erfc_test): Likewise.
24869 (exp_test): Likewise.
24870 (exp_test_tonearest): Likewise.
24871 (exp_test_towardzero): Likewise.
24872 (exp_test_downward): Likewise.
24873 (exp_test_upward): Likewise.
24874 (exp10_test): Likewise.
24875 (exp10_test_tonearest): Likewise.
24876 (exp10_test_towardzero): Likewise.
24877 (exp10_test_downward): Likewise.
24878 (exp10_test_upward): Likewise.
24879 (pow10_test): Likewise.
24880 (exp2_test): Likewise.
24881 (expm1_test): Likewise.
24882 (expm1_test_tonearest): Likewise.
24883 (expm1_test_towardzero): Likewise.
24884 (expm1_test_downward): Likewise.
24885 (expm1_test_upward): Likewise.
24886 (fabs_test): Likewise.
24887 (fdim_test): Likewise.
24888 (floor_test): Likewise.
24889 (fma_test): Likewise.
24890 (fma_test_towardzero): Likewise.
24891 (fma_test_downward): Likewise.
24892 (fma_test_upward): Likewise.
24893 (fmax_test): Likewise.
24894 (fmin_test): Likewise.
24895 (fmod_test): Likewise.
24896 (fpclassify_test): Likewise.
24897 (frexp_test): Likewise.
24898 (hypot_test): Likewise.
24899 (ilogb_test): Likewise.
24900 (isfinite_test): Likewise.
24901 (finite_test): Likewise.
24902 (isgreater_test): Likewise.
24903 (isgreaterequal_test): Likewise.
24904 (isinf_test): Likewise.
24905 (isless_test): Likewise.
24906 (islessequal_test): Likewise.
24907 (islessgreater_test): Likewise.
24908 (isnan_test): Likewise.
24909 (isnormal_test): Likewise.
24910 (issignaling_test): Likewise.
24911 (isunordered_test): Likewise.
24912 (j0_test): Likewise.
24913 (j1_test): Likewise.
24914 (jn_test): Likewise.
24915 (ldexp_test): Likewise.
24916 (lgamma_test): Likewise.
24917 (gamma_test): Likewise.
24918 (lrint_test): Likewise.
24919 (lrint_test_tonearest): Likewise.
24920 (lrint_test_towardzero): Likewise.
24921 (lrint_test_downward): Likewise.
24922 (lrint_test_upward): Likewise.
24923 (llrint_test): Likewise.
24924 (llrint_test_tonearest): Likewise.
24925 (llrint_test_towardzero): Likewise.
24926 (llrint_test_downward): Likewise.
24927 (llrint_test_upward): Likewise.
24928 (log_test): Likewise.
24929 (log10_test): Likewise.
24930 (log1p_test): Likewise.
24931 (log2_test): Likewise.
24932 (logb_test): Likewise.
24933 (logb_test_downward): Likewise.
24934 (lround_test): Likewise.
24935 (llround_test): Likewise.
24936 (modf_test): Likewise.
24937 (nearbyint_test): Likewise.
24938 (nextafter_test): Likewise.
24939 (nexttoward_test): Likewise.
24940 (pow_test): Likewise.
24941 (pow_test_tonearest): Likewise.
24942 (pow_test_towardzero): Likewise.
24943 (pow_test_downward): Likewise.
24944 (pow_test_upward): Likewise.
24945 (remainder_test): Likewise.
24946 (drem_test): Likewise.
24947 (remainder_test_tonearest): Likewise.
24948 (drem_test_tonearest): Likewise.
24949 (remainder_test_towardzero): Likewise.
24950 (drem_test_towardzero): Likewise.
24951 (remainder_test_downward): Likewise.
24952 (drem_test_downward): Likewise.
24953 (remainder_test_upward): Likewise.
24954 (drem_test_upward): Likewise.
24955 (remquo_test): Likewise.
24956 (rint_test): Likewise.
24957 (rint_test_tonearest): Likewise.
24958 (rint_test_towardzero): Likewise.
24959 (rint_test_downward): Likewise.
24960 (rint_test_upward): Likewise.
24961 (round_test): Likewise.
24962 (scalb_test): Likewise.
24963 (scalbn_test): Likewise.
24964 (scalbln_test): Likewise.
24965 (signbit_test): Likewise.
24966 (sin_test): Likewise.
24967 (sin_test_tonearest): Likewise.
24968 (sin_test_towardzero): Likewise.
24969 (sin_test_downward): Likewise.
24970 (sin_test_upward): Likewise.
24971 (sincos_test): Likewise.
24972 (sinh_test): Likewise.
24973 (sinh_test_tonearest): Likewise.
24974 (sinh_test_towardzero): Likewise.
24975 (sinh_test_downward): Likewise.
24976 (sinh_test_upward): Likewise.
24977 (sqrt_test): Likewise.
24978 (sqrt_test_tonearest): Likewise.
24979 (sqrt_test_towardzero): Likewise.
24980 (sqrt_test_downward): Likewise.
24981 (sqrt_test_upward): Likewise.
24982 (tan_test): Likewise.
24983 (tan_test_tonearest): Likewise.
24984 (tan_test_towardzero): Likewise.
24985 (tan_test_downward): Likewise.
24986 (tan_test_upward): Likewise.
24987 (tanh_test): Likewise.
24988 (tgamma_test): Likewise.
24989 (trunc_test): Likewise.
24990 (y0_test): Likewise.
24991 (y1_test): Likewise.
24992 (yn_test): Likewise.
24993 (significand_test): Likewise.
24995 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24996 individual tests in comment.
24997 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24998 (prev_max_error): New variable.
24999 (prev_real_max_error): Likewise.
25000 (prev_imag_max_error): Likewise.
25001 (compare_ulp_data): Don't refer to test names in comment.
25002 (find_test_ulps): Remove function.
25003 (find_function_ulps): Likewise.
25004 (find_complex_function_ulps): Likewise.
25005 (init_max_error): Take function name as argument. Look up ulps
25007 (print_ulps): Remove function.
25008 (print_max_error): Use prev_max_error instead of calling
25009 find_function_ulps.
25010 (print_complex_max_error): Use prev_real_max_error and
25011 prev_imag_max_error instead of calling find_complex_function_ulps.
25012 (check_float_internal): Take max_ulp parameter instead of calling
25013 find_test_ulps. Don't call print_ulps.
25014 (check_float): Update call to check_float_internal.
25015 (check_complex): Update calls to check_float_internal.
25016 (START): Pass argument to init_max_error.
25017 * math/gen-libm-test.pl (%results): Don't include "kind"
25019 (parse_ulps): Don't handle ulps of individual tests.
25020 (print_ulps_file): Likewise.
25021 (output_ulps): Likewise.
25022 * math/README.libm-test: Update.
25023 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25025 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25026 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25027 * sysdeps/arm/libm-test-ulps: Likewise.
25028 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25029 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25030 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25031 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25032 * sysdeps/microblaze/libm-test-ulps: Likewise.
25033 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25034 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25035 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25036 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25037 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25038 * sysdeps/sh/libm-test-ulps: Likewise.
25039 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25040 * sysdeps/tile/libm-test-ulps: Likewise.
25041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25043 2014-03-04 Joseph Myers <joseph@codesourcery.com>
25045 * math/libm-test.inc (print_complex_max_error): Check separately
25046 whether real and imaginary errors are within allowed range and
25047 pass 0 to print_complex_function_ulps instead of value within
25050 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25052 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25054 (get_handles_fopen): Likewise.
25055 (do_write_test): Likewise.
25057 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25059 * libio/fileops.c (do_ftell): Use cached offset when
25061 * libio/iofwide.c (do_ftell_wide): Likewise.
25062 * libio/iofdopen.c (_IO_new_fdopen): Don't use
25064 * libio/wfileops.c (_IO_fwide): Don't cache offset.
25067 * libio/libioP.h (get_file_offset): New function.
25068 * libio/fileops.c (get_file_offset): Likewise.
25069 (do_ftell): Likewise.
25070 (_IO_new_file_seekoff): Split out ftell logic.
25071 * libio/wfileops.c (do_ftell_wide): Likewise.
25072 (_IO_wfile_seekoff): Split out ftell logic.
25073 * libio/tst-ftell-active-handler.c: New test case.
25074 * libio/Makefile (tests): Add it.
25076 2014-03-03 Roland McGrath <roland@hack.frob.com>
25078 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25079 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25081 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25084 * nscd/connections.c (nscd_init): Call do_exit.
25085 (start_threads): Call do_exit and notify_parent.
25086 (begin_drop_privileges): Call do_exit.
25087 (finish_drop_privileges): Likewise.
25088 * nscd/selinux.c (preserve_capabilities): Likewise.
25089 (install_real_capabilities): Likewise.
25090 (nscd_selinux_enabled): Likewise.
25091 (avc_create_thread): Likewise.
25092 (avc_alloc_lock): Likewise.
25093 (nscd_avc_init): Likewise.
25094 * nscd/nscd.c (parent_fd): New static variable.
25095 (main): Create a pipe between parent and child processes.
25096 Skip closing parent_fd.
25097 (monitor_child): New function.
25098 (do_exit): Likewise.
25099 (notify_parent): Likewise.
25100 * nscd/nscd.h (notify_parent): Likewise.
25101 (do_exit): Likewise.
25103 2014-03-03 Carlos O'Donell <carlos@redhat.com>
25105 * malloc/malloc.c (__libc_calloc): Revert last change.
25107 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25109 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25111 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25113 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25117 (__libc_ifunc_impl_list): Likewise.
25118 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25119 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25120 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25121 * string/strrchr.c: Define STRRCHR.
25123 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
25125 * benchtest/bench-strtok.c (simple_strtok): Delete.
25126 (strtok_string): Use as benchmark.
25127 * string/strtok (STRTOK): New macro.
25129 2014-02-28 Carlos O'Donell <carlos@redhat.com>
25131 * manual/threads.texi: Add header and standard comments to all
25134 * elf/dl-lookup.c (check_match): New function.
25135 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25136 (do_lookup_x): Remove nested function check_match. Use non-nested
25137 function check_match.
25139 2014-02-28 Roland McGrath <roland@hack.frob.com>
25141 * csu/Makefile (generated, before-compile): Use += rather than =.
25142 * catgets/Makefile (generated, generated-dirs): Likewise.
25143 * debug/Makefile (generated): Likewise.
25144 * dlfcn/Makefile (generated): Likewise.
25145 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25146 * iconvdata/Makefile (before-compile, generated): Likewise.
25147 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25148 * libio/Makefile (generated): Likewise.
25149 * malloc/Makefile (generated): Likewise.
25150 * manual/Makefile (generated, generated-dirs): Likewise.
25151 * misc/Makefile (generated): Likewise.
25152 * posix/Makefile (generated): Likewise.
25153 * resolv/Makefile (generated): Likewise.
25154 * sunrpc/Makefile (generated, generated-dirs): Likewise.
25155 * timezone/Makefile (generated, generated-dirs): Likewise.
25157 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25159 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25161 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25162 power8 implementation.
25163 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25164 file: POWER8 llround ifunc implementation.
25165 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25166 (__lllround): Add POWER8 implementation.
25167 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25168 POWER8 llround implementation.
25170 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25171 power8 implementation.
25172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25173 file: POWER8 llrint ifunc implementation.
25174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25175 Add POWER8 implementation.
25176 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25177 POWER8 llrint implementation.
25179 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25180 power8 implementation.
25181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25182 file: POWER8 finite ifunc implementation.
25183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25184 Add POWER8 implementation.
25185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25187 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25188 POWER8 finite implementation.
25189 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25191 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25192 power8 implementation.
25193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25194 file: POWER8 isinf ifunc implementation.
25195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25196 POWER8 implementation.
25197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25199 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25200 isinf implementation.
25201 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25203 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25204 (INIT_ARCH): Add hwcap2 initialization.
25205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25206 power8 implementation.
25207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25208 file: POWER8 isnan ifunc implementation.
25209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25210 POWER8 implementation.
25211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25213 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25214 isnan implementation.
25215 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25217 2014-02-27 Joey Ye <joey.ye@arm.com>
25219 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25220 (_FP_NANFRAC_Q): Set to zero.
25222 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
25225 * math/auto-libm-test-in: New test inputs.
25226 * math/auto-libm-test-out: Regenerate.
25227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25230 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25232 2014-02-27 Joseph Myers <joseph@codesourcery.com>
25234 * scripts/evaluate-test.sh: Take new argument indicating whether
25235 failure is expected.
25236 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25237 indicating whether failure is expected.
25238 * conform/Makefile (test-xfail-run-conformtest): New variable.
25239 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25241 * posix/Makefile (test-xfail-annexc): New variable.
25242 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25244 2014-02-26 Joseph Myers <joseph@codesourcery.com>
25246 * argp/Makefile: Include Makeconfig immediately after defining
25248 * assert/Makefile: Likewise.
25249 * benchtests/Makefile: Likewise.
25250 * catgets/Makefile: Likewise.
25251 * conform/Makefile: Likewise.
25252 * crypt/Makefile: Likewise.
25253 * csu/Makefile: Likewise.
25254 (all): Remove target.
25255 * ctype/Makefile: Include Makeconfig immediately after defining
25257 * debug/Makefile: Likewise.
25258 * dirent/Makefile: Likewise.
25259 * dlfcn/Makefile: Likewise.
25260 * gmon/Makefile: Likewise.
25261 * gnulib/Makefile: Likewise.
25262 * grp/Makefile: Likewise.
25263 * gshadow/Makefile: Likewise.
25264 * hesiod/Makefile: Likewise.
25265 * hurd/Makefile: Likewise.
25266 (all): Remove target.
25267 * iconvdata/Makefile: Include Makeconfig immediately after
25269 * inet/Makefile: Likewise.
25270 * intl/Makefile: Likewise.
25271 * io/Makefile: Likewise.
25272 * libio/Makefile: Likewise.
25273 (all): Remove target.
25274 * locale/Makefile: Include Makeconfig immediately after defining
25276 * login/Makefile: Likewise.
25277 * mach/Makefile: Likewise.
25278 (all): Remove target.
25279 * malloc/Makefile: Include Makeconfig immediately after defining
25281 (all): Remove target.
25282 * manual/Makefile: Include Makeconfig immediately after defining
25284 * math/Makefile: Likewise.
25285 * misc/Makefile: Likewise.
25286 * nis/Makefile: Likewise.
25287 * nss/Makefile: Likewise.
25288 * po/Makefile: Likewise.
25289 (all): Remove target.
25290 * posix/Makefile: Include Makeconfig immediately after defining
25292 * pwd/Makefile: Likewise.
25293 * resolv/Makefile: Likewise.
25294 * resource/Makefile: Likewise.
25295 * rt/Makefile: Likewise.
25296 * setjmp/Makefile: Likewise.
25297 * shadow/Makefile: Likewise.
25298 * signal/Makefile: Likewise.
25299 * socket/Makefile: Likewise.
25300 * soft-fp/Makefile: Likewise.
25301 * stdio-common/Makefile: Likewise.
25302 * stdlib/Makefile: Likewise.
25303 * streams/Makefile: Likewise.
25304 * string/Makefile: Likewise.
25305 * sunrpc/Makefile: Likewise.
25306 (all): Remove target.
25307 * sysvipc/Makefile: Include Makeconfig immediately after defining
25309 * termios/Makefile: Likewise.
25310 * time/Makefile: Likewise.
25311 * timezone/Makefile: Likewise.
25312 (all): Remove target.
25313 * wcsmbs/Makefile: Include Makeconfig immediately after defining
25315 * wctype/Makefile: Likewise.
25317 2014-02-26 Steve Ellcey <sellcey@mips.com>
25319 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25320 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25321 (libc_feholdexcept_setround_mips): Ditto.
25322 (libc_feholdsetround): New.
25323 (libc_feholdsetroundf): New.
25324 (libc_feholdsetroundl): New.
25325 (libc_feupdateenv_test_mips): New.
25326 (libc_feupdateenv_test): New.
25327 (libc_feupdateenv_testf): New.
25328 (libc_feupdateenv_testl): New.
25329 (libc_feresetround): New.
25330 (libc_feresetroundf): New.
25331 (libc_feresetroundl): New.
25332 (libc_fetestexcept_mips): New.
25333 (libc_fetestexcept): New.
25334 (libc_fetestexceptf): New.
25335 (libc_fetestexceptl): New.
25336 (HAVE_RM_CTX): New.
25337 (libc_feholdexcept_setround_mips_ctx): New.
25338 (libc_feholdexcept_setround_ctx): New.
25339 (libc_feholdexcept_setroundf_ctx): New.
25340 (libc_feholdexcept_setroundl_ctx): New.
25341 (libc_fesetenv_mips_ctx): New.
25342 (libc_fesetenv_ctx): New.
25343 (libc_fesetenv_ctxf): New.
25344 (libc_fesetenv_ctxl): New.
25345 (libc_feupdateenv_mips_ctx): New.
25346 (libc_feupdateenv_ctx): New.
25347 (libc_feupdateenvf_ctx): New.
25348 (libc_feupdateenvl_ctx): New.
25349 (libc_feholdsetround_mips_ctx): New.
25350 (libc_feholdsetround_ctx): New.
25351 (libc_feholdsetroundf_ctx): New.
25352 (libc_feholdsetroundl_ctx): New.
25353 (libc_feresetround_mips_ctx): New.
25354 (libc_feresetround_ctx): New.
25355 (libc_feresetroundf_ctx): New.
25356 (libc_feresetroundl_ctx): New.
25358 2014-02-26 Carlos O'Donell <carlos@redhat.com>
25360 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25362 * manual/ipc.texi: New file.
25363 * manual/Makefile (chapters): Add ipc.
25364 * manual/job.texi: Add "Inter-Process Communication" to next.
25365 * manual/process.texi: Add "Inter-Process Communication" to prev.
25367 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25371 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
25373 * malloc/malloc.c (__libc_calloc): Simplify implementation.
25375 * manual/arith.texi: Fix spaces after sentences.
25376 * manual/charset.texi: Likewise.
25377 * manual/errno.texi: Likewise.
25378 * manual/install.texi: Likewise.
25379 * manual/llio.texi: Likewise.
25380 * manual/locale.texi: Likewise.
25381 * manual/maint.texi: Likewise.
25382 * manual/math.texi: Likewise.
25383 * manual/memory.texi: Likewise.
25384 * manual/message.texi: Likewise.
25385 * manual/probes.texi: Likewise.
25386 * manual/resource.texi: Likewise.
25387 * manual/signal.texi: Likewise.
25388 * manual/socket.texi: Likewise.
25389 * manual/stdio.texi: Likewise.
25390 * manual/string.texi: Likewise.
25391 * manual/time.texi: Likewise.
25392 * manual/users.texi: Likewise.
25394 2014-02-25 Carlos O'Donell <carlos@redhat.com>
25397 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25398 _DEFAULT_SOURCE is defined.
25400 2014-02-25 Ulrich Drepper <drepper@gmail.com>
25401 Carlos O'Donell <carlos@redhat.com>
25404 * elf/dl-tls.c (_dl_count_modids): New function.
25405 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25406 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25407 audit library and increment generation counter.
25408 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25409 * elf/tst-audit9.c: New file.
25410 * elf/tst-auditmod9a.c: New file.
25411 * elf/tst-auditmod9b.c: New file.
25412 * elf/Makefile: Add rules to build and run tst-audit9.
25414 2014-02-25 Florian Weimer <fweimer@redhat.com>
25417 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25419 2014-02-25 Will Newton <will.newton@linaro.org>
25421 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25422 (__longjmp): Restore sp and lr before restoring callee
25423 saved registers. Add longjmp and longjmp_target
25424 SystemTap probe point.
25425 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25426 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25427 Define to zero to match jmpbuf layout.
25428 * sysdeps/arm/setjmp.S: Include stap-probe.h.
25429 (__sigsetjmp): Save sp and lr before saving callee
25430 saved registers. Add setjmp SystemTap probe point.
25432 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
25434 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25436 2014-02-24 Andreas Schwab <schwab@suse.de>
25439 * elf/pldd.c (wait_for_ptrace_stop): New function.
25440 (main): Call it after attaching.
25442 2014-02-22 Roland McGrath <roland@hack.frob.com>
25444 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25445 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25446 Versions files is now verboten.
25447 * hurd/Versions (libc: GLIBC_2.0):
25448 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25449 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25450 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25451 * mach/Versions: Likewise.
25453 * csu/Versions: Remove unused %include.
25454 * resolv/Versions: Likewise.
25456 2014-02-21 Joseph Myers <joseph@codesourcery.com>
25458 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25459 ($(objpfx)check-local-headers.out): Likewise.
25460 ($(objpfx)begin-end-check.out): Likewise.
25461 * Makerules (check-abi-%.out): Likewise.
25462 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25463 ($(objpfx)test2.cat): Likewise.
25464 ($(objpfx)de/libc.cat): Likewise.
25465 ($(objpfx)test-gencat.out): Likewise.
25466 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25467 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25468 ($(objpfx)noload-mem): Likewise.
25469 ($(objpfx)tst-pathopt.out): Likewise.
25470 ($(objpfx)tst-rtld-load-self.out): Likewise.
25471 ($(objpfx)tst-array1-cmp.out): Likewise.
25472 ($(objpfx)tst-array1-static-cmp.out): Likewise.
25473 ($(objpfx)tst-array2-cmp.out): Likewise.
25474 ($(objpfx)tst-array3-cmp.out): Likewise.
25475 ($(objpfx)tst-array4-cmp.out): Likewise.
25476 ($(objpfx)tst-array5-cmp.out): Likewise.
25477 ($(objpfx)tst-array5-static-cmp.out): Likewise.
25478 ($(objpfx)check-textrel.out): Likewise.
25479 ($(objpfx)check-execstack.out): Likewise.
25480 ($(objpfx)check-localplt.out): Likewise.
25481 ($(objpfx)order2-cmp.out): Likewise.
25482 ($(objpfx)tst-leaks1-mem): Likewise.
25483 ($(objpfx)tst-leaks1-static-mem): Likewise.
25484 ($(objpfx)tst-initorder-cmp.out): Likewise.
25485 ($(objpfx)tst-initorder2-cmp.out): Likewise.
25486 ($(objpfx)tst-unused-dep.out): Likewise.
25487 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25488 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25489 * iconv/Makefile (test-iconvconfig): Likewise.
25490 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25491 ($(objpfx)iconv-test.out): Likewise.
25492 ($(objpfx)tst-tables.out): Likewise.
25493 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25494 ($(objpfx)tst-gettext.out): Likewise.
25495 ($(objpfx)tst-translit.out): Likewise.
25496 ($(objpfx)tst-gettext2.out): Likewise.
25497 ($(objpfx)tst-gettext4.out): Likewise.
25498 ($(objpfx)tst-gettext6.out): Likewise.
25499 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25500 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25501 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25502 ($(objpfx)tst-fopenloc-mem.out): Likewise.
25503 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25504 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25505 * posix/Makefile ($(objpfx)globtest.out): Likewise.
25506 ($(objpfx)wordexp-tst.out): Likewise.
25507 ($(objpfx)annexc.out): Likewise.
25508 ($(objpfx)tst-fnmatch-mem): Likewise.
25509 ($(objpfx)bug-regex2-mem): Likewise.
25510 ($(objpfx)bug-regex14-mem): Likewise.
25511 ($(objpfx)bug-regex21-mem): Likewise.
25512 ($(objpfx)bug-regex31-mem): Likewise.
25513 ($(objpfx)tst-vfork3-mem): Likewise.
25514 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25515 ($(objpfx)tst-pcre-mem): Likewise.
25516 ($(objpfx)tst-boost-mem): Likewise.
25517 ($(objpfx)tst-getconf.out): Likewise.
25518 ($(objpfx)bug-ga2-mem): Likewise.
25519 ($(objpfx)bug-glob2-mem): Likewise.
25520 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25521 ($(objpfx)mtrace-tst-leaks2): Likewise.
25522 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25523 ($(objpfx)tst-printf.out): Likewise.
25524 ($(objpfx)tst-setvbuf1.out): Likewise.
25525 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25526 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25527 ($(objpfx)tst-fmtmsg.out): Likewise.
25528 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25529 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25531 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25532 * bits/sigaction.h [__USE_MISC]: Likewise.
25533 * bits/waitstatus.h: Update #endif comments.
25534 * ctype/ctype.h: Likewise.
25535 * dirent/dirent.h: Likewise.
25536 [__USE_MISC]: Remove redundant conditionals.
25537 * grp/grp.h: Update #endif comments.
25538 [__USE_GNU]: Remove redundant conditionals.
25539 [__USE_MISC]: Likewise.
25540 * inet/netinet/in.h [__USE_GNU]: Likewise.
25541 * io/sys/stat.h [__USE_MISC]: Likewise.
25542 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25543 * libio/bits/stdio.h: Update #endif comments.
25544 [__USE_MISC]: Remove redundant conditionals.
25545 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25546 * libio/stdio.h: Update #endif comments.
25547 [__USE_MISC]: Remove redundant conditionals.
25548 * math/bits/math-finite.h [__USE_MISC]: Likewise.
25549 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25550 * math/math.h: Update #else and #endif comments.
25551 [__USE_MISC]: Remove redundant conditionals.
25552 * misc/sys/uio.h: Update #endif comments.
25553 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25554 * posix/glob.h [__USE_MISC]: Likewise.
25555 * posix/sys/types.h: Update #endif comments.
25556 [__USE_MISC]: Remove redundant conditionals.
25557 * posix/sys/wait.h: Update #endif comments.
25558 [__USE_MISC]: Remove redundant conditionals.
25559 * posix/unistd.h: Update #endif comments.
25560 [__USE_MISC]: Remove redundant conditionals.
25561 * pwd/pwd.h [__USE_GNU]: Likewise.
25562 [__USE_MISC]: Likewise.
25563 * resolv/netdb.h [__USE_GNU]: Likewise.
25564 * signal/signal.h: Update #endif comments.
25565 [__USE_MISC]: Remove redundant conditionals.
25566 * stdlib/stdlib.h: Update #else and #endif comments.
25567 [__USE_MISC]: Remove redundant conditionals.
25568 [__USE_GNU]: Likewise.
25569 * string/bits/string2.h [__USE_MISC]: Likewise.
25570 * string/string.h: Update #endif comments.
25571 [__USE_MISC]: Remove redundant conditionals.
25572 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25574 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25575 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25576 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25578 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25580 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25582 [__USE_MISC]: Remove redundant conditionals.
25583 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25584 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25585 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25586 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25587 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25589 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25590 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25592 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25593 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25595 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25597 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25598 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25600 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25602 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25603 * sysdeps/x86/bits/string.h: Update #endif comments.
25604 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25606 * time/sys/time.h: Update #endif comments.
25607 * time/time.h: Likewise.
25608 [__USE_MISC]: Remove redundant conditionals.
25610 2014-02-21 Yury Gribov <y.gribov@samsung.com>
25613 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25615 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
25617 * Versions.def (librt): Add GLIBC_2.17.
25619 2014-02-21 Adam Conrad <adconrad@0c3.net>
25621 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25622 synonym for _SYS_AUXV_H to allow direct inclusion.
25623 * sysdeps/sparc/bits/hwcap.h: Likewise.
25624 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25625 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25626 * sysdeps/sparc/sysdep.h: Likewise.
25628 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25630 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25632 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25634 * benchtests/bench-strrchr.c: Print length instead of position.
25636 2014-02-20 Joseph Myers <joseph@codesourcery.com>
25639 * sysdeps/unix/sysv/linux/kernel-features.h
25640 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25641 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25642 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25643 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25645 [__i386__ || __powerpc__ || __sh__ || __sparc__]
25646 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25647 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25648 (__ASSUME_SENDMMSG): Define instead of using previous
25649 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25650 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25651 (__ASSUME_SENDMMSG_SYSCALL): Define.
25652 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25653 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25655 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25656 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25658 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25659 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25661 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25662 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25663 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25664 [__ASSUME_SENDMMSG]: Change conditionals to
25665 [__ASSUME_SENDMMSG_SOCKETCALL].
25666 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25667 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25669 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25670 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25672 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25673 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25674 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25675 [!__ASSUME_SENDMMSG]: Change conditional to
25676 [!__ASSUME_SENDMMSG_SOCKETCALL].
25677 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25678 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25682 * sysdeps/unix/sysv/linux/kernel-features.h
25683 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25684 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25685 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25686 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25687 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25688 [__i386__ || __sparc__]
25689 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25690 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25691 (__ASSUME_RECVMMSG): Define instead of using previous
25692 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25693 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25694 (__ASSUME_RECVMMSG_SYSCALL): Define.
25695 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25696 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25698 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25699 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25701 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25702 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25704 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25705 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25706 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25707 [__ASSUME_RECVMMSG]: Change condition to
25708 [__ASSUME_RECVMMSG_SOCKETCALL].
25709 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25710 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25712 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25713 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25714 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25716 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25717 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25718 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25719 [!__ASSUME_RECVMMSG]: Change condition to
25720 [!__ASSUME_RECVMMSG_SOCKETCALL].
25721 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25722 (__ASSUME_RECVMMSG_SYSCALL): Define.
25725 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25726 __powerpc__ || __s390__ || __sh__ || __sparc__]
25727 (__ASSUME_SOCKETCALL): Define.
25728 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25729 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25730 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25731 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25732 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25733 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25734 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25735 (__ASSUME_ACCEPT4): Define instead of using previous
25736 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25737 __powerpc__ || __sparc__ || __s390__)] condition.
25738 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25739 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25740 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25741 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25742 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25743 [!__ASSUME_ACCEPT4]: Change condition to
25744 [!__ASSUME_ACCEPT4_SOCKETCALL].
25745 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25746 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
25747 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25748 * sysdeps/unix/sysv/linux/arm/kernel-features.h
25749 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25750 __ASSUME_ACCEPT4_SYSCALL.
25751 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25752 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25753 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25754 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25755 __ASSUME_ACCEPT4_SYSCALL.
25756 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25757 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25758 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25759 [__ASSUME_ACCEPT4]: Change condition to
25760 [__ASSUME_ACCEPT4_SOCKETCALL].
25761 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25762 (__ASSUME_SOCKETCALL): Define.
25763 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25764 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25765 (__ASSUME_SOCKETCALL): Define.
25766 (__ASSUME_ACCEPT4): Remove.
25767 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25769 * sysdeps/unix/sysv/linux/mips/kernel-features.h
25770 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25772 * sysdeps/unix/sysv/linux/tile/kernel-features.h
25773 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25775 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25777 (HWCAP_ARM_LPAE): Likewise.
25778 (HWCAP_ARM_EVTSTRM): Likewise.
25779 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25780 Add vpfd32, lpae and evtstrm.
25781 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25784 2014-02-19 Joseph Myers <joseph@codesourcery.com>
25786 * math/auto-libm-test-in: Add tests of clog10.
25787 * math/auto-libm-test-out: Regenerated.
25788 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25789 * sysdeps/i386/fpu/libm-test-ulps: Update.
25790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25792 2014-02-18 Andreas Schwab <schwab@suse.de>
25795 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25796 Store non-zero if the second buffer was newly allocated.
25797 (send_dg): Likewise.
25798 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25799 to send_vc and send_dg.
25800 (res_nsend): Pass NULL for ansp2_malloced.
25801 * resolv/res_query.c (__libc_res_nquery): Add parameter
25802 answerp2_malloced and pass it down to __libc_res_nsend.
25803 (res_nquery): Pass additional NULL to __libc_res_nquery.
25804 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25805 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
25806 second answer buffer if answerp2_malloced was set.
25807 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25808 (__libc_res_nquerydomain): Add parameter
25809 answerp2_malloced and pass it down to __libc_res_nquery.
25810 (res_nquerydomain): Pass additional NULL to
25811 __libc_res_nquerydomain.
25812 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25813 additional NULL to __libc_res_nsend and __libc_res_nquery.
25814 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25815 additional NULL to __libc_res_nsearch.
25816 (_nss_dns_gethostbyname4_r): Revert last change. Use new
25817 parameter of __libc_res_nsearch to check for separately allocated
25819 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25821 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25822 additional NULL to __libc_res_nquery.
25823 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25824 __libc_res_nsearch.
25825 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25826 * include/resolv.h: Update prototypes of __libc_res_nquery,
25827 __libc_res_nsearch, __libc_res_nsend.
25829 2014-02-18 Joseph Myers <joseph@codesourcery.com>
25831 * math/auto-libm-test-in: Add tests of fma.
25832 * math/auto-libm-test-out: Regenerated.
25833 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25834 (fma_towardzero_test_data): Likewise.
25835 (fma_downward_test_data): Likewise.
25836 (fma_upward_test_data): Likewise.
25837 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25839 (rounding_modes): Add values for new field.
25840 (func_calc_method): Add value mpfr_fff_f.
25841 (func_calc_desc): Add mpfr_fff_f union field.
25842 (test_function): Add field exact_args.
25843 (FUNC): Add macro argument EXACT_ARGS.
25844 (FUNC_mpfr_f_f): Update call to FUNC.
25845 (FUNC_mpfr_f_f): Likewise.
25846 (FUNC_mpfr_ff_f): Likewise.
25847 (FUNC_mpfr_if_f): Likewise.
25848 (FUNC_mpc_c_f): Likewise.
25849 (FUNC_mpc_c_c): Likewise.
25850 (test_functions): Add fma. Update calls to FUNC.
25851 (handle_input_arg): Add argument exact_args.
25852 (add_test): Update call to handle_input_arg.
25853 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
25854 (output_for_one_input_case): Update call to calc_generic_results.
25855 Recalculate exact zero results in each rounding mode.
25857 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25858 non-negative before setting low bit.
25859 * math/auto-libm-test-in: Mark one asin test possibly having
25860 spurious underflow.
25861 * math/auto-libm-test-out: Regenerated.
25862 * sysdeps/i386/fpu/libm-test-ulps: Update.
25863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25865 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
25867 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25868 * sysdeps/unix/sysv/linux/microblaze: Move directory from
25869 ports/sysdeps/unix/sysv/linux/microblaze.
25870 * README: Add missing listing for microblaze*-*-linux-gnu.
25872 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
25874 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25877 2014-02-16 Mike Frysinger <vapier@gentoo.org>
25879 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25880 * sysdeps/unix/sysv/linux/ia64: Move directory from
25881 ports/sysdeps/unix/sysv/linux/ia64.
25882 * README: Update listing for ia64-*-linux-gnu.
25884 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
25885 Joseph Myers <joseph@codesourcery.com>
25887 * Makeconfig (test-name): New variable.
25888 (evaluate-test): Likewise.
25889 * Makerules (do-test-clean): Remove .test-result files.
25890 (common-mostlyclean): Likewise.
25891 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25892 * scripts/evaluate-test.sh: New file.
25894 2014-02-14 Joseph Myers <joseph@codesourcery.com>
25896 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25897 separate $(objpfx)tst-fopenloc-cmp.out and
25898 $(objpfx)tst-fopenloc-mem.out targets.
25899 (tests): Update dependencies.
25900 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25901 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25902 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25903 (tst-rxspencer-no-utf8-ARGS): New variable.
25904 (tst-rxspencer-no-utf8-ENV): Likewise.
25905 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25906 instead of $(objpfx)tst-rxspencer-mem.
25907 ($(objpfx)tst-rxspencer-mem): Change target to
25908 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
25909 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25910 * posix/tst-rxspencer-no-utf8.c: New file.
25912 * elf/Makefile ($(objpfx)order.out): Remove rule.
25913 [$(run-built-tests) = yes] (tests): Depend on
25914 $(objpfx)order-cmp.out.
25915 ($(objpfx)order-cmp.out): New rule.
25916 [$(run-built-tests) = yes] (tests): Depend on
25917 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25918 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25919 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25920 $(objpfx)tst-array5-static-cmp.out.
25921 ($(objpfx)tst-array1.out): Remove rule.
25922 ($(objpfx)tst-array1-cmp.out): New rule.
25923 ($(objpfx)tst-array1-static.out): Remove rule.
25924 ($(objpfx)tst-array1-static-cmp.out): New rule.
25925 ($(objpfx)tst-array2.out): Remove rule.
25926 ($(objpfx)tst-array2-cmp.out): New rule.
25927 ($(objpfx)tst-array3.out): Remove rule.
25928 ($(objpfx)tst-array3-cmp.out): New rule.
25929 ($(objpfx)tst-array4.out): Remove rule.
25930 ($(objpfx)tst-array4-cmp.out): New rule.
25931 ($(objpfx)tst-array5.out): Remove rule.
25932 ($(objpfx)tst-array5-cmp.out): New rule.
25933 ($(objpfx)tst-array5-static.out): Remove rule.
25934 ($(objpfx)tst-array5-static-cmp.out): New rule.
25935 [$(run-built-tests) = yes] (tests): Depend on
25936 $(objpfx)order2-cmp.out.
25937 ($(objpfx)order2.out): Remove rule.
25938 ($(objpfx)order2-cmp.out): New rule.
25939 ($(objpfx)tst-initorder.out): Remove rule.
25940 [$(run-built-tests) = yes] (tests): Depend on
25941 $(objpfx)tst-initorder-cmp.out.
25942 ($(objpfx)tst-initorder-cmp.out): New rule.
25943 ($(objpfx)tst-initorder2.out): Remove rule.
25944 [$(run-built-tests) = yes] (tests): Depend on
25945 $(objpfx)tst-initorder2-cmp.out.
25946 ($(objpfx)tst-initorder2-cmp.out): New rule.
25947 [$(run-built-tests) = yes] (tests): Depend on
25948 $(objpfx)tst-unused-dep-cmp.out.
25949 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25950 ($(objpfx)tst-unused-dep-cmp.out): New rule.
25951 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25952 on $(objpfx)tst-setvbuf1-cmp.out.
25953 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25954 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25955 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25956 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25957 ($(objpfx)tst-svc.out): Remove rule.
25958 ($(objpfx)tst-svc-cmp.out): New rule.
25960 2014-02-13 Joseph Myers <joseph@codesourcery.com>
25962 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25963 * ctype/ctype.h [__USE_MISC]: Likewise.
25964 * dirent/dirent.h [__USE_MISC]: Likewise.
25965 * grp/grp.h [__USE_MISC]: Likewise.
25966 * io/fcntl.h [__USE_MISC]: Likewise.
25967 * io/sys/stat.h [__USE_MISC]: Likewise.
25968 * libio/stdio.h [__USE_MISC]: Likewise.
25969 * posix/unistd.h [__USE_MISC]: Likewise.
25970 * pwd/pwd.h [__USE_MISC]: Likewise.
25971 * stdlib.h [__USE_MISC]: Likewise.
25972 * string/bits/string2.h [__USE_MISC]: Likewise.
25973 * string/string.h [__USE_MISC]: Likewise.
25974 * time/time.h [__USE_MISC]: Likewise.
25976 2014-02-13 Andreas Schwab <schwab@suse.de>
25979 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25980 second answer buffer if it was separately allocated.
25982 2014-02-12 Joseph Myers <joseph@codesourcery.com>
25984 * sysdeps/mips/math-tests.h: Include <features.h>.
25985 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25986 (ROUNDING_TESTS_long_double): Do not define.
25987 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25988 (EXCEPTION_TESTS_long_double): Likewise.
25989 * sysdeps/mips/mips64/libm-test-ulps: Update.
25991 * include/features.h (__USE_BSD): Remove macro definitions.
25992 (__USE_SVID): Likewise.
25993 (_BSD_SOURCE): Likewise.
25994 (_SVID_SOURCE): Likewise.
25995 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25996 from definition of _DEFAULT_SOURCE.
25997 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25999 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26000 * bits/mman.h [__USE_BSD]: Likewise.
26001 * bits/termios.h [__USE_BSD]: Likewise.
26002 * bits/waitstatus.h [__USE_BSD]: Likewise.
26003 * ctype/ctype.h [__USE_SVID]: Likewise.
26004 * dirent/dirent.h [__USE_BSD]: Likewise.
26005 * grp/grp.h [__USE_SVID]: Likewise.
26006 [__USE_BSD]: Likewise.
26007 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26008 * io/fcntl.h [__USE_BSD]: Likewise.
26009 * io/ftw.h [__USE_BSD]: Likewise.
26010 * io/sys/stat.h [__USE_BSD]: Likewise.
26011 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26012 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26013 * libio/stdio.h [__USE_SVID]: Likewise.
26014 [__USE_BSD]: Likewise.
26015 * math/math.h [__USE_SVID]: Likewise.
26016 [__USE_BSD]: Likewise.
26017 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26018 * misc/bits/syslog.h [__USE_BSD]: Likewise.
26019 * misc/search.h [__USE_SVID]: Likewise.
26020 * misc/sys/mman.h [__USE_BSD]: Likewise.
26021 * misc/sys/syslog.h [__USE_BSD]: Likewise.
26022 * misc/sys/uio.h [__USE_BSD]: Likewise.
26023 * posix/bits/unistd.h [__USE_BSD]: Likewise.
26024 * posix/glob.h [__USE_BSD]: Likewise.
26025 * posix/regex.h [__USE_BSD]: Likewise.
26026 * posix/sys/types.h [__USE_BSD]: Likewise.
26027 [__USE_SVID]: Likewise.
26028 * posix/sys/utsname.h [__USE_SVID]: Likewise.
26029 * posix/sys/wait.h [__USE_BSD]: Likewise.
26030 [__USE_SVID]: Likewise.
26031 * posix/unistd.h [__USE_BSD]: Likewise.
26032 [__USE_SVID]: Likewise.
26033 * pwd/pwd.h [__USE_SVID]: Likewise.
26034 * resolv/netdb.h [__USE_BSD]: Likewise.
26035 * setjmp/setjmp.h [__USE_BSD]: Likewise.
26036 * signal/signal.h [__USE_BSD]: Likewise.
26037 [__USE_SVID]: Likewise.
26038 * socket/sys/socket.h [__USE_BSD]: Likewise.
26039 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26040 * stdlib/stdlib.h [__USE_BSD]: Likewise.
26041 [__USE_SVID]: Likewise.
26042 * string/bits/string2.h [__USE_BSD]: Likewise.
26043 [__USE_SVID]: Likewise.
26044 * string/bits/string3.h [__USE_BSD]: Likewise.
26045 * string/endian.h [__USE_BSD]: Likewise.
26046 * string/string.h [__USE_SVID]: Likewise.
26047 [__USE_BSD]: Likewise.
26048 * string/strings.h [__USE_BSD]: Likewise.
26049 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26050 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26051 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26052 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26053 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26054 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26056 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26058 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26059 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26061 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26062 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26064 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26066 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26067 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26068 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26070 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26072 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26073 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26074 * termios/termios.h [__USE_BSD]: Likewise.
26075 * time/sys/time.h [__USE_BSD]: Likewise.
26076 * time/time.h [__USE_BSD]: Likewise.
26077 [__USE_SVID]: Likewise.
26079 * Makefile (subdir_targets): Remove subdir_lint.out.
26081 * stdio-common/Makefile (do-tst-unbputc): Remove target.
26082 (do-tst-printf): Likewise.
26083 (tests): Depend directly on $(objpfx)tst-unbputc.out and
26084 $(objpfx)tst-printf.out.
26086 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26088 * Makerules (check-abi-%): Change target to
26089 $(objpfx)check-abi-%.out.
26090 (check-abi target): Update dependencies.
26091 (check-abi-pattern variable): Redirect output of diff to $@.
26092 (check-abi variable): Likewise.
26093 * elf/Makefile (check-abi): Update dependencies.
26095 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26097 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26098 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26100 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26101 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26102 value has largest subnormal exponent.
26103 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26104 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26105 * sysdeps/aarch64/soft-fp/sfp-machine.h
26106 (_FP_TININESS_AFTER_ROUNDING): New macro.
26107 * sysdeps/alpha/soft-fp/sfp-machine.h
26108 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26109 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26111 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26112 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26113 * sysdeps/mips/soft-fp/sfp-machine.h
26114 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26115 * sysdeps/powerpc/soft-fp/sfp-machine.h
26116 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26117 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26119 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26120 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26122 (_FP_TININESS_AFTER_ROUNDING): Likewise.
26123 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26126 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
26129 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26132 2014-02-12 Richard Henderson <rth@redhat.com>
26134 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26135 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26136 * sysdeps/unix/sysv/linux/alpha: Move directory from
26137 ports/sysdeps/unix/sysv/linux/alpha.
26138 * README: Update listing for alpha-*-linux-gnu.
26140 2014-02-11 Joseph Myers <joseph@codesourcery.com>
26142 * include/features.h: Update comment documenting feature test
26144 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
26146 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26147 (_SVID_SOURCE): Likewise.
26148 (_DEFAULT_SOURCE): Update description of default features.
26149 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26151 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26152 (S_ISVTX): Likewise.
26153 * manual/math.texi (Mathematical Constants): Likewise.
26154 * manual/signal.texi (Interrupted Primitives): Likewise.
26155 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26156 * math/test-matherr.c (_SVID_SOURCE): Do not define.
26157 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26158 Don't refer to _SVID_SOURCE in warning text.
26160 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26162 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26164 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26165 * sysdeps/mips/dl-lookup.c: Remove.
26166 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26168 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
26171 * math/auto-libm-test-in: Add testcase for expl.
26172 * math/auto-libm-test-out: Regenerate.
26173 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26174 calculation of unsafe.
26175 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26177 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
26179 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26180 * sysdeps/unix/sysv/linux/aarch64: Move directory from
26181 ports/sysdeps/unix/sysv/linux/aarch64.
26182 * README: Update listing for aarch64*-*-linux-gnu.
26184 2014-02-11 Will Newton <will.newton@linaro.org>
26186 * manual/probes.texi (Mathematical Function Probes): Use
26187 "triggered" instead of "hit".
26189 * manual/probes.texi (Internal Probes): Add documentation
26190 of setjmp, longjmp and longjmp_target probes.
26192 * include/stap-probe.h: Add comment about probe argument
26195 * malloc/mtrace.c (attribute_hidden): Remove unused macro
26196 definition. (tr_where, tr_freehook, tr_mallochook,
26197 tr_reallochook, tr_memalignhook): Use ANSI protoype.
26199 2014-02-11 David S. Miller <davem@davemloft.net>
26201 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26202 processing int_tests.
26204 2014-02-10 Joseph Myers <joseph@codesourcery.com>
26206 * sysdeps/mips: Move directory from ports/sysdeps/mips.
26207 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26208 * sysdeps/unix/sysv/linux/mips: Move directory from
26209 ports/sysdeps/unix/sysv/linux/mips.
26210 * README: Update listing for mips-*-linux-gnu and
26211 mips64-*-linux-gnu.
26213 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
26215 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26216 * sysdeps/unix/sysv/linux/m68k: Move directory from
26217 ports/sysdeps/unix/sysv/linux/m68k.
26218 * README: Update listing for m68k-*-linux-gnu.
26220 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
26222 * sysdeps/tile: Move directory from ports/sysdeps/tile.
26223 * sysdeps/unix/sysv/linux/generic: Move directory from
26224 ports/sysdeps/unix/sysv/linux/generic.
26225 * sysdeps/unix/sysv/linux/tile: Move directory from
26226 ports/sysdeps/unix/sysv/linux/tile.
26227 * README: Update listing for tile*-*-linux-gnu.
26229 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
26231 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26233 * benchtests/bench-memmem.c (simple_memmem): Likewise.
26234 * catgets/open_catalog.c (__open_catalog): Likewise.
26235 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26236 * debug/confstr_chk.c: Likewise.
26237 * debug/fread_chk.c (__fread_chk): Likewise.
26238 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26239 * debug/getgroups_chk.c: Likewise.
26240 * debug/mbsnrtowcs_chk.c: Likewise.
26241 * debug/mbsrtowcs_chk.c: Likewise.
26242 * debug/mbstowcs_chk.c: Likewise.
26243 * debug/memcpy_chk.c: Likewise.
26244 * debug/memmove_chk.c: Likewise.
26245 * debug/mempcpy_chk.c: Likewise.
26246 * debug/memset_chk.c: Likewise.
26247 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26248 * debug/strcat_chk.c (__strcat_chk): Likewise.
26249 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26250 * debug/strncat_chk.c (__strncat_chk): Likewise.
26251 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26252 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26253 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26254 * debug/wcpncpy_chk.c: Likewise.
26255 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26256 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26257 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26258 * debug/wcsncpy_chk.c: Likewise.
26259 * debug/wcsnrtombs_chk.c: Likewise.
26260 * debug/wcsrtombs_chk.c: Likewise.
26261 * debug/wcstombs_chk.c: Likewise.
26262 * debug/wmemcpy_chk.c: Likewise.
26263 * debug/wmemmove_chk.c: Likewise.
26264 * debug/wmempcpy_chk.c: Likewise.
26265 * debug/wmemset_chk.c: Likewise.
26266 * dirent/scandirat.c (SCANDIRAT): Likewise.
26267 * dlfcn/dladdr1.c (dladdr1): Likewise.
26268 * dlfcn/dladdr.c (dladdr): Likewise.
26269 * dlfcn/dlclose.c (dlclose_doit): Likewise.
26270 * dlfcn/dlerror.c (__dlerror): Likewise.
26271 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26272 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26273 * dlfcn/dlopen.c (dlopen_doit): Likewise.
26274 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26275 * dlfcn/dlsym.c (dlsym_doit): Likewise.
26276 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26277 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26278 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26280 * elf/dl-conflict.c: Likewise.
26281 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26282 * elf/dl-dst.h: Likewise.
26283 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26284 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26285 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26286 * elf/dl-init.c (call_init, _dl_init): Likewise.
26287 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26288 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26289 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26291 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26293 * elf/dl-minimal.c (__libc_memalign): Likewise.
26294 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26295 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26296 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26297 * elf/dl-sym.c (do_sym): Likewise.
26298 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26299 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26300 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26301 * elf/dl-writev.h (_dl_writev): Likewise.
26302 * elf/ldconfig.c (search_dir): Likewise.
26303 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26304 (dl_main): Likewise.
26305 * elf/setup-vdso.h (setup_vdso): Likewise.
26306 * grp/compat-initgroups.c (compat_call): Likewise.
26307 * grp/fgetgrent.c (fgetgrent): Likewise.
26308 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26309 * grp/putgrent.c (putgrent): Likewise.
26310 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26312 * hurd/hurdinit.c: Likewise.
26313 * iconvdata/8bit-gap.c (struct): Likewise.
26314 * iconvdata/ansi_x3.110.c : Likewise.
26315 * iconvdata/big5.c : Likewise.
26316 * iconvdata/big5hkscs.c : Likewise.
26317 * iconvdata/cp1255.c: Likewise.
26318 * iconvdata/cp1258.c : Likewise.
26319 * iconvdata/cp932.c : Likewise.
26320 * iconvdata/euc-cn.c: Likewise.
26321 * iconvdata/euc-jisx0213.c : Likewise.
26322 * iconvdata/euc-jp.c: Likewise.
26323 * iconvdata/euc-jp-ms.c : Likewise.
26324 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26325 * iconvdata/gb18030.c : Likewise.
26326 * iconvdata/gbbig5.c (const): Likewise.
26327 * iconvdata/gbgbk.c: Likewise.
26328 * iconvdata/gbk.c : Likewise.
26329 * iconvdata/ibm1364.c : Likewise.
26330 * iconvdata/ibm930.c : Likewise.
26331 * iconvdata/ibm932.c: Likewise.
26332 * iconvdata/ibm933.c : Likewise.
26333 * iconvdata/ibm935.c : Likewise.
26334 * iconvdata/ibm937.c : Likewise.
26335 * iconvdata/ibm939.c : Likewise.
26336 * iconvdata/ibm943.c: Likewise.
26337 * iconvdata/iso_11548-1.c: Likewise.
26338 * iconvdata/iso-2022-cn.c : Likewise.
26339 * iconvdata/iso-2022-cn-ext.c : Likewise.
26340 * iconvdata/iso-2022-jp-3.c: Likewise.
26341 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26342 * iconvdata/iso-2022-kr.c : Likewise.
26343 * iconvdata/iso646.c (gconv_end): Likewise.
26344 * iconvdata/iso_6937-2.c : Likewise.
26345 * iconvdata/iso_6937.c : Likewise.
26346 * iconvdata/iso8859-1.c: Likewise.
26347 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26348 * iconvdata/shift_jisx0213.c : Likewise.
26349 * iconvdata/sjis.c : Likewise.
26350 * iconvdata/t.61.c : Likewise.
26351 * iconvdata/tcvn5712-1.c : Likewise.
26352 * iconvdata/tscii.c: Likewise.
26353 * iconvdata/uhc.c : Likewise.
26354 * iconvdata/unicode.c (gconv_end): Likewise.
26355 * iconvdata/utf-16.c (gconv_end): Likewise.
26356 * iconvdata/utf-32.c (gconv_end): Likewise.
26357 * iconvdata/utf-7.c (base64): Likewise.
26358 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26359 * iconv/gconv_close.c (__gconv_close): Likewise.
26360 * iconv/gconv_open.c (__gconv_open): Likewise.
26361 * iconv/gconv_simple.c (internal_ucs4_loop_single)
26362 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26363 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26364 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26365 (ucs4le_internal_loop_single): Likewise.
26366 * iconv/iconv.c (iconv): Likewise.
26367 * iconv/iconv_close.c: Likewise.
26368 * iconv/loop.c (SINGLE): Likewise.
26369 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26370 * include/atomic.h: Likewise.
26371 * inet/inet6_option.c (option_alloc): Likewise.
26372 * intl/bindtextdom.c (set_binding_values): Likewise.
26373 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26374 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26375 * intl/localealias.c (read_alias_file): Likewise.
26376 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26377 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26378 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26379 * libio/fmemopen.c (fmemopen): Likewise.
26380 * libio/iofgets.c (_IO_fgets): Likewise.
26381 * libio/iofgets_u.c (fgets_unlocked): Likewise.
26382 * libio/iofgetws.c (fgetws): Likewise.
26383 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26384 * libio/iogetdelim.c (_IO_getdelim): Likewise.
26385 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26386 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26387 * locale/findlocale.c (_nl_find_locale): Likewise.
26388 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26389 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26391 * locale/setlocale.c (setlocale): Likewise.
26392 * login/programs/pt_chown.c (main): Likewise.
26393 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26394 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26395 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26396 (mmap, mmap64, mremap, munmap): Likewise.
26397 * math/e_exp2l.c: Likewise.
26398 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26399 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26400 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26401 * math/s_catan.c (__catan): Likewise.
26402 * math/s_catanf.c (__catanf): Likewise.
26403 * math/s_catanh.c (__catanh): Likewise.
26404 * math/s_catanhf.c (__catanhf): Likewise.
26405 * math/s_catanhl.c (__catanhl): Likewise.
26406 * math/s_catanl.c (__catanl): Likewise.
26407 * math/s_ccosh.c (__ccosh): Likewise.
26408 * math/s_ccoshf.c (__ccoshf): Likewise.
26409 * math/s_ccoshl.c (__ccoshl): Likewise.
26410 * math/s_cexp.c (__cexp): Likewise.
26411 * math/s_cexpf.c (__cexpf): Likewise.
26412 * math/s_cexpl.c (__cexpl): Likewise.
26413 * math/s_clog10.c (__clog10): Likewise.
26414 * math/s_clog10f.c (__clog10f): Likewise.
26415 * math/s_clog10l.c (__clog10l): Likewise.
26416 * math/s_clog.c (__clog): Likewise.
26417 * math/s_clogf.c (__clogf): Likewise.
26418 * math/s_clogl.c (__clogl): Likewise.
26419 * math/s_csin.c (__csin): Likewise.
26420 * math/s_csinf.c (__csinf): Likewise.
26421 * math/s_csinh.c (__csinh): Likewise.
26422 * math/s_csinhf.c (__csinhf): Likewise.
26423 * math/s_csinhl.c (__csinhl): Likewise.
26424 * math/s_csinl.c (__csinl): Likewise.
26425 * math/s_csqrt.c (__csqrt): Likewise.
26426 * math/s_csqrtf.c (__csqrtf): Likewise.
26427 * math/s_csqrtl.c (__csqrtl): Likewise.
26428 * math/s_ctan.c (__ctan): Likewise.
26429 * math/s_ctanf.c (__ctanf): Likewise.
26430 * math/s_ctanh.c (__ctanh): Likewise.
26431 * math/s_ctanhf.c (__ctanhf): Likewise.
26432 * math/s_ctanhl.c (__ctanhl): Likewise.
26433 * math/s_ctanl.c (__ctanl): Likewise.
26434 * math/w_pow.c: Likewise.
26435 * math/w_powf.c: Likewise.
26436 * math/w_powl.c: Likewise.
26437 * math/w_scalb.c (sysv_scalb): Likewise.
26438 * math/w_scalbf.c (sysv_scalbf): Likewise.
26439 * math/w_scalbl.c (sysv_scalbl): Likewise.
26440 * misc/error.c (error_tail): Likewise.
26441 * misc/pselect.c (__pselect): Likewise.
26442 * nis/nis_callback.c (__nis_create_callback): Likewise.
26443 * nis/nis_call.c (__nisfind_server): Likewise.
26444 * nis/nis_creategroup.c (nis_creategroup): Likewise.
26445 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26446 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26447 * nis/nis_getservlist.c (nis_getservlist): Likewise.
26448 * nis/nis_lookup.c (nis_lookup): Likewise.
26449 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26450 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26451 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26452 * nis/nis_xdr.c (xdr_endpoint): Likewise.
26453 * nis/nss_compat/compat-grp.c (getgrent_next_file)
26454 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26455 * nis/nss_compat/compat-initgroups.c (add_group)
26456 (internal_getgrent_r): Likewise.
26457 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26458 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26459 * nis/nss_compat/compat-spwd.c (getspent_next_file)
26460 (internal_getspnam_r): Likewise.
26461 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26462 (_nss_nis_getaliasbyname_r): Likewise.
26463 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26464 (_nss_nis_getntohost_r): Likewise.
26465 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26466 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26467 (_nss_nis_getgrgid_r): Likewise.
26468 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26469 (internal_nis_gethostent_r, internal_gethostbyname2_r)
26470 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26471 (_nss_nis_gethostbyname4_r): Likewise.
26472 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26473 (initgroups_netid): Likewise.
26474 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26475 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26476 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26477 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26478 (_nss_nis_getprotobynumber_r): Likewise.
26479 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26480 (_nss_nis_getsecretkey): Likewise.
26481 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26482 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26483 (_nss_nis_getpwuid_r): Likewise.
26484 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26485 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26486 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26487 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26488 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26489 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26490 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26492 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26493 (_nss_nisplus_getntohost_r): Likewise.
26494 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26495 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26496 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26497 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26499 * nis/nss_nisplus/nisplus-initgroups.c
26500 (_nss_nisplus_initgroups_dyn): Likewise.
26501 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26502 (_nss_nisplus_getnetbyaddr_r): Likewise.
26503 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26504 (_nss_nisplus_getprotobynumber_r): Likewise.
26505 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26506 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26507 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26509 * nis/nss_nisplus/nisplus-service.c
26510 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26511 (_nss_nisplus_getservbyport_r): Likewise.
26512 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26513 (_nss_nisplus_getspnam_r): Likewise.
26514 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26516 * nscd/aicache.c (addhstaiX): Likewise.
26517 * nscd/cache.c (cache_search, prune_cache): Likewise.
26518 * nscd/connections.c (register_traced_file, send_ro_fd)
26519 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26520 (main_loop_epoll): Likewise.
26521 * nscd/grpcache.c (addgrbyX): Likewise.
26522 * nscd/hstcache.c (addhstbyX): Likewise.
26523 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26524 * nscd/mem.c (gc, mempool_alloc): Likewise.
26525 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26526 (addinnetgrX): Likewise.
26527 * nscd/nscd-client.h (__nscd_acquire_maplock)
26528 (__nscd_drop_map_ref): Likewise.
26529 * nscd/nscd_getai.c (__nscd_getai): Likewise.
26530 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26531 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26533 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26534 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26535 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26536 (__nscd_get_map_ref): Likewise.
26537 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26538 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26540 * nscd/pwdcache.c (addpwbyX): Likewise.
26541 * nscd/selinux.c (preserve_capabilities): Likewise.
26542 * nscd/servicescache.c (addservbyX): Likewise.
26543 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26544 * posix/fnmatch.c (fnmatch): Likewise.
26545 * posix/getopt.c (_getopt_internal_r): Likewise.
26546 * posix/glob.c (glob, glob_in_dir): Likewise.
26547 * posix/wordexp.c (exec_comm_child): Likewise.
26548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26549 (getanswer_r, gaih_getanswer_slice): Likewise.
26550 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26551 * resolv/res_init.c: Likewise.
26552 * resolv/res_mkquery.c (res_nmkquery): Likewise.
26553 * resolv/res_query.c (__libc_res_nquery): Likewise.
26554 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26556 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26557 * stdio-common/perror.c (perror): Likewise.
26558 * stdio-common/printf_fp.c (___printf_fp): Likewise.
26559 * stdio-common/tmpnam.c (tmpnam): Likewise.
26560 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26561 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26562 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26564 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26565 * stdlib/putenv.c (putenv): Likewise.
26566 * stdlib/setenv.c (__add_to_environ): Likewise.
26567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26568 * stdlib/strtol_l.c (INTERNAL): Likewise.
26569 * string/memmem.c (memmem): Likewise.
26570 * string/strerror.c (strerror): Likewise.
26571 * string/strnlen.c (__strnlen): Likewise.
26572 * string/test-memmem.c (simple_memmem): Likewise.
26573 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26574 * sunrpc/pm_getport.c (__get_socket): Likewise.
26575 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26576 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26577 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26578 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26580 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26581 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26582 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26583 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26584 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26585 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26587 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26589 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26590 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26592 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26593 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26594 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26595 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26596 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26597 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26598 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26599 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26602 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26604 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26607 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26608 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26609 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26610 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26611 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26612 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26620 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26621 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26623 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26625 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26627 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26629 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26630 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26631 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26633 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26634 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26635 * sysdeps/posix/opendir.c (__opendirat): Likewise.
26636 * sysdeps/posix/sleep.c: Likewise.
26637 * sysdeps/posix/tempname.c: Likewise.
26638 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26639 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26641 * sysdeps/powerpc/powerpc32/dl-machine.h
26642 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26643 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26644 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26645 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26646 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26648 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26649 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26650 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26651 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26652 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26653 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26654 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26655 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26656 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26657 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26659 (elf_machine_lazy_rel): Likewise.
26660 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26661 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26662 (elf_machine_lazy_rel): Likewise.
26663 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26664 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26665 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26666 * sysdeps/unix/grantpt.c (grantpt): Likewise.
26667 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26668 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26669 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26672 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26673 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26674 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26675 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26676 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26677 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26678 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26679 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26680 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26681 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26682 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26684 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26685 (__posix_fallocate64_l64): Likewise.
26686 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26687 (posix_fallocate): Likewise.
26688 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26690 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26691 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26692 (getifaddrs_internal): Likewise.
26693 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26694 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26695 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26696 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26697 * sysdeps/unix/sysv/linux/posix_fallocate64.c
26698 (__posix_fallocate64_l64): Likewise.
26699 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26701 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26702 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26703 (__get_clockfreq): Likewise.
26704 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26705 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26706 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26708 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26709 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26710 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26711 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26713 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26714 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26715 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26716 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26717 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26718 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26719 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26721 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26722 (posix_fallocate): Likewise.
26723 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26724 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26725 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26726 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26727 (elf_machine_rela, elf_machine_rela_relative)
26728 (elf_machine_lazy_rel): Likewise.
26729 * time/asctime.c (asctime_internal): Likewise.
26730 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26731 * time/tzset.c (__tzset_parse_tz): Likewise.
26732 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26733 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26734 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26735 * wcsmbs/wcsmbsload.h: Likewise.
26738 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26740 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26741 (arena_get2): Remove THREAD_STATS conditionals.
26742 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26743 (__malloc_stats, int): Likewise.
26745 2014-02-08 Mike Frysinger <vapier@gentoo.org>
26747 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26748 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
26750 * manual/setjmp.texi: Fix typos/grammar errors.
26752 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26753 Only return early when n is <= 0. Delete unused return statement.
26755 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26756 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26757 * debug/tst-longjmp_chk3.c: New file.
26759 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26760 (test_main): Replace code with set_fortify_handler call.
26761 * debug/test-strcpy_chk.c: Likewise.
26762 * debug/tst-chk1.c: Likewise.
26763 * debug/tst-longjmp_chk.c: Likewise.
26764 * test-skeleton.c: Include fcntl.h & paths.h
26765 (set_fortify_handler): Define.
26767 * debug/tst-longjmp_chk.c: Add header comment and include
26768 ../test-skeleton.c.
26769 (do_test): Mark static.
26770 (TEST_FUNCTION): Define.
26772 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26773 (IP_PMTUDISC_INTERFACE): Likewise.
26774 (IP_MULTICAST_IF): Likewise.
26775 (IP_MULTICAST_TTL): Likewise.
26776 (IP_MULTICAST_LOOP): Likewise.
26777 (IP_ADD_MEMBERSHIP): Likewise.
26778 (IP_DROP_MEMBERSHIP): Likewise.
26779 (IP_UNBLOCK_SOURCE): Likewise.
26780 (IP_BLOCK_SOURCE): Likewise.
26781 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26782 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26783 (IP_MSFILTER): Likewise.
26784 (MCAST_JOIN_GROUP): Likewise.
26785 (MCAST_BLOCK_SOURCE): Likewise.
26786 (MCAST_UNBLOCK_SOURCE): Likewise.
26787 (MCAST_LEAVE_GROUP): Likewise.
26788 (MCAST_JOIN_SOURCE_GROUP): Likewise.
26789 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26790 (MCAST_MSFILTER): Likewise.
26791 (IP_MULTICAST_ALL): Likewise.
26792 (IP_UNICAST_IF): Likewise.
26794 * timezone/Makefile: Delete $(have-ksh) check.
26795 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26796 * timezone/tzselect.ksh: Add +x mode bits.
26798 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26799 (ANON_INODE_FS_MAGIC): Likewise.
26800 (BDEVFS_MAGIC): Likewise.
26801 (BINFMTFS_MAGIC): Likewise.
26802 (BTRFS_TEST_MAGIC): Likewise.
26803 (CRAMFS_MAGIC_WEND): Likewise.
26804 (DEBUGFS_MAGIC): Likewise.
26805 (ECRYPTFS_SUPER_MAGIC): Likewise.
26806 (EXT3_SUPER_MAGIC): Likewise.
26807 (EXT4_SUPER_MAGIC): Likewise.
26808 (FUTEXFS_SUPER_MAGIC): Likewise.
26809 (HOSTFS_SUPER_MAGIC): Likewise.
26810 (HUGETLBFS_MAGIC): Likewise.
26811 (MINIX3_SUPER_MAGIC): Likewise.
26812 (MTD_INODE_FS_MAGIC): Likewise.
26813 (NILFS_SUPER_MAGIC): Likewise.
26814 (OPENPROM_SUPER_MAGIC): Likewise.
26815 (PIPEFS_MAGIC): Likewise.
26816 (PSTOREFS_MAGIC): Likewise.
26817 (QNX6_SUPER_MAGIC): Likewise.
26818 (RAMFS_MAGIC): Likewise.
26819 (REISERFS_SUPER_MAGIC_STRING): Likewise.
26820 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26821 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26822 (SECURITYFS_MAGIC): Likewise.
26823 (SELINUX_MAGIC): Likewise.
26824 (SMACK_MAGIC): Likewise.
26825 (SOCKFS_MAGIC): Likewise.
26826 (SQUASHFS_MAGIC): Likewise.
26827 (STACK_END_MAGIC): Likewise.
26828 (TMPFS_MAGIC): Likewise.
26829 (USBDEVICE_SUPER_MAGIC): Likewise.
26830 (V9FS_MAGIC): Likewise.
26831 (XENFS_SUPER_MAGIC): Likewise.
26832 (CRAMFS_MAGIC): Fix typo in comment.
26833 (EXT2_SUPER_MAGIC): Update comment.
26834 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26836 2014-02-08 Joseph Myers <joseph@codesourcery.com>
26838 * sysdeps/arm: Move directory from ports/sysdeps/arm.
26839 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26840 * sysdeps/unix/sysv/linux/arm: Move directory from
26841 ports/sysdeps/unix/sysv/linux/arm.
26842 * README: Update listing for arm-*-linux-gnueabi.
26844 * README: Remove mention of am33.
26846 2014-02-07 Roland McGrath <roland@hack.frob.com>
26848 * bits/sigset.h (__sigemptyset): Use a statement expression rather
26849 than the comma operator, to avoid "rhs of comma has no effect"
26851 (__sigfillset, __sigandset, __sigorset): Likewise.
26852 * include/signal.h (__sigemptyset): Likewise.
26853 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26855 2014-02-07 Allan McRae <allan@archlinux.org>
26857 * version.h (RELEASE): Set to "development".
26858 (VERSION): Set to "2.19.90"
26859 * NEWS: Add 2.20 section.
26861 2014-02-06 Carlos O'Donell <carlos@redhat.com>
26864 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26866 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26868 * manual/contrib.texi: Update entry for Carlos O'Donell,
26869 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26871 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
26873 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26875 * sysdeps/unix/sysv/linux/kernel-features.h
26876 [__LINUX_KERNEL_VERSION >= 0x020621]
26877 (__ASSUME_PROC_PID_TASK_COMM): Define.
26879 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
26882 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26883 conversion when destination buffer does not have enough space.
26884 * libio/tst-ftell-partial-wide.c: New test case.
26885 * libio/Makefile (tests): Add tst-ftell-partial-wide.
26887 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26888 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
26889 Leonard and Allan McRae.
26891 2014-02-04 David S. Miller <davem@davemloft.net>
26893 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26896 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26925 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26927 * nptl/shlib-versions: Change powerpc*le start to 2.17.
26928 * shlib-versions: Likewise.
26930 2014-02-04 Roland McGrath <roland@hack.frob.com>
26931 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26933 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26934 (abilist-pattern): New variable, set to %-le.abilist.
26936 * Makerules (abilist-pattern): New variable.
26937 (vpath): Use $(abilist-pattern) in place of %.abilist.
26938 (check-abi-% pattern rule): Likewise.
26939 (check-abi, update-abi): Likewise.
26941 2014-02-04 Eric Wong <normalperson@yhbt.net>
26943 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26945 2014-02-03 Carlos O'Donell <carlos@redhat.com>
26947 * manual/startup.texi: Add next, previous, and top entries for
26948 the `Program Arguments' and `Environment Variables' nodes.
26950 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
26952 * manual/macros.texi: Add comments before MTASC-safety macros.
26954 * manual/users.texi: Document MTASC-safety properties.
26956 * manual/threads.texi (pthread_key_create, pthread_key_delete)
26957 (pthread_getspecific, pthread_setspecific): Format with
26958 @deftypefun, and add @safety note.
26959 * manual/signal.texi: Move comments that analyze the above
26960 functions to their home place.
26962 2014-02-03 Allan McRae <allan@archlinux.org>
26964 * po/sl.po: Update Slovenian translation from translation project.
26966 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
26968 * manual/time.texi (timegm): Add missing blank after @c.
26969 Reported by Joseph Myers <joseph@codesourcery.com>.
26971 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
26973 * manual/check-safety.sh: New.
26974 * manual/Makefile ($(objpfx)stamp-summary): Run it.
26976 * manual/terminal.texi: Document MTASC-safety properties.
26978 * manual/filesys.texi: Document MTASC-safety properties.
26980 * manual/errno.texi: Document MTASC-safety properties.
26982 * manual/intro.texi: Document safety identifiers and
26985 * manual/string.texi (wcstok): Fix prototype.
26986 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26988 * manual/time.texi: Document MTASC-safety properties.
26990 * manual/string.texi: Document MTASC-safety properties.
26992 * manual/threads.texi: Document MTASC-safety properties.
26994 * manual/stdio.texi: Document MTASC-safety properties.
26996 * manual/syslog.texi: Document MTASC-safety properties.
26998 * manual/sysinfo.texi: Document MTASC-safety properties.
27000 * manual/startup.texi: Document MTASC-safety properties.
27002 * manual/socket.texi: Document MTASC-safety properties.
27004 * manual/signal.texi: Document MTASC-safety properties.
27006 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
27008 * manual/setjmp.texi: Document MTASC-safety properties.
27010 * manual/search.texi: Document MTASC-safety properties.
27012 * manual/resource.texi: Document MTASC-safety properties.
27014 * manual/process.texi: Document MTASC-safety properties.
27016 * manual/platform.texi: Document MTASC-safety properties.
27018 * manual/pipe.texi: Document MTASC-safety properties.
27020 * manual/pattern.texi: Document MTASC-safety properties.
27022 * manual/message.texi: Document MTASC-safety properties.
27025 * manual/memory.texi: Document MTASC-safety properties.
27027 * manual/math.texi: Document MTASC-safety properties.
27029 * manual/locale.texi: Document MTASC-safety properties.
27031 * manual/llio.texi: Document MTASC-safety properties.
27033 * manual/libdl.texi: New.
27035 * manual/lang.texi: Document MTASC-safety properties.
27037 * manual/job.texi: Document MTASC-safety properties.
27039 * manual/getopt.texi: Document MTASC-safety properties.
27041 * manual/ctype.texi: Document MTASC-safety properties.
27043 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
27046 * csu/libc-tls.c (static_map): Remove variable.
27047 (__libc_setup_tls): Use main executable's link map for TLS data.
27048 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27049 casing for LM_ID_BASE and GL(dl_nns).
27050 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27051 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
27052 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27053 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27054 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27056 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27059 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
27061 * manual/debug.texi: Document MTASC-safety properties.
27063 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
27066 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27067 of __x86_64__ when disabling x87 inline functions.
27069 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
27071 * manual/charset.texi: Document MTASC-safety properties.
27073 * manual/crypt.texi: Document MTASC-safety properties.
27075 * manual/conf.texi: Document MTASC-safety properties.
27077 * manual/arith.texi: Document MTASC-safety properties.
27079 * manual/argp.texi: Document MTASC-safety properties.
27081 * manual/macros.texi: Introduce macros to document multi
27082 thread, asynchronous signal and asynchronous cancellation
27084 * manual/intro.texi: Introduce the properties themselves.
27086 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27088 * sysdeps/sh/sh4/Makefile: New file.
27090 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
27092 * math/gen-libm-test.pl ($srcdir): New variable.
27093 ($auto_input): Use it.
27095 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
27098 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27099 access beyond array bounds when parsing netgroups file.
27101 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27102 the old buffer before realloc.
27104 2014-01-27 Allan McRae <allan@archlinux.org>
27106 * po/fr.po: Update French translation from translation project.
27108 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27110 * sysdeps/sh/libm-test-ulps: Regenerate.
27112 2014-01-24 David S. Miller <davem@davemloft.net>
27114 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27116 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27118 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27119 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27121 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27124 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27125 string pointers after reallocation.
27127 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27129 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27130 __SH4A__ instead of __SH_FPU_ANY__.
27132 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27134 * sysdeps/sh/fpu_control.h: New file.
27135 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27136 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27137 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27138 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27139 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27140 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27141 * sysdeps/sh/sys/ucontext.h: Remove.
27142 * sysdeps/sh/sys: Remove directory.
27144 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27146 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27147 s390/sys/ucontext.h.
27148 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27149 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27151 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
27154 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27156 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27159 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27160 Adjust the vDSO correctly for internal calls.
27161 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27163 2014-01-20 Allan McRae <allan@archlinux.org>
27165 * po/ca.po: Update Catalan translation from translation project.
27167 2014-01-16 Mike Frysinger <vapier@gentoo.org>
27169 * sysdeps/s390/sotruss-lib.c: New file.
27171 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27174 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27175 (__GI___gettimeofday): Alias for a different internal symbol to avoid
27176 local calls issues by not having a PLT stub required for IFUNC calls.
27177 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27179 2014-01-16 Joseph Myers <joseph@codesourcery.com>
27181 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27182 * math/test-fpucw-static.c: Likewise.
27184 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27187 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27189 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27191 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27192 implementation for powerpc.
27194 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
27197 * sysdeps/posix/system.c (__libc_system): Do not enable
27198 asynchronous cancellation.
27200 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27203 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27204 handling only for numbers special also in the IEEE case.
27206 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27208 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27210 2014-01-11 Allan McRae <allan@archlinux.org>
27212 * po/bg.po: Update Bulgarian translation from translation project.
27214 * po/de.po: Update German translation from translation project.
27216 2014-01-10 Roland McGrath <roland@hack.frob.com>
27218 * sysdeps/generic/gcc-compat.h: New file.
27220 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27222 * benchtests/asin-inputs: Correct slow inputs.
27223 * benchtests/acos-inputs: Likewise.
27225 2014-01-10 Allan McRae <allan@archlinux.org>
27227 * po:sv.po: Update Swedish translation from translation project.
27229 * po/vi.po: Update Vietnamese translation from translation project.
27231 * po/eo.po: Update Esperanto translation from translation project.
27233 * po/cs.po: Update Czech translation from translation project.
27235 * po/nl.po: Update Dutch translation from translation project.
27237 * po/pl.po: Update Polish translation from translation project.
27239 * po/ru.po: Update Russian translation from translation project.
27241 * po/uk.po: Update Ukrainian translation from translation project.
27243 2014-01-08 Brooks Moses <bmoses@google.com>
27245 * elf/dl-load.c: Fix comment typo.
27247 2014-01-08 Carlos O'Donell <carlos@redhat.com>
27249 * po/header.pot: Rename to...
27250 * po/pot.header: ... this.
27251 * po/Makefile: Use pot.header.
27253 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
27254 Maxim Kuvyrkov <maxim@kugelworks.com>
27257 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27258 SRC and DEST against LEN.
27260 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27263 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27265 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27267 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27269 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27271 2014-01-08 Joseph Myers <joseph@codesourcery.com>
27274 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27275 for large positive arguments.
27277 2014-01-07 Joseph Myers <joseph@codesourcery.com>
27279 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27281 * math/auto-libm-test-in: Mark various tests with
27282 xfail-rounding:ldbl-128ibm.
27283 * math/auto-libm-test-out: Regenerated.
27286 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27287 Increase overflow threshold.
27289 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
27292 * stdio-common/vfprintf.c: Check for integer overflow.
27294 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27296 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27297 the first argument and return value of __tls_get_addr_internal.
27299 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27301 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27302 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27304 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27306 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27307 * sysdeps/s390/rtld-global-offsets.sym: New file.
27308 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27310 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27311 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27312 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27314 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27315 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27319 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27321 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27322 halfs of GPRs for high_gprs contexts.
27323 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27324 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
27326 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27328 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27330 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27331 for high GPRs (uc_high_gprs) and for future extensions
27333 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27334 for future extensions (__reserved).
27335 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27337 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27338 SC_HIGHGPRS offset definition.
27339 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27340 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27342 * Versions.def: Add GLIBC_2.19 for libpthread.
27343 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27344 siglongjmp for libpthread with GLIBC_2.19 symver.
27345 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27346 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27347 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27348 * sysdeps/s390/__longjmp.c: New file.
27349 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27350 * sysdeps/s390/longjmp.c: New file.
27351 * sysdeps/s390/setjmp.S: New file.
27352 * sysdeps/s390/sigjmp.S: New file.
27353 * sysdeps/s390/v1-longjmp.c: New file.
27354 * sysdeps/s390/v1-setjmp.h: New file.
27355 * sysdeps/s390/v1-sigjmp.c: New file.
27356 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27357 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27358 GLIBC_2.19 version.
27359 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27360 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27361 versioned symbols for ____longjmp_chk.
27362 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27364 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27372 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27373 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27374 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27375 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27376 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27377 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27378 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27379 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27380 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27381 * sysdeps/s390/rtld-__longjmp.c: New file.
27382 * sysdeps/s390/rtld-setjmp.S: New file.
27384 2014-01-06 Joseph Myers <joseph@codesourcery.com>
27387 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27388 Return -__logl (x) for small positive arguments without evaluating
27391 2014-01-06 Mike Frysinger <vapier@gentoo.org>
27393 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27395 (__ptrace_peeksiginfo_args): ... this.
27396 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27397 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27398 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27400 2014-01-06 Allan McRae <allan@archlinux.org>
27402 * inet/netinet/in.h: Fix typo in comment.
27404 2014-01-05 Andreas Jaeger <aj@suse.de>
27406 * sysdeps/i386/fpu/libm-test-ulps: Update.
27408 2014-01-05 Allan McRae <allan@archlinux.org>
27410 * po/libc.pot: Regenerated.
27412 * malloc/memusagestat.c: Fix gettext call formatting.
27414 2014-01-04 Sami Kerola <kerolasa@iki.fi>
27416 * nscd/nscd.c: Improve usage() output.
27418 2014-01-04 Mike Frysinger <vapier@gentoo.org>
27420 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27421 * sysdeps/unix/sysv/linux/configure: Regenerated.
27422 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27423 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27425 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27428 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27429 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27431 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27434 extra tokens at end of #undef directive.
27435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27436 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27437 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27439 2014-01-03 Joseph Myers <joseph@codesourcery.com>
27441 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27443 * math/auto-libm-test-in: Mark various tests with
27444 xfail-rounding:ldbl-128ibm.
27445 * math/auto-libm-test-out: Regenerated.
27447 2014-01-02 Joseph Myers <joseph@codesourcery.com>
27450 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27451 numbers with subnormal high part when calculating exponent.
27454 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27458 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27460 (__ieee754_acoshl): Use __log1pl not __log1p.
27462 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
27464 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27465 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27466 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27467 (grow_heap, heap_trim, _int_new_arena, get_free_list)
27468 (reused_arena, arena_get2): Convert to GNU style.
27469 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27470 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27471 (memalign_check, __malloc_set_state): Likewise.
27472 * malloc/mallocbug.c (main): Likewise.
27473 * malloc/malloc.c (__malloc_assert, malloc_init_state)
27474 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27475 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27476 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27477 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27478 (__posix_memalign, malloc_info): Likewise.
27479 * malloc/malloc.h: Likewise.
27480 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27481 (mallochook, memalignhook, reallochook, mabort): Likewise.
27482 * malloc/mcheck.h: Likewise.
27483 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27484 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27485 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27486 * malloc/morecore.c (__default_morecore): Likewise.
27487 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27488 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27489 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27490 (print_and_abort): Likewise.
27491 * malloc/obstack.h: Likewise.
27492 * malloc/set-freeres.c (__libc_freeres): Likewise.
27493 * malloc/tst-mallocstate.c (main): Likewise.
27494 * malloc/tst-mtrace.c (main): Likewise.
27495 * malloc/tst-realloc.c (do_test): Likewise.
27497 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27500 * nscd/netgroupcache.c (do_notfound): New function.
27501 (addgetnetgrentX): Use it.
27504 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27505 NSS_STATUS_NOTFOUND.
27507 2014-01-01 Joseph Myers <joseph@codesourcery.com>
27509 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512 2014-01-01 Allan McRae <allan@archlinux.org>
27514 * scripts/update-copyrights: Update configure input file suffix.
27516 * NEWS: Update copyright year.
27517 * catgets/gencat.c: Likewise.
27518 * csu/version.c: Likewise.
27519 * debug/catchsegv.sh: Likewise.
27520 * debug/pcprofiledump.c: Likewise.
27521 * debug/xtrace.sh: Likewise.
27522 * elf/ldconfig.c: Likewise.
27523 * elf/ldd.bash.in: Likewise.
27524 * elf/pldd.c: Likewise.
27525 * elf/sotruss.ksh: Likewise.
27526 * elf/sprof.c: Likewise.
27527 * iconv/iconv_prog.c: Likewise.
27528 * iconv/iconvconfig.c: Likewise.
27529 * locale/programs/locale.c: Likewise.
27530 * locale/programs/localedef.c: Likewise.
27531 * login/programs/pt_chown.c: Likewise.
27532 * malloc/memusage.sh: Likewise.
27533 * malloc/memusagestat.c: Likewise.
27534 * malloc/mtrace.pl: Likewise.
27535 * manual/libc.texinfo: Likewise.
27536 * nscd/nscd.c: Likewise.
27537 * nss/getent.c: Likewise.
27538 * nss/makedb.c: Likewise.
27539 * posix/getconf.c: Likewise.
27540 * scripts/test-installation.pl: Likewise.
27542 * All files with FSF copyright notices: Update copyright dates
27543 using scripts/update-copyrights.
27544 * intl/plural.c: Regenerated.
27545 * locale/programs/charmap-kw.h: Likewise.
27546 * locale/programs/locfile-kw.h: Likewise.
27548 2013-12-31 Mike Frysinger <vapier@gentoo.org>
27550 * sysdeps/unix/sysv/linux/configure: Regenerated.
27551 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27552 the linux/fanotify.h header.
27553 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27554 HAVE_LINUX_FANOTIFY_H is defined.
27556 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
27558 * benchtests/cos-inputs: New inputs.
27559 * benchtests/sin-inputs: Likewise.
27561 * benchtests/atan-inputs: New inputs. Fix name of multiple
27562 precision fallback inputs.
27564 * benchtests/atanh-inputs: New inputs.
27565 * benchtests/tanh-inputs: Likewise.
27567 * benchtests/acosh-inputs: New inputs.
27568 * benchtests/asinh-inputs: Likewise.
27570 * benchtests/cosh-inputs: New inputs.
27571 * benchtests/sinh-inputs: Likewise.
27573 * benchtests/acos-inputs: Add more inputs.
27574 * benchtests/asin-inputs: Likewise.
27576 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
27579 * manual/arith.texi: Fix spelling.
27580 * manual/charset.texi: Likewise.
27581 * manual/errno.texi: Likewise.
27582 * manual/filesys.texi: Likewise.
27583 * manual/lang.texi: Likewise.
27584 * manual/llio.texi: Likewise.
27585 * manual/locale.texi: Likewise.
27586 * manual/message.texi: Likewise.
27587 * manual/resource.texi: Likewise.
27588 * manual/search.texi: Likewise.
27589 * manual/setjmp.texi: Likewise.
27590 * manual/stdio.texi: Likewise.
27591 * manual/string.texi: Likewise.
27592 * manual/sysinfo.texi: Likewise.
27593 * manual/time.texi: Likewise.
27595 2013-12-27 Carlos O'Donell <carlos@redhat.com>
27597 * po/sl.po: New file.
27599 2013-12-27 Mike Frysinger <vapier@gentoo.org>
27601 * .gitignore: Add core/.gdbinit/.gdb_history.
27603 2013-12-27 Allan McRae <allan@archlinux.org>
27606 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27607 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27609 2013-12-24 Brooks Moses <bmoses@google.com>
27611 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27612 all compilers that claim C++98 compliance, not just GCC.
27613 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27616 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27618 * NEWS: Restore accidentally deleted bug-fix entries.
27620 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
27621 Ondřej Bílka <neleai@seznam.cz>
27624 * malloc/malloc.c (_int_free): Perform sanity check only if we
27627 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
27630 * manual/stdio.texi (String Input Conversions): Clarify that character
27631 classes are not supported.
27633 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27637 2013-12-22 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27641 Calculate results for small negative arguments directly rather
27642 than using reflection formula with special underflow handling.
27644 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27645 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27646 sysdeps/unix/bsd/bsd4.4/syscalls.list.
27647 (fchflags): Likewise.
27648 (revoke): Likewise.
27649 (setlogin): Likewise.
27650 (sigaltstack): Likewise.
27652 (sigblock): Remove.
27653 (sigsetmask): Likewise.
27655 (waitpid): Likewise.
27656 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27657 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27659 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27660 * sysdeps/unix/bsd/Makefile: ... here.
27661 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27662 * sysdeps/unix/bsd/Versions: ... here.
27663 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27664 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27665 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27666 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27667 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27668 * sysdeps/unix/bsd/sigblock.c: ... here.
27669 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27670 * sysdeps/unix/bsd/sigsetmask.c: ... here.
27671 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27672 * sysdeps/unix/bsd/sigvec.c: ... here.
27673 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27674 * sysdeps/unix/bsd/tcdrain.c: ... here.
27675 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27676 * sysdeps/unix/bsd/tcgetattr.c: ... here.
27677 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27678 * sysdeps/unix/bsd/tcsetattr.c: ... here.
27679 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27680 * sysdeps/unix/bsd/wait.c: ... here.
27681 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27682 * sysdeps/unix/bsd/wait3.c: ... here.
27683 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27684 * sysdeps/unix/bsd/waitpid.c: ... here.
27686 2013-12-21 Joseph Myers <joseph@codesourcery.com>
27689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27690 round-to-nearest for [!USE_AS_EXPM1L].
27691 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27692 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
27693 more tests of exp and exp10. Expect some exp10 tests to miss
27694 exceptions or fail in directed rounding modes.
27695 * math/auto-libm-test-out: Regenerated.
27696 * math/libm-test.inc (exp10_tonearest_test_data): New array.
27697 (exp10_test_tonearest): New function.
27698 (exp10_towardzero_test_data): New array.
27699 (exp10_test_towardzero): New function.
27700 (exp10_downward_test_data): New array.
27701 (exp10_test_downward): New function.
27702 (exp10_upward_test_data): New array.
27703 (exp10_test_upward): New function.
27704 (main): Call the new functions.
27705 * sysdeps/i386/fpu/libm-test-ulps: Update.
27706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27708 2013-12-20 Joseph Myers <joseph@codesourcery.com>
27710 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27711 asinh, atan, atan2, atanh, cbrt, cos and cosh.
27712 * math/auto-libm-test-out: Regenerated.
27713 * math/libm-test.inc (acosh_test_data): Add more tests.
27714 (atanh_test_data): Likewise.
27715 (ceil_test_data): Likewise.
27716 (copysign_test_data): Likewise.
27717 * sysdeps/i386/fpu/libm-test-ulps: Update.
27718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27720 * timezone/checktab.awk: Update from tzcode 2013i.
27721 * timezone/private.h: Likewise.
27722 * timezone/scheck.c: Likewise.
27723 * timezone/tzfile.h: Likewise.
27724 * timezone/tzselect.ksh: Likewise.
27725 * timezone/zdump.c: Likewise.
27726 * timezone/zic.c: Likewise.
27728 * math/auto-libm-test-in: Add tests of cpow.
27729 * math/auto-libm-test-out: Regenerated.
27730 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27731 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27733 (func_calc_desc): Add mpc_cc_c union field.
27734 (test_functions): Add cpow.
27735 (special_fill_2pi): New function.
27736 (special_real_inputs): Add 2pi.
27737 (calc_generic_results): Handle mpc_cc_c.
27738 * sysdeps/i386/fpu/libm-test-ulps: Update.
27739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27741 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27742 csqrt, ctan and ctanh.
27743 * math/auto-libm-test-out: Regenerated.
27744 * math/libm-test.inc (TEST_COND_x86_64): New macro.
27745 (TEST_COND_x86): Likewise.
27746 (ccos_test_data): Use AUTO_TESTS_c_c.
27747 (ccosh_test_data): Likewise.
27748 (cexp_test_data): Likewise.
27749 (clog_test_data): Likewise.
27750 (csqrt_test_data): Likewise.
27751 (ctan_test_data): Likewise.
27752 (ctan_tonearest_test_data): Likewise.
27753 (ctan_towardzero_test_data): Likewise.
27754 (ctan_downward_test_data): Likewise.
27755 (ctan_upward_test_data): Likewise.
27756 (ctanh_test_data): Likewise.
27757 (ctanh_tonearest_test_data): Likewise.
27758 (ctanh_towardzero_test_data): Likewise.
27759 (ctanh_downward_test_data): Likewise.
27760 (ctanh_upward_test_data): Likewise.
27761 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27763 (func_calc_desc): Add mpc_c_c union field.
27764 (FUNC_mpc_c_c): New macro.
27765 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27766 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27768 (special_fill_min_subnorm_p120): New function.
27769 (special_real_inputs): Add min_subnorm_p120.
27770 (calc_generic_results): Handle mpc_c_c.
27771 * sysdeps/i386/fpu/libm-test-ulps: Update.
27772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27774 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27776 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27777 (do_sin_slow): New functions.
27778 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27779 (cslow2, csloww1, csloww2): Use the new functions.
27781 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27782 Use M to change sign of result instead of X. Assume X is
27784 (csloww1): Likewise.
27788 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27789 arguments A and DA.
27793 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27795 (sloww1): Don't adjust sign of DX.
27796 (csloww1): Likewise.
27797 (sloww2): Use X directly and don't adjust sign of DX.
27798 (csloww2): Likewise.
27800 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27802 * math/auto-libm-test-in: Add tests of cabs and carg.
27803 * math/auto-libm-test-out: Regenerated.
27804 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27805 (carg_test_data): Likewise.
27806 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27808 (func_calc_desc): Add mpc_c_f union field.
27809 (test_functions): Add cabs and carg.
27810 (calc_generic_results): Handle mpc_c_f.
27812 * sysdeps/powerpc/powerpc32/libgcc-compat.S
27813 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27814 as a macro and a compat symbol.
27815 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27816 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27817 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27818 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27819 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27820 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27822 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27824 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27826 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27828 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27830 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27832 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27833 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27836 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27840 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27842 * manual/texinfo.tex: Update to version 2013-11-26.10 with
27843 trailing whitespace removed.
27844 * scripts/config.guess: Update to version 2013-11-29.
27845 * scripts/config.sub: Update to version 2013-10-01.
27847 * math/auto-libm-test-in: Add tests of sincos.
27848 * math/auto-libm-test-out: Regenerated.
27849 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27850 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27852 (func_calc_desc): Add mpfr_f_11 union field.
27853 (test_functions): Add sincos.
27854 (calc_generic_results): Handle mpfr_f_11.
27855 * sysdeps/i386/fpu/libm-test-ulps: Update.
27856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27858 2013-12-19 Andreas Schwab <schwab@suse.de>
27860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27864 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27866 2013-12-19 Joseph Myers <joseph@codesourcery.com>
27868 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27869 * sysdeps/i386/fpu/libm-test-ulps: Update.
27870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27873 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27874 round-to-nearest mode when using frndint.
27875 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27876 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27877 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27879 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
27881 * math/auto-libm-test-out: Regenerated.
27882 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27883 (TEST_COND_x86): Likewise.
27884 (expm1_tonearest_test_data): New array.
27885 (expm1_test_tonearest): New function.
27886 (expm1_towardzero_test_data): New array.
27887 (expm1_test_towardzero): New function.
27888 (expm1_downward_test_data): New array.
27889 (expm1_test_downward): New function.
27890 (expm1_upward_test_data): New array.
27891 (expm1_test_upward): New function.
27892 (main): Run the new test functions.
27893 * sysdeps/i386/fpu/libm-test-ulps: Update.
27894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27896 * include/features.h: Update comment documenting feature test
27897 macros. Mention _DEFAULT_SOURCE in comment.
27898 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27899 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27900 _BSD_SOURCE and _SVID_SOURCE.
27901 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27902 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27903 !_SVID_SOURCE]: Likewise.
27904 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27905 (__USE_POSIX_IMPLICITLY): Define.
27906 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27907 (_POSIX_SOURCE): Undefine and redefine.
27908 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27909 (_POSIX_C_SOURCE): Likewise.
27910 * manual/creature.texi (_DEFAULT_SOURCE): Document.
27911 (Feature Test Macros): Update documentation of default features.
27913 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27915 * benchtests/Makefile: Add bench-strtok.
27916 * benchtests/bench-strtok.c: New file: strtok benchtest.
27918 2013-12-19 Allan McRae <allan@archlinux.org>
27920 * manual/install.texi: Suppress menu for plain text output.
27921 * INSTALL: Regenerated.
27923 2013-12-18 Brooks Moses <bmoses@google.com>
27926 * misc/getauxval.c: Include errno.h.
27927 (__getauxval): Set errno to ENOENT if the requested type is not
27929 * misc/sys/auxv.h (getauxval): Document that it may set errno;
27930 don't declare with __attribute_const__.
27931 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27932 * manual/startup.texi: Document that getauxval sets errno.
27934 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27936 * math/auto-libm-test-in: Add tests of jn and yn.
27937 * math/auto-libm-test-out: Regenerated.
27938 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27939 (yn_test_data): Likewise.
27940 * math/gen-auto-libm-tests.c (func_calc_method): Add value
27942 (func_calc_desc): Add mpfr_if_f union field.
27943 (FUNC_mpfr_if_f): New macro.
27944 (test_functions): Add jn and yn.
27945 (calc_generic_results): Assert type of second input for
27946 mpfr_ff_f. Handle mpfr_if_f.
27947 (output_for_one_input_case): Disable all checking for arguments
27948 fitting floating-point types in case of an integer argument.
27949 * sysdeps/i386/fpu/libm-test-ulps: Update.
27950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27953 Don't expect fegetround reference in libm.so.
27955 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27957 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27958 $(config-cflags-nofma).
27960 2013-12-18 Joseph Myers <joseph@codesourcery.com>
27962 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27963 * math/auto-libm-test-out: Regenerated.
27966 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27967 to determine exponent and adjust argument to have exponent of -1.
27968 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27970 * math/auto-libm-test-out: Regenerated.
27971 * sysdeps/i386/fpu/libm-test-ulps: Update.
27972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27974 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
27976 * manual/probes.texi: Remove cases when per-thread arenas are
27979 2013-12-18 Andreas Schwab <schwab@suse.de>
27981 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27982 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27983 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27984 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27985 * sysdeps/i386/i686/multiarch/Makefile: Update.
27986 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27988 2013-12-17 Joseph Myers <joseph@codesourcery.com>
27990 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27991 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27993 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
27996 Support TZ transition times < 00:00:00.
27997 This is needed for version-3 tz-format files; it supports time
27998 stamps past 2037 for America/Godthab (the only entry in the tz
27999 database for which this change is relevant).
28000 * manual/time.texi (TZ Variable): Document transition times
28001 from -167:59:59 through -00:00:01.
28002 * time/tzset.c (tz_rule): Time of day is now signed.
28003 (__tzset_parse_tz): Parse negative time of day.
28005 Document TZ transition times >= 25:00:00.
28006 * manual/time.texi (TZ Variable): Document transition times from
28007 25:00:00 through 167:59:59. These are already supported, and this
28008 support will help with version-3 tz-format files.
28010 * manual/time.texi (TZ Variable): Modernize North America example
28011 to reflect current (i.e., 2007-and-later) daylight saving rules.
28013 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28015 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28017 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28018 * sysdeps/unix/bsd/bits/stat.h: Likewise.
28019 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28020 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28021 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28022 * sysdeps/unix/bsd/bsdstat.h: Likewise.
28023 * sysdeps/unix/bsd/clock.c: Likewise.
28024 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28025 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28026 * sysdeps/unix/bsd/init-posix.c: Likewise.
28027 * sysdeps/unix/bsd/poll.c: Likewise.
28028 * sysdeps/unix/bsd/ptsname.c: Likewise.
28029 * sysdeps/unix/bsd/seekdir.c: Likewise.
28030 * sysdeps/unix/bsd/setegid.c: Likewise.
28031 * sysdeps/unix/bsd/seteuid.c: Likewise.
28032 * sysdeps/unix/bsd/setgid.c: Likewise.
28033 * sysdeps/unix/bsd/setrgid.c: Likewise.
28034 * sysdeps/unix/bsd/setruid.c: Likewise.
28035 * sysdeps/unix/bsd/setsid.c: Likewise.
28036 * sysdeps/unix/bsd/setuid.c: Likewise.
28037 * sysdeps/unix/bsd/sigaction.c: Likewise.
28038 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28039 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28040 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28041 * sysdeps/unix/bsd/telldir.c: Likewise.
28042 * sysdeps/unix/bsd/times.c: Likewise.
28043 * sysdeps/unix/bsd/usleep.c: Likewise.
28045 * misc/Makefile (install-lib): Remove libbsd-compat.a.
28046 ($(objpfx)libbsd-compat.a): Remove rule.
28048 * include/features.h (__FAVOR_BSD): Do not define.
28049 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28050 features conflicting with POSIX.
28051 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28052 (_BSD_SOURCE): Remove description of not being a subset of other
28053 feature test macros.
28054 * manual/job.texi (getpgrp): Do not document BSD version.
28055 (getpgid): Do not document by reference to BSD getpgrp.
28056 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28057 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28058 * signal/signal.h [__FAVOR_BSD]: Likewise.
28059 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28060 instead of making contents conditional on [__FAVOR_BSD].
28061 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28063 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28067 2013-12-17 Joseph Myers <joseph@codesourcery.com>
28070 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28071 values below 2**-450, not 2**-500.
28072 * math/auto-libm-test-in: Don't allow spurious underflow from
28074 * math/auto-libm-test-out: Regenerated.
28078 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28079 values of ha and hb and sort them after adjusting subnormal
28081 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28083 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28084 values of ea and eb and sort them after adjusting subnormal
28086 * math/auto-libm-test-in: Do not expect some hypot tests of
28087 subnormals to fail. Add more hypot tests.
28088 * math/auto-libm-test-out: Regenerated.
28090 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28093 * sysdeps/sh/s_fma.c: New file.
28094 * sysdeps/sh/s_fmaf.c: New file.
28095 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
28097 * sysdeps/sh/Implies: Add sh/soft-fp.
28099 2013-12-16 Roland McGrath <roland@hack.frob.com>
28101 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
28102 level of indirection to members `objname', `errstring', `malloced'.
28103 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28104 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
28105 it as the __longjmp argument (just pass 1 instead).
28106 (_dl_catch_error): Initialize C with argument pointers and address of
28107 volatile local ERRCODE rather than copying values out of C at return.
28109 2013-12-16 Joseph Myers <joseph@codesourcery.com>
28111 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28112 * math/auto-libm-test-out: Regenerated.
28113 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28114 (hypot_test_data): Likewise.
28115 (pow_test_data): Likewise.
28116 (pow_tonearest_test_data): Likewise.
28117 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28119 (func_calc_desc): Add mpfr_ff_f union field.
28120 (FUNC_mpfr_ff_f): New macro.
28121 (test_functions): Add atan2, hypot and pow.
28122 (special_fill_min): New function.
28123 (special_fill_minus_min): Likewise.
28124 (special_fill_min_subnorm): Likewise.
28125 (special_fill_minus_min_subnorm): Likewise.
28126 (special_real_inputs): Add min, -min, min_subnorm and
28128 (calc_generic_results): Handle mpfr_ff_f.
28129 * sysdeps/i386/fpu/libm-test-ulps: Update.
28130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28132 2013-12-16 Will Newton <will.newton@linaro.org>
28134 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28135 (Aligned Memory Blocks): Add documentation for aligned_alloc
28136 and suggest it as an alternative to posix_memalign.
28137 (Hooks for Malloc): Document __memalign_hook is also called
28138 for aligned_alloc. (Summary of Malloc): Add summary for
28139 aligned alloc. Document __memalign_hook is also called
28142 2013-12-16 Will Newton <will.newton@linaro.org>
28144 * manual/memory.texi (Malloc Examples): Clarify default
28145 alignment documentation. Suggest posix_memalign rather
28146 than memalign or valloc.
28147 (Aligned Memory Blocks): Remove suggestion to use memalign
28148 or valloc. Remove obsolete comment about BSD.
28149 Document memalign errno values and mark the function obsolete.
28150 Document posix_memalign returned error codes. Mark valloc
28151 as obsolete. (Hooks for Malloc): __memalign_hook is also
28152 called for posix_memalign and valloc.
28153 (Summary of Malloc): Add posix_memalign to function summary.
28154 __memalign_hook is also called for posix_memalign and valloc.
28156 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28158 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28162 (sloww): Use mynumber union. Expand ternary operator into
28163 if-else statements.
28164 (cslow): use mynumber union.
28166 2013-12-16 Allan McRae <allan@archlinux.org>
28168 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28169 * configure: Regenerated.
28171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28174 * configure.ac: Added --enable-maintainer-mode. Check for
28175 autoconf when enabled.
28176 * configure: Regenerated.
28178 * nscd/nscd.service: New file.
28179 * nscd/nscd.tmpfiles: New file.
28181 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
28184 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28185 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28186 * sysdeps/x86_64/multiarch/strstr.c: ... here.
28187 (strstr): Add __strstr_sse2_unaligned ifunc.
28188 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28189 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28190 (strcasestr): Remove __strcasestr_sse42 ifunc.
28191 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28192 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28195 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28197 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28198 * sysdeps/sh/bits/fenv.h: ... here.
28199 * sysdeps/sh/sh4/fpu/bits: Remove directory.
28201 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28203 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28206 hypotf multiarch implementations.
28207 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28210 multiarch hypot for PPC64.
28211 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28212 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28213 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28214 multiarch hypotf for PPC64.
28216 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28217 modff multiarch implementations.
28218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28221 multiarch modf for PPC64.
28222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28225 multiarch modff for PPC64.
28227 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28228 and logl multiarch implementations.
28229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28232 multiarch logb for PPC64.
28233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28236 multiarch logb for PPC64.
28237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28240 multiarch logb for PPC64.
28242 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28243 isinff multiarch implementation.
28244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28248 multiarch isinf for PPC64.
28249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28252 multiarch isinff for PPC64.
28254 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28255 finitef multiarch implementation.
28256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28260 multiarch finite for PPC64.
28261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28264 multiarch finitef for PPC64.
28266 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28267 lrint multiarch implementation.
28268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28272 multiarch llrint for PPC64.
28273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28274 multiarch lrint for PPC64.
28276 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28277 copysignf multiarch implementation.
28278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28283 multiarch copysign for PPC64.
28284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28285 multiarch copysignf for PPC64.
28287 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28288 multiarch implementation.
28289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28297 multiarch llround for PPC64.
28298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28299 multiarch trunc for PPC64.
28300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28301 multiarch truncf for PPC64.
28303 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28304 multiarch implementation.
28305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28313 multiarch llround for PPC64.
28314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28315 multiarch round for PPC64.
28316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28317 multiarch roundf for PPC64.
28319 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28320 multiarch implementation.
28321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28329 multiarch llround for PPC64.
28330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28331 multiarch floor for PPC64.
28332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28333 multiarch floorf for PPC64.
28335 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28336 multiarch implementation.
28337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28339 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28345 multiarch llround for PPC64.
28346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28347 multiarch ceil for PPC64.
28348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28349 multiarch ceilf for PPC64.
28351 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28352 multiarch implementation.
28353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28360 multiarch llround for PPC64.
28361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28362 multiarch lround for PPC64.
28364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28365 multiarch implementation.
28366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28373 multiarch isnan for PPC64.
28374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28375 multiarch isnanf for PPC64.
28377 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28378 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28379 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28380 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28381 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28384 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28385 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28386 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28387 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28390 multiarch implementations.
28391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28392 (__libc_ifunc_impl_list): Likewise.
28393 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28394 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28395 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28396 multiarch stpcpy for PPC64.
28398 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28399 multiarch implementations.
28400 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28401 (__libc_ifunc_impl_list): Likewise.
28402 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28403 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28404 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28405 multiarch strcpy for PPC64.
28407 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28408 redefine function name.
28409 (_wordcopy_fwd_dest_aligned): Likewise.
28410 (_wordcopy_bwd_aligned): Likewise.
28411 (_wordcopy_bwd_dest_aligned): Likewise.
28412 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28413 multiarch implementations.
28414 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28415 (__libc_ifunc_impl_list): Likewise.
28416 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28417 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28418 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28419 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28420 multiarch wcscpy for PPC64.
28422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28423 multiarch implementations.
28424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28425 (__libc_ifunc_impl_list): Likewise.
28426 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28427 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28428 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28429 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28430 multiarch wcscpy for PPC64.
28432 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28433 multiarch implementations.
28434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28435 (__libc_ifunc_impl_list): Likewise.
28436 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28437 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28438 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28439 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28440 multiarch wcsrchr for PPC64.
28442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28443 multiarch implementations.
28444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28445 (__libc_ifunc_impl_list): Likewise.
28446 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28447 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28448 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28449 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28450 multiarch wcschr for PPC64.
28452 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28453 multiarch implementations.
28454 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28455 (__libc_ifunc_impl_list): Likewise.
28456 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28457 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28458 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28459 multiarch strchrnul for PPC64.
28461 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28464 (__libc_ifunc_impl_list): Likewise.
28465 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28466 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28467 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28468 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28471 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28473 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28474 (__libc_ifunc_impl_list): Likewise.
28475 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28476 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28477 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28478 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28481 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28482 multiarch implementations.
28483 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28484 (__libc_ifunc_impl_list): Likewise.
28485 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28486 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28487 strncasecmp for PPC64.
28488 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28489 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28490 multiarch strncasecmp_l for PPC64.
28492 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28493 multiarch implementations.
28494 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28495 (__libc_ifunc_impl_list): Likewise.
28496 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28497 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28498 multiarch strcasecmp for PPC64.
28499 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28501 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28502 multiarch strcasecmp_l for PPC64.
28504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28507 (__libc_ifunc_impl_list): Likewise.
28508 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28509 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28510 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28516 (__libc_ifunc_impl_list): Likewise.
28517 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28518 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28519 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28522 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28524 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28525 (__libc_ifunc_impl_list): Likewise.
28526 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28527 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28528 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28529 rawmemrchr for PPC64.
28531 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28533 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28534 (__libc_ifunc_impl_list): Likewise.
28535 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28536 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28537 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28540 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28542 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28543 (__libc_ifunc_impl_list): Likewise.
28544 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28545 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28546 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28552 (__libc_ifunc_impl_list): Likewise.
28553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28554 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28555 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28558 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28559 avoid cretion of __bzero symbol.
28560 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28562 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28564 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28567 multiarch implementations.
28568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28569 (__libc_ifunc_impl_list): Likewise.
28570 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28571 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28572 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28573 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28575 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28576 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28577 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28578 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28579 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28581 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28583 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28587 (__libc_ifunc_impl_list): Likewise.
28588 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28589 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28590 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28591 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28594 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28595 multiarch for POWER/PPC64.
28596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28597 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28598 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28599 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28600 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28602 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28603 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28604 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28607 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28608 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28609 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28610 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28611 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28612 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28613 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28614 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28615 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28616 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28617 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28618 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28619 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28620 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28621 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28630 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28632 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28634 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28636 * benchtests/Makefile (bench): Add exp2 and log2.
28637 (LDLIBS-bench-exp2): Add -lm.
28638 (LDLIBS-bench-log2): Likewise.
28639 * benchtests/exp2-inputs: New inputs file.
28640 * benchtests/log2-inputs: New inputs file.
28641 * benchtests/log-inputs: Add new inputs.
28642 * benchtests/tan-inputs: Likewise.
28644 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28646 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28648 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28649 (csloww2): ... from here.
28651 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28652 instead of structures.
28653 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28654 (POLYNOMIAL): Likewise.
28655 (TAYLOR_SLOW): Likewise.
28661 (sloww1); Likewise.
28662 (sloww2): Likewise.
28663 (bsloww1): Likewise.
28664 (bsloww2): Likewise.
28665 (cslow2): Likewise.
28666 (csloww): Likewise.
28667 (csloww1): Likewise.
28668 (csloww2): Likewise.
28670 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
28672 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28673 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28674 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28675 * malloc/hooks.c (realloc_check): Likewise.
28677 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28678 * malloc/arena.c: Remove PER_THREAD conditional.
28679 [!PER_THREAD]: Remove code.
28680 (ptmalloc_unlock_all2): Likewise.
28681 (ptmalloc_init): Likewise.
28682 (_int_new_arena): Likewise.
28683 (arena_get2): Likewise.
28684 * malloc/hooks.c (__malloc_get_state): Likewise.
28685 (__malloc_set_state): Likewise.
28686 * malloc/malloc.c: Likewise.
28687 (struct malloc_state): Likewise.
28688 (struct malloc_par): Likewise.
28689 (__libc_realloc): Likewise.
28690 (__libc_mallopt): Likewise.
28692 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28694 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28696 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
28698 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28699 macro to a function. Check for zero perturb_byte.
28700 (_int_malloc, _int_free): Remove zero perturb_byte checks.
28702 * malloc/malloc.c: (force_reg): Remove.
28703 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28704 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28705 force_reg by atomic_forced_read.
28706 * malloc/arena.c (ptmalloc_init): Likewise.
28707 * malloc/hooks.c (top_check): Likewise.
28709 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28711 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28713 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
28715 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28717 2013-12-08 Joseph Myers <joseph@codesourcery.com>
28719 * math/auto-libm-test-in: Add tests of lgamma.
28720 * math/auto-libm-test-out: Regenerated.
28721 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28722 (M_LOG_2_SQRT_PIl): Likewise.
28723 (lgamma_test_data): Use AUTO_TESTS_f_f1.
28724 * math/gen-auto-libm-tests.c (func_calc_method): Add value
28726 (func_calc_desc): Add mpfr_f_f1 union field.
28727 (ARGS1): New macro.
28735 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28736 (test_functions): Add lgamma.
28737 (calc_generic_results): Handle mpfr_f_f1.
28738 * sysdeps/i386/fpu/libm-test-ulps: Update.
28739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28741 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28743 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28744 __mpn_add_n for PowerPC64/POWER7.
28745 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28746 __mpn_sub_n for PowerPC64/POWER7.
28748 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28749 __mpn_addmul_1 for PowerPC64.
28750 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28751 __mpn_submul_1 for PowerPC64.
28752 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28754 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28757 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
28760 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28762 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28764 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28766 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28767 add multiarch folders.
28768 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28769 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28770 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28771 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28772 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28773 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28774 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28775 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28776 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28777 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28778 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28787 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28793 multiarch __ieee754_hypot for PowerPC32.
28794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28799 multiarch __ieee754_hypotf for PowerPC32.
28801 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28802 long_double_symbol only if __logbl is defined.
28803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28804 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28806 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28808 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28810 path for implementation.
28811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28812 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28814 logb, and logbl multiarch implementations for PowerPC32.
28815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28820 multiarch logb for PowerPC32.
28821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28826 multiarch logbf for PowerPC32.
28827 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28831 multiarch logbl implementation for PowerPC32.
28833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28834 and modff multiarch implementations.
28835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28840 multiarch modf for PowerPC32.
28841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28846 multiarch modff for PowerPC32.
28848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28849 and lrintf multiarch implementations.
28850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28855 multiarch lrint for PowerPC32.
28856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28857 file: multiarch lrintf for PowerPC32.
28859 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28860 and lroundf multiarch implementations.
28861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28868 multiarch lround for PowerPC32.
28869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28870 file: multiarch lroundf for PowerPC32.
28872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28873 copysign and copysignf multiarch implementations.
28874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28879 file: multiarch copysign for PowerPC32.
28880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28881 file: multiarch copysignf for PowerPC32.
28883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28884 and truncf multiarch implementations.
28885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28890 multiarch trunc for PowerPC32.
28891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28896 multiarch truncf for PowerPC32.
28898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28899 and roundf multiarch implementations.
28900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28905 multiarch round for PowerPC32.
28906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28911 multiarch roundf for PowerPC32.
28913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28914 and floorf multiarch implementations.
28915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28920 multiarch floor for PowerPC32.
28921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28926 multiarch floorf for PowerPC32.
28928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28929 and ceilf multiarch implementations.
28930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28935 multiarch ceil for PowerPC32.
28936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28941 multiarch ceilf for PowerPC32.
28943 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28945 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28946 FINITEF is defined.
28947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28948 and finitef multiarch implementations.
28949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28954 multiarch finite for PowerPC32.
28955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28958 file: multiarch finitef for PowerPC32.
28960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28961 and isinff multiarch implementations.
28962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28967 multiarch isinf for PowerPC32.
28968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28971 multiarch isinff for PowerPC32.
28973 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28974 alias when __isnan is defined.
28975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28976 and isnanf multiarch implementations.
28977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28986 multiarch isnan for PowerPC32.
28987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28992 multiarch isnanf for PowerPC32.
28994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28995 and sqrtf multiarch implementations.
28996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29001 multiarch sqrt for PowerPC32.
29002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29007 multiarch sqrtf for PowerPC32.
29009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29010 and llroundf multiarch implementations.
29011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29018 file: multiarch llround for PowerPC32.
29019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29020 file: multiarch llroundf for PowerPC32.
29022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29023 multiarch PowerPC32 fpu implementations.
29024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29029 multiarch llrint for PowerPC32.
29030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29034 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29039 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29041 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29043 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29045 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29046 multiarch wordcopy for PPC32.
29047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29050 (__libc_ifunc_impl_list): Likewise.
29051 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29052 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29053 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29054 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29055 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29056 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29058 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29059 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29061 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29063 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29065 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29066 multiarch wcscpy for PPC32.
29067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29070 (__libc_ifunc_impl_list): Likewise.
29071 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29072 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29073 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29074 sysdeps/powerpc/power6/wcscpy.c.
29076 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29077 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29079 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29081 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29083 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29084 multiarch wcsrchr for PPC32.
29085 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29087 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29088 (__libc_ifunc_impl_list): Likewise.
29089 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29090 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29091 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29092 sysdeps/powerpc/power6/wcsrchr.c.
29094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29099 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29100 multiarch wcschr for PPc32.
29101 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29103 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29104 (__libc_ifunc_impl_list): Likewise.
29105 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29106 * sysdeps/powerpc/power6/wcschr.c: ... to here.
29107 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29108 sysdeps/powerpc/power6/wcschr.c.
29110 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29111 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29113 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29114 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29115 file: multiarch strchr for PPC32.
29116 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29118 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29119 (__libc_ifunc_impl_list): Likewise.
29121 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29123 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29125 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29127 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29128 multiarch strchrnul for PPC32.
29129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29132 (__libc_ifunc_impl_list): Likewise.
29134 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29136 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29137 multiarch strncasecmp for PPC32.
29138 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29140 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29141 multiarch strncasecmp_l for PPC32.
29142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29143 strncasecmp multiarch objects.
29144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29145 (__libc_ifunc_impl_list): Likewise.
29147 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29149 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29150 multiarch strncasecmp for PPC32.
29151 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29153 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29154 multiarch strcasecmp_l for PPC32.
29155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29158 (__libc_ifunc_impl_list): Likewise.
29160 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29162 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29164 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29165 multiarch strncmp for PPC32.
29166 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29168 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29169 (__libc_ifunc_impl_list): Likewise.
29171 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29172 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29174 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29175 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29179 (__libc_ifunc_impl_list): Likewise.
29181 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29183 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29185 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29186 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29188 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29189 (__libc_ifunc_impl_list): Likewise.
29191 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29193 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29195 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29196 multiarch rawmemchr for PPC32.
29197 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29199 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29200 (__libc_ifunc_impl_list): Likewise.
29202 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29204 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29206 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29207 file: memrchr multiarch for PPC32.
29208 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29210 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29211 (__libc_ifunc_impl_list): Likewise.
29213 * string/memchr.c (__memchr): Using macro to redefine symbol name.
29214 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29216 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29218 multiarch memchr for PPC32.
29219 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29221 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29222 (__libc_ifunc_impl_list): Likewise.
29224 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29225 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29227 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29229 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29230 file: multiarch mempcpy for PPC32.
29231 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29233 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29234 (__libc_ifunc_impl_list): Likewise.
29236 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29237 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29238 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29239 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29240 multiarch bzero for PPC32.
29241 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29243 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29245 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29246 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29247 file: multiarch memset for PPC32.
29248 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29249 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29250 memset multiarch objects.
29251 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29252 (__libc_ifunc_impl_list): Likewise.
29254 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29256 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29257 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29259 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29263 (__libc_ifunc_impl_list): Likewise.
29265 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29266 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29271 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29273 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29274 multiarch memcpy for PPC32.
29275 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29277 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29278 (__libc_ifunc_impl_list): Likewise.
29280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29281 support multiarch for POWER/PPC32.
29282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29284 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29286 Implies file to make multiarch folder appers before the fpu and
29287 default folder for power4 configuration.
29289 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
29291 * scripts/bench.pl: Append volatile keyword to type.
29293 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29295 * sysdeps/sh/sotruss-lib.c: New file.
29296 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29298 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29302 2013-12-05 Joseph Myers <joseph@codesourcery.com>
29305 * math/w_tgamma.c: Include <errno.h>.
29306 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
29307 * math/w_tgammaf.c: Include <errno.h>.
29308 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
29309 * math/w_tgammal.c: Include <errno.h>.
29310 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
29311 * math/auto-libm-test-in: Do not allow missing errno on tgamma
29312 underflow. Add more tgamma tests.
29313 * math/auto-libm-test-out: Regenerated.
29314 * sysdeps/i386/fpu/libm-test-ulps: Update.
29315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29318 sin, sinh, tan, tanh, tgamma, y0 and y1.
29319 * math/auto-libm-test-out: Regenerated.
29320 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29321 (TEST_COND_x86): Likewise.
29322 (M_E2l): Remove macro.
29324 (M_2_SQRT_PIl): Likewise.
29325 (M_SQRT_PIl): Likewise.
29326 (M_1_DIV_El): Likewise.
29327 (log_test_data): Use AUTO_TESTS_f_f.
29328 (log10_test_data): Likewise.
29329 (log1p_test_data): Likewise.
29330 (log2_test_data): Likewise.
29331 (sin_test_data): Likewise.
29332 (sin_tonearest_test_data): Likewise.
29333 (sin_towardzero_test_data): Likewise.
29334 (sin_downward_test_data): Likewise.
29335 (sin_upward_test_data): Likewise.
29336 (sinh_test_data): Likewise.
29337 (sinh_tonearest_test_data): Likewise.
29338 (sinh_towardzero_test_data): Likewise.
29339 (sinh_downward_test_data): Likewise.
29340 (sinh_upward_test_data): Likewise.
29341 (tan_test_data): Likewise.
29342 (tan_tonearest_test_data): Likewise.
29343 (tan_towardzero_test_data): Likewise.
29344 (tan_downward_test_data): Likewise.
29345 (tan_upward_test_data): Likewise.
29346 (tanh_test_data): Likewise.
29347 (tgamma_test_data): Likewise.
29348 (y0_test_data): Likewise.
29349 (y1_test_data): Likewise.
29350 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29351 (special_real_inputs): Add pi/4.
29352 * sysdeps/i386/fpu/libm-test-ulps: Update.
29353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29355 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29357 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29358 "longjmp_target" static probes.
29359 (__longjmp): Rename to __longjmp_symbol.
29360 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29361 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29362 on which longjmp to generate.
29363 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29364 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29366 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29367 (__sigjmp_save): Rename to __sigjmp_save_symbol.
29368 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29370 and __sigjmp_save_symbol based on which sigsetjmp to generated.
29371 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29373 __longjmp_symbol based on which __longjmp to generate.
29374 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29376 (setjmp): Rename to setjmp_symbol.
29377 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29378 (_setjmp): Rename to _setjmp_symbol.
29379 (__sigsetjmp): Rename to __sigsetjmp_symbol.
29380 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29381 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29382 which setjmp to generate.
29383 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29384 "longjmp_target" static probes.
29386 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29388 * benchtests/README: Add note about output arguments.
29389 * benchtests/bench-sincos.c: Remove file.
29390 * benchtests/sincos-inputs: New file.
29391 * scripts/bench.pl: Identify output arguments and define
29392 static variables for them.
29394 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29397 * Makefile (INSTALL): Add install-plain.texi as the primary
29399 * manual/install-plain.texi: New file.
29400 * manual/install.texi: Include node directive only for
29401 non-plaintext output.
29403 2013-12-04 Joseph Myers <joseph@codesourcery.com>
29405 * stdlib/longlong.h: Update from GCC.
29409 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29410 * math/w_j0f.c (y0f): Likewise.
29411 * math/w_j0l.c (__y0l): Likewise.
29412 * math/w_j1.c (y1): Likewise.
29413 * math/w_j1f.c (y1f): Likewise.
29414 * math/w_j1l.c (__y1l): Likewise
29415 * math/w_jn.c (yn): Likewise.
29416 * math/w_jnf.c (ynf): Likewise.
29417 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29418 Bessel function pole errors in _POSIX_ mode. Use NAN as return
29419 value for Bessel function domain errors outside _SVID_ mode.
29420 Adjust sign of return value for yn (negative integer, 0).
29421 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29422 by zero in return for negative x and set sign appropriately for
29424 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29425 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29426 * math/libm-test.inc (y0_test_data): Add more tests and adjust
29427 expectations in error cases.
29428 (y1_test_data): Likewise.
29429 (yn_test_data): Likewise.
29430 * sysdeps/i386/fpu/libm-test-ulps: Update.
29431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29433 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29435 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29436 "64" to "64-v1". Add "64-v2".
29437 (abi-64-options): Rename to ...
29438 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
29439 (abi-64-condition): Rename to ...
29440 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
29441 (abi-64-ld-soname): Rename to ...
29442 (abi-64-v1-ld-soname): ... this.
29443 (abi-64-v2-options): Define.
29444 (abi-64-v2-condition): Likewise.
29445 (abi-64-v2-ld-soname): Likewise.
29446 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29447 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29452 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29453 Alan Modra <amodra@gmail.com>
29455 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29456 New versions for use with the ELFv2 ABI.
29457 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29458 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29460 (struct La_ppc64v2_retval): Likewise.
29461 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29462 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29463 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29464 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29465 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29466 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29467 Do not save or restore CR.
29468 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29469 (_dl_profile_resolve): Do no save or restore CR. Support extended
29470 return values for ELFv2 ABI. Fix location of FPR return registers.
29471 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29472 updated values for _CALL_ELF == 2.
29473 (La_regs, La_retval, int_retval): Likewise.
29475 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29477 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29478 (FRAME_MIN_SIZE_PARM): Likewise.
29479 (FRAME_BACKCHAIN): Likewise.
29480 (FRAME_CR_SAVE): Likewise.
29481 (FRAME_LR_SAVE): Likewise.
29482 (FRAME_TOC_SAVE): Likewise.
29483 (FRAME_PARM_SAVE): Likewise.
29484 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29485 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29486 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29487 (call_mcount_parm_offset): New macro.
29488 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29489 (PROF): Use symbolic stack frame offsets.
29490 (TAIL_CALL_SYSCALL_ERROR): Likewise.
29491 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29492 Redefine in terms of FRAME_MIN_SIZE.
29493 (_dl_runtime_resolve): Use symbolic stack frame offsets.
29494 (_dl_profile_resolve): Likewise. Update comment.
29495 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29496 symbols stack frame offsets.
29497 (__sigsetjmp): Likewise.
29498 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29499 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29500 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29501 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29504 (FRAME_BACKCHAIN): Remove.
29505 (FRAME_CR_SAVE): Likewise.
29506 (FRAME_LR_SAVE): Likewise.
29507 (FRAME_COMPILER_DW): Likewise.
29508 (FRAME_LINKER_DW): Likewise.
29509 (FRAME_TOC_SAVE): Likewise.
29510 (FRAME_PARM_SAVE): Likewise.
29511 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29512 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29513 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29515 (CHECK_SP): Use symbolic stack frame offsets.
29516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29517 zone" instead of caller's parameter save area for temp storage.
29518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29519 Likewise. Also, use symbolic stack frame offsets.
29520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29521 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29522 our own stack frame instead of the caller's.
29523 (__socket): Use symbolic stack frame offsets.
29525 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29526 Alan Modra <amodra@gmail.com>
29528 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29530 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29531 (PPC64_LOCAL_ENTRY_OFFSET): Define.
29532 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29534 (elf_machine_fixup_plt): Call it.
29535 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
29537 (elf_machine_rela): Update call to elf_machine_plt_conflict.
29538 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29539 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29540 r2 before calling target.
29542 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29543 Alan Modra <amodra@gmail.com>
29545 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29546 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29547 versions of macros to support ELFv2 ABI.
29548 (LOCALENTRY): New macro.
29549 (ENTRY, EALIGN): Use it.
29550 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29551 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29552 fall through into ENTRY entry point.
29553 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29554 Only define if _CALL_ELF != 2.
29556 (elf_machine_matches_host): Verify ABI version matches.
29557 (RTLD_START): Use LOCALENTRY.
29558 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29559 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29560 (PLT_ENTRY_WORDS): New macro.
29561 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29562 (elf_machine_runtime_setup): Support ELFv2 ABI.
29563 (elf_machine_fixup_plt): Likewise.
29564 (elf_machine_plt_conflict): Likewise.
29565 (resolve_ifunc): Likewise.
29566 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29567 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29570 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29572 (makecontext): Support ELFv2 ABI.
29573 * elf/elf.h (EF_PPC64_ABI): Define.
29575 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29577 * sysdeps/powerpc/powerpc64/sysdep.h
29578 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29579 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29580 (ENTRY) [ASSEMBLER]: ... but instead here ...
29581 (EALIGN) [ASSEMBLER]: ... and here.
29582 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29583 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29584 (ENTRY_2) [!ASSEMBLER]: Use it.
29585 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29586 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
29587 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29588 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29589 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29591 Use PPC64_LOAD_FUNCPTR.
29593 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29595 2013-12-04 Alan Modra <amodra@gmail.com>
29597 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29598 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29599 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29600 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29602 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29603 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29604 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29605 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29606 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29607 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29609 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
29611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29612 (__makecontext): Fix incorrect CFI when backtracing out of
29613 context created via makecontext.
29614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29615 (__setcontext): Fix incorrect CFI during switch to new context.
29616 (__novec_setcontext): Likewise.
29618 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29621 * time/strptime_l.c (__strptime_internal): Allow modifiers
29623 * time/tst-strptime.c (day_tests): Add testcase.
29625 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
29627 * scripts/bench.pl: Skip over blank lines.
29629 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
29632 * manual/time.texi (Calendar Time): Clarify what timezone functions
29635 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29639 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
29641 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29643 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29644 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29645 * debug/memset_chk.c (__memset_chk): Likewise.
29646 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29647 * debug/strncpy_chk.c: Likewise.
29649 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29653 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29654 (__ieee754_exp): For possibly underflowing results, check size of
29655 result and force underflow exception if required.
29656 * math/auto-libm-test-in: Add more tests of exp.
29657 * math/auto-libm-test-out: Regenerated.
29658 * sysdeps/i386/fpu/libm-test-ulps: Update.
29659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29662 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29663 * math/w_exp2f.c (__exp2f): Likewise.
29664 * math/w_exp2l.c (__exp2l): Likewise.
29665 * math/auto-libm-test-in: Do not allow missing errno on exp2
29667 * math/auto-libm-test-out: Regenerated.
29669 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
29672 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29673 handle filename validation.
29674 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29677 2013-12-03 Joseph Myers <joseph@codesourcery.com>
29680 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29681 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29682 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29684 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29685 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29686 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29687 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29688 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29689 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29690 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29691 * math/auto-libm-test-in: Don't allow missing errno from erfc.
29692 Add more erfc tests.
29693 * math/auto-libm-test-out: Regenerated.
29694 * sysdeps/i386/fpu/libm-test-ulps: Update.
29695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29697 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29698 exp2, expm1, j0 and j1.
29699 * math/auto-libm-test-out: Regenerated.
29700 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29701 (erfc_test_data): Likewise.
29702 (exp_test_data): Likewise.
29703 (exp_tonearest_test_data): Likewise.
29704 (exp_towardzero_test_data): Likewise.
29705 (exp_downward_test_data): Likewise.
29706 (exp_upward_test_data): Likewise.
29707 (exp10_test_data): Likewise.
29708 (exp2_test_data): Likewise.
29709 (expm1_test_data): Likewise.
29710 (j0_test_data): Likewise.
29711 (j1_test_data): Likewise.
29712 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29713 (input_flag_type): Add flag_xfail_rounding.
29714 (input_flags): Add xfail-rounding.
29715 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29716 (output_for_one_input_case): Handle flag_xfail_rounding.
29717 * sysdeps/i386/fpu/libm-test-ulps: Update.
29718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29720 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
29723 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29726 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29729 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29730 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29731 (STAP_PROBE0): New macro.
29732 (STAP_PROBE1): Likewise.
29733 (STAP_PROBE2): Likewise.
29734 (STAP_PROBE3): Likewise.
29735 (STAP_PROBE4): Likewise.
29737 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
29739 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29741 2013-12-02 Steve Ellcey <sellcey@mips.com>
29743 * benchtests/Makefile (bench): Add sqrt.
29744 (LDLIBS-bench-sqrt): New.
29745 * benchtests/sqrt-input: New.
29747 2013-12-02 Pavel Simerda <psimerda@redhat.com>
29749 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29750 (GAIH_EAI): Likewise.
29751 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29752 (gaih_inet): Likewise.
29753 (getaddrinfo): Don't use GAIH_EAI.
29755 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29756 (struct gaih): Remove definition.
29758 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29760 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29761 Use HERRNOP directly.
29763 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29767 2013-11-30 Joseph Myers <joseph@codesourcery.com>
29769 * math/gen-auto-libm-tests.c (test_functions): Add more
29770 single-argument functions.
29771 (special_fill_pi_2): New function.
29772 (special_fill_minus_pi_2): Likewise.
29773 (special_fill_pi_6): Likewise.
29774 (special_fill_minus_pi_6): Likewise.
29775 (special_fill_pi_3): Likewise.
29776 (special_fill_2pi_3): Likewise.
29777 (special_fill_e): Likewise.
29778 (special_fill_1_e): Likewise.
29779 (special_fill_e_minus_1): Likewise.
29780 (special_real_inputs): Add more special inputs.
29781 (output_for_one_input_case): Do not require ERANGE on underflow to
29782 zero if round-to-nearest result does not underflow to zero, unless
29783 exact results required.
29784 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29785 atan, atanh, cbrt, cos and cosh.
29786 * math/auto-libm-test-out: Regenerated.
29787 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29788 (acos_tonearest_test_data): Likewise.
29789 (acos_towardzero_test_data): Likewise.
29790 (acos_downward_test_data): Likewise.
29791 (acos_upward_test_data): Likewise.
29792 (acosh_test_data): Likewise.
29793 (asin_test_data): Likewise.
29794 (asin_tonearest_test_data): Likewise.
29795 (asin_towardzero_test_data): Likewise.
29796 (asin_upward_test_data): Likewise.
29797 (asinh_test_data): Likewise.
29798 (atan_test_data): Likewise.
29799 (atanh_test_data): Likewise.
29800 (cbrt_test_data): Likewise.
29801 (cos_test_data): Likewise.
29802 (cos_tonearest_test_data): Likewise.
29803 (cos_towardzero_test_data): Likewise.
29804 (cos_downward_test_data): Likewise.
29805 (cos_upward_test_data): Likewise.
29806 (cosh_test_data): Likewise.
29807 (cosh_tonearest_test_data): Likewise.
29808 (cosh_towardzero_test_data): Likewise.
29809 (cosh_downward_test_data): Likewise.
29810 (cosh_upward_test_data): Likewise.
29811 * sysdeps/i386/fpu/libm-test-ulps: Update.
29812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29814 2013-11-29 Joseph Myers <joseph@codesourcery.com>
29817 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29818 * math/w_exp10f.c (__exp10f): Likewise.
29819 * math/w_exp10l.c (__exp10l): Likewise.
29820 * math/libm-test.inc (exp10_test_data): Add more tests and expect
29821 errno settings in existing tests.
29824 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29825 precision control set to double precision.
29826 * sysdeps/i386/fpu/w_sqrt.c: New file.
29827 * math/auto-libm-test-in: Add more tests.
29828 * math/auto-libm-test-out: Update.
29830 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29831 (sqrt_test_tonearest): New function.
29832 (sqrt_towardzero_test_data): New variable.
29833 (sqrt_test_towardzero): New function.
29834 (sqrt_downward_test_data): New variable.
29835 (sqrt_test_downward): New function.
29836 (sqrt_upward_test_data): New variable.
29837 (sqrt_test_upward): New function.
29838 (main): Call the new functions.
29840 * math/gen-auto-libm-tests.c: New file.
29841 * math/auto-libm-test-in: Likewise.
29842 * math/auto-libm-test-out: New generated file.
29843 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29845 (%beautify): Add generated representations of zero.
29846 (top level): Set $auto_input and call parse_auto_input.
29847 (beautify): Remove trailing "f" from hex float constants.
29848 (parse_args): Handle XFAIL_TEST.
29849 (convert_condition): New function.
29850 (or_value): Likewise.
29851 (or_cond_value): Likewise.
29852 (generate_testfile): Handle AUTO_TESTS_* lines.
29853 (parse_auto_input): New function.
29854 * math/libm-test.inc (XFAIL_TEST): New macro.
29855 (ERRNO_UNCHANGED): Update value.
29856 (ERRNO_EDOM): Likewise.
29857 (ERRNO_ERANGE): Likewise.
29858 (IGNORE_RESULT): Likewise.
29859 (TEST_COND_flt_32): New macro.
29860 (TEST_COND_dbl_64): Likewise.
29861 (TEST_COND_ldbl_96_intel): Likewise.
29862 (TEST_COND_ldbl_96_m68k): Likewise.
29863 (TEST_COND_ldbl_128): Likewise.
29864 (TEST_COND_ldbl_128ibm): Likewise.
29865 (TEST_COND_long32): Likewise.
29866 (TEST_COND_long64): Likewise.
29867 (TEST_COND_before_rounding): Likewise.
29868 (TEST_COND_after_rounding): Likewise.
29869 (enable_test): Handle XFAIL_TEST flag.
29870 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29871 with finite results.
29872 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29873 auto-libm-test-out.
29875 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29876 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29879 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29880 __tls_get_addr_internal instead of __tls_get_offset in order to
29881 avoid GOT pointer dependency. Make rtld export
29882 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29883 __tls_get_addr since we are a __tls_get_offset platform.
29884 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29885 GOT pointer being set up before.
29886 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29888 2013-11-28 Joseph Myers <joseph@codesourcery.com>
29890 * manual/math.texi (Errors in Math Functions): Document accuracy
29894 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29895 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29896 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29897 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29898 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29899 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29900 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29901 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29902 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29903 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29904 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29905 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29906 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29907 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29908 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29909 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29911 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29912 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29913 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29914 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29915 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29917 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29919 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29921 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29922 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29923 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29924 atomic-feupdateenv and flt-rounds.
29925 * sysdeps/powerpc/nofpu/Versions (libc): Add
29926 __atomic_feholdexcept, __atomic_feclearexcept,
29927 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29928 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29929 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29930 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29931 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29936 * manual/arith.texi (FP Exceptions): Document that exceptions may
29937 not be raised when matherr is used.
29938 (Math Error Reporting): Document overflow in directed rounding
29939 modes. Document that errno may not be set when finite values are
29940 returned on overflow. Document intent to set errno on underflow
29941 only for underflow to zero.
29944 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29945 round-to-nearest then adjust result for other rounding modes.
29946 * include/fenv.h (fegetround): Use libm_hidden_proto.
29947 * math/fegetround.c (fegetround): Use libm_hidden_def.
29948 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29949 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29950 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29951 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29953 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29954 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29955 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29956 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29958 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29961 * nss/Versions (libnss_files): Add
29962 _nss_files_gethostbyname3_r.
29963 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29965 (HOST_DB_LOOKUP): Remove macro.
29966 (_nss_files_gethostbyname_r): Implement function without the
29967 HOST_DB_LOOKUP macro.
29968 (_nss_files_gethostbyname2_r): Likewise.
29970 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
29972 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29974 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
29976 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29977 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29980 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29982 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29983 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29984 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29985 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29986 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29987 __fe_nomask_env_priv and attribute_hidden.
29988 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29989 (libc_feupdateenv_test_ppc): Likewise.
29990 (libc_feresetround_ppc): Likewise.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29992 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29993 compat_symbol macro.
29994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29995 (__fe_nomask_env): Likewise.
29996 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29998 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30000 * string/Makefile: Remove ifunc tests.
30001 * string/test-string.h: Define TEST_IFUNC.
30002 * string/test-bcopy-ifunc.c: Remove.
30003 * string/test-bzero-ifunc.c: Likewise.
30004 * string/test-memccpy-ifunc.c: Likewise.
30005 * string/test-memchr-ifunc.c: Likewise.
30006 * string/test-memcmp-ifunc.c: Likewise.
30007 * string/test-memcpy-ifunc.c: Likewise.
30008 * string/test-memmem-ifunc.c: Likewise.
30009 * string/test-memmove-ifunc.c: Likewise.
30010 * string/test-mempcpy-ifunc.c: Likewise.
30011 * string/test-memrchr-ifunc.c: Likewise.
30012 * string/test-memset-ifunc.c: Likewise.
30013 * string/test-rawmemchr-ifunc.c: Likewise.
30014 * string/test-stpcpy-ifunc.c: Likewise.
30015 * string/test-stpncpy-ifunc.c: Likewise.
30016 * string/test-strcasecmp-ifunc.c: Likewise.
30017 * string/test-strcasestr-ifunc.c: Likewise.
30018 * string/test-strcat-ifunc.c: Likewise.
30019 * string/test-strchr-ifunc.c: Likewise.
30020 * string/test-strchrnul-ifunc.c: Likewise.
30021 * string/test-strcmp-ifunc.c: Likewise.
30022 * string/test-strcpy-ifunc.c: Likewise.
30023 * string/test-strcspn-ifunc.c: Likewise.
30024 * string/test-strlen-ifunc.c: Likewise.
30025 * string/test-strncasecmp-ifunc.c: Likewise.
30026 * string/test-strncat-ifunc.c: Likewise.
30027 * string/test-strncmp-ifunc.c: Likewise.
30028 * string/test-strncpy-ifunc.c: Likewise.
30029 * string/test-strnlen-ifunc.c: Likewise.
30030 * string/test-strpbrk-ifunc.c: Likewise.
30031 * string/test-strrchr-ifunc.c: Likewise.
30032 * string/test-strspn-ifunc.c: Likewise.
30033 * string/test-strstr-ifunc.c: Likewise.
30035 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30037 * benchtests/Makefile: Remove ifunc tests.
30038 * benchtests/bench-string.h: Define TEST_IFUNC.
30039 * benchtests/bench-bcopy-ifunc.c: Remove.
30040 * benchtests/bench-bzero-ifunc.c: Likewise.
30041 * benchtests/bench-memccpy-ifunc.c: Likewise.
30042 * benchtests/bench-memchr-ifunc.c: Likewise.
30043 * benchtests/bench-memcmp-ifunc.c: Likewise.
30044 * benchtests/bench-memcpy-ifunc.c: Likewise.
30045 * benchtests/bench-memmem-ifunc.c: Likewise.
30046 * benchtests/bench-memmove-ifunc.c: Likewise.
30047 * benchtests/bench-mempcpy-ifunc.c: Likewise.
30048 * benchtests/bench-memrchr-ifunc.c: Likewise.
30049 * benchtests/bench-memset-ifunc.c: Likewise.
30050 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30051 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30052 * benchtests/bench-stpcpy-ifunc.c: Likewise.
30053 * benchtests/bench-stpncpy-ifunc.c: Likewise.
30054 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30055 * benchtests/bench-strcasestr-ifunc.c: Likewise.
30056 * benchtests/bench-strcat-ifunc.c: Likewise.
30057 * benchtests/bench-strchr-ifunc.c: Likewise.
30058 * benchtests/bench-strchrnul-ifunc.c: Likewise.
30059 * benchtests/bench-strcmp-ifunc.c: Likewise.
30060 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30061 * benchtests/bench-strcpy-ifunc.c: Likewise.
30062 * benchtests/bench-strcspn-ifunc.c: Likewise.
30063 * benchtests/bench-strlen-ifunc.c: Likewise.
30064 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30065 * benchtests/bench-strncat-ifunc.c: Likewise.
30066 * benchtests/bench-strncmp-ifunc.c: Likewise.
30067 * benchtests/bench-strncpy-ifunc.c: Likewise.
30068 * benchtests/bench-strnlen-ifunc.c: Likewise.
30069 * benchtests/bench-strpbrk-ifunc.c: Likewise.
30070 * benchtests/bench-strrchr-ifunc.c: Likewise.
30071 * benchtests/bench-strsep-ifunc.c: Likewise.
30072 * benchtests/bench-strspn-ifunc.c: Likewise.
30073 * benchtests/bench-strstr-ifunc.c: Likewise.
30075 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30077 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30079 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
30081 * resolv/netdb.h: Use __glibc_reserved instead __unused.
30082 * rt/aio.h: Likewise.
30083 * sysdeps/gnu/bits/utmp.h: Likewise.
30084 * sysdeps/gnu/bits/utmpx.h: Likewise.
30085 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30086 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30087 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30088 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30089 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30090 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30091 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30092 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30093 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30094 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30095 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30096 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30097 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30099 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30100 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30101 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30102 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30103 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30104 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30105 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30106 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30107 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30108 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30109 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30111 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30112 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30113 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30114 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30115 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30116 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30118 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30119 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30120 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30121 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30122 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30123 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30124 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30125 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30126 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30128 2013-11-25 Carlos O'Donell <carlos@redhat.com>
30131 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30132 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30134 2013-11-25 Joseph Myers <joseph@codesourcery.com>
30136 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30137 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30140 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30142 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30143 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30144 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30145 (__fesetround): Remove define.
30146 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30147 rounding and exceptions handling.
30148 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30149 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30150 (__fe_nomask_env): Likewise.
30151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30152 __fegetround instead of fegetround.
30153 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30154 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30156 2013-11-21 Roland McGrath <roland@hack.frob.com>
30158 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30161 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30163 2013-11-21 Meador Inge <meadori@codesourcery.com>
30166 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30167 (encrypt_r): Likewise.
30168 * malloc/obstack.h (obstack_free): Likewise.
30169 * posix/unistd.h (encrypt): Likewise.
30171 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
30173 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30174 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30175 DL_CALL_DT_FINI() that call the functions directly.
30176 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30177 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30178 * elf/dl-fini.c: Likewise.
30180 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
30182 * malloc/hooks.c (memalign_check): Add alignment rounding.
30183 * malloc/malloc.c (_mid_memalign): New function.
30184 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30185 Implement by calling _mid_memalign.
30186 * manual/probes.texi (Memory Allocation Probes): Remove
30187 memory_valloc_retry and memory_pvalloc_retry.
30189 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30191 * locale/programs/locarchive.c (open_archive): Add const
30192 qualifier to ARCHIVEFNAME and copy default fname to
30196 * libio/tst-widetext.input: Rename Oriya to Odia.
30197 * locale/iso-639.def: Likewise.
30199 * manual/probes.texi (Mathematical Function Probes): Add
30200 documentation for sin, cos, asin and acos probes.
30201 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30202 (__sin32): Add slowasin probe.
30203 (__cos32): Add slowacos probe.
30204 (__mpsin): Add slowsin probe.
30205 (__mpcos): Add slowcos probe.
30207 2013-11-19 Joseph Myers <joseph@codesourcery.com>
30210 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30211 thread-local __sim_exceptions_thread and global
30212 __sim_exceptions_global.
30213 (__sim_disabled_exceptions): Change to thread-local
30214 __sim_disabled_exceptions_thread and global
30215 __sim_disabled_exceptions_global.
30216 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30217 and global __sim_round_mode_global.
30218 (__simulate_exceptions): Use thread-local floating-point state and
30219 set global state from it as needed.
30220 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30221 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30222 __sim_round_mode_thread.
30223 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30224 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30225 and global __sim_exceptions_global.
30226 (__sim_disabled_exceptions): Change to thread-local
30227 __sim_disabled_exceptions_thread and global
30228 __sim_disabled_exceptions_global.
30229 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30230 and global __sim_round_mode_global.
30231 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30232 (SIM_SET_GLOBAL): Likewise.
30233 * sysdeps/powerpc/soft-fp/sfp-machine.h
30234 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30235 __sim_round_mode_thread.
30236 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30237 __sim_disabled_exceptions_thread.
30238 (__sim_exceptions): Change to __sim_exceptions_thread.
30239 (__sim_disabled_exceptions): Change to
30240 __sim_disabled_exceptions_thread.
30241 (__sim_round_mode): Change to __sim_round_mode_thread.
30242 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30243 thread-local floating-point state and set global state from it as
30245 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30246 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30247 (__sim_disabled_exceptions): Remove extern declaration.
30248 (feenableexcept): Use thread-local floating-point state and set
30249 global state from it as needed.
30250 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30251 extern declaration.
30252 (__sim_disabled_exceptions): Likewise.
30253 (__sim_round_mode): Likewise.
30254 (__fegetenv): Use thread-local floating-point state.
30255 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30256 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30257 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30258 floating-point state and set global state from it as needed.
30259 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30260 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30261 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30263 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30264 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30266 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30267 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30268 Use __sim_round_mode_thread.
30269 * math/test-fenv-tls.c: New file.
30270 * math/Makefile (tests): Add test-fenv-tls.
30271 ($(objpfx)test-fenv-tls): Depend on
30272 $(common-objpfx)nptl/libpthread.so.
30274 2013-11-19 Andreas Schwab <schwab@suse.de>
30276 * locale/programs/locale.c (show_info): Decode wordarray elements.
30277 * locale/categories.def (LC_MONETARY): Add element for
30278 _NL_MONETARY_CRNCYSTR.
30279 * locale/C-monetary.c (conversion_rate): New variable.
30280 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30283 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
30285 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30286 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30288 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30290 * elf/Makefile (tst-auxv): New test.
30291 * elf/tst-auxv.c: New
30292 * elf/rtld.c (dl_main): Adjust AT_EXECFN
30294 2013-11-18 Joseph Myers <joseph@codesourcery.com>
30296 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30297 (hidden_proto): Caller changed.
30298 (hidden_tls_proto): New macro.
30299 (libc_hidden_tls_proto): Likewise.
30300 (rtld_hidden_tls_proto): Likewise.
30301 (libm_hidden_tls_proto): Likewise.
30302 (libresolv_hidden_tls_proto): Likewise.
30303 (librt_hidden_tls_proto): Likewise.
30304 (libdl_hidden_tls_proto): Likewise.
30305 (libnss_files_hidden_tls_proto): Likewise.
30306 (libnsl_hidden_tls_proto): Likewise.
30307 (libnss_nisplus_hidden_tls_proto): Likewise.
30308 (libutil_hidden_tls_proto): Likewise.
30310 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
30313 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30314 (decompose_rpath): Defer expansion to fillin_rpath.
30315 (_dl_init_paths): Pass linkmap to fillin_rpath.
30317 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30319 * benchtests/Makefile: Add strsep.
30320 * benchtests/bench-strsep.c: New file: strsep benchtest.
30321 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30323 2013-11-18 Andreas Schwab <schwab@suse.de>
30325 * locale/programs/locale.c (show_info) [case byte]: Check for
30326 '\377' instead of '\177'.
30327 * locale/C-monetary.c (not_available): Always use "\377".
30328 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30329 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
30330 detect unavailable sign_posn locale elements.
30331 * locale/localeconv.c (__localeconv): For grouping and
30332 mon_grouping handle "\177" and "\377" like no grouping.
30333 (INT_ELEM): New macro. Use it to set all numeric members.
30334 * locale/programs/ld-monetary.c (monetary_read)
30335 <tok_mon_grouping>: Normalize single -1 to the empty string.
30336 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30339 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30342 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30343 when we match (nil).
30344 * stdio-common/tst-sscanf.c (struct test): Add testcase.
30346 2013-11-16 Joseph Myers <joseph@codesourcery.com>
30348 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30349 (NO_TEST_INLINE): Update value.
30350 (ERRNO_UNCHANGED): Likewise.
30351 (ERRNO_EDOM): Likewise.
30352 (ERRNO_ERANGE): Likewise.
30353 (IGNORE_RESULT): Likewise.
30354 (check_float_internal): Check signs of NaN results if
30355 TEST_NAN_SIGN used.
30356 (check_complex): Pass TEST_NAN_SIGN flag through to second
30357 check_float_internal call.
30358 (copysign_test_data): Add tests with quiet NaNs as second
30359 argument. Use TEST_NAN_SIGN.
30360 (fabs_test_data): Add test of negative quiet NaN argument. Use
30362 (signbit_test_data): Add tests of quiet NaN argument.
30363 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30365 * math/gen-libm-test.pl (show_exceptions): Take extra argument
30367 (parse_args): Handle function results specified as IGNORE.
30368 * math/libm-test.inc (IGNORE_RESULT): New macro.
30369 (check_float_internal): Do not check numerical result if flag
30371 (check_complex): Pass through IGNORE_RESULT to second
30372 check_float_internal call.
30373 (check_int): Do not check numerical result if flag IGNORE_RESULT
30375 (check_long): Likewise.
30376 (check_bool): Likewise.
30377 (check_longlong): Likewise.
30378 (lrint_test_data): Add tests of infinite and NaN arguments.
30379 (lrint_tonearest_test_data): Likewise.
30380 (lrint_towardzero_test_data): Likewise.
30381 (lrint_downward_test_data): Likewise.
30382 (lrint_upward_test_data): Likewise.
30383 (llrint_test_data): Likewise.
30384 (llrint_tonearest_test_data): Likewise.
30385 (llrint_towardzero_test_data): Likewise.
30386 (llrint_downward_test_data): Likewise.
30387 (llrint_upward_test_data): Likewise.
30388 (lround_test_data): Likewise.
30389 (llround_test_data): Likewise.
30391 * math/libm-test.inc (NO_TEST_INLINE): New macro.
30392 (ERRNO_UNCHANGED): Update value.
30393 (ERRNO_EDOM): Likewise.
30394 (ERRNO_ERANGE): Likewise.
30395 (NO_TEST_INLINE_FLOAT): New macro.
30396 (NO_TEST_INLINE_DOUBLE): Likewise.
30397 (enable_test): New function.
30398 (RUN_TEST_f_f): Check enable_test before running test.
30399 (RUN_TEST_2_f): Likewise.
30400 (RUN_TEST_fff_f): Likewise.
30401 (RUN_TEST_c_f): Likewise.
30402 (RUN_TEST_f_f1): Likewise.
30403 (RUN_TEST_fF_f1): Likewise.
30404 (RUN_TEST_fI_f1): Likewise.
30405 (RUN_TEST_ffI_f1): Likewise.
30406 (RUN_TEST_c_c): Likewise.
30407 (RUN_TEST_cc_c): Likewise.
30408 (RUN_TEST_f_i): Likewise.
30409 (RUN_TEST_f_i_tg): Likewise.
30410 (RUN_TEST_ff_i_tg): Likewise.
30411 (RUN_TEST_f_b): Likewise.
30412 (RUN_TEST_f_b_tg): Likewise.
30413 (RUN_TEST_f_l): Likewise.
30414 (RUN_TEST_f_L): Likewise.
30415 (RUN_TEST_fFF_11): Likewise.
30416 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30418 (cosh_test_data): Likewise.
30419 (exp_test_data): Likewise.
30420 (expm1_test_data): Likewise.
30421 (hypot_test_data): Likewise.
30422 (pow_test_data): Likewise.
30423 (sinh_test_data): Likewise.
30424 (tanh_test_data): Likewise.
30425 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30428 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30429 tests with quiet NaN input and output.
30430 (acosh_test_data): Likewise.
30431 (asin_test_data): Likewise.
30432 (asinh_test_data): Likewise.
30433 (atan_test_data): Likewise.
30434 (atanh_test_data): Likewise.
30435 (atan2_test_data): Likewise.
30436 (cbrt_test_data): Likewise.
30437 (cos_test_data): Likewise.
30438 (cosh_test_data): Likewise.
30439 (erf_test_data): Likewise.
30440 (erfc_test_data): Likewise.
30441 (exp_test_data): Likewise.
30442 (exp10_test_data): Likewise.
30443 (exp2_test_data): Likewise.
30444 (expm1_test_data): Likewise.
30445 (hypot_test_data): Likewise.
30446 (j0_test_data): Likewise.
30447 (j1_test_data): Likewise.
30448 (jn_test_data): Likewise.
30449 (lgamma_test_data): Likewise.
30450 (log_test_data): Likewise.
30451 (log10_test_data): Likewise.
30452 (log1p_test_data): Likewise.
30453 (log2_test_data): Likewise.
30454 (pow_test_data): Likewise.
30455 (scalb_test_data): Likewise.
30456 (sin_test_data): Likewise.
30457 (sincos_test_data): Likewise.
30458 (sinh_test_data): Likewise.
30459 (tan_test_data): Likewise.
30460 (tanh_test_data): Likewise.
30461 (tgamma_test_data): Likewise.
30462 (y0_test_data): Likewise.
30463 (y1_test_data): Likewise.
30464 (yn_test_data): Likewise.
30467 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30468 argument being NaN and avoid computations with second argument in
30470 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30471 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30472 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30474 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
30476 * locale/iso-639.def: Add Chitwani Tharu (the).
30478 2013-11-14 Andreas Schwab <schwab@suse.de>
30480 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30481 word instead of empty string.
30483 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30486 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30488 (__fe_nomask_env): Likewise.
30490 2013-11-13 Steve Ellcey <sellcey@mips.com>
30492 * benchtests/bench-timing.h: Include time.h.
30494 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
30497 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30499 * sysdeps/unix/sysv/linux/configure: Regenerated.
30501 2013-11-13 Joseph Myers <joseph@codesourcery.com>
30504 * stdlib/strtod_l.c (round_and_return): Do not consider
30505 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30506 exponent one less than half the least subnormal exponent.
30507 * stdlib/test-strtod-round-data: Add more tests.
30508 * stdlib/tst-strtod-round.c (tests): Regenerated.
30510 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30513 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30514 (__fe_mask_env): Likewise.
30515 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30516 libm_hidden_proto and add function prototype.
30517 (__fe_mask_env): Add function prototype.
30518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30519 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30521 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30523 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30525 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30527 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30528 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30530 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30532 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30533 of htab_find_slot().
30535 2013-11-11 David S. Miller <davem@davemloft.net>
30538 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30539 symbol in the non-vis3 case in static builds.
30540 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30541 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30542 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30543 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30545 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
30548 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30551 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30553 * benchtests/Makefile: Add bench-strtod.
30554 * benchtests/bench-strtod.c: New file: strtod benchtest
30556 2013-11-11 Andreas Schwab <schwab@suse.de>
30559 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30560 terminating NUL in key length.
30562 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30564 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30565 Add artificial ODP entry for vDSO symbol for PPC64.
30566 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30567 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30569 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
30572 * nss/getent.c (services_keys): Recognize services starting with digit.
30574 2013-11-06 David S. Miller <davem@davemloft.net>
30577 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30578 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30580 2013-11-06 Will Newton <will.newton@linaro.org>
30582 * manual/memory.texi (Malloc Examples): Remove register
30583 keyword from examples.
30585 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
30587 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30589 2013-11-04 Joseph Myers <joseph@codesourcery.com>
30592 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30593 depending on [__GCC_IEC_559 > 0].
30594 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30595 depending on [__GCC_IEC_559_COMPLEX > 0].
30597 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
30599 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30602 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
30604 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30606 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
30609 * malloc/malloc (malloc_info): Do not handle first bin as
30612 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
30614 * locale/iso-639.def: Add Central Nahuatl (nhn).
30616 2013-11-01 Bruno Haible <bruno@clisp.org>
30619 * manual/math.texi (BSD Random): Specify range upper bound as
30622 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
30624 * locale/iso-639.def: Add Meadow Mari (mhr).
30626 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
30628 [BZ #14752], [BZ #15763]
30629 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30631 * rt/tst_shm.c: Add test for escaping directory.
30633 2013-10-31 Andreas Schwab <schwab@suse.de>
30636 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30637 followed by 'x' as part of digit sequence.
30638 * stdio-common/tst-sscanf.c (double_tests2): New tests.
30640 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30643 * configure.ac: allow GNU Make 4.0 and greater.
30644 * configure: Regenerated.
30646 2013-10-30 Will Newton <will.newton@linaro.org>
30649 * malloc/hooks.c (memalign_check): Limit alignment to the
30650 maximum representable power of two.
30651 * malloc/malloc.c (__libc_memalign): Likewise.
30652 * malloc/tst-memalign.c (do_test): Add test for very
30653 large alignment values.
30654 * malloc/tst-posix_memalign.c (do_test): Likewise.
30656 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30659 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30660 (munmap_chunk): Likewise.
30661 (mremap_chunk): Likewise.
30663 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
30666 * stdlib/div.c (div): Remove obsolete code.
30667 * stdlib/ldiv.c (ldiv): Likewise.
30668 * stdlib/lldiv.c (lldiv): Likewise.
30670 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30673 * nss/nss_files/files-XXX.c (get_contents_ret): New
30675 (get_contents): New function.
30676 (internal_getent): Use it. Expand size of LINEBUFLEN.
30678 2013-10-30 Mike Frysinger <vapier@gentoo.org>
30680 * configure.in: Moved to ...
30681 * configure.ac: ... here. Change reference to configure.in
30683 * sysdeps/arm/preconfigure.ac: ... here.
30684 configure.in to configure.ac.
30685 * sysdeps/gnu/configure.in: Moved to ...
30686 * sysdeps/gnu/configure.ac: ... here.
30687 * sysdeps/i386/configure.in: Moved to ...
30688 * sysdeps/i386/configure.ac: ... here.
30689 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30690 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30691 * sysdeps/mach/configure.in: Moved to ...
30692 * sysdeps/mach/configure.ac: ... here.
30693 * sysdeps/mach/hurd/configure.in: Moved to ...
30694 * sysdeps/mach/hurd/configure.ac: ... here.
30695 * sysdeps/powerpc/configure.in: Moved to ...
30696 * sysdeps/powerpc/configure.ac: ... here.
30697 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30698 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30699 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30700 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30701 * sysdeps/s390/s390-32/configure.in: Moved to ...
30702 * sysdeps/s390/s390-32/configure.ac: ... here.
30703 * sysdeps/s390/s390-64/configure.in: Moved to ...
30704 * sysdeps/s390/s390-64/configure.ac: ... here.
30705 * sysdeps/sh/configure.in: Moved to ...
30706 * sysdeps/sh/configure.ac: ... here.
30707 * sysdeps/sparc/configure.in: Moved to ...
30708 * sysdeps/sparc/configure.ac: ... here.
30709 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30710 * sysdeps/unix/sysv/linux/configure.ac: ... here.
30711 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30712 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30713 * sysdeps/x86_64/configure.in: Moved to ...
30714 * sysdeps/x86_64/configure.ac: ... here.
30715 * sysdeps/x86_64/preconfigure.in: Moved to ...
30716 * sysdeps/x86_64/preconfigure.ac: ... here.
30717 * aclocal.m4: Change reference to configure.in to configure.ac.
30718 * config.h.in: Likewise.
30719 * manual/install.texi: Likewise.
30720 * manual/maint.texi: Likewise.
30721 * Makefile: Likewise.
30722 * malloc/Makefile: Likewise.
30723 * nscd/Makefile: Likewise.
30724 * Makeconfig: Change reference to configure.in and
30725 preconfigure.in to configure.ac and preconfigure.ac
30727 * INSTALL: Regenerated.
30728 * configure: Likewise.
30729 * sysdeps/gnu/configure: Likewise.
30730 * sysdeps/i386/configure: Likewise.
30731 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30732 * sysdeps/mach/configure: Likewise.
30733 * sysdeps/mach/hurd/configure: Likewise.
30734 * sysdeps/powerpc/configure: Likewise.
30735 * sysdeps/powerpc/powerpc32/configure: Likewise.
30736 * sysdeps/powerpc/powerpc64/configure: Likewise.
30737 * sysdeps/s390/s390-32/configure: Likewise.
30738 * sysdeps/s390/s390-64/configure: Likewise.
30739 * sysdeps/sh/configure: Likewise.
30740 * sysdeps/sparc/configure: Likewise.
30741 * sysdeps/unix/sysv/linux/configure: Likewise.
30742 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30743 * sysdeps/x86_64/configure: Likewise.
30744 * sysdeps/x86_64/preconfigure: Likewise.
30746 2013-10-29 Andreas Schwab <schwab@suse.de>
30748 * stdio-common/Makefile (tst-swscanf-ENV): Define.
30750 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30752 * benchtests/pow-inputs: Add new inputs.
30754 * benchtests/exp-inputs: Add new inputs.
30756 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30757 conditional check for return value.
30758 (__cos32): Likewise.
30760 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30762 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30763 to provide a boost for large inputs with word alignment.
30764 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30765 implementation based on optimized PPC64 strcpy.
30766 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30767 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30768 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30769 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30771 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30774 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30776 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30779 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30780 * time/tst-strptime.c (day_tests): Add testcase.
30782 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
30785 * manual/pattern.texi: Acknowledge that fnmatch can fail.
30787 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
30790 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30791 MAP_FAILED on error.
30793 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30796 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30797 heap for large requests.
30799 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
30802 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30803 result if the result has no associated interface.
30804 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30805 interface for all 127.X.Y.Z addresses.
30807 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
30809 * locale/iso-639.def: Add Ligurian (lij)
30811 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
30814 * sunrpc/rpc_main.c: Document rpcgen -5.
30816 2013-10-19 Michael Stahl <mstahl@redhat.com>
30818 * elf/rtld.c (do_preload): Print the reason why preloading failed.
30820 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30823 * posix/glob.c: Match only directories when trailing slash is present.
30824 * posix/tst-gnuglob.c (my_opendir): Do not open files.
30825 (main): Add testcase.
30827 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
30830 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30832 2013-10-18 Carlos O'Donell <carlos@redhat.com>
30834 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30835 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30836 AUTH_DES and cindex for FIPS 140-2.
30837 (DES Encryption): Add cindex FIPS 46-3.
30839 * locale/locarchive.h (struct locarhandle): Add fname.
30840 * locale/programs/localedef.c (main): Pass ARGV[remaining]
30841 if an optional argument was specified to --list-archive,
30843 * locale/programs/locarchive.c (show_archive_content): Take new
30844 argument fname and pass it via ah.fname to open_archive.
30845 * locale/programs/localedef.h: Update decl.
30846 (open_archive): If AH->fname is non-null, open that file
30847 rather than the default file name, and don't ignore ENOENT.
30848 (create_archive): Set AH.fname to NULL.
30849 (delete_locales_from_archive): Likewise.
30850 (add_locales_to_archive): Likewise.
30851 * locale/programs/locfile.c (write_all_categories): Likewise.
30853 2013-10-18 Joseph Myers <joseph@codesourcery.com>
30854 Aldy Hernandez <aldyh@redhat.com>
30856 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30857 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30858 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30859 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30860 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30861 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30862 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30863 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30864 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30865 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30866 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30867 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30868 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30869 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30870 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30872 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30874 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30876 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30878 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30879 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30881 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30882 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30883 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30884 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30886 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30887 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30888 * sysdeps/powerpc/preconfigure: Likewise.
30889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30891 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30892 Replace contents of file by #include of <fenv_libc.h>.
30893 * sysdeps/powerpc/soft-fp/sfp-machine.h
30894 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30896 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30897 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30898 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30899 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30900 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30901 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30902 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30903 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30904 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30905 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30906 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30907 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30909 Allow copysignl PLT reference to be missing.
30911 2013-10-18 Richard Sandiford <richard@codesourcery.com>
30912 Joseph Myers <joseph@codesourcery.com
30915 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30917 (add_to_tablewc): Assert sequence of wide characters is nonempty.
30919 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30921 * elf/tst-tls-dlinfo.c: Don't include tls.h.
30922 * elf/tst-tls1.c: Likewise.
30923 * elf/tst-tls10.h: Likewise.
30924 * elf/tst-tls14.c: Likewise.
30925 * elf/tst-tls2.c: Likewise.
30926 * elf/tst-tls3.c: Likewise.
30927 * elf/tst-tls4.c: Likewise.
30928 * elf/tst-tls5.c: Likewise.
30929 * elf/tst-tls6.c: Likewise.
30930 * elf/tst-tls7.c: Likewise.
30931 * elf/tst-tls8.c: Likewise.
30932 * elf/tst-tls9.c: Likewise.
30933 * elf/tst-tlsmod1.c: Likewise.
30934 * elf/tst-tlsmod13.c: Likewise.
30935 * elf/tst-tlsmod13a.c: Likewise.
30936 * elf/tst-tlsmod14a.c: Likewise.
30937 * elf/tst-tlsmod16a.c: Likewise.
30938 * elf/tst-tlsmod16b.c: Likewise.
30939 * elf/tst-tlsmod2.c: Likewise.
30940 * elf/tst-tlsmod3.c: Likewise.
30941 * elf/tst-tlsmod4.c: Likewise.
30942 * elf/tst-tlsmod5.c: Likewise.
30943 * elf/tst-tlsmod6.c: Likewise.
30945 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
30948 * malloc/malloc.c: remove checks for statistics.
30950 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30953 * inet/inet_net.c (inet_network): Detect additional invalid strings.
30954 * inet/tst-network.c: Add testcase.
30956 2013-10-17 Andreas Schwab <schwab@suse.de>
30959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30960 to determine canonical name.
30962 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
30964 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30965 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30966 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30967 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30969 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30970 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30971 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30972 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30973 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30974 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30975 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30976 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30977 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30978 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30979 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30982 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30983 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30984 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30985 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30986 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30987 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30988 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30989 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30990 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30991 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30992 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30993 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30994 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30995 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30996 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30997 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30998 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30999 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31000 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31001 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31002 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31003 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31004 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31005 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31006 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31008 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31009 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31010 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31011 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31012 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31013 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31014 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31015 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31016 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31017 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31018 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31019 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31020 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31021 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31023 2013-10-17 Joseph Myers <joseph@codesourcery.com>
31026 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31027 make result into a quiet NaN.
31029 2013-10-16 Joseph Myers <joseph@codesourcery.com>
31031 * soft-fp/adddf3.c: Fix horizontal whitespace.
31032 * soft-fp/addsf3.c: Likewise.
31033 * soft-fp/addtf3.c: Likewise.
31034 * soft-fp/divdf3.c: Likewise.
31035 * soft-fp/divsf3.c: Likewise.
31036 * soft-fp/divtf3.c: Likewise.
31037 * soft-fp/double.h: Likewise.
31038 * soft-fp/eqdf2.c: Likewise.
31039 * soft-fp/eqsf2.c: Likewise.
31040 * soft-fp/eqtf2.c: Likewise.
31041 * soft-fp/extenddftf2.c: Likewise.
31042 * soft-fp/extended.h: Likewise.
31043 * soft-fp/extendsfdf2.c: Likewise.
31044 * soft-fp/extendsftf2.c: Likewise.
31045 * soft-fp/extendxftf2.c: Likewise.
31046 * soft-fp/fixdfdi.c: Likewise.
31047 * soft-fp/fixdfsi.c: Likewise.
31048 * soft-fp/fixdfti.c: Likewise.
31049 * soft-fp/fixsfdi.c: Likewise.
31050 * soft-fp/fixsfsi.c: Likewise.
31051 * soft-fp/fixsfti.c: Likewise.
31052 * soft-fp/fixtfdi.c: Likewise.
31053 * soft-fp/fixtfsi.c: Likewise.
31054 * soft-fp/fixtfti.c: Likewise.
31055 * soft-fp/fixunsdfdi.c: Likewise.
31056 * soft-fp/fixunsdfsi.c: Likewise.
31057 * soft-fp/fixunsdfti.c: Likewise.
31058 * soft-fp/fixunssfdi.c: Likewise.
31059 * soft-fp/fixunssfsi.c: Likewise.
31060 * soft-fp/fixunssfti.c: Likewise.
31061 * soft-fp/fixunstfdi.c: Likewise.
31062 * soft-fp/fixunstfsi.c: Likewise.
31063 * soft-fp/fixunstfti.c: Likewise.
31064 * soft-fp/floatdidf.c: Likewise.
31065 * soft-fp/floatdisf.c: Likewise.
31066 * soft-fp/floatditf.c: Likewise.
31067 * soft-fp/floatsidf.c: Likewise.
31068 * soft-fp/floatsisf.c: Likewise.
31069 * soft-fp/floatsitf.c: Likewise.
31070 * soft-fp/floattidf.c: Likewise.
31071 * soft-fp/floattisf.c: Likewise.
31072 * soft-fp/floattitf.c: Likewise.
31073 * soft-fp/floatundidf.c: Likewise.
31074 * soft-fp/floatundisf.c: Likewise.
31075 * soft-fp/floatunditf.c: Likewise.
31076 * soft-fp/floatunsidf.c: Likewise.
31077 * soft-fp/floatunsisf.c: Likewise.
31078 * soft-fp/floatunsitf.c: Likewise.
31079 * soft-fp/floatuntidf.c: Likewise.
31080 * soft-fp/floatuntisf.c: Likewise.
31081 * soft-fp/floatuntitf.c: Likewise.
31082 * soft-fp/fmadf4.c: Likewise.
31083 * soft-fp/fmasf4.c: Likewise.
31084 * soft-fp/fmatf4.c: Likewise.
31085 * soft-fp/gedf2.c: Likewise.
31086 * soft-fp/gesf2.c: Likewise.
31087 * soft-fp/getf2.c: Likewise.
31088 * soft-fp/ledf2.c: Likewise.
31089 * soft-fp/lesf2.c: Likewise.
31090 * soft-fp/letf2.c: Likewise.
31091 * soft-fp/muldf3.c: Likewise.
31092 * soft-fp/mulsf3.c: Likewise.
31093 * soft-fp/multf3.c: Likewise.
31094 * soft-fp/negdf2.c: Likewise.
31095 * soft-fp/negsf2.c: Likewise.
31096 * soft-fp/negtf2.c: Likewise.
31097 * soft-fp/op-1.h: Likewise.
31098 * soft-fp/op-2.h: Likewise.
31099 * soft-fp/op-4.h: Likewise.
31100 * soft-fp/op-8.h: Likewise.
31101 * soft-fp/op-common.h: Likewise.
31102 * soft-fp/quad.h: Likewise.
31103 * soft-fp/single.h: Likewise.
31104 * soft-fp/soft-fp.h: Likewise.
31105 * soft-fp/sqrtdf2.c: Likewise.
31106 * soft-fp/sqrtsf2.c: Likewise.
31107 * soft-fp/sqrttf2.c: Likewise.
31108 * soft-fp/subdf3.c: Likewise.
31109 * soft-fp/subsf3.c: Likewise.
31110 * soft-fp/subtf3.c: Likewise.
31111 * soft-fp/truncdfsf2.c: Likewise.
31112 * soft-fp/trunctfdf2.c: Likewise.
31113 * soft-fp/trunctfsf2.c: Likewise.
31114 * soft-fp/trunctfxf2.c: Likewise.
31115 * soft-fp/unorddf2.c: Likewise.
31116 * soft-fp/unordsf2.c: Likewise.
31117 * soft-fp/unordtf2.c: Likewise.
31119 2013-10-15 Joseph Myers <joseph@codesourcery.com>
31121 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31122 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31124 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
31126 * elf/dl-libc.c: Clear initfini list after freeing.
31128 2013-10-14 Joseph Myers <joseph@codesourcery.com>
31130 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31131 * soft-fp/addsf3.c: Likewise.
31132 * soft-fp/addtf3.c: Likewise.
31133 * soft-fp/divdf3.c: Likewise.
31134 * soft-fp/divsf3.c: Likewise.
31135 * soft-fp/divtf3.c: Likewise.
31136 * soft-fp/double.h: Likewise.
31137 * soft-fp/eqdf2.c: Likewise.
31138 * soft-fp/eqsf2.c: Likewise.
31139 * soft-fp/eqtf2.c: Likewise.
31140 * soft-fp/extenddftf2.c: Likewise.
31141 * soft-fp/extended.h: Likewise.
31142 * soft-fp/extendsfdf2.c: Likewise.
31143 * soft-fp/extendsftf2.c: Likewise.
31144 * soft-fp/extendxftf2.c: Likewise.
31145 * soft-fp/fixdfdi.c: Likewise.
31146 * soft-fp/fixdfsi.c: Likewise.
31147 * soft-fp/fixdfti.c: Likewise.
31148 * soft-fp/fixsfdi.c: Likewise.
31149 * soft-fp/fixsfsi.c: Likewise.
31150 * soft-fp/fixsfti.c: Likewise.
31151 * soft-fp/fixtfdi.c: Likewise.
31152 * soft-fp/fixtfsi.c: Likewise.
31153 * soft-fp/fixtfti.c: Likewise.
31154 * soft-fp/fixunsdfdi.c: Likewise.
31155 * soft-fp/fixunsdfsi.c: Likewise.
31156 * soft-fp/fixunsdfti.c: Likewise.
31157 * soft-fp/fixunssfdi.c: Likewise.
31158 * soft-fp/fixunssfsi.c: Likewise.
31159 * soft-fp/fixunssfti.c: Likewise.
31160 * soft-fp/fixunstfdi.c: Likewise.
31161 * soft-fp/fixunstfsi.c: Likewise.
31162 * soft-fp/fixunstfti.c: Likewise.
31163 * soft-fp/floatdidf.c: Likewise.
31164 * soft-fp/floatdisf.c: Likewise.
31165 * soft-fp/floatditf.c: Likewise.
31166 * soft-fp/floatsidf.c: Likewise.
31167 * soft-fp/floatsisf.c: Likewise.
31168 * soft-fp/floatsitf.c: Likewise.
31169 * soft-fp/floattidf.c: Likewise.
31170 * soft-fp/floattisf.c: Likewise.
31171 * soft-fp/floattitf.c: Likewise.
31172 * soft-fp/floatundidf.c: Likewise.
31173 * soft-fp/floatundisf.c: Likewise.
31174 * soft-fp/floatunsidf.c: Likewise.
31175 * soft-fp/floatunsisf.c: Likewise.
31176 * soft-fp/floatuntidf.c: Likewise.
31177 * soft-fp/floatuntisf.c: Likewise.
31178 * soft-fp/floatuntitf.c: Likewise.
31179 * soft-fp/fmadf4.c: Likewise.
31180 * soft-fp/fmasf4.c: Likewise.
31181 * soft-fp/fmatf4.c: Likewise.
31182 * soft-fp/gedf2.c: Likewise.
31183 * soft-fp/gesf2.c: Likewise.
31184 * soft-fp/getf2.c: Likewise.
31185 * soft-fp/ledf2.c: Likewise.
31186 * soft-fp/lesf2.c: Likewise.
31187 * soft-fp/letf2.c: Likewise.
31188 * soft-fp/muldf3.c: Likewise.
31189 * soft-fp/mulsf3.c: Likewise.
31190 * soft-fp/multf3.c: Likewise.
31191 * soft-fp/negdf2.c: Likewise.
31192 * soft-fp/negsf2.c: Likewise.
31193 * soft-fp/negtf2.c: Likewise.
31194 * soft-fp/op-1.h: Likewise.
31195 * soft-fp/op-2.h: Likewise.
31196 * soft-fp/op-4.h: Likewise.
31197 * soft-fp/op-8.h: Likewise.
31198 * soft-fp/op-common.h: Likewise.
31199 * soft-fp/quad.h: Likewise.
31200 * soft-fp/single.h: Likewise.
31201 * soft-fp/soft-fp.h: Likewise.
31202 * soft-fp/sqrtdf2.c: Likewise.
31203 * soft-fp/sqrtsf2.c: Likewise.
31204 * soft-fp/sqrttf2.c: Likewise.
31205 * soft-fp/subdf3.c: Likewise.
31206 * soft-fp/subsf3.c: Likewise.
31207 * soft-fp/subtf3.c: Likewise.
31208 * soft-fp/truncdfsf2.c: Likewise.
31209 * soft-fp/trunctfdf2.c: Likewise.
31210 * soft-fp/trunctfsf2.c: Likewise.
31211 * soft-fp/trunctfxf2.c: Likewise.
31212 * soft-fp/unorddf2.c: Likewise.
31213 * soft-fp/unordsf2.c: Likewise.
31214 * soft-fp/unordtf2.c: Likewise.
31216 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
31219 * misc/error.c (error_tail): Fix possible buffer overflow.
31221 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
31224 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31227 2013-10-14 P. J. McDermott <pj@pehjota.net>
31230 * elf/ldd.bash.in (try_trace): New function. Delete previous code
31231 testing pipefail option.
31233 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31235 * soft-fp/double.h: Indent preprocessor directives inside #if.
31236 * soft-fp/extended.h: Likewise.
31237 * soft-fp/op-2.h: Likewise.
31238 * soft-fp/op-4.h: Likewise.
31239 * soft-fp/op-common.h: Likewise.
31240 * soft-fp/quad.h: Likewise.
31241 * soft-fp/single.h: Likewise.
31242 * soft-fp/soft-fp.h: Likewise.
31244 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
31246 * iconv/iconv_prog.c: Fix typos.
31247 * stdio-common/psiginfo-data.h: Likewise.
31249 2013-10-12 Reuben Thomas <rrt@sc3d.org>
31252 * locale/setlocale.c: Fix typo.
31254 2013-10-12 Joseph Myers <joseph@codesourcery.com>
31257 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31258 signaling NaN arguments.
31259 * soft-fp/unordsf2.c (__unordsf2): Likewise.
31260 * soft-fp/unordtf2.c (__unordtf2): Likewise.
31263 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31264 unordered operands.
31265 * soft-fp/gesf2.c (__gesf2): Likewise.
31266 * soft-fp/getf2.c (__getf2): Likewise.
31267 * soft-fp/ledf2.c (__ledf2): Likewise.
31268 * soft-fp/lesf2.c (__lesf2): Likewise.
31269 * soft-fp/letf2.c (__letf2): Likewise.
31271 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31272 * soft-fp/eqsf2.c (__eqsf2): Likewise.
31273 * soft-fp/eqtf2.c (__eqtf2): Likewise.
31274 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31275 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31276 * soft-fp/fixdfti.c (__fixdfti): Likewise.
31277 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31278 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31279 * soft-fp/fixsfti.c (__fixsfti): Likewise.
31280 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31281 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31282 * soft-fp/fixtfti.c (__fixtfti): Likewise.
31283 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31284 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31285 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31286 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31287 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31288 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31289 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31290 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31291 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31292 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31293 * soft-fp/floatdisf.c (__floatdisf): Likewise.
31294 * soft-fp/floatsisf.c (__floatsisf): Likewise.
31295 * soft-fp/floattidf.c (__floattidf): Likewise.
31296 * soft-fp/floattisf.c (__floattisf): Likewise.
31297 * soft-fp/floattitf.c (__floattitf): Likewise.
31298 * soft-fp/floatundidf.c (__floatundidf): Likewise.
31299 * soft-fp/floatundisf.c (__floatundisf): Likewise.
31300 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31301 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31302 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31303 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31304 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31305 * soft-fp/gesf2.c (__gesf2): Likewise.
31306 * soft-fp/getf2.c (__getf2): Likewise.
31307 * soft-fp/ledf2.c (__ledf2): Likewise.
31308 * soft-fp/lesf2.c (__lesf2): Likewise.
31309 * soft-fp/letf2.c (__letf2): Likewise.
31311 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31312 Undefine and redefine.
31313 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31314 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31315 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31316 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31317 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31318 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31319 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31320 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31321 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31322 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31323 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31324 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31325 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31326 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31327 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31330 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31331 without decrementing exponent if mantissa >= that for the
31332 denominator, not >.
31333 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31334 denominator, not >. Decrement exponent in < case instead of
31335 incrementing in >= case.
31336 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31337 without decrementing exponent if mantissa >= that for the
31338 denominator, not >.
31340 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31341 computing saturated result for unsigned overflow.
31343 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31344 Jeff Law <law@redhat.com>
31346 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31347 (atan2Mp): Add systemtap probe marker.
31348 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31349 (__ieee754_log): Add systemtap probe marker.
31350 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31351 (atanMp): Add systemtap probe marker.
31352 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31353 (tanMp): Add systemtap probe marker.
31354 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31355 (__slowexp): Add systemtap probe marker.
31356 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31357 (__slowpow): Add systemtap probe marker.
31358 * manual/probes.texi: Document probes.
31360 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
31363 * libio/fileops.c (_IO_new_file_write): Return count of bytes
31365 (_IO_new_file_xsputn): Don't return EOF if nothing has been
31367 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31368 written to buffer but not flushed.
31369 * libio/iofwrite_u.c: Likewise.
31370 * libio/iopadn.c: Return bytes returned even if EOF was
31372 * libio/iowpadn.c: Likewise.
31373 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31374 if _IO_padn does not write the whole buffer.
31375 [!COMPILE_WPRINTF] (PAD): Likewise.
31377 2013-10-10 David S. Miller <davem@davemloft.net>
31379 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31382 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31384 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
31385 instead of FSF address.
31386 * soft-fp/fixdfti.c: Likewise.
31387 * soft-fp/fixsfti.c: Likewise.
31388 * soft-fp/fixtfti.c: Likewise.
31389 * soft-fp/fixunsdfti.c: Likewise.
31390 * soft-fp/fixunssfti.c: Likewise.
31391 * soft-fp/fixunstfti.c: Likewise.
31392 * soft-fp/floattidf.c: Likewise.
31393 * soft-fp/floattisf.c: Likewise.
31394 * soft-fp/floattitf.c: Likewise.
31395 * soft-fp/floatuntidf.c: Likewise.
31396 * soft-fp/floatuntisf.c: Likewise.
31397 * soft-fp/floatuntitf.c: Likewise.
31398 * soft-fp/trunctfxf2.c: Likewise.
31400 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
31401 * soft-fp/fixdfti.c: Likewise.
31402 * soft-fp/fixsfti.c: Likewise.
31403 * soft-fp/fixtfti.c: Likewise.
31404 * soft-fp/fixunsdfti.c: Likewise.
31405 * soft-fp/fixunssfti.c: Likewise.
31406 * soft-fp/fixunstfti.c: Likewise.
31407 * soft-fp/floattidf.c: Likewise.
31408 * soft-fp/floattisf.c: Likewise.
31409 * soft-fp/floattitf.c: Likewise.
31410 * soft-fp/floatuntidf.c: Likewise.
31411 * soft-fp/floatuntisf.c: Likewise.
31412 * soft-fp/floatuntitf.c: Likewise.
31413 * soft-fp/trunctfxf2.c: Likewise.
31415 2013-10-10 David S. Miller <davem@davemloft.net>
31417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31419 2013-10-10 Joseph Myers <joseph@codsourcery.com>
31421 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31422 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31423 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31424 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31425 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31426 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31427 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31430 for NaNs before doing comparisons on argument.
31431 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31434 2013-10-10 Will Newton <will.newton@linaro.org>
31436 * malloc/hooks.c (memalign_check): Ensure the value of bytes
31437 passed to _int_memalign does not overflow.
31439 2013-10-10 Torvald Riegel <triegel@redhat.com>
31441 * scripts/bench.pl: Add include-sources directive.
31442 * benchtests/README: Update documentation.
31444 2013-10-10 Joseph Myers <joseph@codesourcery.com>
31446 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31447 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31448 instead of FP_INIT_ROUNDMODE.
31449 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31450 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31453 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
31454 copy class of input value.
31455 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
31456 not handle exceptions.
31457 * soft-fp/negsf2.c (__negsf2): Likewise.
31458 * soft-fp/negtf2.c (__negtf2): Likewise.
31459 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31461 2013-10-09 Joseph Myers <joseph@codesourcery.com>
31463 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31464 semicolon. From Linux kernel.
31466 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
31468 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31470 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
31473 * manual/socket.texi: Added statement about buffer
31474 for gethostbyname2_r.
31476 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
31478 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31479 Use .p2align directive instead, throughout.
31480 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31481 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31482 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31483 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31484 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31485 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31486 * sysdeps/x86_64/strchr.S: Likewise.
31487 * sysdeps/x86_64/strrchr.S: Likewise.
31489 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31491 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31493 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31495 * sysdeps/generic/math_private.h (__mpsin1): Remove
31497 (__mpcos1): Likewise.
31498 (__mpsin): New argument __range_reduce.
31499 (__mpcos): Likewise.
31500 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31501 (slow): Use __mpsin and __mpcos.
31505 (sloww1): Likewise.
31506 (sloww2): Likewise.
31507 (bsloww): Likewise.
31508 (bsloww1): Likewise.
31509 (bsloww2): Likewise.
31510 (cslow2): Likewise.
31511 (csloww): Likewise.
31512 (csloww1): Likewise.
31513 (csloww2): Likewise.
31514 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31515 range_reduce. Merge in __mpsin1.
31516 (__mpcos): Likewise.
31517 (__mpsin1): Remove.
31518 (__mpcos1): Likewise.
31520 2013-10-07 Joseph Myers <joseph@codesourcery.com>
31522 * locale/loadlocale.c (_nl_intern_locale_data): Use
31524 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31525 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31526 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31527 obstack data is appropriately aligned.
31528 (obstack_int32_grow_fast): Likewise.
31529 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31530 * locale/programs/locfile.c (add_locale_uint32): Likewise.
31531 (add_locale_uint32_array): Likewise.
31533 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31535 * benchtests/Makefile: Remove ARGLIST and RET variables.
31536 ($(objpfx)bench-%.c): Pass only function name to the script.
31537 * benchtests/README: Update documentation.
31538 * benchtests/acos-inputs: Add new directives.
31539 * benchtests/acosh-inputs: Likewise.
31540 * benchtests/asin-inputs: Likewise.
31541 * benchtests/asinh-inputs: Likewise.
31542 * benchtests/atan-inputs: Likewise.
31543 * benchtests/atanh-inputs: Likewise.
31544 * benchtests/cos-inputs: Likewise.
31545 * benchtests/cosh-inputs: Likewise.
31546 * benchtests/exp-inputs: Likewise.
31547 * benchtests/log-inputs: Likewise.
31548 * benchtests/pow-inputs: Likewise.
31549 * benchtests/rint-inputs: Likewise.
31550 * benchtests/sin-inputs: Likewise.
31551 * benchtests/sinh-inputs: Likewise.
31552 * benchtests/tan-inputs: Likewise.
31553 * benchtests/tanh-inputs: Likewise.
31554 * scripts/bench.pl: Add support for new directives.
31556 2013-10-07 Alan Modra <amodra@gmail.com>
31558 * README: Fix careless merge.
31560 2013-10-05 Alan Modra <amodra@gmail.com>
31562 * NEWS: Mention powerpc64le support and bugs fixed.
31563 * README: Both big-endian and little-endian powerpc64 supported.
31565 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
31567 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31568 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31569 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31570 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31572 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
31574 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31577 2013-10-04 Joseph Myers <joseph@codesourcery.com>
31579 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31580 Move -mhard-float appending from
31581 ports/sysdeps/powerpc/powerpc32/Makefile.
31582 [$(with-fp) = yes] (ASFLAGS): Likewise.
31583 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31584 * sysdeps/powerpc/nofpu: Move directory from
31585 ports/sysdeps/powerpc/nofpu.
31586 * sysdeps/powerpc/soft-fp: Move directory from
31587 ports/sysdeps/powerpc/soft-fp.
31588 * sysdeps/powerpc/powerpc32/405: Move directory from
31589 ports/sysdeps/powerpc/powerpc32/405.
31590 * sysdeps/powerpc/powerpc32/440: Move directory from
31591 ports/sysdeps/powerpc/powerpc32/440.
31592 * sysdeps/powerpc/powerpc32/464: Move directory from
31593 ports/sysdeps/powerpc/powerpc32/464.
31594 * sysdeps/powerpc/powerpc32/476: Move directory from
31595 ports/sysdeps/powerpc/powerpc32/476.
31596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31597 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31599 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31601 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31603 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31605 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31606 * README: Update for powerpc-*-linux-gnu software floating point
31609 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31610 case to powerpc/powerpc32*.
31611 * sysdeps/unix/sysv/linux/configure: Regenerated.
31613 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31614 (_FPU_MASK_OM): Define as 0x04.
31615 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31618 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31623 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31626 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31629 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31630 and setcontext_e500.
31632 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
31634 * locale/iso-3166.def: Update iso-1366.def and related occurrences
31636 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31638 * manual/threads.texi (Default Thread Attributes): Fix typo.
31640 2013-10-04 Will Newton <will.newton@linaro.org>
31642 * malloc/Makefile: Add tst-memalign.
31643 * malloc/tst-memalign.c: New file.
31645 * malloc/tst-posix_memalign.c: Add comments.
31646 (do_test): Add comments and call free on all potentially
31647 allocated pointers. Add space after cast.
31649 * malloc/tst-pvalloc.c: Add comments.
31650 (do_test): Add comments and call free on all potentially
31651 allocated pointers. Remove duplicate check for NULL pointer.
31652 Add space after cast.
31654 * malloc/tst-valloc.c: Add comments.
31655 (do_test): Add comments and call free on all potentially
31656 allocated pointers. Remove duplicate check for NULL pointer.
31657 Add space after cast.
31659 2013-10-04 Alan Modra <amodra@gmail.com>
31661 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31662 Use stdint types in rather than __attribute__((mode())).
31663 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31665 2013-10-04 Alan Modra <amodra@gmail.com>
31667 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31668 Correct handling of unaligned relocs for little-endian.
31669 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31671 2013-10-04 Alan Modra <amodra@gmail.com>
31673 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31674 * configure: Regenerate.
31675 * nptl/shlib-versions: Powerpc*le starts at 2.18.
31676 * shlib-versions: Likewise.
31678 2013-10-04 Alan Modra <amodra@gmail.com>
31680 * string/tester.c (test_memrchr): Increment reported test cycle.
31682 2013-10-04 Alan Modra <amodra@gmail.com>
31684 * string/test-memcpy.c (do_one_test): When reporting errors, print
31685 string address and don't overrun end of string.
31687 2013-10-04 Alan Modra <amodra@gmail.com>
31689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31690 insrdi. Make better use of reg selection to speed exit slightly.
31691 Schedule entry path a little better. Remove useless "are we done"
31692 checks on entry to main loop. Handle wrapping around zero address.
31693 Correct main loop count. Handle single left-over word from main
31694 loop inline rather than by using loop_small. Remove extra word
31695 case in loop_small caused by wrong loop count. Add little-endian
31697 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31698 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
31700 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31701 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31702 support. Avoid rlwimi.
31703 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31705 2013-10-04 Alan Modra <amodra@gmail.com>
31707 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31708 insrdi. Formatting.
31709 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31710 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31711 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31712 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31713 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31714 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31716 2013-10-04 Alan Modra <amodra@gmail.com>
31718 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31719 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31720 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31721 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31722 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31723 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31724 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31725 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31726 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
31727 use of regs. Use power7 mtocrf. Tidy function tails.
31729 2013-10-04 Alan Modra <amodra@gmail.com>
31731 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31732 Formatting. Consistently use rXXX register defines or rN defines.
31733 Use early exit labels that avoid restoring unused non-volatile regs.
31734 Make cr field use more consistent with rWORDn compares. Rename
31735 regs used as shift registers for unaligned loop, using rN defines
31736 for short lifetime/multiple use regs.
31737 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31738 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
31739 addi 1,1,64 to pop stack frame. Simplify return value code.
31740 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31742 2013-10-04 Alan Modra <amodra@gmail.com>
31744 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31745 support. Correct typos, formatting. Optimize tail. Use insrdi
31746 rather than rlwimi.
31747 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31748 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31749 little-endian support. Correct typos.
31750 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
31751 rather than rlwimi.
31752 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
31753 in loop and entry code to keep "and." results.
31754 (strchr): Add little-endian support. Comment. Move cntlzd
31756 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31758 2013-10-04 Alan Modra <amodra@gmail.com>
31760 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31761 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31762 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31763 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31765 2013-10-04 Alan Modra <amodra@gmail.com>
31767 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31768 (rTMP): Define as r11.
31769 (strcmp): Add little-endian support. Optimise tail.
31770 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31772 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31773 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31774 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31775 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31776 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31778 2013-10-04 Alan Modra <amodra@gmail.com>
31780 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31781 little-endian support. Remove unnecessary "are we done" tests.
31782 Handle "s" wrapping around zero and extremely large "size".
31783 Correct main loop count. Handle single left-over word from main
31784 loop inline rather than by using small_loop. Correct comments.
31785 Delete "zero" tail, use "end_max" instead.
31786 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31788 2013-10-04 Alan Modra <amodra@gmail.com>
31790 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31791 support. Don't branch over align.
31792 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31793 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31794 support. Rearrange tmp reg use to suit. Comment.
31795 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31797 2013-10-04 Alan Modra <amodra@gmail.com>
31799 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31801 2013-10-04 Alan Modra <amodra@gmail.com>
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31804 conditional form of branch and link when obtaining pc.
31805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31807 2013-10-04 Alan Modra <amodra@gmail.com>
31809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31814 2013-10-04 Alan Modra <amodra@gmail.com>
31816 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31817 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31818 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31819 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31820 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31821 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31822 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31823 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31824 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31825 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31827 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31828 Alistair Popple <alistair@ozlabs.au.ibm.com>
31829 Alan Modra <amodra@gmail.com>
31832 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31833 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31834 _dl_hwcap access for little-endian.
31835 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
31836 destroy vmx regs when saving unaligned.
31837 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31838 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
31839 destroy vmx regs when saving unaligned.
31841 2013-10-04 Alan Modra <amodra@gmail.com>
31843 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31844 Don't use a union to pack hi/low value.
31846 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31848 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31850 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31852 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31853 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31854 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31856 2013-10-04 Alan Modra <amodra@gmail.com>
31858 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31859 constants to usual value for .cst8 section, and remove redundant
31861 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31862 constant for 0x1p52. Load little-endian words of double from
31863 correct stack offsets.
31865 2013-10-04 Alan Modra <amodra@gmail.com>
31867 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31868 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31869 words of double from correct stack offsets.
31870 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31871 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31872 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31873 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31875 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31876 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31877 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31878 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31879 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31880 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31881 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31882 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31883 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31884 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31885 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31886 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31888 2013-10-04 Alan Modra <amodra@gmail.com>
31890 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31891 64-bit int/double union.
31892 (_FPU_SETCW): Likewise.
31893 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31894 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31896 2013-10-04 Alan Modra <amodra@gmail.com>
31898 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31899 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31901 2013-10-04 Alan Modra <amodra@gmail.com>
31903 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31904 use vector int constants.
31905 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31907 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31909 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31910 array with long long.
31911 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31912 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31913 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31914 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31915 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31916 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31917 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31918 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31919 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31920 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31921 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31922 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31923 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31925 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
31927 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31928 (__signbit): Likewise. Correct for little-endian.
31929 (__signbitl): Call __signbit.
31930 (lrint): Correct for little-endian.
31931 (lrintf): Call lrint.
31933 2013-10-04 Alan Modra <amodra@gmail.com>
31935 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31936 union 32-bit int array member with 64-bit int array.
31937 (t515, tm256): Double rather than long double.
31938 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31940 2013-10-04 Alan Modra <amodra@gmail.com>
31942 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31944 (IEEE854_LONG_DOUBLE_BIAS): Delete.
31945 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31946 version of math_ldbl.h.
31948 2013-10-04 Alan Modra <amodra@gmail.com>
31950 [BZ #15734], [BZ #15735]
31951 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31952 all uses of ieee875 long double macros and unions. Simplify test
31953 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
31954 ldbl_extract_mantissa value for ix,iy exponents. Properly
31955 normalize after ldbl_extract_mantissa, and don't add hidden bit
31956 already handled. Don't treat low word of ieee854 mantissa like
31957 low word of IBM long double and mask off bit when testing for
31959 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31960 all uses of ieee875 long double macros and unions. Simplify tests
31961 for 0.0L and inf. Correct double adjustment of k. Delete dead code
31962 adjusting ha,hb. Simplify code setting kld. Delete two600 and
31963 two1022, instead use their values. Recognise that tests for large
31964 "a" and small "b" are mutually exclusive. Rename vars. Comment.
31965 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31966 Rewrite all uses of ieee875 long double macros and unions. Simplify
31967 test for 0.0L and nan. Correct negation.
31968 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31969 ieee875 long double macros and unions. Correct output for large
31970 magnitude x. Correct absolute value calculation.
31971 (__erfcl): Likewise.
31972 * math/libm-test.inc: Add tests for errors discovered in IBM long
31973 double versions of fmodl, remainderl, erfl and erfcl.
31975 2013-10-04 Alan Modra <amodra@gmail.com>
31977 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31978 all uses of ieee854 long double macros and unions. Simplify tests
31979 for long doubles that are fully specified by the high double.
31980 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31982 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31983 Remove dead code too.
31984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31985 (__ieee754_ynl): Likewise.
31986 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31987 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31988 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31989 Remove dead code too.
31990 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31991 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31992 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31993 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31995 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31997 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31998 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31999 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32000 Comment on variable precision.
32001 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32002 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32004 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32005 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32006 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32007 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32008 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32010 2013-10-04 Alan Modra <amodra@gmail.com>
32012 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32013 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32014 all uses of ieee854 long double macros and unions.
32015 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32016 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32017 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32018 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32019 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32020 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32022 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32023 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32024 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32025 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32026 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32027 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32028 Simplify sign and nan test too.
32029 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32030 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32031 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32032 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32034 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32035 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32037 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32038 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32039 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32040 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32041 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32042 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32044 2013-10-04 Alan Modra <amodra@gmail.com>
32046 * stdio-common/printf_size.c (__printf_size): Don't use
32047 union ieee854_long_double in fpnum union.
32048 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
32049 signbit macro to retrieve sign from long double.
32050 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32051 retrieve sign from long double.
32052 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32053 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32054 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32055 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32056 * math/test-misc.c (main): Don't use union ieee854_long_double.
32058 2013-10-04 Alan Modra <amodra@gmail.com>
32061 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32062 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32063 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32064 calculation. Remove unnecessary test for denormal exponent.
32065 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32066 Correct handling of denormals. Avoid undefined shift behaviour.
32067 Correct normalisation of low mantissa when low double is denormal.
32068 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32069 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
32070 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32071 Correct normalisation of low mantissa. Test for overflow of high
32072 mantissa and normalise.
32073 (ldbl_nearbyint): Use more readable constant for two52.
32074 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32075 (__mpn_construct_long_double): Fix test for overflow of high
32076 mantissa and correct normalisation. Avoid undefined shift.
32078 2013-10-04 Alan Modra <amodra@gmail.com>
32080 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32081 (union ibm_extended_long_double): Define as an array of ieee754_double.
32082 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32083 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32084 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32085 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32086 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32087 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32088 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32089 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32090 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32091 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32092 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32094 2013-10-03 Joseph Myers <joseph@codesourcery.com>
32096 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32097 page size instead of calling getpagesize.
32099 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32100 (LOCFILE_ALIGN_MASK): Likewise.
32101 (LOCFILE_ALIGN_UP): Likewise.
32102 (LOCFILE_ALIGNED_P): Likewise.
32103 * locale/programs/ld-collate.c (collate_output): Use the new
32104 macros instead of __alignof__ (int32_t).
32105 * locale/weight.h (findidx): Likewise.
32107 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
32110 * manual/string.texi: Fix strncat and wcsncat.
32112 2013-10-03 Brooks Moses <bmoses@google.com>
32115 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32116 * Makerules: ...here, and adjust associated comments.
32118 2013-10-02 Will Newton <will.newton@linaro.org>
32120 * malloc/Makefile: Add tst-pvalloc.
32121 * malloc/tst-pvalloc.c: New file.
32123 2013-10-02 Will Newton <will.newton@linaro.org>
32125 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32126 improve test coverage.
32128 2013-10-02 Will Newton <will.newton@linaro.org>
32130 * malloc/Makefile: Add tst-posix_memalign.
32131 * malloc/tst-posix_memalign.c: New file.
32133 2013-10-01 Eric Blake <eblake@redhat.com>
32135 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32136 Use __THROWNL rather than __THROW on static functions.
32138 2013-09-30 Petr Machata <pmachata@redhat.com>
32140 * elf/elf.h (R_AARCH64_ABS16): New macro.
32141 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32142 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32143 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32144 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32145 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32146 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32147 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32148 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32149 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32150 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32151 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32152 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32153 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32154 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32155 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32156 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32157 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32158 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32159 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32160 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32161 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32162 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32163 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32164 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32165 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32166 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32167 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32168 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32169 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32170 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32171 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32172 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32173 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32174 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32175 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32176 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32177 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32178 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32179 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32180 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32181 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32182 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32183 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32184 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32185 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32186 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32187 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32188 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32189 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32190 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32191 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32192 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32193 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32194 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32195 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32196 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32197 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32198 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32199 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32200 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32201 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32202 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32203 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32204 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32205 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32206 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32207 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32208 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32209 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32210 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32211 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32212 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32213 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32214 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32215 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32216 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32217 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32218 (R_AARCH64_TLSDESC_LDR): Likewise.
32219 (R_AARCH64_TLSDESC_ADD): Likewise.
32220 (R_AARCH64_TLSDESC_CALL): Likewise.
32222 2013-09-30 Andreas Schwab <schwab@suse.de>
32225 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32226 the nss database lookup.
32227 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32230 2013-09-28 Mike Frysinger <vapier@gentoo.org>
32232 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32234 2013-09-28 P. J. McDermott <pj@pehjota.net>
32236 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32237 ${Bash-specific parameter/pattern/string} parameter expansion.
32238 * sysdeps/unix/make-syscalls.sh: Likewise.
32240 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32242 * sysdeps/sh/stackguard-macros.h: New file.
32244 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
32246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32248 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32249 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32250 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32251 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32253 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32255 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32256 Fix thread ID register.
32258 2013-09-25 Joseph Myers <joseph@codesourcery.com>
32260 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32261 [POSIX || UNIX98]: Require rather than permitting all symbols from
32263 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32264 element of struct sched_param.
32265 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32266 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32267 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32268 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32271 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
32273 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32274 argument calculation.
32276 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32278 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32280 [POSIX] (pthread_attr_t): Do not require type.
32281 [POSIX] (pthread_cond_t): Likewise.
32282 [POSIX] (pthread_condattr_t): Likewise.
32283 [POSIX] (pthread_key_t): Likewise.
32284 [POSIX] (pthread_mutex_t): Likewise.
32285 [POSIX] (pthread_mutexattr_t): Likewise.
32286 [POSIX] (pthread_once_t): Likewise.
32287 [POSIX] (pthread_t): Likewise.
32288 [POSIX-based standards] (pthread_atfork): Expect function.
32290 2013-09-24 Joseph Myers <joseph@codesourcery.com>
32291 Richard Sandiford <richard@codesourcery.com>
32293 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32294 (swap_endianness_p): New extern variable.
32295 (set_big_endian): New inline function.
32296 (maybe_swap_uint32): Likewise.
32297 (maybe_swap_uint32_array): Likewise.
32298 (maybe_swap_uint32_obstack): Likewise.
32299 * locale/programs/locfile.c: Include <stdbool.h>.
32300 (swap_endianness_p): New variable.
32301 (add_locale_uint32): Call maybe_swap_uint32.
32302 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32303 (write_locale_data): Call maybe_swap_uint32_array.
32304 * locale/programs/ld-collate.c (obstack_int32_grow): Call
32306 (obstack_int32_grow_fast): Likewise.
32307 (output_weightwc): Call maybe_swap_uint32_obstack.
32308 (collate_output): Likewise.
32309 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32310 (OPT_LITTLE_ENDIAN): Likewise.
32311 (options): Add --little-endian and --big-endian options.
32312 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32313 * locale/programs/locarchive.c: Include "locfile.h".
32317 (create_archive): Use the new macros to access fields of
32318 structures directly mapped from or written to locale archives.
32319 (oldlocrecentcmp): Likewise.
32320 (enlarge_archive): Likewise.
32321 (insert_name): Likewise.
32322 (add_alias): Likewise.
32323 (add_locale): Likewise.
32324 (delete_locales_from_archive): Likewise.
32325 (show_archive_content): Likewise.
32326 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
32329 2013-09-24 Roland McGrath <roland@hack.frob.com>
32331 * manual/freemanuals.texi: Updated from (newly) canonical copy at
32332 http://www.gnu.org/doc/freemanuals.texi.
32333 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32335 2013-09-24 Will Newton <will.newton@linaro.org>
32337 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32340 2013-09-23 Joseph Myers <joseph@codesourcery.com>
32342 * locale/hashval.h (compute_hashval): Interpret bytes of key as
32345 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
32347 * manual/threads.texi (POSIX Threads): Fix a typo.
32349 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32352 * string/tst-strcoll-overflow.c: New test case.
32353 * string/Makefile (xtests): Add tst-strcoll-overflow.
32354 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32355 cache if string sizes may cause integer overflow.
32358 * string/strcoll_l.c (coll_seq): New members rule, idx,
32359 save_idx and back_us.
32360 (get_next_seq_nocache): New function.
32361 (do_compare_nocache): New function.
32362 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32365 2013-09-23 Carlos O'Donell <carlos@redhat.com>
32368 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32369 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32370 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32373 * elf/Makefile (tests): Add tst-ptrguard1.
32374 (tests-static): Add tst-ptrguard1-static.
32375 (tst-ptrguard1-ARGS): Define.
32376 (tst-ptrguard1-static-ARGS): Define.
32377 * elf/tst-ptrguard1.c: New file.
32378 * elf/tst-ptrguard1-static.c: New file.
32379 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32380 * sysdeps/i386/stackguard-macros.h: Likewise.
32381 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32382 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32383 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32384 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32385 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32386 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32388 2013-09-23 Hector Marco <hecmargi@upv.es>
32389 Ismael Ripoll <iripoll@disca.upv.es>
32390 Carlos O'Donell <carlos@redhat.com>
32393 * sysdeps/generic/stackguard-macros.h: Define
32394 __pointer_chk_guard_local and POINTER_CHK_GUARD.
32395 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32396 Define __pointer_chk_guard_local.
32397 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32398 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32400 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
32403 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32405 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
32407 * include/string.h (__ffs): Declare as hidden.
32408 * string/ffs.c (__ffs): Define as hidden.
32409 * sysdeps/i386/ffs.c (__ffs): Likewise.
32410 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32411 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32412 * sysdeps/s390/ffs.c (__ffs): Likewise.
32413 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32415 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
32417 * NEWS: Mention malloc probes.
32419 * malloc/arena.c (new_heap): New memory_heap_new probe.
32420 (grow_heap): New memory_heap_more probe.
32421 (shrink_heap): New memory_heap_less probe.
32422 (heap_trim): New memory_heap_free probe.
32423 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32424 (systrim): New memory_sbrk_less probe.
32425 * manual/probes.texi: Document them.
32427 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32428 * manual/probes.texi: Document it.
32430 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32431 (__libc_realloc): Add memory_realloc_retry probe.
32432 (__libc_memalign): Add memory_memalign_retry probe.
32433 (__libc_valloc): Add memory_valloc_retry probe.
32434 (__libc_pvalloc): Add memory_pvalloc_retry probe.
32435 (__libc_calloc): Add memory_calloc_retry probe.
32436 * manual/probes.texi: Document them.
32438 * malloc/arena.c (get_free_list): Add probe
32439 memory_arena_reuse_free_list.
32440 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32441 and memory_arena_reuse.
32442 (arena_get2) [!PER_THREAD]: Likewise.
32443 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32444 memory_arena_reuse_realloc.
32445 * manual/probes.texi: Document them.
32447 * malloc/malloc.c (__libc_free): Add
32448 memory_mallopt_free_dyn_thresholds probe.
32449 (__libc_mallopt): Add multiple memory_mallopt probes.
32450 * manual/probes.texi: Document them.
32452 * malloc/malloc.c: Include stap-probe.h.
32453 (__libc_mallopt): Add memory_mallopt probe.
32454 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32455 * manual/probes.texi: New.
32456 * manual/Makefile (chapters): Add probes.
32457 * manual/threads.texi: Set next node.
32459 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
32461 [BZ #15963, #13985]
32462 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32463 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32464 Add `Chinese' to `nan' entry name.
32466 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32468 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32469 (POLYNOMIAL): Likewise.
32470 (TAYLOR_SINCOS): Likewise.
32471 (TAYLOR_SLOW): Likewise.
32472 (__sin): Use TAYLOR_SINCOS.
32474 (slow): Use TAYLOR_SLOW.
32476 (bsloww): Likewise.
32477 (csloww): Likewise.
32479 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32481 * stdlib/strtod_l.c: Fix buffer overrun.
32483 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32485 * benchtests/Makefile (bench): Add sincos.
32486 * benchtests/bench-sincos.c: New file.
32488 * math/libm-test.inc (cos_test_data): New test inputs.
32489 (sin_test_data): Likewise.
32491 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32497 (sloww1): Likewise.
32498 (sloww2): Likewise.
32499 (bsloww1): Likewise.
32500 (bsloww2): Likewise.
32501 (cslow2): Likewise.
32502 (csloww1): Likewise.
32503 (csloww2): Likewise.
32505 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32510 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32514 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
32516 * config.h.in (HAVE_MIPS_NAN2008): New macro.
32517 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32518 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32519 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32520 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32521 * elf/cache.c (print_entry): Handle the new cache flags.
32523 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32524 Aldy Hernandez <aldyh@redhat.com>
32526 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32527 Change condition to [_SOFT_FLOAT].
32528 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32529 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32530 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32531 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32532 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32533 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32534 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32535 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32536 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32537 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32538 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32539 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32540 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32543 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32546 2013-09-18 Joseph Myers <joseph@codesourcery.com>
32548 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32549 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32550 (__longjmp): Use LOAD_GP to load saved GPRs.
32551 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32552 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32553 (__sigsetjmp): Use SAVE_GP to save GPRs.
32555 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32556 Do not append -msoft-float.
32557 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32559 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32561 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32563 2013-09-17 Joseph Myers <joseph@codesourcery.com>
32566 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32567 (_FPU_GETCW): Use initial "__" on variable and field names but not
32568 on macro parameter name.
32569 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
32570 parentheses around reference to macro parameter.
32572 2013-09-13 Richard Sandiford <richard@codesourcery.com>
32574 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32576 (ctype_startup): Use uint32_t in cast and sizeof for
32579 2013-09-11 Jia Liu <proljc@gmail.com>
32581 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32583 [__FreeBSD__]: Likewise.
32585 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
32587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32588 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32589 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32590 (strchr): Remove __strchr_sse42 ifunc selection.
32591 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32592 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32594 2013-09-11 Will Newton <will.newton@linaro.org>
32596 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32597 parameter to RES. Remove hardcoded 1000 value.
32598 * benchtests/bench-skeleton.c (main): Pass RES parameter
32599 to TIMING_INIT and multiply result by 1000.
32601 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32603 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32605 2013-09-11 Andreas Schwab <schwab@suse.de>
32607 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32609 (O_TMPFILE) [__USE_GNU]: Define.
32610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32613 2013-09-11 Will Newton <will.newton@linaro.org>
32616 * malloc/malloc.c (__libc_memalign): Check the value of bytes
32619 2013-09-11 Will Newton <will.newton@linaro.org>
32622 * malloc/malloc.c (__libc_valloc): Check the value of bytes
32625 2013-09-11 Will Newton <will.newton@linaro.org>
32628 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32631 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
32633 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32634 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32635 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32636 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32637 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32639 2013-09-10 Allan McRae <allan@archlinux.org>
32642 * manual/arith.texi (Parsing of Floats): Clarify
32646 * manual/install.texi (Running make install): Mention
32648 * INSTALL: Regenerated.
32650 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
32652 * csu/init-first.c (_init): Remove the !SHARED condition around
32653 FPU control word initialization.
32654 * elf/dl-support.c (_dl_fpu_control): New variable.
32655 (_dl_aux_init) <AT_FPUCW>: Initialize it.
32656 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32657 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32658 * math/test-fpucw-static.c: New file.
32659 * math/test-fpucw-ieee.c: New file.
32660 * math/test-fpucw-ieee-static.c: New file.
32661 * math/Makefile (tests): Add `test-fpucw-ieee' and
32663 (tests-static): New variable.
32664 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32666 [($(build-shared),yes)]
32667 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32669 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32672 2013-09-09 Allan McRae <allan@archlinux.org>
32675 * manual/string.texi (Collation Functions): Fix typo in
32677 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32680 * stdlib/isomac.c (get_null_defines): Fix memory leak.
32683 * libio/memstream.c (open_memstream): Fix memory leak.
32684 * libio/wmemstream.c (open_wmemstream): Likewise.
32687 * nscd/netgroupcache.c: Fix nesting of ifdefs.
32689 2013-09-09 Will Newton <will.newton@linaro.org>
32691 * malloc/Makefile: Add tst-realloc to tests.
32692 * malloc/tst-realloc.c: New file.
32694 2013-09-09 Allan McRae <allan@archlinux.org>
32697 * COPYING: Update from GNU website to fix FSF address.
32698 * COPYING.LIB: Likewise.
32700 2013-09-06 David S. Miller <davem@davemloft.net>
32702 * po/zh_TW.po: Update Chinese (traditional) translation from
32703 translation project.
32705 2013-09-06 Richard Sandiford <richard@codesourcery.com>
32706 Joseph Myers <joseph@codesourcery.com>
32708 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32710 (obstack_chunk_alloc): New macro.
32711 (obstack_chunk_free): Likewise.
32712 (record_offset): New function.
32713 (init_locale_data): Likewise.
32714 (align_locale_data): Likewise.
32715 (add_locale_empty): Likewise.
32716 (add_locale_raw_data): Likewise.
32717 (add_locale_raw_obstack): Likewise.
32718 (add_locale_string): Likewise.
32719 (add_locale_wstring): Likewise.
32720 (add_locale_uint32): Likewise.
32721 (add_locale_uint32_array): Likewise.
32722 (add_locale_char): Likewise.
32723 (start_locale_structure): Likewise.
32724 (end_locale_structure): Likewise.
32725 (start_locale_prelude): Likewise.
32726 (end_locale_prelude): Likewise.
32727 (write_locale_data): Take locale_file structure rather than an
32729 * locale/programs/locfile.h: Include "obstack.h".
32730 (struct locale_file): Change to store locale file contents instead
32732 (init_locale_data): New prototype.
32733 (align_locale_data): Likewise.
32734 (add_locale_empty): Likewise.
32735 (add_locale_raw_data): Likewise.
32736 (add_locale_raw_obstack): Likewise.
32737 (add_locale_string): Likewise.
32738 (add_locale_wstring): Likewise.
32739 (add_locale_uint32): Likewise.
32740 (add_locale_uint32_array): Likewise.
32741 (add_locale_char): Likewise.
32742 (start_locale_structure): Likewise.
32743 (end_locale_structure): Likewise.
32744 (start_locale_prelude): Likewise.
32745 (end_locale_prelude): Likewise.
32746 (write_locale_data): Update prototype.
32747 * locale/programs/3level.h (struct TABLE): Remove result field.
32748 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32749 Use new locale_file interface.
32750 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32751 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32752 * locale/programs/ld-address.c (address_output): Use new
32753 locale_file interface.
32754 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32756 (collate_finish): Don't call collseq_table_finalize.
32757 (collate_output): Use new locale_file interface.
32758 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32760 (NO_FINALIZE): Change to NO_ADD_LOCALE.
32761 (TABLE): Move defines earlier in file.
32762 (ELEMENT): Likewise.
32763 (DEFAULT): Likewise.
32764 (wctrans_table_add): Move macro and inline function earlier in
32766 (struct wctype_table): Move type earlier in file.
32767 (add_locale_wctype_table): New static prototype.
32768 (struct locale_ctype_t): Use logical types instead of struct iovec
32769 pointers for members.
32770 (ctype_output): Use new locale_file interface.
32771 (wctype_table_finalize): Change to add_locale_wctype_table. Use
32772 new locale_file interface.
32773 (allocate_arrays): Update for use of new locale_file interface.
32774 * locale/programs/ld-identification.c (identification_output): Use
32775 new locale_file interface.
32776 * locale/programs/ld-measurement.c (measurement_output): Likewise.
32777 * locale/programs/ld-messages.c (messages_output): Likewise.
32778 * locale/programs/ld-monetary.c (monetary_output): Likewise.
32779 * locale/programs/ld-name.c (name_output): Likewise.
32780 * locale/programs/ld-numeric.c (numeric_output): Likewise.
32781 * locale/programs/ld-paper.c (paper_output): Likewise.
32782 * locale/programs/ld-telephone.c (telephone_output): Likewise.
32783 * locale/programs/ld-time.c (time_output): Likewise.
32785 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32787 * benchtests/Makefile: Add memrchr benchmark.
32788 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32789 benchmark as memrchr.
32790 * benchtests/bench-memrchr-ifunc.c: New file.
32791 * benchtests/bench-memrchr.c: New file.
32793 2013-09-06 Will Newton <will.newton@linaro.org>
32795 * benchtests/Makefile (string-bench): Add memcpy.
32797 2013-09-05 Carlos O'Donell <carlos@redhat.com>
32798 Cong Wang <amwang@redhat.com>
32801 * sysdeps/unix/sysv/linux/bits/in.h
32802 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32803 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32804 before __USE_KERNEL_IPV6_DEFS uses.
32805 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32807 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32808 sockaddr_in6, or ipv6_mreq.
32810 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32812 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32813 memory access for final bytes in some large inputs.
32814 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32816 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32818 * string/test-memrchr.c: New file.
32819 * string/test-memrchr-ifunc.c: New file.
32820 * string/Makefile: Add new memrchr testcase.
32822 2013-09-05 Mike Frysinger <vapier@gentoo.org>
32824 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32825 fanotify_init returns EPERM.
32827 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32829 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32831 (top level): Treat second token from macro or constant entries for
32832 allowed headers as allowed.
32833 * include/complex.h: Condition internal declarations on
32835 * include/fenv.h: Condition include of <stdbool.h> and internal
32836 declarations on [!_ISOMAC].
32838 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
32841 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32843 2013-09-04 Joseph Myers <joseph@codesourcery.com>
32845 * configure.in (--enable-versioning): Remove configure option.
32846 (libc_cv_asm_symver_directive): Remove configure test.
32847 (libc_cv_ld_version_script_option): Likewise.
32848 (VERSIONING): Remove variable and AC_SUBST.
32849 (DO_VERSIONING): Remove AC_DEFINE.
32850 * configure: Regenerated.
32851 * config.h.in (DO_VERSIONING): Remove macro.
32852 * Makerules [$(versioning) = yes]: Change conditionals to
32853 [$(build-shared) = yes].
32854 * config.make.in (versioning): Remove variable.
32855 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32856 [$(build-shared) = yes].
32857 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32858 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32859 * elf/Makefile [$(versioning) = yes]: Change conditionals to
32860 [$(build-shared) = yes].
32861 * extra-lib.mk [$(versioning) = yes]: Likewise.
32862 * hurd/Makefile [$(versioning) = yes]: Likewise.
32863 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32865 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32867 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32868 [SHARED && !NO_HIDDEN].
32869 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32871 [SHARED && DO_VERSIONING]: Likewise..
32872 * libio/Makefile [$(versioning) = yes]: Change conditionals to
32873 [$(build-shared) = yes].
32874 * manual/install.texi (--disable-versioning): Remove
32876 * INSTALL: Regenerated.
32877 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32879 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32880 [$(build-shared) = yes].
32881 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32882 * sysdeps/i386/i686/multiarch/strstr-c.c
32883 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32884 [SHARED && !NO_HIDDEN].
32885 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32886 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32887 * sysdeps/powerpc/powerpc32/dl-machine.c
32888 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32889 * sysdeps/powerpc/powerpc32/sysdep.h
32890 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32891 to [SHARED && PIC && !NO_HIDDEN].
32892 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32893 conditional to [SHARED].
32895 2013-09-04 Will Newton <will.newton@linaro.org>
32897 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32898 * benchtests/bench-string.h: Include bench-timing.h instead
32899 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32900 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32901 call to HP_TIMING_DIFF_INIT.
32902 * benchtests/bench-memccpy.c: Use bench-timing.h macros
32903 instead of hp-timing.h macros.
32904 * benchtests/bench-memchr.c: Likewise.
32905 * benchtests/bench-memcmp.c: Likewise.
32906 * benchtests/bench-memcpy.c: Likewise.
32907 * benchtests/bench-memmem.c: Likewise.
32908 * benchtests/bench-memmove.c: Likewise.
32909 * benchtests/bench-memset.c: Likewise.
32910 * benchtests/bench-rawmemchr.c: Likewise.
32911 * benchtests/bench-strcasecmp.c: Likewise.
32912 * benchtests/bench-strcasestr.c: Likewise.
32913 * benchtests/bench-strcat.c: Likewise.
32914 * benchtests/bench-strchr.c: Likewise.
32915 * benchtests/bench-strcmp.c: Likewise.
32916 * benchtests/bench-strcpy.c: Likewise.
32917 * benchtests/bench-strcpy_chk.c: Likewise.
32918 * benchtests/bench-strlen.c: Likewise.
32919 * benchtests/bench-strncasecmp.c: Likewise.
32920 * benchtests/bench-strncat.c: Likewise.
32921 * benchtests/bench-strncmp.c: Likewise.
32922 * benchtests/bench-strncpy.c: Likewise.
32923 * benchtests/bench-strnlen.c: Likewise.
32924 * benchtests/bench-strpbrk.c: Likewise.
32925 * benchtests/bench-strrchr.c: Likewise.
32926 * benchtests/bench-strspn.c: Likewise.
32927 * benchtests/bench-strstr.c: Likewise.
32929 2013-09-04 Will Newton <will.newton@linaro.org>
32931 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32933 2013-09-03 Joseph Myers <joseph@codesourcery.com>
32936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32937 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32938 * math/libm-test.inc (lgamma_test_data): Add more tests.
32939 * sysdeps/i386/fpu/libm-test-ulps: Update.
32940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32942 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
32944 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32945 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32947 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32948 Add strcmp-sse2-unaligned
32949 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32951 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32953 * Versions.def (libc): Add GLIBC_2.19.
32955 2013-09-02 Mike Frysinger <vapier@gentoo.org>
32957 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32958 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32960 2013-09-02 Joseph Myers <joseph@codesourcery.com>
32963 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32964 intermediate calculations in recurrence.
32965 (__ieee754_ynf): Likewise.
32966 * math/libm-test.inc (jn_test_data): Do not allow spurious
32967 underflow exception. Add more tests.
32968 (yn_test_data): Add more tests.
32969 * sysdeps/i386/fpu/libm-test-ulps: Update.
32970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32972 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
32974 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32976 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32978 * csu/init-first.c: Fix then/than typos.
32979 * locale/programs/ld-collate.c: Likewise.
32980 * locale/programs/linereader.h: Likewise.
32981 * manual/charset.texi: Likewise.
32982 * manual/filesys.texi: Likewise.
32983 * manual/stdio.texi: Likewise.
32984 * manual/string.texi: Likewise.
32985 * stdlib/fmtmsg.c: Likewise.
32986 * sysdeps/i386/stpncpy.S: Likewise.
32987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32988 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32989 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32990 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32992 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
32994 * elf/dl-open.c: Fix typos.
32995 * iconvdata/gbbig5.c: Likewise.
32996 * iconvdata/iso-2022-jp.c: Likewise.
32997 * iconv/gconv_int.h: Likewise.
32998 * iconv/loop.c: Likewise.
32999 * nis/rpcsvc/nis.h: Likewise.
33000 * resolv/ns_name.c: Likewise.
33001 * stdio-common/vfscanf.c: Likewise.
33002 * streams/stropts.h: Likewise.
33003 * sunrpc/rpc_thread.c: Likewise.
33004 * sysdeps/i386/strpbrk.S: Likewise.
33005 * sysdeps/ieee754/k_standard.c: Likewise.
33006 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33007 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33008 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33009 * sysdeps/mach/hurd/profil.c: Likewise.
33010 * sysdeps/s390/dl-procinfo.h: Likewise.
33011 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33012 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33013 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33014 * sysdeps/x86_64/dl-trampoline.S: Likewise.
33015 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33017 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
33019 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33020 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33022 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33024 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33025 aix specific files.
33026 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33027 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33028 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33029 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33030 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33031 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33032 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33033 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33035 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33036 Roland McGrath <roland@hack.frob.com>
33038 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33039 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33041 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
33043 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33044 __executable_start symbol instead of _start.
33046 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
33048 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33049 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33051 * sysdeps/gnu/ldsodefs.h: ... this new file.
33053 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33054 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33055 instead of ELFOSABI_LINUX.
33057 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33058 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33059 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33060 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33062 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33063 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33066 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33067 (ibm_extended_long_double): Add ieee_nan member.
33068 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33069 (do_test): New function.
33071 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33073 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33074 functions, renamed from truncdfsf_test, trunctfsf_test,
33076 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33078 (do_test): Run all these.
33080 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
33082 * argp/argp-help.c: Fix typos.
33083 * argp/argp-parse.c: Likewise.
33084 * debug/backtracesyms.c: Likewise.
33085 * elf/elf.h: Likewise.
33086 * malloc/malloc.c: Likewise.
33087 * nis/nis_print.c: Likewise.
33088 * resolv/res_comp.c: Likewise.
33089 * stdlib/stdlib.h: Likewise.
33090 * sunrpc/clnt_tcp.c: Likewise.
33091 * sunrpc/clnt_udp.c: Likewise.
33092 * sunrpc/clnt_unix.c: Likewise.
33093 * sysdeps/unix/bsd/ptsname.c: Likewise.
33094 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33095 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33102 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33104 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33106 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33107 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33109 2013-08-27 Mike Frysinger <vapier@gentoo.org>
33112 * dlfcn/Makefile (tests): Add bug-dl-leaf.
33113 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33114 ($(objpfx)bug-dl-leaf): New rule.
33115 ($(objpfx)bug-dl-leaf.so): Likewise.
33116 ($(objpfx)bug-dl-leaf.out): Likewise.
33117 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33118 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33119 * dlfcn/bug-dl-leaf.c: New test.
33120 * dlfcn/bug-dl-leaf-lib.c: Likewise.
33121 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33122 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33123 (dlclose): Likewise.
33124 (dlmopen): Likewise.
33126 2013-08-27 Roland McGrath <roland@hack.frob.com>
33128 * include/netdb.h [!_ISOMAC]:
33129 Don't include <tls.h>.
33130 (h_errno, __libc_h_errno): Move declaration and macros out of
33133 * include/resolv.h [_RESOLV_H_]:
33134 Don't include <tls.h>.
33135 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33136 * resolv/res_libc.c: Don't include <tls.h>.
33137 (_res): Use __attribute__ ((nocommon)) in place of
33138 __attribute__ ((section (".bss"))).
33140 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33141 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33143 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33145 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33146 only under [SIOCGIFCONF && SIOCGIFNETMASK].
33148 * resolv/res_mkquery.c: Include <sys/time.h>.
33150 * inet/ifreq.c: Moved to ...
33151 * sysdeps/unix/ifreq.c: ... here.
33152 * inet/ifreq.c: New file, true stub version.
33154 * socket/sa_len.c: New file.
33155 * socket/Makefile (aux): Add it.
33156 * sysdeps/unix/sysv/linux/Makefile
33157 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33158 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33159 and #include <socket/sa_len.c>.
33160 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33161 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33163 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33164 * bits/socket.h: ... here.
33166 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33167 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33168 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33170 2013-08-27 Andreas Schwab <schwab@suse.de>
33173 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33174 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33175 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33176 * string/test-strcasecmp.c (test_main): Run tests in several
33178 * string/test-strncasecmp.c (test_main): Likewise.
33180 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33181 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33182 to __strcasecmp_nonascii and __strncasecmp_nonascii.
33183 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33184 (__strncasecmp_ssse3) [PIC]: Likewise.
33186 2013-08-26 Roland McGrath <roland@hack.frob.com>
33188 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33190 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33191 instead of explicitly declaring xdecrypt.
33192 * nis/nss_nis/nis-publickey.c: Likewise.
33194 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33197 * nscd/aicache.c: Include res_hconf.h.
33198 (addhstaiX): Initialize res_hconf.
33200 2013-08-26 Andreas Schwab <schwab@suse.de>
33202 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33203 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33205 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33207 * nscd/aicache.c (addhstaiX): Fix indentation.
33209 2013-08-25 Mike Frysinger <vapier@gentoo.org>
33211 * configure.ac: Quote $build_pt_chown test.
33212 * configure: Regenerated.
33214 2013-08-23 Joseph Myers <joseph@codesourcery.com>
33217 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33218 * math/s_cexpf.c (__cexpf): Likewise.
33219 * math/s_cexpl.c (__cexpl): Likewise.
33220 * math/libm-test.inc (cexp_test_data): Correct expected return
33221 value for NaN + i0. Add another test.
33223 2013-08-22 David S. Miller <davem@davemloft.net>
33225 * po/ca.po: Update Catalan translation from translation project.
33226 * po/uk.po: Add Ukrainian translations from translation project.
33228 2013-08-21 Joseph Myers <joseph@codesourcery.com>
33231 * math/s_fdim.c (__fdim): Check for infinite arguments if result
33232 is infinite, not alongside NaN test.
33233 * math/s_fdimf.c (__fdimf): Likewise.
33234 * math/s_fdiml.c (__fdiml): Likewise.
33235 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
33236 errno is unchanged.
33238 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
33240 * argp/argp-help.c: Fix typos.
33241 * crypt/speeds.c: Likewise.
33242 * csu/check_fds.c: Likewise.
33243 * elf/dl-load.c: Likewise.
33244 * elf/dl-open.c: Likewise.
33245 * elf/reldep3.c: Likewise.
33246 * elf/reldep.c: Likewise.
33247 * elf/sprof.c: Likewise.
33248 * iconv/iconv_charmap.c: Likewise.
33249 * iconv/skeleton.c: Likewise.
33250 * iconv/strtab.c: Likewise.
33251 * io/lockf64.c: Likewise.
33252 * libio/libioP.h: Likewise.
33253 * resolv/gai_notify.c: Likewise.
33254 * resolv/ns_name.c: Likewise.
33255 * resolv/ns_samedomain.c: Likewise.
33256 * resolv/res_send.c: Likewise.
33257 * stdlib/random.c: Likewise.
33258 * sunrpc/rpc/xdr.h: Likewise.
33259 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33260 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33261 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33262 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33263 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33264 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33266 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33267 * sysdeps/mach/hurd/check_fds.c: Likewise.
33268 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33269 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33270 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33271 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33272 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33273 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33274 * sysdeps/pthread/aio_notify.c: Likewise.
33275 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33276 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33277 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33278 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33279 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33281 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33283 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33284 version if bit_Slow_SSE4_2 is set.
33285 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33286 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33288 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33291 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33292 trampoline stack frame information.
33293 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33294 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33295 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33296 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33297 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33298 * sysdeps/unix/sysv/linux/powerpc/init-first.c
33299 (_libc_vdso_platform_setup): Initialize the signal trampolines.
33300 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33302 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33303 interrupting a syscall and set with option SA_SIGINFO.
33305 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33308 * math/s_cproj.c (__cproj): Only return an infinity if one part of
33309 argument is infinite.
33310 * math/s_cprojf.c (__cprojf): Likewise.
33311 * math/s_cprojl.c (__cprojl): Likewise.
33312 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33313 * math/libm-test.inc (cproj_test_data): Add more tests.
33315 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33317 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33318 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33319 size. Use __ffs to determine corresponding shift.
33321 2013-08-20 Joseph Myers <joseph@codesourcery.com>
33322 Roland McGrath <roland@hack.frob.com>
33324 * Makefile (INSTALL): Remove trailing blank lines from output of
33327 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33329 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33330 Align 32 bit compat elf_greg to 8 bytes.
33332 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
33334 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33336 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
33338 * string/strcoll_l.c (coll_seq): New structure.
33339 (get_next_seq_cached): New function.
33340 (get_next_seq): New function.
33341 (do_compare): New function.
33342 (STRCOLL): Use GNU style definition. Simplify implementation
33343 by using get_next_seq, get_next_seq_cached and do_compare.
33345 2013-08-16 Florian Weimer <fweimer@redhat.com>
33349 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33351 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33353 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33354 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33355 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
33357 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33358 GETDENTS_64BIT_ALIGNED.
33359 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33360 * manual/filesys.texi (Reading/Closing Directory): Document
33361 ENAMETOOLONG return value of readdir_r. Recommend readdir more
33363 * manual/conf.texi (Limits for Files): Add portability note to
33364 NAME_MAX, PATH_MAX.
33365 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33367 2013-08-13 Andreas Schwab <schwab@suse.de>
33370 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33372 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33373 LDBL_MAX_EXP >= 16384]: Add tests for it.
33375 2013-08-12 David S. Miller <davem@davemloft.net>
33377 * version.h (RELEASE): Set to "development".
33378 (VERSION): Set to "2.18.90".
33379 * NEWS: Add 2.19 section.
33381 2013-08-03 David S. Miller <davem@davemloft.net>
33383 * po/ko.po: Update Korean translation from translation project.
33385 2013-08-01 David S. Miller <davem@davemloft.net>
33387 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
33388 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33391 2013-07-30 David S. Miller <davem@davemloft.net>
33393 * po/fr.po: Update French translation from translation project.
33395 2013-07-28 David S. Miller <davem@davemloft.net>
33397 * po/cs.po: Update Czech translation from translation project.
33399 * po/sv.po: Update Swedish translation from translation project.
33401 2013-07-27 David S. Miller <davem@davemloft.net>
33403 * po/eo.po: Update Esperanto translation from translation project.
33405 * po/vi.po: Update Vietnamese translation from translation project.
33407 * po/de.po: Update German translation from translation project.
33409 2013-07-26 David S. Miller <davem@davemloft.net>
33411 * po/bg.po: Update Bulgarian translation from translation project.
33413 * po/nl.po: Update Dutch translation from translation project.
33414 * po/pl.po: Update Polish translation from translation project.
33415 * po/ru.po: Update Russian translation from translation project.
33417 2013-07-24 David S. Miller <davem@davemloft.net>
33419 * po/libc.pot: Update.
33421 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33423 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33424 variable page size.
33425 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33426 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33427 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33429 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33431 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33433 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
33434 Andreas Schwab <schwab@suse.de>
33435 Roland McGrath <roland@hack.frob.com>
33436 Joseph Myers <joseph@codesourcery.com>
33437 Carlos O'Donell <carlos@redhat.com>
33440 * config.h.in: Define HAVE_PT_CHOWN.
33441 * config.make.in (build-pt-chown): New variable.
33442 * configure.in (--enable-pt_chown): New configure option.
33443 * configure: Regenerate.
33444 * login/Makefile: Include Makeconfig. Build pt_chown only if
33445 build-pt-chown is enabled.
33446 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33447 pt_chown to fix pty ownership.
33448 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33450 * manual/install.texi (Configuring and compiling): Mention
33451 --enable-pt_chown. Add @findex for grantpt.
33452 * INSTALL: Regenerate.
33454 2013-07-20 David S. Miller <davem@davemloft.net>
33456 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33457 difference between 32-bit and 64-bit.
33459 2013-07-15 Carlos O'Donell <carlos@redhat.com>
33462 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33463 Avoid system header dependency with -ffreestanding.
33464 ($(objpfx)bits/syscall%d): Likewise.
33466 2013-07-13 David S. Miller <davem@davemloft.net>
33468 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33469 underflows from atanl/atan2l due to bug 15319.
33470 (casinh_test_data): Likewise.
33472 2013-07-07 David S. Miller <davem@davemloft.net>
33474 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33476 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
33478 * sysdeps/i386/fpu/libm-test-ulps: Update.
33479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33481 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33483 * configure.in (--enable-lock-elision): Fix message text.
33484 * INSTALL: Regenerate.
33485 * configure: Regenerate.
33487 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33491 2013-07-03 Andreas Jaeger <aj@suse.de>
33493 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33495 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33496 (ptrace_peeksiginfo_args): Add.
33497 (__ptrace_peeksiginfo_flags): Add.
33498 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33499 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33500 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33502 2013-07-03 Allan McRae <allan@archlinux.org>
33504 * sysdeps/i386/fpu/libm-test-ulps: Update.
33506 2013-07-02 David S. Miller <davem@davemloft.net>
33508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33510 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
33512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33514 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33516 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33519 2013-07-02 Andi Kleen <ak@linux.intel.com>
33521 * config.h.in (ENABLE_LOCK_ELISION): Add.
33522 * configure.in (--enable-lock-elision): Add option.
33523 * manual/install.texi: Document --enable lock elision.
33524 * configure: Regenerate
33525 * INSTALL: Regenerate.
33527 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
33529 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33530 SSE4.2 strcasecmp for libc.a.
33531 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33533 2013-07-02 Joseph Myers <joseph@codesourcery.com>
33536 * soft-fp/op-common.h (_FP_FMA): New macro.
33537 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33538 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
33539 (_FP_MUL_MEAT_1_imm): ... here.
33540 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
33541 (_FP_MUL_MEAT_1_wide): ... here.
33542 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
33543 (_FP_MUL_MEAT_1_hard): ... here.
33544 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33545 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
33546 (_FP_MUL_MEAT_2_wide): ... here.
33547 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
33548 (_FP_MUL_MEAT_2_wide_3mul): ... here.
33549 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
33550 (_FP_MUL_MEAT_2_gmp): ... here.
33551 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33552 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
33553 (_FP_MUL_MEAT_4_wide): ... here.
33554 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
33555 (_FP_MUL_MEAT_4_gmp): ... here.
33556 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33557 (_FP_WFRACBITS_DW_S): Likewise.
33558 (_FP_WFRACXBITS_DW_S): Likewise.
33559 (_FP_HIGHBIT_DW_S): Likewise.
33560 (FP_FMA_S): Likewise.
33561 (_FP_FRAC_HIGH_DW_S): Likewise.
33562 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33563 (_FP_WFRACBITS_DW_D): Likewise.
33564 (_FP_WFRACXBITS_DW_D): Likewise.
33565 (_FP_HIGHBIT_DW_D): Likewise.
33566 (FP_FMA_D): Likewise.
33567 (_FP_FRAC_HIGH_DW_D): Likewise.
33568 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33569 (_FP_WFRACBITS_DW_E): Likewise.
33570 (_FP_WFRACXBITS_DW_E): Likewise.
33571 (_FP_HIGHBIT_DW_E): Likewise.
33572 (FP_FMA_E): Likewise.
33573 (_FP_FRAC_HIGH_DW_E): Likewise.
33574 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33575 (_FP_WFRACBITS_DW_Q): Likewise.
33576 (_FP_WFRACXBITS_DW_Q): Likewise.
33577 (_FP_HIGHBIT_DW_Q): Likewise.
33578 (FP_FMA_Q): Likewise.
33579 (_FP_FRAC_HIGH_DW_Q): Likewise.
33580 * soft-fp/fmasf4.c: New file.
33581 * soft-fp/fmadf4.c: Likewise.
33582 * soft-fp/fmatf4.c: Likewise.
33584 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33586 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33587 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33589 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33591 (index_Slow_SSE4_2): Likewise.
33592 (index_Prefer_PMINUB_for_stringop): Likewise.
33593 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33594 bit_Slow_SSE4_2 is set.
33595 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33596 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33598 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33600 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33601 rtld_global._dl_hwcap2.
33602 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33604 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33605 POWER8 feature descriptions defined in _dl_hwcap2.
33606 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33607 string handling for POWER8 feature bits.
33608 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33609 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33610 _dl_powerpc_cap_flags.
33611 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33612 * sysdeps/powerpc/rtld-global-offsets.sym
33613 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33614 _dl_hwcap2 in the rtld_global_ro structure.
33616 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33618 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33619 hardware capabilities in support of AT_HWCAP2.
33620 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33621 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33623 (_dl_show_auxv): Add support for calling _dl_procinfo to display
33624 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
33625 explicitly the unknown a_type display mechanism is used.
33626 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33627 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33629 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33630 to macro prototype for AT_HWCAP2 support.
33631 * sysdeps/i386/dl-procinfo.h: Likewise.
33632 * sysdeps/s390/dl-procinfo.h: Likewise.
33633 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33634 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
33635 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
33636 return -1 for unknown a_type display fallback.
33637 * sysdeps/sparc/dl-procinfo.h: Likewise.
33638 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33639 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33641 2013-06-28 Joseph Myers <joseph@codesourcery.com>
33643 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33644 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33646 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
33649 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33650 mprotect making __stack_prot writable.
33652 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
33653 Joseph Myers <joseph@codesourcery.com>
33655 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33656 as being properly aligned.
33658 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
33660 * dlfcn/modstatic5.c: New file.
33661 * dlfcn/tststatic5.c: New file.
33662 * dlfcn/Makefile (tests): Add tststatic5.
33663 (tests-static): Likewise.
33664 (modules-names): Add modstatic5.
33665 (tststatic5-ENV): New variable.
33666 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33669 * elf/dl-support.c (_dl_main_map): New variable.
33670 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33671 (_dl_nns, _dl_load_adds): Set to 1.
33672 (_dl_initial_searchlist): Refer to _dl_main_map.
33673 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33674 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33675 call to _dl_get_origin.
33676 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33678 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33679 * dlfcn/modstatic3.c: New file.
33680 * dlfcn/tststatic3.c: New file.
33681 * dlfcn/tststatic4.c: New file.
33682 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33683 (tests-static): Likewise.
33684 (modules-names): Add modstatic3.
33685 (tststatic3-ENV, tststatic4-ENV): New variables.
33686 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33687 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33689 2013-06-26 Joseph Myers <joseph@codesourcery.com>
33691 * configure.in (CC): Require GCC version 4.4 or later.
33692 * configure: Regenerated.
33693 * manual/install.texi (Tools for Compilation): Update GCC version
33695 * INSTALL: Regenerated.
33697 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33700 * string/test-memcmp.c (check2): New.
33701 (main): Call check2.
33703 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33705 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
33708 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33710 (dl_open_worker) [!SHARED]: ... here.
33712 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33714 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33716 2013-06-25 Richard Henderson <rth@redhat.com>
33718 * locale/programs/locarchive.c: Include <libc-internal.h>
33720 2013-06-25 Joseph Myers <joseph@codesourcery.com>
33722 * manual/texinfo.tex: Update to version 2013-06-21.17, with
33723 trailing whitespace removed.
33725 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33728 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33729 * locale/programs/locarchive.c: Include libc-mmap.h.
33730 (prepare_address_space): Take two new outputs (the mmap base and len).
33731 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
33733 (create_archive): Declare new mmap base and len values for
33734 prepare_address_space, and store the result in ah.
33735 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33736 (enlarge_archive): If ah->mmap_base is not NULL, use that and
33737 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33738 Declare new mmap base and len values for
33739 prepare_address_space, and store the result in new_ah.
33740 (open_archive): Declare new mmap base and len values for
33741 prepare_address_space, and store the result in ah.
33742 (close_archive): If ah->mmap_base is not NULL, use that and
33743 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33744 * sysdeps/generic/libc-mmap.h: New file.
33746 2013-06-24 Mike Frysinger <vapier@gentoo.org>
33748 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33749 (ALIGN_UP): Likewise.
33750 (PTR_ALIGN_DOWN): Likewise.
33751 (PTR_ALIGN_UP): Likewise.
33753 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33755 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33756 entry mapped to PPC_PLATFORM_POWER8.
33757 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33759 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33760 (_dl_string_platform): Add case for exporting platform position for
33762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33763 search path to sysdeps/powerpc/powerpc32/power8 directory.
33764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33765 search path to sysdeps/powerpc/powerpc64/power8 directory.
33766 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33767 power7 directories.
33768 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33769 power7 directories.
33771 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33773 * INSTALL: Regenerate.
33775 * nscd/connections.c (nscd_init): Fix comment.
33777 2013-06-22 Joseph Myers <joseph@codesourcery.com>
33779 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33782 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33783 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33785 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33787 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33789 (DL_DST_REQ_STATIC): Remove macro.
33791 2013-06-21 Joseph Myers <joseph@codesourcery.com>
33794 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33795 with a shift of 0 bits.
33797 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
33799 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33802 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33805 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33807 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33809 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33810 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33811 accepts -fno-tree-loop-distribute-patterns.
33812 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33813 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33815 * string/memset.c (memset): Likewise.
33816 * string/test-memmove.c (simple_memmove): Disable loop transformation
33818 * string/test-memset.c (simple_memset): Likewise.
33819 * benchtests/bench-memmove.c (simple_memmove): Likewise.
33820 * benchtests/bench-memset.c (simple_memset): Likewise.
33821 * configure: Regenerated.
33823 2013-06-20 Joseph Myers <joseph@codesourcery.com>
33825 * math/test-misc.c (main): Ignore fesetround failure when failures
33826 of subsequent rounding tests would be ignored.
33829 * math/fedisblxcpt.c (fedisableexcept): Return 0.
33830 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33831 * math/fegetenv.c (__fegetenv): Return 0.
33832 * math/fegetexcept.c (fegetexcept): Return 0.
33833 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33835 * math/feholdexcpt.c (feholdexcept): Return 0.
33836 * math/fesetenv.c (__fesetenv): Return 0.
33837 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33838 argument FE_TONEAREST.
33839 * math/feupdateenv.c (__feupdateenv): Return 0.
33840 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33842 2013-06-18 Roland McGrath <roland@hack.frob.com>
33844 * elf/rtld-Rules (rtld-compile-command.S): New variable.
33845 (rtld-compile-command.s, rtld-compile-command.c): New variables.
33846 ($(objpfx)rtld-%.os rules): Use them.
33848 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33850 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33853 2013-06-17 Roland McGrath <roland@hack.frob.com>
33855 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33856 length of target pattern, then descending length of dependency pattern.
33857 * configure.in (AWK): Require gawk 3.1.2 or newer.
33858 * manual/install.texi (Tools for Compilation): Say that we do.
33859 * configure: Regenerated.
33861 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33862 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33863 * scripts/sysd-rules.awk: ... this new script.
33864 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33865 than a glob-style pattern.
33867 2013-06-17 Joseph Myers <joseph@codesourcery.com>
33869 * math/test-misc.c (main): Do not treat incorrectly rounded
33870 conversions as failure unless ROUNDING_TESTS passes.
33872 2013-06-15 Joseph Myers <joseph@codesourcery.com>
33875 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33876 restore exception state around main square root computation, then
33877 check for inexactness explicitly.
33879 * math/libm-test.inc (fma_test_data): Add another test.
33881 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33883 * manual/threads.texi (Non-POSIX Extensions): New document
33884 node. Document pthread_getattr_default_np and
33885 pthread_setattr_default_np.
33887 * Versions.def (libpthread): Add GLIBC_2.18.
33888 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33893 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33895 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33897 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33899 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33901 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33908 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
33910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33911 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33913 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33914 H.J. Lu <hjl.tools@gmail.com>
33917 * sysdeps/x86_64/rtld-memset.c: Remove file.
33918 * sysdeps/x86_64/rtld-memset.S: New file.
33920 2013-06-14 Joseph Myers <joseph@codesourcery.com>
33922 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33923 (test_in_one_mode): Take arguments for whether the rounding mode
33924 is supported for each floating-point type.
33925 (do_test): Pass new arguments to test_in_one_mode using
33928 2013-06-13 Roland McGrath <roland@hack.frob.com>
33930 * posix/tst-waitid.c (do_test): Distinguish different instances of
33931 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
33932 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33933 before entering the kernel for waitpid.
33935 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33937 * NEWS: Fix note on clock function precision. Text by Roland
33940 2013-06-13 Roland McGrath <roland@hack.frob.com>
33942 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33943 it into place only when and if the sanity check passes.
33945 2013-06-13 Joseph Myers <joseph@codesourcery.com>
33947 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33948 output for whether conversion result is exact. Take argument
33949 indicating whether type is IBM long double.
33950 (round_for_all): Change need_exact field to ibm_ld.
33951 * stdlib/tst-strtod-round.c (struct exactness): New type.
33952 (struct test): Change bool ld_ok field to struct exactness exact.
33953 (TEST): Update all definitions for change to field.
33954 (tests): Regenerate array contents.
33955 (test_in_one_mode): Take pointer to new field instead of old ld_ok
33956 field value. Check for IBM long double here.
33957 (do_test): Update calls to test_in_one_mode.
33959 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33962 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33963 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33965 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33968 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33969 generated by the compiler on loop optimizations.
33970 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33971 general definitions.
33973 2013-06-12 Joseph Myers <joseph@codesourcery.com>
33975 * math/bug-nextafter.c: Include <math-tests.h>.
33976 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33978 * math/bug-nexttoward.c: Include <math-tests.h>.
33979 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33981 * math/test-misc.c: Include <math-tests.h>.
33982 (main): Only test for exceptions if EXCEPTION_TESTS is true for
33985 2013-06-12 Andreas Jaeger <aj@suse.de>
33987 * po/ia.po: Update Interlingua translation from translation
33990 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
33992 * include/fenv.h: Include stdbool.h.
33993 (struct rm_ctx): New structure.
33994 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33996 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33997 (SET_RESTORE_ROUNDF): Likewise.
33998 (SET_RESTORE_ROUNDL): Likewise.
33999 (SET_RESTORE_ROUND_NOEX): Likewise.
34000 (SET_RESTORE_ROUND_NOEXF): Likewise.
34001 (SET_RESTORE_ROUND_NOEXL): Likewise.
34002 (SET_RESTORE_ROUND_53BIT): Likewise.
34003 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34004 (libc_feresetround_noexf_ctx): Likewise.
34005 (libc_feresetround_noexl_ctx): Likewise.
34006 (libc_feholdsetround_53bit_ctx): Likewise.
34007 (libc_feresetround_53bit_ctx): Likewise.
34008 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34009 (libc_feholdexcept_setround_sse_ctx): New function.
34010 (libc_fesetenv_sse_ctx): Likewise.
34011 (libc_feupdateenv_sse_ctx): Likewise.
34012 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34013 (libc_feholdexcept_setround_387_ctx): Likewise.
34014 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34015 (libc_feholdsetround_387_prec_ctx): Likewise.
34016 (libc_feholdsetround_387_ctx): Likewise.
34017 (libc_feholdsetround_387_53bit_ctx): Likewise.
34018 (libc_feholdsetround_sse_ctx): Likewise.
34019 (libc_feresetround_sse_ctx): Likewise.
34020 (libc_feresetround_387_ctx): Likewise.
34021 (libc_feupdateenv_387_ctx): Likewise.
34022 (libc_feholdexcept_setroundf_ctx): Define macro.
34023 (libc_fesetenvf_ctx): Likewise.
34024 (libc_feupdateenvf_ctx): Likewise.
34025 (libc_feholdsetroundf_ctx): Likewise.
34026 (libc_feresetroundf_ctx): Likewise.
34027 (libc_feholdexcept_setround_ctx): Likewise.
34028 (libc_fesetenv_ctx): Likewise.
34029 (libc_feupdateenv_ctx): Likewise.
34030 (libc_feholdsetround_ctx): Likewise.
34031 (libc_feresetround_ctx): Likewise.
34032 (libc_feholdexcept_setroundl_ctx): Likewise.
34033 (libc_feupdateenvl_ctx): Likewise.
34034 (libc_feholdsetroundl_ctx): Likewise.
34035 (libc_feresetroundl_ctx): Likewise.
34036 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34037 (libc_feresetround_53bit_ctx): Likewise.
34039 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34041 * locale/iso-639.def: Convert to UTF-8.
34043 2013-06-11 Joseph Myers <joseph@codesourcery.com>
34045 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34046 (EXCEPTION_TESTS_double): Likewise.
34047 (EXCEPTION_TESTS_long_double): Likewise.
34048 (EXCEPTION_TESTS): Likewise.
34049 * math/libm-test.inc (test_exceptions): Only test exceptions if
34050 EXCEPTION_TESTS (FLOAT).
34052 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34054 * benchtests/Makefile (string-bench): Add strcpy_chk and
34056 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34057 * benchtests/bench-stpcpy_chk.c: New file.
34058 * benchtests/bench-strcpy_chk-ifunc.c: New file.
34059 * benchtests/bench-strcpy_chk.c: New file.
34060 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34062 (do_test): Likewise.
34064 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34066 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34067 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34068 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34069 with tabs where appropriate.
34070 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34072 [PPC_PLATFORM_PPC440]: Likewise.
34073 [PPC_PLATFORM_PPC464]: Likewise.
34074 [PPC_PLATFORM_PPC476]: Likewise.
34075 (_dl_string_platform): Add support for detecting ppc405, ppc440,
34076 ppc464, and ppc476 platform strings merging from ports/
34079 2013-06-11 Andreas Schwab <schwab@suse.de>
34082 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34083 (from_ucs4_idx): Regenerate.
34084 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34085 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34086 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34087 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34088 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34089 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34090 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34091 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34092 from FROM_LOOP and TO_LOOP specific macros.
34093 (BODY): Handle combining characters.
34094 * iconvdata/BIG5HKSCS.irreversible: Update.
34095 * iconvdata/BIG5HKSCS.precomposed: New file.
34096 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34098 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34100 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34102 * include/sys/time.h: Fix indentation and add copyright header.
34104 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34105 (do_test): Likewise.
34106 * string/test-memchr.c (do_one_test): Likewise.
34107 (do_test): Likewise.
34108 * string/test-memcmp.c (do_one_test): Likewise.
34109 (do_test): Likewise.
34110 * string/test-memcpy.c (do_one_test): Likewise.
34111 (do_test): Likewise.
34112 * string/test-memmem.c (do_one_test): Likewise.
34113 (do_test): Likewise.
34114 (do_random_tests): Likewise.
34115 * string/test-memmove.c (do_one_test): Likewise.
34116 (do_test): Likewise.
34117 * string/test-memset.c (do_one_test): Likewise.
34118 (do_test): Likewise.
34119 * string/test-rawmemchr.c (do_one_test): Likewise.
34120 (do_test): Likewise.
34121 * string/test-strcasecmp.c (do_one_test): Likewise.
34122 (do_test): Likewise.
34123 * string/test-strcasestr.c (do_one_test): Likewise.
34124 (do_test): Likewise.
34125 * string/test-strcat.c (do_one_test): Likewise.
34126 (do_test): Likewise.
34127 * string/test-strchr.c (do_one_test): Likewise.
34128 (do_test): Likewise.
34129 * string/test-strcmp.c (do_one_test): Likewise.
34130 (do_test): Likewise.
34131 * string/test-strcpy.c (do_one_test): Likewise.
34132 (do_test): Likewise.
34133 * string/test-string.h: Likewise.
34134 (test_init): Likewise.
34135 * string/test-strlen.c (do_one_test): Likewise.
34136 (do_test): Likewise.
34137 * string/test-strncasecmp.c (do_one_test): Likewise.
34138 (do_test): Likewise.
34139 * string/test-strncat.c (do_one_test): Likewise.
34140 (do_test): Likewise.
34141 * string/test-strncmp.c (do_one_test): Likewise.
34142 (do_test_limit): Likewise.
34143 (do_test): Likewise.
34144 * string/test-strncpy.c (do_one_test): Likewise.
34145 (do_test): Likewise.
34146 * string/test-strnlen.c (do_one_test): Likewise.
34147 (do_test): Likewise.
34148 * string/test-strpbrk.c (do_one_test): Likewise.
34149 (do_test): Likewise.
34150 * string/test-strrchr.c (do_one_test): Likewise.
34151 (do_test): Likewise.
34152 * string/test-strspn.c (do_one_test): Likewise.
34153 (do_test): Likewise.
34154 * string/test-strstr.c (do_one_test): Likewise.
34155 (do_test): Likewise.
34157 * benchtests/Makefile (string-bench): Add string benchmarks.
34158 * benchtests/bench-bcopy-ifunc.c: New file.
34159 * benchtests/bench-bcopy.c: New file.
34160 * benchtests/bench-bzero-ifunc.c: New file.
34161 * benchtests/bench-bzero.c: New file.
34162 * benchtests/bench-memccpy-ifunc.c: New file.
34163 * benchtests/bench-memccpy.c: New file.
34164 * benchtests/bench-memchr-ifunc.c: New file.
34165 * benchtests/bench-memchr.c: New file.
34166 * benchtests/bench-memcmp-ifunc.c: New file.
34167 * benchtests/bench-memcmp.c: New file.
34168 * benchtests/bench-memmem-ifunc.c: New file.
34169 * benchtests/bench-memmem.c: New file.
34170 * benchtests/bench-memmove-ifunc.c: New file.
34171 * benchtests/bench-memmove.c: New file.
34172 * benchtests/bench-mempcpy-ifunc.c: New file.
34173 * benchtests/bench-mempcpy.c: New file.
34174 * benchtests/bench-memset-ifunc.c: New file.
34175 * benchtests/bench-memset.c: New file.
34176 * benchtests/bench-rawmemchr-ifunc.c: New file.
34177 * benchtests/bench-rawmemchr.c: New file.
34178 * benchtests/bench-stpcpy-ifunc.c: New file.
34179 * benchtests/bench-stpcpy.c: New file.
34180 * benchtests/bench-stpncpy-ifunc.c: New file.
34181 * benchtests/bench-stpncpy.c: New file.
34182 * benchtests/bench-strcasecmp-ifunc.c: New file.
34183 * benchtests/bench-strcasecmp.c: New file.
34184 * benchtests/bench-strcasestr-ifunc.c: New file.
34185 * benchtests/bench-strcasestr.c: New file.
34186 * benchtests/bench-strcat-ifunc.c: New file.
34187 * benchtests/bench-strcat.c: New file.
34188 * benchtests/bench-strchr-ifunc.c: New file.
34189 * benchtests/bench-strchr.c: New file.
34190 * benchtests/bench-strchrnul-ifunc.c: New file.
34191 * benchtests/bench-strchrnul.c: New file.
34192 * benchtests/bench-strcmp-ifunc.c: New file.
34193 * benchtests/bench-strcmp.c: New file.
34194 * benchtests/bench-strcpy-ifunc.c: New file.
34195 * benchtests/bench-strcpy.c: New file.
34196 * benchtests/bench-strcspn-ifunc.c: New file.
34197 * benchtests/bench-strcspn.c: New file.
34198 * benchtests/bench-strlen-ifunc.c: New file.
34199 * benchtests/bench-strlen.c: New file.
34200 * benchtests/bench-strncasecmp-ifunc.c: New file.
34201 * benchtests/bench-strncasecmp.c: New file.
34202 * benchtests/bench-strncat-ifunc.c: New file.
34203 * benchtests/bench-strncat.c: New file.
34204 * benchtests/bench-strncmp-ifunc.c: New file.
34205 * benchtests/bench-strncmp.c: New file.
34206 * benchtests/bench-strncpy-ifunc.c: New file.
34207 * benchtests/bench-strncpy.c: New file.
34208 * benchtests/bench-strnlen-ifunc.c: New file.
34209 * benchtests/bench-strnlen.c: New file.
34210 * benchtests/bench-strpbrk-ifunc.c: New file.
34211 * benchtests/bench-strpbrk.c: New file.
34212 * benchtests/bench-strrchr-ifunc.c: New file.
34213 * benchtests/bench-strrchr.c: New file.
34214 * benchtests/bench-strspn-ifunc.c: New file.
34215 * benchtests/bench-strspn.c: New file.
34216 * benchtests/bench-strstr-ifunc.c: New file.
34217 * benchtests/bench-strstr.c: New file.
34219 * benchtests/Makefile: Disable parallel execution of targets.
34220 (string-bench): Add memcpy.
34221 (benchset): New variable to store a list of benchmark sets.
34222 (bench-func): Renamed from bench.
34223 (bench-set): New target.
34224 (bench): Depend on bench-func and bench-set.
34225 * benchtests/README: Add section on benchmark sets.
34226 * benchtests/bench-memcpy-ifunc.c: New file.
34227 * benchtests/bench-memcpy.c: New file.
34228 * benchtests/bench-string.h: New file.
34230 2013-06-11 Andreas Schwab <schwab@suse.de>
34233 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34234 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34235 values in the triple.
34236 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34237 terminator in the group key.
34239 2013-06-11 Andreas Jaeger <aj@suse.de>
34241 * po/zh_TW.po: Update Chinese (traditional) translation from
34242 translation project.
34244 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34246 * include/time.h (__clock_gettime): Add libc_hidden_proto.
34247 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34248 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
34249 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34250 (clock_getcpuclockid): Likewise.
34251 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34252 Add weak_alias and libc_hidden_def.
34253 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34254 * rt/clock_gettime.c (clock_gettime): Rename to
34255 __clock_gettime. Add weak_alias and libc_hidden_def.
34256 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34257 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34258 __clock_nanosleep. Add weak_alias and libc_hidden_def.
34259 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34260 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34262 * rt/clock_settime.c (clock_settime): Rename to
34263 __clock_settime. Add weak_alias and libc_hidden_def.
34264 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34266 2013-06-10 Joseph Myers <joseph@codesourcery.com>
34268 * mach/err_boot.sub: Remove trailing whitespace.
34269 * mach/err_ipc.sub: Likewise.
34270 * mach/err_mach.sub: Likewise.
34272 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34273 (ROUNDING_TESTS_double): Likewise.
34274 (ROUNDING_TESTS_long_double): Likewise.
34275 (ROUNDING_TESTS): Likewise.
34276 * math/libm-test.inc: Include <math-tests.h>.
34277 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34278 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34279 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34280 (IF_ROUND_INIT_FE_UPWARD): Likewise.
34282 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34284 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34287 2013-06-08 Joseph Myers <joseph@codesourcery.com>
34289 * sysdeps/gnu/errlist.awk: Do not generate space at end of
34290 otherwise empty TRANS lines.
34291 * sysdeps/gnu/errlist.c: Regenerated.
34293 * catgets/gencat.c (error_print): Use (void) in function
34295 * crypt/crypt_util.c (__init_des): Likewise.
34296 * crypt/speeds.c (Stop): Likewise.
34298 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34299 * inet/ruserpass.c (token): Likewise.
34300 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34301 * intl/localealias.c (extend_alias_table): Likewise.
34302 * intl/plural-exp.c (init_germanic_plural): Likewise.
34303 * libio/fcloseall.c (__fcloseall): Likewise.
34304 * libio/genops.c (_IO_flush_all): Likewise.
34305 (_IO_flush_all_linebuffered): Likewise.
34306 (_IO_cleanup): Likewise.
34307 (_IO_iter_begin): Likewise.
34308 (_IO_iter_end): Likewise.
34309 (_IO_list_lock): Likewise.
34310 (_IO_list_unlock): Likewise.
34311 (_IO_list_resetlock): Likewise.
34312 * libio/getchar.c (getchar): Likewise.
34313 * libio/getchar_u.c (getchar_unlocked): Likewise.
34314 * libio/getwchar.c (getwchar): Likewise.
34315 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34316 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34317 * login/getpt.c (__getpt): Likewise.
34318 * login/tst-utmp.c (main): Likewise.
34319 * malloc/hooks.c (__malloc_check_init): Likewise.
34320 * malloc/malloc.c (__malloc_stats): Likewise.
34321 * malloc/mtrace.c (tr_break): Likewise.
34322 (mtrace): Likewise.
34323 (muntrace): Likewise.
34324 * misc/fstab.c (endfsent): Likewise.
34325 * misc/getclktck.c (__getclktck): Likewise.
34326 * misc/getdtsz.c (__getdtablesize): Likewise.
34327 * misc/gethostid.c (gethostid): Likewise.
34328 * misc/getpagesize.c (__getpagesize): Likewise.
34329 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34330 (__get_nprocs): Likewise.
34331 (__get_phys_pages): Likewise.
34332 (__get_avphys_pages): Likewise.
34333 * misc/getttyent.c (getttyent): Likewise.
34334 (setttyent): Likewise.
34335 (endttyent): Likewise.
34336 * misc/getusershell.c (getusershell): Likewise.
34337 (endusershell): Likewise.
34338 (setusershell): Likewise.
34339 (initshells): Likewise.
34340 * misc/hsearch.c (__hdestroy): Likewise.
34341 * misc/sync.c (sync): Likewise.
34342 * misc/syslog.c (closelog_internal): Likewise.
34343 (closelog): Likewise.
34344 * misc/ttyslot.c (ttyslot): Likewise.
34345 * misc/vhangup.c (vhangup): Likewise.
34346 * posix/fork.c (__fork): Likewise.
34347 * posix/getegid.c (__getegid): Likewise.
34348 * posix/geteuid.c (__geteuid): Likewise.
34349 * posix/getgid.c (__getgid): Likewise.
34350 * posix/getpid.c (__getpid): Likewise.
34351 * posix/getppid.c (__getppid): Likewise.
34352 * posix/getuid.c (__getuid): Likewise.
34353 * posix/pause.c (pause): Likewise.
34354 * posix/setpgrp.c (setpgrp): Likewise.
34355 * posix/setsid.c (__setsid): Likewise.
34356 * posix/test-vfork.c (noop): Likewise.
34357 * resolv/gethnamaddr.c (_endhtent): Likewise.
34358 (_gethtent): Likewise.
34359 (ht_endhostent): Likewise.
34360 (gethostent): Likewise.
34361 (dns_service): Likewise.
34362 * stdlib/drand48.c (drand48): Likewise.
34363 * stdlib/lrand48.c (lrand48): Likewise.
34364 * stdlib/mrand48.c (mrand48): Likewise.
34365 * stdlib/rand.c (rand): Likewise.
34366 * stdlib/random.c (__random): Likewise.
34367 * stdlib/setenv.c (clearenv): Likewise.
34368 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34369 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34370 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34371 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34372 (__get_nprocs): Likewise.
34373 (__get_phys_pages): Likewise.
34374 (__get_avphys_pages): Likewise.
34375 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34376 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34377 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34378 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34379 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34380 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34381 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34382 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34383 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34384 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34385 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34386 * sysdeps/mach/hurd/sync.c (sync): Likewise.
34387 * sysdeps/posix/clock.c (clock): Likewise.
34388 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34389 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34390 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34391 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34392 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34393 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34394 (__get_nprocs_conf): Likewise.
34395 (__get_phys_pages): Likewise.
34396 (__get_avphys_pages): Likewise.
34397 * time/clock.c (clock): Likewise.
34398 * time/tzset.c (__tzname_max): Likewise.
34400 2013-06-07 Joseph Myers <joseph@codesourcery.com>
34402 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34403 (__bswap_32): Do not use "register".
34404 * crypt/crypt.c (_ufc_doit_r): Likewise.
34405 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34406 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34407 * gmon/gmon.c (__monstartup): Likewise.
34408 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34409 * hurd/hurdmalloc.c (more_memory): Likewise.
34410 (malloc): Likewise.
34412 (realloc): Likewise.
34413 (malloc_fork_prepare): Likewise.
34414 (malloc_fork_parent): Likewise.
34415 (malloc_fork_child): Likewise.
34416 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34417 (_svcauth_des): Likewise.
34418 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34419 * inet/inet_net.c (inet_network): Likewise.
34420 * inet/inet_netof.c (inet_netof): Likewise.
34421 * inet/rcmd.c (__validuser2_sa): Likewise.
34422 * io/fts.c (fts_open): Likewise.
34423 (fts_load): Likewise.
34424 (fts_close): Likewise.
34425 (fts_read): Likewise.
34426 (fts_children): Likewise.
34427 (fts_build): Likewise.
34428 (fts_stat): Likewise.
34429 (fts_sort): Likewise.
34430 (fts_alloc): Likewise.
34431 (fts_lfree): Likewise.
34432 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34433 (_IO_file_xsgetn): Likewise.
34434 (_IO_file_xsgetn_mmap): Likewise.
34435 * libio/iofopncook.c (_IO_cookie_read): Likewise.
34436 (_IO_cookie_write): Likewise.
34437 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34438 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34439 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34440 * malloc/obstack.c (_obstack_begin): Likewise.
34441 (_obstack_begin_1): Likewise.
34442 (_obstack_newchunk): Likewise.
34443 (_obstack_allocated_p): Likewise.
34444 (obstack_free): Likewise.
34445 (_obstack_memory_used): Likewise.
34446 * misc/getttyent.c (getttynam): Likewise.
34447 (getttyent): Likewise.
34450 * misc/getusershell.c (initshells): Likewise.
34451 * misc/syslog.c (__vsyslog_chk): Likewise.
34452 * misc/ttyslot.c (ttyslot): Likewise.
34453 * nis/nis_hash.c (__nis_hash): Likewise.
34454 * posix/fnmatch_loop.c (FCT): Likewise.
34455 * posix/getconf.c (print_all): Likewise.
34457 * posix/getopt.c (exchange): Likewise.
34458 * posix/glob.c (globfree): Likewise.
34459 (prefix_array): Likewise.
34460 (__glob_pattern_type): Likewise.
34461 * resolv/arpa/nameser.h (NS_GET16): Likewise.
34462 (NS_GET32): Likewise.
34463 (NS_PUT16): Likewise.
34464 (NS_PUT32): Likewise.
34465 * resolv/gethnamaddr.c (getanswer): Likewise.
34466 (gethostbyname2): Likewise.
34467 (gethostbyaddr): Likewise.
34468 (_gethtent): Likewise.
34469 (_gethtbyname2): Likewise.
34470 (_gethtbyaddr): Likewise.
34471 * resolv/ns_print.c (dst_s_get_int16): Likewise.
34472 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34473 * resolv/res_init.c (__res_vinit): Likewise.
34474 (net_mask): Likewise.
34475 * resolv/res_mkquery.c (outchar): Likewise.
34477 * stdio-common/printf_fp.c (outchar): Likewise.
34479 * stdio-common/printf_fphex.c (outchar): Likewise.
34481 * stdio-common/printf_size.c (outchar): Likewise.
34483 * stdio-common/test_rdwr.c (main): Likewise.
34484 * stdio-common/tfformat.c (matches): Likewise.
34485 * stdio-common/vfprintf.c (outchar): Likewise.
34486 (printf_unknown): Likewise.
34487 (buffered_vfprintf): Likewise.
34488 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34489 * stdio-common/xbug.c (AppendToBuffer): Likewise.
34490 (ReadFile): Likewise.
34491 * stdlib/qsort.c (SWAP): Likewise.
34492 (_quicksort): Likewise.
34493 * stdlib/setenv.c (__add_to_environ): Likewise.
34494 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34495 * stdlib/strtol_l.c (__strtol_l): Likewise.
34496 * stdlib/tst-strtod.c (main): Likewise.
34497 * stdlib/tst-strtol.c (main): Likewise.
34498 * stdlib/tst-strtoll.c (main): Likewise.
34499 * string/bits/string2.h (__strcmp_cc): Likewise.
34500 (__strcmp_cg): Likewise.
34501 (__strcspn_c1): Likewise.
34502 (__strcspn_c2): Likewise.
34503 (__strcspn_c3): Likewise.
34504 (__strspn_c1): Likewise.
34505 (__strspn_c2): Likewise.
34506 (__strspn_c3): Likewise.
34507 (__strsep_1c): Likewise.
34508 (__strsep_2c): Likewise.
34509 (__strsep_3c): Likewise.
34510 * string/memccpy.c (__memccpy): Likewise.
34511 * string/stpcpy.c (__stpcpy): Likewise.
34512 * string/strcmp.c (strcmp): Likewise.
34513 * string/strrchr.c (strrchr): Likewise.
34514 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34516 * sysdeps/mach/hurd/getcwd.c
34517 (_hurd_canonicalize_directory_name_internal): Likewise.
34518 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34519 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34520 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34521 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34522 Likewise, in both definitions.
34523 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34525 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34526 64] (__bswap_64): Likewise.
34527 * time/test_time.c (main): Likewise.
34528 * time/tzfile.c (__tzfile_read): Likewise.
34529 (__tzfile_compute): Likewise.
34530 * time/tzset.c (__tzset_parse_tz): Likewise.
34531 (tzset_internal): Likewise.
34532 (compute_change): Likewise.
34533 * wcsmbs/wcscat.c (__wcscat): Likewise.
34534 * wcsmbs/wcschr.c (wcschr): Likewise.
34535 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34536 * wcsmbs/wcscspn.c (wcscspn): Likewise.
34537 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34538 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34539 * wcsmbs/wcsspn.c (wcsspn): Likewise.
34540 * wcsmbs/wcsstr.c (wcsstr): Likewise.
34541 * wcsmbs/wmemchr.c (wmemchr): Likewise.
34542 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34543 * wcsmbs/wmemset.c (wmemset): Likewise.
34545 2013-06-06 Joseph Myers <joseph@codesourcery.com>
34547 * scripts/config.guess: Update to version 2013-05-16.
34548 * scripts/config.sub: Update to version 2013-04-24.
34549 * scripts/install-sh: Update to version 2011-11-20.07.
34550 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34551 * scripts/move-if-change: Update to version 2012-01-06 07:23.
34553 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
34555 * debug/fgetws_u_chk.c: Fix leading whitespaces.
34556 * elf/sln.c: Likewise.
34557 * hurd/hurd/ioctl.h: Likewise.
34558 * hurd/hurdmalloc.c: Likewise.
34559 * hurd/xattr.c: Likewise.
34560 * include/shlib-compat.h: Likewise.
34561 * inet/ruserpass.c: Likewise.
34562 * libio/iofgets_u.c: Likewise.
34563 * libio/iofgetws_u.c: Likewise.
34564 * locale/programs/ld-identification.c: Likewise.
34565 * locale/programs/ld-time.c: Likewise.
34566 * mach/msg-destroy.c: Likewise.
34567 * nss/nss_files/files-netgrp.c: Likewise.
34568 * resolv/res_data.c: Likewise.
34569 * soft-fp/op-1.h: Likewise.
34570 * soft-fp/op-2.h: Likewise.
34571 * soft-fp/op-4.h: Likewise.
34572 * soft-fp/op-common.h: Likewise.
34573 * stdio-common/printf_fphex.c: Likewise.
34574 * stdlib/strtod_l.c: Likewise.
34575 * sunrpc/rpc/clnt.h: Likewise.
34576 * sysdeps/generic/framestate.c: Likewise.
34577 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34578 * sysdeps/i386/bsd-setjmp.S: Likewise.
34579 * sysdeps/i386/__longjmp.S: Likewise.
34580 * sysdeps/i386/setjmp.S: Likewise.
34581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34582 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34583 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34584 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34585 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34586 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34590 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34591 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34592 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34593 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34594 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34595 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34596 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34597 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34598 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34599 * sysdeps/ieee754/support.c: Likewise.
34600 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34601 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34602 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34603 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34604 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34605 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34606 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34607 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34608 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34609 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34610 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34611 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34612 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34613 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34614 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34615 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34616 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34619 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
34621 * posix/transbug.c: Remove executable mode.
34623 2013-06-05 Joseph Myers <joseph@codesourcery.com>
34625 * crypt/speeds.c: Remove trailing whitespace.
34626 * dlfcn/default.c: Likewise.
34627 * elf/ifuncdep2.c: Likewise.
34628 * elf/ifuncmain1.c: Likewise.
34629 * elf/ifuncmain1vis.c: Likewise.
34630 * elf/testobj.h: Likewise.
34631 * elf/tst-stackguard1.c: Likewise.
34632 * gmon/sys/gmon.h: Likewise.
34633 * hurd/hurdmsg.c: Likewise.
34634 * hurd/new-fd.c: Likewise.
34635 * hurd/ports-get.c: Likewise.
34636 * iconvdata/ibm1008_420.c: Likewise.
34637 * inet/tst-getni1.c: Likewise.
34638 * inet/tst-getni2.c: Likewise.
34639 * libio/ioungetc.c: Likewise.
34640 * libio/wfiledoalloc.c: Likewise.
34641 * manual/libm-err-tab.pl: Likewise.
34642 * math/w_dremf.c: Likewise.
34643 * misc/ftruncate.c: Likewise.
34644 * posix/bug-glob2.c: Likewise.
34645 * posix/tst-pcre.c: Likewise.
34646 * posix/wait4.c: Likewise.
34647 * resolv/README: Likewise.
34648 * resolv/res_debug.h: Likewise.
34649 * resolv/tst-inet_ntop.c: Likewise.
34650 * setjmp/bug269-setjmp.c: Likewise.
34651 * soft-fp/extended.h: Likewise.
34652 * soft-fp/op-1.h: Likewise.
34653 * soft-fp/op-2.h: Likewise.
34654 * soft-fp/op-4.h: Likewise.
34655 * soft-fp/op-8.h: Likewise.
34656 * soft-fp/testit.c: Likewise.
34657 * stdio-common/bug16.c: Likewise.
34658 * stdlib/random.c: Likewise.
34659 * sunrpc/rpcsvc/rquota.x: Likewise.
34660 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34661 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34662 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34663 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34664 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34665 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34666 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34667 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34668 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34669 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34670 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34671 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34673 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34674 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34675 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34676 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34677 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34678 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34681 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34682 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34683 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34684 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34685 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34686 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34687 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34688 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34689 * sysdeps/ieee754/s_lib_version.c: Likewise.
34690 * sysdeps/mach/hurd/check_fds.c: Likewise.
34691 * sysdeps/mach/hurd/getsockname.c: Likewise.
34692 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34693 * sysdeps/mach/hurd/recvfrom.c: Likewise.
34694 * sysdeps/powerpc/bits/link.h: Likewise.
34695 * sysdeps/powerpc/dl-procinfo.c: Likewise.
34696 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34697 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34698 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34699 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34700 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34701 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34702 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34703 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34704 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34705 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34706 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34707 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34708 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34709 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34710 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34711 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34712 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34713 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34714 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34715 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34716 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34717 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34718 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34719 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34720 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34721 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34722 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34723 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34724 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34725 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34726 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34727 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34728 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34729 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34730 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34731 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34732 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34733 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34734 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34735 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34736 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34737 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34738 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34739 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34740 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34741 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34742 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34743 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34744 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34745 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34748 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34749 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34750 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34751 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34752 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34753 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34754 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34755 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34756 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34757 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34758 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34759 * sysdeps/powerpc/sysdep.h: Likewise.
34760 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34761 * sysdeps/s390/s390-64/sub_n.S: Likewise.
34762 * sysdeps/sh/dl-trampoline.S: Likewise.
34763 * sysdeps/sh/memset.S: Likewise.
34764 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34765 * sysdeps/sh/strlen.S: Likewise.
34766 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34767 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34768 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34769 * sysdeps/sparc/sparc32/rem.S: Likewise.
34770 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34771 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34772 * sysdeps/sparc/sparc32/strchr.S: Likewise.
34773 * sysdeps/sparc/sparc32/udiv.S: Likewise.
34774 * sysdeps/sparc/sparc32/urem.S: Likewise.
34775 * sysdeps/sparc/sparc64/add_n.S: Likewise.
34776 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34777 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34778 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34780 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34781 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34782 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34783 * sysdeps/unix/bsd/times.c: Likewise.
34784 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34785 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34789 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34790 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34791 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34792 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34793 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34794 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34795 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34796 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34797 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34798 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34799 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34800 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34801 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34802 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34803 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34804 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34805 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34806 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34807 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34808 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34809 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34810 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34811 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34812 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34813 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34814 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34815 * sysdeps/x86_64/strcspn.S: Likewise.
34817 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34819 * locale/C-translit.h: Revert #include <stdint.h> because this is a
34820 generated file. Regenerate properly from gen-translit.pl.
34821 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
34822 locale/C-translit.h.
34824 2013-06-05 Andreas Schwab <schwab@suse.de>
34827 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34828 week as 6 instead of -1.
34829 * time/tst-strptime.c (day_tests): Add test case.
34831 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
34833 * sysdeps/generic/math_private.h
34834 (libc_feholdexcept_setround_53bit): Replace with
34835 libc_feholdsetround_53bit.
34836 (libc_feupdateenv_53bit): Replace with
34837 libc_feresetround_53bit.
34838 (SET_RESTORE_ROUND_53BIT): Adjust.
34840 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
34842 * string/test-strchrnul.c: Add copyright header.
34844 * posix/tst-getaddrinfo4.c: Increase test timeout.
34846 2013-06-03 Carlos O'Donell <carlos@redhat.com>
34849 * math/libm-test.inc (MAX_EXP): Remove
34851 (ulp): Use MIN_EXP - MANT_DIG.
34852 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34854 2013-05-31 Carlos O'Donell <carlos@redhat.com>
34856 * po/be.po: Revert last change.
34857 * po/zh_CN.po: Likewise.
34858 * po/header.pot: Likewise.
34860 2013-05-31 Joseph Myers <joseph@codesourcery.com>
34862 * Makefile ($(common-objpfx)linkobj/libc.so): Define
34863 link-libc-deps to empty as target-specific variable.
34864 * Makerules (link-libc-args): New variable.
34865 (libc-for-link): Likewise.
34866 (link-libc-deps): Likewise.
34867 (lib%.so): Depend on $(link-libc-deps). Link with
34869 (build-module): Link with $(link-libc-args).
34870 (build-module-asneeded): Likewise.
34871 (build-module-helper-objlist): Filter out $(link-libc-deps) from
34873 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34874 target-specific variable.
34875 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34876 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34877 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34879 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34881 ($(objpfx)libpcprofile.so): Likewise.
34882 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34884 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34885 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34886 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34888 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34889 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34890 * login/Makefile ($(objpfx)libutil.so): Likewise.
34891 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34892 * math/Makefile ($(objpfx)libm.so): Likewise.
34893 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34894 $(objpfx)libnsl.so): Define libc-for-link as target-specific
34895 variable instead of depending directly on libc.
34896 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34897 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34899 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34901 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34902 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34903 ($(objpfx)libanl.so): Likewise.
34904 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34906 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34908 * sysdeps/i386/fpu/Makefile: Remove file.
34909 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34910 ($(objpfx)libm.so): Remove dependency on ld.so.
34912 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
34915 * nis/yp_xdr.c (XDRMAXNAME): Define.
34916 (XDRMAXRECORD): Define.
34917 (xdr_domainname): Use XDRMAXNAME.
34918 (xdr_mapname): Likewise.
34919 (xdr_peername): Likewise.
34920 (xdr_keydat): Use XDRMAXRECORD.
34921 (xdr_valdat): Likewise.
34923 2013-05-30 Jeff Law <law@redhat.com>
34926 * manual/errno.texi (ESTALE): Update to account for more than
34927 just NFS file systems.
34928 * sysdeps/gnu/errlist.c: Regenerated.
34930 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34933 * elf/Makefile (tests): Add tst-null-argv.
34934 (modules-names): Add tst-null-argv-lib.
34935 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34936 (tst-null-argv-ENV): Set environment for tst-null-argv.
34937 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34938 (RTLD_PROGNAME): New macro.
34939 * elf/tst-null-argv.c: New test case.
34940 * elf/tst-null-argv-lib.c: Library for test case.
34941 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34942 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34943 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34944 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34945 * elf/dl-init.c (call_init): Likewise.
34946 (_dl_init): Likewise.
34947 * elf/dl-load.c (print_search_path): Likewise.
34948 (_dl_map_object): Likewise.
34949 * elf/dl-lookup.c (do_lookup_x): Likewise.
34950 (add_dependency): Likewise.
34951 (_dl_lookup_symbol_x): Likewise.
34952 (_dl_debug_bindings): Likewise.
34953 * elf/dl-open.c (_dl_show_scope): Likewise.
34954 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34955 * elf/dl-version.c (match_symbol): Likewise.
34956 (_dl_check_map_versions): Likewise.
34957 * elf/rtld.c (dl_main): Likewise.
34958 (print_unresolved): Use RTLD_PROGNAME.
34959 (print_missing_version): Likewise.
34960 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34961 (elf_machine_rela): Likewise.
34962 * sysdeps/powerpc/powerpc32/dl-machine.c
34963 (__process_machine_rela): Likewise.
34964 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34966 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34968 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34970 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34973 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34975 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34977 2013-05-28 Carlos O'Donell <carlos@redhat.com>
34979 * po/be.po: Add descriptive title.
34980 * po/zh_CN.po: Likewise.
34981 * po/header.pot: Likewise.
34983 2013-05-28 Mike Frysinger <vapier@gentoo.org>
34985 * locale/programs/locarchive.c (create_archive): Inlucde fname in
34987 (enlarge_archive): Likewise.
34989 2013-05-28 Ben North <ben@redfrontdoor.org>
34991 * manual/arith.texi (frexp): It is the magnitude of the return
34992 value which lies in [0.5, 1), not the return value itself.
34994 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34998 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
35000 * stdio-common/bug26.c (main): Correct fscanf template.
35002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35003 declare _dl_skip_args.
35005 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35008 * manual/platform.texi: Add missing @end deftypefun.
35010 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35013 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35014 bit of mantissa of 2^16382.
35015 * math/libm-test.inc (hypot_test_data): Add more tests.
35017 * math/libm-test.inc: Add drem and pow10 to list of tested
35019 (pow10_test): New function.
35020 (drem_test): Likewise.
35021 (drem_test_tonearest): Likewise.
35022 (drem_test_towardzero): Likewise.
35023 (drem_test_downward): Likewise.
35024 (drem_test_upward): Likewise.
35025 (main): Call the new functions.
35027 * math/libm-test.inc (finite_test_data): Remove.
35028 (finite_test): Run tests from isfinite_test_data.
35029 (gamma_test_data): Remove.
35030 (gamma_test): Run tests from lgamma_test_data.
35031 * sysdeps/i386/fpu/libm-test-ulps: Update.
35032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35034 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35036 * manual/platform.texi: Add PowerPC PPR function set documentation.
35037 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35040 2013-05-24 Carlos O'Donell <carlos@redhat.com>
35042 * math/libm-test.inc (MAX_EXP): Define.
35044 (ulp): New function.
35045 (check_float_internal): Use ULPDIFF.
35046 (cpow_test): Disable failing test.
35047 (check_ulp): Test ulp() implemetnation.
35048 (main): Call check_ulp before starting tests.
35050 2013-05-24 Joseph Myers <joseph@codesourcery.com>
35052 * math/gen-libm-test.pl (generate_testfile): Do not handle
35053 START_DATA and END_DATA.
35054 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35056 (acos_tonearest_test_data): Likewise.
35057 (acos_towardzero_test_data): Likewise.
35058 (acos_downward_test_data): Likewise.
35059 (acos_upward_test_data): Likewise.
35060 (acosh_test_data): Likewise.
35061 (asin_test_data): Likewise.
35062 (asin_tonearest_test_data): Likewise.
35063 (asin_towardzero_test_data): Likewise.
35064 (asin_downward_test_data): Likewise.
35065 (asin_upward_test_data): Likewise.
35066 (asinh_test_data): Likewise.
35067 (atan_test_data): Likewise.
35068 (atanh_test_data): Likewise.
35069 (atan2_test_data): Likewise.
35070 (cabs_test_data): Likewise.
35071 (cacos_test_data): Likewise.
35072 (cacosh_test_data): Likewise.
35073 (carg_test_data): Likewise.
35074 (casin_test_data): Likewise.
35075 (casinh_test_data): Likewise.
35076 (catan_test_data): Likewise.
35077 (catanh_test_data): Likewise.
35078 (cbrt_test_data): Likewise.
35079 (ccos_test_data): Likewise.
35080 (ccosh_test_data): Likewise.
35081 (ceil_test_data): Likewise.
35082 (cexp_test_data): Likewise.
35083 (cimag_test_data): Likewise.
35084 (clog_test_data): Likewise.
35085 (clog10_test_data): Likewise.
35086 (conj_test_data): Likewise.
35087 (copysign_test_data): Likewise.
35088 (cos_test_data): Likewise.
35089 (cos_tonearest_test_data): Likewise.
35090 (cos_towardzero_test_data): Likewise.
35091 (cos_downward_test_data): Likewise.
35092 (cos_upward_test_data): Likewise.
35093 (cosh_test_data): Likewise.
35094 (cosh_tonearest_test_data): Likewise.
35095 (cosh_towardzero_test_data): Likewise.
35096 (cosh_downward_test_data): Likewise.
35097 (cosh_upward_test_data): Likewise.
35098 (cpow_test_data): Likewise.
35099 (cproj_test_data): Likewise.
35100 (creal_test_data): Likewise.
35101 (csin_test_data): Likewise.
35102 (csinh_test_data): Likewise.
35103 (csqrt_test_data): Likewise.
35104 (ctan_test_data): Likewise.
35105 (ctan_tonearest_test_data): Likewise.
35106 (ctan_towardzero_test_data): Likewise.
35107 (ctan_downward_test_data): Likewise.
35108 (ctan_upward_test_data): Likewise.
35109 (ctanh_test_data): Likewise.
35110 (ctanh_tonearest_test_data): Likewise.
35111 (ctanh_towardzero_test_data): Likewise.
35112 (ctanh_downward_test_data): Likewise.
35113 (ctanh_upward_test_data): Likewise.
35114 (erf_test_data): Likewise.
35115 (erfc_test_data): Likewise.
35116 (exp_test_data): Likewise.
35117 (exp_tonearest_test_data): Likewise.
35118 (exp_towardzero_test_data): Likewise.
35119 (exp_downward_test_data): Likewise.
35120 (exp_upward_test_data): Likewise.
35121 (exp10_test_data): Likewise.
35122 (exp2_test_data): Likewise.
35123 (expm1_test_data): Likewise.
35124 (fabs_test_data): Likewise.
35125 (fdim_test_data): Likewise.
35126 (finite_test_data): Likewise.
35127 (floor_test_data): Likewise.
35128 (fma_test_data): Likewise.
35129 (fma_towardzero_test_data): Likewise.
35130 (fma_downward_test_data): Likewise.
35131 (fma_upward_test_data): Likewise.
35132 (fmax_test_data): Likewise.
35133 (fmin_test_data): Likewise.
35134 (fmod_test_data): Likewise.
35135 (fpclassify_test_data): Likewise.
35136 (frexp_test_data): Likewise.
35137 (gamma_test_data): Likewise.
35138 (hypot_test_data): Likewise.
35139 (ilogb_test_data): Likewise.
35140 (isfinite_test_data): Likewise.
35141 (isgreater_test_data): Likewise.
35142 (isgreaterequal_test_data): Likewise.
35143 (isinf_test_data): Likewise.
35144 (isless_test_data): Likewise.
35145 (islessequal_test_data): Likewise.
35146 (islessgreater_test_data): Likewise.
35147 (isnan_test_data): Likewise.
35148 (isnormal_test_data): Likewise.
35149 (issignaling_test_data): Likewise.
35150 (isunordered_test_data): Likewise.
35151 (j0_test_data): Likewise.
35152 (j1_test_data): Likewise.
35153 (jn_test_data): Likewise.
35154 (ldexp_test_data): Likewise.
35155 (lgamma_test_data): Likewise.
35156 (lrint_test_data): Likewise.
35157 (lrint_tonearest_test_data): Likewise.
35158 (lrint_towardzero_test_data): Likewise.
35159 (lrint_downward_test_data): Likewise.
35160 (lrint_upward_test_data): Likewise.
35161 (llrint_test_data): Likewise.
35162 (llrint_tonearest_test_data): Likewise.
35163 (llrint_towardzero_test_data): Likewise.
35164 (llrint_downward_test_data): Likewise.
35165 (llrint_upward_test_data): Likewise.
35166 (log_test_data): Likewise.
35167 (log10_test_data): Likewise.
35168 (log1p_test_data): Likewise.
35169 (log2_test_data): Likewise.
35170 (logb_test_data): Likewise.
35171 (logb_downward_test_data): Likewise.
35172 (lround_test_data): Likewise.
35173 (llround_test_data): Likewise.
35174 (modf_test_data): Likewise.
35175 (nearbyint_test_data): Likewise.
35176 (nextafter_test_data): Likewise.
35177 (nexttoward_test_data): Likewise.
35178 (pow_test_data): Likewise.
35179 (pow_tonearest_test_data): Likewise.
35180 (pow_towardzero_test_data): Likewise.
35181 (pow_downward_test_data): Likewise.
35182 (pow_upward_test_data): Likewise.
35183 (remainder_test_data): Likewise.
35184 (remainder_tonearest_test_data): Likewise.
35185 (remainder_towardzero_test_data): Likewise.
35186 (remainder_downward_test_data): Likewise.
35187 (remainder_upward_test_data): Likewise.
35188 (remquo_test_data): Likewise.
35189 (rint_test_data): Likewise.
35190 (rint_tonearest_test_data): Likewise.
35191 (rint_towardzero_test_data): Likewise.
35192 (rint_downward_test_data): Likewise.
35193 (rint_upward_test_data): Likewise.
35194 (round_test_data): Likewise.
35195 (scalb_test_data): Likewise.
35196 (scalbn_test_data): Likewise.
35197 (scalbln_test_data): Likewise.
35198 (signbit_test_data): Likewise.
35199 (sin_test_data): Likewise.
35200 (sin_tonearest_test_data): Likewise.
35201 (sin_towardzero_test_data): Likewise.
35202 (sin_downward_test_data): Likewise.
35203 (sin_upward_test_data): Likewise.
35204 (sincos_test_data): Likewise.
35205 (sinh_test_data): Likewise.
35206 (sinh_tonearest_test_data): Likewise.
35207 (sinh_towardzero_test_data): Likewise.
35208 (sinh_downward_test_data): Likewise.
35209 (sinh_upward_test_data): Likewise.
35210 (sqrt_test_data): Likewise.
35211 (tan_test_data): Likewise.
35212 (tan_tonearest_test_data): Likewise.
35213 (tan_towardzero_test_data): Likewise.
35214 (tan_downward_test_data): Likewise.
35215 (tan_upward_test_data): Likewise.
35216 (tanh_test_data): Likewise.
35217 (tgamma_test_data): Likewise.
35218 (trunc_test_data): Likewise.
35219 (y0_test_data): Likewise.
35220 (y1_test_data): Likewise.
35221 (yn_test_data): Likewise.
35222 (significand_test_data): Likewise.
35224 * math/gen-libm-test.pl (@functions): Remove variable.
35225 (generate_testfile): Don't handle START and END lines.
35226 * math/libm-test.inc (START): New macro.
35228 (END_COMPLEX): Likewise.
35229 (acos_test): Use END macro without arguments.
35230 (acos_test_tonearest): Likewise.
35231 (acos_test_towardzero): Likewise.
35232 (acos_test_downward): Likewise.
35233 (acos_test_upward): Likewise.
35234 (acosh_test): Likewise.
35235 (asin_test): Likewise.
35236 (asin_test_tonearest): Likewise.
35237 (asin_test_towardzero): Likewise.
35238 (asin_test_downward): Likewise.
35239 (asin_test_upward): Likewise.
35240 (asinh_test): Likewise.
35241 (atan_test): Likewise.
35242 (atanh_test): Likewise.
35243 (atan2_test): Likewise.
35244 (cabs_test): Likewise.
35245 (cacos_test): Use END_COMPLEX macro without arguments.
35246 (cacosh_test): Likewise.
35247 (carg_test): Use END macro without arguments.
35248 (casin_test): Use END_COMPLEX macro without arguments.
35249 (casinh_test): Likewise.
35250 (catan_test): Likewise.
35251 (catanh_test): Likewise.
35252 (cbrt_test): Use END macro without arguments.
35253 (ccos_test): Use END_COMPLEX macro without arguments.
35254 (ccosh_test): Likewise.
35255 (ceil_test): Use END macro without arguments.
35256 (cexp_test): Use END_COMPLEX macro without arguments.
35257 (cimag_test): Use END macro without arguments.
35258 (clog_test): Use END_COMPLEX macro without arguments.
35259 (clog10_test): Likewise.
35260 (conj_test): Likewise.
35261 (copysign_test): Use END macro without arguments.
35262 (cos_test): Likewise.
35263 (cos_test_tonearest): Likewise.
35264 (cos_test_towardzero): Likewise.
35265 (cos_test_downward): Likewise.
35266 (cos_test_upward): Likewise.
35267 (cosh_test): Likewise.
35268 (cosh_test_tonearest): Likewise.
35269 (cosh_test_towardzero): Likewise.
35270 (cosh_test_downward): Likewise.
35271 (cosh_test_upward): Likewise.
35272 (cpow_test): Use END_COMPLEX macro without arguments.
35273 (cproj_test): Likewise.
35274 (creal_test): Use END macro without arguments.
35275 (csin_test): Use END_COMPLEX macro without arguments.
35276 (csinh_test): Likewise.
35277 (csqrt_test): Likewise.
35278 (ctan_test): Likewise.
35279 (ctan_test_tonearest): Likewise.
35280 (ctan_test_towardzero): Likewise.
35281 (ctan_test_downward): Likewise.
35282 (ctan_test_upward): Likewise.
35283 (ctanh_test): Likewise.
35284 (ctanh_test_tonearest): Likewise.
35285 (ctanh_test_towardzero): Likewise.
35286 (ctanh_test_downward): Likewise.
35287 (ctanh_test_upward): Likewise.
35288 (erf_test): Use END macro without arguments.
35289 (erfc_test): Likewise.
35290 (exp_test): Likewise.
35291 (exp_test_tonearest): Likewise.
35292 (exp_test_towardzero): Likewise.
35293 (exp_test_downward): Likewise.
35294 (exp_test_upward): Likewise.
35295 (exp10_test): Likewise.
35296 (exp2_test): Likewise.
35297 (expm1_test): Likewise.
35298 (fabs_test): Likewise.
35299 (fdim_test): Likewise.
35300 (finite_test): Likewise.
35301 (floor_test): Likewise.
35302 (fma_test): Likewise.
35303 (fma_test_towardzero): Likewise.
35304 (fma_test_downward): Likewise.
35305 (fma_test_upward): Likewise.
35306 (fmax_test): Likewise.
35307 (fmin_test): Likewise.
35308 (fmod_test): Likewise.
35309 (fpclassify_test): Likewise.
35310 (frexp_test): Likewise.
35311 (gamma_test): Likewise.
35312 (hypot_test): Likewise.
35313 (ilogb_test): Likewise.
35314 (isfinite_test): Likewise.
35315 (isgreater_test): Likewise.
35316 (isgreaterequal_test): Likewise.
35317 (isinf_test): Likewise.
35318 (isless_test): Likewise.
35319 (islessequal_test): Likewise.
35320 (islessgreater_test): Likewise.
35321 (isnan_test): Likewise.
35322 (isnormal_test): Likewise.
35323 (issignaling_test): Likewise.
35324 (isunordered_test): Likewise.
35325 (j0_test): Likewise.
35326 (j1_test): Likewise.
35327 (jn_test): Likewise.
35328 (ldexp_test): Likewise.
35329 (lgamma_test): Likewise.
35330 (lrint_test): Likewise.
35331 (lrint_test_tonearest): Likewise.
35332 (lrint_test_towardzero): Likewise.
35333 (lrint_test_downward): Likewise.
35334 (lrint_test_upward): Likewise.
35335 (llrint_test): Likewise.
35336 (llrint_test_tonearest): Likewise.
35337 (llrint_test_towardzero): Likewise.
35338 (llrint_test_downward): Likewise.
35339 (llrint_test_upward): Likewise.
35340 (log_test): Likewise.
35341 (log10_test): Likewise.
35342 (log1p_test): Likewise.
35343 (log2_test): Likewise.
35344 (logb_test): Likewise.
35345 (logb_test_downward): Likewise.
35346 (lround_test): Likewise.
35347 (llround_test): Likewise.
35348 (modf_test): Likewise.
35349 (nearbyint_test): Likewise.
35350 (nextafter_test): Likewise.
35351 (nexttoward_test): Likewise.
35352 (pow_test): Likewise.
35353 (pow_test_tonearest): Likewise.
35354 (pow_test_towardzero): Likewise.
35355 (pow_test_downward): Likewise.
35356 (pow_test_upward): Likewise.
35357 (remainder_test): Likewise.
35358 (remainder_test_tonearest): Likewise.
35359 (remainder_test_towardzero): Likewise.
35360 (remainder_test_downward): Likewise.
35361 (remainder_test_upward): Likewise.
35362 (remquo_test): Likewise.
35363 (rint_test): Likewise.
35364 (rint_test_tonearest): Likewise.
35365 (rint_test_towardzero): Likewise.
35366 (rint_test_downward): Likewise.
35367 (rint_test_upward): Likewise.
35368 (round_test): Likewise.
35369 (scalb_test): Likewise.
35370 (scalbn_test): Likewise.
35371 (scalbln_test): Likewise.
35372 (signbit_test): Likewise.
35373 (sin_test): Likewise.
35374 (sin_test_tonearest): Likewise.
35375 (sin_test_towardzero): Likewise.
35376 (sin_test_downward): Likewise.
35377 (sin_test_upward): Likewise.
35378 (sincos_test): Likewise.
35379 (sinh_test): Likewise.
35380 (sinh_test_tonearest): Likewise.
35381 (sinh_test_towardzero): Likewise.
35382 (sinh_test_downward): Likewise.
35383 (sinh_test_upward): Likewise.
35384 (sqrt_test): Likewise.
35385 (tan_test): Likewise.
35386 (tan_test_tonearest): Likewise.
35387 (tan_test_towardzero): Likewise.
35388 (tan_test_downward): Likewise.
35389 (tan_test_upward): Likewise.
35390 (tanh_test): Likewise.
35391 (tgamma_test): Likewise.
35392 (trunc_test): Likewise.
35393 (y0_test): Likewise.
35394 (y1_test): Likewise.
35395 (yn_test): Likewise.
35396 (significand_test): Likewise.
35398 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
35401 * libio/genops.c (_IO_no_init): Initialize wide struct info.
35403 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
35406 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35407 __ppc_mdoio and __ppc_mdoom.
35408 * manual/platform.texi: Document new functions __ppc_yield,
35409 __ppc_mdoio and __ppc_mdoom.
35411 2013-05-22 Carlos O'Donell <carlos@redhat.com>
35413 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35414 (main): Mention "tls" pseudo-hwcap is legacy.
35415 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35417 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35419 * math/gen-libm-test.pl (parse_args): Output only string of
35420 arguments as text for test name, not full call or descriptions of
35421 tests for extra outputs.
35422 (generate_testfile): Do not pass function name to parse_args.
35423 Generate this_func variable from START.
35424 * math/libm-test.inc (struct test_f_f_data): Rename test_name
35426 (struct test_ff_f_data): Likewise.
35427 (test_ff_f_data_nexttoward): Likewise.
35428 (struct test_fi_f_data): Likewise.
35429 (struct test_fl_f_data): Likewise.
35430 (struct test_if_f_data): Likewise.
35431 (struct test_fff_f_data): Likewise.
35432 (struct test_c_f_data): Likewise.
35433 (struct test_f_f1_data): Likewise. Remove field extra_name.
35434 (struct test_fF_f1_data): Likewise.
35435 (struct test_ffI_f1_data): Likewise.
35436 (struct test_c_c_data): Rename test_name field to arg_str.
35437 (struct test_cc_c_data): Likewise.
35438 (struct test_f_i_data): Likewise.
35439 (struct test_ff_i_data): Likewise.
35440 (struct test_f_l_data): Likewise.
35441 (struct test_f_L_data): Likewise.
35442 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
35444 (COMMON_TEST_SETUP): New macro.
35445 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35446 (COMMON_TEST_CLEANUP): Likewise.
35447 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35448 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
35450 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35451 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
35453 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35454 (RUN_TEST_fff_f): Take argument string. Call new setup and
35456 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35457 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
35459 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35460 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
35462 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35463 (RUN_TEST_fF_f1): Take argument string. Call new setup and
35465 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35466 (RUN_TEST_fI_f1): Take argument string. Call new setup and
35468 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35469 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
35471 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35472 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
35474 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35475 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
35477 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35478 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
35480 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35481 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
35483 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35484 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
35486 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35487 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
35489 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35490 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
35492 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35493 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
35495 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35496 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
35498 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35499 (RUN_TEST_fFF_11): Take argument string. Call new setup and
35501 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35503 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
35505 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35506 to _sifields.sigfault.
35507 (si_addr_lsb): Define new macro.
35508 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35509 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35510 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35512 2013-05-03 Carlos O'Donell <carlos at redhat.com>
35515 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35517 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35519 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35520 loading the domain.
35522 2013-05-22 Joseph Myers <joseph@codesourcery.com>
35524 * math/gen-libm-test.pl (parse_args): Do not include expected
35525 result in test name.
35526 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35527 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35528 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35529 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35530 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35533 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
35535 * benchtests/Makefile: Sort function entries.
35537 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35538 tanh, asinh, acosh, atanh.
35539 * benchtests/acos-inputs: New file.
35540 * benchtests/acosh-inputs: New file.
35541 * benchtests/asin-inputs: New file.
35542 * benchtests/asinh-inputs: New file.
35543 * benchtests/atanh-inputs: New file.
35544 * benchtests/cosh-inputs: New file.
35545 * benchtests/log-inputs: New file.
35546 * benchtests/sinh-inputs: New file.
35547 * benchtests/tanh-inputs: New file.
35549 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
35552 * posix/tst-getaddrinfo4.c: New test.
35553 * posix/Makefile (tests): Add it.
35555 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35558 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35559 when no services were used.
35560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35561 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35563 2013-05-21 Andreas Schwab <schwab@suse.de>
35566 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35567 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35569 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35570 redundant variable declarations and reallocation of buffer when
35571 parsing as IPv6 address. Always set NSS status when called from
35572 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
35573 buffer too small. Correct computation of needed size.
35574 * nss/Makefile (tests): Add test-digits-dots.
35575 * nss/test-digits-dots.c: New test.
35577 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
35579 * benchtests/Makefile: Remove instructions for adding
35581 * benchtests/README: New file to explain how to execute and
35582 enhance the benchmark tests.
35584 2013-05-21 Andreas Schwab <schwab@suse.de>
35587 * setjmp/Makefile (tests): Add tst-sigsetjmp.
35588 * setjmp/tst-sigsetjmp.c: New test.
35590 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35592 * sysdeps/x86_64/memset.S (memset): New implementation.
35593 (__bzero): Likewise.
35594 (__memset_tail): New function.
35596 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
35598 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35599 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35600 __memcpy_sse2_unaligned ifunc selection.
35601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35602 Add memcpy-sse2-unaligned.S.
35603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35604 Add: __memcpy_sse2_unaligned.
35606 2013-05-19 Joseph Myers <joseph@codesourcery.com>
35609 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35610 math_force_eval before restoring floating-point envrionment.
35611 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35612 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35614 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35616 (__nearbyintl): Use math_force_eval before restoring
35617 floating-point environment.
35618 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35620 * math/gen-libm-test.pl (special_functions): Remove.
35621 (parse_args): Don't handle TEST_extra. Handle functions with no
35623 * math/libm-test.inc (struct test_sincos_data): Replace with
35624 struct test_fFF_11_data.
35625 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35626 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35627 (sincos_test_data): Change element type to struct
35628 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
35629 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35630 RUN_TEST_LOOP_sincos.
35631 * math/README.libm-test: Don't mention special handling of
35632 individual functions.
35633 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35634 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35635 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35636 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35637 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35640 * math/gen-libm-test.pl (get_variable): Remove function.
35641 (parse_args): Don't show pointer parameters to call in test
35642 names. Use "extra output N" in test names for extra outputs
35643 rather than naming variables.
35645 2013-05-18 Joseph Myers <joseph@codesourcery.com>
35648 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35649 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35650 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35652 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35654 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35657 * math/gen-libm-test.pl (@tests): Remove variable.
35658 ($count): Likewise.
35659 (new_test): Remove function.
35660 (show_exceptions): New function.
35661 (special_functions): Use show_exceptions instead of new_test.
35662 (parse_args): Likewise.
35663 (generate_testfile): Pass only function name in generated call to
35664 print_max_error or print_complex_max_error.
35665 (get_ulps): Do not handle complex tests specially.
35666 (output_test): Rename to ...
35667 (get_all_ulps_for_test): ... this. Return a string rather than
35668 printing to a file. Require ulps to be present.
35669 (output_ulps): Generate arrays rather than #defines.
35670 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35671 (struct ulp_data): New type.
35672 (BUILD_COMPLEX_ULP): Remove macro.
35673 (compare_ulp_data): New function.
35674 (find_ulps): Likewise.
35675 (find_test_ulps): Likewise.
35676 (find_function_ulps): Likewise.
35677 (find_complex_function_ulps): Likewise.
35678 (print_max_error): Determine allowed ulps using
35679 find_function_ulps.
35680 (print_complex_max_error): Determine allowed ulps using
35681 find_complex_function_ulps.
35682 (check_float_internal): Determine max ulps using find_test_ulps.
35683 (check_float): Do not take max_ulp parameter. Update call to
35684 check_float_internal.
35685 (check_complex): Likewise.
35686 (check_int): Do not take max_ulp parameter.
35687 (check_long): Likewise.
35688 (check_bool): Likewise.
35689 (check_longlong): Likewise.
35690 (struct test_f_f_data): Remove max_ulp field.
35691 (struct test_ff_f_data): Likewise.
35692 (struct test_ff_f_data_nexttoward): Likewise.
35693 (struct test_fi_f_data): Likewise.
35694 (struct test_fl_f_data): Likewise.
35695 (struct test_if_f_data): Likewise.
35696 (struct test_fff_f_data): Likewise.
35697 (struct test_c_f_data): Likewise.
35698 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35699 (struct test_fF_f1_data): Likewise.
35700 (struct test_ffI_f1_data): Likewise.
35701 (struct test_c_c_data): Remove max_ulp field.
35702 (struct test_cc_c_data): Likewise.
35703 (struct test_f_i_data): Likewise.
35704 (struct test_ff_i_data): Likewise.
35705 (struct test_f_l_data): Likewise.
35706 (struct test_f_L_data): Likewise.
35707 (struct test_sincos_data): Likewise.
35708 (RUN_TEST_f_f): Do not handle ulps.
35709 (RUN_TEST_LOOP_f_f): Likewise.
35710 (RUN_TEST_2_f): Likewise.
35711 (RUN_TEST_LOOP_2_f): Likewise.
35712 (RUN_TEST_fff_f): Likewise.
35713 (RUN_TEST_LOOP_fff_f): Likewise.
35714 (RUN_TEST_c_f): Likewise.
35715 (RUN_TEST_LOOP_c_f): Likewise.
35716 (RUN_TEST_f_f1): Likewise.
35717 (RUN_TEST_LOOP_f_f1): Likewise.
35718 (RUN_TEST_fF_f1): Likewise.
35719 (RUN_TEST_LOOP_fF_f1): Likewise.
35720 (RUN_TEST_fI_f1): Likewise.
35721 (RUN_TEST_LOOP_fI_f1): Likewise.
35722 (RUN_TEST_ffI_f1): Likewise.
35723 (RUN_TEST_LOOP_ffI_f1): Likewise.
35724 (RUN_TEST_c_c): Likewise.
35725 (RUN_TEST_LOOP_c_c): Likewise.
35726 (RUN_TEST_cc_c): Likewise.
35727 (RUN_TEST_LOOP_cc_c): Likewise.
35728 (RUN_TEST_f_i): Likewise.
35729 (RUN_TEST_LOOP_f_i): Likewise.
35730 (RUN_TEST_f_i_tg): Likewise.
35731 (RUN_TEST_LOOP_f_i_tg): Likewise.
35732 (RUN_TEST_ff_i_tg): Likewise.
35733 (RUN_TEST_LOOP_ff_i_tg): Likewise.
35734 (RUN_TEST_f_b): Likewise.
35735 (RUN_TEST_LOOP_f_b): Likewise.
35736 (RUN_TEST_f_b_tg): Likewise.
35737 (RUN_TEST_LOOP_f_b_tg): Likewise.
35738 (RUN_TEST_f_l): Likewise.
35739 (RUN_TEST_LOOP_f_l): Likewise.
35740 (RUN_TEST_f_L): Likewise.
35741 (RUN_TEST_LOOP_f_L): Likewise.
35742 (RUN_TEST_sincos): Likewise.
35743 (RUN_TEST_LOOP_sincos): Likewise.
35745 2013-05-17 Joseph Myers <joseph@codesourcery.com>
35749 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35750 main case of finite arguments, set rounding mode to FE_TONEAREST
35751 and discard exceptions.
35752 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35754 (remainder_tonearest_test_data): New variable.
35755 (remainder_test_tonearest): New function.
35756 (remainder_towardzero_test_data): New variable.
35757 (remainder_test_towardzero): New function.
35758 (remainder_downward_test_data): New variable.
35759 (remainder_test_downward): New function.
35760 (remainder_upward_test_data): New variable.
35761 (remainder_test_upward): New function.
35762 (main): Call the new test functions.
35764 * math/libm-test.inc (struct test_f_f1_data): Remove field
35766 (struct test_fF_f1_data): Likewise.
35767 (struct test_ffI_f1_data): Likewise.
35768 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
35769 based on value of EXTRA_EXPECTED.
35770 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35771 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
35772 EXTRA_VAR based on value of EXTRA_EXPECTED.
35773 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35774 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
35775 EXTRA_VAR based on value of EXTRA_EXPECTED.
35776 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35777 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
35778 EXTRA_VAR based on value of EXTRA_EXPECTED.
35779 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35780 * math/gen-libm-test.pl (parse_args): Don't output initializers
35781 for extra output values.
35783 * math/libm-test.inc (check_int): Expect result to be exactly
35784 equal to expected value and do not handle ulps.
35785 (check_long): Likewise.
35786 (check_longlong): Likewise.
35788 * math/libm-test.inc (ceil_test_data): Test for "inexact"
35790 (cimag_test_data): Likewise.
35791 (conj_test_data): Likewise.
35792 (copysign_test_data): Likewise.
35793 (cproj_test_data): Likewise.
35794 (creal_test_data): Likewise.
35795 (fabs_test_data): Likewise.
35796 (fdim_test_data): Likewise.
35797 (finite_test_data): Likewise.
35798 (floor_test_data): Likewise.
35799 (fmax_test_data): Likewise.
35800 (fmin_test_data): Likewise.
35801 (fmod_test_data): Likewise.
35802 (fpclassify_test_data): Likewise.
35803 (frexp_test_data): Likewise.
35804 (ilogb_test_data): Likewise.
35805 (isfinite_test_data): Likewise.
35806 (isgreater_test_data): Likewise.
35807 (isgreaterequal_test_data): Likewise.
35808 (isinf_test_data): Likewise.
35809 (isless_test_data): Likewise.
35810 (islessequal_test_data): Likewise.
35811 (islessgreater_test_data): Likewise.
35812 (isnan_test_data): Likewise.
35813 (isnormal_test_data): Likewise.
35814 (issignaling_test_data): Likewise.
35815 (isunordered_test_data): Likewise.
35816 (ldexp_test_data): Likewise.
35817 (lrint_test_data): Likewise.
35818 (lrint_test_data) [TEST_FLOAT]: Disable one test.
35819 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35820 (lrint_tonearest_test_data): Test for "inexact" exceptions.
35821 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35822 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35823 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35825 (lrint_towardzero_test_data): Test for "inexact" exceptions.
35826 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35827 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35828 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35830 (lrint_downward_test_data): Test for "inexact" exceptions.
35831 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35832 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35833 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35835 (lrint_upward_test_data): Test for "inexact" exceptions.
35836 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35838 (llrint_test_data): Test for "inexact" exceptions.
35839 (llrint_test_data) [TEST_FLOAT]: Disable one test.
35840 (llrint_tonearest_test_data): Test for "inexact" exceptions.
35841 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35842 (llrint_towardzero_test_data): Test for "inexact" exceptions.
35843 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35844 (llrint_downward_test_data): Test for "inexact" exceptions.
35845 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35846 (llrint_upward_test_data): Test for "inexact" exceptions.
35847 (logb_test_data): Likewise.
35848 (logb_downward_test_data): Likewise.
35849 (nextafter_test_data): Likewise.
35850 (nexttoward_test_data): Likewise.
35851 (remainder_test_data): Likewise.
35852 (remquo_test_data): Likewise.
35853 (scalbn_test_data): Likewise.
35854 (scalbln_test_data): Likewise.
35855 (signbit_test_data): Likewise.
35856 (sqrt_test_data): Likewise.
35857 (significand_test_data): Likewise.
35859 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35862 * benchtests/bench-modf.c (struct args): Mark arg0 as
35864 * scripts/bench.pl: Mark members of struct args as volatile.
35866 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35869 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35870 negative infinity on POWER6 or lower.
35871 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35873 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
35876 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35877 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35878 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35879 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35880 (_FP_SETQNAN): New macro.
35881 (_FP_SETQNAN_SEMIRAW): Likewise.
35882 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35883 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35884 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35885 (FP_EXTEND): Use _FP_FRAC_SNANP.
35886 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35887 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35889 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35891 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35894 2013-05-16 Joseph Myers <joseph@codesourcery.com>
35896 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35897 with DIVIDE_BY_ZERO_EXCEPTION.
35898 (gamma_test_data): Likewise.
35899 (lgamma_test_data): Likewise.
35900 (log_test_data): Likewise.
35901 (log10_test_data): Likewise.
35902 (log2_test_data): Likewise.
35903 (tgamma_test_data): Likewise.
35905 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35906 (acos_test_tonearest): Likewise.
35907 (acos_test_towardzero): Likewise.
35908 (acos_test_downward): Likewise.
35909 (acos_test_upward): Likewise.
35910 (acosh_test): Likewise.
35911 (asin_test): Likewise.
35912 (asin_test_tonearest): Likewise.
35913 (asin_test_towardzero): Likewise.
35914 (asin_test_downward): Likewise.
35915 (asin_test_upward): Likewise.
35916 (asinh_test): Likewise.
35917 (atan_test): Likewise.
35918 (atanh_test): Likewise.
35919 (atan2_test): Likewise.
35920 (cabs_test): Likewise.
35921 (cacos_test): Likewise.
35922 (cacosh_test): Likewise.
35923 (casin_test): Likewise.
35924 (casinh_test): Likewise.
35925 (catan_test): Likewise.
35926 (catanh_test): Likewise.
35927 (cbrt_test): Likewise.
35928 (ccos_test): Likewise.
35929 (ccosh_test): Likewise.
35930 (cexp_test): Likewise.
35931 (clog_test): Likewise.
35932 (clog10_test): Likewise.
35933 (cos_test): Likewise.
35934 (cos_test_tonearest): Likewise.
35935 (cos_test_towardzero): Likewise.
35936 (cos_test_downward): Likewise.
35937 (cos_test_upward): Likewise.
35938 (cosh_test): Likewise.
35939 (cosh_test_tonearest): Likewise.
35940 (cosh_test_towardzero): Likewise.
35941 (cosh_test_downward): Likewise.
35942 (cosh_test_upward): Likewise.
35943 (cpow_test): Likewise.
35944 (csin_test): Likewise.
35945 (csinh_test): Likewise.
35946 (csqrt_test): Likewise.
35947 (ctan_test): Likewise.
35948 (ctan_test_tonearest): Likewise.
35949 (ctan_test_towardzero): Likewise.
35950 (ctan_test_downward): Likewise.
35951 (ctan_test_upward): Likewise.
35952 (ctanh_test): Likewise.
35953 (ctanh_test_tonearest): Likewise.
35954 (ctanh_test_towardzero): Likewise.
35955 (ctanh_test_downward): Likewise.
35956 (ctanh_test_upward): Likewise.
35957 (erf_test): Likewise.
35958 (erfc_test): Likewise.
35959 (exp_test): Likewise.
35960 (exp_test_tonearest): Likewise.
35961 (exp_test_towardzero): Likewise.
35962 (exp_test_downward): Likewise.
35963 (exp_test_upward): Likewise.
35964 (exp10_test): Likewise.
35965 (exp2_test): Likewise.
35966 (expm1_test): Likewise.
35967 (fmod_test): Likewise.
35968 (gamma_test): Likewise.
35969 (hypot_test): Likewise.
35970 (j0_test): Likewise.
35971 (j1_test): Likewise.
35972 (jn_test): Likewise.
35973 (lgamma_test): Likewise.
35974 (log_test): Likewise.
35975 (log10_test): Likewise.
35976 (log1p_test): Likewise.
35977 (log2_test): Likewise.
35978 (logb_test_downward): Likewise.
35979 (pow_test): Likewise.
35980 (pow_test_tonearest): Likewise.
35981 (pow_test_towardzero): Likewise.
35982 (pow_test_downward): Likewise.
35983 (pow_test_upward): Likewise.
35984 (remainder_test): Likewise.
35985 (remquo_test): Likewise.
35986 (sin_test): Likewise.
35987 (sin_test_tonearest): Likewise.
35988 (sin_test_towardzero): Likewise.
35989 (sin_test_downward): Likewise.
35990 (sin_test_upward): Likewise.
35991 (sincos_test): Likewise.
35992 (sinh_test): Likewise.
35993 (sinh_test_tonearest): Likewise.
35994 (sinh_test_towardzero): Likewise.
35995 (sinh_test_downward): Likewise.
35996 (sinh_test_upward): Likewise.
35997 (sqrt_test): Likewise.
35998 (tan_test): Likewise.
35999 (tan_test_tonearest): Likewise.
36000 (tan_test_towardzero): Likewise.
36001 (tan_test_downward): Likewise.
36002 (tan_test_upward): Likewise.
36003 (tanh_test): Likewise.
36004 (tgamma_test): Likewise.
36005 (y0_test): Likewise.
36006 (y1_test): Likewise.
36007 (yn_test): Likewise.
36009 * math/gen-libm-test.pl (adjust_arg): Remove function.
36010 (special_function): Remove argument $in_func. Only handle
36011 generating output for tables of tests, not inside functions.
36012 (parse_args): Likewise.
36013 (generate_testfile): Remove variable $in_func. Update call to
36015 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36016 (MINUS_ZERO_INIT): Rename macro to minus_zero.
36017 (PLUS_INFTY_INIT): Rename macro to plus_infty.
36018 (MINUS_INFTY_INIT): Rename macro to minus_infty.
36019 (QNAN_VALUE_INIT): Rename macro to qnan_value.
36020 (MAX_VALUE_INIT): Rename macro to max_value.
36021 (MIN_VALUE_INIT): Rename macro to min_value.
36022 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36023 (plus_zero): Remove variable.
36024 (minus_zero): Likewise.
36025 (plus_infty): Likewise.
36026 (minus_infty): Likewise.
36027 (qnan_value): Likewise.
36028 (max_value): Likewise.
36029 (min_value): Likewise.
36030 (min_subnorm_value): Likewise.
36032 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36034 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36035 uint64_t or uint32_t usage.
36036 * crypt/sha256-block.c: Likewise.
36037 * crypt/sha256-crypt.c: Likewise.
36038 * crypt/sha256.c: Likewise.
36039 * crypt/sha512-block.c: Likewise.
36040 * crypt/sha512-crypt.c: Likewise.
36041 * crypt/sha512.c: Likewise.
36042 * debug/backtrace-tst.c: Likewise.
36043 * debug/pcprofiledump.c: Likewise.
36044 * elf/cache.c: Likewise.
36045 * elf/dl-cache.c: Likewise.
36046 * elf/dl-misc.c: Likewise.
36047 * elf/dl-profile.c: Likewise.
36048 * elf/dl-support.c: Likewise.
36049 * elf/ldconfig.c: Likewise.
36050 * elf/sprof.c: Likewise.
36051 * iconv/dummy-repertoire.c: Likewise.
36052 * iconv/iconv_charmap.c: Likewise.
36053 * iconv/skeleton.c: Likewise.
36054 * iconvdata/8bit-generic.c: Likewise.
36055 * iconvdata/cp737.h: Likewise.
36056 * iconvdata/cp775.h: Likewise.
36057 * iconvdata/ibm1008.h: Likewise.
36058 * iconvdata/ibm1025.h: Likewise.
36059 * iconvdata/ibm1046.h: Likewise.
36060 * iconvdata/ibm1097.h: Likewise.
36061 * iconvdata/ibm1112.h: Likewise.
36062 * iconvdata/ibm1122.h: Likewise.
36063 * iconvdata/ibm1123.h: Likewise.
36064 * iconvdata/ibm1124.h: Likewise.
36065 * iconvdata/ibm1129.h: Likewise.
36066 * iconvdata/ibm1130.h: Likewise.
36067 * iconvdata/ibm1132.h: Likewise.
36068 * iconvdata/ibm1133.h: Likewise.
36069 * iconvdata/ibm1137.h: Likewise.
36070 * iconvdata/ibm1140.h: Likewise.
36071 * iconvdata/ibm1141.h: Likewise.
36072 * iconvdata/ibm1142.h: Likewise.
36073 * iconvdata/ibm1143.h: Likewise.
36074 * iconvdata/ibm1144.h: Likewise.
36075 * iconvdata/ibm1145.h: Likewise.
36076 * iconvdata/ibm1146.h: Likewise.
36077 * iconvdata/ibm1147.h: Likewise.
36078 * iconvdata/ibm1148.h: Likewise.
36079 * iconvdata/ibm1149.h: Likewise.
36080 * iconvdata/ibm1153.h: Likewise.
36081 * iconvdata/ibm1154.h: Likewise.
36082 * iconvdata/ibm1155.h: Likewise.
36083 * iconvdata/ibm1156.h: Likewise.
36084 * iconvdata/ibm1157.h: Likewise.
36085 * iconvdata/ibm1158.h: Likewise.
36086 * iconvdata/ibm1160.h: Likewise.
36087 * iconvdata/ibm1161.h: Likewise.
36088 * iconvdata/ibm1162.h: Likewise.
36089 * iconvdata/ibm1163.h: Likewise.
36090 * iconvdata/ibm1164.h: Likewise.
36091 * iconvdata/ibm1166.h: Likewise.
36092 * iconvdata/ibm1167.h: Likewise.
36093 * iconvdata/ibm12712.h: Likewise.
36094 * iconvdata/ibm1390.h: Likewise.
36095 * iconvdata/ibm1399.h: Likewise.
36096 * iconvdata/ibm16804.h: Likewise.
36097 * iconvdata/ibm4517.h: Likewise.
36098 * iconvdata/ibm4899.h: Likewise.
36099 * iconvdata/ibm4909.h: Likewise.
36100 * iconvdata/ibm4971.h: Likewise.
36101 * iconvdata/ibm5347.h: Likewise.
36102 * iconvdata/ibm803.h: Likewise.
36103 * iconvdata/ibm856.h: Likewise.
36104 * iconvdata/ibm901.h: Likewise.
36105 * iconvdata/ibm902.h: Likewise.
36106 * iconvdata/ibm9030.h: Likewise.
36107 * iconvdata/ibm9066.h: Likewise.
36108 * iconvdata/ibm921.h: Likewise.
36109 * iconvdata/ibm922.h: Likewise.
36110 * iconvdata/ibm9448.h: Likewise.
36111 * iconvdata/isiri-3342.h: Likewise.
36112 * iconvdata/jis0201.h: Likewise.
36113 * include/link.h: Likewise.
36114 * include/netdb.h: Likewise.
36115 * inet/check_native.c: Likewise.
36116 * inet/check_pf.c: Likewise.
36117 * inet/getipv4sourcefilter.c: Likewise.
36118 * inet/getnameinfo.c: Likewise.
36119 * inet/getsourcefilter.c: Likewise.
36120 * inet/htonl.c: Likewise.
36121 * inet/setipv4sourcefilter.c: Likewise.
36122 * inet/setsourcefilter.c: Likewise.
36123 * inet/test-inet6_opt.c: Likewise.
36124 * inet/tst-network.c: Likewise.
36125 * locale/C-collate.c: Likewise.
36126 * locale/C-ctype.c: Likewise.
36127 * locale/C-time.c: Likewise.
36128 * locale/C-translit.h: Likewise.
36129 * locale/loadarchive.c: Likewise.
36130 * locale/programs/3level.h: Likewise.
36131 * locale/programs/charmap.c: Likewise.
36132 * locale/programs/charmap.h: Likewise.
36133 * locale/programs/ld-address.c: Likewise.
36134 * locale/programs/ld-collate.c: Likewise.
36135 * locale/programs/ld-ctype.c: Likewise.
36136 * locale/programs/ld-identification.c: Likewise.
36137 * locale/programs/ld-measurement.c: Likewise.
36138 * locale/programs/ld-messages.c: Likewise.
36139 * locale/programs/ld-monetary.c: Likewise.
36140 * locale/programs/ld-name.c: Likewise.
36141 * locale/programs/ld-numeric.c: Likewise.
36142 * locale/programs/ld-paper.c: Likewise.
36143 * locale/programs/ld-telephone.c: Likewise.
36144 * locale/programs/ld-time.c: Likewise.
36145 * locale/programs/linereader.c: Likewise.
36146 * locale/programs/locale.c: Likewise.
36147 * locale/programs/locarchive.c: Likewise.
36148 * locale/programs/locfile.h: Likewise.
36149 * locale/programs/repertoire.c: Likewise.
36150 * locale/programs/simple-hash.c: Likewise.
36151 * locale/programs/simple-hash.h: Likewise.
36152 * malloc/memusage.c: Likewise.
36153 * malloc/memusagestat.c: Likewise.
36154 * nis/nis_defaults.c: Likewise.
36155 * nis/nis_hash.c: Likewise.
36156 * nis/nis_print.c: Likewise.
36157 * nis/nis_xdr.c: Likewise.
36158 * nscd/connections.c: Likewise.
36159 * nscd/hstcache.c: Likewise.
36160 * nscd/nscd_gethst_r.c: Likewise.
36161 * nscd/nscd_getserv_r.c: Likewise.
36162 * nscd/nscd_helper.c: Likewise.
36163 * nscd/servicescache.c: Likewise.
36164 * nss/makedb.c: Likewise.
36165 * nss/nss_db/db-XXX.c: Likewise.
36166 * nss/nss_db/db-initgroups.c: Likewise.
36167 * nss/nss_db/db-netgrp.c: Likewise.
36168 * nss/nss_files/files-network.c: Likewise.
36169 * nss/nss_files/files-parse.c: Likewise.
36170 * posix/bug-regex5.c: Likewise.
36171 * posix/fnmatch_loop.c: Likewise.
36172 * posix/regcomp.c: Likewise.
36173 * posix/regexec.c: Likewise.
36174 * posix/tst-rfc3484-2.c: Likewise.
36175 * posix/tst-rfc3484-3.c: Likewise.
36176 * posix/tst-rfc3484.c: Likewise.
36177 * resolv/nss_dns/dns-canon.c: Likewise.
36178 * resolv/nss_dns/dns-network.c: Likewise.
36179 * resolv/res_init.c: Likewise.
36180 * resolv/res_mkquery.c: Likewise.
36181 * resolv/tst-aton.c: Likewise.
36182 * stdlib/cxa_atexit.c: Likewise.
36183 * stdlib/cxa_finalize.c: Likewise.
36184 * stdlib/gen-fpioconst.c: Likewise.
36185 * stdlib/strtol_l.c: Likewise.
36186 * string/tst-endian.c: Likewise.
36187 * sunrpc/auth_des.c: Likewise.
36188 * sunrpc/clnt_udp.c: Likewise.
36189 * sunrpc/rtime.c: Likewise.
36190 * sunrpc/svcauth_des.c: Likewise.
36191 * sunrpc/xdr.c: Likewise.
36192 * sunrpc/xdr_intXX_t.c: Likewise.
36193 * sunrpc/xdr_rec.c: Likewise.
36194 * sysdeps/generic/ldconfig.h: Likewise.
36195 * sysdeps/generic/ldsodefs.h: Likewise.
36196 * sysdeps/generic/memusage.h: Likewise.
36197 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36198 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36199 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36200 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36201 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36202 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36203 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36204 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36205 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36206 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36207 * sysdeps/posix/getaddrinfo.c: Likewise.
36208 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36209 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36210 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36211 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36212 * sysdeps/powerpc/test-gettimebase.c: Likewise.
36213 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36214 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36215 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36216 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36217 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36218 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36219 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36220 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36221 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36222 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36223 * sysdeps/x86_64/dl-tls.h: Likewise.
36224 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36225 * time/alt_digit.c: Likewise.
36226 * time/era.c: Likewise.
36227 * wcsmbs/tst-c16c32-1.c: Likewise.
36229 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36231 * math/libm-test.inc (struct test_sincos_data): New type.
36232 (RUN_TEST_LOOP_sincos): New macro.
36233 (sincos_test_data): New variable.
36234 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36236 2013-05-16 Richard Henderson <rth@redhat.com>
36238 * math/atest-exp2.c (LIMB64): New macro.
36239 (CONSTSZ): New macro.
36240 (mp_exp1, mp_exp_m1, mp_log2): New variables.
36242 (print_mpn_fp): ... to function scope.
36243 (read_mpn_hex): Remove.
36244 (get_log2): Remove.
36245 (exp2_mpn): Use mp_log2.
36246 (main): Use mp_exp1.
36248 2013-05-16 Joseph Myers <joseph@codesourcery.com>
36250 * math/libm-test.inc: Remove comment about not testing "inexact"
36252 (INEXACT_EXCEPTION): New macro.
36253 (NO_INEXACT_EXCEPTION): Likewise.
36254 (INVALID_EXCEPTION_OK): Update value.
36255 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36256 (OVERFLOW_EXCEPTION_OK): Likewise.
36257 (UNDERFLOW_EXCEPTION_OK): Likewise.
36258 (IGNORE_ZERO_INF_SIGN): Likewise.
36259 (ERRNO_UNCHANGED): Likewise.
36260 (ERRNO_EDOM): Likewise.
36261 (ERRNO_ERANGE): Likewise.
36262 (test_exceptions): Handle testing "inexact" exceptions.
36263 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36264 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36265 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36266 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36268 (rint_towardzero_test_data): Likewise.
36269 (rint_downward_test_data): Likewise.
36270 (rint_upward_test_data): Likewise.
36272 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36273 with OVERFLOW_EXCEPTION.
36274 (exp10_test_data): Likewise.
36275 (exp2_test_data): Likewise.
36276 (expm1_test_data): Likewise.
36277 (lgamma_test_data): Likewise.
36278 (pow_test_data): Likewise.
36279 (tgamma_test_data): Likewise.
36280 (yn_test_data): Remove duplicate test of overflow.
36282 * math/libm-test.inc (struct test_cc_c_data): New type.
36283 (RUN_TEST_LOOP_cc_c): New macro.
36284 (cpow_test_data): New variable.
36285 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36287 * math/libm-test.inc (struct test_f_L_data): New type.
36288 (RUN_TEST_LOOP_f_L): New macro.
36289 (llrint_test_data): New variable.
36290 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36291 (llrint_tonearest_test_data): New variable.
36292 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36293 (llrint_towardzero_test_data): New variable.
36294 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36295 (llrint_downward_test_data): New variable.
36296 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36297 (llrint_upward_test_data): New variable.
36298 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36299 (llround_test_data): New variable.
36300 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36302 2013-05-13 Peter Collingbourne <pcc@google.com>
36304 * math/atest-exp2.c (get_log2): Remove const attribute.
36306 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36308 * math/libm-test.inc (struct test_f_l_data): New type.
36309 (RUN_TEST_LOOP_f_l): New macro.
36310 (lrint_test_data): New variable.
36311 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36312 (lrint_tonearest_test_data): New variable.
36313 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36314 (lrint_towardzero_test_data): New variable.
36315 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36316 (lrint_downward_test_data): New variable.
36317 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36318 (lrint_upward_test_data): New variable.
36319 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36320 (lround_test_data): New variable.
36321 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36323 2013-05-15 Peter Collingbourne <pcc@google.com>
36325 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36326 (EXTRACT_WORDS64) Use where appropriate.
36327 (INSERT_WORDS64) Likewise.
36329 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36330 constraints with x constraints.
36331 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36333 * malloc/obstack.c (_obstack_compat): Add initializer.
36335 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
36337 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36338 si_trapno and add si_addr_lsb to _sifields.sigfault.
36339 (si_trapno): Remove macro.
36340 (si_addr_lsb): Define new macro.
36341 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36343 2013-05-15 Joseph Myers <joseph@codesourcery.com>
36345 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36346 instead of TEST_f_l.
36347 (llrint_test_tonearest): Likewise.
36348 (llrint_test_towardzero): Likewise.
36349 (llrint_test_downward): Likewise.
36350 (llrint_test_upward): Likewise.
36351 (llround_test): Likewise.
36353 * math/libm-test.inc (struct test_f_i_data): Add comment.
36354 (RUN_TEST_LOOP_f_b): New macro.
36355 (RUN_TEST_LOOP_f_b_tg): Likewise.
36356 (finite_test_data): New variable.
36357 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36358 (isfinite_test_data): New variable.
36359 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36360 (isinf_test_data): New variable.
36361 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36362 (isnan_test_data): New variable.
36363 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36364 (isnormal_test_data): New variable.
36365 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36366 (issignaling_test_data): New variable.
36367 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36368 (signbit_test_data): New variable.
36369 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36371 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36372 with INVALID_EXCEPTION.
36373 (acosh_test_data): Likewise.
36374 (asin_test_data): Likewise.
36375 (atanh_test_data): Likewise.
36376 (fmod_test_data): Likewise.
36377 (log_test_data): Likewise.
36378 (log10_test_data): Likewise.
36379 (log2_test_data): Likewise.
36380 (pow_test_data): Likewise.
36381 (sqrt_test_data): Likewise.
36382 (y0_test_data): Likewise.
36383 (y1_test_data): Likewise.
36384 (yn_test_data): Likewise.
36386 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36389 * math/libm-test.inc (struct test_ff_i_data): New type.
36390 (RUN_TEST_LOOP_ff_i_tg): New macro.
36391 (isgreater_test_data): New variable.
36392 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36393 (isgreaterequal_test_data): New variable.
36394 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36395 (isless_test_data): New variable.
36396 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36397 (islessequal_test_data): New variable.
36398 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36399 (islessgreater_test_data): New variable.
36400 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36401 (isunordered_test_data): New variable.
36402 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36404 2013-05-14 David S. Miller <davem@davemloft.net>
36406 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36408 2013-05-14 Joseph Myers <joseph@codesourcery.com>
36410 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36412 * math/libm-test.inc (struct test_fF_f1_data): Change type of
36414 (struct test_f_i_data): Change type of max_ulp to int.
36416 * math/libm-test.inc (test_ffI_f1_data): New type.
36417 (RUN_TEST_LOOP_ffI_f1): New macro.
36418 (remquo_test_data): New variable.
36419 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36421 * setjmp/tst-setjmp-fp.c: New file.
36422 * setjmp/Makefile (tests): Add tst-setjmp-fp.
36423 (link-libm): New variable.
36424 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36426 * math/libm-test.inc (struct test_f_i_data): New type.
36427 (RUN_TEST_LOOP_f_i): New macro.
36428 (RUN_TEST_LOOP_f_i_tg): Likewise.
36429 (fpclassify_test_data): New variable.
36430 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36431 (ilogb_test_data): New variable.
36432 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36434 * math/libm-test.inc (scalbln_test): Correct function name in END
36437 * math/libm-test.inc (struct test_f_f1_data): Add comment.
36438 (RUN_TEST_LOOP_fI_f1): New macro.
36439 (frexp_test_data): New variable.
36440 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36442 * math/libm-test.inc (struct test_fF_f1_data): New type.
36443 (RUN_TEST_LOOP_fF_f1): New macro.
36444 (modf_test_data): New variable.
36445 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36447 * math/libm-test.inc (struct test_f_f1_data): New type.
36448 (RUN_TEST_LOOP_f_f1): New macro.
36449 (gamma_test_data): New variable.
36450 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36451 (lgamma_test_data): New variable.
36452 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36454 2013-05-13 Carlos O'Donell <carlos@redhat.com>
36456 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36457 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36458 (main): Comment "tls" pseudo-hwcap.
36460 2013-05-13 Joseph Myers <joseph@codesourcery.com>
36462 * math/libm-test.inc (struct test_fl_f_data): New type.
36463 (RUN_TEST_LOOP_fl_f): New variable.
36464 (scalbln_test_data): New variable.
36465 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36467 * math/libm-test.inc (struct test_fi_f_data): New type.
36468 (RUN_TEST_LOOP_fi_f): New macro.
36469 (ldexp_test_data): New variable.
36470 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36471 (scalbn_test_data): New variable.
36472 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36474 * math/libm-test.inc (struct test_c_f_data): New type.
36475 (RUN_TEST_LOOP_c_f): New macro.
36476 (cabs_test_data): New variable.
36477 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36478 (carg_test_data): New variable.
36479 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36480 (cimag_test_data): New variable.
36481 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36482 (creal_test_data): New variable.
36483 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36485 * math/libm-test.inc (struct test_if_f_data): New type.
36486 (RUN_TEST_LOOP_if_f): New macro.
36487 (jn_test_data): New variable.
36488 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36489 (yn_test_data): New variable.
36490 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36492 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36494 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36496 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36497 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36499 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36501 * benchtests/Makefile (CPPFLAGS-nonlib): Add
36502 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36503 (bench-deps): Add bench-timing.h.
36504 * benchtests-bench-skeleton.c: Include bench-timing.h.
36505 (main): Use TIMING_* macros instead of clock_gettime.
36506 * benchtests/bench-timing.h: New file.
36509 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36510 Renamed from _LIB_VERSION.
36511 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36513 2013-05-12 Joseph Myers <joseph@codesourcery.com>
36515 * math/libm-test.inc (struct test_fff_f_data): New type.
36516 (RUN_TEST_LOOP_fff_f): New macro.
36517 (fma_test_data): New variable.
36518 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36519 (fma_towardzero_test_data): New variable.
36520 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36521 (fma_downward_test_data): New variable.
36522 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36523 (fma_upward_test_data): New variable.
36524 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36526 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36527 (struct test_c_c_data): New type.
36528 (RUN_TEST_LOOP_c_c): New macro.
36529 (cacos_test_data): New variable.
36530 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36531 (cacosh_test_data): New variable.
36532 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36533 (casin_test_data): New variable.
36534 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36535 (casinh_test_data): New variable.
36536 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36537 (catan_test_data): New variable.
36538 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36539 (catanh_test_data): New variable.
36540 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36541 (ccos_test_data): New variable.
36542 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36543 (ccosh_test_data): New variable.
36544 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36545 (cexp_test_data): New variable.
36546 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36547 (clog_test_data): New variable.
36548 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36549 (clog10_test_data): New variable.
36550 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36551 (conj_test_data): New variable.
36552 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36553 (cproj_test_data): New variable.
36554 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36555 (csin_test_data): New variable.
36556 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36557 (csinh_test_data): New variable.
36558 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36559 (csqrt_test_data): New variable.
36560 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36561 (ctan_test_data): New variable.
36562 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36563 (ctan_tonearest_test_data): New variable.
36564 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36565 (ctan_towardzero_test_data): New variable.
36566 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36567 (ctan_downward_test_data): New variable.
36568 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36569 (ctan_upward_test_data): New variable.
36570 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36571 (ctanh_test_data): New variable.
36572 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36573 (ctanh_tonearest_test_data): New variable.
36574 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36575 (ctanh_towardzero_test_data): New variable.
36576 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36577 (ctanh_downward_test_data): New variable.
36578 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36579 (ctanh_upward_test_data): New variable.
36580 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36581 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36584 * math/libm-test.inc (struct test_ff_f_data): New type.
36585 (struct test_ff_f_data_nexttoward): Likewise.
36586 (RUN_TEST_LOOP_2_f): New macro.
36587 (RUN_TEST_LOOP_ff_f): Likewise.
36588 (atan2_test_data): New variable.
36589 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36590 (copysign_test_data): New variable.
36591 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36592 (fdim_test_data): New variable.
36593 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36594 (fmax_test_data): New variable.
36595 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36596 (fmin_test_data): New variable.
36597 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36598 (fmod_test_data): New variable.
36599 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36600 (hypot_test_data): New variable.
36601 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36602 (nextafter_test_data): New variable.
36603 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36604 (nexttoward_test_data): New variable.
36605 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36606 (pow_test_data): New variable.
36607 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36608 (pow_tonearest_test_data): New variable.
36609 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36610 (pow_towardzero_test_data): New variable.
36611 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36612 (pow_downward_test_data): New variable.
36613 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36614 (pow_upward_test_data): New variable.
36615 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36616 (remainder_test_data): New variable.
36617 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36618 (scalb_test_data): New variable.
36619 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36620 * sysdeps/i386/fpu/libm-test-ulps: Update.
36622 2013-05-11 Joseph Myers <joseph@codesourcery.com>
36624 * math/libm-test.inc (fma_test): Use max_value instead of local
36626 (nextafter_test): Likewise.
36628 * math/libm-test.inc (acos_towardzero_test_data): New variable.
36629 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36630 (acos_downward_test_data): New variable.
36631 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36632 (acos_upward_test_data): New variable.
36633 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36634 (acosh_test_data): New variable.
36635 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36636 (asin_test_data): New variable.
36637 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36638 (asin_tonearest_test_data): New variable.
36639 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36640 (asin_towardzero_test_data): New variable.
36641 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36642 (asin_downward_test_data): New variable.
36643 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36644 (asin_upward_test_data): New variable.
36645 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36646 (asinh_test_data): New variable.
36647 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36648 (atan_test_data): New variable.
36649 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36650 (atanh_test_data): New variable.
36651 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36652 (cbrt_test_data): New variable.
36653 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36654 (ceil_test_data): New variable.
36655 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36656 (cos_test_data): New variable.
36657 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36658 (cos_tonearest_test_data): New variable.
36659 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36660 (cos_towardzero_test_data): New variable.
36661 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36662 (cos_downward_test_data): New variable.
36663 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36664 (cos_upward_test_data): New variable.
36665 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36666 (cosh_test_data): New variable.
36667 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36668 (cosh_tonearest_test_data): New variable.
36669 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36670 (cosh_towardzero_test_data): New variable.
36671 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36672 (cosh_downward_test_data): New variable.
36673 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36674 (cosh_upward_test_data): New variable.
36675 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36676 (erf_test_data): New variable.
36677 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36678 (erfc_test_data): New variable.
36679 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36680 (exp_test_data): New variable.
36681 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36682 (exp_tonearest_test_data): New variable.
36683 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36684 (exp_towardzero_test_data): New variable.
36685 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36686 (exp_downward_test_data): New variable.
36687 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36688 (exp_upward_test_data): New variable.
36689 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36690 (exp10_test_data): New variable.
36691 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36692 (exp2_test_data): New variable.
36693 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36694 (expm1_test_data): New variable.
36695 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36696 (fabs_test_data): New variable.
36697 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36698 (floor_test_data): New variable.
36699 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36700 (j0_test_data): New variable.
36701 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36702 (j1_test_data): New variable.
36703 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36704 (log_test_data): New variable.
36705 (log_test): Run tests with RUN_TEST_LOOP_f_f.
36706 (log10_test_data): New variable.
36707 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36708 (log1p_test_data): New variable.
36709 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36710 (log2_test_data): New variable.
36711 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36712 (logb_test_data): New variable.
36713 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36714 (logb_downward_test_data): New variable.
36715 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36716 (nearbyint_test_data): New variable.
36717 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36718 (rint_test_data): New variable.
36719 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36720 (rint_tonearest_test_data): New variable.
36721 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36722 (rint_towardzero_test_data): New variable.
36723 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36724 (rint_downward_test_data): New variable.
36725 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36726 (rint_upward_test_data): New variable.
36727 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36728 (round_test_data): New variable.
36729 (round_test): Run tests with RUN_TEST_LOOP_f_f.
36730 (sin_test_data): New variable.
36731 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36732 (sin_tonearest_test_data): New variable.
36733 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36734 (sin_towardzero_test_data): New variable.
36735 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36736 (sin_downward_test_data): New variable.
36737 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36738 (sin_upward_test_data): New variable.
36739 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36740 (sinh_test_data): New variable.
36741 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36742 (sinh_tonearest_test_data): New variable.
36743 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36744 (sinh_towardzero_test_data): New variable.
36745 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36746 (sinh_downward_test_data): New variable.
36747 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36748 (sinh_upward_test_data): New variable.
36749 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36750 (sqrt_test_data): New variable.
36751 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36752 (tan_test_data): New variable.
36753 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36754 (tan_tonearest_test_data): New variable.
36755 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36756 (tan_towardzero_test_data): New variable.
36757 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36758 (tan_downward_test_data): New variable.
36759 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36760 (tan_upward_test_data): New variable.
36761 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36762 (tanh_test_data): New variable.
36763 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36764 (tgamma_test_data): New variable.
36765 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36766 (trunc_test_data): New variable.
36767 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36768 (y0_test_data): New variable.
36769 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36770 (y1_test_data): New variable.
36771 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36772 (significand_test_data): New variable.
36773 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36775 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
36778 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36780 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
36782 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36784 2013-05-10 Andreas Jaeger <aj@suse.de>
36787 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36788 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36790 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36792 * math/gen-libm-test.pl (adjust_arg): New function.
36793 (special_functions): Handle generating output in both functions
36795 (parse_args): Likewise.
36796 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
36797 $in_func argument to parse_args.
36798 * math/libm-test.inc (struct test_f_f_data): New type.
36799 (IF_ROUND_INIT_): New macro.
36800 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36801 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36802 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36803 (IF_ROUND_INIT_FE_UPWARD): Likewise.
36804 (ROUND_RESTORE_): Likewise.
36805 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36806 (ROUND_RESTORE_FE_TONEAREST): Likewise.
36807 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36808 (ROUND_RESTORE_FE_UPWARD): Likewise.
36809 (RUN_TEST_LOOP_f_f): New macro.
36810 (acos_test_data): New variable.
36811 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36812 (acos_tonearest_test_data): New variable.
36813 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36815 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36817 * benchtests/bench-skeleton.c (startup): Fix coding style.
36819 2013-05-10 Joseph Myers <joseph@codesourcery.com>
36822 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36823 negative infinity argument.
36824 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36825 negative infinity argument.
36826 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36827 negative infinity argument.
36828 * math/libm-test.inc (tgamma_test): Expect errno to be set for
36831 2013-05-10 Florian Weimer <fweimer@redhat.com>
36833 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36834 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36835 * iconv/iconv_prog.c (main): Likewise.
36836 * locale/programs/charmap-dir.c (charmap_readdir)
36837 (fopen_uncompressed): Likewise.
36838 * locale/programs/locfile.c (siblings_uncached)
36839 (write_locale_data): Use lstat64 instead of lstat.
36840 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36843 2013-05-10 Andreas Jaeger <aj@suse.de>
36846 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36848 Include <locale.h>.
36850 2013-05-09 Carlos O'Donell <carlos@redhat.com>
36852 * elf/dl-close.c (_dl_close_worker): Add comments.
36854 2013-05-09 Joseph Myers <joseph@codesourcery.com>
36857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36859 (__ieee754_rem_pio2l): Update comments.
36862 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36864 (__ieee754_rem_pio2l): Update comments.
36866 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36867 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36869 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36872 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36873 (M_PI_34_LOG10El): Likewise.
36874 (M_PI2_LOG10El): Likewise.
36875 (M_PI4_LOG10El): Likewise.
36876 (M_PI_LOG10El): Likewise.
36878 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36882 2013-05-08 Joseph Myers <joseph@codesourcery.com>
36884 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36885 (MINUS_ZERO_INIT): Likewise.
36886 (PLUS_INFTY_INIT): Likewise.
36887 (MINUS_INFTY_INIT): Likewise.
36888 (QNAN_VALUE_INIT): Likewise.
36889 (MAX_VALUE_INIT): Likewise.
36890 (MIN_VALUE_INIT): Likewise.
36891 (MIN_SUBNORM_VALUE_INIT): Likewise.
36892 (plus_zero): Initialize with PLUS_ZERO_INIT.
36893 (minus_zero): Initialize with MINUS_ZERO_INIT.
36894 (plus_infty): Initialize with PLUS_INFTY_INIT.
36895 (minus_infty): Initialize with MINUS_INFTY_INIT.
36896 (qnan_value): Initialize with QNAN_VALUE_INIT.
36897 (max_value): Initialize with MAX_VALUE_INIT.
36898 (min_value): Initialize with MIN_VALUE_INIT.
36899 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36901 * math/libm-test.inc (RUN_TEST_if_f): New macro.
36902 (jn_test): Use TEST_if_f instead of TEST_ff_f.
36903 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36904 (yn_test): Use TEST_if_f instead of TEST_ff_f.
36906 * math/libm-test.inc (RUN_TEST_f_f): New macro.
36907 (RUN_TEST_2_f): Likewise.
36908 (RUN_TEST_ff_f): Likewise.
36909 (RUN_TEST_fi_f): Likewise.
36910 (RUN_TEST_fl_f): Likewise.
36911 (RUN_TEST_fff_f): Likewise.
36912 (RUN_TEST_c_f): Likewise.
36913 (RUN_TEST_f_f1): Likewise.
36914 (RUN_TEST_fF_f1): Likewise.
36915 (RUN_TEST_fI_f1): Likewise.
36916 (RUN_TEST_ffI_f1): Likewise.
36917 (RUN_TEST_c_c): Likewise.
36918 (RUN_TEST_cc_c): Likewise.
36919 (RUN_TEST_f_i): Likewise.
36920 (RUN_TEST_f_i_tg): Likewise.
36921 (RUN_TEST_ff_i_tg): Likewise.
36922 (RUN_TEST_f_b): Likewise.
36923 (RUN_TEST_f_b_tg): Likewise.
36924 (RUN_TEST_f_l): Likewise.
36925 (RUN_TEST_f_L): Likewise.
36926 (RUN_TEST_sincos): Likewise.
36927 * math/gen-libm-test.pl (new_test): Take new argument to indicate
36928 whether to show exceptions. Do not include ");\n" in return
36930 (special_functions): Output call to RUN_TEST_sincos instead of
36931 check_float calls. Update calls to new_test.
36932 (parse_args): Output call to single RUN_TEST_* macro instead of
36933 check_* calls and other assignments. Update calls to new_test.
36939 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36940 input to result for tgamma overflow.
36941 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36942 (gamma_coeff): New variable.
36943 (NCOEFF): New macro.
36944 (gamma_positive): New function.
36945 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36946 underflow here. Use gamma_positive instead of exp (lgamma) for
36948 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36949 (gamma_coeff): New variable.
36950 (NCOEFF): New macro.
36951 (gammaf_positive): New function.
36952 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36953 underflow here. Use gamma_positive instead of exp (lgamma) for
36955 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36956 (gamma_coeff): New variable.
36957 (NCOEFF): New macro.
36958 (gammal_positive): New function.
36959 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36960 underflow here. Use gamma_positive instead of exp (lgamma) for
36962 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36963 (gamma_coeff): New variable.
36964 (NCOEFF): New macro.
36965 (gammal_positive): New function.
36966 (__ieee754_gammal_r): Handle positive infinity, overflow and
36967 underflow here. Handle NaN the same as positive infinity. Remove
36968 check x < 0xffffffff for negative integers. Use gamma_positive
36969 instead of exp (lgamma) for other arguments.
36970 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36971 (gamma_coeff): New variable.
36972 (NCOEFF): New macro.
36973 (gammal_positive): New function.
36974 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36975 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36976 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36977 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36978 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36979 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36980 * sysdeps/generic/math_private.h (__gamma_productf): New
36982 (__gamma_product): Likewise.
36983 (__gamma_productl): Likewise.
36984 * math/Makefile (libm-calls): Add gamma_product.
36985 * math/libm-test.inc (tgamma_test): Add more tests.
36986 * sysdeps/i386/fpu/libm-test-ulps: Update.
36987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36989 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
36991 * benchtests/bench-skeleton.c (main): Preheat CPU.
36993 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
36995 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36997 2013-05-07 Roland McGrath <roland@hack.frob.com>
36999 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37000 and _dl_skip_args_internal.
37002 2013-05-07 Carlos O'Donell <carlos@redhat.com>
37004 * manual/message.texi (Message Translation): Talk about users.
37005 Message to key mapping impacts design.
37007 2013-05-06 Roland McGrath <roland@hack.frob.com>
37009 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37011 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37013 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37014 * sysdeps/wordsize-64/glob64.c: ... here.
37016 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37017 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37020 * debug/getlogin_r_chk.c: Moved to ...
37021 * login/getlogin_r_chk.c: ... here.
37022 * debug/Makefile (routines): Move getlogin_r_chk to ...
37023 * login/Makefile (routines): ... here.
37024 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37025 * login/Versions (libc: GLIBC_2.4): ... here.
37027 * io/poll.c (__poll): Renamed from poll.
37028 Add libc_hidden_def.
37029 (poll): Define as weak alias.
37031 * debug/ptsname_r_chk.c: Moved to ...
37032 * login/ptsname_r_chk.c: ... here.
37033 * debug/Makefile (routines): Move ptsname_r_chk to ...
37034 * login/Makefile (routines): ... here.
37035 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37036 * login/Versions (libc: GLIBC_2.4): ... here.
37038 * posix/getlogin.c: Moved to ...
37039 * login/getlogin.c: ... here.
37040 * posix/getlogin_r.c: Moved to ...
37041 * login/getlogin_r.c: ... here.
37042 * posix/getlogin_r.c: Moved to ...
37043 * login/getlogin_r.c: ... here.
37044 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37045 * login/Makefile (routines): ... here.
37046 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37047 * login/Versions (libc: GLIBC_2.0): ... here.
37049 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37050 (setrlimit): Define as weak alias.
37052 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37053 Call __ names for open, ftruncate, and close.
37054 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37055 (truncate): Define as weak alias.
37057 2013-05-06 Joseph Myers <joseph@codesourcery.com>
37059 * math/gen-libm-test.pl (parse_args): Initialize x before each
37060 test of frexp, modf and remquo.
37062 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37063 test signgam value.
37065 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37069 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37071 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37073 2013-05-06 Roland McGrath <roland@hack.frob.com>
37075 * elf/dl-writev.h: New file.
37076 * elf/dl-misc.c: Include it.
37077 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37078 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37080 2013-05-04 Joseph Myers <joseph@codesourcery.com>
37082 * math/libm-test.inc (noXFails): Remove variable.
37083 (noXPasses): Likewise.
37084 (BUILD_COMPLEX_INT): Remove macro.
37085 (print_screen): Remove xfail argument.
37086 (print_screen_max_error): Likewise.
37087 (update_stats): Likewise.
37088 (print_max_error): Likewise. Update calls to other affected
37090 (print_complex_max_error): Likewise.
37091 (test_single_exception): Update calls to print_screen.
37092 (test_single_errno): Likewise.
37093 (check_float_internal): Remove xfail argument. Update calls to
37094 other affected functions.
37095 (check_float): Likewise.
37096 (check_complex): Likewise.
37097 (check_int): Likewise.
37098 (check_long): Likewise.
37099 (check_bool): Likewise.
37100 (check_longlong): Likewise.
37101 (main): Don't print noXFails and noXPasses.
37102 * math/gen-libm-test.pl (top level): Don't mention expected
37103 failure handling in comment.
37104 (new_test): Don't handle expected failures.
37105 (parse_args): Don't mention expected failure handling in comment.
37106 (generate_testfile): Don't handle expected failures.
37107 (parse_ulps): Likewise.
37108 (print_ulps_file): Likewise.
37109 (get_failure): Remove function.
37110 (output_test): Don't handle expected failures.
37111 * make/README.libm-test: Don't mention expected failure handling.
37113 * math/libm-test.inc (plus_zero): Make const. Add initializer.
37114 (minus_zero): Likewise.
37115 (plus_infty): Likewise.
37116 (minus_infty): Likewise.
37117 (qnan_value): Likewise.
37118 (max_value): Likewise.
37119 (min_value): Likewise.
37120 (min_subnorm_value): Likewise.
37121 (initialize): Do not initialize those variables dynamically.
37123 2013-05-03 Roland McGrath <roland@hack.frob.com>
37125 * io/open.c (__open_2): Moved to ...
37126 * io/open_2.c: ... this new file.
37127 * io/open64.c (__open64_2): Moved to ...
37128 * io/open64_2.c: ... this new file.
37129 * io/openat.c (__openat_2): Moved to ...
37130 * io/openat_2.c: ... this new file.
37131 * io/openat64.c (__openat64_2): Moved to ...
37132 * io/openat64_2.c: ... this new file.
37133 * io/Makefile (routines): Add them.
37134 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37135 * sysdeps/unix/sysv/linux/open_2.c: File removed.
37136 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37137 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37138 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37139 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37140 (__openat64): Add hidden_ver.
37141 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37142 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37144 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37145 Separately conditionalize setting of GLRO(dl_sysinfo) so
37146 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37147 as well, but the actual setting is only under [NEED_DL_SYSINFO].
37149 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37151 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37152 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37154 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37155 * sysdeps/unix/sysv/linux/powerpc/init-first.c
37156 (_libc_vdso_platform_setup): Add __vdso_time initialization.
37157 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37158 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37160 2013-05-03 Joseph Myers <joseph@codesourcery.com>
37162 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37163 test signgam value.
37165 * math/libm-test.inc (hypot_test): Do not use
37166 IGNORE_ZERO_INF_SIGN.
37168 2013-05-03 Andreas Jaeger <aj@suse.de>
37170 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37172 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37173 (PF_MAX): Adjust for VSOCK change.
37175 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37179 2013-05-02 Carlos O'Donell <carlos@redhat.com>
37182 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37183 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37184 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37186 2013-05-02 David S. Miller <davem@davemloft.net>
37188 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37190 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
37192 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37194 2013-05-01 Roland McGrath <roland@hack.frob.com>
37196 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37198 2013-05-01 Richard Smith <richard@metafoo.co.uk>
37201 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37202 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37203 Use __attribute__ ((__gnu_inline__)).
37204 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37205 Don't use __attribute__ ((__gnu_inline__)).
37207 2013-05-01 Joseph Myers <joseph@codesourcery.com>
37210 * math/s_catan.c (__catan): Handle small real or imaginary part of
37211 input specially to avoid spurious underflow.
37212 * math/s_catanf.c (__catanf): Likewise.
37213 * math/s_catanh.c (__catanh): Likewise.
37214 * math/s_catanhf.c (__catanhf): Likewise.
37215 * math/s_catanhl.c (__catanhl): Likewise.
37216 * math/s_catanl.c (__catanl): Likewise.
37217 * math/libm-test.inc (catan_test): Add more tests.
37218 (catanh_test): Likewise.
37219 * sysdeps/i386/fpu/libm-test-ulps: Update.
37220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37222 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37226 2013-04-30 Joseph Myers <joseph@codesourcery.com>
37229 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37230 accurately for denominator in atan2.
37231 * math/s_catanf.c (__catanf): Likewise.
37232 * math/s_catanh.c (__catanh): Likewise.
37233 * math/s_catanhf.c (__catanhf): Likewise.
37234 * math/s_catanhl.c (__catanhl): Likewise.
37235 * math/s_catanl.c (__catanl): Likewise.
37236 * math/libm-test.inc (catan_test): Add more tests.
37237 (catanh_test): Likewise.
37238 * sysdeps/i386/fpu/libm-test-ulps: Update.
37239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37243 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37245 * benchtests/Makefile (bench): Remove slow benchmarks.
37246 * benchtests/atan-inputs: Add slow benchmark inputs.
37247 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37248 (BENCH_FUNC): Accept variant offset.
37250 * benchtests/bench-skeleton.c (main): Run benchmark for each
37252 * benchtests/cos-inputs: Add slow benchmark inputs.
37253 * benchtests/exp-inputs: Likewise.
37254 * benchtests/pow-inputs: Likewise.
37255 * benchtests/sin-inputs: Likewise.
37256 * benchtests/slowatan-inputs: Remove.
37257 * benchtests/slowatan.c: Remove.
37258 * benchtests/slowcos-inputs: Remove.
37259 * benchtests/slowcos.c: Remove.
37260 * benchtests/slowexp-inputs: Remove.
37261 * benchtests/slowexp.c: Remove.
37262 * benchtests/slowpow-inputs: Remove.
37263 * benchtests/slowpow.c: Remove.
37264 * benchtests/slowsin-inputs: Remove.
37265 * benchtests/slowsin.c: Remove.
37266 * benchtests/slowtan-inputs: Remove.
37267 * benchtests/slowtan.c: Remove.
37268 * benchtests/tan-inputs: Add slow benchmark inputs.
37269 * scripts/bench.pl: Parse comments and directives.
37271 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
37273 ($(objpfx)bench-%.c): Remove *-ITER.
37274 * benchtests/bench-modf.c: Remove definition of ITER.
37275 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37276 (main): Loop for DURATION seconds instead of fixed number of
37278 * scripts/bench.pl: Don't expect iterations in parameters.
37280 2013-04-29 Roland McGrath <roland@hack.frob.com>
37282 * io/fchdir.c (__fchdir): Renamed from fchdir.
37283 (fchdir): Define as weak alias.
37285 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37287 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37288 (ERRNO_EDOM): Likewise.
37289 (ERRNO_ERANGE): Likewise.
37290 (noErrnoTests): New variable.
37291 (init_max_error): Set errno to 0.
37292 (test_single_errno): New function.
37293 (test_errno): Likewise.
37294 (check_float_internal): Call test_errno. Set errno to 0.
37295 (check_complex): Refer to errno tests in comment.
37296 (check_int): Call test_errno. Set errno to 0.
37297 (check_long): Likewise.
37298 (check_bool): Likewise.
37299 (check_longlong): Likewise.
37300 (cos_test): Use ERRNO_* flags for errno tests instead of
37302 (expm1_test): Likewise.
37303 (fmod_test): Likewise.
37304 (ilogb_test): Likewise.
37305 (lgamma_test): Likewise.
37306 (pow_test): Likewise.
37307 (remainder_test): Likewise.
37308 (sin_test): Likewise.
37309 (tan_test): Likewise.
37310 (yn_test): Likewise.
37311 (initialize): Set errno to 0.
37312 (main): Print number of errno tests.
37313 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37315 2013-04-29 Andreas Jaeger <aj@suse.de>
37318 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37322 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37323 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37327 * stdlib/random.c (__initstate): Return NULL if
37331 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37332 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37335 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37339 2013-04-29 Joseph Myers <joseph@codesourcery.com>
37341 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37342 of individual tests.
37343 (casin_test): Likewise.
37344 (casinh_test): Likewise.
37346 2013-04-27 Joseph Myers <joseph@codesourcery.com>
37349 * math/s_catan.c (__catan): Handle arguments with large real or
37350 imaginary part separately without squaring.
37351 * math/s_catanf.c (__catanf): Likewise.
37352 * math/s_catanh.c (__catanh): Likewise.
37353 * math/s_catanhf.c (__catanhf): Likewise.
37354 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37356 (__catanhl): Handle arguments with large real or imaginary part
37357 separately without squaring.
37358 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37360 (__catanl): Handle arguments with large real or imaginary part
37361 separately without squaring.
37362 * math/libm-test.inc (catan_test): Add more tests.
37363 (catanh_test): Likewise.
37364 * sysdeps/i386/fpu/libm-test-ulps: Update.
37365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37367 2013-04-27 Andreas Jaeger <aj@suse.de>
37370 * stdlib/stdlib.h: Update guards for qecvt.
37371 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37374 2013-04-27 Allan McRae <allan@archlinux.org>
37376 * sysdeps/i386/fpu/libm-test-ulps: Update.
37378 2013-04-26 Joseph Myers <joseph@codesourcery.com>
37381 * math/s_catan.c: Include <float.h>.
37382 (__catan): Ensure underflow exception occurs for underflowed
37384 * math/s_catanf.c: Include <float.h>.
37385 (__catanf): Ensure underflow exception occurs for underflowed
37387 * math/s_catanh.c: Include <float.h>.
37388 (__catanh): Ensure underflow exception occurs for underflowed
37390 * math/s_catanhf.c: Include <float.h>.
37391 (__catanhf): Ensure underflow exception occurs for underflowed
37393 * math/s_catanhl.c: Include <float.h>.
37394 (__catanhl): Ensure underflow exception occurs for underflowed
37396 * math/s_catanl.c: Include <float.h>.
37397 (__catanl): Ensure underflow exception occurs for underflowed
37399 * math/libm-test.inc (catan_test): Add more tests.
37400 (catanh_test): Likewise.
37403 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37404 underflowed result.
37405 * math/s_ccoshf.c (__ccoshf): Likewise.
37406 * math/s_ccoshl.c (__ccoshl): Likewise.
37407 * math/s_csin.c (__csin): Likewise.
37408 * math/s_csinf.c (__csinf): Likewise.
37409 * math/s_csinh.c (__csinh): Likewise.
37410 * math/s_csinhf.c (__csinhf): Likewise.
37411 * math/s_csinhl.c (__csinhl): Likewise.
37412 * math/s_csinl.c (__csinl): Likewise.
37413 * math/libm-test.inc (ccos_test): Add more tests.
37414 (ccosh_test): Likewise.
37415 (csin_test): Likewise.
37416 (csinh_test): Likewise.
37418 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37420 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37421 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37422 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37423 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37424 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37425 powerpc/power5+/fpu folders.
37426 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37429 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37431 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37433 2013-04-25 Joseph Myers <joseph@codesourcery.com>
37435 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37436 additions to variable.
37437 [$(config-machine) = x86_64] (modules-names): Likewise.
37438 ($(objpfx)tst-audit3): Remove dependency.
37439 ($(objpfx)tst-audit3.out): Likewise.
37440 ($(objpfx)tst-audit4): Likewise.
37441 ($(objpfx)tst-audit4.out): Likewise.
37442 ($(objpfx)tst-audit5): Likewise.
37443 ($(objpfx)tst-audit5.out): Likewise.
37444 ($(objpfx)tst-audit6): Likewise.
37445 ($(objpfx)tst-audit6.out): Likewise.
37446 ($(objpfx)tst-audit7): Likewise.
37447 ($(objpfx)tst-audit7.out): Likewise.
37448 (tst-audit3-ENV): Remove variable.
37449 (tst-audit4-ENV): Likewise.
37450 (tst-audit5-ENV): Likewise.
37451 (tst-audit6-ENV): Likewise.
37452 (tst-audit7-ENV): Likewise.
37453 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37454 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37455 addition to variable.
37456 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37457 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37458 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37459 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37460 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37461 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37462 tst-audit3, tst-audit4 and tst-audit5.
37463 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37464 tst-audit6 and tst-audit7.
37465 [$(subdir) = elf] (modules-names): Add audit modules for those
37467 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37468 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37469 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37470 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37471 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37472 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37473 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37474 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37475 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37476 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37477 [$(subdir) = elf] (tst-audit3-ENV): New variable.
37478 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37479 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37480 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37481 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37482 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37484 [$(subdir) = elf && $(config-cflags-avx) = yes]
37485 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37486 [$(subdir) = elf && $(config-cflags-avx) = yes]
37487 (CFLAGS-tst-auditmod4a.c): Likewise.
37488 [$(subdir) = elf && $(config-cflags-avx) = yes]
37489 (CFLAGS-tst-auditmod4b.c): Likewise.
37490 [$(subdir) = elf && $(config-cflags-avx) = yes]
37491 (CFLAGS-tst-auditmod6b.c): Likewise.
37492 [$(subdir) = elf && $(config-cflags-avx) = yes]
37493 (CFLAGS-tst-auditmod6c.c): Likewise.
37494 [$(subdir) = elf && $(config-cflags-avx) = yes]
37495 (CFLAGS-tst-auditmod7b.c): Likewise.
37496 * elf/tst-audit3.c: Move to ...
37497 * sysdeps/x86_64/tst-audit3.c: ... here.
37498 * elf/tst-audit4.c: Move to ...
37499 * sysdeps/x86_64/tst-audit4.c: ... here.
37500 * elf/tst-audit5.c: Move to ...
37501 * sysdeps/x86_64/tst-audit5.c: ... here.
37502 * elf/tst-audit6.c: Move to ...
37503 * sysdeps/x86_64/tst-audit6.c: ... here.
37504 * elf/tst-audit7.c: Move to ...
37505 * sysdeps/x86_64/tst-audit7.c: ... here.
37506 * elf/tst-auditmod3a.c: Move to ...
37507 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37508 * elf/tst-auditmod3b.c: Move to ...
37509 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37510 * elf/tst-auditmod4a.c: Move to ...
37511 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37512 * elf/tst-auditmod4b.c: Move to ...
37513 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37514 * elf/tst-auditmod5a.c: Move to ...
37515 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37516 * elf/tst-auditmod5b.c: Move to ...
37517 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37518 * elf/tst-auditmod6a.c: Move to ...
37519 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37520 * elf/tst-auditmod6b.c: Move to ...
37521 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37522 * elf/tst-auditmod6c.c: Move to ...
37523 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37524 * elf/tst-auditmod7a.c: Move to ...
37525 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37526 * elf/tst-auditmod7b.c: Move to ...
37527 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37529 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
37532 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37533 define unconditionally.
37534 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37535 define unconditionally.
37536 (INT8_C, INT16_C, etc.): Likewise.
37538 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
37540 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37541 __ehdr_start with hidden visibility.
37543 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37545 2013-04-24 Carlos O'Donell <carlos@redhat.com>
37547 * math/libm-test.inc (cos_test): Use accurate hex constants.
37548 (sincost_test): Likewise.
37550 2013-04-24 Joseph Myers <joseph@codesourcery.com>
37552 * math/libm-test.inc (catan_test): Add more tests.
37553 (catanh_test): Likewise.
37555 * math/s_catanf.c (__catanf): Use suffixed floating-point
37557 * math/s_catanhf.c (__catanhf): Likewise.
37558 * math/s_catanhl.c (__catanhl): Likewise.
37559 * math/s_catanl.c (__catanl): Likewise.
37562 * math/s_catan.c (__catan): Calculate imaginary part of result
37563 with log1p not log unless computing log of number close to 0.
37564 * math/s_catanf.c (__catanf): Likewise.
37565 * math/s_catanl.c (__catanl): Likewise.
37566 * math/s_catanh.c (__catanh): Calculate real part of result with
37567 log1p not log unless computing log of number close to 0.
37568 * math/s_catanhf.c (__catanhf): Likewise.
37569 * math/s_catanhl.c (__catanhl): Likewise.
37570 * math/libm-test.inc (catan_test): Add more tests.
37571 (catanh_test): Likewise.
37572 * sysdeps/i386/fpu/libm-test-ulps: Update.
37573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37575 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
37577 * benchtests/Makefile: Mention files in which fast and slow
37578 paths of math functions are implemented.
37580 2013-04-23 Roland McGrath <roland@hack.frob.com>
37582 * sysdeps/posix/timespec_get.c: New file.
37584 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37586 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37588 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37590 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37591 powerpc/power5/fpu folders.
37592 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37593 * benchtests/Makefile: Add modf testcase.
37594 * benchtests/bench-modf.c: New file: Benchmark test for mo
37596 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
37599 * time/Makefile (tests): Add tst-strptime-whitespace.
37600 * time/strptime_l.c (get_number): Use ISSPACE.
37601 (__strptime_internal): Likewise.
37602 * time/tst-strptime-whitespace.c: New test case.
37604 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
37606 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37608 (_nss_files_init): Set it here.
37610 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
37612 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37613 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37616 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
37618 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37620 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37622 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37625 2013-04-21 David S. Miller <davem@davemloft.net>
37627 * po/ru.po: Update Russion translation from translation project.
37629 2013-04-17 Adam Conrad <adconrad@0c3.net>
37631 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37634 2013-04-17 Carlos O'Donell <carlos@redhat.com>
37636 * configure.in: Remove i386 configure warning. Remove i386 case.
37637 * configure: Regenerate.
37638 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37639 Add example to error message.
37640 * sysdeps/i386/configure: Regenerate.
37642 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37644 * benchtests/Makefile (bench): Add cos, tan, slowcos and
37646 * benchtests/cos-inputs: New file.
37647 * benchtests/slowcos-inputs: New file.
37648 * benchtests/slowcos.c: New file.
37649 * benchtests/slowtan-inputs: New file.
37650 * benchtests/slowtan.c: New file.
37651 * benchtests/tan-inputs: New file.
37653 2013-04-16 Roland McGrath <roland@hack.frob.com>
37655 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37658 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37660 * benchtests/Makefile: Include cppflags-iterator.mk to add
37661 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37663 * Makefile.in (bench-clean): New target.
37664 * benchtests/Makefile (bench-clean): Likewise.
37666 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
37668 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37670 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
37672 * stdio-common/tstdiomisc.c: Fix coding-style violation.
37674 2013-04-15 Andreas Schwab <schwab@suse.de>
37676 * nscd/grpcache.c (cache_addgr): Properly check for short write.
37677 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37678 * nscd/pwdcache.c (cache_addpw): Likewise.
37679 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
37682 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37684 * benchtests/Makefile (bench): Write all output to
37685 bench-out.tmp together.
37687 2013-04-15 Andreas Schwab <schwab@suse.de>
37689 * nscd/nscd.c (main): Don't fork again after closing files.
37691 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
37693 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37695 * benchtests/Rules (bench-deps): Collect dependencies into a
37696 single variable. Add Makefile to dependencies.
37697 ($(objpfx)bench-%.c): Depend on bench-deps.
37699 2013-04-12 Roland McGrath <roland@hack.frob.com>
37700 Xavier Roche <roche+kml2@exalead.com>
37703 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37704 just that it's a file descriptor.
37705 * manual/llio.texi (Synchronizing AIO Operations): Update description
37706 for EBADF error from aio_fsync.
37708 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
37710 * Rules (bench): Move target definition...
37711 * benchtests/Makefile: ... here.
37713 2013-04-11 Carlos O'Donell <carlos@redhat.com>
37715 * math/libm-test.inc (cos_test): Fix PI/2 test.
37716 (sincos_test): Likewise.
37717 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37718 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37720 2013-04-11 Andreas Schwab <schwab@suse.de>
37723 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37724 accept exponent character only when digits were seen.
37725 * stdio-common/Makefile (tests): Add bug26.
37726 * stdio-common/bug26.c: New file.
37729 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37732 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
37734 * Makeconfig (rtld-prefix): Define built linker prefix.
37735 * Rules (run-bench): Use it.
37736 * math/Makefile (run-regen-ulps): Likewise.
37738 * Rules (bench): Remove eval.
37740 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37741 Roland McGrath <roland@hack.frob.com>
37742 Ondrej Bilka <neleai@seznam.cz>
37745 * time/getdate.c: Include ctype.h and alloca.h.
37746 (__getdate_r): Trim leading and trailing spaces of input.
37747 * time/tst-getdate.c (tests): Add tests with leading and
37750 2013-04-08 Roland McGrath <roland@hack.frob.com>
37753 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37754 when computing value.
37756 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37758 * math/README.libm-test (How can I generate "libm-test-ulps"?):
37759 Use testrun.sh to run libm tests.
37762 * elf/dl-open.c (dl_open_worker): memset all of seen array.
37764 2013-04-06 Marko Myllynen <myllynen@redhat.com>
37767 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37771 * Makefile.in (regen-ulps): New target.
37772 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37773 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37774 [ifneq (no,$(PERL)] (regen-ulps): New target.
37775 [ifeq (no,$(PERL)] (regen-ulps): New target.
37776 * math/libm-test.inc (ulps_file_name): Define.
37777 (output_dir): New variable.
37778 (options): Add "output-dir" option.
37779 (parse_opt): Handle 'o' case.
37780 (main): If output_dir is non-NULL use it as a prefix
37782 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37784 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37786 [BZ #10060, #10062]
37787 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37788 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37789 fail configure if __sync_val_compare_and_swap is not inlined.
37790 * sysdeps/i386/configure: Regenerate.
37791 * configure.in: Build for i686 when configured for i386.
37792 * configure: Regenerate.
37793 * README: Remove i386 reference.
37795 2013-04-06 Carlos O'Donell <carlos@redhat.com>
37797 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37800 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
37802 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37803 (lmsnanval): New variables.
37804 (F): Add conversion tests.
37805 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37806 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37808 * stdio-common/tstdiomisc.c (F): Properly collect individual
37811 [BZ #14686, #15336]
37812 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37813 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37814 Instead, use input NaN values or generate a qNaN by arithmetic
37815 operation. Also fix bugs to comply with the standard.
37816 * math/libm-test.inc (remainder_test): Add more tests.
37818 [BZ #15335, #15342]
37819 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37821 input NaN values or generate a qNaN by arithmetic operation.
37823 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37826 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37829 2013-04-03 Joseph Myers <joseph@codesourcery.com>
37832 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37833 underflowed result.
37834 * math/s_cexpf.c (__cexpf): Likewise.
37835 * math/s_cexpl.c (__cexpl): Likewise.
37836 * math/libm-test.inc (cexp_test): Add more tests.
37838 2013-04-03 Andreas Schwab <schwab@suse.de>
37841 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37842 order arrays from heap if bigger than alloca cutoff.
37844 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
37846 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37847 (SNAN_TESTS_double): Refer to GCC PR56831.
37848 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37851 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
37853 * Rules (bench): Move bench.out after the run is complete.
37855 * Rules (bench): Echo currently running benchmark.
37857 * benchtests/Makefile (bench): Add atan and slowatan.
37858 * benchtests/atan-inputs: New file.
37859 * benchtests/slowatan-inputs: New file.
37860 * benchtests/slowatan.c: New file.
37862 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37863 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37867 * sysdeps/unix/sysv/linux/kernel-features.h
37868 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37869 __ASSUME_XFS_RESTRICTED_CHOWN.
37870 * sysdeps/unix/sysv/linux/pathconf.c
37871 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37872 Save and restore errno.
37874 2013-04-02 Joseph Myers <joseph@codesourcery.com>
37877 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37878 arguments using __kernel_casinh.
37879 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37880 arguments using __kernel_casinhf.
37881 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37882 arguments using __kernel_casinhl.
37883 * math/libm-test.inc (cacosh_test): Add more tests.
37884 * sysdeps/i386/fpu/libm-test-ulps: Update.
37885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37887 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37889 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37890 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37892 * bench/Makefile (bench): Add sin and slowsin.
37893 * benchtests/sin-inputs: New file.
37894 * benchtests/slowsin-inputs: New file.
37895 * benchtests/slowsin.c: New file.
37897 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37898 (bench): Add slowexp and slowpow.
37899 (exp-ITER): Increase iterations.
37900 (pow-ITER): Likewise.
37901 * benchtests/exp-inputs: Change input.
37902 * benchtests/pow-inputs: Likewise.
37903 * benchtests/slowexp-inputs: New file.
37904 * benchtests/slowexp.c: New file.
37905 * benchtests/slowpow-inputs: New file.
37906 * benchtests/slowpow.c: New file.
37908 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37910 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37912 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37913 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37914 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37915 * benchtests/Makefile: Add rint benchtest.
37916 * benchtests/rint-inputs: Input for rint benchtest.
37918 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
37920 * Versions.def (libm): Add GLIBC_2.18.
37921 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37922 hidden libm prototypes.
37923 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37924 * math/Makefile (libm-calls): Add s_issignaling.
37925 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37926 __issignalingf, __issignalingl. Adjust all libm.abilist files.
37927 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37929 * math/math.h [__USE_GNU] (issignaling): New macro.
37930 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37931 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37932 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37933 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37934 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37935 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37936 * manual/arith.texi (issignaling): New section.
37937 * manual/libm-err-tab.pl (@all_functions): Update comment.
37938 * math/gen-libm-test.pl (parse_args): Apply special handling for
37940 * math/libm-test.inc (print_float, issignaling_test): New
37942 (check_float_internal): Add issignaling checks.
37943 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37944 default definition.
37945 * sysdeps/powerpc/math-tests.h: New file.
37946 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37948 * math/test-snan.c (TEST_FUNC): Likewise.
37950 2013-03-30 David S. Miller <davem@davemloft.net>
37952 * po/de.po: Update from translation team.
37954 2013-03-30 Joseph Myers <joseph@codesourcery.com>
37957 * math/k_casinh.c (__kernel_casinh): Handle arguments with
37958 imaginary part less than 1.0 and real part less than 0.5
37960 * math/k_casinhf.c (__kernel_casinhf): Likewise.
37961 * math/k_casinhl.c (__kernel_casinhl): Likewise.
37962 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37963 (cacos_test): Add more tests.
37964 (casin_test): Likewise.
37965 (casinh_test): Likewise.
37966 * sysdeps/i386/fpu/libm-test-ulps: Update.
37967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37969 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37971 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37972 ONE with its value.
37974 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37975 (__pow_mp): Replace ONE and MONE with their values.
37976 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37977 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37978 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37979 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37980 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37981 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37983 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37985 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37986 (__pow_mp): Replace ZERO and MZERO with their values.
37987 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37988 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37989 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37990 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37991 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37992 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37995 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37997 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37999 2013-03-28 Roland McGrath <roland@hack.frob.com>
38001 * include/stdlib.h [!SHARED] (__call_tls_dtors):
38002 Declare with __attribute__ ((weak)).
38003 * stdlib/exit.c (__libc_atexit) [!SHARED]:
38004 Call __call_tls_dtors only if it's not NULL.
38006 2013-03-28 Roland McGrath <roland@hack.frob.com>
38008 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38009 didn't do it already, then set _dl_phdr and _dl_phnum based on the
38010 magic __ehdr_start linker symbol if it's defined.
38011 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38012 them up here if it was already done.
38014 * elf/dl-support.c (_dl_phdr): Make pointer to const.
38015 (_dl_aux_init): Use const in cast when setting it.
38016 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38017 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38018 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38020 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38022 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38023 * csu/libc-tls.c: Nor here.
38024 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38026 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38027 (__libc_message): Never call vsyslog.
38029 2013-03-28 Alan Modra <amodra@gmail.com>
38031 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38033 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38036 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38039 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38043 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38046 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38047 Don't add gid passed as argument.
38049 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38051 2013-03-27 Joseph Myers <joseph@codesourcery.com>
38054 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38055 imaginary part between 1.0 and 1.5 and real part less than 0.5
38057 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38058 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38059 * math/libm-test.inc (cacos_test): Add more tests.
38060 (casin_test): Likewise.
38061 (casinh_test): Likewise.
38062 * sysdeps/i386/fpu/libm-test-ulps: Update.
38063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38065 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38067 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38070 (denorm): Likewise.
38071 (__dbl_mp): Likewise.
38072 (add_magnitudes): Likewise.
38073 (sub_magnitudes): Likewise.
38081 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38083 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38084 (__dubcos): Likewise.
38085 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38086 (__ieee754_acos): Likewise.
38087 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38088 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38089 (__exp1): Likewise.
38090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38091 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38093 (my_log2): Likewise.
38094 (checkint): Likewise.
38095 * sysdeps/ieee754/dbl-64/e_remainder.c
38096 (__ieee754_remainder): Likewise.
38097 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38098 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38099 (bsloww): Likewise.
38100 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38102 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38103 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38104 MANTISSA_STORE_T to store computations on mantissa. Use
38105 macros for rounding and division.
38106 (denorm): Likewise.
38107 (__dbl_mp): Likewise.
38108 (add_magnitudes): Likewise.
38109 (sub_magnitudes): Likewise.
38112 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38113 powers of two in terms of TWOPOW macro.
38114 (mp_no): Make type of mantissa as MANTISSA_T.
38115 [!RADIXI]: Define RADIXI.
38116 [!TWO52]: Define TWO52.
38117 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38119 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38121 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38122 llroundl symbol when building for PPC32.
38124 2013-03-24 Mark H Weaver <mhw@netris.org>
38126 * manual/arith.texi (Normalization Functions): Fix prototypes for
38127 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38129 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38132 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38133 high value to check if expl overflow.
38134 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38135 to check for underflow and overflow.
38136 * math/libm-test.inc: Add exp test.
38138 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
38141 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38144 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38146 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38149 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
38151 * math/gen-libm-test.pl (parse_args, special_functions): Properly
38152 wrap blocks consisting of several statements.
38154 * sysdeps/generic/math-tests.h: New file.
38155 * sysdeps/i386/fpu/math-tests.h: Likewise.
38156 * math/test-snan.c: Include it.
38157 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38159 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38162 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38163 (__ieee754_j0l): Do not improve calculations using cos of twice
38164 input for inputs above LDBL_MAX / 2.0L.
38165 (__ieee754_y0l): Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38167 (__ieee754_j1l): Do not improve calculations using cos of twice
38168 input for inputs above LDBL_MAX / 2.0L.
38169 (__ieee754_y1l): Likewise.
38170 * math/libm-test.inc (j0_test): Add another test.
38171 (j1_test): Likewise.
38172 (y0_test): Likewise.
38173 (y1_test): Likewise.
38174 * sysdeps/i386/fpu/libm-test-ulps: Update.
38176 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38178 * Rules ($(objpfx)bench-%.c): Include code from a C source
38181 2013-03-21 Joseph Myers <joseph@codesourcery.com>
38184 * math/k_casinh.c (__kernel_casinh): Handle arguments with
38185 imaginary part 1.0 and real part less than 0.5 specially.
38186 * math/k_casinhf.c (__kernel_casinhf): Likewise.
38187 * math/k_casinhl.c (__kernel_casinhl): Likewise.
38188 * math/libm-test.inc (cacos_test): Add more tests.
38189 (casin_test): Likewise.
38190 (casinh_test): Likewise.
38191 * sysdeps/i386/fpu/libm-test-ulps: Update.
38192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38194 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
38196 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38197 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38199 2013-03-20 Joseph Myers <joseph@codesourcery.com>
38201 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38202 * config.make.in (config-cflags-sse4): Remove variable.
38203 (config-cflags-avx): Likewise.
38204 (config-cflags-sse2avx): Likewise.
38205 (config-cflags-novzeroupper): Likewise.
38206 (config-asflags-i686): Likewise.
38207 (have-mfma4): Likewise.
38208 (have-as-vis3): Likewise.
38210 * configure.in (MIG): Do not AC_SUBST.
38211 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38212 (libc_cv_cc_sse4): Do not AC_SUBST.
38213 (libc_cv_cc_avx): Likewise.
38214 (libc_cv_cc_sse2avx): Likewise.
38215 (libc_cv_cc_novzeroupper): Likewise.
38216 (libc_cv_cc_fma4): Likewise.
38217 (libc_cv_as_i686): Likewise.
38218 (libc_cv_sparc_as_vis3): Likewise.
38219 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38221 (config-asflags-i686): Likewise.
38222 (config-cflags-avx): Likewise.
38223 (config-cflags-sse2avx): Likewise.
38224 (have-mfma4): Likewise.
38225 (config-cflags-novzeroupper): Likewise.
38226 * sysdeps/mach/configure.in (MIG): Likewise.
38227 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38228 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38230 (config-cflags-avx): Likewise.
38231 (config-cflags-sse2avx): Likewise.
38232 (have-mfma4): Likewise.
38233 (config-cflags-novzeroupper): Likewise.
38234 * configure: Regenerated.
38235 * sysdeps/i386/configure: Likewise.
38236 * sysdeps/mach/configure: Likewise.
38237 * sysdeps/sparc/configure: Likewise.
38238 * sysdeps/x86_64/configure: Likewise.
38240 2013-03-20 Roland McGrath <roland@hack.frob.com>
38243 * locale/programs/localedef.c (options): Put N_ translation marker
38244 on argument names, not just descriptions.
38246 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38248 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38250 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
38253 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38255 2013-03-19 Roland McGrath <roland@hack.frob.com>
38257 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38258 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38259 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38260 [!BEFORE_ABORT] (before_abort): New function.
38261 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38262 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38263 (writev_for_fatal): New function.
38264 (WRITEV_FOR_FATAL): New macro; call that.
38265 (backtrace_and_maps): New function.
38266 (BEFORE_ABORT): New macro; call that.
38267 (struct str_list): Type removed.
38268 (__libc_message, __libc_fatal): Functions removed.
38269 Include <sysdeps/posix/libc_fatal.c> instead.
38271 2013-03-19 Joseph Myers <joseph@codesourcery.com>
38273 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38275 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38278 2013-03-19 Andreas Schwab <schwab@suse.de>
38280 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38281 * sysdeps/gnu/configure: Regenerate.
38283 * configure.in: Substitute libc_cv_rtlddir.
38284 * configure: Regenerate.
38285 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38286 * Makeconfig (rtlddir, inst_rtlddir): New variables.
38287 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38288 * elf/Makefile (install-others, CFLAGS-interp.c)
38289 (ldso_install, common-ldd-rewrite): Likewise.
38290 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38291 $(inst_slibdir)/$(rtld-installed-name).
38292 * scripts/rellns-sh: Add -p option.
38293 * Makerules (make-shlib-link): Use rellns-sh to get relative name
38296 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
38298 * manual/nptl.texi: Renamed to ...
38299 * manual/threads.texi: ... this.
38300 * manual/Makefile (chapters): Update.
38302 2013-03-18 Roland McGrath <roland@hack.frob.com>
38305 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38306 on argument names, not just descriptions.
38307 * malloc/memusagestat.c (options): Likewise.
38308 * nss/getent.c (options): Likewise.
38310 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
38313 * iconv/iconv_prog.c (options): Put N_ translation marker
38314 on argument names, not just descriptions.
38315 * iconv/iconvconfig.c (options): Likewise.
38317 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
38319 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38320 implementation which is faster on all x86_64 architectures.
38321 Tested on AMD, Intel Nehalem, SNB, IVB.
38322 * sysdeps/x86_64/strnlen.S: Likewise.
38324 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38325 Remove all multiarch strlen and strnlen versions.
38326 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38327 Remove strlen and strnlen related parts.
38329 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38330 Inline strlen part.
38331 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38333 * sysdeps/x86_64/multiarch/strlen.S: Remove.
38334 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38335 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38336 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38337 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38338 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38340 2013-03-17 Carlos O'Donell <carlos@redhat.com>
38342 * manual/memory.texi (Malloc Tunable Parameters):
38343 Sort parameters alphabetically. Add comments for missing entries.
38345 2013-03-17 David S. Miller <davem@davemloft.net>
38347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38349 2013-03-16 Joseph Myers <joseph@codesourcery.com>
38352 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38353 for arguments at most half maximum finite value.
38354 * math/libm-test.inc (j0_test): Add more tests.
38355 (j1_test): Likewise.
38356 (y0_test): Likewise.
38357 (y1_test): Likewise.
38358 * sysdeps/i386/fpu/libm-test-ulps: Update.
38359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38362 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38363 1 / x and functions P and Q for arguments above 0x1p256L.
38364 (__ieee754_y0l): Likewise.
38365 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38366 (__ieee754_y1l): Likewise.
38367 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38368 (j1_test): Likewise.
38369 (y0_test): Likewise.
38370 (y1_test): Likewise.
38372 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
38374 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38377 2013-03-15 Roland McGrath <roland@hack.frob.com>
38379 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38380 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38381 zero since it's initialized to EXEC_PAGESIZE.
38383 * sysdeps/unix/sysv/linux/ldsodefs.h
38384 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38385 * sysdeps/generic/ldsodefs.h: ... here.
38387 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
38389 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38391 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38393 * math/test-snan.c: Renamed from
38394 sysdeps/powerpc/fpu/test-powerpc-snan.c.
38395 * math/Makefile (tests): Add test-snan.
38396 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38399 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38400 SUFFIX. Initialize qNaN_var with __builtin_nan family of
38402 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
38403 __builtin_nan family of functions.
38404 * math/libm-test.inc (initialize): Initialize qnan_value with
38405 __builtin_nan family of functions.
38406 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38408 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38410 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
38411 storage class. Initialize qNaN_var and sNaN_var with
38412 __builtin_nan and __builtin_nans families of functions,
38415 * math/libm-test.inc (acosh_test): Also test with qNaN input.
38416 (sqrt_test): Remove duplicate test with qNaN input.
38417 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38418 (round_test, signbit_test, significand_test): Note missing +/-Inf
38419 as well as qNaN tests.
38421 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38422 qNaN_var. Fix a few strings, too.
38423 * math/libm-test.inc (nan_value): Rename to qnan_value.
38424 * math/gen-libm-test.pl (%beautify): Adjust to that.
38425 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38426 * math/test-misc.c (main): Likewise.
38427 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38428 to __qnan_bytes, and __qnan_union, respectively.
38429 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38431 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38432 and lqnanval, respectively.
38433 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38434 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38435 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38436 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38438 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38439 * math/test-misc.c (main) [__x86_64__]: Enable test for long
38442 * math/test-misc.c (main): Fix copy'n'pastos.
38443 * misc/tst-efgcvt.c (special): Likewise.
38445 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38446 Remove declarations.
38448 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38450 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38451 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38452 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38453 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38455 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38457 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38458 macro to return vdso values correctly in IFUNC implementations.
38459 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38460 Optimization by using IFUNC.
38462 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38463 Richard Henderson <rth@redhat.com>
38464 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38466 * Makefile.in (bench): New target.
38467 * NEWS: Mention the benchmark framework.
38468 * Rules (bench): Likewise.
38469 (binaries-bench): Generate binaries for functions to
38471 * benchtests/Makefile: New makefile for benchmark tests.
38472 * benchtests/bench-skeleton.c: New skeleton file for benchmark
38474 * benchtests/exp-inputs: New input file for EXP function.
38475 * benchtests/pow-inputs: New input file for POW function.
38476 * scripts/bench.pl: New script to generate source files for
38477 benchmark programs.
38479 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
38481 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38482 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38483 computations on mantissa. Use macros for rounding and
38485 (denorm): Likewise.
38486 (__dbl_mp): Likewise.
38487 (add_magnitudes): Likewise.
38488 (sub_magnitudes): Likewise.
38491 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
38492 powers of two in terms of TWOPOW macro.
38493 (mp_no): Make type of mantissa as MANTISSA_T.
38494 [!RADIXI]: Define RADIXI.
38495 [!TWO52]: Define TWO52.
38496 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38498 * manual/nptl.texi (cindex): Modify threads to pthreads.
38500 2013-03-15 Joseph Myers <joseph@codesourcery.com>
38502 * sysdeps/x86_64/preconfigure: Regenerated.
38504 2013-03-14 Joseph Myers <joseph@codesourcery.com>
38507 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38509 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38510 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38512 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38513 * math/libm-test.inc (j0_test): Do not allow one spurious
38514 underflow exception.
38515 (y1_test): Likewise.
38517 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
38519 * manual/Makefile (chapters): Add nptl.
38520 * manual/debug.texi (Debugging Support): Add link to Threads
38522 * manual/nptl.texi: New file.
38524 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38526 2013-03-14 Petr Baudis <pasky@ucw.cz>
38528 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38529 for non-NULL pointer before the memory validity test. Pointed
38530 out by Holger Brunck <holger.brunck@keymile.com>.
38532 2013-03-13 Andreas Schwab <schwab@suse.de>
38534 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38537 2013-03-13 Joseph Myers <joseph@codesourcery.com>
38539 * timezone/zic.c: Update from tzcode 2013b.
38541 2013-03-12 Carlos O'Donell <carlos@redhat.com>
38543 * manual/install.texi (Configuring and compiling):
38544 Mention i686 and i586.
38545 * INSTALL: Regenerate.
38547 2013-03-12 Roland McGrath <roland@hack.frob.com>
38549 * sysdeps/init_array/elf-init.c: New file.
38551 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38552 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38554 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38555 __gmon_start__ as global, but as static with a .preinit_array pointer.
38556 * sysdeps/init_array/gmon-start.c: New file. Use that.
38557 * sysdeps/init_array/crti.S: New file, empty except for comments.
38558 * sysdeps/init_array/crtn.S: Likewise.
38560 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
38562 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38564 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38565 Remove Prefer_SSE_for_memop.
38566 * sysdeps/x86_64/multiarch/init-arch.h: Remove
38567 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38568 HAS_PREFER_SSE_FOR_MEMOP.
38569 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38572 Remove bzero, memset ifunc support.
38573 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38574 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38575 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38576 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38578 2013-03-11 Andreas Schwab <schwab@suse.de>
38581 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38583 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38584 (GLIBC_2.16): Remove pthread_atfork.
38586 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
38588 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38589 (ptestcases.h): Likewise.
38591 2013-03-08 Roland McGrath <roland@hack.frob.com>
38593 * Makeconfig ($(common-objpfx)config.status): Depend on
38594 sysdeps/*/preconfigure{,.in} too.
38596 2013-03-08 Joseph Myers <joseph@codesourcery.com>
38598 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38599 (__free_hook): Use void * instead of __malloc_ptr_t.
38600 (__malloc_hook): Likewise.
38601 (__realloc_hook): Likewise.
38602 (__memalign_hook): Likewise.
38603 (__after_morecore_hook): Likewise.
38604 * malloc/arena.c (save_malloc_hook): Likewise.
38605 (save_free_hook): Likewise.
38606 * malloc/hooks.c (malloc_hook_ini): Likewise.
38607 (realloc_hook_ini): Likewise.
38608 (memalign_hook_ini): Likewise.
38609 * malloc/malloc.c (malloc_hook_ini): Likewise.
38610 (realloc_hook_ini): Likewise.
38611 (memalign_hook_ini): Likewise.
38612 (__free_hook): Likewise.
38613 (__malloc_hook): Likewise.
38614 (__realloc_hook): Likewise.
38615 (__memalign_hook): Likewise.
38616 (__libc_malloc): Likewise.
38617 (__libc_free): Likewise.
38618 (__libc_realloc): Likewise.
38619 (__libc_memalign): Likewise.
38620 (__libc_valloc): Likewise.
38621 (__libc_pvalloc): Likewise.
38622 (__libc_calloc): Likewise.
38623 (__posix_memalign): Likewise.
38624 * malloc/morecore.c (__sbrk): Likewise.
38625 (__default_morecore): Likewise.
38627 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38629 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38630 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38631 __malloc_ptrdiff_t.
38633 * malloc/malloc.h (__malloc_size_t): Remove macro.
38634 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38636 (old_memalign_hook): Likewise.
38637 (old_realloc_hook): Likewise.
38638 (struct hdr): Likewise.
38640 (mallochook): Likewise.
38641 (memalignhook): Likewise.
38642 (reallochook): Likewise.
38643 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38644 (tr_old_realloc_hook): Likewise.
38645 (tr_old_memalign_hook): Likewise.
38646 (tr_mallochook): Likewise.
38647 (tr_reallochook): Likewise.
38648 (tr_memalignhook): Likewise.
38650 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38652 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38653 default_ldbl_pack and using as default implementation.
38654 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38656 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38657 redundant definition.
38658 (ldbl_insert_mantissa): Likewise.
38659 (ldbl_canonicalize): Likewise.
38660 (ldbl_nearbyint): Likewise.
38661 (ldbl_pack): Rename to ldbl_pack_ppc.
38662 (ldbl_unpack): Rename to ldbl_unpack_ppc.
38663 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38664 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38666 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
38668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38669 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38670 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38671 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38672 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38673 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38674 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38675 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38677 2013-03-07 Andreas Jaeger <aj@suse.de>
38679 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38682 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38684 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38685 Include mpa.h and declare __MPEXP.
38686 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38687 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38688 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38689 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38690 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38691 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38692 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38694 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38695 (__slowpow): Use long double EXPL and LOGL functions to
38697 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38698 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38699 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38700 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38701 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38702 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38704 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38705 intermediate variable to calculate exponent.
38707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38711 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38712 [!NO__SQR]: Define __sqr.
38713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38714 and NO__SQR. Remove all code except __mul and __sqr. Include
38715 sysdeps/ieee754/dbl-64/mpa.c.
38716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38719 * posix/Makefile (tests): Add tst-pathconf.
38720 * posix/tst-pathconf.c: New test case.
38721 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38723 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38725 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
38727 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38729 2013-03-06 Andreas Jaeger <aj@suse.de>
38731 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38732 definition via __MAP_ANONYMOUS.
38734 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38735 it's not part of Linux headers.
38737 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38738 (MAP_HUGE_MASK): Define.
38740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38742 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38745 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38746 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38748 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38749 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38751 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38753 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38754 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38755 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38756 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38757 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38758 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38760 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38763 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38764 Handle f2fs and efivarfs.
38766 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38769 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38770 (EFIVARFS_MAGIC): Add.
38771 (F2FS_LINK_MAX): Add.
38773 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38775 * stdio-common/vfprintf.c: Replace __builtin_expect with
38778 2013-03-06 Joseph Myers <joseph@codesourcery.com>
38781 * sysdeps/generic/bp-sym.h: Remove file.
38782 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38783 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38784 <bp-sym.h> and <bp-asm.h>.
38785 (__longjmp): Don't use BP_SYM.
38786 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38788 (memcpy): Don't use BP_SYM.
38789 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38790 <bp-sym.h> and <bp-asm.h>.
38791 (memcpy): Don't use BP_SYM.
38792 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38794 (memcpy): Don't use BP_SYM.
38795 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38797 (memset): Don't use BP_SYM.
38798 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38799 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38800 (__bzero): Don't use BP_SYM.
38801 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38802 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38803 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38804 <bp-sym.h> and <bp-asm.h>.
38805 (memcmp): Don't use BP_SYM. Remove comment about bounded
38807 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38808 <bp-sym.h> and <bp-asm.h>.
38809 (memcpy): Don't use BP_SYM.
38810 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38811 <bp-sym.h> and <bp-asm.h>.
38812 (memset): Don't use BP_SYM.
38813 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38814 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38815 (__bzero): Don't use BP_SYM.
38816 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38817 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38818 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38819 <bp-sym.h> and <bp-asm.h>.
38820 (strncmp): Don't use BP_SYM. Remove comment about bounded
38822 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38823 <bp-sym.h> and <bp-asm.h>.
38824 (memcpy): Don't use BP_SYM.
38825 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38826 <bp-sym.h> and <bp-asm.h>.
38827 (memset): Don't use BP_SYM.
38828 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38829 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38830 (__bzero): Don't use BP_SYM.
38831 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38832 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38833 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38834 <bp-sym.h> and <bp-asm.h>.
38835 (__memchr): Don't use BP_SYM.
38836 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38837 <bp-sym.h> and <bp-asm.h>.
38838 (memcmp): Don't use BP_SYM. Remove comment about bounded
38840 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38841 <bp-sym.h> and <bp-asm.h>.
38842 (memcpy): Don't use BP_SYM.
38843 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38844 <bp-sym.h> and <bp-asm.h>.
38845 (__mempcpy): Don't use BP_SYM.
38846 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38847 <bp-sym.h> and <bp-asm.h>.
38848 (__memrchr): Don't use BP_SYM.
38849 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38850 <bp-sym.h> and <bp-asm.h>.
38851 (memset): Don't use BP_SYM.
38852 (__bzero): Likewise.
38853 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38854 <bp-sym.h> and <bp-asm.h>.
38855 (__rawmemchr): Don't use BP_SYM.
38856 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38857 <bp-sym.h> and <bp-asm.h>.
38858 (__STRCMP): Don't use BP_SYM.
38859 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38860 <bp-sym.h> and <bp-asm.h>.
38861 (strchr): Don't use BP_SYM.
38862 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38863 <bp-sym.h> and <bp-asm.h>.
38864 (__strchrnul): Don't use BP_SYM.
38865 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38866 <bp-sym.h> and <bp-asm.h>.
38867 (strlen): Don't use BP_SYM.
38868 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38869 <bp-sym.h> and <bp-asm.h>.
38870 (strncmp): Don't use BP_SYM. Remove comment about bounded
38872 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38873 <bp-sym.h> and <bp-asm.h>.
38874 (__strnlen): Don't use BP_SYM.
38875 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38876 <bp-sym.h> and <bp-asm.h>.
38877 (__GI__setjmp): Don't use BP_SYM.
38878 (_setjmp): Likewise.
38879 (__sigsetjmp): Likewise.
38880 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38881 (L(start_addresses)): Don't use BP_SYM.
38882 (_start): Likewise.
38883 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38885 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38886 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38887 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38888 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38889 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38891 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38892 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
38893 about bounded pointers.
38894 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38895 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38896 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38898 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38899 about bounded pointers. Remove GKM FIXME comments.
38900 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38901 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38903 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38904 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
38905 Remove GKM FIXME comments.
38906 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38907 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38908 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38910 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
38911 about bounded pointers. Remove GKM FIXME comment.
38912 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38914 (strncmp): Don't use BP_SYM. Remove comment about bounded
38916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38917 <bp-sym.h> and <bp-asm.h>.
38918 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38920 <bp-sym.h> and <bp-asm.h>.
38921 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
38924 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38926 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38929 2013-03-05 David S. Miller <davem@davemloft.net>
38931 * po/es.po: Update from translation team.
38933 2013-03-05 Andreas Jaeger <aj@suse.de>
38935 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38936 <bits/mman-linux.h>.
38937 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38939 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38940 <bits/mman-linux.h> to end of file.
38941 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38943 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38944 <bits/mman-linux.h> to end of file.
38945 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38947 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38948 <bits/mman-linux.h> to end of file.
38950 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38951 (MCL_CURRENT, MCL_FUTURE): Define here.
38953 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38956 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38958 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38960 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38962 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38963 fourth parameter needed for rt_sigprocmask syscall.
38964 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38965 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38966 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38967 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38968 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38969 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38971 2013-03-04 Joseph Myers <joseph@codesourcery.com>
38974 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38975 comment about bounded pointers.
38976 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38977 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38979 2013-03-04 Andreas Jaeger <aj@suse.de>
38981 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38982 common definitions.
38984 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38985 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38986 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38987 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38988 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38989 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38991 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38994 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38995 __ieee754_sqrl instead of __sqrl.
38997 2013-03-01 Joseph Myers <joseph@codesourcery.com>
38999 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39000 * sysdeps/powerpc/fpu_control.h: ... here.
39001 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39002 * sysdeps/powerpc/bits/fenvinline.h: ... here.
39003 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39004 * sysdeps/powerpc/bits/mathinline.h: ... here.
39006 2013-03-01 Roland McGrath <roland@hack.frob.com>
39008 * elf/dl-hwcaps.c (_dl_important_hwcaps):
39009 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39010 to just [NEED_DL_SYSINFO_DSO].
39011 * elf/dl-support.c: Likewise.
39012 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39013 * elf/rtld.c (dl_main): Likewise.
39014 * elf/setup-vdso.h (setup_vdso): Likewise.
39015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39016 * sysdeps/unix/sysv/linux/dl-sysdep.c
39017 (_dl_discover_osversion): Likewise.
39019 2013-03-01 Carlos O'Donell <carlos@redhat.com>
39021 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39022 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39024 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
39026 * NEWS: Mention libm performance improvements and non-x86 PI
39029 * csu/libc-start.c (__pthread_initialize_minimal): Change
39030 function arguments.
39031 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39033 2013-02-28 Joseph Myers <joseph@codesourcery.com>
39036 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39037 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39038 <bp-sym.h> and <bp-asm.h>.
39039 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39040 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39042 (memcpy): Don't use BP_SYM.
39043 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39045 (__mpn_add_n): Don't use BP_SYM.
39046 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39047 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39049 (__mpn_addmul_1): Don't use BP_SYM.
39050 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39051 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39053 (_setjmp): Don't use BP_SYM.
39054 (__novmx_setjmp): Likewise.
39055 (__GI__setjmp): Likewise.
39056 (__vmx_setjmp): Likewise.
39057 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39059 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39060 (__bzero): Don't use BP_SYM.
39061 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39062 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39063 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39064 <bp-sym.h> and <bp-asm.h>.
39065 (memcpy): Don't use BP_SYM.
39066 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39067 <bp-sym.h> and <bp-asm.h>.
39068 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39070 <bp-sym.h> and <bp-asm.h>.
39071 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39072 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39074 (__mpn_lshift): Don't use BP_SYM.
39075 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39076 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39078 (memset): Don't use BP_SYM.
39079 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39080 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39081 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39083 (__mpn_mul_1): Don't use BP_SYM.
39084 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39085 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39086 <bp-sym.h> and <bp-asm.h>.
39087 (memcmp): Don't use BP_SYM.
39088 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39089 <bp-sym.h> and <bp-asm.h>.
39090 (memcpy): Don't use BP_SYM.
39091 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39092 <bp-sym.h> and <bp-asm.h>.
39093 (memset): Don't use BP_SYM.
39094 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39095 <bp-sym.h> and <bp-asm.h>.
39096 (strncmp): Don't use BP_SYM.
39097 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39098 <bp-sym.h> and <bp-asm.h>.
39099 (memcpy): Don't use BP_SYM.
39100 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39101 <bp-sym.h> and <bp-asm.h>.
39102 (memset): Don't use BP_SYM.
39103 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39104 <bp-sym.h> and <bp-asm.h>.
39105 (__memchr): Don't use BP_SYM.
39106 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39107 <bp-sym.h> and <bp-asm.h>.
39108 (memcmp): Don't use BP_SYM.
39109 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39110 <bp-sym.h> and <bp-asm.h>.
39111 (memcpy): Don't use BP_SYM.
39112 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39113 <bp-sym.h> and <bp-asm.h>.
39114 (__mempcpy): Don't use BP_SYM.
39115 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39116 <bp-sym.h> and <bp-asm.h>.
39117 (__memrchr): Don't use BP_SYM.
39118 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39119 <bp-sym.h> and <bp-asm.h>.
39120 (memset): Don't use BP_SYM.
39121 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39122 <bp-sym.h> and <bp-asm.h>.
39123 (__rawmemchr): Don't use BP_SYM.
39124 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39125 <bp-sym.h> and <bp-asm.h>.
39126 (__STRCMP): Don't use BP_SYM.
39127 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39128 <bp-sym.h> and <bp-asm.h>.
39129 (strchr): Don't use BP_SYM.
39130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39131 <bp-sym.h> and <bp-asm.h>.
39132 (__strchrnul): Don't use BP_SYM.
39133 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39134 <bp-sym.h> and <bp-asm.h>.
39135 (strlen): Don't use BP_SYM.
39136 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39137 <bp-sym.h> and <bp-asm.h>.
39138 (strncmp): Don't use BP_SYM.
39139 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39140 <bp-sym.h> and <bp-asm.h>.
39141 (__strnlen): Don't use BP_SYM.
39142 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39144 (__mpn_rshift): Don't use BP_SYM.
39145 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39146 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39147 <bp-sym.h> and <bp-asm.h>.
39148 (__sigsetjmp): Don't use BP_SYM.
39149 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39150 (L(start_addresses)): Don't use BP_SYM.
39151 (_start): Likewise.
39152 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39154 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39155 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39156 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39157 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39159 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39160 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39161 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39162 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39164 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39166 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39167 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39169 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
39171 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39172 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39173 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39175 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
39177 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39179 (strncmp): Don't use BP_SYM,
39180 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39182 (__mpn_sub_n): Don't use BP_SYM.
39183 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39184 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39186 (__mpn_submul_1): Don't use BP_SYM.
39187 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39189 <bp-sym.h> and <bp-asm.h>.
39190 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39192 <bp-sym.h> and <bp-asm.h>.
39193 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
39196 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39199 Use ZK to minimize writes to Z.
39200 (sub_magnitudes): Simplify code a bit.
39201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39202 Use ZK to minimize writes to Z.
39203 (sub_magnitudes): Simplify code a bit.
39205 2013-02-27 Roland McGrath <roland@hack.frob.com>
39207 * csu/gmon-start.c: Add special exception to license text.
39209 2013-02-27 Richard Henderson <rth@redhat.com>
39211 * scripts/config.guess: Update from config.git.
39212 * scripts/config.sub: Likewise.
39214 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
39216 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39218 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39220 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39222 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39224 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39226 2013-02-26 Roland McGrath <roland@hack.frob.com>
39228 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39229 [$(build-shared = yes].
39231 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39233 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39234 (__mul): Reduce iterations for calculating mantissa.
39236 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39238 (__mpranred): Likewise.
39241 * malloc/memusagestat.c (main): Draw graphs for heap and stack
39242 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39244 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
39246 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39247 Define __attribute__.
39249 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39251 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39253 * posix/regex_internal.h (__attribute): Remove.
39254 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39255 (re_string_context_at): Likewise.
39256 (bitset_not): Use __attribute__ and mark function as possibly
39258 (bitset_merge): Likewise.
39259 (bitset_mask): Likewise.
39260 (re_string_char_size_at): Likewise.
39261 (re_string_wchar_at): Likewise.
39262 (re_string_elem_size_at): Likewise.
39264 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39266 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39270 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39274 (denorm): Likewise.
39275 (__dbl_mp): Likewise.
39276 (add_magnitudes): Likewise.
39277 (sub_magnitudes): Likewise.
39281 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39284 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39287 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39290 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39291 up changes with default code.
39292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39295 2013-02-24 Allan McRae <allan@archlinux.org>
39297 * manual/socket.texi (The Internet Namespace): Order menu items
39298 to match that in the file.
39300 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39301 node listing of the info page menu.
39303 2013-02-21 Joseph Myers <joseph@codesourcery.com>
39306 * sysdeps/i386/bp-asm.h: Remove file.
39307 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39308 (PARMS): Do not use macros from bp-asm.h.
39312 (__mpn_add_n): Do not use BP_SYM
39313 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39315 (PARMS): Do not use macros from bp-asm.h.
39318 (__mpn_addmul_1): Do not use BP_SYM
39319 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39321 (PARMS): Do not use macros from bp-asm.h.
39322 (SIGMSK): Likewise.
39323 (_setjmp): Likewise. Do not use BP_SYM.
39324 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39326 (PARMS): Do not use macros from bp-asm.h.
39327 (SIGMSK): Likewise.
39328 (setjmp): Likewise. Do not use BP_SYM.
39329 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39331 (PARMS): Do not use macros from bp-asm.h.
39332 (__frexp): Do not use BP_SYM.
39334 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39336 (PARMS): Do not use macros from bp-asm.h.
39337 (__frexpf): Do not use BP_SYM.
39338 (frexpf): Likewise.
39339 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39341 (PARMS): Do not use macros from bp-asm.h.
39342 (__frexpl): Do not use BP_SYM.
39343 (frexpl): Likewise.
39344 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39346 (PARMS): Do not use macros from bp-asm.h.
39347 (__remquo): Do not use BP_SYM.
39348 (remquo): Likewise.
39349 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39351 (PARMS): Do not use macros from bp-asm.h.
39352 (__remquof): Do not use BP_SYM.
39353 (remquof): Likewise.
39354 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39356 (PARMS): Do not use macros from bp-asm.h.
39357 (__remquol): Do not use BP_SYM.
39358 (remquol): Likewise.
39359 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39361 (PARMS): Do not use macros from bp-asm.h.
39364 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
39365 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39367 (PARMS): Do not use macros from bp-asm.h.
39368 (strlen): Do not use BP_SYM.
39369 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39371 (PARMS): Do not use macros from bp-asm.h.
39375 (__mpn_add_n): Do not use BP_SYM.
39376 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39378 (PARMS): Do not use macros from bp-asm.h.
39381 (__mpn_addmul_1): Do not use BP_SYM.
39382 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39385 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39387 (PARMS): Do not use macros from bp-asm.h.
39390 (__mpn_lshift): Do not use BP_SYM.
39391 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39393 (PARMS): Do not use macros from bp-asm.h.
39397 (memcpy): Likewise. Do not use BP_SYM.
39398 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39399 libc_hidden_def and weak_alias.
39400 (mempcpy): Do not use BP_SYM in weak_alias.
39401 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39403 (PARMS): Do not use macros from bp-asm.h.
39406 [!BZERO_P] (CHR): Likewise.
39407 (memset): Likewise. Do not use BP_SYM.
39408 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39410 (PARMS): Do not use macros from bp-asm.h.
39413 (__mpn_mul_1): Do not use BP_SYM.
39414 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39416 (PARMS): Do not use macros from bp-asm.h.
39419 (__mpn_rshift): Do not use BP_SYM.
39420 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39422 (PARMS): Do not use macros from bp-asm.h.
39425 (strchr): Likewise. Do not use BP_SYM.
39426 (index): Do not use BP_SYM in weak_alias.
39427 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39429 (PARMS): Do not use macros from bp-asm.h.
39432 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
39433 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39435 (PARMS): Do not use macros from bp-asm.h.
39436 (strlen): Do not use BP_SYM.
39437 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39439 (PARMS): Do not use macros from bp-asm.h.
39443 (__mpn_sub_n): Do not use BP_SYM.
39444 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39446 (PARMS): Do not use macros from bp-asm.h.
39449 (__mpn_submul_1): Do not use BP_SYM.
39450 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39452 (PARMS): Do not use macros from bp-asm.h.
39456 (__mpn_add_n): Do not use BP_SYM.
39457 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39460 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39462 (PARMS): Do not use macros from bp-asm.h.
39465 (memcmp): Do not use BP_SYM.
39466 (bcmp): Do not use BP_SYM in weak_alias.
39467 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39469 (PARMS): Do not use macros from bp-asm.h.
39473 (memcpy): Likewise. Do not use BP_SYM.
39474 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39476 (PARMS): Do not use macros from bp-asm.h.
39480 (memmove): Likewise. Do not use BP_SYM.
39481 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39483 (PARMS): Do not use macros from bp-asm.h.
39487 (__mempcpy): Likewise. Do not use BP_SYM.
39488 (mempcpy): Do not use BP_SYM in weak_alias.
39489 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39491 (PARMS): Do not use macros from bp-asm.h.
39494 [!BZERO_P] (CHR): Likewise.
39495 (memset): Likewise. Do not use BP_SYM.
39496 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39498 (PARMS): Do not use macros from bp-asm.h.
39500 (strcmp): Do not use BP_SYM.
39501 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39503 (PARMS): Do not use macros from bp-asm.h.
39506 [USE_AS_STRTOK_R] (SAVE): Likewise.
39507 (FUNCTION): Likewise. Do not use BP_SYM.
39508 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39510 (strtok_r): Likewise.
39511 (__GI___strtok_r): Likewise.
39512 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39513 (PARMS): Do not use macros from bp-asm.h.
39516 (__mpn_lshift): Do not use BP_SYM.
39517 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39518 (PARMS): Do not use macros from bp-asm.h.
39521 (__memchr): Do not use BP_SYM.
39522 (memchr): Do not use BP_SYM in weak_alias.
39523 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39524 (PARMS): Do not use macros from bp-asm.h.
39527 (memcmp): Do not use BP_SYM.
39528 (bcmp): Do not use BP_SYM in weak_alias.
39529 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39530 (PARMS): Do not use macros from bp-asm.h.
39533 (__mpn_mul_1): Do not use BP_SYM.
39534 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39536 (PARMS): Do not use macros from bp-asm.h.
39539 (__rawmemchr): Do not use BP_SYM.
39540 (rawmemchr): Do not use BP_SYM in weak_alias.
39541 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39542 (PARMS): Do not use macros from bp-asm.h.
39545 (__mpn_rshift): Do not use BP_SYM.
39546 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39547 (PARMS): Do not use macros from bp-asm.h.
39548 (SIGMSK): Likewise.
39549 (__sigsetjmp): Likewise. Do not use BP_SYM.
39550 * sysdeps/i386/start.S: Do not include "bp-sym.h".
39551 (_start): Do not use BP_SYM.
39552 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39553 (PARMS): Do not use macros from bp-asm.h.
39556 (__stpcpy): Likewise. Do not use BP_SYM.
39557 (stpcpy): Do not use BP_SYM in weak_alias.
39558 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39560 (PARMS): Do not use macros from bp-asm.h.
39564 (__stpncpy): Likewise. Do not use BP_SYM.
39565 (stpncpy): Do not use BP_SYM in weak_alias.
39566 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39567 (PARMS): Do not use macros from bp-asm.h.
39570 (strchr): Likewise. Do not use BP_SYM.
39571 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39573 (PARMS): Do not use macros from bp-asm.h.
39576 (__strchrnul): Likewise. Do not use BP_SYM.
39577 (strchrnul): Do not use BP_SYM in weak_alias.
39578 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39580 (PARMS): Do not use macros from bp-asm.h.
39582 (strcspn): Do not use BP_SYM.
39583 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39585 (PARMS): Do not use macros from bp-asm.h.
39588 (strpbrk): Likewise. Do not use BP_SYM.
39589 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39591 (PARMS): Do not use macros from bp-asm.h.
39594 (strrchr): Likewise. Do not use BP_SYM.
39595 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39596 (PARMS): Do not use macros from bp-asm.h.
39598 (strspn): Do not use BP_SYM.
39599 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39600 (PARMS): Do not use macros from bp-asm.h.
39604 (FUNCTION): Likewise. Do not use BP_SYM.
39605 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39607 (strtok_r): Likewise.
39608 (__GI___strtok_r): Likewise.
39609 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39610 (PARMS): Do not use macros from bp-asm.h.
39614 (__mpn_sub_n): Do not use BP_SYM.
39615 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39617 (PARMS): Do not use macros from bp-asm.h.
39620 (__mpn_submul_1): Do not use BP_SYM.
39621 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39623 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39625 (PARMS): Do not use macros from bp-asm.h.
39630 (__clone): Do not use BP_SYM.
39631 (clone): Do not use BP_SYM in weak_alias.
39632 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39634 (PARMS): Do not use macros from bp-asm.h.
39636 (__mmap64): Do not use BP_SYM.
39637 (mmap64): Do not use BP_SYM in weak_alias.
39638 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39639 <bp-sym.h> and <bp-asm.h>.
39640 (PARMS): Do not use macros from bp-asm.h.
39641 (__posix_fadvise64_l64): Do not use BP_SYM.
39642 * sysdeps/unix/sysv/linux/i386/semtimedop.S
39643 (PARMS): Do not use macros from bp-asm.h.
39645 (semtimedop): Do not use BP_SYM.
39646 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39649 2013-02-21 Allan McRae <allan@archlinux.org>
39651 * manual/message.texi (Charset conversion in gettext):
39652 Move @end statement to beginning of line.
39654 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39658 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39661 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39662 (denorm): Likewise.
39663 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39664 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39666 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39668 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39669 tail-call to the resolved function if pltexit isn't needed.
39671 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39673 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39674 or Y being zero as being unlikely.
39675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39678 2013-02-20 Carlos O'Donell <carlos@redhat.com>
39680 * manual/nss.texi (System Databases and Name Service Switch):
39681 Remove frobnicate @pxref.
39683 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39685 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39686 __attribute__ ((unused)) to __attribute__ ((__unused__)).
39688 2013-02-20 Petr Machata <pmachata@redhat.com>
39690 * elf/elf.h (R_ARM_TARGET1): New macro.
39691 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39692 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39693 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39694 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39695 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39696 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39697 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39698 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39699 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39700 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39701 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39702 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39703 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39704 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39705 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39706 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39707 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39708 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39709 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39710 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39711 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39712 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39713 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39714 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39715 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39716 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39717 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39718 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39719 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39720 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39721 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39722 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39723 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39724 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39725 (R_ARM_THM_GOT_BREL12): Likewise.
39726 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39727 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39728 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39729 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39730 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39731 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39732 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39733 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39734 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39736 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
39738 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39739 __attribute_used__ to __attribute__ ((unused)).
39741 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39743 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39746 comment formatting.
39747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39749 2013-02-19 Joseph Myers <joseph@codesourcery.com>
39752 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39754 (ENTER): Remove both macro definitions.
39756 (CHECK_BOUNDS_LOW): Likewise.
39757 (CHECK_BOUNDS_HIGH): Likewise.
39758 (CHECK_BOUNDS_BOTH): Likewise.
39759 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39760 (RETURN_BOUNDED_POINTER): Likewise.
39761 (RETURN_NULL_BOUNDED_POINTER): Likewise.
39762 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39763 (POP_ERRNO_LOCATION_RETURN): Likewise.
39764 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39765 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39766 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39768 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39769 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39770 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39771 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39772 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39773 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39774 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39775 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39776 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39777 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39778 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39779 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39780 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39781 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39783 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39784 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39786 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39787 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39788 * sysdeps/i386/i586/memset.S (memset): Likewise.
39789 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39790 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39791 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39793 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39794 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39795 Change uses of L(2) to L(out).
39796 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39797 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39798 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39799 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39800 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39802 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39803 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39805 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39806 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39807 (RETURN): Do not use macro LEAVE.
39808 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39809 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39810 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39811 * sysdeps/i386/i686/memset.S (memset): Likewise.
39812 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39813 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39814 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39815 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39817 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39818 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
39819 L(1_2) and L(1_3) into L(1).
39820 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39821 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39822 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39823 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39824 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39825 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39826 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39827 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39828 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39830 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39831 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39832 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39833 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39834 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39835 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39836 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39837 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39838 * sysdeps/i386/strcspn.S (strcspn): Likewise.
39839 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39840 * sysdeps/i386/strrchr.S (strrchr): Likewise.
39841 * sysdeps/i386/strspn.S (strspn): Likewise.
39842 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39844 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39845 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39846 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39847 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
39848 L(1_3) into L(1_1).
39849 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39850 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39851 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39853 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39855 2013-02-19 Jakub Jelinek <jakub@redhat.com>
39857 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39860 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39862 * math/atest-exp.c (exp_mpn): Remove ROUND.
39863 * math/atest-exp2.c (exp_mpn): Likewise.
39864 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39866 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39867 * stdlib/tst-tls-atexit-lib.c: Likewise.
39868 * stdlib/tst-tls-atexit.c: Likewise.
39870 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39872 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39873 and __attribute_alloc_size__.
39875 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39877 * include/programs/xmalloc.h: Change __attribute_alloc_size to
39878 __attribute_alloc_size__.
39879 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39880 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39882 2013-02-18 Mike Frysinger <vapier@gentoo.org>
39884 * include/programs/xmalloc.h: New file.
39885 * catgets/gencat.c: Include it.
39886 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39887 * elf/pldd.c: Likewise.
39888 * iconv/iconv_charmap.c: Likewise.
39889 * iconv/iconvconfig.c: Likewise.
39890 * iconv/strtab.c: Likewise.
39891 * locale/programs/locale.c: Likewise.
39892 * locale/programs/localedef.h: Likewise.
39893 * locale/programs/simple-hash.c: Likewise.
39894 * nscd/nscd.h: Likewise.
39895 * nss/makedb.c: Likewise.
39896 * sysdeps/generic/ldconfig.h: Likewise.
39898 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39900 * Versions.def: Add GLIBC_2.18.
39901 * include/link.h (struct link_map): New member l_tls_dtor_count.
39902 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39903 (__call_tls_dtors): Likewise.
39904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39905 __cxa_thread_atexit_impl.
39906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39910 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39912 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39915 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39919 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39922 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39923 (tests): Add test case tst-tls-atexit.
39924 (modules-names): Add shared library for tst-tls-atexit.
39925 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39926 (GLIBC_PRIVATE): Add __call_tls_dtors.
39927 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39929 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39930 * stdlib/tst-tls-atexit.c: New test case.
39931 * stdlib/tst-tls-atexit-lib.c: New test case.
39933 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39935 * elf/Versions (ld): Add _dl_find_dso_for_object.
39936 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39937 * elf/dl-open.c (_dl_find_dso_for_object): New function.
39938 (dl_open_worker): Use _dl_find_dso_for_object.
39939 * elf/dl-sym.c (do_sym): Likewise.
39940 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39942 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39944 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39945 Syntactic changes only.
39946 (_dl_runtime_profile): Do a tail-call to the resolved function.
39948 2013-02-17 Joseph Myers <joseph@codesourcery.com>
39951 * sysdeps/x86_64/bp-asm.h: Remove file.
39952 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39953 <bp-sym.h> and <bp-asm.h>.
39954 (__clone): Do not use BP_SYM.
39955 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39956 <bp-sym.h> and <bp-asm.h>.
39957 * sysdeps/unix/x86_64/sysdep.S: Likewise.
39958 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39960 (_setjmp): Do not use BP_SYM.
39961 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39963 (setjmp): Do not use BP_SYM.
39964 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39966 (mempcpy): Do not use BP_SYM in weak_alias.
39967 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39969 (strchr): Do not use BP_SYM.
39970 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39972 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39973 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39974 (_start): Do not use BP_SYM.
39975 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39977 (strcat): Do not use BP_SYM.
39978 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39980 (STRCMP): Do not use BP_SYM.
39981 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39983 (STRCPY): Do not use BP_SYM.
39984 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39986 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39988 (FUNCTION): Do not use BP_SYM.
39989 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39991 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39993 2013-02-17 Andreas Jaeger <aj@suse.de>
39995 * time/Versions: Sort entries.
39996 * string/Versions: Likewise.
39997 * resolv/Versions: Likewise.
39998 * posix/Versions: Likewise.
39999 * iconv/Versions: Likewise.
40000 * elf/Versions: Likewise.
40001 * wcsmbs/Versions: Likewise.
40003 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40005 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40006 loop termination condition.
40008 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40009 variable to calculate EZ.
40012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40013 the lower precision input.
40015 2013-02-15 Joseph Myers <joseph@codesourcery.com>
40018 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40019 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40020 (run-via-rtld-prefix): Do not handle %-bp tests.
40021 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40022 (all-object-suffixes): Remove .ob.
40023 (bppfx): Remove variable.
40024 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40025 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40026 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40027 [$(build-bounded) = yes] (libtype.ob): Likewise.
40028 * Makerules (elide-routines.ob): Remove variable.
40029 (do-tests-clean): Do not handle *-bp.out.
40030 (common-mostlyclean): Do not handle *-bp and *-bp.out.
40031 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40032 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40033 (tests): Do not include $(tests-bp.out).
40034 (xtests): Do not include $(xtests-bp.out).
40035 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40036 [$(build-bounded) = yes] ($(addprefix
40037 $(objpfx),$(binaries-bounded))): Remove rule.
40038 ($(objpfx)%-bp.out): Remove rule.
40039 * config.make.in (build-bounded): Remove variable.
40040 * crypt/Makefile [$(build-bounded) = yes]
40041 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40042 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40043 append to variable.
40044 [$(build-bounded) = yes] (install-lib): Likewise.
40045 [$(build-bounded) = yes] (generated): Likewise.
40046 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40048 * intl/Makefile [$(build-bounded) = yes]
40049 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40050 * math/Makefile [$(build-bounded) = yes]
40051 ($(tests:%=$(objpfx)%-bp): Likewise.
40052 * misc/Makefile [$(build-bounded) = yes]
40053 ($(objpfx)tst-tsearch-bp): Likewise.
40054 * nptl/Makeconfig (bounded-thread-library): Remove variable.
40055 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40057 * string/Makefile (o-objects.ob): Remove variable.
40058 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40059 (CFLAGS-.ob): Remove variable.
40060 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40061 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40062 both definitions of variable.
40063 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40064 (ASFLAGS-.ob): Remove variable.
40066 2013-02-14 Joseph Myers <joseph@codesourcery.com>
40069 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40070 Remove __BOUNDED_POINTERS__ from condition.
40071 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40072 * string/bits/string2.h [!__NO_STRING_INLINES &&
40073 !__BOUNDED_POINTERS__]: Likewise.
40074 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40076 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40077 Remove conditional code.
40078 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40079 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40080 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40084 * csu/libc-start.c: Do not include <bp-sym.h>.
40085 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40086 * elf/dl-open.c: Do not include <bp-sym.h>.
40087 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40088 * math/fegetenv.c: Do not include <bp-sym.h>.
40089 (fegetenv): Do not use BP_SYM in versioned symbols.
40090 * nptl/sysdeps/pthread/bits/libc-lockP.h
40091 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40093 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40094 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40095 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40096 (__pthread_mutex_destroy): Likewise.
40097 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40098 (__pthread_mutex_lock): Likewise.
40099 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40100 (__pthread_mutex_trylock): Likewise.
40101 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40102 (__pthread_mutex_unlock): Likewise.
40103 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40104 (__pthread_mutexattr_init): Likewise.
40105 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40106 (__pthread_mutexattr_destroy): Likewise.
40107 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40108 (__pthread_mutexattr_settype): Likewise.
40109 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40110 (__pthread_rwlock_init): Likewise.
40111 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40112 (__pthread_rwlock_destroy): Likewise.
40113 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40114 (__pthread_rwlock_rdlock): Likewise.
40115 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40116 (__pthread_rwlock_tryrdlock): Likewise.
40117 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40118 (__pthread_rwlock_wrlock): Likewise.
40119 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40120 (__pthread_rwlock_trywrlock): Likewise.
40121 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40122 (__pthread_rwlock_unlock): Likewise.
40123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40124 (__pthread_key_create): Likewise.
40125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40126 (__pthread_setspecific): Likewise.
40127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40128 (__pthread_getspecific): Likewise.
40129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40132 (_pthread_cleanup_push_defer): Likewise.
40133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40134 (_pthread_cleanup_pop_restore): Likewise.
40135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40136 (pthread_setcancelstate): Likewise.
40137 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40139 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40140 (memchr): Do not use BP_SYM in weak_alias.
40141 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40142 (fegetenv): Do not use BP_SYM in versioned symbols.
40143 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40144 (fesetenv): Do not use BP_SYM in versioned symbols.
40145 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40146 (feupdateenv): Do not use BP_SYM in versioned symbols.
40147 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40148 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40149 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40150 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40151 (open64): Do not use BP_SYM in weak_alias.
40152 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40153 (fegetenv): Do not use BP_SYM in versioned symbols.
40154 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40155 (fesetenv): Do not use BP_SYM in versioned symbols.
40156 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40157 (feupdateenv): Do not use BP_SYM in versioned symbols.
40158 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40159 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40160 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40161 (feraiseexcept): Do not use BP_SYM in versioned symbols.
40162 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40163 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40164 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40166 (__libc_start_main): Do not use BP_SYM.
40168 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40171 redundant return line.
40173 (denorm): Likewise.
40174 (dbl_mp): Likewise.
40175 (sub_magnitudes): Likewise.
40181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40183 (denorm): Likewise.
40184 (dbl_mp): Likewise.
40185 (sub_magnitudes): Likewise.
40192 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40194 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40195 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40198 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40199 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40200 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40201 of __mul for squares.
40202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40206 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40207 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40209 2013-02-13 Joseph Myers <joseph@codesourcery.com>
40212 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40214 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40215 prototype or function definition. Rename ubp_* variables and
40216 parameters. Remove argv definitions conditional on
40217 [__BOUNDED_POINTERS__].
40218 * debug/backtrace.c (__backtrace): Do not use __unbounded.
40219 * elf/dl-runtime.c (_dl_fixup): Likewise.
40220 * include/set-hooks.h (RUN_HOOK): Likewise.
40221 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40223 * string/strcpy.c (strcpy): Do not use __unbounded.
40224 * sysdeps/generic/frame.h (struct layout): Likewise.
40225 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40226 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40227 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40228 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40229 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40230 (__backtrace): Likewise.
40231 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40233 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40234 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40235 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40237 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40238 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40239 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40240 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40241 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40242 Do not use __unbounded.
40243 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40244 Rename __unboundedrlimits parameter to rlimits in prototype.
40245 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40246 Do not use __unbounded.
40247 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40248 not use __ptrvalue.
40249 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40250 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40251 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40252 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40253 __ptrvalue or __unbounded.
40254 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40255 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40257 (__new_msgctl): Do not use __ptrvalue.
40258 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40260 (__libc_msgrcv): Do not use __ptrvalue.
40261 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40262 startup_info): Do not use __unbounded.
40263 (__libc_start_main): Likewise. Rename ubp_* variables and
40264 parameters. Remove argv definitions conditional on
40265 [__BOUNDED_POINTERS__].
40266 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40268 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40270 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40272 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40274 (__new_shmctl): Do not use __ptrvalue.
40275 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40276 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40278 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40279 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40280 (__libc_sigaction): Likewise.
40281 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40282 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40284 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40286 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
40288 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40290 * string/mempcpy.c: Implement by calling memcpy.
40292 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
40294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40299 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40300 values in the mantissa.
40302 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40303 minimize writes to Z.
40304 (sub_magnitudes): Simplify code a bit.
40306 2013-02-12 Roland McGrath <roland@hack.frob.com>
40308 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40309 from the message. The linker prefixes all warnings with that already.
40311 2013-02-12 Andreas Schwab <schwab@suse.de>
40314 * posix/regexec.c (extend_buffers): Add parameter min_len.
40315 (check_matching): Pass minimum needed length.
40316 (clean_state_log_if_needed): Likewise.
40317 (get_subexp): Likewise.
40318 * posix/Makefile (tests): Add bug-regex34.
40319 (bug-regex34-ENV): Define.
40320 * posix/bug-regex34.c: New file.
40323 * posix/regcomp.c (parse_bracket_exp): When looking up collating
40324 elements compare against the byte sequence of it, not its name.
40325 * posix/Makefile (tests): Add bug-regex35.
40326 (bug-regex35-ENV): Define.
40327 * posix/bug-regex35.c: New file.
40329 2013-02-11 Tom de Vries <tom@codesourcery.com>
40331 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
40333 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40334 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40335 (CHECK_EOL): Add undef.
40337 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
40339 * bits/stdlib-bsearch.h: New file.
40340 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40341 * stdlib/stdlib.h: Likewise.
40343 2013-02-11 Roland McGrath <roland@hack.frob.com>
40345 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40346 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40348 * manual/search.texi (Array Search Function): Add missing const in
40350 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40351 declaration to use rlim_t.
40352 (Basic Scheduling Functions): Remove erroneous const from
40353 sched_getparam prototype. Remove erroneous * from
40354 sched_get_priority_max and sched_get_priority_min prototypes.
40355 (Resource Usage): Fix summary @comment on vtimes to refer to
40356 sys/vtimes.h rather than vtimes.h.
40357 Add missing *s in vtimes prototype.
40358 (Limits on Resources): Fix ulimit prototype to return long int.
40359 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40360 prototypes to use long int rather than double.
40361 (BSD Random): Fix initstate and setstate to use char *, not void *.
40362 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40363 prototype to make second argument 'struct aiocb64 *const[]'.
40364 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40365 (Status of AIO Operations): Remove erroneous const in aio_return and
40366 aio_return64 prototypes.
40367 (Synchronizing I/O): Fix sync prototype to return void.
40368 * manual/startup.texi (Suboptions): Remove an erroneous const in
40369 getsubopt prototype.
40370 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40371 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40372 use size_t rather than int.
40373 (Scanning All Users): Likewise for getpwent_r.
40374 (Setting Groups): Add missing const to setgroups prototype.
40375 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40376 * manual/socket.texi (Host Names): Fix gethostbyaddr and
40377 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40378 'const void *' rather than 'const char *'.
40379 (Host Address Functions): Likewise for inet_ntop.
40380 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40381 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40382 ssize_t for return value.
40383 (Sending Data): Likewise for send, sendto, sendmsg.
40384 (Socket Option Functions): Add a missing const in setsockopt prototype.
40385 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40386 use wchar_t for the argument.
40387 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40388 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40390 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40391 double/float/long double for second argument.
40392 Fix return types of significand, significandf, significandl.
40393 * manual/filesys.texi (Setting Permissions): Use mode_t for second
40394 argument in fchmod prototype.
40395 (File Owner): Use uid_t and gid_t in fchown prototype.
40396 (File Times): Add const to utimes, futimes, and lutimes prototypes.
40397 (Making Special Files): Use mode_t and dev_t in mknod prototype.
40398 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40399 use 'const struct dirent **' as argument types to CMP function pointer
40401 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40402 (File Times): Fix summary magic @comment for struct utimbuf and utime
40403 to refer to utime.h, not time.h.
40404 * manual/string.texi (Argz Functions): Add missing const in
40405 argz_extract and argz_next prototypes.
40406 (Finding Tokens in a String): Likewise for basename.
40407 (String/Array Comparison): Fix typo in wcscasecmp prototype.
40408 (Copying and Concatenation): Fix typo in wmemmove prototype.
40409 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40410 (Signal Stack): Remove erroneous const in sigstack prototype.
40411 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40413 (Simple Calendar Time): Likewise for stime.
40414 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40416 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40417 say sys/sysctl.h instead.
40418 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40419 and vsyslog prototypes.
40421 2013-02-11 Tom de Vries <tom@codesourcery.com>
40423 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40426 2013-02-11 Roland McGrath <roland@hack.frob.com>
40428 * misc/sys/mman.h: Fix typo in mremap comment.
40430 2013-02-08 Roland McGrath <roland@hack.frob.com>
40432 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40433 the '\0' terminator.
40435 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40438 * debug/segfault.c: Don't include <bp-checks.h>.
40439 * sysdeps/generic/bp-checks.h: Remove file.
40440 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40441 (__GETDENTS): Don't use CHECK_N.
40442 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40443 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40444 (__getgroups): Don't use CHECK_N.
40445 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40446 (setgroups): Don't use CHECK_N.
40447 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40448 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40449 (__libc_msgrcv): Don't use CHECK_N.
40450 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40451 (__libc_msgsnd): Don't use CHECK_N.
40452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40454 (__libc_pread): Don't use CHECK_N.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40456 include <bp-checks.h>.
40457 (__libc_pread64): Don't use CHECK_N.
40458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40459 include <bp-checks.h>.
40460 (__libc_pwrite): Don't use CHECK_N.
40461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40462 include <bp-checks.h>.
40463 (__libc_pwrite64): Don't use CHECK_N.
40464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40466 (__libc_pread): Don't use CHECK_N.
40467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40468 include <bp-checks.h>.
40469 (__libc_pread64): Don't use CHECK_N.
40470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40471 include <bp-checks.h>.
40472 (__libc_pwrite): Don't use CHECK_N.
40473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40474 include <bp-checks.h>.
40475 (__libc_pwrite64): Don't use CHECK_N.
40476 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40477 (do_pread): Don't use CHECK_N.
40478 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40479 (do_pread64): Don't use CHECK_N.
40480 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40481 (do_pwrite): Don't use CHECK_N.
40482 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40483 (do_pwrite64): Don't use CHECK_N.
40484 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40485 (__libc_readv): Don't use CHECK_N.
40486 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40487 (semop): Don't use CHECK_N.
40488 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40490 (semtimedop): Don't use CHECK_N.
40491 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40492 (__libc_pread): Don't use CHECK_N.
40493 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40495 (__libc_pread64): Don't use CHECK_N.
40496 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40498 (__libc_pwrite): Don't use CHECK_N.
40499 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40501 (__libc_pwrite64): Don't use CHECK_N.
40502 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40504 (__libc_msgrcv): Don't use CHECK_N.
40505 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40506 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
40507 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40508 (__libc_writev): Don't use CHECK_N.
40510 2013-02-08 Roland McGrath <roland@hack.frob.com>
40512 * string/strcpy.c: Removed unused variable.
40514 * Makeconfig (+sysdep-includes): Define with := rather than =.
40515 Use an existing include/ subdir of each sysdeps dir before it.
40517 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40519 * nscd/connection.c (register_traced_file): Comment function.
40520 [HAVE_INOTIFY] (union __inev): Define.
40521 [HAVE_INOTIFY] (inotify_check_files): New function.
40522 [HAVE_INOTIFY] (clear_db_cache): Likewise.
40523 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40525 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40527 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40529 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40530 loaded if not already and that a failure is permanent.
40532 2013-02-08 Carlos O'Donell <carlos@redhat.com>
40535 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40536 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40538 2013-02-08 Joseph Myers <joseph@codesourcery.com>
40541 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40542 (CHECK_1_NULL_OK): Likewise.
40543 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40544 (__fxstat): Do not use CHECK_1.
40545 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40547 (___fxstat64): Do not use CHECK_1.
40548 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40550 (__fxstatat): Do not use CHECK_1.
40551 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40553 (__fxstatat64): Do not use CHECK_1.
40554 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40556 (__fxstat): Do not use CHECK_1.
40557 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40559 (__fxstatat): Do not use CHECK_1.
40560 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40562 (__getresgid): Do not use CHECK_1.
40563 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40565 (__getresuid): Do not use CHECK_1.
40566 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40568 (__lxstat): Do not use CHECK_1.
40569 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40571 (__old_msgctl): Do not use CHECK_1.
40572 (__new_msgctl): Likewise.
40573 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40575 (__new_setrlimit): Do not use CHECK_1.
40576 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40578 (__old_shmctl): Do not use CHECK_1.
40579 (__new_shmctl): Likewise.
40580 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40582 (__xstat): Do not use CHECK_1.
40583 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40584 (__lxstat): Do not use CHECK_1.
40585 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40587 (___lxstat64): Do not use CHECK_1.
40588 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40589 (__old_msgctl): Do not use CHECK_1.
40590 (__new_msgctl): Likewise.
40591 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40593 (__gettimeofday): Do not use CHECK_1.
40594 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40595 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40596 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40598 (__gettimeofday): Do not use CHECK_1.
40599 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40600 (__old_shmctl): Do not use CHECK_1_NULL_OK.
40601 (__new_shmctl): Do not use CHECK_1.
40602 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40604 (do_sigtimedwait): Do not use CHECK_1.
40605 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40607 (do_sigwaitinfo): Do not use CHECK_1.
40608 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40610 (msgctl): Do not use CHECK_1.
40611 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40613 (shmctl): Do not use CHECK_1.
40614 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40615 (ustat): Do not use CHECK_1.
40616 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40618 (__fxstat): Do not use CHECK_1.
40619 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40621 (__fxstatat): Do not use CHECK_1.
40622 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40624 (__lxstat): Do not use CHECK_1.
40625 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40627 (__xstat): Do not use CHECK_1.
40628 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40629 (__xstat): Do not use CHECK_1.
40630 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40631 (___xstat64): Do not use CHECK_1.
40634 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40636 (CHECK_BOUNDS_HIGH): Likewise.
40637 * string/strcpy.c: Do not include <bp-checks.h>.
40638 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40640 2013-02-07 Roland McGrath <roland@hack.frob.com>
40642 * nscd/nscd-client.h (__nscd_drop_map_ref):
40643 Add __attribute__ ((unused)).
40644 * nis/nss-nisplus.h (niserr2nss): Likewise.
40646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40647 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40649 * csu/libc-tls.c (init_static_tls, init_slotinfo):
40650 Remove inline keyword.
40651 * include/rounding-mode.h (round_away): Likewise.
40652 * libio/wfileops.c (adjust_wide_data): Likewise.
40653 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40654 (__m128i_strloadu_tolower): Likewise.
40655 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40656 (__m128i_strloadu_tolower): Likewise.
40657 * time/mktime.c (ydhms_diff): Likewise.
40658 * locale/elem-hash.h (elem_hash): Likewise.
40659 * locale/setlocale.c (setdata): Likewise.
40660 * posix/regex_internal.h (re_string_char_size_at): Likewise.
40661 (re_string_wchar_at): Likewise.
40662 (bitset_not, bitset_merge, bitset_mask): Likewise.
40663 [!(__GNUC__ > 3)] (inline): Remove macro.
40664 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40665 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40666 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40667 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40668 * string/memcmp.c (memcmp_bytes): Likewise.
40669 * locale/programs/locarchive.c (compute_hashval): Likewise.
40670 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40671 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40672 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40673 * nss/getent.c (print_rpc, print_protocols): Likewise.
40674 (print_passwd, print_group, print_aliases): Likewise.
40675 * nis/nss-nisplus.h (niserr2nss): Likewise.
40676 * nscd/connections.c (restart_p): Likewise.
40677 Change return type to bool.
40679 2013-02-05 Roland McGrath <roland@hack.frob.com>
40681 * Makeconfig (all-Depend-files): Add existing
40682 $(sorted-subdirs:=/Depend) files.
40683 (all-subdirs): Remove nss.
40684 * sysdeps/unix/inet/Subdirs: Add it here instead.
40685 * hesiod/Depend: New file.
40687 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40688 instead of calling alloca.
40690 * io/lseek.c (__lseek): Rename to __libc_lseek.
40691 Define __lseek as an alias.
40693 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40695 2013-02-04 Carlos O'Donell <carlos@redhat.com>
40697 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40698 else clause and remove check for non-standard endianness.
40700 2013-02-04 David S. Miller <davem@davemloft.net>
40702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40704 2013-02-04 Joseph Myers <joseph@codesourcery.com>
40707 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40708 (__ubp_memchr): Remove prototype.
40709 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40710 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40711 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40712 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40713 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40715 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40716 (__ubp_memchr): Likewise.
40717 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40718 (__ubp_memchr): Likewise.
40719 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40720 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40721 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40722 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40724 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40725 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40726 (__getcwd): Do not use CHECK_STRING.
40727 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40729 (__real_chown): Do not use CHECK_STRING.
40730 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40732 (fchownat): Do not use CHECK_STRING.
40733 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40735 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40737 (__lchown): Do not use CHECK_STRING.
40738 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40739 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40740 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40741 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40743 include <bp-checks.h>.
40744 (truncate64): Do not use CHECK_STRING.
40745 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40747 (__real_chown): Do not use CHECK_STRING.
40748 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40750 (__lchown): Do not use CHECK_STRING.
40751 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40753 (__chown): Do not use CHECK_STRING.
40754 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40756 (truncate64): Do not use CHECK_STRING.
40757 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40759 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40760 (__xmknod): Do not use CHECK_STRING.
40761 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40763 (__xmknodat): Do not use CHECK_STRING.
40764 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40765 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40767 2013-02-04 Andreas Schwab <schwab@suse.de>
40770 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40771 * include/netdb.h: Likewise for h_errno.
40772 * elf/tst-stackguard1.c: Include <tls.h>.
40774 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
40776 * elf/link.h (struct link_map): Extend the l_addr comment.
40777 * include/link.h (struct link_map): Likewise.
40779 2013-02-01 Joseph Myers <joseph@codesourcery.com>
40782 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40783 (BOUNDED_1): Remove macro.
40784 * debug/backtrace.c: Don't include <bp-checks.h>.
40785 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40786 (__backtrace): Likewise.
40787 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40789 (__backtrace): Don't use BOUNDED_1.
40790 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40792 (__backtrace): Don't use BOUNDED_1.
40793 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40794 (__backtrace): Don't use BOUNDED_1.
40795 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40796 (shmat): Don't use BOUNDED_N.
40798 2013-01-31 Joseph Myers <joseph@codesourcery.com>
40801 * sysdeps/generic/bp-start.h: Remove file.
40802 * csu/libc-start.c: Don't include <bp-start.h>.
40803 (LIBC_START_MAIN): Set up __environ directly instead of using
40804 INIT_ARGV_and_ENVIRON.
40805 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40809 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40811 (CHECK_FCNTL): Likewise.
40812 (CHECK_N_PAGES): Likewise.
40815 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40817 (CHECK_SIGSET_NULL_OK): Likewise.
40818 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40820 (sigpending): Don't use CHECK_SIGSET.
40821 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40823 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40824 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40826 (do_sigsuspend): Don't use CHECK_SIGSET.
40827 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40829 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40830 (do_sigwait): Don't use CHECK_SIGSET.
40831 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40833 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40834 include <bp-checks.h>.
40835 (sigpending): Don't use CHECK_SIGSET.
40836 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40837 include <bp-checks.h>.
40838 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40839 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40841 (sigpending): Don't use CHECK_SIGSET.
40842 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40844 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40847 * sysdeps/generic/bp-semctl.h: Remove file.
40848 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40849 <bp-checks.h> and <bp-semctl.h>.
40850 (__old_semctl): Don't use CHECK_SEMCTL.
40851 (__new_semctl): Likewise.
40852 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40854 (__old_semctl): Don't use CHECK_SEMCTL.
40855 (__new_semctl): Likewise.
40856 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40857 <bp-checks.h> and <bp-semctl.h>.
40858 (__old_semctl): Don't use CHECK_SEMCTL.
40859 (__new_semctl): Likewise.
40860 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40861 <bp-checks.h> and <bp-semctl.h>.
40862 (semctl): Don't use CHECK_SEMCTL.
40865 * Makerules (elide-bp-thunks): Remove variable.
40866 (elide-routines.oS): Don't use $(elide-bp-thunks).
40867 (elide-routines.os): Likewise.
40868 (elide-routines.o): Likewise.
40869 (elide-routines.op): Likewise.
40870 (elide-routines.og): Likewise.
40871 (objects): Don't use $(bp-thunks).
40872 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40874 (common-generated): Do not add s-proto-bp.d.
40875 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40878 Do not generate makefile rules for bounded-pointer thunks.
40879 * sysdeps/generic/bp-thunks.h: Remove file.
40880 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40881 * sysdeps/unix/s-proto-bp.S: Likewise.
40884 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40885 parts of result separately when argument is not close to line from
40886 -i to i and one part of argument is small.
40887 * math/k_casinhf.c (__kernel_casinhf): Likewise.
40888 * math/k_casinhl.c (__kernel_casinhl): Likewise.
40889 * math/libm-test.inc (cacos_test): Add more tests.
40890 (casin_test): Likewise.
40891 (casinh_test): Likewise.
40892 * sysdeps/i386/fpu/libm-test-ulps: Update.
40893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40895 2013-01-31 David S. Miller <davem@davemloft.net>
40897 * po/de.po: Update from translation team.
40899 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
40901 * time/tzfile.c: Include stdint.h for SIZE_MAX.
40903 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
40905 * configure.in (_AC_PROG_CC_C89): New definition.
40906 * configure: Regenerate.
40908 * configure.in (AC_PROG_CPP): New definition.
40909 * configure: Regenerate.
40911 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40913 * debug/tst-backtrace.h: New file.
40914 * debug/tst-backtrace2.c: Include tst-backtrace.h.
40915 (ret): Remove variable.
40917 (FAIL): Remove macro.
40918 (NO_INLINE): Likewise.
40919 (fn1): Use match function instead of strstr.
40920 * debug/tst-backtrace3.c: Include tst-backtrace.h.
40921 (ret): Remove variable.
40923 (FAIL): Remove macro.
40924 (NO_INLINE): Likewise.
40925 (fn): Use match function instead of strstr.
40926 * debug/tst-backtrace4.c: Include tst-backtrace.h.
40927 (ret): Remove variable.
40929 (FAIL): Remove macro.
40930 (NO_INLINE): Likewise.
40931 (handle_signal): Use match function instead of strstr.
40932 * debug/tst-backtrace5.c: Include tst-backtrace.h.
40933 (ret): Remove variable.
40935 (FAIL): Remove macro.
40936 (NO_INLINE): Likewise.
40937 (handle_signal): Use match function instead of strstr.
40939 2013-01-23 Roland McGrath <roland@hack.frob.com>
40941 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40943 2013-01-23 David S. Miller <davem@davemloft.net>
40945 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40946 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40947 argument of CAS if possible.
40948 * sysdeps/sparc/sparc64/bits/atomic.h
40949 (__arch_compare_and_exchange_val_32_acq): Likewise.
40950 (__arch_compare_and_exchange_val_64_acq): Likewise.
40952 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
40954 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40955 * sysdeps/posix/ulimit.c: ... this.
40956 Include <limits.h>.
40957 * sysdeps/unix/bsd/ulimit.c: Remove file.
40959 2013-01-23 Adam Conrad <adconrad@0c3.net>
40961 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40962 (LDFLAGS-tst-array5): Likewise.
40964 2013-01-23 Joseph Myers <joseph@codesourcery.com>
40967 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40968 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40969 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40970 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40972 2013-01-21 David S. Miller <davem@davemloft.net>
40974 * sysdeps/sparc/backtrace.c: New file.
40975 * sysdeps/sparc/sparc32/backtrace.h: New file.
40976 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40977 * sysdeps/sparc/sparc64/backtrace.h: New file.
40978 * sysdeps/sparc/sparc64/backtrace.c: Delete.
40979 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40982 2013-01-21 Andreas Schwab <schwab@suse.de>
40985 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40988 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
40990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40992 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40994 2013-01-18 Joseph Myers <joseph@codesourcery.com>
40995 Mark Mitchell <mark@codesourcery.com>
40996 Tom de Vries <tom@codesourcery.com>
40997 Paul Pluzhnikov <ppluzhnikov@google.com>
40999 * debug/tst-backtrace2.c: New file.
41000 * debug/tst-backtrace3.c: Likewise.
41001 * debug/tst-backtrace4.c: Likewise.
41002 * debug/tst-backtrace5.c: Likewise.
41003 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41004 (CFLAGS-tst-backtrace3.c): Likewise.
41005 (CFLAGS-tst-backtrace4.c): Likewise.
41006 (CFLAGS-tst-backtrace5.c): Likewise.
41007 (LDFLAGS-tst-backtrace2): Likewise.
41008 (LDFLAGS-tst-backtrace3): Likewise.
41009 (LDFLAGS-tst-backtrace4): Likewise.
41010 (LDFLAGS-tst-backtrace5): Likewise.
41011 (tests): Add new tests tst-backtrace2, tst-backtrace3,
41012 tst-backtrace4 and tst-backtrace5.
41014 2013-01-18 Anton Blanchard <anton@samba.org>
41015 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
41017 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41018 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41019 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41020 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41022 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41023 "+r" and remove output regs list as redundant. Add explicit inline
41024 asm to specify register of return val to work around compiler codegen
41025 bug. Remove (int) cast on return value. Add return type parameter to
41026 use in macro so that this macro does not truncate return value for
41028 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41029 pass to INTERNAL_VSYSCALL_NCS.
41030 (INLINE_VSYSCALL): Add 'long int' as return type to
41031 INTERNAL_VSYSCALL_NCS macro invocation.
41032 (INTERNAL_VSYSCALL): Add 'long int' as return type to
41033 INTERNAL_VSYSCALL_NCS macro invocation.
41034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41036 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41039 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41040 Fix application of SIMD FP exception mask.
41042 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41043 mp_no from a power of two.
41044 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41045 __mpexp_twomm1. Use __pow_mp.
41047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41050 2013-01-17 David S. Miller <davem@davemloft.net>
41052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41054 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41057 * include/complex.h: Condition contents on [!_COMPLEX_H].
41058 (__kernel_casinhf): New prototype.
41059 (__kernel_casinh): Likewise.
41060 (__kernel_casinhl): Likewise.
41061 * math/Makefile (libm_calls): Add k_casinh.
41062 * math/k_casinh.c: New file.
41063 * math/k_casinhf.c: Likewise.
41064 * math/k_casinhl.c: Likewise.
41065 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41066 finite nonzero arguments.
41067 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41068 finite nonzero arguments.
41069 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41070 finite nonzero arguments.
41071 * math/s_casinh.c: Do not include <float.h>.
41072 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41073 * math/s_casinhf.c: Do not include <float.h>.
41074 (__casinhf): Move code for finite nonzero arguments to
41076 * math/s_casinhl.c: Do not include <float.h>.
41077 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41079 (__casinhl): Move code for finite nonzero arguments to
41081 * math/libm-test.inc (cacos_test): Add more tests.
41082 * sysdeps/i386/fpu/libm-test-ulps: Update.
41083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41085 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
41087 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41088 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41089 [!HAVE_MREMAP]: Remove [defined linux] case.
41090 * malloc/arena.c: Do not include <malloc-sysdep.h>.
41092 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
41094 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41096 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
41098 * elf/elf.h (R_386_SIZE32): New relocation.
41099 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41101 (elf_machine_rela): Likewise.
41102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41103 R_X86_64_SIZE64 and R_X86_64_SIZE32.
41105 2013-01-17 Joseph Myers <joseph@codesourcery.com>
41107 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41108 (FP_FAST_FMA): Do not define.
41109 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41110 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41111 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41112 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41113 !_SOFT_FLOAT]: Likewise.
41114 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41115 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41117 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41118 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41119 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41120 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41121 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41122 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41125 2013-01-16 Andreas Schwab <schwab@suse.de>
41128 * include/stdlib.h (__mktemp): Add declaration.
41129 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41130 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41132 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
41134 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41136 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41137 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41138 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41140 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41141 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41143 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41145 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41146 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41147 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41149 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41150 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41152 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41154 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41156 2013-01-15 David S. Miller <davem@davemloft.net>
41158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41159 trunc{,f} to libm-sysdep_routes.
41160 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41170 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41171 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41172 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41173 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41174 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41175 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41178 nearbyint{,f} to libm-sysdep_routes.
41179 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41190 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41192 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41193 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41195 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41196 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41197 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41199 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41200 libc_feholdexcept and libc_fesetenv.
41202 2013-01-15 Mike Frysinger <vapier@gentoo.org>
41204 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41206 2013-01-14 David S. Miller <davem@davemloft.net>
41208 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41209 (SPARC_ASM_VIS2_IFUNC): Likewise.
41210 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41212 use of 'siam' instruction.
41213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41220 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41233 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41246 routines to libm-sysdep_routines.
41247 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41250 fdim/fdimf to libm-sysdep_routines.
41251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41259 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41260 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41261 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41262 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41264 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41266 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41267 to optimize copies.
41269 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41270 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41271 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41274 local variable MPTWO.
41275 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41278 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41280 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41283 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41285 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41287 2013-01-13 Mike Frysinger <vapier@gentoo.org>
41289 * manual/pattern.texi (glob_t): Document gl_flags.
41290 (glob64_t): Likewise.
41292 2013-01-11 David S. Miller <davem@davemloft.net>
41294 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41295 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41296 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
41297 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41298 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41299 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41300 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41301 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41302 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41303 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41304 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41305 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41306 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41308 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41309 sparc V9 rather than using V8 code.
41310 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41311 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41313 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41315 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41318 2013-01-11 Roland McGrath <roland@hack.frob.com>
41321 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41322 not in the main loop.
41323 * configure: Regenerated.
41325 2013-01-11 Joseph Myers <joseph@codesourcery.com>
41327 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41328 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41330 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
41331 [!__GLIBC_HAVE_LONG_LONG] case.
41332 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41333 condition to just #else.
41334 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41335 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41336 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41337 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41339 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41340 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41341 #elif condition to just #else.
41342 * sysdeps/unix/sysv/linux/sys/sysmacros.h
41343 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41344 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41345 #elif condition to just #else.
41347 2013-01-11 Steve Ellcey <sellcey@mips.com>
41349 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41350 (EF_MIPS_ARCH_64): Fix value.
41351 (EF_MIPS_ARCH_32R2): New.
41352 (EF_MIPS_ARCH_64R2): New.
41354 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
41356 * Makeconfig (+link-pie-before-libc): New.
41357 (+link-pie-after-libc): Likewise.
41358 (+link-pie-tests): Likewise.
41359 (+link-pie): Rewritten.
41360 (link-before-libc): Remove $(config-LDFLAGS).
41361 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41362 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41363 (config-LDFLAGS): Renamed to ...
41364 (rtld-LDFLAGS): This.
41365 (rtld-tests-LDFLAGS): New macro.
41366 (link-libc-rpath-link): Likewise.
41367 (link-libc-tests-rpath-link): Likewise.
41368 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41369 (link-libc): Prepand $(link-libc-rpath-link).
41370 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41371 (test-program-prefix): New macro.
41372 (test-via-rtld-prefix): Likewise.
41373 (test-program-cmd): Likewise.
41374 (host-test-program-cmd): Likewise.
41375 * Makefile ($(common-objpfx)testrun.sh): Replace
41376 $(run-program-prefix) with $(test-program-prefix).
41377 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41379 ($(common-objpfx)shlib.lds): Likewise.
41380 (build-module-helper): Likewise.
41381 ($(common-objpfx)format.lds): Likewise.
41382 * Rules (binaries-pie-tests): New.
41383 (binaries-pie-notests): Likewise.
41384 (binaries-pie): Rewritten.
41385 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41386 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41387 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41388 (make-test-out): Replace $(host-built-program-cmd) with
41389 $(host-test-program-cmd).
41390 * config.make.in (build-hardcoded-path-in-tests): New variable.
41391 * configure.in (--enable-hardcoded-path-in-tests): New configure
41393 (hardcoded_path_in_tests): New AC_SUBST.
41394 * configure: Regenerated.
41395 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41396 $(built-program-cmd) with $(test-program-cmd).
41397 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41398 (test_program_cmd): This.
41399 * elf/Makefile ($(objpfx)order.out): Run test with
41400 $(test-program-prefix).
41401 ($(objpfx)order2.out): Likewise.
41402 ($(objpfx)tst-initorder.out): Likewise.
41403 ($(objpfx)tst-initorder2.out): Likewise.
41404 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41405 $(test-program-cmd).
41406 ($(objpfx)tst-array1-static.out): Likewise.
41407 ($(objpfx)tst-array2.out): Likewise.
41408 ($(objpfx)tst-array3.out): Likewise.
41409 ($(objpfx)tst-array4.out): Likewise.
41410 ($(objpfx)tst-array5.out): Likewise.
41411 ($(objpfx)tst-array5-static.out): Likewise.
41412 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41413 $(test-program-cmd).
41414 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41415 $(run-program-prefix) with $(test-program-prefix).
41416 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41417 (test_program_prefix): This.
41418 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41419 $(run-program-prefix) with $(test-program-prefix).
41420 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41421 (test_program_prefix): This.
41422 * iconvdata/tst-tables.sh: Likewise.
41423 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41424 $(run-program-prefix) with $(test-program-prefix).
41425 ($(objpfx)tst-translit.out): Likewise.
41426 ($(objpfx)tst-gettext2.out): Likewise.
41427 ($(objpfx)tst-gettext4.out): Likewise.
41428 ($(objpfx)tst-gettext6.out): Likewise.
41429 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41430 (test_program_prefix): This.
41431 * intl/tst-gettext2.sh: Likewise.
41432 * intl/tst-gettext4.sh Likewise.
41433 * intl/tst-gettext6.sh: Likewise.
41434 * intl/tst-translit.sh: Likewise.
41435 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41436 with $(test-program-cmd).
41437 * libio/Makefile ($(objpfx)test-freopen.out): Replace
41438 $(run-program-prefix) with $(test-program-prefix).
41439 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41440 (test_program_prefix): This.
41441 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41442 $(run-program-prefix) with $(test-program-prefix).
41443 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41444 (test_program_prefix): This.
41445 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41446 * posix/Makefile ($(objpfx)globtest.out): Replace
41447 $(run-via-rtld-prefix) and $(test-wrapper) with
41448 $(test-program-prefix) and $(test-via-rtld-prefix).
41449 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41450 $(test-program-prefix).
41451 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41452 $(host-test-program-cmd).
41453 (tst-spawn-ARGS): Likewise.
41454 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41455 $(test-program-prefix).
41456 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41457 (test_via_rtld_prefix): This.
41458 (test_wrapper): Renamed to ...
41459 (test_program_prefix): This.
41460 (run_program_prefix): Replaced by test_program_prefix.
41461 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41462 (test_program_prefix): This.
41463 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41464 with $(host-test-program-cmd).
41465 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41466 $(run-program-prefix) with $(test-program-prefix).
41467 ($(objpfx)tst-printf.out): Likewise.
41468 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41469 $(test-program-cmd).
41470 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41471 (test_program_prefix): This.
41472 * stdio-common/tst-unbputc.sh: Likewise.
41473 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41474 $(run-program-prefix) with $(test-program-prefix).
41475 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41476 (test_program_prefix): This.
41477 * string/Makefile ($(objpfx)tst-svc.out): Replace
41478 $(built-program-cmd) with $(test-program-cmd).
41480 2013-01-11 Andreas Jaeger <aj@suse.de>
41483 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41484 value. Sync with Linux 3.7.
41486 2013-01-10 David S. Miller <davem@davemloft.net>
41488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41492 2013-01-10 Roland McGrath <roland@hack.frob.com>
41494 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41496 * configure: Regenerated.
41498 2013-01-10 David S. Miller <davem@davemloft.net>
41500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41501 sparc V9 rather than using V8 code.
41502 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41503 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41505 2013-01-10 Roland McGrath <roland@hack.frob.com>
41507 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41508 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41509 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41510 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41511 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41512 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41513 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41514 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41515 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41516 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41517 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41518 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41519 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41520 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41521 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41522 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41523 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41524 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41525 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41526 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41527 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41528 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41529 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41530 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41531 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41532 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41533 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41535 2013-01-10 David S. Miller <davem@davemloft.net>
41537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41539 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41541 * posix/Makefile (tests-static): New variable.
41542 (tests): Add $(tests-static).
41543 (tst-exec-static-ARGS): New variable.
41544 (tst-spawn-static-ARGS): Likewise.
41545 * posix/tst-exec-static.c: New file.
41546 * posix/tst-spawn-static.c: Likewise.
41547 * posix/tst-exec.c: Support run directly.
41548 * posix/tst-spawn.c: Likewise.
41550 2013-01-10 Joseph Myers <joseph@codesourcery.com>
41552 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41554 * math/bits/mathcalls.h (llrint): Likewise.
41555 (llround): Likewise.
41556 * stdlib/stdlib.h (struct drand48_data): Likewise.
41557 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41558 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41559 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41561 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41563 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41564 (elf_greg_t): Likewise.
41565 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41566 (__jmp_buf): Likewise.
41567 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41569 (llrint): Likewise, for all definitions.
41570 (llrintl): Likewise.
41572 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41573 Remove [__GNUC__] condition.
41574 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41575 condition to just [__USE_ISOC99].
41576 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41578 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
41581 * sysdeps/unix/sysv/linux/x86/bits/environments.h
41582 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41584 (_POSIX_V6_ILP32_OFF32): Likewise.
41585 (_XBS5_ILP32_OFF32): Likewise.
41586 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41587 (__ILP32_OFFBIG_LDFLAGS): Likewise.
41589 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
41591 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41593 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41594 doubles __mpexp_twomm1. Adjust usage.
41595 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41598 2013-01-10 Andreas Schwab <schwab@suse.de>
41601 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41602 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41604 2013-01-09 David S. Miller <davem@davemloft.net>
41607 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41608 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41609 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41610 (TCP_FASTOPEN): Define.
41611 (tcp_repair_opt): New structure.
41612 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41614 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41615 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41616 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41617 (tcp_cookie_transactions): New structure.
41619 2013-01-09 Anton Blanchard <anton@samba.org>
41621 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41622 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41623 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41624 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41626 2013-01-09 Joseph Myers <joseph@codesourcery.com>
41628 * include/features.h (__USE_ANSI): Remove.
41630 2013-01-09 Roland McGrath <roland@hack.frob.com>
41632 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41634 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41636 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
41638 * sysdeps/s390/fpu/libm-test-ulps: Update.
41640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41642 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41646 (denorm): Likewise.
41647 (__mp_dbl): Likewise.
41648 (__dbl_mp): Likewise.
41649 (add_magnitudes): Likewise.
41650 (sub_magnitudes): Likewise.
41656 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41660 (denorm): Likewise.
41661 (__mp_dbl): Likewise.
41662 (__dbl_mp): Likewise.
41663 (add_magnitudes): Likewise.
41664 (sub_magnitudes): Likewise.
41670 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41674 (denorm): Likewise.
41675 (__mp_dbl): Likewise.
41676 (__dbl_mp): Likewise.
41677 (add_magnitudes): Likewise.
41678 (sub_magnitudes): Likewise.
41685 2013-01-08 Joseph Myers <joseph@codesourcery.com>
41687 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41688 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41689 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41690 2 && __USE_EXTERN_INLINES]: Likewise.
41692 2013-01-08 Andreas Jaeger <aj@suse.de>
41695 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41697 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41698 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41700 2013-01-07 Anton Blanchard <anton@samba.org>
41702 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41703 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41704 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41705 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41706 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41707 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41708 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41709 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41711 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41712 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41713 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41714 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41715 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41716 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41717 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41718 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41719 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41720 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41721 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41722 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41723 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41724 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41725 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41726 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41727 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41728 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41729 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41730 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41731 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41732 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41735 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41737 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41738 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41739 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41740 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41741 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41742 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41743 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41744 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41746 2013-01-07 Joseph Myers <joseph@codesourcery.com>
41748 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41749 (__MALLOC_PMT): Likewise.
41750 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41751 [__GNUC__], only on [_LIBC].
41752 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41753 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41754 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41755 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41756 forward declaration.
41757 (realloc_hook_ini): Likewise.
41758 (memalign_hook_ini): Likewise.
41759 (__libc_memalign): Do not use __MALLOC_PMT in variable
41761 (__libc_valloc): Likewise.
41762 (__libc_pvalloc): Likewise.
41763 (__libc_calloc): Likewise.
41764 (__posix_memalign): Likewise.
41767 * math/s_casinh.c: Include <float.h>.
41768 (__casinh): Do not do computation with squaring and square root
41769 for large arguments.
41770 * math/s_casinhf.c: Include <float.h>.
41771 (__casinhf): Do not do computation with squaring and square root
41772 for large arguments.
41773 * math/s_casinhl.c: Include <float.h>.
41774 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41775 (__casinhl): Do not do computation with squaring and square root
41776 for large arguments.
41777 * math/libm-test.inc (casin_test): Add more tests.
41778 (casinh_test): Likewise.
41779 * sysdeps/i386/fpu/libm-test-ulps: Update.
41780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41782 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
41784 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41785 (__x86_64_raw_data_cache_size): Likewise.
41786 (__x86_64_data_cache_size_half): Likewise.
41787 (__x86_64_raw_data_cache_size_half): Likewise.
41788 (__x86_64_shared_cache_size): Likewise.
41789 (__x86_64_raw_shared_cache_size): Likewise.
41790 (__x86_64_shared_cache_size_half): Likewise.
41791 (__x86_64_raw_shared_cache_size_half): Likewise.
41792 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41794 (__x86_data_cache_size): This.
41795 (__x86_64_raw_data_cache_size): Renamed to ...
41796 (__x86_raw_data_cache_size): This.
41797 (__x86_64_data_cache_size_half): Renamed to ...
41798 (__x86_data_cache_size_half): This.
41799 (__x86_64_raw_data_cache_size_half): Renamed to ...
41800 (__x86_raw_data_cache_size_half): This.
41801 (__x86_64_shared_cache_size): Renamed to ...
41802 (__x86_shared_cache_size): This.
41803 (__x86_64_raw_shared_cache_size): Renamed to ...
41804 (__x86_raw_shared_cache_size): This.
41805 (__x86_64_shared_cache_size_half): Renamed to ...
41806 (__x86_shared_cache_size_half): This.
41807 (__x86_64_raw_shared_cache_size_half): Renamed to ...
41808 (__x86_raw_shared_cache_size_half): This.
41809 * sysdeps/x86_64/memcpy.S: Updated.
41810 * sysdeps/x86_64/memset.S: Likewise.
41811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41812 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41813 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41815 2013-01-04 David S. Miller <davem@davemloft.net>
41817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41819 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
41821 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41822 1 to avoid redefinition warning.
41823 (__USE_GNU): Don't define.
41824 (init_signaling_nan): Protoize.
41826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41828 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41830 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41832 (__cpymn): Likewise.
41833 (norm): Remove commented code.
41834 (denorm): Likewise.
41835 (__mp_dbl): Likewise.
41837 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41838 (__cpymn): Likewise.
41839 (norm): Remove commented code.
41840 (denorm): Likewise.
41841 (__mp_dbl): Likewise.
41844 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41845 mp_no value for 1.0 and 2.0.
41846 (norm): Use RADIXI instead of radixi.d.
41847 (denorm): Likewise.
41848 (__mul): Use 0.0 instead of zero.d.
41849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41850 mp_no value for 1.0 and 2.0.
41851 (norm): Use RADIXI instead of radixi.d.
41852 (denorm): Likewise.
41853 (__mul): Use 0.0 instead of zero.d.
41855 2013-01-04 Joseph Myers <joseph@codesourcery.com>
41858 * math/s_casinh.c (__casinh): Reduce finite argument to first
41859 quadrant then set signs of results at the end.
41860 * math/s_casinhf.c (__casinhf): Likewise.
41861 * math/s_casinhl.c (__casinhl): Likewise.
41862 * math/libm-test.inc (casin_test): Add more tests.
41863 (casinh_test): Likewise.
41864 * sysdeps/i386/fpu/libm-test-ulps: Update.
41865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41869 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41871 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41873 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41875 (denorm): Likewise.
41876 (__mp_dbl): Likewise.
41879 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41880 and adjust the header comment.
41882 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41883 variable name from declaration.
41885 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
41887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41888 Initialize COMMON_CPUID_INDEX_7 element.
41889 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41890 (CPUID_RTM): Likewise.
41891 (HAS_RTM): Likewise.
41892 (COMMON_CPUID_INDEX_7): New enum.
41894 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
41897 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41898 size is zero, record memory as freed.
41900 2013-01-03 Andreas Jaeger <aj@suse.de>
41902 * po/ia.po: Add new Interlingua translation.
41904 2012-01-03 Allan McRae <allan@archlinux.org>
41906 * locale/programs/localedef.c: Fix description of '--posix' flag.
41908 2013-01-02 Joseph Myers <joseph@codesourcery.com>
41910 * NEWS: Update dates in second copyright notice.
41911 * README: Update copyright dates in example.
41912 * manual/libc.texinfo: Update copyright dates.
41913 * scripts/test-installation.pl: Update copyright date in --version
41916 * hurd/ctty-input.c: Fix copyright notice formatting.
41917 * hurd/ctty-output.c: Likewise.
41918 * hurd/dtable.c: Likewise.
41919 * hurd/hurd-raise.c: Likewise.
41920 * hurd/hurdprio.c: Likewise.
41921 * hurd/msgportdemux.c: Likewise.
41922 * misc/sys/file.h: Likewise.
41923 * misc/sys/ioctl.h: Likewise.
41924 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41925 * sysdeps/mach/hurd/chdir.c: Likewise.
41926 * sysdeps/mach/hurd/fchdir.c: Likewise.
41927 * sysdeps/mach/hurd/rename.c: Likewise.
41928 * sysdeps/mach/hurd/rmdir.c: Likewise.
41929 * sysdeps/mach/hurd/seekdir.c: Likewise.
41930 * sysdeps/mach/hurd/setsid.c: Likewise.
41931 * sysdeps/posix/wait3.c: Likewise.
41933 * All files with FSF copyright notices: Update copyright dates
41934 using scripts/update-copyrights.
41935 * intl/plural.c: Regenerated.
41936 * locale/programs/charmap-kw.h: Likewise.
41937 * locale/programs/locfile-kw.h: Likewise.
41939 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41941 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41944 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41945 calculation loop and add branch prediction.
41947 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41948 check access beyond bounds of m1np.
41950 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41952 (__inv): Remove local variable MPTWO to use the global
41954 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41955 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41957 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41958 MP3HALFS static const.
41960 2013-01-01 David S. Miller <davem@davemloft.net>
41962 * po/ca.po: Update from translation team.
41964 2013-01-01 Joseph Myers <joseph@codesourcery.com>
41966 * scripts/update-copyrights: New file.
41967 * Makeconfig: Reformat copyright notice.
41968 * ctype/ctype.h: Likewise.
41969 * debug/swprintf_chk.c: Likewise.
41970 * elf/dl-cache.c: Likewise.
41971 * elf/dl-debug.c: Likewise.
41972 * elf/dl-object.c: Likewise.
41973 * grp/initgroups.c: Likewise.
41974 * hurd/Makefile: Likewise.
41975 * hurd/hurd/signal.h: Likewise.
41976 * hurd/hurdfault.c: Likewise.
41977 * hurd/hurdioctl.c: Likewise.
41978 * hurd/hurdlookup.c: Likewise.
41979 * hurd/intr-msg.c: Likewise.
41980 * iconv/gconv_open.c: Likewise.
41981 * libio/swprintf.c: Likewise.
41982 * locale/lc-ctype.c: Likewise.
41983 * locale/nl_langinfo.c: Likewise.
41984 * mach/Machrules: Likewise.
41985 * mach/Makefile: Likewise.
41986 * malloc/obstack.h: Likewise.
41987 * manual/Makefile: Likewise.
41988 * manual/tsort.awk: Likewise.
41989 * misc/bits/stab.def: Likewise.
41990 * nis/nis_print_group_entry.c: Likewise.
41991 * nis/nis_table.c: Likewise.
41992 * nis/nss_compat/compat-pwd.c: Likewise.
41993 * nis/nss_compat/compat-spwd.c: Likewise.
41994 * po/Makefile: Likewise.
41995 * posix/fnmatch.c: Likewise.
41996 * posix/regex.h: Likewise.
41997 * resolv/Makefile: Likewise.
41998 * resolv/nss_dns/dns-network.c: Likewise.
41999 * resolv/res_hconf.c: Likewise.
42000 * scripts/gen-sorted.awk: Likewise.
42001 * soft-fp/soft-fp.h: Likewise.
42002 * stdio-common/printf.h: Likewise.
42003 * stdlib/monetary.h: Likewise.
42004 * stdlib/random.c: Likewise.
42005 * stdlib/random_r.c: Likewise.
42006 * sysdeps/generic/Makefile: Likewise.
42007 * sysdeps/gnu/Makefile: Likewise.
42008 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42009 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42010 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42011 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42012 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42013 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42014 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42015 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42016 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42017 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42018 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42019 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42020 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42021 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42022 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42024 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42025 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42026 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42028 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42029 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42030 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42031 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42032 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42033 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42034 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42035 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42036 * sysdeps/mach/hurd/errnos.awk: Likewise.
42037 * sysdeps/mach/hurd/fork.c: Likewise.
42038 * sysdeps/mach/hurd/getcwd.c: Likewise.
42039 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42040 * sysdeps/mach/hurd/mmap.c: Likewise.
42041 * sysdeps/mach/hurd/utimes.c: Likewise.
42042 * sysdeps/mach/hurd/xmknod.c: Likewise.
42043 * sysdeps/posix/profil.c: Likewise.
42044 * sysdeps/posix/readdir_r.c: Likewise.
42045 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42046 * sysdeps/powerpc/bits/setjmp.h: Likewise.
42047 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42048 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42050 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42051 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42052 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42053 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42054 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42055 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42056 * sysdeps/pthread/lio_listio.c: Likewise.
42057 * sysdeps/sparc/dl-procinfo.h: Likewise.
42058 * sysdeps/unix/i386/sysdep.S: Likewise.
42059 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42060 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42061 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42062 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42064 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42065 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42066 * sysdeps/unix/sysv/linux/speed.c: Likewise.
42067 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42068 * sysdeps/wordsize-32/divdi3.c: Likewise.
42069 * time/sys/time.h: Likewise.
42070 * wcsmbs/Makefile: Likewise.
42072 2013-01-01 David S. Miller <davem@davemloft.net>
42074 * po/fr.po: Update from translation team.
42076 * catgets/gencat.c: Update copyright year.
42077 * csu/version.c: Likewise.
42078 * debug/catchsegv.sh: Likewise.
42079 * debug/pcprofiledump.c: Likewise.
42080 * debug/xtrace.sh: Likewise.
42081 * elf/ldconfig.c: Likewise.
42082 * elf/ldd.bash.in: Likewise.
42083 * elf/pldd.c: Likewise.
42084 * elf/sotruss.ksh: Likewise.
42085 * elf/sprof.c: Likewise.
42086 * iconv/iconv_prog.c: Likewise.
42087 * iconv/iconvconfig.c: Likewise.
42088 * locale/programs/locale.c: Likewise.
42089 * locale/programs/localedef.c: Likewise.
42090 * login/programs/pt_chown.c: Likewise.
42091 * malloc/memusage.sh: Likewise.
42092 * malloc/memusagestat.c: Likewise.
42093 * malloc/mtrace.pl: Likewise.
42094 * nscd/nscd.c: Likewise.
42095 * nss/getent.c: Likewise.
42096 * nss/makedb.c: Likewise.
42097 * posix/getconf.c: Likewise.
42099 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
42101 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42104 2012-12-30 Mike Frysinger <vapier@gentoo.org>
42106 * math/bits/mathcalls.h (modf): Use __nonnull.
42108 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
42110 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42111 (split): Use macro CN instead of the bare value.
42112 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42114 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42115 instead of the bare value.
42116 (power1): Likewise.
42118 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42120 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42122 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42124 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42126 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42127 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42128 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42129 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42131 2012-12-28 Andreas Jaeger <aj@suse.de>
42133 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
42134 values are from Linux 3.7.
42136 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42137 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
42139 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42141 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42144 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42146 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42147 variables with preprocessor constants.
42148 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42149 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42150 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42152 2012-12-27 Bruno Haible <bruno@clisp.org>
42155 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42158 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42161 and use variable directly.
42162 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42164 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42166 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42167 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42169 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42170 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42171 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42172 include directive. Remove local variable MPONE.
42173 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42174 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42175 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42177 2012-12-25 David S. Miller <davem@davemloft.net>
42179 * version.h (RELEASE): Set to "development".
42180 (VERSION): Set to "2.17.90".
42181 * NEWS: Add 2.18 section.
42183 2012-12-21 David S. Miller <davem@davemloft.net>
42185 * po/hr.po: Update from translation team.
42187 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42189 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42191 2012-12-19 Steve Ellcey <sellcey@mips.com>
42193 * NEWS: Mention new memcpy for MIPS.
42195 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
42197 * manual/contrib.texi (Contributors): Spelling correction.
42199 2012-12-15 David S. Miller <davem@davemloft.net>
42201 * po/ru.po: Update from translation team.
42203 2012-12-13 David S. Miller <davem@davemloft.net>
42205 * NEWS: Mention IFUNC testsuite enhancements.
42207 * po/pl.po: Update from translation team.
42208 * po/bg.po: Likewise.
42210 * manual/contrib.texi (Contributors): Update entries for Hongjiu
42211 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
42213 2012-12-11 David S. Miller <davem@davemloft.net>
42215 * po/sv.po: Update from translation team.
42217 * po/vi.po: Update from translation team.
42219 * po/cs.po: Update from translation team.
42221 * po/de.po: Update from translation team.
42222 * po/eo.po: Likewise.
42223 * po/nl.po: Likewise.
42225 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
42228 * manual/argp.texi (Argp Helper Functions): Move node to follow
42229 Argp Parsing State.
42232 * manual/conf.texi (Limits on File System Capacity): Mention if
42233 terminating null is included in the max size.
42235 2012-12-10 Andreas Jaeger <aj@suse.de>
42237 * po/cs.po: Update from translation team.
42239 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
42241 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42242 void pointer and cast to uintptr_t.
42243 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42245 * sysdeps/s390/s390-64/memcpy.S: Likewise.
42246 * sysdeps/s390/s390-64/memset.S: Likewise.
42248 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
42251 * menual/message.texi (Message Translation): Fix typos.
42252 (Helper programs for gettext): Likewise.
42254 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
42257 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42260 2012-12-07 David S. Miller <davem@davemloft.net>
42262 * po/libc.pot: Update.
42264 2012-12-07 Richard Henderson <rth@redhat.com>
42267 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42268 normal/normal case to before the switch.
42269 (_FP_DIV): Likewise.
42271 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
42272 Mike Frysinger <vapier@gentoo.org>
42274 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42275 check for __NR_fadvise64_64.
42277 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
42279 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42280 0, not just to plain "0" as a statement.
42281 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42284 2012-12-06 Joseph Myers <joseph@codesourcery.com>
42286 * NEWS: Use sourceware.org in Bugzilla URL.
42288 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42291 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42293 * stdio-common/tst-put-error.c (do_test): Add newline to the
42294 padded test to ensure flush.
42296 2012-12-05 Jeff Law <law@redhat.com>
42298 * sunrpc/etc.rpc (fedfs_admin): Add entry.
42300 2012-12-05 Joseph Myers <joseph@codesourcery.com>
42302 * README: Don't refer to ports add-on as distributed separately.
42303 Mention AArch64 in list of systems supported in the ports add-on.
42305 * LICENSES: Add more non-FSF copyright and license notices.
42307 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42310 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42312 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42313 10000 as width of padded output.
42315 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42317 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42319 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42320 variable LX with __attribute__ ((unused)).
42321 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42323 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42324 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42326 with __attribute__ ((unused)).
42328 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
42330 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42332 2012-12-04 Joseph Myers <joseph@codesourcery.com>
42334 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42335 (CFLAGS-nldbl-acos.c): New variable.
42336 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42337 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42338 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42339 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42340 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42341 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42342 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42343 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42344 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42345 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42346 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42347 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42348 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42349 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42350 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42351 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42352 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42353 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42354 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42355 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42356 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42357 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42358 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42359 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42360 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42361 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42362 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42363 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42364 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42365 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42366 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42367 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42368 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42369 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42370 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42371 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42372 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42373 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42374 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42375 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42376 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42377 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42378 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42379 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42380 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42381 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42382 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42383 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42384 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42385 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42386 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42387 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42388 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42389 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42390 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42391 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42392 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42393 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42394 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42395 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42396 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42397 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42398 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42399 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42400 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42401 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42402 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42403 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42404 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42405 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42406 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42407 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42408 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42409 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42410 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42411 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42412 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42413 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42414 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42415 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42416 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42417 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42418 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42419 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42420 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42421 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42422 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42423 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42424 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42425 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42426 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42427 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42428 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42429 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42430 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42431 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42432 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42435 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42438 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42439 whole low double instead of just low 47 bits when splitting values
42442 2012-12-03 Allan McRae <allan@archlinux.org>
42444 * manual/stdio.texi (Predefined Printf Handlers): Remove
42445 @hsep and @vsep usage.
42447 2012-12-03 Mike Frysinger <vapier@gentoo.org>
42449 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42450 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42452 2012-12-03 Jeff Law <law@redhat.com>
42454 * time/sys/time.h (settimeofday): Do not mark TV argument
42457 2012-12-01 Mike Frysinger <vapier@gentoo.org>
42459 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42460 when currently writing and seek to current position when not.
42461 * libio/Makefile (tests): Remove bug-fclose1.
42462 * libio/bug-fclose1.c: Delete.
42464 2012-12-01 Joseph Myers <joseph@codesourcery.com>
42466 * manual/arith.texi (feenableexcept): Fix typo.
42467 (fedisableexcept): Likewise.
42469 2012-11-30 Roland McGrath <roland@hack.frob.com>
42471 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42472 second, differently-typed declaration, rather than a cast.
42474 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
42476 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42477 * include/rpc/svc.h: ... here.
42479 2012-11-30 Aurelien Jarno <aurel32@debian.org>
42482 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42483 depending n and resplen2 to catch cases where answer
42486 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
42488 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42489 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42491 2012-11-29 Mike Frysinger <vapier@gentoo.org>
42493 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42495 2012-11-29 Roland McGrath <roland@hack.frob.com>
42497 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42499 2012-11-28 Jeff Law <law@redhat.com>
42502 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42503 dataset_temporary. Track alloca usage into alloca_used.
42504 If dataset is large allocate and release it via malloc/free.
42506 2012-06-04 Florian Weimer <fweimer@redhat.com>
42509 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42511 2012-11-28 David S. Miller <davem@davemloft.net>
42513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42515 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42518 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42519 of pi/2 rounded to nearest to 64 bits.
42520 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42521 nearest to 64 bits.
42522 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42525 2012-11-28 Jeff Law <law@redhat.com>
42526 Martin Osvald <mosvald@redhat.com>
42529 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42530 * sunrpc/svc.c: Include time.h.
42531 (__svc_accept_failed): New function.
42532 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42533 any reason other than EINTR, call __svc_accept_failed.
42534 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42535 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42537 2012-11-28 Andreas Schwab <schwab@suse.de>
42539 * scripts/abilist.awk: Also handle indirect functions in .opd
42542 2012-11-28 Joseph Myers <joseph@codesourcery.com>
42545 * sysdeps/x86/fpu/powl_helper.c: New file.
42546 * sysdeps/x86/fpu/Makefile: Likewise.
42547 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42549 (__ieee754_powl): Use __powl_helper for finite arguments except
42550 integer exponents below 8.
42551 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42553 (__ieee754_powl): Use __powl_helper for finite arguments except
42554 integer exponents below 8.
42555 * math/libm-test.inc (pow_test): Add more tests and enable some
42556 previously disabled tests.
42557 * sysdeps/i386/fpu/libm-test-ulps: Update.
42558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42560 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
42561 Carlos O'Donell <carlos_odonell@mentor.com>
42563 * nss/makedb.c (is_prime): Assert that input is odd and greater
42564 than 4. Note that fact in a comment too.
42565 (next_prime): Add 4 to input.
42567 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
42570 * libio/Makefile (tests): Add test case tst-fwrite-error.
42571 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42572 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42573 * libio/tst-fwrite-error.c: New test case.
42575 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
42577 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42578 before casting to void *.
42579 * include/libc-internal.h (__pointer_type): New macro.
42580 (__integer_if_pointer_type_sub): Likewise.
42581 (__integer_if_pointer_type): Likewise.
42582 (cast_to_integer): Likewise.
42583 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42584 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42585 before casting to atomic64_t.
42586 (atomic_exchange_acq): Likewise.
42587 (__arch_exchange_and_add_body): Likewise.
42588 (__arch_add_body): Likewise.
42589 (atomic_add_negative): Likewise.
42590 (atomic_add_zero): Likewise.
42592 2012-11-26 Joseph Myers <joseph@codesourcery.com>
42594 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42595 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42596 (add_fdes): Likewise.
42597 (linear_search_fdes): Likewise.
42598 (binary_search_unencoded_fdes): Likewise.
42600 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
42602 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42604 2012-11-24 Adam Conrad <adconrad@0c3.net>
42606 * configure.in: Autodetect C++ header directories.
42607 * configure: Regenerated.
42609 2012-11-23 Mike Frysinger <vapier@gentoo.org>
42611 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42613 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
42615 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42617 2012-11-22 Joseph Myers <joseph@codesourcery.com>
42619 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42620 LDBL_MANT_DIG == 106]: Disable some tests.
42621 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42623 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42627 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42628 input for small inputs. Return +/- pi/2 for large inputs.
42629 * math/libm-test.inc (atan_test): Add more tests.
42631 * sysdeps/generic/unwind-dw2-fde-glibc.c
42632 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42633 __attribute__ ((unused)).
42636 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42637 x * y if x and y are nonzero and z is zero.
42640 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42641 nonzero exponents with absolute value below 0x1p-117 to +/-
42645 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42646 up arguments below 2**-450, not just those below 2**-500.
42647 * math/libm-test.inc (hypot_test): Add another test.
42650 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42651 Return a+b for ratio over 2**120, not 2**60.
42652 * math/libm-test.inc (hypot_test): Add another test.
42654 * math/libm-test.inc (clog_test): Use
42655 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42656 (clog10_test): Likewise.
42659 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42661 2012-11-22 Andreas Schwab <schwab@suse.de>
42663 * sysdeps/i386/fpu/libm-test-ulps: Update.
42665 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
42667 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42668 printf output with newline.
42670 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
42673 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42674 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42675 -z nodlopen, -z initfirst and -z execstack support.
42676 * configure: Regenerated.
42678 * elf/elf.h (DF_1_NODIRECT): New macro.
42679 (DF_1_IGNMULDEF): Likewise.
42680 (DF_1_NOKSYMS): Likewise.
42681 (DF_1_NOHDR): Likewise.
42682 (DF_1_EDITED): Likewise.
42683 (DF_1_NORELOC): Likewise.
42684 (DF_1_SYMINTPOSE): Likewise.
42685 (DF_1_GLOBAUDIT): Likewise.
42686 (DF_1_SINGLETON): Likewise.
42687 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42688 DT_1_SUPPORTED_MASK bits.
42689 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42691 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
42693 * sysdeps/unix/make-syscalls.sh: Document prefixes.
42695 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
42697 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42700 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42701 (sendmmsg): Move declarations...
42702 * socket/sys/socket.h: ... here.
42703 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42704 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42706 * socket/recvmmsg.c: ... this new file.
42707 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42708 (sendmmsg): Rename to __sendmmsg, create weak alias and make
42709 definition of __sendmmsg hidden.
42710 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42711 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42712 Move ENOSYS stub into and include it from...
42713 * socket/sendmmsg.c: ... this new file.
42714 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42715 (sysdep_routines): Move recvmmsg and sendmmsg...
42716 * socket/Makefile (routines): ... here.
42717 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42718 (GLIBC_PRIVATE): Add __sendmmsg.
42719 * include/sys/socket.h (__sendmmsg): Add declarations.
42720 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42723 2012-11-20 Joseph Myers <joseph@codesourcery.com>
42725 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42726 variable I1 with __attribute__ ((unused)).
42727 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42729 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42731 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42732 DUMMY variables with __attribute__ ((unused)).
42734 * bits/byteswap.h: Include <bits/types.h>.
42735 (__bswap_64): Use __uint64_t instead of unsigned long long int.
42737 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42739 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42740 string_t. Do not manually set errno.
42741 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42742 length with __strnlen. Make sure to both set errno and return it on
42745 2012-11-19 David S. Miller <davem@davemloft.net>
42747 With help from Joseph Myers.
42748 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42749 very large arguments properly.
42750 * math/libm-test.inc (atan_test): New tests.
42751 (atan2_test): New tests.
42752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42753 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42755 2012-11-19 Joseph Myers <joseph@codesourcery.com>
42758 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42761 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42762 [POSIX] (EADDRNOTAVAIL): Likewise.
42763 [POSIX] (EAFNOSUPPORT): Likewise.
42764 [POSIX] (EALREADY): Likewise.
42765 [POSIX] (ECONNABORTED): Likewise.
42766 [POSIX] (ECONNREFUSED): Likewise.
42767 [POSIX] (ECONNRESET): Likewise.
42768 [POSIX] (EDESTADDRREQ): Likewise.
42769 [POSIX] (EDQUOT): Likewise.
42770 [POSIX] (EHOSTUNREACH): Likewise.
42771 [POSIX] (EIDRM): Likewise.
42772 [POSIX] (EISCONN): Likewise.
42773 [POSIX] (ELOOP): Likewise.
42774 [POSIX] (EMULTIHOP): Likewise.
42775 [POSIX] (ENETDOWN): Likewise.
42776 [POSIX] (ENETUNREACH): Likewise.
42777 [POSIX] (ENOBUFS): Likewise.
42778 [POSIX] (ENODATA): Likewise.
42779 [POSIX] (ENOLINK): Likewise.
42780 [POSIX] (ENOMSG): Likewise.
42781 [POSIX] (ENOPROTOOPT): Likewise.
42782 [POSIX] (ENOSR): Likewise.
42783 [POSIX] (ENOSTR): Likewise.
42784 [POSIX] (ENOTCONN): Likewise.
42785 [POSIX] (ENOTSOCK): Likewise.
42786 [POSIX] (EOPNOTSUPP): Likewise.
42787 [POSIX] (EOVERFLOW): Likewise.
42788 [POSIX] (EPROTO): Likewise.
42789 [POSIX] (EPROTONOSUPPORT): Likewise.
42790 [POSIX] (EPROTOTYPE): Likewise.
42791 [POSIX] (ESTALE): Likewise.
42792 [POSIX] (ETIME): Likewise.
42793 [POSIX] (ETXTBSY): Likewise.
42794 [POSIX] (EWOULDBLOCK): Likewise.
42795 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42796 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42797 [POSIX] (SEEK_CUR): Likewise.
42798 [POSIX] (SEEK_END): Likewise.
42799 [POSIX || UNIX98] (mode_t): Do not require.
42800 [POSIX] (off_t): Likewise.
42801 [POSIX] (pid_t): Likewise.
42802 [POSIX] (sys/stat.h): Do not allow header.
42803 [POSIX] (unistd.h): Likewise.
42804 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42805 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42806 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42807 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42809 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42810 sigevent): Specify elements.
42811 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42813 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42814 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42816 * conform/data/cpio.h-data [POSIX]: Disable whole file.
42817 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42818 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42819 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42820 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42821 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42822 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42823 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42824 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42825 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42826 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42827 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42828 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42829 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42831 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42833 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42835 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42837 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42838 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42839 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42840 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42841 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42842 Specify lower bound on value.
42843 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42844 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42845 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42846 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42847 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42848 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42849 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42850 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42852 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42854 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42855 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42856 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42857 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42858 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42859 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42860 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42861 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42862 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42863 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42864 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42865 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42866 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42867 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42868 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42869 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42871 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42873 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42874 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42875 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42876 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42877 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42878 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42880 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42881 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42882 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42883 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42884 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
42885 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42886 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42888 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42889 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42890 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42891 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42892 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42893 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42894 specify as optional.
42895 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42896 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42897 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42898 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42899 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42900 [XPG3] (NL_LANGMAX): Likewise.
42901 [POSIX || XPG3] (NL_MSGMAX): Likewise.
42902 [POSIX || XPG3] (NL_NMAX): Likewise.
42903 [POSIX || XPG3] (NL_SETMAX): Likewise.
42904 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42905 [XPG3] (NZERO): Likewise.
42906 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42907 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42908 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42909 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42910 (REG_ERANGE): Expect.
42911 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42913 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42914 Use (void) in prototype.
42915 [POSIX] (*_t): Allow.
42916 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42917 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42918 (WRDE_BADVAL): Expect.
42920 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42922 [XPG3 || XPG4] (O_RSYNC): Likewise.
42923 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42925 [XPG3 || XPG4] (pthread_sigmask): Likewise.
42926 [XPG3 || XPG4] (sigqueue): Likewise.
42927 [XPG3 || XPG4] (sigtimedwait): Likewise.
42928 [XPG3 || XPG4] (sigwaitinfo): Likewise.
42929 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42930 [XPG3 || XPG4] (vsnprintf): Likewise.
42931 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42933 [XPG3 || XPG4] (blksize_t): Likewise.
42934 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42936 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42937 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42938 [XPG3 || XPG4] (struct itimerspec): Likewise.
42939 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42940 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42941 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42942 [XPG3 || XPG4] (clockid_t): Likewise.
42943 [XPG3 || XPG4] (timer_t): Likewise.
42944 [XPG3 || XPG4] (clock_getres): Likewise.
42945 [XPG3 || XPG4] (clock_gettime): Likewise.
42946 [XPG3 || XPG4] (clock_settime): Likewise.
42947 [XPG3 || XPG4] (nanosleep): Likewise.
42948 [XPG3 || XPG4] (timer_create): Likewise.
42949 [XPG3 || XPG4] (timer_delete): Likewise.
42950 [XPG3 || XPG4] (timer_gettime): Likewise.
42951 [XPG3 || XPG4] (timer_getoverrun): Likewise.
42952 [XPG3 || XPG4] (timer_settime): Likewise.
42953 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42954 [XPG3 || XPG4] (getlogin_r): Likewise.
42955 [XPG3 || XPG4] (pread): Likewise.
42956 [XPG3 || XPG4] (pthread_atfork): Likewise.
42957 [XPG3 || XPG4] (pwrite): Likewise.
42960 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42963 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
42965 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42966 finalizing MALLSTREAM.
42968 * sysdeps/mach/hurd/syncfs.c: New file.
42970 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
42973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42974 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42975 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42976 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42977 (_nss_dns_gethostbyname4_r): Likewise.
42978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42979 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42981 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
42984 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42986 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
42988 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42989 * elf/cache.c (print_entry): Print ",AArch64" for
42992 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42993 * elf/cache.c (print_entry): Print ",hard-float" for
42996 2012-11-18 David S. Miller <davem@davemloft.net>
42998 With help from Joseph Myers.
42999 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43001 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43003 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43004 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43006 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43007 * math/libm-test.inc (y0_test): New tests.
43008 (y1_test): New tests.
43009 * sysdeps/i386/fpu/libm-test-ulps: Update.
43010 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43013 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
43015 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43017 * configure: Regenerated.
43019 2012-11-17 David S. Miller <davem@davemloft.net>
43022 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43023 nonzero exponents with absolute value below 0x1p-128 to +/-
43026 2012-11-17 Joseph Myers <joseph@codesourcery.com>
43028 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43030 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43032 * posix/getconf-speclist.c: New file.
43033 * posix/posix-envs.def: Likewise.
43034 * posix/confstr.c (START_ENV_GROUP): New macro.
43035 (END_ENV_GROUP): Likewise.
43036 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43037 (KNOWN_PRESENT_ENV_STRING): Likewise.
43038 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43039 (UNKNOWN_ENVIRONMENT): Likewise.
43040 (confstr): Include posix-envs.def instead of handling
43041 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43042 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43043 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43044 (END_ENV_GROUP): Likewise.
43045 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43046 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43047 (UNKNOWN_ENVIRONMENT): Likewise.
43048 (__sysconf): Include posix-envs.def instead of handling associated
43049 cases directly here.
43050 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43051 preprocessing getconf-speclist.c rather than running getconf or
43052 generating empty file.
43054 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
43056 * scripts/check-local-headers.sh: Ignore 'mach' headers.
43058 2012-11-16 Andrej Lajovic <natrij@gmail.com>
43061 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43063 2012-11-16 David S. Miller <davem@davemloft.net>
43065 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43066 smaller than LDBL_EPSILON/2.0L, just return xm1.
43068 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
43070 * elf/tst-array1.c (init): Set constructor priority to 1000.
43071 (fini): Set destructor priority to 1000.
43072 * elf/tst-array2dep.c: Likewise.
43074 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43077 * libio/fileops.c (_IO_new_file_write): Correctly return error.
43078 (_IO_new_file_xsputn): Also return EOF if none of the input
43079 data was written when overflow failed.
43080 * libio/iopadn.c (_IO_padn): Likewise.
43081 * libio/iowpadn.c (_IO_wpadn): Likewise.
43082 * stdio-common/tst-put-error.c: Add copyright notice.
43083 (do_test): Add case for printing padded string.
43084 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43085 _IO_padn returned error.
43086 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43087 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43090 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
43092 * libio/libioP.h: Add comment note that the references to C++
43093 bits are now obsolete.
43095 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43097 * math/libm-test.inc (check_complex): Use asprintf.
43099 2012-11-14 Joseph Myers <joseph@codesourcery.com>
43101 * debug/pcprofiledump.c (print_version): Update copyright year.
43102 * malloc/memusagestat.c (print_version): Likewise.
43104 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
43107 * elf/Makefile (tests): Add tst-audit8.
43108 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43109 ($(objpfx)tst-audit8.out): New target.
43110 (tst-audit8-ENV): New variable.
43111 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43112 audit if l_reloc_result is NULL.
43113 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43114 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43115 * elf/tst-audit8.c: New file.
43117 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43119 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43120 * misc/Makefile (CFLAGS-select.c): Define.
43121 * posix/Makefile (CFLAGS-pause.c): Define.
43123 2012-11-13 David S. Miller <davem@davemloft.net>
43125 * crypt/Makefile: Move test targets after toplevel Rules
43126 inclusion. Grab any necessary sysdep routines when linking.
43127 * crypt/md5.c (md5_process_block): Remove define, we will always
43128 name it __md5_process_block.
43129 (md5_finish_ctx): Update md5_process_block call.
43130 (md5_stream): Likewise.
43131 (md5_process_bytes): Likewise.
43132 (md5_process_block): Rename to __md5_process_block and move to ...
43133 * crypt/md5-block.c: ... here.
43134 * crypt/sha256.c (sha256_process_block): Move to ...
43135 * crypt/sha256-block.c: ... here.
43136 * crypt/sha512.c (sha512_process_block): Move to ...
43137 * crypt/sha512-block.c: ... here.
43138 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43140 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43141 * sysdeps/sparc/sparc64/multiarch/Makefile
43142 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43144 (localedef-aux): Add md5 crypto assembler when in locale subdir.
43145 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43147 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43148 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43149 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43150 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43151 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43152 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43153 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43154 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43155 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43157 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43158 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43160 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43162 2012-11-13 Joseph Myers <joseph@codesourcery.com>
43164 * timezone/tzselect.ksh: Update from tzcode git revision
43165 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43166 * timezone/zdump.c: Likewise.
43167 * timezone/zic.c: Likewise.
43168 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43169 in TZVERSION setting, not $(PKGVERSION).
43170 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
43171 REPORT_BUGS_TO settings.
43174 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43177 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43179 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43180 detection to immediately after _FP_ROUND().
43181 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43184 2012-11-11 David S. Miller <davem@davemloft.net>
43186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43188 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43189 __close rather than their public counterparts.
43191 2012-11-10 Joseph Myers <joseph@codesourcery.com>
43193 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43195 [UNIX98] (sem_timedwait): Do not expect.
43196 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43197 [XPG4 || UNIX98] (sockatmark): Do not expect.
43198 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43199 (clock_getcpuclockid): Do not expect.
43200 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43201 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43203 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43204 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43205 [UNIX98] (vwscanf): Likewise.
43206 [UNIX98] (vswscanf): Likewise.
43208 2012-11-09 Joseph Myers <joseph@codesourcery.com>
43210 * timezone/version.h: Remove file.
43211 * timezone/README: Do not refer to version.h.
43212 * timezone/Makefile ($(objpfx)zic.o): New dependency on
43213 $(objpfx)version.h.
43214 ($(objpfx)zdump.o): Likewise.
43215 ($(objpfx)version.h): New target.
43217 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43219 * timezone/README: Don't mention modification to tzselect.ksh.
43220 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43221 work on unmodified tzselect.ksh. Substitute version numbers in
43224 * Makefile (format-me): Remove.
43225 (INSTALL): Adjust indentation. Use commands directly instead of
43226 using $(format-me).
43228 * aclocal.m4 (ACX_PKGVERSION): New macro.
43229 (ACX_BUGURL): Likewise.
43230 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43231 (PKGVERSION): New AC_DEFINE_UNQUOTED.
43232 (REPORT_BUGS_TO): Likewise.
43233 * configure: Regenerated.
43234 * config.h.in (PKGVERSION): New macro.
43235 (REPORT_BUGS_TO): Likewise.
43236 * config.make.in (PKGVERSION): New variable.
43237 (PKGVERSION_TEXI): Likewise.
43238 (REPORT_BUGS_TO): Likewise.
43239 (REPORT_BUGS_TEXI): Likewise.
43240 * Makefile (format-me): Use -I$(common-objpfx)manual.
43241 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43242 ($(common-objpfx)manual/%): New target.
43243 (manual/%): Remove target.
43244 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43245 (print_version): Use PKGVERSION.
43246 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43247 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43248 and REPORT_BUGS_TO.
43249 ($(objpfx)xtrace): Likewise.
43250 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43251 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43252 (print_version): Use PKGVERSION.
43253 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43254 (do_version): Use PKGVERSION.
43255 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43257 (common-ldd-rewrite): Likewise.
43258 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43259 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43260 (print_version): Use PKGVERSION.
43261 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43262 * elf/pldd.c (argp_program_bug_address): Remove variable.
43263 (more_help): New function.
43264 (argp): Use more_help.
43265 (print_version): Use PKGVERSION.
43266 * elf/sln.c (main): Use PKGVERSION.
43267 (usage): Use REPORT_BUGS_TO.
43268 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43269 (top level): Use PKGVERSION.
43270 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43271 (print_version): Use PKGVERSION.
43272 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43273 (print_version): Use PKGVERSION.
43274 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43275 (print_version): Use PKGVERSION.
43276 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43277 (print_version): Use PKGVERSION.
43278 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43279 (print_version): Use PKGVERSION.
43280 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43281 (print_version): Use PKGVERSION.
43282 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43284 ($(objpfx)memusage): Likewise.
43285 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43286 (do_version): Use PKGVERSION.
43287 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43288 (print_version): Use PKGVERSION.
43289 * malloc/mtrace.pl ($PACKAGE): Remove variable.
43290 ($PKGVERSION): New variable.
43291 ($REPORT_BUGS_TO): Likewise.
43292 (usage): Use $REPORT_BUGS_TO.
43293 (top level): Use $PKGVERSION.
43294 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43295 ($(objpfx)pkgvers.texi): New rule.
43296 ($(objpfx)stamp-pkgvers): Likewise.
43297 * manual/install.texi: Include pkgvers.texi.
43298 (--with-pkgversion): Document new configure option.
43299 (--with-bugurl): Likewise.
43300 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43301 than necessarily for this particular distribution. Use
43302 REPORT_BUGS_TO for where to report bugs.
43303 * INSTALL: Regenerated.
43304 * manual/libc.texinfo: Include pkgvers.texi.
43305 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43306 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43307 (print_version): Use PKGVERSION.
43308 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43309 (print_version): Use PKGVERSION.
43310 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43311 (print_version): Use PKGVERSION.
43312 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43313 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43315 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43316 (print_version): Use PKGVERSION.
43317 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43318 (print_version): Use PKGVERSION.
43319 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43322 * timezone/checktab.awk: Update from tzcode 2012i.
43323 * timezone/ialloc.c: Likewise.
43324 * timezone/private.h: Likewise.
43325 * timezone/scheck.c: Likewise.
43326 * timezone/tzfile.h: Likewise.
43327 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43328 (TZVERSION): Hardcode tzcode version number.
43329 * timezone/zdump.c: Update from tzcode 2012i.
43330 * timezone/zic.c: Likewise.
43331 * timezone/version.h: New file.
43332 * timezone/README: Describe version.h. Update upstream location.
43335 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43336 (mktemp): Enable declaration.
43337 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43338 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43339 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43340 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43342 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43344 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43346 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43348 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43354 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43355 offset in buffer as u_int32_t not u_long. Consistently use memcpy
43356 for copies of such integer values.
43357 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43358 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43360 2012-11-09 Andreas Jaeger <aj@suse.de>
43362 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43363 definitions and declarations that are provided by
43364 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43366 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43368 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43369 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43370 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43373 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43375 * elf/elf.h: Update comment before AArch64 relocations.
43377 2012-11-07 David S. Miller <davem@davemloft.net>
43379 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43380 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43381 (__start_context): Declare.
43382 (__makecontext_ret): Delete.
43383 (__makecontext): Hook up __start_context instead of
43385 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43386 (sysdep_routines): Add __start_context when in stdlib.
43388 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43390 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43391 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43392 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
43394 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
43395 (READELF): New variable. Use it instead of hardcoded "readelf".
43397 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
43399 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43400 * sysdeps/x86/Makefile: Here.
43401 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43402 * sysdeps/x86/tst-xmmymm.sh: This.
43404 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43406 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43408 [UNIX98] (pthread_barrier_t): Do not expect.
43409 [UNIX98] (pthread_barrierattr_t): Likewise.
43410 [UNIX98] (pthread_spinlock_t): Likewise.
43411 [UNIX98] (pthread_barrier_destroy): Likewise.
43412 [UNIX98] (pthread_barrier_init): Likewise.
43413 [UNIX98] (pthread_barrier_wait): Likewise.
43414 [UNIX98] (pthread_barrierattr_destroy): Likewise.
43415 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43416 [UNIX98] (pthread_barrierattr_init): Likewise.
43417 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43418 [UNIX98] (pthread_getcpuclockid): Likewise.
43419 [UNIX98] (pthread_mutex_timedlock): Likewise.
43420 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43421 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43422 [UNIX98] (pthread_sigmask): Likewise.
43423 [UNIX98] (pthread_spin_destroy): Likewise.
43424 [UNIX98] (pthread_spin_init): Likewise.
43425 [UNIX98] (pthread_spin_lock): Likewise.
43426 [UNIX98] (pthread_spin_trylock): Likewise.
43427 [UNIX98] (pthread_spin_unlock): Likewise.
43428 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43430 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43431 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43432 [XPG3 || XPG4] (pthread_cond_t): Likewise.
43433 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43434 [XPG3 || XPG4] (pthread_key_t): Likewise.
43435 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43436 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43437 [XPG3 || XPG4] (pthread_once_t): Likewise.
43438 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43439 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43440 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43441 [XPG3 || XPG4] (pthread_t): Likewise.
43443 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43445 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43447 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43448 Change function return type to int.
43450 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43451 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43452 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43453 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43454 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43455 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43456 [!POSIX] (posix_madvise): Likewise.
43457 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43459 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43460 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43461 (mode_t): Likewise.
43462 (posix_mem_offset): Likewise.
43463 (posix_typed_mem_get_info): Likewise.
43464 (posix_typed_mem_open): Likewise.
43466 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43467 Change condition to [XOPEN2K8].
43469 * conform/conformtest.pl: Preprocess allow-header data with -x c
43470 instead of from stdin.
43471 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43472 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43473 [C99-based standards] (cerfc): Likewise.
43474 [C99-based standards] (cexp2): Likewise.
43475 [C99-based standards] (cexpm1): Likewise.
43476 [C99-based standards] (clog10): Likewise.
43477 [C99-based standards] (clog1p): Likewise.
43478 [C99-based standards] (clog2): Likewise.
43479 [C99-based standards] (clgamma): Likewise.
43480 [C99-based standards] (ctgamma): Likewise.
43481 [C99-based standards] (cerff): Likewise.
43482 [C99-based standards] (cerfcf): Likewise.
43483 [C99-based standards] (cexp2f): Likewise.
43484 [C99-based standards] (cexpm1f): Likewise.
43485 [C99-based standards] (clog10f): Likewise.
43486 [C99-based standards] (clog1pf): Likewise.
43487 [C99-based standards] (clog2f): Likewise.
43488 [C99-based standards] (clgammaf): Likewise.
43489 [C99-based standards] (ctgammaf): Likewise.
43490 [C99-based standards] (cerfl): Likewise.
43491 [C99-based standards] (cerfcl): Likewise.
43492 [C99-based standards] (cexp2l): Likewise.
43493 [C99-based standards] (cexpm1l): Likewise.
43494 [C99-based standards] (clog10l): Likewise.
43495 [C99-based standards] (clog1pl): Likewise.
43496 [C99-based standards] (clog2l): Likewise.
43497 [C99-based standards] (clgammal): Likewise.
43498 [C99-based standards] (ctgammal): Likewise.
43499 * conform/data/inttypes.h-data [C99-based standards]: Include
43500 stdint.h-data. Remove all expectations for stdint.h contents.
43501 [C99-based standards] (PRI*): Do not allow.
43502 [C99-based standards] (SCN*): Likewise.
43503 [C99-based standards] (*_t): Likewise.
43504 [C99-based-standards] (PRId8): Expect macro.
43505 [C99-based-standards] (PRIi8): Likewise.
43506 [C99-based-standards] (PRIo8): Likewise.
43507 [C99-based-standards] (PRIu8): Likewise.
43508 [C99-based-standards] (PRIx8): Likewise.
43509 [C99-based-standards] (PRIX8): Likewise.
43510 [C99-based-standards] (SCNd8): Likewise.
43511 [C99-based-standards] (SCNi8): Likewise.
43512 [C99-based-standards] (SCNo8): Likewise.
43513 [C99-based-standards] (SCNu8): Likewise.
43514 [C99-based-standards] (SCNx8): Likewise.
43515 [C99-based-standards] (PRIdLEAST8): Likewise.
43516 [C99-based-standards] (PRIiLEAST8): Likewise.
43517 [C99-based-standards] (PRIoLEAST8): Likewise.
43518 [C99-based-standards] (PRIuLEAST8): Likewise.
43519 [C99-based-standards] (PRIxLEAST8): Likewise.
43520 [C99-based-standards] (PRIXLEAST8): Likewise.
43521 [C99-based-standards] (SCNdLEAST8): Likewise.
43522 [C99-based-standards] (SCNiLEAST8): Likewise.
43523 [C99-based-standards] (SCNoLEAST8): Likewise.
43524 [C99-based-standards] (SCNuLEAST8): Likewise.
43525 [C99-based-standards] (SCNxLEAST8): Likewise.
43526 [C99-based-standards] (PRIdFAST8): Likewise.
43527 [C99-based-standards] (PRIiFAST8): Likewise.
43528 [C99-based-standards] (PRIoFAST8): Likewise.
43529 [C99-based-standards] (PRIuFAST8): Likewise.
43530 [C99-based-standards] (PRIxFAST8): Likewise.
43531 [C99-based-standards] (PRIXFAST8): Likewise.
43532 [C99-based-standards] (SCNdFAST8): Likewise.
43533 [C99-based-standards] (SCNiFAST8): Likewise.
43534 [C99-based-standards] (SCNoFAST8): Likewise.
43535 [C99-based-standards] (SCNuFAST8): Likewise.
43536 [C99-based-standards] (SCNxFAST8): Likewise.
43537 [C99-based-standards] (PRId16): Likewise.
43538 [C99-based-standards] (PRIi16): Likewise.
43539 [C99-based-standards] (PRIo16): Likewise.
43540 [C99-based-standards] (PRIu16): Likewise.
43541 [C99-based-standards] (PRIx16): Likewise.
43542 [C99-based-standards] (PRIX16): Likewise.
43543 [C99-based-standards] (SCNd16): Likewise.
43544 [C99-based-standards] (SCNi16): Likewise.
43545 [C99-based-standards] (SCNo16): Likewise.
43546 [C99-based-standards] (SCNu16): Likewise.
43547 [C99-based-standards] (SCNx16): Likewise.
43548 [C99-based-standards] (PRIdLEAST16): Likewise.
43549 [C99-based-standards] (PRIiLEAST16): Likewise.
43550 [C99-based-standards] (PRIoLEAST16): Likewise.
43551 [C99-based-standards] (PRIuLEAST16): Likewise.
43552 [C99-based-standards] (PRIxLEAST16): Likewise.
43553 [C99-based-standards] (PRIXLEAST16): Likewise.
43554 [C99-based-standards] (SCNdLEAST16): Likewise.
43555 [C99-based-standards] (SCNiLEAST16): Likewise.
43556 [C99-based-standards] (SCNoLEAST16): Likewise.
43557 [C99-based-standards] (SCNuLEAST16): Likewise.
43558 [C99-based-standards] (SCNxLEAST16): Likewise.
43559 [C99-based-standards] (PRIdFAST16): Likewise.
43560 [C99-based-standards] (PRIiFAST16): Likewise.
43561 [C99-based-standards] (PRIoFAST16): Likewise.
43562 [C99-based-standards] (PRIuFAST16): Likewise.
43563 [C99-based-standards] (PRIxFAST16): Likewise.
43564 [C99-based-standards] (PRIXFAST16): Likewise.
43565 [C99-based-standards] (SCNdFAST16): Likewise.
43566 [C99-based-standards] (SCNiFAST16): Likewise.
43567 [C99-based-standards] (SCNoFAST16): Likewise.
43568 [C99-based-standards] (SCNuFAST16): Likewise.
43569 [C99-based-standards] (SCNxFAST16): Likewise.
43570 [C99-based-standards] (PRId32): Likewise.
43571 [C99-based-standards] (PRIi32): Likewise.
43572 [C99-based-standards] (PRIo32): Likewise.
43573 [C99-based-standards] (PRIu32): Likewise.
43574 [C99-based-standards] (PRIx32): Likewise.
43575 [C99-based-standards] (PRIX32): Likewise.
43576 [C99-based-standards] (SCNd32): Likewise.
43577 [C99-based-standards] (SCNi32): Likewise.
43578 [C99-based-standards] (SCNo32): Likewise.
43579 [C99-based-standards] (SCNu32): Likewise.
43580 [C99-based-standards] (SCNx32): Likewise.
43581 [C99-based-standards] (PRIdLEAST32): Likewise.
43582 [C99-based-standards] (PRIiLEAST32): Likewise.
43583 [C99-based-standards] (PRIoLEAST32): Likewise.
43584 [C99-based-standards] (PRIuLEAST32): Likewise.
43585 [C99-based-standards] (PRIxLEAST32): Likewise.
43586 [C99-based-standards] (PRIXLEAST32): Likewise.
43587 [C99-based-standards] (SCNdLEAST32): Likewise.
43588 [C99-based-standards] (SCNiLEAST32): Likewise.
43589 [C99-based-standards] (SCNoLEAST32): Likewise.
43590 [C99-based-standards] (SCNuLEAST32): Likewise.
43591 [C99-based-standards] (SCNxLEAST32): Likewise.
43592 [C99-based-standards] (PRIdFAST32): Likewise.
43593 [C99-based-standards] (PRIiFAST32): Likewise.
43594 [C99-based-standards] (PRIoFAST32): Likewise.
43595 [C99-based-standards] (PRIuFAST32): Likewise.
43596 [C99-based-standards] (PRIxFAST32): Likewise.
43597 [C99-based-standards] (PRIXFAST32): Likewise.
43598 [C99-based-standards] (SCNdFAST32): Likewise.
43599 [C99-based-standards] (SCNiFAST32): Likewise.
43600 [C99-based-standards] (SCNoFAST32): Likewise.
43601 [C99-based-standards] (SCNuFAST32): Likewise.
43602 [C99-based-standards] (SCNxFAST32): Likewise.
43603 [C99-based-standards] (PRId64): Likewise.
43604 [C99-based-standards] (PRIi64): Likewise.
43605 [C99-based-standards] (PRIo64): Likewise.
43606 [C99-based-standards] (PRIu64): Likewise.
43607 [C99-based-standards] (PRIx64): Likewise.
43608 [C99-based-standards] (PRIX64): Likewise.
43609 [C99-based-standards] (SCNd64): Likewise.
43610 [C99-based-standards] (SCNi64): Likewise.
43611 [C99-based-standards] (SCNo64): Likewise.
43612 [C99-based-standards] (SCNu64): Likewise.
43613 [C99-based-standards] (SCNx64): Likewise.
43614 [C99-based-standards] (PRIdLEAST64): Likewise.
43615 [C99-based-standards] (PRIiLEAST64): Likewise.
43616 [C99-based-standards] (PRIoLEAST64): Likewise.
43617 [C99-based-standards] (PRIuLEAST64): Likewise.
43618 [C99-based-standards] (PRIxLEAST64): Likewise.
43619 [C99-based-standards] (PRIXLEAST64): Likewise.
43620 [C99-based-standards] (SCNdLEAST64): Likewise.
43621 [C99-based-standards] (SCNiLEAST64): Likewise.
43622 [C99-based-standards] (SCNoLEAST64): Likewise.
43623 [C99-based-standards] (SCNuLEAST64): Likewise.
43624 [C99-based-standards] (SCNxLEAST64): Likewise.
43625 [C99-based-standards] (PRIdFAST64): Likewise.
43626 [C99-based-standards] (PRIiFAST64): Likewise.
43627 [C99-based-standards] (PRIoFAST64): Likewise.
43628 [C99-based-standards] (PRIuFAST64): Likewise.
43629 [C99-based-standards] (PRIxFAST64): Likewise.
43630 [C99-based-standards] (PRIXFAST64): Likewise.
43631 [C99-based-standards] (SCNdFAST64): Likewise.
43632 [C99-based-standards] (SCNiFAST64): Likewise.
43633 [C99-based-standards] (SCNoFAST64): Likewise.
43634 [C99-based-standards] (SCNuFAST64): Likewise.
43635 [C99-based-standards] (SCNxFAST64): Likewise.
43636 [C99-based-standards] (PRIdMAX): Likewise.
43637 [C99-based-standards] (PRIiMAX): Likewise.
43638 [C99-based-standards] (PRIoMAX): Likewise.
43639 [C99-based-standards] (PRIuMAX): Likewise.
43640 [C99-based-standards] (PRIxMAX): Likewise.
43641 [C99-based-standards] (PRIXMAX): Likewise.
43642 [C99-based-standards] (SCNdMAX): Likewise.
43643 [C99-based-standards] (SCNiMAX): Likewise.
43644 [C99-based-standards] (SCNoMAX): Likewise.
43645 [C99-based-standards] (SCNuMAX): Likewise.
43646 [C99-based-standards] (SCNxMAX): Likewise.
43647 [C99-based-standards] (PRIdPTR): Likewise.
43648 [C99-based-standards] (PRIiPTR): Likewise.
43649 [C99-based-standards] (PRIoPTR): Likewise.
43650 [C99-based-standards] (PRIuPTR): Likewise.
43651 [C99-based-standards] (PRIxPTR): Likewise.
43652 [C99-based-standards] (PRIXPTR): Likewise.
43653 [C99-based-standards] (SCNdPTR): Likewise.
43654 [C99-based-standards] (SCNiPTR): Likewise.
43655 [C99-based-standards] (SCNoPTR): Likewise.
43656 [C99-based-standards] (SCNuPTR): Likewise.
43657 [C99-based-standards] (SCNxPTR): Likewise.
43658 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43660 * conform/data/stdint.h-data: Update comments to clarify
43662 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
43664 [C99-based standards] (INT8_MAX): Likewise.
43665 [C99-based standards] (INT16_MIN): Likewise.
43666 [C99-based standards] (INT16_MAX): Likewise.
43667 [C99-based standards] (INT32_MIN): Likewise.
43668 [C99-based standards] (INT32_MAX): Likewise.
43669 [C99-based standards] (INT64_MIN): Likewise.
43670 [C99-based standards] (INT64_MAX): Likewise.
43671 [C99-based standards] (UINT8_MAX): Likewise.
43672 [C99-based standards] (UINT16_MAX): Likewise.
43673 [C99-based standards] (UINT32_MAX): Likewise.
43674 [C99-based standards] (UINT64_MAX): Likewise.
43675 [C99-based standards] (INT_LEAST8_MIN): Likewise.
43676 [C99-based standards] (INT_LEAST8_MAX): Likewise.
43677 [C99-based standards] (INT_LEAST16_MIN): Likewise.
43678 [C99-based standards] (INT_LEAST16_MAX): Likewise.
43679 [C99-based standards] (INT_LEAST32_MIN): Likewise.
43680 [C99-based standards] (INT_LEAST32_MAX): Likewise.
43681 [C99-based standards] (INT_LEAST64_MIN): Likewise.
43682 [C99-based standards] (INT_LEAST64_MAX): Likewise.
43683 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43684 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43685 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43686 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43687 [C99-based standards] (INT_FAST8_MIN): Likewise.
43688 [C99-based standards] (INT_FAST8_MAX): Likewise.
43689 [C99-based standards] (INT_FAST16_MIN): Likewise.
43690 [C99-based standards] (INT_FAST16_MAX): Likewise.
43691 [C99-based standards] (INT_FAST32_MIN): Likewise.
43692 [C99-based standards] (INT_FAST32_MAX): Likewise.
43693 [C99-based standards] (INT_FAST64_MIN): Likewise.
43694 [C99-based standards] (INT_FAST64_MAX): Likewise.
43695 [C99-based standards] (UINT_FAST8_MAX): Likewise.
43696 [C99-based standards] (UINT_FAST16_MAX): Likewise.
43697 [C99-based standards] (UINT_FAST32_MAX): Likewise.
43698 [C99-based standards] (UINT_FAST64_MAX): Likewise.
43699 [C99-based standards] (INTPTR_MIN): Likewise.
43700 [C99-based standards] (INTPTR_MAX): Likewise.
43701 [C99-based standards] (UINTPTR_MAX): Likewise.
43702 [C99-based standards] (INTMAX_MIN): Likewise.
43703 [C99-based standards] (INTMAX_MAX): Likewise.
43704 [C99-based standards] (UINTMAX_MAX): Likewise.
43705 [C99-based standards] (PTRDIFF_MIN): Likewise.
43706 [C99-based standards] (PTRDIFF_MAX): Likewise.
43707 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43708 [C99-based standards] (SIZE_MAX): Likewise.
43709 [C99-based standards] (WCHAR_MAX): Likewise.
43710 [C99-based standards] (WINT_MAX): Likewise.
43711 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
43712 constraint on value.
43713 [C99-based standards] (WCHAR_MIN): Likewise.
43714 [C99-based standards] (WINT_MIN): Likewise.
43715 [C99-based standards] (*_t): Allow.
43716 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43717 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43718 Include math.h-data and complex.h-data. Remove all expectations
43719 of math.h and complex.h contents.
43720 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43722 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43723 (struct tm): Expect tag.
43724 [C99-based-standards] (wcstof): Expect function.
43725 [C99-based-standards] (wcstold): Likewise.
43726 [C99-based-standards] (wcstoll): Likewise.
43727 [C99-based-standards] (wcstoull): Likewise.
43728 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43729 macro-int-constant. Specify type.
43730 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
43731 constraint on value.
43732 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43734 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43736 [ISO C standards]: Do not allow headers.
43737 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43738 wcs[abcdefghijklmnopqrstuvwxyz]*.
43739 [ISO C standards] (*_t): Do not allow.
43740 * conform/data/wctype.h-data [C99-based standards] (iswblank):
43742 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43743 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43745 [ISO C standards]: Do not allow headers.
43746 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43747 is[abcdefghijklmnopqrstuvwxyz]*.
43748 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43749 to[abcdefghijklmnopqrstuvwxyz]*.
43750 [ISO C standards] (*_t): Do not allow.
43751 * conform/data/stdalign.h-data: New file.
43752 * conform/data/stdbool.h-data: Likewise.
43753 * conform/data/stdnoreturn.h-data: Likewise.
43755 2012-11-07 Roland McGrath <roland@hack.frob.com>
43758 * manual/filesys.texi (Directory Entries): Typo fix.
43759 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43761 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43763 * elf/elf.h (EM_AARCH64): New macro.
43764 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43765 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43766 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43767 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43768 (R_AARCH64_TLSDESC): Likewise.
43769 (NT_ARM_TLS): Likewise.
43770 (NT_ARM_HW_BREAK): Likewise.
43771 (NT_ARM_HW_WATCH): Likewise.
43773 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43776 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43777 (__ieee754_powl): Saturate nonzero exponents with absolute value
43778 below 0x1p-79 to +/- 0x1p-79.
43779 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43780 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43781 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43782 nonzero exponents with absolute value below 0x1p-32 to +/-
43784 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43785 (__ieee754_powl): Saturate nonzero exponents with absolute value
43786 below 0x1p-79 to +/- 0x1p-79.
43787 * math/libm-test.inc (pow_test): Add more tests.
43789 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43791 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43792 _dl_s390_cap_flags with kernel. Increase string length.
43793 (_dl_s390_platforms): Add z196 and zEC12.
43795 2012-11-07 Joseph Myers <joseph@codesourcery.com>
43797 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43798 Change XOPEN21K to XOPEN2K.
43800 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
43802 * string/memmove.c: Use memcpy when possible.
43804 2012-11-06 Andreas Jaeger <aj@suse.de>
43806 * po/eo.po: Update from translation team.
43808 2012-11-06 Joseph Myers <joseph@codesourcery.com>
43811 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43812 exponent and small x and y exponents, scale x or y up. Increase
43813 by 2 the exponent used in scaling up.
43814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43815 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43816 * math/libm-test.inc (fma_test): Add more tests.
43817 (fma_test_towardzero): Likewise.
43818 (fma_test_downward): Likewise.
43819 (fma_test_upward): Likewise.
43821 2012-11-05 Joseph Myers <joseph@codesourcery.com>
43824 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43828 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43829 namespace for names of struct fields.
43830 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43832 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43833 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43835 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
43838 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43840 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43842 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43846 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43849 2012-11-04 Joseph Myers <joseph@codesourcery.com>
43852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43853 definitely overflow as x * y not x * y + z.
43854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43855 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43856 * math/libm-test.inc (fma_test): Add more tests.
43857 (fma_test_towardzero): Likewise.
43858 (fma_test_downward): Likewise.
43859 (fma_test_upward): Likewise.
43861 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
43865 * include/stub-tag.h: Remove file.
43866 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43868 * manual/maint.texi (Porting): Don't reference it.
43869 * Makerules ($(objpfx)stubs): Likewise.
43870 * dirent/closedir.c: Don't include <stub-tag.h>.
43871 * dirent/dirfd.c: Likewise.
43872 * dirent/fdopendir.c: Likewise.
43873 * dirent/getdents.c: Likewise.
43874 * dirent/getdents64.c: Likewise.
43875 * dirent/opendir.c: Likewise.
43876 * dirent/readdir.c: Likewise.
43877 * dirent/readdir64.c: Likewise.
43878 * dirent/readdir64_r.c: Likewise.
43879 * dirent/readdir_r.c: Likewise.
43880 * dirent/rewinddir.c: Likewise.
43881 * dirent/seekdir.c: Likewise.
43882 * dirent/telldir.c: Likewise.
43883 * gmon/profil.c: Likewise.
43884 * grp/setgroups.c: Likewise.
43885 * inet/if_index.c: Likewise.
43886 * io/access.c: Likewise.
43887 * io/chdir.c: Likewise.
43888 * io/chmod.c: Likewise.
43889 * io/chown.c: Likewise.
43890 * io/close.c: Likewise.
43891 * io/dup.c: Likewise.
43892 * io/dup2.c: Likewise.
43893 * io/dup3.c: Likewise.
43894 * io/euidaccess.c: Likewise.
43895 * io/faccessat.c: Likewise.
43896 * io/fchdir.c: Likewise.
43897 * io/fchmod.c: Likewise.
43898 * io/fchmodat.c: Likewise.
43899 * io/fchown.c: Likewise.
43900 * io/fchownat.c: Likewise.
43901 * io/fcntl.c: Likewise.
43902 * io/flock.c: Likewise.
43903 * io/fstatfs.c: Likewise.
43904 * io/fstatfs64.c: Likewise.
43905 * io/fstatvfs.c: Likewise.
43906 * io/fstatvfs64.c: Likewise.
43907 * io/futimens.c: Likewise.
43908 * io/fxstat.c: Likewise.
43909 * io/fxstat64.c: Likewise.
43910 * io/fxstatat.c: Likewise.
43911 * io/fxstatat64.c: Likewise.
43912 * io/getcwd.c: Likewise.
43913 * io/isatty.c: Likewise.
43914 * io/lchmod.c: Likewise.
43915 * io/lchown.c: Likewise.
43916 * io/link.c: Likewise.
43917 * io/linkat.c: Likewise.
43918 * io/lseek.c: Likewise.
43919 * io/lseek64.c: Likewise.
43920 * io/lxstat64.c: Likewise.
43921 * io/mkdir.c: Likewise.
43922 * io/mkdirat.c: Likewise.
43923 * io/mkfifo.c: Likewise.
43924 * io/mkfifoat.c: Likewise.
43925 * io/open.c: Likewise.
43926 * io/open64.c: Likewise.
43927 * io/openat.c: Likewise.
43928 * io/openat64.c: Likewise.
43929 * io/pipe.c: Likewise.
43930 * io/pipe2.c: Likewise.
43931 * io/poll.c: Likewise.
43932 * io/posix_fadvise.c: Likewise.
43933 * io/posix_fadvise64.c: Likewise.
43934 * io/posix_fallocate.c: Likewise.
43935 * io/posix_fallocate64.c: Likewise.
43936 * io/read.c: Likewise.
43937 * io/readlink.c: Likewise.
43938 * io/readlinkat.c: Likewise.
43939 * io/rmdir.c: Likewise.
43940 * io/sendfile.c: Likewise.
43941 * io/sendfile64.c: Likewise.
43942 * io/statfs.c: Likewise.
43943 * io/statfs64.c: Likewise.
43944 * io/statvfs.c: Likewise.
43945 * io/statvfs64.c: Likewise.
43946 * io/symlink.c: Likewise.
43947 * io/symlinkat.c: Likewise.
43948 * io/ttyname.c: Likewise.
43949 * io/ttyname_r.c: Likewise.
43950 * io/umask.c: Likewise.
43951 * io/unlink.c: Likewise.
43952 * io/unlinkat.c: Likewise.
43953 * io/utime.c: Likewise.
43954 * io/utimensat.c: Likewise.
43955 * io/write.c: Likewise.
43956 * io/xmknod.c: Likewise.
43957 * io/xmknodat.c: Likewise.
43958 * io/xstat.c: Likewise.
43959 * io/xstat64.c: Likewise.
43960 * login/getpt.c: Likewise.
43961 * login/grantpt.c: Likewise.
43962 * login/unlockpt.c: Likewise.
43963 * math/e_acoshl.c: Likewise.
43964 * math/e_acosl.c: Likewise.
43965 * math/e_asinl.c: Likewise.
43966 * math/e_atan2l.c: Likewise.
43967 * math/e_atanhl.c: Likewise.
43968 * math/e_coshl.c: Likewise.
43969 * math/e_expl.c: Likewise.
43970 * math/e_fmodl.c: Likewise.
43971 * math/e_gammal_r.c: Likewise.
43972 * math/e_hypotl.c: Likewise.
43973 * math/e_j0l.c: Likewise.
43974 * math/e_j1l.c: Likewise.
43975 * math/e_jnl.c: Likewise.
43976 * math/e_lgammal_r.c: Likewise.
43977 * math/e_log10l.c: Likewise.
43978 * math/e_log2l.c: Likewise.
43979 * math/e_logl.c: Likewise.
43980 * math/e_powl.c: Likewise.
43981 * math/e_rem_pio2l.c: Likewise.
43982 * math/e_sinhl.c: Likewise.
43983 * math/e_sqrtl.c: Likewise.
43984 * math/fclrexcpt.c: Likewise.
43985 * math/fedisblxcpt.c: Likewise.
43986 * math/feenablxcpt.c: Likewise.
43987 * math/fegetenv.c: Likewise.
43988 * math/fegetexcept.c: Likewise.
43989 * math/fegetround.c: Likewise.
43990 * math/feholdexcpt.c: Likewise.
43991 * math/fesetenv.c: Likewise.
43992 * math/fesetround.c: Likewise.
43993 * math/feupdateenv.c: Likewise.
43994 * math/fgetexcptflg.c: Likewise.
43995 * math/fraiseexcpt.c: Likewise.
43996 * math/fsetexcptflg.c: Likewise.
43997 * math/ftestexcept.c: Likewise.
43998 * math/k_cosl.c: Likewise.
43999 * math/k_rem_pio2l.c: Likewise.
44000 * math/k_sinl.c: Likewise.
44001 * math/k_tanl.c: Likewise.
44002 * math/s_asinhl.c: Likewise.
44003 * math/s_atanl.c: Likewise.
44004 * math/s_cbrtl.c: Likewise.
44005 * math/s_erfl.c: Likewise.
44006 * math/s_expm1l.c: Likewise.
44007 * math/s_log1pl.c: Likewise.
44008 * math/s_tanhl.c: Likewise.
44009 * misc/acct.c: Likewise.
44010 * misc/brk.c: Likewise.
44011 * misc/chflags.c: Likewise.
44012 * misc/chroot.c: Likewise.
44013 * misc/fchflags.c: Likewise.
44014 * misc/fgetxattr.c: Likewise.
44015 * misc/flistxattr.c: Likewise.
44016 * misc/fremovexattr.c: Likewise.
44017 * misc/fsetxattr.c: Likewise.
44018 * misc/fsync.c: Likewise.
44019 * misc/ftruncate.c: Likewise.
44020 * misc/futimes.c: Likewise.
44021 * misc/futimesat.c: Likewise.
44022 * misc/getdomain.c: Likewise.
44023 * misc/getdtsz.c: Likewise.
44024 * misc/gethostid.c: Likewise.
44025 * misc/gethostname.c: Likewise.
44026 * misc/getloadavg.c: Likewise.
44027 * misc/getpagesize.c: Likewise.
44028 * misc/getsysstats.c: Likewise.
44029 * misc/getxattr.c: Likewise.
44030 * misc/gtty.c: Likewise.
44031 * misc/ioctl.c: Likewise.
44032 * misc/lgetxattr.c: Likewise.
44033 * misc/listxattr.c: Likewise.
44034 * misc/llistxattr.c: Likewise.
44035 * misc/lremovexattr.c: Likewise.
44036 * misc/lsetxattr.c: Likewise.
44037 * misc/lutimes.c: Likewise.
44038 * misc/madvise.c: Likewise.
44039 * misc/mincore.c: Likewise.
44040 * misc/mlock.c: Likewise.
44041 * misc/mlockall.c: Likewise.
44042 * misc/mmap.c: Likewise.
44043 * misc/mprotect.c: Likewise.
44044 * misc/msync.c: Likewise.
44045 * misc/munlock.c: Likewise.
44046 * misc/munlockall.c: Likewise.
44047 * misc/munmap.c: Likewise.
44048 * misc/preadv.c: Likewise.
44049 * misc/preadv64.c: Likewise.
44050 * misc/ptrace.c: Likewise.
44051 * misc/pwritev.c: Likewise.
44052 * misc/pwritev64.c: Likewise.
44053 * misc/readv.c: Likewise.
44054 * misc/reboot.c: Likewise.
44055 * misc/remap_file_pages.c: Likewise.
44056 * misc/removexattr.c: Likewise.
44057 * misc/revoke.c: Likewise.
44058 * misc/select.c: Likewise.
44059 * misc/setdomain.c: Likewise.
44060 * misc/setegid.c: Likewise.
44061 * misc/seteuid.c: Likewise.
44062 * misc/sethostid.c: Likewise.
44063 * misc/sethostname.c: Likewise.
44064 * misc/setregid.c: Likewise.
44065 * misc/setreuid.c: Likewise.
44066 * misc/setxattr.c: Likewise.
44067 * misc/sstk.c: Likewise.
44068 * misc/stty.c: Likewise.
44069 * misc/swapoff.c: Likewise.
44070 * misc/swapon.c: Likewise.
44071 * misc/sync.c: Likewise.
44072 * misc/syncfs.c: Likewise.
44073 * misc/syscall.c: Likewise.
44074 * misc/truncate.c: Likewise.
44075 * misc/ualarm.c: Likewise.
44076 * misc/usleep.c: Likewise.
44077 * misc/ustat.c: Likewise.
44078 * misc/utimes.c: Likewise.
44079 * misc/vhangup.c: Likewise.
44080 * misc/writev.c: Likewise.
44081 * posix/_exit.c: Likewise.
44082 * posix/alarm.c: Likewise.
44083 * posix/execve.c: Likewise.
44084 * posix/fexecve.c: Likewise.
44085 * posix/fork.c: Likewise.
44086 * posix/fpathconf.c: Likewise.
44087 * posix/getaddrinfo.c: Likewise.
44088 * posix/getegid.c: Likewise.
44089 * posix/geteuid.c: Likewise.
44090 * posix/getgid.c: Likewise.
44091 * posix/getgroups.c: Likewise.
44092 * posix/getlogin.c: Likewise.
44093 * posix/getlogin_r.c: Likewise.
44094 * posix/getpgid.c: Likewise.
44095 * posix/getpid.c: Likewise.
44096 * posix/getppid.c: Likewise.
44097 * posix/getresgid.c: Likewise.
44098 * posix/getresuid.c: Likewise.
44099 * posix/getsid.c: Likewise.
44100 * posix/getuid.c: Likewise.
44101 * posix/glob64.c: Likewise.
44102 * posix/nanosleep.c: Likewise.
44103 * posix/pathconf.c: Likewise.
44104 * posix/pause.c: Likewise.
44105 * posix/posix_madvise.c: Likewise.
44106 * posix/pread.c: Likewise.
44107 * posix/pread64.c: Likewise.
44108 * posix/pwrite.c: Likewise.
44109 * posix/pwrite64.c: Likewise.
44110 * posix/sched_getaffinity.c: Likewise.
44111 * posix/sched_getp.c: Likewise.
44112 * posix/sched_gets.c: Likewise.
44113 * posix/sched_primax.c: Likewise.
44114 * posix/sched_primin.c: Likewise.
44115 * posix/sched_rr_gi.c: Likewise.
44116 * posix/sched_setaffinity.c: Likewise.
44117 * posix/sched_setp.c: Likewise.
44118 * posix/sched_sets.c: Likewise.
44119 * posix/sched_yield.c: Likewise.
44120 * posix/setgid.c: Likewise.
44121 * posix/setlogin.c: Likewise.
44122 * posix/setpgid.c: Likewise.
44123 * posix/setresgid.c: Likewise.
44124 * posix/setresuid.c: Likewise.
44125 * posix/setsid.c: Likewise.
44126 * posix/setuid.c: Likewise.
44127 * posix/sleep.c: Likewise.
44128 * posix/spawni.c: Likewise.
44129 * posix/sysconf.c: Likewise.
44130 * posix/times.c: Likewise.
44131 * posix/wait.c: Likewise.
44132 * posix/wait3.c: Likewise.
44133 * posix/wait4.c: Likewise.
44134 * posix/waitpid.c: Likewise.
44135 * resolv/gai_sigqueue.c: Likewise.
44136 * resource/getpriority.c: Likewise.
44137 * resource/getrlimit.c: Likewise.
44138 * resource/getrusage.c: Likewise.
44139 * resource/nice.c: Likewise.
44140 * resource/setpriority.c: Likewise.
44141 * resource/setrlimit.c: Likewise.
44142 * resource/ulimit.c: Likewise.
44143 * rt/aio_cancel.c: Likewise.
44144 * rt/aio_fsync.c: Likewise.
44145 * rt/aio_read.c: Likewise.
44146 * rt/aio_sigqueue.c: Likewise.
44147 * rt/aio_suspend.c: Likewise.
44148 * rt/aio_write.c: Likewise.
44149 * rt/clock_getres.c: Likewise.
44150 * rt/clock_gettime.c: Likewise.
44151 * rt/clock_nanosleep.c: Likewise.
44152 * rt/clock_settime.c: Likewise.
44153 * rt/lio_listio.c: Likewise.
44154 * rt/mq_close.c: Likewise.
44155 * rt/mq_getattr.c: Likewise.
44156 * rt/mq_notify.c: Likewise.
44157 * rt/mq_open.c: Likewise.
44158 * rt/mq_receive.c: Likewise.
44159 * rt/mq_send.c: Likewise.
44160 * rt/mq_setattr.c: Likewise.
44161 * rt/mq_timedreceive.c: Likewise.
44162 * rt/mq_timedsend.c: Likewise.
44163 * rt/mq_unlink.c: Likewise.
44164 * rt/shm_open.c: Likewise.
44165 * rt/shm_unlink.c: Likewise.
44166 * rt/timer_create.c: Likewise.
44167 * rt/timer_delete.c: Likewise.
44168 * rt/timer_getoverr.c: Likewise.
44169 * rt/timer_gettime.c: Likewise.
44170 * rt/timer_settime.c: Likewise.
44171 * setjmp/__longjmp.c: Likewise.
44172 * setjmp/setjmp.c: Likewise.
44173 * signal/kill.c: Likewise.
44174 * signal/killpg.c: Likewise.
44175 * signal/raise.c: Likewise.
44176 * signal/sigaction.c: Likewise.
44177 * signal/sigaltstack.c: Likewise.
44178 * signal/sigblock.c: Likewise.
44179 * signal/sigignore.c: Likewise.
44180 * signal/sigintr.c: Likewise.
44181 * signal/signal.c: Likewise.
44182 * signal/sigpause.c: Likewise.
44183 * signal/sigpending.c: Likewise.
44184 * signal/sigqueue.c: Likewise.
44185 * signal/sigreturn.c: Likewise.
44186 * signal/sigset.c: Likewise.
44187 * signal/sigsetmask.c: Likewise.
44188 * signal/sigstack.c: Likewise.
44189 * signal/sigsuspend.c: Likewise.
44190 * signal/sigtimedwait.c: Likewise.
44191 * signal/sigvec.c: Likewise.
44192 * signal/sigwait.c: Likewise.
44193 * signal/sigwaitinfo.c: Likewise.
44194 * signal/sysv_signal.c: Likewise.
44195 * socket/accept.c: Likewise.
44196 * socket/accept4.c: Likewise.
44197 * socket/bind.c: Likewise.
44198 * socket/connect.c: Likewise.
44199 * socket/getpeername.c: Likewise.
44200 * socket/getsockname.c: Likewise.
44201 * socket/getsockopt.c: Likewise.
44202 * socket/isfdtype.c: Likewise.
44203 * socket/listen.c: Likewise.
44204 * socket/recv.c: Likewise.
44205 * socket/recvfrom.c: Likewise.
44206 * socket/recvmsg.c: Likewise.
44207 * socket/send.c: Likewise.
44208 * socket/sendmsg.c: Likewise.
44209 * socket/sendto.c: Likewise.
44210 * socket/setsockopt.c: Likewise.
44211 * socket/shutdown.c: Likewise.
44212 * socket/sockatmark.c: Likewise.
44213 * socket/socket.c: Likewise.
44214 * socket/socketpair.c: Likewise.
44215 * stdio-common/ctermid.c: Likewise.
44216 * stdio-common/cuserid.c: Likewise.
44217 * stdio-common/remove.c: Likewise.
44218 * stdio-common/rename.c: Likewise.
44219 * stdio-common/renameat.c: Likewise.
44220 * stdio-common/tempname.c: Likewise.
44221 * stdlib/getcontext.c: Likewise.
44222 * stdlib/makecontext.c: Likewise.
44223 * stdlib/setcontext.c: Likewise.
44224 * stdlib/swapcontext.c: Likewise.
44225 * stdlib/system.c: Likewise.
44226 * streams/fattach.c: Likewise.
44227 * streams/fdetach.c: Likewise.
44228 * streams/getmsg.c: Likewise.
44229 * streams/getpmsg.c: Likewise.
44230 * streams/putmsg.c: Likewise.
44231 * streams/putpmsg.c: Likewise.
44232 * sysdeps/unix/bsd/getpt.c: Likewise.
44233 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44234 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44235 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44238 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44239 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44240 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44241 * sysvipc/msgctl.c: Likewise.
44242 * sysvipc/msgget.c: Likewise.
44243 * sysvipc/msgrcv.c: Likewise.
44244 * sysvipc/msgsnd.c: Likewise.
44245 * sysvipc/semctl.c: Likewise.
44246 * sysvipc/semget.c: Likewise.
44247 * sysvipc/semop.c: Likewise.
44248 * sysvipc/semtimedop.c: Likewise.
44249 * sysvipc/shmat.c: Likewise.
44250 * sysvipc/shmctl.c: Likewise.
44251 * sysvipc/shmdt.c: Likewise.
44252 * sysvipc/shmget.c: Likewise.
44253 * termios/tcdrain.c: Likewise.
44254 * termios/tcflow.c: Likewise.
44255 * termios/tcflush.c: Likewise.
44256 * termios/tcgetattr.c: Likewise.
44257 * termios/tcgetpgrp.c: Likewise.
44258 * termios/tcsendbrk.c: Likewise.
44259 * termios/tcsetattr.c: Likewise.
44260 * termios/tcsetpgrp.c: Likewise.
44261 * time/adjtime.c: Likewise.
44262 * time/clock.c: Likewise.
44263 * time/getitimer.c: Likewise.
44264 * time/gettimeofday.c: Likewise.
44265 * time/setitimer.c: Likewise.
44266 * time/settimeofday.c: Likewise.
44267 * time/stime.c: Likewise.
44268 * time/time.c: Likewise.
44270 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
44272 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44275 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44277 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44279 2012-11-03 Joseph Myers <joseph@codesourcery.com>
44282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44283 FE_TONEAREST before applying Dekker multiplication and Knuth
44284 addition. Clear inexact exceptions and check for exact zero
44285 results afterwards.
44286 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44287 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44288 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44289 * math/libm-test.inc (fma_test): Add more tests.
44290 (fma_test_towardzero): Likewise.
44291 (fma_test_downward): Likewise.
44292 (fma_test_upward): Likewise.
44293 * sysdeps/generic/math_private.h (default_libc_fesetround): New
44295 (libc_fesetround): New macro.
44296 (libc_fesetroundf): Likewise.
44297 (libc_fesetroundl): Likewise.
44298 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44300 (libc_fesetround_387): Likewise.
44301 (libc_fesetroundf): New macro.
44302 (libc_fesetround): Likewise.
44303 (libc_fesetroundl): Likewise.
44304 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44306 (libc_fesetroundf): New macro.
44307 (libc_fesetround): Likewise.
44308 (libc_fesetroundl): Likewise.
44309 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44310 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44311 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44313 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44314 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44316 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44317 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44319 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44323 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44324 integer constant usable in #if and use that to give value to enum
44326 (FE_DIVBYZERO): Likewise.
44327 (FE_UNDERFLOW): Likewise.
44328 (FE_OVERFLOW): Likewise.
44329 (FE_INVALID): Likewise.
44330 (FE_INVALID_SNAN): Likewise.
44331 (FE_INVALID_ISI): Likewise.
44332 (FE_INVALID_IDI): Likewise.
44333 (FE_INVALID_ZDZ): Likewise.
44334 (FE_INVALID_IMZ): Likewise.
44335 (FE_INVALID_COMPARE): Likewise.
44336 (FE_INVALID_SOFTWARE): Likewise.
44337 (FE_INVALID_SQRT): Likewise.
44338 (FE_INVALID_INTEGER_CONVERSION): Likewise.
44339 (FE_TONEAREST): Likewise.
44340 (FE_TOWARDZERO): Likewise.
44341 (FE_UPWARD): Likewise.
44342 (FE_DOWNWARD): Likewise.
44343 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44344 (FE_DIVBYZERO): Likewise.
44345 (FE_OVERFLOW): Likewise.
44346 (FE_UNDERFLOW): Likewise.
44347 (FE_INEXACT): Likewise.
44348 (FE_TONEAREST): Likewise.
44349 (FE_DOWNWARD): Likewise.
44350 (FE_UPWARD): Likewise.
44351 (FE_TOWARDZERO): Likewise.
44352 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44353 (FE_UNDERFLOW): Likewise.
44354 (FE_OVERFLOW): Likewise.
44355 (FE_DIVBYZERO): Likewise.
44356 (FE_INVALID): Likewise.
44357 (FE_TONEAREST): Likewise.
44358 (FE_TOWARDZERO): Likewise.
44359 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44360 (FE_OVERFLOW): Likewise.
44361 (FE_UNDERFLOW): Likewise.
44362 (FE_DIVBYZERO): Likewise.
44363 (FE_INEXACT): Likewise.
44364 (FE_TONEAREST): Likewise.
44365 (FE_TOWARDZERO): Likewise.
44366 (FE_UPWARD): Likewise.
44367 (FE_DOWNWARD): Likewise.
44368 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44369 (FE_DIVBYZERO): Likewise.
44370 (FE_OVERFLOW): Likewise.
44371 (FE_UNDERFLOW): Likewise.
44372 (FE_INEXACT): Likewise.
44373 (FE_TONEAREST): Likewise.
44374 (FE_DOWNWARD): Likewise.
44375 (FE_UPWARD): Likewise.
44376 (FE_TOWARDZERO): Likewise.
44378 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
44380 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44382 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
44384 * scripts/cross-test-ssh.sh (command): Use newlines to separate
44385 commands. Quote $PWD.
44386 (blacklist_exports): Don't use remove_newlines. Replace "declare
44388 (remove_newlines): Remove.
44390 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
44392 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44393 * stdlib/stdlib.h (atof): Moved to ...
44394 * include/bits/stdlib-float.h: Here. New file.
44395 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44396 * stdlib/bits/stdlib-float.h: New file.
44397 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44399 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44402 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44404 * conform/conformtest.pl (@headers): Add fenv.h.
44405 * conform/data/fenv.h-data: New file.
44406 * include/fenv.h [_ISOMAC]: Disable all contents of file except
44407 include of <math/fenv.h>.
44409 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44410 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44411 && !UNIX98]. Enables tests for XOPEN2K8.
44412 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44413 POSIX2008]: Likewise.
44415 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44416 (struct rusage): Do not expect type or its members.
44419 * math/math.h (FP_NAN): Define macro to integer constant usable in
44420 #if and use that to give value to enum constant.
44421 (FP_INFINITE): Likewise.
44422 (FP_ZERO): Likewise.
44423 (FP_SUBNORMAL): Likewise.
44424 (FP_NORMAL): Likewise.
44426 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
44428 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44429 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44432 2012-11-02 Roland McGrath <roland@hack.frob.com>
44434 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44435 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44436 autoconf-time if not.
44437 * configure.in: Remove AC_PREREQ.
44439 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44441 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44442 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44443 of the internal implementation.
44445 2012-11-02 Joseph Myers <joseph@codesourcery.com>
44447 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44448 except include of <misc/sys/syslog.h>.
44450 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44453 function returns with a NULL context exit with zero.
44455 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44457 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44459 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
44461 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44462 (run_program_cmd): This.
44463 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44464 (tst_langinfo): New variable. Use it.
44466 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
44468 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44469 floating point opcodes.
44471 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44473 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44476 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44478 * sysdeps/mach/hurd/powerpc: Remove directory.
44479 * sysdeps/mach/powerpc: Likewise.
44481 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
44483 * scripts/check-local-headers.sh: Ignore c++ headers.
44485 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44487 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44488 __libc_cleanup_region_start argument.
44490 2012-11-01 Joseph Myers <joseph@codesourcery.com>
44494 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44495 x * y using scaling, not as x * y + z.
44496 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44497 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44498 * math/libm-test.inc (fma_test): Add more tests.
44499 (fma_test_towardzero): Likewise.
44500 (fma_test_downward): Likewise.
44501 (fma_test_upward): Likewise.
44503 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
44505 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44507 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44509 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44512 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
44514 * rt/tst-shm.c (worker): Correct checking for mmap failure.
44516 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44523 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44526 Fix the order of the list for glibc 2.17.
44527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44530 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
44532 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44534 2012-10-31 Joseph Myers <joseph@codesourcery.com>
44537 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44538 for low part of x being zero before using __atanl (y).
44539 * math/libm-test.inc (atan2_test): Add another test.
44541 * manual/install.texi (Configuring and compiling): Document
44542 general use of test-wrapper and test-wrapper-env.
44543 * INSTALL: Regenerated.
44545 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44546 (__fma): Do not extract and scale down low bits on after-rounding
44547 systems when result rounded to normal precision would have normal
44549 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44550 (__fmal): Do not extract and scale down low bits on after-rounding
44551 systems when result rounded to normal precision would have normal
44553 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44554 (__fmal): Do not extract and scale down low bits on after-rounding
44555 systems when result rounded to normal precision would have normal
44557 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44559 (fma_test): Add more tests.
44560 (fma_test_towardzero): Likewise.
44561 (fma_test_downward): Likewise.
44562 (fma_test_upward): Likewise.
44564 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
44566 * sysdeps/i386/tininess.h: Renamed to ...
44567 * sysdeps/x86/tininess.h: This.
44568 * sysdeps/x86_64/tininess.h: Removed.
44570 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44572 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44573 input. Use $(build-program-cmd).
44574 ($(objpfx)tst-array1-static.out): Likewise.
44575 ($(objpfx)tst-array2.out): Likewise.
44576 ($(objpfx)tst-array3.out): Likewise.
44577 ($(objpfx)tst-array4.out): Likewise.
44578 ($(objpfx)tst-array5.out): Likewise.
44579 ($(objpfx)tst-array5-static.out): Likewise.
44581 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
44583 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44586 * nss/nsswitch.h (nss_interface_function): Provide new
44587 macro for use with NSS functions.
44588 * grp/initgroups.c: Use new macro.
44589 * nss/getXXbyYY.c: Likewise.
44590 * nss/getXXbyYY_r.c: Likewise.
44591 * nss/getXXent.c: Likewise.
44592 * nss/getXXent_r.c: Likewise.
44593 * sysdeps/posix/getaddrinfo.c: Likewise.
44595 2012-10-30 Andreas Jaeger <aj@suse.de>
44597 * po/ru.po: Update Russion translation from translation project.
44599 2012-10-30 Joseph Myers <joseph@codesourcery.com>
44603 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44604 result and shift together with sticky bit instead of replicating
44605 round-to-nearest rounding.
44606 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44607 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44608 * math/libm-test.inc (fma_test): Add more tests. Do not permit
44609 missing underflow exceptions.
44610 (fma_test_towardzero): Add more tests.
44611 (fma_test_downward): Likewise.
44612 (fma_test_upward): Likewise.
44615 * sysdeps/generic/tininess.h: New file.
44616 * sysdeps/i386/tininess.h: Likewise.
44617 * sysdeps/sh/tininess.h: Likewise.
44618 * sysdeps/x86_64/tininess.h: Likewise.
44619 * stdlib/tst-strtod-underflow.c: Likewise.
44620 * stdlib/tst-tininess.c: Likewise.
44621 * stdlib/strtod_l.c: Include <tininess.h>.
44622 (round_and_return): Do not set errno for exact underflow cases.
44623 Force an underflow exception when setting errno for underflow.
44624 Determine underflow based on rounding to normal precision if
44625 TININESS_AFTER_ROUNDING.
44626 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44627 ERANGE for exact underflow cases.
44628 * stdlib/Makefile (tests): Add tst-tininess and
44629 tst-strtod-underflow.
44630 ($(objpfx)tst-tininess): Use $(link-libm).
44631 ($(objpfx)tst-strtod-underflow): Likewise.
44633 2012-10-30 Andreas Jaeger <aj@suse.de>
44636 * elf/Makefile (tests): Remove conditional for have-initfini-array
44637 since this is now always required and the variable does not exist
44639 (tests-static): Likewise.
44640 (modules-names): Likewise.
44642 * po/eo.po: Add Esperanto translation from translation project.
44644 * elf/tst-array1.c (fini_array): Make writeable so that it can be
44645 merged with constructor/destructor.
44646 (init_array): Likewise.
44647 * elf/tst-array2dep.c (fini_array): Likewise.
44648 (init_array): Likewise.
44650 2012-10-29 Mike Frysinger <vapier@gentoo.org>
44652 * manual/message.texi: Delete @cartouche tags.
44654 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
44656 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44658 * sysdeps/mach/hurd/fsync.c: Likewise.
44660 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44661 [_POSIX_REALTIME_SIGNALS]: Change condition to
44662 [_POSIX_REALTIME_SIGNALS > 0].
44664 2012-10-27 Andreas Jaeger <aj@suse.de>
44666 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44667 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44668 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44669 [__WORDSIZE != 64]: Likewise.
44671 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
44673 * iconvdata/tst-table.sh: Remove ${SHELL}.
44674 * iconvdata/tst-tables.sh: Likewise.
44676 2012-10-25 David S. Miller <davem@davemloft.net>
44678 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44679 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44684 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44685 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44686 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44689 2012-10-25 Roland McGrath <roland@hack.frob.com>
44691 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44692 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44695 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44696 Jim Blandy <jimb@codesourcery.com>
44698 * scripts/cross-test-ssh.sh: New file.
44699 * manual/install.texi (Configuring and compiling): Document use of
44701 * INSTALL: Regenerated.
44703 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
44705 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44708 2012-10-25 Joseph Myers <joseph@codesourcery.com>
44710 * Makeconfig (run-program-prefix): Fix comment.
44712 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44713 Jim Blandy <jimb@codesourcery.com>
44715 * Makeconfig (test-wrapper): New variable,
44716 (test-wrapper-env): Likewise.
44717 [$(cross-compiling) = yes && $(test-wrapper) != ""]
44718 (run-built-tests): Define to yes.
44719 (run-program-prefix): Use $(test-wrapper).
44720 (built-program-cmd): Likewise.
44721 * Rules (make-test-out): Use $(test-wrapper-env) and
44722 $(host-built-program-cmd).
44723 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44724 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44726 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44727 $(test-wrapper-env) to tst-rtld-load-self.sh.
44728 ($(objpfx)order2.out): Use $(test-wrapper).
44729 ($(objpfx)tst-initorder.out): Likewise.
44730 ($(objpfx)tst-initorder2.out): Likewise.
44731 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44732 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44733 (test_wrapper_env): New variable. Use it to run ld.so.
44734 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44735 Use it to run ld.so.
44736 (test_wrapper_env): Likewise.
44737 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44738 $(test-wrapper) to run-iconv-test.sh.
44739 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44740 (ICONV): Use $test_wrapper.
44741 * posix/Makefile ($(objpfx)globtest.out): Pass
44742 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44743 globtest.sh, not $(run-program-prefix).
44744 * posix/globtest.sh (run_via_rtld_prefix): New variable.
44745 (test_wrapper): Likewise.
44746 (test_wrapper_env): Likewise. Use it to run globtest with HOME
44747 set together with run_via_rtld_prefix.
44748 (run_program_prefix): Define in terms of test_wrapper and
44749 run_via_rtld_prefix.
44751 2012-10-24 Roland McGrath <roland@hack.frob.com>
44753 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44754 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44758 * include/time.h: Remove librt_hidden_proto (clock_gettime).
44759 Declare __clock_getres, __clock_gettime, __clock_settime,
44760 __clock_nanosleep, and __clock_getcpuclockid.
44761 * rt/clock_gettime.c: Define __clock_gettime as an alias.
44762 Remove librt_hidden_def (clock_gettime).
44763 * sysdeps/unix/clock_gettime.c: Likewise.
44764 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44766 * rt/clock_getres.c: Define __clock_getres as an alias.
44767 * sysdeps/posix/clock_getres.c: Likewise.
44768 * rt/clock_settime.c: Define __clock_settime as an alias.
44769 * sysdeps/unix/clock_settime.c: Likewise.
44770 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44771 * sysdeps/unix/clock_nanosleep.c: Likewise.
44772 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44773 * rt/clock-compat.c: New file.
44774 * rt/Makefile (librt-routines): Add clock-compat and move
44775 $(clock-routines) to ...
44776 (routines): ... here, new variable.
44777 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44778 Don't add get_clockfreq here.
44779 * rt/Versions (libc: GLIBC_2.17): New version set.
44780 Add clock_* symbols here.
44781 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
44782 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44783 (GLIBC_2.17): Add clock_* symbols.
44784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44785 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44786 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44792 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44795 * NEWS: Mention the move.
44797 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44798 Use __open, __read, __close rather than their public counterparts.
44799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44800 (__get_clockfreq_via_cpuinfo): Likewise.
44801 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44802 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44804 * config.h.in (HAVE_IFUNC): New #undef.
44805 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44807 * configure: Regenerated.
44809 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44811 * configure.in: Move READELF check to start of file.
44812 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44813 libc_cv_asm_gnu_indirect_function in the process.
44814 * configure: Regenerated.
44816 2012-10-24 Mike Frysinger <vapier@gentoo.org>
44818 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44819 send the output to /dev/null.
44820 (libc_cv_cc_with_libunwind): Likewise.
44821 (libc_cv_as_noexecstack): Likewise.
44822 * configure: Regenerate.
44824 2012-10-24 Joseph Myers <joseph@codesourcery.com>
44826 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44828 * posix/globtest.sh (TMPDIR): Do not set.
44829 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44830 (testout): Likewise.
44832 2012-10-24 Andreas Jaeger <aj@suse.de>
44834 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44835 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44836 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44837 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44838 posix_fadvise64, posix_fallocate64.
44840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44841 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44842 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44844 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44846 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44848 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44849 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44850 <bits/fcntl-linux.h>.
44851 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44853 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44854 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44855 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44856 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44857 [__WORDSIZE != 64]: Likewise.
44859 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44861 * Makeconfig (run-built-tests): New variable.
44862 * Rules [$(cross-compiling) = yes]: Change condition to
44863 [$(run-built-tests) = no].
44864 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44865 to [$(run-built-tests) = yes].
44866 * elf/Makefile [$(cross-compiling) = no]: Likewise
44867 * grp/Makefile [$(cross-compiling) = no]: Likewise.
44868 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44869 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44870 * intl/Makefile [$(cross-compiling) = no]: Likewise.
44871 * io/Makefile [$(cross-compiling) = no]: Likewise.
44872 * libio/Makefile [$(cross-compiling) = no]: Likewise.
44873 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44874 * misc/Makefile [$(cross-compiling) = no]: Likewise.
44875 * posix/Makefile [$(cross-compiling) = no]: Likewise.
44876 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44877 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44878 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44879 * string/Makefile [$(cross-compiling) = no]: Likewise.
44881 * posix/Makefile ($(objpfx)globtest.out): Pass
44882 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44883 $(rtld-installed-name).
44884 * posix/globtest.sh (elf_objpfx): Remove variable.
44885 (rtld_installed_name): Likewise.
44886 (library_path): Likewise.
44887 (run_program_prefix): New variable. Use for running globtest
44890 2012-10-23 Jim Blandy <jimb@codesourcery.com>
44891 Joseph Myers <joseph@codesourcery.com>
44893 * Makeconfig (host-built-program-cmd): New variable.
44894 * elf/Makefile (tst-stackguard1-ARGS): Use
44895 $(host-built-program-cmd).
44896 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44897 (tst-spawn-ARGS): Likewise.
44898 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44900 2012-10-23 Joseph Myers <joseph@codesourcery.com>
44901 Jim Blandy <jimb@codesourcery.com>
44903 * Makeconfig (run-via-rtld-prefix): New variable.
44904 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44905 (built-program-cmd): Likewise.
44907 2012-10-22 Andreas Jaeger <aj@suse.de>
44909 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44910 __O_RSYNC if it exists, otherwise to O_SYNC.
44912 2012-10-22 Jim Blandy <jimb@codesourcery.com>
44913 Joseph Myers <joseph@codesourcery.com>
44915 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44917 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44919 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44922 2012-10-22 Andreas Jaeger <aj@suse.de>
44924 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44928 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44929 bits/fcntl-linux.h.
44931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44932 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44934 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44939 2012-10-21 Jim Blandy <jimb@codesourcery.com>
44940 Joseph Myers <joseph@codesourcery.com>
44942 * config.make.in (NM): New variable.
44944 2012-10-21 Andreas Jaeger <aj@suse.de>
44946 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44947 definitions and declarations that are provided by
44948 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44950 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44953 * elf/Makefile (tests-static): Add tst-leaks1-static.
44954 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44955 ($(objpfx)tst-leaks1-static): New rule.
44956 ($(objpfx)tst-leaks1-static-mem): Likewise.
44957 (tst-leaks1-static-ENV): New macro.
44958 * elf/dl-open.c (dl_open_worker): Check the main application
44959 only if SHARED is defined.
44960 * elf/tst-leaks1-static.c: New file.
44962 2012-10-20 Andreas Jaeger <aj@suse.de>
44964 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44965 generic values for Linux.
44966 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44967 and declarations that are provided by <bits/fcntl-linux.h> and
44968 include <bits/fcntl-linux.h>.
44969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44970 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44972 2012-10-20 Roland McGrath <roland@hack.frob.com>
44974 * io/fcntl.h: Move include of <bits/types.h> to the top and
44975 include it unconditionally.
44977 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
44979 * wcsmbs/Makefile (tests-ifunc): New variable.
44980 (tests): Add $(tests-ifunc).
44981 * wcsmbs/test-wcschr-ifunc.c: New file.
44982 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44983 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44984 * wcsmbs/test-wcslen-ifunc.c: Likewise.
44985 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44986 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44988 * string/Makefile (tests-ifunc): New variable.
44989 (tests): Add $(tests-ifunc).
44990 * string/test-memccpy.c (TEST_NAME): New macro.
44991 * string/test-memchr.c (TEST_NAME): Likewise.
44992 * string/test-memcmp.c (TEST_NAME): Likewise.
44993 * string/test-memcpy.c (TEST_NAME): Likewise.
44994 * string/test-memmem.c (TEST_NAME): Likewise.
44995 * string/test-memmove.c (TEST_NAME): Likewise.
44996 * string/test-memset.c (TEST_NAME): Likewise.
44997 * string/test-rawmemchr.c (TEST_NAME): Likewise.
44998 * string/test-stpcpy.c (TEST_NAME): Likewise.
44999 * string/test-stpncpy.c (TEST_NAME): Likewise.
45000 * string/test-strcasecmp.c (TEST_NAME): Likewise.
45001 * string/test-strcasestr.c (TEST_NAME): Likewise.
45002 * string/test-strcat.c (TEST_NAME): Likewise.
45003 * string/test-strchr.c (TEST_NAME): Likewise.
45004 * string/test-strcmp.c(TEST_NAME): Likewise.
45005 * string/test-strcpy.c (TEST_NAME): Likewise.
45006 * string/test-strcspn.c (TEST_NAME): Likewise.
45007 * string/test-strlen.c (TEST_NAME): Likewise.
45008 * string/test-strncasecmp.c (TEST_NAME): Likewise.
45009 * string/test-strncmp.c (TEST_NAME): Likewise.
45010 * string/test-strncpy.c (TEST_NAME): Likewise.
45011 * string/test-strnlen.c (TEST_NAME): Likewise.
45012 * string/test-strpbrk.c (TEST_NAME): Likewise.
45013 * string/test-strrchr.c (TEST_NAME): Likewise.
45014 * string/test-strspn.c (TEST_NAME): Likewise.
45015 * string/test-strstr.c (TEST_NAME): Likewise.
45016 * string/test-bcopy-ifunc.c: New file.
45017 * string/test-bzero-ifunc.c: Likewise.
45018 * string/test-memccpy-ifunc.c: Likewise.
45019 * string/test-memchr-ifunc.c: Likewise.
45020 * string/test-memcmp-ifunc.c: Likewise.
45021 * string/test-memcpy-ifunc.c: Likewise.
45022 * string/test-memmem-ifunc.c: Likewise.
45023 * string/test-memmove-ifunc.c: Likewise.
45024 * string/test-mempcpy-ifunc.c: Likewise.
45025 * string/test-memset-ifunc.c: Likewise.
45026 * string/test-rawmemchr-ifunc.c: Likewise.
45027 * string/test-stpcpy-ifunc.c: Likewise.
45028 * string/test-stpncpy-ifunc.c: Likewise.
45029 * string/test-strcasecmp-ifunc.c: Likewise.
45030 * string/test-strcasestr-ifunc.c: Likewise.
45031 * string/test-strcat-ifunc.c: Likewise.
45032 * string/test-strchr-ifunc.c: Likewise.
45033 * string/test-strchrnul-ifunc.c: Likewise.
45034 * string/test-strcmp-ifunc.c: Likewise.
45035 * string/test-strcpy-ifunc.c: Likewise.
45036 * string/test-strcspn-ifunc.c: Likewise.
45037 * string/test-strlen-ifunc.c: Likewise.
45038 * string/test-strncasecmp-ifunc.c: Likewise.
45039 * string/test-strncat-ifunc.c: Likewise.
45040 * string/test-strncmp-ifunc.c: Likewise.
45041 * string/test-strncpy-ifunc.c: Likewise.
45042 * string/test-strnlen-ifunc.c: Likewise.
45043 * string/test-strpbrk-ifunc.c: Likewise.
45044 * string/test-strrchr-ifunc.c: Likewise.
45045 * string/test-strspn-ifunc.c: Likewise.
45046 * string/test-strstr-ifunc.c: Likewise.
45048 * debug/Makefile (tests-ifunc): New variable.
45049 (tests): Add $(tests-ifunc).
45050 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45051 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45052 * debug/test-stpcpy_chk-ifunc.c: New file.
45053 * debug/test-strcpy_chk-ifunc.c: Likewise.
45055 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
45058 * elf/dl-load.c (open_verify): Retry read if the entire ELF
45059 header is not read in.
45061 2012-10-19 Joseph Myers <joseph@codesourcery.com>
45063 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
45064 script to $(SHELL) as $<. Pass $(common-objpfx) to script
45065 directly. Pass built executable to script as
45066 $(built-program-cmd).
45067 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
45068 $testprogram without using LD_LIBRARY_PATH and $ldso.
45070 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45071 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45072 $(rtld-installed-name).
45073 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45074 (rtld_installed_name): Likewise.
45075 (library_path): Likewise.
45076 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
45077 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45078 $(run-program-prefix) to tst-tables.sh.
45079 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
45080 it to run tst-table-from and tst-table-to.
45081 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45082 Pass it to tst-table.sh.
45083 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45084 $(run-program-prefix) to tst-gettext.sh.
45085 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45087 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45089 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
45090 to run tst-gettext.
45091 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
45092 to run tst-gettext2.
45093 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
45094 to run tst-translit.
45095 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45096 $(run-program-prefix) to tst-mtrace.sh.
45097 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
45099 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45100 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45101 $(rtld-installed-name).
45102 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45103 (rtld_installed_name): Likewise.
45104 (run_program_prefix): New variable. Use it to run wordexp-test.
45106 * Makeconfig (ARCH): Remove all definitions.
45107 (machine): Likewise.
45108 [ARCH]: Remove conditional code.
45109 [!objdir]: Give error.
45110 [!objdir] (objpfx): Remove.
45111 [!objdir] (common-objpfx): Likewise.
45112 [!objdir] (common-objdir): Likewise.
45113 * configure.in (config_makefile): Remove. Hardcode Makefile in
45114 AC_CONFIG_FILES call.
45115 * configure: Regenerated.
45118 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45120 (testout): Likewise.
45122 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45123 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45124 $(rtld-installed-name).
45125 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45126 (rtld_installed_name): Likwise.
45127 (runit): Remove function.
45128 (run_getconf): New variable, Use it for running getconf binary.
45130 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
45133 * string/test-memmem.c (check_result): New function.
45134 (do_one_test): Use it.
45135 (check1): New function.
45136 (test_main): Use it.
45138 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
45140 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45142 2012-10-18 Joseph Myers <joseph@codesourcery.com>
45144 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45145 (_G_LSEEK64): Likewise.
45146 (_G_MMAP64): Likewise.
45147 (_G_FSTAT64): Likewise.
45148 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45149 (_G_LSEEK64): Likewise.
45150 (_G_MMAP64): Likewise.
45151 (_G_FSTAT64): Likewise.
45152 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45153 unconditional. Call __mmap64 directly.
45154 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45155 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
45156 __lseek64 directly.
45157 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45158 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
45160 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45161 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
45162 __lseek64 directly.
45163 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45164 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
45165 __lseek64 directly.
45166 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45167 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
45168 __lseek64 directly.
45169 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45170 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
45171 __fxstat64 directly.
45172 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45173 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45175 (freopen64) [!_G_OPEN64]: Remove conditional code.
45176 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45178 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45179 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45181 (ftello64) [!_G_LSEEK64]: Remove conditional code.
45182 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45184 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45185 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45187 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45188 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45190 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45191 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45193 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45194 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45196 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45198 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
45201 * manual/memory.texi (Malloc Tunable Parameters): Add note
45202 about free list pointers overwriting some perturb bytes.
45203 Wording suggested by Roland McGrath.
45205 2012-10-17 Joseph Myers <joseph@codesourcery.com>
45207 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45208 (lgamma_test): Likewise.
45209 (tgamma_test): Likewise.
45211 2012-10-16 Florian Weimer <fweimer@redhat.com>
45214 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45215 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45217 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
45219 * NEWS: Mention BZ #14716.
45220 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45221 when removing AVAILABLE1_USES_J macro.
45223 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
45225 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45226 (__bswap_64): __uint64_t for unsigned 64-bit int.
45228 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
45230 * include/string.h (memmem): Declare libc hidden alias.
45231 * string/memmem.c (memmem): Define libc hidden alias.
45232 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45233 __read, __close instead of open, read, close.
45235 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
45237 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45238 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45240 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45241 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45242 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45244 (__rawmemchr_sse2): Likewise.
45245 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45246 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45247 (__strchr_sse2): Likewise.
45248 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45249 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45250 (__strcasecmp_sse2): Likewise.
45251 (__strncasecmp_sse2): Likewise.
45252 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45253 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45254 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45255 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45256 (__strrchr_sse2): Likewise.
45257 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45259 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45260 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45261 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45262 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45263 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45264 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45265 * sysdeps/x86_64/multiarch/memset.S: Likewise.
45266 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45267 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45268 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45269 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45270 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45271 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45272 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45273 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45274 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45275 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45276 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45277 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45278 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45279 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45280 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45281 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45282 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45283 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45284 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45285 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45286 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45287 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45288 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45290 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45292 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45293 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45294 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45295 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45297 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45299 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45300 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45301 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45302 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45304 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45305 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45306 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45307 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45308 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45309 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45310 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45311 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45312 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45313 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45314 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45315 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45316 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45317 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45318 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45319 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45320 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45321 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45322 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45323 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45324 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45325 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45326 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45327 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45328 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45329 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45330 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45331 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45332 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45333 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45334 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45335 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45336 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45337 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45338 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45339 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45340 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45341 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45342 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45343 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45344 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45346 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45347 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45348 * include/ifunc-impl-list.h: New file.
45349 * misc/ifunc-impl-list.c: Likewise.
45350 * misc/Makefile (routines): Add ifunc-impl-list.
45351 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45352 * string/test-string.h: Include <ifunc-impl-list.h>.
45353 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45354 TEST_NAME]: New variables.
45355 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45357 (test_init): Call __libc_ifunc_impl_list to initialize
45358 func_list if TEST_IFUNC and TEST_NAME are defined.
45360 * string/Makefile (strop-tests): Add bcopy and bzero.
45361 * string/test-bcopy.c: New file.
45362 * string/test-bzero.c: Likewise.
45363 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45365 * string/test-memset.c: Support bzero test if TEST_BZERO is
45367 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45369 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45371 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45374 2012-10-10 Joseph Myers <joseph@codesourcery.com>
45376 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45377 * configure: Regenerated.
45379 * Makeconfig (+link-static-before-libc): Don't include
45380 $(link-static-libc).
45382 * libio/libio.h (_IO_pos_t): Remove.
45384 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45386 * NEWS: Add note about FIPS mode. Wording suggested by Roland
45389 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45391 * crypt/crypt-entry.c: Include fips-private.h.
45392 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45393 * crypt/md5c-test.c (main): Tolerate disabled MD5.
45394 * sysdeps/unix/sysv/linux/fips-private.h: New file.
45395 * sysdeps/generic/fips-private.h: New file, dummy fallback.
45397 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
45399 * crypt/crypt-private.h: Include stdbool.h.
45400 (_ufc_setup_salt_r): Return bool.
45401 * crypt/crypt-entry.c: Include errno.h.
45402 (__crypt_r): Return NULL with EINVAL for bad salt.
45403 * crypt/crypt_util.c (bad_for_salt): New.
45404 (_ufc_setup_salt_r): Check that salt is long enough and within
45405 the specified alphabet.
45406 * crypt/badsalttest.c: New file.
45407 * crypt/Makefile (tests): Add it.
45408 ($(objpfx)badsalttest): New.
45410 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
45412 * NEWS: Add entry for BZ #14602.
45414 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45416 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45418 * math/libm-test.inc: Update comment listing what functions and
45420 (isgreater_test): New function.
45421 (isgreaterequal_test): Likewise.
45422 (isless_test): Likewise.
45423 (islessequal_test): Likewise.
45424 (islessgreater_test): Likewise.
45425 (isunordered_test): Likewise.
45426 (main): Call the new functions.
45428 2012-10-09 Roland McGrath <roland@hack.frob.com>
45430 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45431 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45432 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45433 * sysdeps/i386/configure: Regenerated.
45434 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45435 * sysdeps/mach/configure: Regenerated.
45436 * sysdeps/mach/hurd/configure: Regenerated.
45437 * sysdeps/powerpc/configure: Regenerated.
45438 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45439 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45440 * sysdeps/s390/s390-32/configure: Regenerated.
45441 * sysdeps/s390/s390-64/configure: Regenerated.
45442 * sysdeps/sh/configure: Regenerated.
45443 * sysdeps/sparc/configure: Regenerated.
45444 * sysdeps/unix/sysv/linux/configure: Regenerated.
45445 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45446 * sysdeps/x86_64/configure: Regenerated.
45448 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45449 defined. Don't check if MAP is NULL.
45451 2012-10-09 Joseph Myers <joseph@codesourcery.com>
45453 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45454 (_G_stat64): Likewise.
45455 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45456 (_G_stat64): Likewise.
45457 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45458 instead of struct _G_stat64.
45459 * libio/fileops.c (mmap_remap_check): Likewise.
45460 (decide_maybe_mmap): Likewise.
45461 (_IO_new_file_seekoff): Likewise.
45462 (_IO_file_stat): Likewise.
45463 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45465 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45466 instead of struct _G_stat64.
45467 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45469 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
45472 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45474 (CHECK_EOL): New macro.
45475 (two_way_short_needle): Check beginning of haystack for EOL. Use
45477 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45478 Replace with CHECK_EOL.
45479 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45480 Replace with CHECK_EOL.
45482 2012-10-08 Joseph Myers <joseph@codesourcery.com>
45484 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45486 * math/libm-test.inc: Update comment listing what functions and
45488 (finite_test): New function.
45489 (isinf_test): Likewise.
45490 (isnan_test): Likewise.
45491 (fpclassify_test): Test subnormal input.
45492 (isfinite_test): Likewise.
45493 (isnormal_test): Likewise.
45494 (main): Call the new functions.
45496 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
45499 * Makerules (%.dynsym): Force C locale when running
45500 $(OBJDUMP) --dynamic-syms.
45502 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
45504 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45507 2012-10-06 David S. Miller <davem@davemloft.net>
45509 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45510 upper 32-bits of the length value in %o2 since we use branch-on-register
45511 tests which consider the entire 64-bit register.
45513 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
45515 * string/test-strstr.c (check2): Add a test for page boundary.
45517 2012-10-05 David S. Miller <davem@davemloft.net>
45519 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45520 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45522 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45524 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45525 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45526 and bzero when HWCAP_SPARC_CRYPTO is present.
45528 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
45531 * string/test-strstr.c (check2): New function.
45532 (test_main): Call check2.
45534 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45536 * string/bug-strcasestr1.c (do_test): Moved to ...
45537 * string/test-strcasestr.c (check1): Here. New function.
45538 (do_one_test): Break out result checking code into ...
45539 (check_result): This. New function.
45540 (do_one_test): Call check_result.
45541 (test_main): Call check1.
45542 * string/bug-strchr1.c (do_test): Moved to ...
45543 * string/test-strchr.c (check1): Here. New function.
45544 (do_one_test): Break out result checking code into ...
45545 (check_result): This. New function.
45546 (do_one_test): Call check_result.
45547 (test_main): Call check1.
45548 * string/bug-strstr1.c (main): Moved to ...
45549 * string/test-strstr.c (check1): Here. New function.
45550 (do_one_test): Break out result checking code into ...
45551 (check_result): This. New function.
45552 (do_one_test): Call check_result.
45553 (test_main): Call check1.
45554 * string/bug-strcasestr1.c: Removed.
45555 * string/bug-strchr1.c: Likewise.
45556 * string/bug-strstr1.c: Likewise.
45558 * elf/Makefile (dl-routines): Add hwcaps.
45559 * elf/dl-support.c (_dl_important_hwcaps): Removed.
45560 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45561 (_dl_important_hwcaps): Moved to ...
45562 * elf/dl-hwcaps.c: Here. New file.
45563 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45566 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45567 if IS_IN_rtld isn't defined.
45569 * elf/dl-support.c (_dl_sysinfo_map): New.
45570 Include "get-dynamic-info.h" and "setup-vdso.h".
45571 (_dl_non_dynamic_init): Call setup_vdso.
45572 * elf/dynamic-link.h: Don't include <assert.h>.
45573 (elf_get_dynamic_info): Moved to ...
45574 * elf/get-dynamic-info.h: Here. New file.
45575 * elf/dynamic-link.h: Include "get-dynamic-info.h".
45576 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45577 * elf/setup-vdso.h: Here. New file.
45578 * elf/rtld.c: Include "setup-vdso.h".
45579 (dl_main): Call setup_vdso.
45581 2012-10-05 Joseph Myers <joseph@codesourcery.com>
45583 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45584 creal in comment listing functions tested. List finite, isinf,
45585 isnan, isless, islessequal, isgreater, isgreaterequal,
45586 islessgreater, isunordered, lgamma_r and pow10 as functions and
45587 macros not tested. Mention which functions not tested are aliases
45588 for other functions. Fix typo. Note that signs of NaNs are not
45591 * scripts/config.guess: Update from config.git.
45592 * scripts/config.sub: Likewise.
45594 2012-10-04 Roland McGrath <roland@hack.frob.com>
45596 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45597 * misc/madvise.c (madvise): Renamed to __madvise.
45598 Make madvise a weak alias.
45599 * include/sys/mman.h: Declare __madvise.
45600 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45601 * sysdeps/unix/syscalls.list
45602 (madvise): Make __madvise the strong name, and madvise a weak alias.
45603 * sysdeps/unix/sysv/linux/syscalls.list
45604 (madvise, mmap): Remove redundant entries.
45605 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45606 * malloc/malloc.c (mtrim): Likewise.
45607 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45609 2012-10-03 Roland McGrath <roland@hack.frob.com>
45611 * sysdeps/mach/hurd/dl-cache.c: File removed.
45612 * config.h.in (USE_LDCONFIG): New #undef.
45613 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45614 * configure: Regenerated.
45615 * elf/Makefile (dl-routines): Add dl-cache only under
45616 [$(use-ldconfig) = yes].
45617 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45618 cache on [USE_LDCONFIG].
45619 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45621 * elf/rtld.c (dl_main): Likewise.
45623 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
45625 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45626 _SC_LEVEL4_CACHE_LINESIZE.
45628 2012-10-03 Roland McGrath <roland@hack.frob.com>
45630 * sysdeps/unix/bsd/confstr.h: File removed.
45632 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
45634 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45637 2012-10-02 Roland McGrath <roland@hack.frob.com>
45639 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45640 Make 'mapoff' field ElfW(Off) rather than off_t.
45642 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
45644 * nscd/Makefile: Remove nscd-cflags and all its users.
45645 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45646 (CFLAGS-nonlib): Add compiler flags for nscd modules.
45649 * malloc.c (malloc_printerr): Clarify error message.
45651 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
45654 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45655 Set bit_FMA_Usable if FMA is supported.
45656 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45658 (bit_FMA4_Usable): Updated.
45659 (index_FMA_Usable): New macro.
45660 (CPUID_FMA): Likewise
45661 (HAS_FMA): Defined with bit_FMA_Usable.
45663 2012-10-01 Roland McGrath <roland@hack.frob.com>
45665 * bits/types.h (__swblk_t): Type removed.
45666 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45667 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45668 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45669 (__SWBLK_T_TYPE): Likewise.
45670 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45671 (__SWBLK_T_TYPE): Likewise.
45672 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45673 (__SWBLK_T_TYPE): Likewise.
45674 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45675 (__SWBLK_T_TYPE): Likewise.
45677 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
45678 Honza Horak <hhorak@redhat.com>
45680 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45681 (xdr_mapname): Use YPMAXMAP as maxsize.
45682 (xdr_peername): Use YPMAXPEER as maxsize.
45683 (xdr_keydat): Use YPAXRECORD as maxsize.
45684 (xdr_valdat): Use YPMAXRECORD as maxsize.
45686 2012-10-01 Roland McGrath <roland@hack.frob.com>
45688 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45690 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45691 * csu/init-first.c: ... here.
45692 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45693 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45694 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45695 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45696 * sysdeps/i386/init-first.c: File removed.
45697 * sysdeps/sh/init-first.c: File removed.
45699 2012-10-01 Joseph Myers <joseph@codesourcery.com>
45702 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45703 if x * y might underflow to zero and z is zero.
45704 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45705 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45706 * math/libm-test.inc (min_subnorm_value): New variable.
45707 (fma_test): Add more tests.
45708 (fma_test_towardzero): Likewise.
45709 (fma_test_downward): Likewise
45710 (fma_test_upward): Likewise.
45711 (initialize): Set min_subnorm_value.
45713 2012-09-29 Joseph Myers <joseph@codesourcery.com>
45716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45718 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45719 mode for addition resulting in exact zero.
45720 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45721 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45723 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45724 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45725 * math/libm-test.inc (fma_test): Add more tests.
45726 (fma_test_towardzero): New function.
45727 (fma_test_downward): Likewise.
45728 (fma_test_upward): Likewise.
45729 (main): Call the new functions.
45731 2012-09-28 David S. Miller <davem@davemloft.net>
45733 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45735 2012-09-28 Roland McGrath <roland@hack.frob.com>
45737 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45738 instead of SIGALRM.
45740 * sysdeps/gnu/_G_config.h: Moved to ...
45741 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45742 * sysdeps/mach/hurd/_G_config.h: Moved to ...
45743 * sysdeps/generic/_G_config.h: ... here.
45745 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
45747 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45749 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45750 Conditionalize target on [libnss_test1.so-version].
45752 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45754 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45755 (elfobjdir): Move out of conditionals.
45757 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45758 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45759 (__nss_lookup_function): Conditionalize label remove_from_tree on
45760 [!DO_STATIC_NSS || SHARED], matching its only use.
45762 2012-09-28 David S. Miller <davem@davemloft.net>
45764 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45765 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45767 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45769 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45770 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45771 when HWCAP_SPARC_CRYPTO is present.
45773 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45775 * io/tst-mknodat.c: Create a FIFO instead of a socket.
45777 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
45780 * stdio-common/vfprintf.c (process_string_arg): Revert
45783 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
45785 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45787 * stdio-common/tst-sprintf.c: Include <locale.h>
45788 (main): Test sprintf's handling of incomplete multibyte
45791 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
45793 * elf/dl-runtime.c (VERSYMIDX): Removed.
45794 * elf/dl-version.c (VERSYMIDX): Likewise.
45795 * elf/do-rel.h (VERSYMIDX): Likewise.
45796 (VALIDX): Likewise.
45797 * elf/dynamic-link.h (VERSYMIDX): Likewise.
45798 * elf/rtld.c (VALIDX): Likewise.
45799 (ADDRIDX): Likewise.
45800 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45801 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45802 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45803 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45804 (VALIDX): Likewise.
45805 (ADDRIDX): Likewise.
45807 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45809 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45811 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
45814 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45816 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45817 addresses are in the same scope as 192.0.2/24.
45818 * posix/gai.conf: Document new scope table defaults.
45820 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45823 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45824 for ftell. Compute offsets from write pointers instead.
45825 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45827 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45830 * libio/Makefile (tests): New test case tst-fseek.
45831 * libio/tst-fseek.c: New test case to verify that fseek/ftell
45832 combination works in wide mode.
45833 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45834 state when the external buffer state changes.
45836 2012-09-27 David S. Miller <davem@davemloft.net>
45839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45840 pass reloc->r_addend in as the 'high' argument to
45841 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45843 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45845 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
45847 * rt/tst-aio2.c: Include <pthread.h>.
45848 * rt/tst-aio3.c: Likewise.
45850 2012-09-27 Steve Ellcey <sellcey@mips.com>
45852 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45854 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
45856 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45857 contents on [SHARED].
45859 2012-09-26 Marek Polacek <polacek@redhat.com>
45863 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45864 for C++ and GCC <4.3 as well as for non GCC compilers.
45866 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
45868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45870 2012-09-25 Roland McGrath <roland@hack.frob.com>
45872 * Makefile.in (all, install): Declare with .PHONY.
45873 Reported by Michael Hope <michael.hope@linaro.org>.
45875 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45877 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45878 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45880 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45882 (sydep_routines): Add the new and the internal functions.
45883 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45884 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45886 (GLIBC_2.17): Add the new function.
45887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45888 (GLIBC_2.17): Likewise.
45889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45890 (GLIBC_2.17): Likewise.
45891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45892 (GLIBC_2.17): Likewise.
45893 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45895 2012-09-25 Alan Modra <amodra@gmail.com>
45897 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45898 Add release barrier before setting once_control to say
45899 initialisation is done. Add hints on lwarx. Use macro in
45901 (clear_once_control): Add release barrier.
45903 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45906 * math/s_clog.c (__clog): Handle more values close to |z| = 1
45908 * math/s_clog10.c (__clog10): Likewise.
45909 * math/s_clog10f.c (__clog10f): Likewise.
45910 * math/s_clog10l.c (__clog10l): Likewise.
45911 * math/s_clogf.c (__clogf): Likewise.
45912 * math/s_clogl.c (__clogl): Likewise.
45913 * math/Makefile (libm-calls): Add x2y2m1.
45914 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45915 (__x2y2m1): Likewise.
45916 (__x2y2m1l): Likewise.
45917 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45918 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45919 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45921 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45922 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45923 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45924 * sysdeps/i386/fpu/libm-test-ulps: Update.
45925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45928 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45929 int as type of variable DEPTH.
45930 (glob): Use size_t instead of int as type of variables NEWCOUNT
45933 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45935 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45936 Add s_sincosf-sse2.
45937 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45938 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45939 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45940 macros for using routine as __sincosf_ia32.
45941 Use macro for function declaration and weak_alias.
45942 * sysdeps/i386/fpu/libm-test-ulps: Update.
45944 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45947 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45948 subnormal argument.
45949 * math/s_cexpf.c (__cexpf): Likewise.
45950 * math/s_csinf.c (__csinf): Likewise.
45951 * math/s_csinhf.c (__csinhf): Likewise.
45952 * math/s_ctanf.c (__ctanf): Likewise.
45953 * math/s_ctanhf.c (__ctanhf): Likewise.
45954 * math/s_ccosh.c (__ccoshf): Likewise.
45955 * math/s_cexp.c (__cexpl): Likewise.
45956 * math/s_csin.c (__csin): Likewise.
45957 * math/s_csinh.c (__csinh): Likewise.
45958 * math/s_ctan.c (__ctan): Likewise.
45959 * math/s_ctanh.c (ctanh): Likewise.
45960 * math/s_ccoshl.c (__ccoshl): Likewise.
45961 * math/s_cexpl.c (__cexpl): Likewise.
45962 * math/s_csinl.c (__csinl): Likewise.
45963 * math/s_csinhl.c (__csinhl): Likewise.
45964 * math/s_ctanl.c (__ctanl): Likewise.
45965 * math/s_ctanhl.c (__ctanhl): Likewise.
45967 2012-09-25 Joseph Myers <joseph@codesourcery.com>
45969 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45970 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45971 (_IO_off_t): Define to __off_t, not _G_off_t.
45972 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45973 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45974 (_IO_wint_t): Define to wint_t, not _G_wint_t.
45975 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45976 type of __dummy and __dummy2 fields.
45977 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45978 (_G_ssize_t): Likewise.
45979 (_G_off_t): Likewise.
45980 (_G_pid_t): Likewise.
45981 (_G_uid_t): Likewise.
45982 (_G_wchar_t): Likewise.
45983 (_G_wint_t): Likewise.
45984 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45985 (_G_ssize_t): Likewise.
45986 (_G_off_t): Likewise.
45987 (_G_pid_t): Likewise.
45988 (_G_uid_t): Likewise.
45989 (_G_wchar_t): Likewise.
45990 (_G_wint_t): Likewise.
45991 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45992 (_G_ssize_t): Likewise.
45993 (_G_off_t): Likewise.
45994 (_G_pid_t): Likewise.
45995 (_G_uid_t): Likewise.
45996 (_G_wchar_t): Likewise.
45997 (_G_wint_t): Likewise.
45999 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46001 * malloc/arena.c: Include malloc-sysdep.h.
46002 (shrink_heap): Use check_may_shrink_heap to decide if madvise
46003 is sufficient to shrink the heap or an unmap is needed.
46004 * sysdeps/generic/malloc-sysdep.h: New file. Define
46005 new function check_may_shrink_heap.
46006 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
46007 new function check_may_shrink_heap.
46009 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46011 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46014 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
46016 * catgets/test-gencat.sh: Add "set -e".
46017 * elf/tst-pathopt.sh: Likewise.
46018 * grp/tst_fgetgrent.sh: Likewise.
46019 * iconvdata/run-iconv-test.sh: Likewise.
46020 * intl/tst-gettext.sh: Likewise.
46021 * intl/tst-gettext2.sh: Likewise.
46022 * intl/tst-gettext4.sh: Likewise.
46023 * intl/tst-gettext6.sh: Likewise.
46024 * intl/tst-translit.sh: Likewise.
46025 * io/ftwtest-sh: Likewise.
46026 * libio/test-freopen.sh: Likewise.
46027 * malloc/tst-mtrace.sh: Likewise.
46028 * posix/globtest.sh: Likewise.
46029 * posix/tst-getconf.sh: Likewise.
46030 * posix/wordexp-tst.sh: Likewise.
46031 * stdio-common/tst-printf.sh: Likewise.
46032 * stdio-common/tst-unbputc.sh: Likewise.
46033 * stdlib/tst-fmtmsg.sh: Likewise.
46034 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46035 * catgets/Makefile: Do not specify -e option when running
46036 testsuite shell scripts.
46037 * elf/Makefile: Likewise.
46038 * grp/Makefile: Likewise.
46039 * iconvdata/Makefile: Likewise.
46040 * intl/Makefile: Likewise.
46041 * io/Makefile: Likewise.
46042 * libio/Makefile: Likewise.
46043 * malloc/Makefile: Likewise.
46044 * posix/Makefile: Likewise.
46045 * stdio-common/Makefile: Likewise.
46046 * stdlib/Makefile: Likewise.
46047 * sysdeps/x86_64/Makefile: Likewise.
46049 * io/ftwtest-sh: Add copyright header.
46050 * posix/globtest.sh: Likewise.
46051 * posix/tst-getconf.sh: Likewise.
46052 * posix/wordexp-tst.sh: Likewise.
46053 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46055 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
46058 * Makeconfig (+link): Defined as $(+link-static) if
46059 $(build-shared) isn't yes.
46060 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46062 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46064 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46067 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46068 new chunk size with MALLOC_ALIGN_MASK.
46070 2012-09-24 Joseph Myers <joseph@codesourcery.com>
46073 * stdio-common/printf_fphex.c: Include <stdbool.h> and
46075 (__printf_fphex): Determine rounding using get_rounding_mode and
46077 * stdio-common/tst-printf-round.c (struct hex_test): New
46079 (hex_tests): New variable.
46080 (test_hex_in_one_mode): New function.
46081 (do_test): Also run tests for hex float output.
46083 2012-09-21 Joseph Myers <joseph@codesourcery.com>
46085 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46086 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46087 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46088 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46089 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46090 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46091 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46092 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46094 2012-09-20 Joseph Myers <joseph@codesourcery.com>
46096 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46097 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46098 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46099 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46101 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
46104 * elf/rtld.c (dl_main): Limit the check for self loading to normal
46106 * elf/tst-rtld-load-self.sh: New test.
46107 * elf/Makefile: Run it.
46109 2012-09-18 Joseph Myers <joseph@codesourcery.com>
46111 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46112 (tst-writev-ENV): Remove.
46113 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46115 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
46117 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46119 2012-09-17 Joseph Myers <joseph@codesourcery.com>
46121 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46123 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46125 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46126 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46127 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46130 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
46133 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46134 * config.make.in (have-cpp-asm-debuginfo): Removed.
46135 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46136 * configure: Regenerated.
46138 2012-09-14 Joseph Myers <joseph@codesourcery.com>
46141 * stdio-common/printf_fp.c: Include <stdbool.h> and
46143 (___printf_fp): Determine rounding using get_rounding_mode and
46145 * stdio-common/tst-printf-round.c: New file.
46146 * stdio-common/Makefile (tests): Add tst-printf-round.
46147 (link-libm): New variable.
46148 ($(objpfx)tst-printf-round): Depend in $(link-libm).
46150 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
46153 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46154 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46156 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46159 2012-09-13 Joseph Myers <joseph@codesourcery.com>
46161 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46162 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46163 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46164 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46166 2012-09-12 Joseph Myers <joseph@codesourcery.com>
46169 * include/rounding-mode.h: New file.
46170 * sysdeps/generic/get-rounding-mode.h: Likewise.
46171 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46172 * stdlib/strtod_l.c: Include <rounding-mode.h>.
46173 (MAX_VALUE): New macro.
46174 (MIN_VALUE): Likewise.
46175 (overflow_value): New function.
46176 (underflow_value): Likewise.
46177 (round_and_return): Use overflow_value and underflow_value to
46178 determine return values in overflow and underflow cases. Use
46179 round_away to determine rounding depending on rounding mode.
46180 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46181 determine return values in overflow and underflow cases.
46182 * stdlib/tst-strtod-round.c: Include <fenv.h>.
46183 (struct test_results): New structure.
46184 (struct test): Use struct test_results to store expected results
46185 for all rounding modes.
46186 (TEST): Include expected results for all rounding modes.
46187 (test_in_one_mode): New function.
46188 (do_test): Use test_in_one_mode to compute and check results.
46189 Check results for all rounding modes.
46190 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46193 2012-12-09 Allan McRae <allan@archlinux.org>
46195 * sysdeps/i386/fpu/libm-test-ulps: Update
46197 2012-09-11 Joseph Myers <joseph@codesourcery.com>
46199 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46200 (_G_int32_t): Likewise.
46201 (_G_uint16_t): Likewise.
46202 (_G_uint32_t): Likewise.
46203 (_G_HAVE_BOOL): Likewise.
46204 (_G_HAVE_ATEXIT): Likewise.
46205 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46206 (_G_HAVE_IO_FILE_OPEN): Likewise.
46207 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46208 (_G_int32_t): Likewise.
46209 (_G_uint16_t): Likewise.
46210 (_G_uint32_t): Likewise.
46211 (_G_HAVE_BOOL): Likewise.
46212 (_G_HAVE_ATEXIT): Likewise.
46213 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46214 (_G_HAVE_IO_FILE_OPEN): Likewise.
46215 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46216 (_G_int32_t): Likewise.
46217 (_G_uint16_t): Likewise.
46218 (_G_uint32_t): Likewise.
46219 (_G_HAVE_BOOL): Likewise.
46220 (_G_HAVE_ATEXIT): Likewise.
46221 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46222 (_G_HAVE_IO_FILE_OPEN): Likewise.
46224 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
46226 * csu/libc-tls.c: Update copyright years.
46228 2012-09-10 Joseph Myers <joseph@codesourcery.com>
46230 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46231 [!_G_USING_THUNKS]: Remove conditional code.
46232 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46233 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46235 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46236 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46237 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46238 (_G_VTABLE_LABEL_PREFIX): Likewise.
46239 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46240 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46241 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46242 (_G_VTABLE_LABEL_PREFIX): Likewise.
46243 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46244 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46245 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46246 (_G_VTABLE_LABEL_PREFIX): Likewise.
46247 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46249 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
46251 * libio/Makefile: Include ../Makeconfig before tests.
46252 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46253 only if $(build-shared) is yes.
46255 * iconv/gconv_db.c: Update copyright years.
46257 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46259 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46260 unwind info if defined PIC. Fix special cases description.
46261 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46263 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46265 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46267 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
46269 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46271 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46274 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46275 (LDLIBS-tst-chk4): This.
46276 (LDFLAGS-tst-chk5): Renamed to ...
46277 (LDLIBS-tst-chk5): This.
46278 (LDFLAGS-tst-chk6): Renamed to ...
46279 (LDLIBS-tst-chk6): This.
46280 (LDFLAGS-tst-lfschk4): Renamed to ...
46281 (LDLIBS-tst-lfschk4): This.
46282 (LDFLAGS-tst-lfschk5): Renamed to ...
46283 (LDLIBS-tst-lfschk5): This.
46284 (LDFLAGS-tst-lfschk6): Renamed to ...
46285 (LDLIBS-tst-lfschk6): This.
46287 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46288 on $(common-objpfx)soversions.mk.
46290 2012-09-07 Joseph Myers <joseph@codesourcery.com>
46293 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46296 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
46298 * malloc/arena.c (arena_get_retry): New function that gets
46299 another arena for the caller to try its request on.
46300 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46301 current arena cannot fulfill the request.
46302 (__libc_memalign): Likewise.
46303 (__libc_memalign): Likewise.
46304 (__libc_pvalloc): Likewise.
46305 (__libc_calloc): Likewise.
46307 2012-09-05 John Tobey <john.tobey@gmail.com>
46310 * manual/arith.texi (Operations on Complex): Fix description
46311 of carg branch cut.
46313 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46316 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46320 * manual/memory.texi (Memory): Make order of menu items match
46323 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46325 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46326 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
46327 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46329 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46331 * csu/libc-tls.c (static_dtv): Renamed to ...
46332 (_dl_static_dtv): This. Make it global.
46333 (_dl_initial_dtv): Removed.
46334 (__libc_setup_tls): Updated.
46335 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46336 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46339 2012-09-06 Petr Machata <pmachata@redhat.com>
46341 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46342 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46343 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46344 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46346 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46349 * csu/libc-tls.c (_dl_initial_dtv): New variable.
46350 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46353 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
46356 * Makeconfig (link-static-before-libc): Replace $(+prector)
46358 (link-static-after-libc): Replace $(+postctor) with
46360 (link-bounded): Replace $(+prector)/$(+postctor) with
46361 $(+prectorT)/$(+postctorT).
46362 (+prectorT): New macro.
46363 (+postctorT): Likewise.
46365 2012-09-06 Joseph Myers <joseph@codesourcery.com>
46367 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46368 (round_str): Handle values above the maximum for IBM long double
46370 * stdlib/tst-strtod-round.c (tests): Regenerated.
46372 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46374 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46376 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46377 zarch_nohighgprs around the zarch optimized routines.
46378 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46379 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46380 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46383 2012-09-05 David S. Miller <davem@davemloft.net>
46385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46387 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46388 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46389 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46390 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46393 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46395 * malloc/arena.c: Fold copyright years.
46396 * malloc/mcheck.c, malloc/memusage.c: Likewise.
46398 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46400 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46402 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46404 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
46406 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46408 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46409 change internal state upon failure.
46411 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
46413 * malloc/mcheck.c (mcheck_check_all): Fix typo.
46414 * malloc/memusage.c (mmap): Likewise.
46415 (mmap64, mremap): Likewise. Adjust name in comment.
46417 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46419 * libio/fileops.c: Fix typos in comments.
46420 * libio/oldfileops.c: Likewise.
46421 * libio/wfileops.c: Likewise.
46423 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
46426 * malloc/Makefile (tests): Add tst-malloc-usable test case.
46427 (tst-malloc-usable-ENV): Set environment for test case.
46428 * malloc/hooks.c (malloc_check_get_size): New function to get
46430 * malloc/malloc.c (musable): Use malloc_check_get_size.
46431 * malloc/tst-malloc-usable.c: New test case.
46433 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46435 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46437 2012-09-05 Allan McRae <allan@archlinux.org>
46440 * configure.in (CXX_SYSINCLUDES): Use compiler output to
46441 determine header location.
46442 * configure: Regenerated.
46444 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
46446 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46448 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46449 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46451 (test): Regenerate.
46453 2012-09-04 David S. Miller <davem@davemloft.net>
46455 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46456 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46457 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46459 2012-09-04 Florian Weimer <fweimer@redhat.com>
46461 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46464 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46466 2012-09-04 Joseph Myers <joseph@codesourcery.com>
46469 * libio/iogetdelim.c: Include <limits.h>.
46470 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46471 + len + 1 would overflow.
46473 2012-09-03 Andreas Jaeger <aj@suse.de>
46475 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46476 * sysdeps/i386/fpu/libm-test-ulps: Update.
46478 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46480 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46481 Add s_sinf-sse2, s_conf-sse2.
46483 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46484 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46485 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46486 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46488 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46489 for using routine as __sinf_ia32.
46490 Use macro for function declaration and weak_alias.
46491 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46492 for using routine as __cosf_ia32.
46493 Use macro for function declaration and weak_alias.
46495 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46496 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46498 * sysdeps/x86_64/fpu/s_sinf.S: New file.
46499 * sysdeps/x86_64/fpu/s_cosf.S: New file.
46500 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46502 * math/libm-test.inc (cos_test): Add more test cases.
46503 (sin_test): Likewise.
46504 (sincos_test): Likewise.
46506 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46508 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46509 (IFUNC_RESOLVE): Make pointers to the specialized implementations
46511 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46513 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
46516 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46517 first element of the GOT.
46518 (elf_machine_load_address): Return the difference between
46519 the runtime address of _DYNAMIC and elf_machine_dynamic ().
46521 2012-09-01 Allan McRae <allan@archlinux.org>
46524 * configure.in (AWK): Require gawk version 3.0 or later.
46525 * configure: Regenerated.
46527 2012-09-01 Joseph Myers <joseph@codesourcery.com>
46529 * sysdeps/unix/sysv/linux/kernel-features.h
46530 (__ASSUME_POSIX_CPU_TIMERS): Remove.
46531 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46532 [__NR_clock_getres]: Make code unconditional.
46533 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46534 (clock_getcpuclockid): Remove code left unreachable by removal of
46536 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46537 code unconditional.
46538 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46539 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46540 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46541 Make code unconditional.
46542 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46543 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46544 * sysdeps/unix/sysv/linux/clock_settime.c
46545 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46547 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46548 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46550 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
46553 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46554 scripts/test-installation.pl.
46556 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46557 and $ld_so_version if it is set.
46559 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
46562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46563 failure if reading from procfs failed.
46564 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46566 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46568 * sysdeps/unix/sysv/linux/kernel-features.h
46569 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46570 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46571 Remove conditional code.
46572 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46573 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46574 Remove conditional code.
46575 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46576 * sysdeps/unix/sysv/linux/i386/fxstat.c
46577 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46578 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46579 * sysdeps/unix/sysv/linux/i386/fxstatat.c
46580 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46581 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46582 * sysdeps/unix/sysv/linux/i386/lxstat.c
46583 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46585 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46586 Remove conditional code.
46587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46588 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46589 Remove conditional code.
46590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46591 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46592 <kernel-features.h>.
46593 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46595 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46596 Remove conditional code.
46597 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46598 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46599 Remove conditional.
46601 2012-08-27 Mike Frysinger <vapier@gentoo.org>
46604 * NEWS: Add fixed bug number.
46606 2012-08-27 Joseph Myers <joseph@codesourcery.com>
46609 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46610 underflowing exponent in case of negative sign.
46611 * stdlib/tst-strtod-round-data: Add more tests.
46612 * stdlib/tst-strtod-round.c (tests): Regenerated.
46615 * stdlib/strtod_l.c (NDIG): Remove.
46616 (HEXNDIG): Likewise.
46617 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46618 smallest representable value.
46619 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46620 lie within an exact representation of 1/2 ulp of the result.
46621 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46623 (TENS_P9_IDX): Define unconditionally.
46624 (TENS_P9_SIZE): Likewise.
46625 (TENS_P10_IDX): Likewise.
46626 (TENS_P10_SIZE): Likewise.
46627 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46628 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46629 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46630 entries for 10^2^13 and 10^2^14.
46631 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46632 (TENS_P13_IDX): Define.
46633 (TENS_P13_SIZE): Likewise.
46634 (TENS_P14_IDX): Likewise.
46635 (TENS_P14_SIZE): Likewise.
46636 (_fpioconst_pow10): Change array size to
46637 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
46639 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46640 1024]: Add entries for 10^2^13 and 10^2^14.
46641 [LAST_POW10 > _LAST_POW10]: Remove #error.
46642 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46643 (_fpioconst_pow10): Change array size to
46644 FPIOCONST_POW10_ARRAY_SIZE.
46645 * stdlib/gen-fpioconst.c: New file.
46646 * stdlib/gen-tst-strtod-round.c: Likewise.
46647 * stdlib/tst-strtod-round-data: Likewise.
46648 * stdlib/tst-strtod-round.c: Likewise.
46649 * stdlib/Makefile (tests): Add tst-strtod-round.
46652 * stdlib/strtod_l.c: Include <stdint.h>.
46653 (NDEBUG): Do not define.
46654 (round_and_return): Change EXPONENT parameter to type intmax_t.
46655 Rearrange calculations to avoid internal overflow possibilities.
46656 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46657 Rearrange calculations to avoid internal overflow possibilities.
46658 Assert that number fits inside MPNSIZE limbs.
46659 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46660 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
46661 calculations and add assertions to avoid internal overflow
46662 possibilities. Add casts to avoid signed/unsigned operations.
46663 * stdlib/tst-strtod-overflow.c: New file.
46664 * stdlib/Makefile (tests): Add tst-strtod-overflow.
46666 2012-08-25 Marek Polacek <polacek@redhat.com>
46668 * time/time.h: Fix some typos in comments.
46670 2012-08-23 Roland McGrath <roland@hack.frob.com>
46672 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46673 * posix/tst-rfc3484-2.c: Likewise.
46674 * posix/tst-rfc3484-3.c: Likewise.
46676 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
46678 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46679 (EF_ARM_ABI_FLOAT_HARD): Likewise.
46681 2012-08-23 Joseph Myers <joseph@codesourcery.com>
46683 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46684 #include of fxstatat64.c.
46686 2012-08-22 Roland McGrath <roland@hack.frob.com>
46688 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46689 * shadow/getspent_r.c: Likewise.
46690 * shadow/getspnam.c: Likewise.
46691 * shadow/getspnam_r.c: Likewise.
46692 * gshadow/getsgent.c: Likewise.
46693 * gshadow/getsgent_r.c: Likewise.
46694 * gshadow/getsgnam.c: Likewise.
46695 * gshadow/getsgnam_r.c: Likewise.
46696 * inet/getnetbyad.c: Likewise.
46697 * inet/getnetbyad_r.c: Likewise.
46698 * inet/getnetbynm.c: Likewise.
46699 * inet/getnetbynm_r.c: Likewise.
46700 * inet/getnetent.c: Likewise.
46701 * inet/getnetent_r.c: Likewise.
46702 * inet/getproto.c: Likewise.
46703 * inet/getproto_r.c: Likewise.
46704 * inet/getprtent.c: Likewise.
46705 * inet/getprtent_r.c: Likewise.
46706 * inet/getprtname.c: Likewise.
46707 * inet/getprtname_r.c: Likewise.
46708 * inet/getrpcbyname.c: Likewise.
46709 * inet/getrpcbyname_r.c: Likewise.
46710 * inet/getrpcbynumber.c: Likewise.
46711 * inet/getrpcbynumber_r.c: Likewise.
46712 * inet/getrpcent.c: Likewise.
46713 * inet/getrpcent_r.c: Likewise.
46714 * inet/getaliasent.c: Likewise.
46715 * inet/getaliasent_r.c: Likewise.
46716 * inet/getaliasname.c: Likewise.
46717 * inet/getaliasname_r.c: Likewise.
46718 * nscd/getgrgid_r.c: Likewise.
46719 * nscd/getgrnam_r.c: Likewise.
46720 * nscd/gethstbyad_r.c: Likewise.
46721 * nscd/gethstbynm3_r.c: Likewise.
46722 * nscd/getpwnam_r.c: Likewise.
46723 * nscd/getpwuid_r.c: Likewise.
46724 * nscd/getsrvbynm_r.c: Likewise.
46725 * nscd/getsrvbypt_r.c: Likewise.
46726 * nscd/gai.c: Likewise.
46728 * configure.in (build_nscd): New substituted variable, set
46729 by --disable-build-nscd and defaults to $use_nscd.
46730 * configure: Regenerated.
46731 * config.make.in (build-nscd): New substituted variable.
46732 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46733 Change conditional to require [$(build-nscd) = yes] as well.
46734 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46737 * configure.in (use_nscd): New substituted variable, set by
46738 --disable-nscd. If enabled, define USE_NSCD.
46739 * configure: Regenerated.
46740 * config.h.in: Add USE_NSCD.
46741 * config.make.in (use-nscd): New substituted variable.
46742 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46743 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46744 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46745 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46746 (CFLAGS-getgrnam_r.c): Likewise.
46747 (CFLAGS-initgroups.c): Likewise.
46748 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46749 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46751 * inet/getnetgrent_r.c
46752 (nscd_setnetgrent): New function, broken out of ...
46753 (setnetgrent): ... here. Call it.
46754 (innetgr): Conditionalize nscd bits on [USE_NSCD].
46755 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46756 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46757 * nscd/Makefile (routines, aux): Move definitions after include of
46758 Makeconfig. Conditionalize on [$(use-nscd) != no].
46759 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46760 Conditionalize on [USE_NSCD].
46761 (is_nscd, nscd_init_cb): Likewise.
46762 (nss_load_library): Conditionalize init callback on [USE_NSCD].
46763 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46764 * nss/nss_db/db-init.c: Likewise.
46765 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46767 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46768 (make_request): Use it.
46769 (cache_valid_p): New function.
46770 (__check_pf): Use it.
46771 * NEWS: Add item for --disable-nscd.
46773 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
46775 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46776 to support sed >= 4.2.1-20-ga9bf076.
46777 * configure: Regenerated.
46779 2012-08-22 Roland McGrath <roland@hack.frob.com>
46781 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46782 Conditionalize whole body on [IREL].
46784 2012-08-22 Jeff Law <law@redhat.com>
46787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46788 if the family is PF_UNSPEC.
46790 2012-08-22 Mike Frysinger <vapier@gentoo.org>
46792 * Makerules (lib-version): Rename from V.
46793 (install-lib-nosubdir): Change V to lib-version.
46795 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
46798 * powerpc32/power6/wcschr.c: New file.
46799 * powerpc32/power6/wcscpy.c: New file.
46800 * powerpc32/power6/wcsrchr.c: New file.
46801 * powerpc64/power6/wcschr.c: New file.
46802 * powerpc64/power6/wcscpy.c: New file.
46803 * powerpc64/power6/wcsrchr.c: New file.
46805 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46807 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46808 (two_way_short_needle): Use it.
46809 * string/strstr.c (AVAILABLE1_USES_J): Define.
46810 * string/strcasestr.c: Likewise.
46812 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46814 * string/strcasestr.c (TOLOWER): Make side-effect safe.
46817 * NEWS: Add an entry.
46818 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46819 define their defaults.
46820 (two_way_short_needle): Detect end-of-string on-the-fly.
46821 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46822 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46823 * string/bug-strcasestr1.c: New test.
46824 * string/Makefile: Run it.
46826 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
46829 * string/str-two-way.h (two_way_short_needle): Optimize matching of
46830 the first character.
46832 2012-08-21 Roland McGrath <roland@hack.frob.com>
46834 * csu/elf-init.c (__libc_csu_irel): Function removed.
46835 * csu/libc-start.c (apply_irel): New function.
46836 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46838 2012-08-21 Joseph Myers <joseph@codesourcery.com>
46840 * sysdeps/unix/sysv/linux/kernel-features.h
46841 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46842 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46843 <kernel-features.h>.
46844 [__NR_fadvise64_64]: Make code unconditional.
46845 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46846 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46847 !__NR_fadvise64_64)]: Likewise.
46848 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46849 !__NR_fadvise64_64))]: Likewise.
46850 [__NR_fadvise64]: Make code unconditional.
46851 [!__NR_fadvise64]: Remove conditional code.
46852 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46853 <kernel-features.h>.
46854 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46856 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46859 not include <kernel-features.h>.
46860 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46862 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46864 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46865 include <kernel-features.h>.
46866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46871 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
46873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46874 slight instruction rearrangements per scrollpipe analysis.
46875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46877 2012-08-20 Roland McGrath <roland@hack.frob.com>
46879 * manual/syslog.texi (syslog; vsyslog, closelog):
46880 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46881 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46883 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46884 DSOCAPS to match condition on defining it.
46886 2012-08-20 Joseph Myers <joseph@codesourcery.com>
46888 * sysdeps/unix/sysv/linux/kernel-features.h
46889 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46891 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46892 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46894 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46895 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46897 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46898 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46900 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46901 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46903 * sysdeps/unix/sysv/linux/kernel-features.h
46904 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46905 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46907 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46908 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46909 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46910 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46911 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46912 Make code unconditional.
46913 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46914 (__mmap64) [!__NR_mmap2]: Likewise.
46915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46916 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46917 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46918 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46919 [__NR_mmap2]: Make code unconditional.
46920 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46921 (__mmap64) [!__NR_mmap2]: Likewise.
46923 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46925 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46927 2012-08-18 Andreas Jaeger <aj@suse.de>
46929 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46931 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46933 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46934 * include/unistd.h (__have_sock_cloexec): Likewise.
46935 (__have_pipe2): Likewise.
46936 (__have_dup3): Likewise.
46938 2012-08-18 Mike Frysinger <vapier@gentoo.org>
46941 * include/unistd.h (__have_pipe2): Change define into an extern int.
46942 (__have_dup3): Likewise.
46943 * socket/have_sock_cloexec.c: Include fcntl.h.
46944 (__have_pipe2): New variable.
46945 (__have_dup3): Likewise.
46947 2012-08-17 Mike Frysinger <vapier@gentoo.org>
46949 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46951 2012-08-17 Marek Polacek <polacek@redhat.com>
46953 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46954 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46956 2012-08-17 Roland McGrath <roland@hack.frob.com>
46958 * configure.in: Add AC_SUBST for sysheaders.
46959 * configure: Regenerated.
46960 * config.make.in (sysheaders): New substituted variable.
46962 * sysdeps/unix/mkfifo.c: Moved ...
46963 * sysdeps/posix/mkfifo.c: ... here.
46964 * sysdeps/unix/mkfifoat.c: Moved ...
46965 * sysdeps/posix/mkfifoat.c: ... here.
46967 * sysdeps/unix/utime.c: Moved ...
46968 * sysdeps/posix/utime.c: ... here.
46970 * sysdeps/unix/time.c: Moved ...
46971 * sysdeps/posix/time.c: ... here.
46972 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46973 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46975 * sysdeps/unix/nice.c: Moved ...
46976 * sysdeps/posix/nice.c: ... here.
46978 * sysdeps/unix/alarm.c: Moved ...
46979 * sysdeps/posix/alarm.c: ... here.
46981 * intl/Makefile ($(codeset_mo)): Depend on the input file.
46983 2012-08-17 Jeff Law <law@redhat.com>
46985 * intl/Makefile (codeset_mo): New variable.
46986 ($(codeset_mo)): New target.
46987 (tst-codeset.out): Depend on that. Remove explicit rule.
46988 (tst-gettext3.out, tst-gettext5.out): Likewise.
46989 (LOCPATH-ENV, tst-codeset-ENV): New variables.
46990 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46991 * intl/tst-codeset.sh: Remove.
46992 * intl/tst-gettext3.sh: Likewise.
46993 * intl/tst-gettext5.sh: Likewise.
46995 2012-08-17 Roland McGrath <roland@hack.frob.com>
46997 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
46998 * sysdeps/unix/syscalls.list: ... here.
47000 * sysdeps/posix/getaddrinfo.c
47001 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47002 (gaiconf_init, gaiconf_reload): Use them.
47003 [!_STATBUF_ST_NSEC]
47004 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47005 Define using time_t rather than struct timespec.
47007 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47008 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47010 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47012 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47013 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47016 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47017 __libc_cleanup_push argument.
47019 * bits/param.h: New file.
47020 * misc/sys/param.h: New file.
47021 * include/sys/param.h: New file.
47022 * misc/Makefile (headers): Add bits/param.h.
47023 * sysdeps/generic/sys/param.h: File removed.
47024 * sysdeps/unix/sysv/linux/bits/param.h: New file.
47025 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47026 * sysdeps/mach/hurd/bits/param.h: New file.
47027 * sysdeps/mach/hurd/sys/param.h: File removed.
47029 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47032 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47034 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47035 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47038 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47039 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47040 rather than -D_IO_MTSAFE_IO conditionally.
47041 * stdio-common/Makefile (CPPFLAGS): Likewise.
47042 * wcsmbs/Makefile (CPPFLAGS): Likewise.
47043 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47044 Use $(libio-mtsafe).
47045 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47046 of -D_IO_MTSAFE_IO.
47047 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47048 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47049 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47050 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47051 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47052 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47053 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47054 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47055 (CFLAGS-fread_u_chk.c): Likewise.
47056 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47057 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47058 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47059 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47060 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47061 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47062 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47063 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47064 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47066 * libio/Makefile: Test [$(libc-reentrant) = yes]
47067 instead of [$(filter %REENTRANT, $(defines)) nonempty].
47070 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47071 * sysdeps/pthread/configure: File removed.
47072 * sysdeps/pthread/Makeconfig: New file.
47073 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47074 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47076 2012-08-16 Gary Benson <gbenson@redhat.com>
47078 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47079 unmapping the first object in a namespace.
47081 2012-08-16 Roland McGrath <roland@hack.frob.com>
47083 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47084 (__internal_setnetgrent): ... this. Add internal_function to
47085 definition. Add libc_hidden_def.
47086 (setnetgrent): Update caller.
47087 (internal_endnetgrent): Renamed to ...
47088 (__internal_endnetgrent): ... this. Add internal_function to
47089 definition. Add libc_hidden_def.
47090 (endnetgrent): Update caller.
47091 (internal_getnetgrent_r): Renamed to ...
47092 (__internal_getnetgrent_r): ... this. Add internal_function to
47093 definition. Add libc_hidden_def.
47094 (__getnetgrent_r): Update caller.
47095 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
47097 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47099 * stdlib/longlong.h: Update from GCC.
47101 2012-08-16 Roland McGrath <roland@hack.frob.com>
47103 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47104 on _QL, which is set by umul_ppmm but never used.
47105 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47106 variables, which are set by GMP macros but never used.
47107 * stdio-common/_itowa.c (_itowa): Likewise.
47108 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47109 * stdlib/mod_1.c (mpn_mod_1): Likewise.
47111 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
47113 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47114 struct La_sh_regs is not constant.
47115 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47116 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47117 and struct La_sparc64_regs are not constant.
47119 2012-08-16 Joseph Myers <joseph@codesourcery.com>
47121 * sysdeps/unix/sysv/linux/kernel-features.h
47122 (__ASSUME_POSIX_TIMERS): Remove.
47123 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47124 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47125 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47126 Make code unconditional.
47127 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47128 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47129 Make code unconditional.
47130 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47131 * sysdeps/unix/sysv/linux/clock_nanosleep.c
47132 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47133 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47134 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47135 Make code unconditional.
47136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47137 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47138 (__libc_missing_posix_timers): Remove.
47140 2012-08-15 Roland McGrath <roland@hack.frob.com>
47142 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47143 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47145 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47147 * elf/dl-sym.c: Include <stdlib.h>.
47149 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47150 constants, which avoids warnings in 32-bit builds.
47152 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47153 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47155 * misc/lseek.c: File moved to ...
47156 * io/lseek.c: ... here.
47158 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47160 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47161 shifting LEN more than 31 bits at once.
47163 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47166 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47167 segmentation fault for a case of two empty input strings.
47168 * string/test-strncasecmp.c (check1): Renamed to...
47169 (bz12205): ...this.
47170 (bz14195): Add new testcase for two empty input strings and N > 0.
47171 (test_main): Call new testcase, adapt for renamed function.
47173 2012-08-15 Andreas Jaeger <aj@suse.de>
47176 * crypt/md5test2.c: New test, based on test supplied by Serge
47177 Belyshev <belyshev@depni.sinp.msu.ru>.
47178 * crypt/Makefile (xtests): Add md5test-giant..
47179 * crypt/Makefile ($(objpfx)md5test-giant): Add.
47181 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
47184 * crypt/md5.c (md5_process_block): Don't assume the buffer
47185 length is less than 2**32.
47186 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47187 length is less than 2**64.
47189 2012-08-15 Roland McGrath <roland@hack.frob.com>
47191 * string/str-two-way.h: Include <sys/param.h>.
47192 (MAX): Macro removed.
47194 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47195 Move #define and #undef of memmove to just before and after
47196 including <string.h>.
47198 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47199 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47200 and after including <string.h>. Move declarations of
47201 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47202 to before #include "string/memmove.c".
47204 * include/dirent.h: Declare __getdirentries.
47206 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47207 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47209 2012-08-14 Mike Frysinger <vapier@gentoo.org>
47211 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47212 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47213 * sysdeps/i386/configure: Regenerated.
47214 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47215 STABS_CURRENT_FILE, and STABS_FUN.
47216 (END): Remove call to STABS_FUN_END.
47217 (STABS_CURRENT_FILE1): Delete.
47218 (STABS_CURRENT_FILE): Likewise.
47219 (STABS_FUN): Likewise.
47220 (STABS_FUN_END): Likewise.
47221 (STABS_FUN2): Likewise.
47222 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47223 * sysdeps/x86_64/configure: Regenerated.
47225 2012-08-14 Roland McGrath <roland@hack.frob.com>
47227 * elf/dl-open.c: Include <atomic.h>.
47228 * elf/dl-lookup.c: Likewise.
47230 2012-08-14 Joseph Myers <joseph@codesourcery.com>
47232 * sysdeps/unix/sysv/linux/kernel-features.h
47233 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47234 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47236 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47238 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47239 condition on __ASSUME_CLONE_THREAD_FLAGS.
47241 2012-08-14 Andreas Jaeger <aj@suse.de>
47243 * sysdeps/i386/fpu/libm-test-ulps: Update.
47245 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
47247 * include/atomic.h (atomic_exchange_and_add): Split into ...
47248 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47251 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
47253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47255 2012-08-13 Jeff Law <law@redhat.com>
47257 * manual/stdio.texi (snprintf): Clarify handling of the trailing
47258 null byte in the output string.
47260 2012-08-10 Joseph Myers <joseph@codesourcery.com>
47262 * sysdeps/unix/sysv/linux/kernel-features.h
47263 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47264 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47265 (__ASSUME_ARG_MAX_STACK_BASED): Define.
47266 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47267 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47268 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
47269 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47271 2012-08-09 Jeff Law <law@redhat.com>
47274 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47275 When avoid_arena is set, don't retry in the that arena. Pick the
47276 next one, whatever it might be.
47277 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47278 (arena_lock): Pass in new parameter to arena_get2.
47279 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47281 (__libc_malloc): Unify retrying after main arena failure with
47282 __libc_memalign version.
47283 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47285 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
47288 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47289 to __redirect_strstr.
47290 (__strstr_sse42): Use typeof __redirect_strstr.
47291 (__strstr_ia32): Likewise.
47292 (__libc_strstr): New prototype.
47293 (strstr): Renamed to ...
47294 (__libc_strstr): This.
47295 (strstr): New strong alias of __libc_strstr.
47296 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47297 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47300 (__libc_time): New prototype.
47301 (time_ifunc): Replace time with __libc_time.
47302 (time): New strong alias and hidden definition of __libc_time.
47303 (__GI_time): Remove strong alias.
47304 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47305 Include <stddef.h>.
47306 (memmove): Redefined to __redirect_memmove.
47307 (__memmove_sse2): Use typeof __redirect_memmove.
47308 (__memmove_ssse3): Likewise.
47309 (__memmove_ssse3_back): Likewise.
47310 (__libc_memmove): New prototype.
47311 (memmove): Renamed to ...
47312 (__libc_memmove): This.
47313 (memmove): New strong alias of __libc_memmove.
47315 2012-08-08 Mark Salter <msalter@redhat.com>
47318 (R_MN10300_TLS_GD): Define.
47319 (R_MN10300_TLS_LD): Likewise.
47320 (R_MN10300_TLS_LDO): Likewise.
47321 (R_MN10300_TLS_GOTIE): Likewise.
47322 (R_MN10300_TLS_IE): Likewise.
47323 (R_MN10300_TLS_LE): Likewise.
47324 (R_MN10300_TLS_DTPMOD): Likewise.
47325 (R_MN10300_TLS_DTPOFF): Likewise.
47326 (R_MN10300_TLS_TPOFF): Likewise.
47327 (R_MN10300_SYM_DIFF): Likewise.
47328 (R_MN10300_ALIGN): Likewise.
47329 (R_MN10300_NUM): Update.
47331 2012-08-08 Joseph Myers <joseph@codesourcery.com>
47333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47336 2012-08-08 Roland McGrath <roland@hack.frob.com>
47338 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47340 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47341 sysdeps/unix -> sysdeps/posix move.
47342 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47344 2012-08-07 Allan McRae <allan@archlinux.org>
47347 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47348 (SUNOS_CPP): Likewise.
47349 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47351 (open_input): Call CPP using execvp.
47353 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47355 * sysdeps/unix/sysv/linux/kernel-features.h
47356 (__ASSUME_PROT_GROWSUPDOWN): Remove.
47357 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47358 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47359 (__ASSUME_WAITID_SYSCALL): Likewise.
47360 * sysdeps/unix/sysv/linux/dl-execstack.c
47361 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47362 code unconditional.
47363 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47365 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47366 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47367 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47369 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47371 [__ASSUME_WAITID_SYSCALL]: Likewise.
47372 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47374 2012-08-07 Roland McGrath <roland@hack.frob.com>
47376 * sysdeps/unix/closedir.c: Renamed to ...
47377 * sysdeps/posix/closedir.c: ... here.
47378 * sysdeps/unix/dirfd.c: Renamed to ...
47379 * sysdeps/posix/dirfd.c: ... here.
47380 * sysdeps/unix/dirstream.h: Renamed to ...
47381 * sysdeps/posix/dirstream.h: ... here.
47382 * sysdeps/unix/fdopendir.c: Renamed to ...
47383 * sysdeps/posix/fdopendir.c: ... here.
47384 * sysdeps/unix/opendir.c: Renamed to ...
47385 * sysdeps/posix/opendir.c: ... here.
47386 * sysdeps/unix/readdir.c: Renamed to ...
47387 * sysdeps/posix/readdir.c: ... here.
47388 * sysdeps/unix/readdir_r.c: Renamed to ...
47389 * sysdeps/posix/readdir_r.c: ... here.
47390 * sysdeps/unix/rewinddir.c: Renamed to ...
47391 * sysdeps/posix/rewinddir.c: ... here.
47392 * sysdeps/unix/seekdir.c: Renamed to ...
47393 * sysdeps/posix/seekdir.c: ... here.
47394 * sysdeps/unix/telldir.c: Renamed to ...
47395 * sysdeps/posix/telldir.c: ... here.
47396 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47397 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47398 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47399 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47401 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47402 * bits/fcntl.h: ... here.
47404 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47406 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47407 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47408 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47409 (struct flock): Move l_start, l_len to the beginning.
47410 Use __pid_t for l_pid.
47411 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47412 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47413 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47414 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47415 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47416 [__USE_LARGEFILE64] (struct flock64): New type.
47417 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47419 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47420 * bits/dirent.h: ... here.
47422 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47423 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47425 2012-08-07 Joseph Myers <joseph@codesourcery.com>
47427 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47428 Change from 2.6.0 to 2.6.16.
47429 * sysdeps/unix/sysv/linux/configure: Regenerated.
47430 * sysdeps/unix/sysv/linux/kernel-features.h
47431 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47432 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47434 (__ASSUME_UTIMES): Likewise.
47435 (__ASSUME_CLONE_STOPPED): Remove.
47436 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47437 architectures, not kernel version.
47438 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47439 (__ASSUME_NO_CLONE_DETACHED): Likewise.
47440 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47441 (__ASSUME_WAITID_SYSCALL): Likewise.
47442 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47443 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47444 * README: State 2.6.16 as minimum Linux kernel version. Do not
47445 refer to older versions.
47447 2012-08-06 Roland McGrath <roland@hack.frob.com>
47449 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47450 Define alphasort64 as an alias.
47451 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47452 Define versionsort64 as an alias.
47453 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47454 Define scandir64 as an alias.
47455 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47456 Define scandirat64 as an alias.
47457 * dirent/alphasort64.c (alphasort64):
47458 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47459 * dirent/versionsort64.c: Likewise.
47460 * dirent/scandir64.c: Likewise.
47461 * dirent/scandirat64.c: Likewise.
47462 * sysdeps/wordsize-64/alphasort.c: File removed.
47463 * sysdeps/wordsize-64/alphasort64.c: File removed.
47464 * sysdeps/wordsize-64/scandir.c: File removed.
47465 * sysdeps/wordsize-64/scandir64.c: File removed.
47466 * sysdeps/wordsize-64/scandirat.c: File removed.
47467 * sysdeps/wordsize-64/scandirat64.c: File removed.
47468 * sysdeps/wordsize-64/versionsort.c: File removed.
47469 * sysdeps/wordsize-64/versionsort64.c: File removed.
47470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47471 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47472 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47473 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47474 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47475 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47476 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47477 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47479 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47480 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47481 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47482 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47483 [defined __arch64__ || defined __sparcv9]
47484 (__INO_T_MATCHES_INO64_T): New macro.
47485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47486 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47487 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47488 * sysdeps/unix/sysv/linux/bits/dirent.h
47489 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47490 (_DIRENT_MATCHES_DIRENT64): New macro.
47492 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47493 Define lockf64 as an alias.
47494 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47495 Define fseeko64 as an alias.
47496 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47497 Define ftello64 as an alias.
47498 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47499 Define _IO_fgetpos64 and fgetpos64 as aliases.
47500 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47501 Define _IO_fsetpos64 and fsetpos64 as aliases.
47502 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47503 Conditionalize body on this.
47504 * libio/fseeko64.c: Likewise.
47505 * libio/ftello64.c: Likewise.
47506 * libio/iofgetpos64.c: Likewise.
47507 * libio/iofsetpos64.c: Likewise.
47508 * sysdeps/wordsize-64/lockf.c: File removed.
47509 * sysdeps/wordsize-64/lockf64.c: File removed.
47510 * sysdeps/wordsize-64/fseeko.c: File removed.
47511 * sysdeps/wordsize-64/fseeko64.c: File removed.
47512 * sysdeps/wordsize-64/ftello.c: File removed.
47513 * sysdeps/wordsize-64/ftello64.c: File removed.
47514 * sysdeps/wordsize-64/iofgetpos.c: File removed.
47515 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47516 * sysdeps/wordsize-64/iofsetpos.c: File removed.
47517 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47518 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47519 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47520 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47521 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47522 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47523 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47524 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47525 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47526 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47527 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47529 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47530 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47531 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47532 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47533 [defined __arch64__ || defined __sparcv9]
47534 (__OFF_T_MATCHES_OFF64_T): New macro.
47535 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47536 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47538 (__OFF_T_MATCHES_OFF64_T): New macro.
47540 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47542 * stdlib/secure-getenv.c (__secure_getenv): Replace
47543 GLIBC_2_16 with GLIBC_2_17.
47545 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
47547 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47548 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47550 2012-08-03 David S. Miller <davem@davemloft.net>
47552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47554 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47556 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47558 (__ASSUME_CORRECT_SI_PID): Likewise.
47559 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47560 (__ASSUME_TMPFS_NAME): Likewise.
47561 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47562 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47563 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47564 (HAVE_AUX_SECURE): Make definition unconditional.
47565 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47566 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47568 2012-08-03 Roland McGrath <roland@hack.frob.com>
47570 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47571 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47572 * sysdeps/mach/hurd/eloop-threshold.h: New file.
47573 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47574 __eloop_threshold instead of SYMLOOP_MAX.
47576 * sysdeps/generic/eloop-threshold.h: New file.
47577 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47579 * elf/chroot_canon.c (chroot_canon): Likewise.
47581 2012-08-03 Joseph Myers <joseph@codesourcery.com>
47584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47585 Change to 2.6.0 everywhere.
47586 * sysdeps/unix/sysv/linux/configure: Regenerated.
47587 * sysdeps/unix/sysv/linux/kernel-features.h
47588 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47589 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47591 (__ASSUME_POSIX_TIMERS): Define unconditionally.
47592 (__ASSUME_FUTEX_REQUEUE): Remove.
47593 (__ASSUME_STATFS64): Define unconditionally.
47594 (__ASSUME_AT_SECURE): Likewise.
47595 (__ASSUME_CORRECT_SI_PID): Likewise.
47596 (__ASSUME_TGKILL): Define without depending on kernel version for
47598 (__ASSUME_UTIMES): Likewise.
47599 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47601 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47602 (__ASSUME_TMPFS_NAME): Likewise.
47603 * README: Update reference to Linux kernel versions.
47605 2012-08-02 Marek Polacek <polacek@redhat.com>
47608 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
47609 libc_cv_asm_type_prefix with %.
47610 * configure: Regenerated.
47611 * include/libc-symbols.h: Remove comment about
47612 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47613 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47614 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47615 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47616 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47617 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47618 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47619 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47620 * elf/tst-unique2mod1.c: Likewise.
47621 * elf/tst-unique1mod2.c: Likewise.
47622 * elf/tst-unique1mod1.c: Likewise.
47623 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47624 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47625 Replace ASM_TYPE_DIRECTIVE with .type.
47626 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47627 * sysdeps/i386/sysdep.h: Likewise.
47628 * sysdeps/x86_64/sysdep.h: Likewise.
47629 * sysdeps/sh/sysdep.h: Likewise.
47630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47631 Do not define ASM_TYPE_DIRECTIVE.
47632 * sysdeps/powerpc/sysdep.h: Likewise.
47633 * sysdeps/powerpc/powerpc32/sysdep.h:
47634 Replace ASM_TYPE_DIRECTIVE with .type.
47635 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47636 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47637 * sysdeps/i386/fpu/e_powf.S: Likewise.
47638 * sysdeps/i386/fpu/e_expl.S: Likewise.
47639 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47640 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47641 * sysdeps/i386/fpu/e_pow.S: Likewise.
47642 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47643 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47644 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47645 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47646 * sysdeps/i386/fpu/e_log2.S: Likewise.
47647 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47648 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47649 * sysdeps/i386/fpu/e_powl.S: Likewise.
47650 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47651 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47652 * sysdeps/i386/fpu/e_logl.S: Likewise.
47653 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47654 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47655 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47656 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47657 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47658 * sysdeps/i386/fpu/e_log.S: Likewise.
47659 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47660 * sysdeps/i386/fpu/e_logf.S: Likewise.
47661 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47662 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47663 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47664 * sysdeps/i386/fpu/e_log10.S: Likewise.
47665 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47667 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47668 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47669 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47670 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47671 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47672 * sysdeps/i386/i686/strtok.S: Likewise.
47673 * sysdeps/i386/i386-mcount.S: Likewise.
47674 * sysdeps/i386/strtok.S: Likewise.
47675 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47676 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47677 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47678 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47679 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47680 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47681 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47682 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47683 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47684 * sysdeps/x86_64/_mcount.S: Likewise.
47685 * sysdeps/x86_64/strtok.S: Likewise.
47686 * sysdeps/sh/_mcount.S: Likewise.
47688 2012-08-01 Roland McGrath <roland@hack.frob.com>
47690 * libio/iofopen.c: Include <fcntl.h>.
47691 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47692 (_IO_fopen64, fopen64): Define as aliases.
47693 * libio/iofopen64.c: Include <fcntl.h>.
47694 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47695 Conditionalize body on this.
47696 * sysdeps/wordsize-64/iofopen.c: File removed.
47697 * sysdeps/wordsize-64/iofopen64.c: File removed.
47699 2012-08-01 Marek Polacek <polacek@redhat.com>
47701 * libc/Makeconfig: Use elf in place of binfmt-subdir.
47702 Use dlfcn directly instead of a variable.
47703 (binfmt-subdir): Do not define.
47706 2012-08-01 Joseph Myers <joseph@codesourcery.com>
47708 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47709 Remove all definitions.
47710 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47711 <kernel-features.h>.
47712 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47713 (miss_F_GETOWN_EX): Remove all definitions.
47714 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47716 [!__ASSUME_FCNTL64]: Remove conditional code.
47717 [__ASSUME_FCNTL64]: Make code unconditional.
47718 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47719 <kernel-features.h>.
47720 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47721 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47722 (lockf64) [__NR_fcntl64]: Make code unconditional.
47723 (lockf64) [__ASSUME_FCNTL64]: Likewise.
47725 * sysdeps/unix/sysv/linux/kernel-features.h
47726 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47727 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47728 Make code unconditional.
47729 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47730 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47732 [__NR_vfork]: Make code unconditional.
47733 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47734 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47736 [__NR_vfork]: Make code unconditional.
47737 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47738 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47740 2012-08-01 Roland McGrath <roland@hack.frob.com>
47742 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47743 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47745 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47746 Define mkstemp64 as an alias.
47747 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47748 Define mkstemps64 as an alias.
47749 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47750 Define mkostemp64 as an alias.
47751 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47752 Define mkostemps64 as an alias.
47753 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47754 Conditionalize body on this.
47755 * misc/mkostemp64.c: Likewise.
47756 * misc/mkostemps64.c: Likewise.
47757 * misc/mkstemps64.c: Likewise.
47758 * sysdeps/wordsize-64/mkstemp64.c: File removed.
47759 * sysdeps/wordsize-64/mkostemp64.c: File removed.
47760 * sysdeps/wordsize-64/mkostemp.c: File removed.
47761 * sysdeps/wordsize-64/mkstemp.c: File removed.
47762 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47764 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47768 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47769 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47770 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47771 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47773 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47774 compat_symbol macros from <shlib-compat.h> rather than the underlying
47775 default_symbol_version and symbol_version macros, so that DEFAULT
47776 lines in shlib-versions are respected.
47777 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47779 2012-08-01 Florian Weimer <fweimer@redhat.com>
47781 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47782 Declare with warn_unused_result.
47783 (setgid, setregid, setegid, setresgid): Likewise.
47784 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47786 * WUR-REPORT: Remove set*id functions.
47788 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
47790 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47792 2012-07-31 Roland McGrath <roland@hack.frob.com>
47795 * include/sys/socket.h (__libc_accept, __libc_accept4):
47796 Add attribute_hidden.
47797 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47799 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47801 * inet/getnetgrent_r.c (setup): Likewise.
47803 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47805 2012-07-31 David S. Miller <davem@davemloft.net>
47807 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47809 2012-07-31 Joseph Myers <joseph@codesourcery.com>
47812 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47813 value between 1.0 and 2.0 and smaller part has absolute value less
47815 * math/s_clog10.c (__clog10): Likewise.
47816 * math/s_clog10f.c (__clog10f): Likewise.
47817 * math/s_clog10l.c (__clog10l): Likewise.
47818 * math/s_clogf.c (__clogf): Likewise.
47819 * math/s_clogl.c (__clogl): Likewise.
47820 * math/libm-test.inc (clog_test): Add more tests.
47821 (clog10_test): Likewise.
47822 * sysdeps/i386/fpu/libm-test-ulps: Update.
47823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47825 2012-07-31 Florian Weimer <fweimer@redhat.com>
47827 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47828 Exit with zero in case no suitable GID is found, and write a
47829 message to standard error.
47831 2012-07-30 Roland McGrath <roland@hack.frob.com>
47833 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47835 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47836 (MAXPATHLEN): Removed.
47837 (NOGROUP, NODEV): New macros.
47838 (setbit, clrbit, isset, isclr): New macros.
47839 (howmany, roundup, powerof2): New macros.
47840 (DEV_BSIZE): New macro.
47842 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47843 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47845 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47846 definition on [!__NO_LONG_DOUBLE_MATH].
47848 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47849 PTR_MANGLE and PTR_DEMANGLE.
47851 * socket/accept4.c (accept4): Rename to __libc_accept4.
47852 Define accept4 as a weak alias.
47854 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47855 on [_DIRENT_HAVE_D_TYPE].
47856 * io/ftw.c (ftw_dir): Likewise.
47858 * io/xmknod.c (__xmknod): Don't check PATH for being null.
47860 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47862 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47863 Use the BSD numbers rather than the arbitrary ones we had.
47864 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47865 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47866 (SIGXCPU, SIGXFSZ): New macros.
47869 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47870 initializer on [_LIBC_REENTRANT].
47872 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47873 definitions inside [_POSIX_MAPPED_FILES].
47875 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47877 * dirent/opendir.c: Include <fcntl.h>.
47879 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47880 (__libc_getspecific): Likewise.
47881 (__libc_key_create): Likewise.
47883 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47884 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47885 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47886 (tmpfile64): Define as alias.
47887 * sysdeps/wordsize-64/tmpfile.c: File removed.
47888 * sysdeps/wordsize-64/tmpfile64.c: File removed.
47889 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47890 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47892 * stdio-common/vfscanf.c: Include <stdbool.h>.
47893 * nss/makedb.c: Likewise.
47894 * stdio-common/_i18n_number.h: Likewise.
47895 * argp/argp-help.c: Likewise.
47896 * posix/wordexp.c: Likewise.
47897 * sysdeps/posix/spawni.c: Likewise.
47898 * nss/nss_files/files-initgroups.c: Likewise.
47899 * stdio-common/reg-modifier.c: Include <stdlib.h>.
47900 * nss/nss_files/files-initgroups.c: Likewise.
47901 * nss/nss_db/db-netgrp.c: Likewise.
47902 * nss/nss_db/db-initgroups.c: Likewise.
47903 * io/fchmodat.c: Include <sys/stat.h>.
47905 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47906 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47908 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47911 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47912 Add multiple inclusion protection.
47914 2012-07-27 David S. Miller <davem@davemloft.net>
47916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47918 2012-07-27 Gary Benson <gbenson@redhat.com>
47921 * elf/rtld.c: Include <stap-probe.h>.
47922 (dl_main): Added static probes "init_start" and "init_complete".
47923 * elf/dl-load.c: Include <stap-probe.h>.
47924 (lose): Take new parameter "nsid".
47925 Added static probe "map_failed".
47926 (_dl_map_object_from_fd): Pass namespace id to lose.
47927 Added static probe "map_start".
47928 (open_verify): Pass namespace id to lose.
47929 * elf/dl-open.c: Include <stap-probe.h>.
47930 (dl_open_worker) Added static probes "map_complete", "reloc_start"
47931 and "reloc_complete".
47932 * elf/dl-close.c: Include <stap-probe.h>.
47933 (_dl_close_worker): Added static probes "unmap_start" and
47935 * elf/rtld-debugger-interface.txt: New file documenting the above.
47937 2012-07-26 Roland McGrath <roland@hack.frob.com>
47939 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47940 rather than a string variable.
47941 * sunrpc/rpc_main.c (h_output): Likewise.
47942 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47944 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
47946 * inet/check_native.c: New file.
47948 2012-07-26 Joseph Myers <joseph@codesourcery.com>
47951 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47952 if larger part has absolute value 1.0.
47953 * math/s_clog10.c (__clog10): Likewise.
47954 * math/s_clog10f.c (__clog10f): Likewise.
47955 * math/s_clog10l.c (__clog10l): Likewise.
47956 * math/s_clogf.c (__clogf): Likewise.
47957 * math/s_clogl.c (__clogl): Likewise.
47958 * math/libm-test.inc (clog_test): Add more tests.
47959 (clog10_test): Likewise.
47960 * sysdeps/i386/fpu/libm-test-ulps: Update.
47961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47963 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47964 (pltexit): Likewise.
47965 (La_regs): Likewise.
47966 (La_retval): Likewise.
47967 (int_retval): Likewise.
47968 Update #error for removed macros to refer only to definitions in
47970 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47972 (pltexit): Likewise.
47973 (La_regs): Likewise.
47974 (La_retval): Likewise.
47975 (int_retval): Likewise.
47976 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47978 (pltexit): Likewise.
47979 (La_regs): Likewise.
47980 (La_retval): Likewise.
47981 (int_retval): Likewise.
47982 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47984 (pltexit): Likewise.
47985 (La_regs): Likewise.
47986 (La_retval): Likewise.
47987 (int_retval): Likewise.
47988 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47990 (pltexit): Likewise.
47991 (La_regs): Likewise.
47992 (La_retval): Likewise.
47993 (int_retval): Likewise.
47994 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47996 (pltexit): Likewise.
47997 (La_regs): Likewise.
47998 (La_retval): Likewise.
47999 (int_retval): Likewise.
48000 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48002 (pltexit): Likewise.
48003 (La_regs): Likewise.
48004 (La_retval): Likewise.
48005 (int_retval): Likewise.
48006 * sysdeps/generic/tst-audit.h: Update comment to refer only to
48007 macro definitions in tst-audit.h.
48008 * sysdeps/i386/tst-audit.h: New file.
48009 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48010 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48011 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48012 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48013 * sysdeps/sh/tst-audit.h: Likewise.
48014 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48015 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48016 * sysdeps/x86_64/tst-audit.h: Likewise.
48018 2012-07-26 Andreas Jaeger <aj@suse.de>
48020 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48023 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48024 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48025 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48027 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48028 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48029 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48031 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48034 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48036 (si_call_addr, si_syscall, si_arch): Define new macro.
48037 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48039 (si_call_addr, si_syscall, si_arch): Define new marcro.
48040 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48042 (si_call_addr, si_syscall, si_arch): Define new macro.
48043 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48045 (si_call_addr, si_syscall, si_arch): Define new macro.
48047 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48050 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48051 Change to 2.4.21 where previously 2.4.1.
48052 * sysdeps/unix/sysv/linux/configure: Regenerated.
48053 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48054 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48055 Linux kernel version.
48056 (__ASSUME_STD_AUXV): Remove.
48057 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48059 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48060 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48061 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48062 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48063 (__ASSUME_NETLINK_SUPPORT): Likewise.
48064 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48065 (__no_netlink_support): Remove conditional definition.
48066 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48068 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48069 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48070 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48071 (if_nameindex_ioctl): Remove.
48072 (if_nameindex_netlink): Do not handle __no_netlink_support.
48073 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48075 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48076 Remove conditional code.
48077 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48079 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48081 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48082 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48083 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48085 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48086 [!__ASSUME_STD_AUXV]: Remove conditional code.
48087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48088 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48089 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48091 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48092 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48094 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48096 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48097 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48099 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48101 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48104 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48107 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48108 code unconditional.
48109 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48111 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48113 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48116 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48118 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48121 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48122 code unconditional.
48123 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48125 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48127 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48130 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48131 code unconditional.
48132 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48134 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48136 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48139 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
48141 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48142 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48143 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48144 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48145 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48146 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48147 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48148 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48149 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48150 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48151 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48152 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48153 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48154 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48155 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48156 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48157 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48158 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48159 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48161 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48162 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48163 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48165 2012-07-25 Florian Weimer <fweimer@redhat.com>
48167 * Versions.def: Add GLIBC_2.17.
48168 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48169 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48170 Introduce __libc_secure_getenv.
48171 * stdlib/Versions (2.17): Add secure_getenv
48172 (GLIBC_PRIVATE): Add __libc_secure_getenv.
48173 * stdlib/secure-getenv.c: Rename __secure_getenv to
48174 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
48175 symbol __secure_getenv for GLIBC_2.0.
48176 * stdlib/tst-secure-getenv.c: New.
48177 * stdlib/Makefile (tests): Add testcase.
48178 * manual/startup.texi (Environment Access): Document
48180 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48181 __libc_secure_getenv.
48182 * inet/ruserpass.c (ruserpass): Likewise.
48183 * malloc/mtrace.c (mtrace): Likewise.
48184 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48185 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48186 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48187 * sysdeps/posix/tempname.c: Likewise. Evaluate
48188 HAVE_SECURE_GETENV.
48189 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48190 __secure_getenv to __libc_secure_getenv.
48191 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48197 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48198 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48204 2012-07-25 Joseph Myers <joseph@codesourcery.com>
48206 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48207 (struct La_i86_retval): Likewise.
48208 (struct La_x86_64_regs): Likewise.
48209 (struct La_x86_64_retval): Likewise.
48210 (struct La_x32_regs): Likewise.
48211 (struct La_x32_retval): Likewise.
48212 (struct La_ppc32_regs): Likewise.
48213 (struct La_ppc32_retval): Likewise.
48214 (struct La_ppc64_regs): Likewise.
48215 (struct La_ppc64_retval): Likewise.
48216 (struct La_sh_regs): Likewise.
48217 (struct La_sh_retval): Likewise.
48218 (struct La_s390_32_regs): Likewise.
48219 (struct La_s390_32_retval): Likewise.
48220 (struct La_s390_64_regs): Likewise.
48221 (struct La_s390_64_retval): Likewise.
48222 (struct La_sparc32_regs): Likewise.
48223 (struct La_sparc32_retval): Likewise.
48224 (struct La_sparc64_regs): Likewise.
48225 (struct La_sparc64_retval): Likewise.
48226 (struct audit_ifaces): Remove architecture-specific pltenter and
48228 * sysdeps/i386/ldsodefs.h: New file.
48229 * sysdeps/powerpc/ldsodefs.h: Likewise.
48230 * sysdeps/s390/ldsodefs.h: Likewise.
48231 * sysdeps/sh/ldsodefs.h: Likewise.
48232 * sysdeps/sparc/ldsodefs.h: Likewise.
48233 * sysdeps/x86_64/ldsodefs.h: Likewise.
48235 2012-07-25 Marek Polacek <polacek@redhat.com>
48238 * math/libm-test.inc (yn_test): Add another test.
48239 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48240 to ERANGE when the result is +-Inf.
48241 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48242 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48243 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48244 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48246 2012-07-24 Joseph Myers <joseph@codesourcery.com>
48248 * conform/data/time.h-data (NULL): Use macro-constant. Require
48250 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
48252 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
48254 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
48256 * configure.in <sysdeps resolving>: Correct printing
48258 * configure: Regenerate.
48260 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
48262 * math/w_ilogb.c: Include <limits.h>.
48263 * math/w_ilogbl.c: Likewise.
48265 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48267 * manual/lang.texi (__va_copy): Document primarily as ISO C99
48268 va_copy. Document allowing for unavailable va_copy only as
48269 pre-C99 compatibility.
48270 * manual/string.texi (Copying and Concatenation): Use va_copy
48271 instead of __va_copy in concat example.
48273 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
48275 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48276 (__sendto): Use create_address_port. Initialize APORT and deallocate
48279 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48280 with O_NOLINK passed to __file_name_lookup.
48282 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48283 with O_NOLINK passed to __file_name_lookup.
48285 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48286 negative N or less than NGIDS.
48288 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48289 type to string_t. Set ERANGE as errno and return it if NAME is not big
48290 enough. Use memcpy instead of strncpy.
48292 2012-07-20 Joseph Myers <joseph@codesourcery.com>
48294 * elf/Makefile (check-data): Remove.
48295 (localplt.data): New vpath directive.
48296 ($(objpfx)check-localplt.out): Use localplt.data from vpath
48297 instead of $(check-data).
48298 * scripts/data/localplt-generic.data: Move to ...
48299 * sysdeps/generic/localplt.data: ... here.
48300 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48301 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48302 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48305 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48308 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48311 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48312 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48314 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48315 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48317 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48321 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48323 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48324 PPC32 and PPC64 files.
48325 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48326 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48328 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48330 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48331 __makecontext_ret to ...
48332 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48333 ... here and call exit if uc_link is NULL. New file.
48334 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48335 __makecontext_ret.S.
48336 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48337 __makecontext_ret to ...
48338 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48339 ... here and call exit if uc_link is NULL. New file.
48340 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48341 __makecontext_ret.S.
48343 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48345 * elf/elf.h (R_390_IRELATIVE): New definition.
48346 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48347 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
48348 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48349 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48350 (elf_machine_lazy_rel): Likewise.
48351 * sysdeps/s390/dl-irel.h: New file.
48352 * sysdeps/s390/s390-64/memcpy.S: New asm code.
48353 * sysdeps/s390/s390-64/memset.S: New asm code.
48354 * sysdeps/s390/s390-64/memcmp.S: New asm code.
48355 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48356 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48357 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48358 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48359 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48360 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48361 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48362 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48363 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48364 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48365 * sysdeps/s390/s390-32/memcpy.S: New asm code.
48366 * sysdeps/s390/s390-32/memset.S: New asm code.
48367 * sysdeps/s390/s390-32/memcmp.S: New asm code.
48369 2012-07-17 Marek Polacek <polacek@redhat.com>
48372 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48373 * sysdeps/s390/s390-64/configure.in: Likewise.
48374 * sysdeps/sparc/configure.in: Likewise.
48375 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48376 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48377 * sysdeps/i386/configure.in: Likewise.
48378 * sysdeps/x86_64/configure.in: Likewise.
48379 * sysdeps/sh/configure.in: Likewise.
48380 * sysdeps/s390/s390-32/configure: Regenerated.
48381 * sysdeps/s390/s390-64/configure: Likewise.
48382 * sysdeps/x86_64/configure: Likewise.
48383 * sysdeps/sh/configure: Likewise.
48384 * sysdeps/powerpc/powerpc64/configure: Likewise.
48385 * sysdeps/powerpc/powerpc32/configure: Likewise.
48386 * sysdeps/sparc/configure: Likwise.
48387 * sysdeps/i386/configure: Likewise.
48389 * elf/dl-open.c: Comment fixes.
48391 2012-07-17 Joseph Myers <joseph@codesourcery.com>
48393 * Makefile [CXX] (check-data): Remove.
48394 [CXX] (c++-types.data): New vpath directive.
48395 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48396 vpath. Do not allow for C++ type data being missing.
48397 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48398 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48399 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48400 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48401 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48402 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48403 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48406 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48409 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48412 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48415 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48416 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48418 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48421 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48424 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48427 * elf/tls-macros.h (TLS_LE): Move architecture-specific
48428 definitions to architecture-specific files.
48429 (TLS_IE): Likewise.
48430 (TLS_LD): Likewise.
48431 (TLS_GD): Likewise.
48432 * sysdeps/i386/tls-macros.h: New file.
48433 * sysdeps/powerpc/tls-macros.h: Likewise.
48434 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48435 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48436 * sysdeps/sh/tls-macros.h: Likewise.
48437 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48438 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48439 * sysdeps/x86_64/tls-macros.h: Likewise.
48441 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48443 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48444 zero value for regular exit case.
48446 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48447 (__start_context): Preserve zero value for regular exit case.
48449 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
48450 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48452 * manual/setjmp.texi (setcontext): Clarify normal process
48453 termination when uc_link is the null pointer.
48454 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48457 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
48459 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48460 preprocessor. Test for each exception mask separately.
48462 2012-07-16 Andreas Jaeger <aj@suse.de>
48464 * po/ru.po: Update from translation team.
48466 2012-07-15 Joseph Myers <joseph@codesourcery.com>
48468 * conform/data/string.h-data (NULL): Use macro-constant. Require
48470 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48471 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48472 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48473 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
48476 2012-07-13 Andreas Jaeger <aj@suse.de>
48478 * po/fr.po: Update from translation team.
48480 2012-07-12 Marek Polacek <polacek@redhat.com>
48483 * math/libm-test.inc (yn_test): Add test for BZ #14173.
48484 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48487 2012-07-12 Joseph Myers <joseph@codesourcery.com>
48490 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48491 Change to 2.4.1 where previously 2.4.0.
48492 * sysdeps/unix/sysv/linux/configure: Regenerated.
48493 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48494 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48496 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48497 (__ASSUME_AT_CLKTCK): Remove.
48498 (__ASSUME_AT_PAGESIZE): Likewise.
48499 (__ASSUME_AT_XID): Likewise.
48500 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48501 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48502 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48504 (HAVE_AUX_PAGESIZE): Likewise.
48505 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48506 [__ASSUME_AT_CLKTCK]: Make code unconditional.
48507 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48509 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
48512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48513 the temporary buffer used to invoke __gethostbyname2_r,
48514 __gethostbyaddr_r and gethostbyname4_r to make room for struct
48515 host_data / struct gaih_addrtuple.
48516 * resolv/nss_dns/dns-host.c (global scope): Move definition of
48517 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48518 header file nss/nsswitch.h.
48519 * nss/nsswitch.h (global scope): Add definition of implementation
48520 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48521 resolv/nss_dns/dns-host.c).
48523 2012-07-11 Andreas Jaeger <aj@suse.de>
48525 * po/fr.po: Update from translation team.
48527 * po/sv.po: Update from translation team
48528 * po/fr.po: Another update from translation team.
48530 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48532 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48533 for subnormals or multiply small sinh result by itself.
48534 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48535 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48537 2012-07-11 David S. Miller <davem@davemloft.net>
48539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48541 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
48544 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48545 (INTERNAL_MARK): Shift it here.
48547 2012-07-10 Marek Polacek <polacek@redhat.com>
48550 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
48551 libc_cv_asm_global_directive with .globl.
48552 * configure: Regenerated.
48553 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48555 * sysdeps/i386/configure: Regenerated.
48556 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48558 * sysdeps/x86_64/configure: Regenerated.
48559 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48560 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48561 * elf/tst-unique2mod2.c: Likewise.
48562 * elf/tst-unique2mod1.c: Likewise.
48563 * elf/tst-unique1mod2.c: Likewise.
48564 * elf/tst-unique1mod1.c: Likewise.
48565 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48566 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48567 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48568 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48569 * sysdeps/mach/sysdep.h: Likewise.
48570 * sysdeps/i386/sysdep.h: Likewise.
48571 * sysdeps/i386/i386-mcount.S: Likewise.
48572 * sysdeps/x86_64/_mcount.S: Likewise.
48573 * sysdeps/x86_64/sysdep.h: Likewise.
48574 * sysdeps/sh/_mcount.S: Likewise.
48575 * sysdeps/sh/sysdep.h: Likewise.
48576 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48577 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48578 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48579 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48580 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48581 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48582 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48583 * locale/localeinfo.h: Likewise.
48584 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48585 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48587 2012-07-09 Roland McGrath <roland@hack.frob.com>
48590 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48592 * manual/message.texi (The Uniforum approach): Likewise.
48593 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48594 (glibc iconv Implementation): Likewise.
48596 2012-07-09 Joseph Myers <joseph@codesourcery.com>
48599 * math/s_clog.c (__clog): Avoid scaling a value down where that
48600 could result in underflow.
48601 * math/s_clog10.c (__clog10): Likewise.
48602 * math/s_clog10f.c (__clog10f): Likewise.
48603 * math/s_clog10l.c (__clog10l): Likewise.
48604 * math/s_clogf.c (__clogf): Likewise.
48605 * math/s_clogl.c (__clogl): Likewise.
48606 * math/libm-test.inc (clog_test): Add more tests.
48607 (clog10_test): Likewise.
48608 * sysdeps/i386/fpu/libm-test-ulps: Update.
48609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48611 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
48614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48615 by 7 not 8 to examine high bit of fractional part.
48618 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48619 for call to __mcount_internal.
48620 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48621 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48622 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48624 2012-07-06 Joseph Myers <joseph@codesourcery.com>
48627 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48628 approximation for values within 0x1p-13f of an odd multiple of
48630 * math/libm-test.inc (tan_test): Do not allow spurious underflow
48631 exception. Add more tests.
48632 * sysdeps/i386/fpu/libm-test-ulps: Update.
48635 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48636 inputs and return -1 for them. Do not check for +Inf in case not
48637 reachable for +Inf.
48638 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48639 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48640 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48641 and return -1 for them. Do not check for +Inf in case not
48642 reachable for +Inf.
48643 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48645 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48646 and return -1 for them. Do not check for +Inf in case not
48647 reachable for +Inf.
48648 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
48649 spurious underflow.
48650 * sysdeps/i386/fpu/libm-test-ulps: Update.
48651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48653 2012-07-06 Mike Frysinger <vapier@gentoo.org>
48655 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48657 2012-07-05 Joseph Myers <joseph@codesourcery.com>
48661 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48662 could result in spurious underflow. Scale down values above
48663 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48664 * math/s_csqrtf.c (__csqrtf): Likewise.
48665 * math/s_csqrtl.c (__csqrtl): Likewise.
48666 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
48667 spurious underflow.
48668 * sysdeps/i386/fpu/libm-test-ulps: Update.
48669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48671 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
48673 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48675 * catgets/xopen-msg.awk: New file.
48676 * catgets/xopen-msg.sed: Removed.
48678 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48680 * intl/po2test.awk: New file.
48681 * intl/po2test.sed: Removed.
48683 2012-07-04 Joseph Myers <joseph@codesourcery.com>
48686 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48687 or multiply small sinh result by itself.
48688 * math/s_ctanf.c (__ctanf): Likewise.
48689 * math/s_ctanh.c (__ctanh): Likewise.
48690 * math/s_ctanhf.c (__ctanhf): Likewise.
48691 * math/s_ctanhl.c (__ctanhl): Likewise.
48692 * math/s_ctanl.c (__ctanl): Likewise.
48693 * math/libm-test.inc (ctan_test_tonearest): New function.
48694 (ctan_test_towardzero): Likewise.
48695 (ctan_test_downward): Likewise.
48696 (ctan_test_upward): Likewise.
48697 (ctanh_test_tonearest): Likewise.
48698 (ctanh_test_towardzero): Likewise.
48699 (ctanh_test_downward): Likewise.
48700 (ctanh_test_upward): Likewise.
48701 (main): Call these new functions.
48702 * sysdeps/i386/fpu/libm-test-ulps: Update.
48703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48705 2012-07-03 Mike Frysinger <vapier@gentoo.org>
48707 * .gitignore: Delete /ports entry.
48709 2012-07-03 Andreas Jaeger <aj@suse.de>
48711 * po/bg.po: Update from translation team.
48712 * po/cs.po: Likewise.
48713 * po/de.po: Likewise.
48714 * po/hr.po: Likewise.
48715 * po/nl.pl: Likewise.
48716 * po/pl.po: Likewise.
48717 * po/vi.po: Likewise.
48719 2012-07-03 Joseph Myers <joseph@codesourcery.com>
48721 * Makeconfig [!+link] (+link-before-libc): New variable.
48722 [!+link] (+link-after-libc): Likewise.
48723 [!+link] (+link-tests): Likewise.
48724 [!+link] (+link): Define in terms of $(+link-before-libc) and
48725 $(+link-after-libc).
48726 [!+link-static] (+link-static-before-libc): New variable.
48727 [!+link-static] (+link-static-after-libc): Likewise.
48728 [!+link-static] (+link-static-tests): Likewise.
48729 [!+link-static] (+link-static): Define in terms of
48730 $(+link-static-before-libc) and $(+link-static-after-libc).
48731 [build-shared] (link-libc-before-gnulib): New variable.
48732 [build-shared] (link-libc-tests): Likewise.
48733 [build-shared] (link-libc): Define in terms of
48734 $(link-libc-before-gnulib).
48735 [!build-shared] (link-libc-tests): New variable.
48736 (link-libc-static-tests): New variable.
48737 [!gnulib] (gnulib-arch): New variable.
48738 [!gnulib] (gnulib-tests): Likewise.
48739 [!gnulib] (static-gnulib-arch): Likewise.
48740 [!gnulib] (static-gnulib-tests): Likewise.
48741 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
48742 Define with "=" instead of ":=".
48743 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
48744 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
48745 * Rules (binaries-all-notests): New variable.
48746 (binaries-all-tests): Likewise.
48747 (binaries-static-notests): Likewise.
48748 (binaries-static-tests): Likewise.
48749 (binaries-all): Define using $(binaries-all-notests) and
48750 $(binaries-all-tests).
48751 (binaries-static): Define using $(binaries-static-notests) and
48752 $(binaries-static-tests).
48753 (binaries-shared-tests): New variable.
48754 (binaries-shared-notests): Likewise.
48755 (binaries-shared): Remove variable.
48756 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48757 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48758 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48759 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48760 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48761 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48762 * elf/Makefile (sln-modules): New variable.
48763 (extra-objs): Add $(sln-modules:=.o).
48764 (ldconfig-modules): Add static-stubs.
48765 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48766 * elf/static-stubs.c: New file.
48769 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48770 by 7 not 8 to examine high bit of fractional part. Use volatile
48771 variables when splitting into final array of floats if
48772 __FLT_EVAL_METHOD__ != 0.
48773 * math/libm-test.inc (cos_test): Add another test.
48774 (sin_test): Likewise.
48775 * sysdeps/i386/fpu/libm-test-ulps: Update.
48778 * math/libm-test.inc (cosh_test): Add more tests.
48780 * version.h (RELEASE): Set to "development".
48781 (VERSION): Set to "2.16.90".
48783 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
48785 * NEWS: Update copyright. Remove last-updated date.
48786 Mention math library bug fixes and timezone data changes.
48787 * README: Mention GNU/Hurd, x32, and HPPA support status.
48789 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
48791 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48793 2012-06-27 Andreas Jaeger <aj@suse.de>
48795 * manual/contrib.texi (Contributors): Add Samuel Thibault.
48797 2012-06-25 Andreas Jaeger <aj@suse.de>
48799 * sysdeps/s390/fpu/libm-test-ulps: Update.
48801 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
48802 Thomas Schwinge <thomas@codesourcery.com>
48804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48805 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48806 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48809 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
48811 * sysdeps/mach/start.c: Remove file.
48812 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48813 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48814 * sysdeps/sh/init-first.c: Likewise.
48816 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48817 registers for frame unwinding purposes, add CFI directives.
48818 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48819 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48820 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48823 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48824 __fortify_fail returning.
48825 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48827 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48828 sysdeps/sh/____longjmp_chk.S.
48829 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48830 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48831 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48832 (gen-as-const-headers): Append sigaltstack-offsets.sym.
48834 * sysdeps/sh/abort-instr.h: New file.
48835 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48836 process in case exit returns.
48838 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48839 initialize the GOT register before use.
48841 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48842 calculation of ARGC > 4.
48844 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48845 meaningful names to some local labels.
48847 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48848 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48850 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48851 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48852 (__arch_compare_and_exchange_val_16_acq): Likewise.
48853 (__arch_compare_and_exchange_val_32_acq): Likewise.
48854 (atomic_exchange_and_add): Fix gUSA sequence.
48855 (atomic_add): Likewise.
48856 (atomic_add_negative): Likewise.
48857 (atomic_add_zero): Likewise.
48858 (atomic_bit_test_set): Likewise.
48860 2012-06-22 Andreas Schwab <schwab@redhat.com>
48863 * include/link.h (struct link_map): Add l_free_initfini.
48864 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48866 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48867 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48868 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48871 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
48873 * configure.in: Use AC_LANG_SOURCE.
48874 * configure: Regenerate.
48876 2012-06-22 Roland McGrath <roland@hack.frob.com>
48878 * configure.in (libc_cv_localstatedir): New substituted variable.
48879 * configure: Regenerated.
48880 * config.make.in (localstatedir): New variable, substituted from
48881 libc_cv_localstatedir.
48882 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48883 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48884 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48885 * sysdeps/gnu/configure: Regenerated.
48887 2012-06-21 Jeff Law <law@redhat.com>
48890 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48891 free. Simplify list management for _LIBC case.
48893 2012-06-21 Joseph Myers <joseph@codesourcery.com>
48896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48897 Clear sign bit of 64-bit integer value before comparing against
48900 * sysdeps/mach/configure: Regenerated.
48902 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
48905 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48907 2012-06-21 Jeff Law <law@redhat.com>
48910 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
48911 uint16_t for elements in the "seen" array to avoid char overflows.
48912 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48913 * elf/dl-open.c (dl_open_worker): Likewise.
48915 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
48917 * scripts/list-sources.sh: Scan PORTS for translations.
48918 * po/libc.pot: Regenerated.
48920 2012-06-21 Andreas Jaeger <aj@suse.de>
48923 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48925 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48926 * bits/byteswap-16.h (__bswap_16): Likewise.
48927 * bits/byteswap.h (__bswap_constant_16): Likewise.
48929 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
48932 * sysdeps/i386/fpu_control.h: Removed.
48933 * sysdeps/x86_64/fpu_control.h: Moved to ...
48934 * sysdeps/x86/fpu_control.h: Here.
48936 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48937 (_FPU_SETCW): Likewise.
48939 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
48942 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48943 * sysdeps/x86/fpu/bits/mathinline.h: This.
48944 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48948 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48949 functions if __x86_64__ is defined.
48951 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
48953 * string/endian.h: Add !__ASSEMBLER__ condition for including
48954 conversion interfaces.
48956 2012-06-15 Joseph Myers <joseph@codesourcery.com>
48959 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48960 of ABS(x) in calculating zero to negative powers other than odd
48962 * math/libm-test.inc (pow_test): Add more tests.
48964 2012-06-15 Andreas Jaeger <aj@suse.de>
48966 * manual/contrib.texi (Contributors): Update entry of Liubov
48967 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48970 2012-06-15 Cyril Hrubis <metan@ucw.cz>
48972 * string/string.h: Add __wur to GNU version of strerror_r.
48974 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
48977 * string/Makefile (tests): Add tst-strtok_r.
48978 * string/tst-strtok_r.c: New file.
48979 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48980 RAX_LP/RDX_LP on SAVE_PTR.
48982 2012-06-14 Roland McGrath <roland@hack.frob.com>
48984 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48986 2012-06-14 Joseph Myers <joseph@codesourcery.com>
48988 * libm_test.inc (csqrt_test): Allow more spurious underflow
48990 (j0_test): Likewise.
48991 (j1_test): Likewise.
48992 (y0_test): Likewise.
48993 (y1_test): Likewise.
48995 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
48997 * po/Makefile (libc.pot): Use UTF-8 charset.
48999 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
49002 Suppress sign-conversion warning from FD_SET.
49003 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49004 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49005 not unsigned long int.
49006 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49008 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
49012 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49013 __extern_always_inline instead of __extern_inline.
49014 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49015 (__signbit): Likewise.
49016 (__signbitl): Support C++ namespace.
49017 (lrintf): New inline function.
49019 (llrintf): Likewise.
49020 (llrint): Likewise.
49030 (floorf): Likewise.
49031 (nearbyint): Likewise.
49032 (nearbyintf): Likewise.
49034 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
49036 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49037 non-default versions.
49039 2012-06-11 Roland McGrath <roland@hack.frob.com>
49042 * manual/argp.texi (Argp): Reword argp_parse description slightly.
49044 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
49046 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49047 (FE_UPWARD, FE_DOWNWARD): Don't define.
49048 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49049 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49051 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49053 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49054 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49056 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49058 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49059 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49060 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49061 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49063 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
49066 * sysdeps/i386/fpu/bits/fenv.h: Removed.
49067 * sysdeps/i386/fpu/Implies: New file.
49068 * sysdeps/x86_64/fpu/Implies: Likewise.
49069 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49070 * sysdeps/x86/fpu/bits/fenv.h: This.
49072 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49075 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
49078 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49079 character 0xffff that matches the last element of the
49082 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49084 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49087 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49089 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49090 values higher than 25.6283.
49092 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49094 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49095 subnormal exponent extraction and add some __builtin_expect.
49096 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49097 Fix for subnormal mantissa calculation.
49099 2012-06-04 Mike Frysinger <vapier@gentoo.org>
49101 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49102 cpu2 is -1 and errno is not ENOSYS.
49104 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
49107 * sysdeps/i386/i486/bits/string.h: Renamed to ...
49108 * sysdeps/x86/bits/string.h: This.
49109 * sysdeps/x86_64/bits/string.h: Removed.
49111 * sysdeps/i386/i486/bits/string.h: Define inline functions only
49112 if not compiling for x86-64, but compiling for >= i486.
49114 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49115 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49117 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49118 New macro from Linux kernel 3.4.0.
49119 (FP_XSTATE_MAGIC2): Likewise.
49120 (FP_XSTATE_MAGIC2_SIZE): Likewise.
49121 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49122 (struct _fpx_sw_bytes): New struct.
49123 (struct _xsave_hdr): Likewise.
49124 (struct _ymmh_state): Likewise.
49125 (struct _xstate): Likewise.
49127 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49128 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49129 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49130 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49131 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49132 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49134 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49135 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49136 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49137 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49138 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49139 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49141 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49144 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49145 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49146 (sysdep_headers): Include sys/platform/ppc.h.
49147 * sysdeps/powerpc/test-gettimebase.c: Test for
49148 __ppc_get_timebase() to catch future ISA opcode/insn changes.
49149 * manual/Makefile (appendices): Include platform.texi.
49150 * manual/contrib.texi (Contributors): Update @node pointers.
49151 * manual/maint.texi (Maintenance): Likewise.
49152 (Platform): New node.
49153 * manual/platform.texi: New file. Document the new features.
49155 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
49156 Jakub Jelinek <jakub@redhat.com>
49159 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49160 where __builtin_expect is unavailable.
49162 2012-06-03 David S. Miller <davem@davemloft.net>
49164 * stdlib/longlong.h: Updated from GCC.
49166 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
49169 * sysdeps/powerpc/powerpc32/mcount.c: New file.
49170 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49173 (GLIBC_2.16): Likewise.
49175 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49177 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49179 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49182 (default-abi): New variable.
49183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49184 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49186 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49188 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49190 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49193 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49194 definition. Document in comment.
49196 2012-06-01 David S. Miller <davem@davemloft.net>
49198 * stdlib/longlong.h: Updated from GCC.
49200 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49203 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49204 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49205 sys/debugreg.h sys/io.h here.
49206 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49207 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49209 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49210 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49211 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49212 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49213 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49214 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49216 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49217 Define only if __x86_64__ is defined.
49219 2012-06-01 Joseph Myers <joseph@codesourcery.com>
49222 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49223 Use int64_t for variable i.
49224 * math/libm-test.inc (fmod_test): Add more tests.
49226 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49227 z computation is not scheduled after fetestexcept.
49228 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49229 Use math_force_eval instead of asm to ensure calculation scheduled
49230 before exception test.
49231 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49232 Ensure a1 + u.d computation is not scheduled after fetestexcept.
49234 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
49236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49237 computation is not scheduled after fetestexcept.
49239 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
49242 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49243 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49245 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49247 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49248 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49250 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49253 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49255 (__WCHAR_MIN): Support __WORDSIZE == 64.
49256 (__WCHAR_MAX): Likewise.
49258 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49259 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49262 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49263 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49266 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49267 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49269 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49270 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49272 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49273 Defined to 1 if __x86_64__ isn't defined.
49274 (_STAT_VER_LINUX_OLD): New.
49275 (st_atime): Remove duplicate.
49276 (st_mtime): Likewise.
49277 (st_ctime): Likewise.
49279 2012-05-31 David S. Miller <davem@davemloft.net>
49281 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49284 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
49286 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49290 * elf/dl-reloc.c: Include <_itoa.h>.
49291 (_dl_reloc_bad_type): Remove use of INTUSE.
49292 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49293 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49294 * stdio-common/psiginfo.c (psiginfo): Likewise.
49295 * stdio-common/psignal.c (psignal): Likewise.
49296 * string/strsignal.c (strsignal): Likewise.
49297 * include/signal.h (_sys_siglist): Declare hidden proto.
49298 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
49299 INTVARDEF with libc_hidden_data_def.
49300 * stdio-common/itoa-udigits.c: Likewise.
49301 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49302 (_itoa_lower_digits_internal): Remove declaration.
49303 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49304 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49305 (_sys_sigabbrev_internal): Remove aliases.
49306 (_sys_siglist): Define hidden alias.
49308 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
49310 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49313 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
49316 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49317 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49319 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49320 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49321 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49322 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49323 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49324 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49326 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49327 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49328 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49330 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49338 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49339 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49340 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49342 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49343 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49344 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49345 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49346 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49347 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49349 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49350 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49352 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49353 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49355 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49357 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49359 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49360 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49362 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49364 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49365 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49366 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49368 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49370 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49372 2012-05-31 Joseph Myers <joseph@codesourcery.com>
49374 * math/math.h (M_El): Use two more decimal places.
49375 (M_LOG2El): Likewise.
49376 (M_LOG10El): Likewise.
49377 (M_LN2l): Likewise.
49378 (M_LN10l): Likewise.
49380 (M_PI_2l): Likewise.
49381 (M_PI_4l): Likewise.
49382 (M_1_PIl): Likewise.
49383 (M_2_PIl): Likewise.
49384 (M_2_SQRTPIl): Likewise.
49385 (M_SQRT2l): Likewise.
49386 (M_SQRT1_2l): Likewise.
49388 2012-05-31 David S. Miller <davem@davemloft.net>
49390 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49391 values between float registers.
49392 * sysdeps/sparc/sparc64/memset.S: Likewise.
49393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49395 2012-05-31 Mike Frysinger <vapier@gentoo.org>
49397 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49398 -D_FORTIFY_SOURCE=1.
49399 (CPPFLAGS-tst-longjmp_chk.c): Define.
49400 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49401 (CPPFLAGS-tst-longjmp_chk2.c): Define.
49402 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49403 CFLAGS-tst-wchar-h.c.
49405 2012-05-31 Marek Polacek <polacek@redhat.com>
49408 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49409 __endmntent_internal): Remove declaration.
49410 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49411 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49412 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49414 2012-05-30 David S. Miller <davem@davemloft.net>
49416 * sysdeps/sparc/sparc32/soft-fp/q_util.c
49417 (___Q_simulate_exceptions): Use real FP ops rather than writing
49419 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49422 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49425 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49426 * sysdeps/x86/bits/xtitypes.h: This.
49428 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49429 * sysdeps/x86/bits/wordsize.h: This.
49431 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49432 * sysdeps/x86/bits/huge_vall.h: This.
49434 * sysdeps/i386/bits/select.h: Removed.
49435 * sysdeps/x86_64/bits/select.h: Renamed to ...
49436 * sysdeps/x86/bits/select.h: This.
49438 * sysdeps/i386/bits/setjmp.h: Removed.
49439 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49440 * sysdeps/x86/bits/setjmp.h: This.
49442 * sysdeps/i386/bits/mathdef.h: Removed.
49443 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49444 * sysdeps/x86/bits/mathdef.h: This.
49446 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
49449 * include/sys/socket.h (__connect_internal)
49450 (__libc_sa_len_internal): Remove declaration.
49451 (__connect, __libc_sa_len): Declare hidden_proto.
49452 (SA_LEN): Remove use of INTUSE.
49453 * socket/connect.c: Add libc_hidden_def.
49454 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49455 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49456 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49458 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49459 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49460 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49461 of adding _internal alias.
49463 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49466 * sysdeps/i386/bits/link.h: Removed.
49467 * sysdeps/i386/bits/linkmap.h: Likewise.
49468 * sysdeps/x86_64/bits/link.h: Renamed to ...
49469 * sysdeps/x86/bits/link.h: This.
49470 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49471 * sysdeps/x86/bits/linkmap.h: This.
49473 * sysdeps/i386/bits/endian.h: Removed.
49474 * sysdeps/x86_64/bits/endian.h: Renamed to ...
49475 * sysdeps/x86/bits/endian.h: This.
49477 * sysdeps/i386/bits/byteswap.h: Removed.
49478 * sysdeps/i386/bits/byteswap-16.h: Likewise.
49479 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49480 * sysdeps/x86/bits/byteswap.h: This.
49481 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49482 * sysdeps/x86/bits/byteswap-16.h: This.
49483 * sysdeps/i386/Implies: Add x86.
49484 * sysdeps/x86_64/Implies: Likewise.
49486 2012-05-30 David S. Miller <davem@davemloft.net>
49488 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49489 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49490 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49491 (FP_TRAPPING_EXCEPTIONS): Define.
49492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49493 (FP_TRAPPING_EXCEPTIONS): Define.
49494 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49495 subnormals only when inexact has been signalled or underflow
49496 exceptions are enabled.
49497 (_FP_PACK_CANONICAL): Likewise.
49499 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49502 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49503 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49505 2012-05-30 Richard Henderson <rth@twiddle.net>
49507 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49508 with #ifndef NOT_IN_libc.
49510 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
49511 marked to avoid plt entry.
49513 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
49516 * Makeconfig (default-abi): New macro.
49517 (abi-includes): Likewise.
49518 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
49519 $(abi-$(default-abi)-lib-soname) for soname if defined.
49520 ($(common-objpfx)gnu/lib-names.stmp): Generate from
49522 * Makefile (installed-stubs): Likewise.
49523 * include/stubs-biarch.h: Removed.
49524 * scripts/lib-names.awk: Only handle one library at a time.
49525 * scripts/soversions.awk: Remove WORDSIZE support.
49526 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49530 (syscall-list-default-condition): Likewise.
49531 (syscall-list-default-condition): Likewise.
49532 (syscall-list-includes): Likewise.
49533 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49534 syscall-list-* with abi-*. Handle undefined abi-variants.
49535 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49536 * sysdeps/unix/sysv/linux/i386/Implies: New file.
49537 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49538 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49539 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49540 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49542 (syscall-list-32-options): Likewise.
49543 (syscall-list-32-condition): Likewise.
49544 (syscall-list-64-options): Likewise.
49545 (syscall-list-64-condition): Likewise.
49546 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49548 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49551 (abi-64-ld-soname): New macro.
49552 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49553 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49556 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49557 * sysdeps/x86_64/x32/shlib-versions: Likewise.
49559 2012-05-30 Joseph Myers <joseph@codesourcery.com>
49561 * sysdeps/unix/sysv/linux/kernel-features.h
49562 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49563 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49564 include <kernel-features.h>.
49565 [!__NR_ftruncate64]: Remove conditional code.
49566 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49567 [__NR_ftruncate64]: Make code unconditional.
49568 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49569 * sysdeps/unix/sysv/linux/truncate64.c: Do not
49570 include <kernel-features.h>.
49571 [!__NR_ftruncate64]: Remove conditional code.
49572 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49573 [__NR_ftruncate64]: Make code unconditional.
49574 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49576 include <kernel-features.h>.
49577 [!__NR_ftruncate64]: Remove conditional code.
49578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49579 [__NR_ftruncate64]: Make code unconditional.
49580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49582 include <kernel-features.h>.
49583 [!__NR_ftruncate64]: Remove conditional code.
49584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49585 [__NR_ftruncate64]: Make code unconditional.
49586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49588 * configure.in (libc_cv_fpie): Weaken to a compile test using
49589 LIBC_TRY_CC_OPTION.
49590 * configure: Regenerated.
49592 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49599 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49607 2012-05-27 David S. Miller <davem@davemloft.net>
49609 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49611 (__Q_simulate_exceptions): Return void. Change to simulate
49612 exceptions by writing into the %fsr.
49613 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49614 (__Qp_handle_exceptions): Likewise.
49616 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49617 __Qp_handle_exceptions.
49618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49619 __Qp_handle_exceptions.
49620 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49621 as unused and give dummy FP_RND_NEAREST initializer.
49622 (FP_INHIBIT_RESULTS): Define.
49623 (___Q_simulate_exceptions): Update declaration.
49624 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49626 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49627 as unused and give dummy FP_RND_NEAREST initializer.
49628 (__Qp_handle_exceptions): Update declaration.
49629 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49632 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
49634 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49635 the temporary FPU control word.
49636 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49637 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49638 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49639 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49640 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49641 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49642 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49643 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49644 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49645 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49646 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49648 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49650 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49653 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
49655 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49656 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49657 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49658 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49660 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49661 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49664 2012-05-27 Ulrich Drepper <drepper@gmail.com>
49666 * po/h.po: Update from translation team.
49668 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
49670 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49672 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49673 handling of denormals.
49674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49675 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49676 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49677 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49678 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49679 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49680 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49683 2012-05-26 Marek Polacek <polacek@redhat.com>
49686 * math/libm-test.inc (fma_test): Don't always expect underflow
49689 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
49692 * elf/tst-execstack.c: Include stackinfo.h.
49693 (do_test): Adjust test case to ensure that pthread_getattr_np
49694 behaviour remains the same after marking stack executable.
49696 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49698 * sysdeps/unix/sysv/linux/kernel-features.h
49699 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49700 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49702 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49703 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49704 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49706 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49707 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49709 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
49711 * configure.in: Define the default includes to being none.
49712 * configure: Regenerated.
49714 2012-05-25 Roland McGrath <roland@hack.frob.com>
49716 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49717 * sysdeps/x86_64/setjmp.S: Likewise.
49718 * sysdeps/i386/bsd-setjmp.S: Likewise.
49719 * sysdeps/i386/bsd-_setjmp.S: Likewise.
49720 * sysdeps/i386/setjmp.S: Likewise.
49721 * sysdeps/i386/__longjmp.S: Likewise.
49722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49723 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49725 * include/stap-probe.h: New file.
49726 * configure.in: Handle --enable-systemtap.
49727 * configure: Regenerated.
49728 * config.h.in (USE_STAP_PROBE): New #undef.
49729 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49730 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49731 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49733 2012-05-25 Joseph Myers <joseph@codesourcery.com>
49736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49737 to 2.4.0 where earlier.
49738 * sysdeps/unix/sysv/linux/configure: Regenerated.
49739 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49740 <kernel-features.h>.
49741 [__ASSUME_32BITUIDS]: Make code unconditional.
49742 [!__ASSUME_32BITUIDS]: Remove conditional code.
49743 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49744 <kernel-features.h>.
49745 [__ASSUME_32BITUIDS]: Make code unconditional.
49746 [!__ASSUME_32BITUIDS]: Remove conditional code.
49747 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49748 [__ASSUME_32BITUIDS]: Make code unconditional.
49749 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49750 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49751 <kernel-features.h>.
49752 [__ASSUME_32BITUIDS]: Make code unconditional.
49753 [!__ASSUME_32BITUIDS]: Remove conditional code.
49754 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49755 <kernel-features.h>.
49756 [__ASSUME_32BITUIDS]: Make code unconditional.
49757 [!__ASSUME_32BITUIDS]: Remove conditional code.
49758 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49759 <kernel-features.h>.
49760 [__ASSUME_32BITUIDS]: Make code unconditional.
49761 [!__ASSUME_32BITUIDS]: Remove conditional code.
49762 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49763 <kernel-features.h>.
49764 [__ASSUME_32BITUIDS]: Make code unconditional.
49765 [!__ASSUME_32BITUIDS]: Remove conditional code.
49766 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49767 <kernel-features.h>.
49768 [__ASSUME_32BITUIDS]: Make code unconditional.
49769 [!__ASSUME_32BITUIDS]: Remove conditional code.
49770 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49771 <kernel-features.h>.
49772 [__ASSUME_32BITUIDS]: Make code unconditional.
49773 [!__ASSUME_32BITUIDS]: Remove conditional code.
49774 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49775 <kernel-features.h>.
49776 [__ASSUME_32BITUIDS]: Make code unconditional.
49777 [!__ASSUME_32BITUIDS]: Remove conditional code.
49778 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49779 <kernel-features.h>.
49780 [__ASSUME_32BITUIDS]: Make code unconditional.
49781 [!__ASSUME_32BITUIDS]: Remove conditional code.
49782 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49783 <kernel-features.h>.
49784 [__ASSUME_32BITUIDS]: Make code unconditional.
49785 [!__ASSUME_32BITUIDS]: Remove conditional code.
49786 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49787 <kernel-features.h>.
49788 [__ASSUME_32BITUIDS]: Make code unconditional.
49789 [!__ASSUME_32BITUIDS]: Remove conditional code.
49790 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49791 <kernel-features.h>.
49792 [__NR_setresgid] (__setresgid): Do not declare.
49793 [__ASSUME_32BITUIDS]: Make code unconditional.
49794 [!__ASSUME_32BITUIDS]: Remove conditional code.
49795 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49796 <kernel-features.h>.
49797 [__NR_setresuid] (__setresuid): Do not declare.
49798 [__ASSUME_32BITUIDS]: Make code unconditional.
49799 [!__ASSUME_32BITUIDS]: Remove conditional code.
49800 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49801 <kernel-features.h>.
49802 [__ASSUME_32BITUIDS]: Make code unconditional.
49803 [!__ASSUME_32BITUIDS]: Remove conditional code.
49804 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49805 <kernel-features.h>.
49806 [__ASSUME_32BITUIDS]: Make code unconditional.
49807 [!__ASSUME_32BITUIDS]: Remove conditional code.
49808 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49809 <kernel-features.h>.
49810 [__ASSUME_32BITUIDS]: Make code unconditional.
49811 [!__ASSUME_32BITUIDS]: Remove conditional code.
49812 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49813 <kernel-features.h>.
49814 [__ASSUME_32BITUIDS]: Make code unconditional.
49815 [!__ASSUME_32BITUIDS]: Remove conditional code.
49816 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49817 <kernel-features.h>.
49818 [__ASSUME_32BITUIDS]: Make code unconditional.
49819 [!__ASSUME_32BITUIDS]: Remove conditional code.
49820 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49821 <kernel-features.h>.
49822 [__ASSUME_32BITUIDS]: Make code unconditional.
49823 [!__ASSUME_32BITUIDS]: Remove conditional code.
49824 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49825 <kernel-features.h>.
49826 [__ASSUME_32BITUIDS]: Make code unconditional.
49827 [!__ASSUME_32BITUIDS]: Remove conditional code.
49828 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49829 <kernel-features.h>.
49830 [__ASSUME_32BITUIDS]: Make code unconditional.
49831 [!__ASSUME_32BITUIDS]: Remove conditional code.
49832 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49833 <kernel-features.h>.
49834 [__ASSUME_32BITUIDS]: Make code unconditional.
49835 [!__ASSUME_32BITUIDS]: Remove conditional code.
49836 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49837 <kernel-features.h>.
49838 [__ASSUME_32BITUIDS]: Make code unconditional.
49839 [!__ASSUME_32BITUIDS]: Remove conditional code.
49840 * sysdeps/unix/sysv/linux/kernel-features.h
49841 (__ASSUME_SETRESUID_SYSCALL): Remove.
49842 (__ASSUME_SETRESGID_SYSCALL): Likewise.
49843 (__ASSUME_32BITUIDS): Likewise.
49844 (__ASSUME_LDT_WORKS): Likewise.
49845 (__ASSUME_O_DIRECTORY): Likewise.
49846 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49847 architecture but not kernel version.
49848 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49849 (__ASSUME_MMAP2_SYSCALL): Likewise.
49850 (__ASSUME_STAT64_SYSCALL): Likewise.
49851 (__ASSUME_IPC64): Likewise.
49852 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49853 <kernel-features.h>.
49854 [__ASSUME_32BITUIDS]: Make code unconditional.
49855 [!__ASSUME_32BITUIDS]: Remove conditional code.
49856 * sysdeps/unix/sysv/linux/opendir.c: Do not include
49857 <kernel-features.h>.
49858 [__ASSUME_O_DIRECTORY]: Make code unconditional.
49859 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49860 132096]: Remove conditional code.
49861 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49862 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49863 <kernel-features.h>.
49864 [__ASSUME_32BITUIDS]: Make code unconditional.
49865 [!__ASSUME_32BITUIDS]: Remove conditional code.
49866 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49867 <kernel-features.h>.
49868 [__ASSUME_32BITUIDS]: Make code unconditional.
49869 [!__ASSUME_32BITUIDS]: Remove conditional code.
49870 * sysdeps/unix/sysv/linux/setegid.c: Do not include
49871 <kernel-features.h>.
49872 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49874 (__setresgid): Do not declare.
49875 [__ASSUME_32BITUIDS]: Make code unconditional.
49876 [!__ASSUME_32BITUIDS]: Remove conditional code.
49877 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49878 <kernel-features.h>.
49879 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49881 (__setresuid): Do not declare.
49882 [__ASSUME_32BITUIDS]: Make code unconditional.
49883 [!__ASSUME_32BITUIDS]: Remove conditional code.
49884 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49885 <kernel-features.h>.
49886 [__ASSUME_32BITUIDS]: Make code unconditional.
49887 [!__ASSUME_32BITUIDS]: Remove conditional code.
49888 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49889 <kernel-features.h>.
49890 [__ASSUME_32BITUIDS]: Make code unconditional.
49891 [!__ASSUME_32BITUIDS]: Remove conditional code.
49893 2012-05-25 Richard Henderson <rth@twiddle.net>
49895 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49896 dl_hwcap to ifunc resolver.
49897 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49899 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49900 dl_hwcap to ifunc resolver.
49901 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49903 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49906 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49907 for |x| <= 2**-26, not 2**-57.
49908 * math/libm-test.inc (acos_test): Do not allow spurious underflow
49911 2012-05-24 Jeff Law <law@redhat.com>
49913 * stdio-common/Makefile (tests): Add bug25.
49914 * stdio-common/bug25.c: New test.
49916 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
49919 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49920 multiple of MALLOC_ALIGNMENT in size.
49921 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49923 2012-05-24 Joseph Myers <joseph@codesourcery.com>
49925 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49927 (FILENAME_MAX): Use macro-int-constant.
49928 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
49929 (_IOFBF): Use macro-int-constant.
49930 (_IOLBF): Likewise.
49931 (_IONBF): Likewise.
49932 (SEEK_CUR): Likewise.
49933 (SEEK_END): Likewise.
49934 (SEEK_SET): Likewise.
49935 (TMP_MAX): Likewise.
49936 (EOF): Use macro-int-constant. Require < 0.
49937 (NULL): Use macro-constant. Require == 0.
49938 (stdin): Require type to be FILE *.
49939 (stdout): Likewise.
49940 (stderr): Likewise.
49941 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49942 macro-int-constant.
49943 (EXIT_SUCCESS): Likewise.
49944 (NULL): Use macro-constant. Require == 0.
49945 (RAND_MAX): Use macro-int-constant.
49946 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49947 [C99-based standards] (strtof): Require function.
49948 [C99-based standards] (strtold): Likewise.
49949 [C99-based standards] (strtoll): Likewise.
49950 [C99-based standards] (strtoull): Likewise.
49951 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49952 [ISO || ISO99 || ISO11] (limits.h): Likewise.
49953 [ISO || ISO99 || ISO11] (math.h): Likewise.
49954 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49955 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49956 [ISO || ISO99 || ISO11] (*_t): Do not allow.
49958 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
49961 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49962 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49963 * intl/dgettext.c (DCGETTEXT): Likewise.
49964 * intl/gettext.c (DCGETTEXT): Likewise.
49965 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49966 * posix/regex_internal.h (gettext): Likewise.
49967 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49968 Remove declaration.
49969 * include/argz.h (__argz_count_internal)
49970 (__argz_stringify_internal): Remove declaration.
49971 (__argz_count, __argz_stringify): Declare hidden proto.
49972 * intl/dcgettext.c: Remove use of INTDEF.
49973 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49974 * string/argz-stringify.c: Likewise.
49975 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49976 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49977 Declare hidden proto.
49978 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49979 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49980 Declare hidden proto.
49981 * include/stdio.h (__asprintf_internal): Don't declare.
49982 (__asprintf): Don't define as macro. Declare hidden proto.
49983 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49984 (__fsetlocking): Declare hidden proto.
49985 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49986 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49988 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49989 (_IO_setlinebuf): Remove use of INTUSE.
49990 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49991 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49992 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49993 Remove declaration.
49994 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49995 (_IO_do_flush): Remove use of INTUSE.
49996 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49997 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49998 (_IO_adjust_column, _IO_least_wmarker)
49999 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50000 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50001 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50002 (_IO_default_doallocate, _IO_wdefault_doallocate)
50003 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50004 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50005 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50006 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50007 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50008 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50009 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50010 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50011 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50012 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50013 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50014 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50015 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50017 (_IO_flush_all_internal, _IO_adjust_column_internal)
50018 (_IO_default_uflow_internal, _IO_default_finish_internal)
50019 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50020 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50021 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50022 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50023 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50024 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50025 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50026 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50027 (_IO_file_close_internal, _IO_file_close_it_internal)
50028 (_IO_file_underflow_internal, _IO_file_overflow_internal)
50029 (_IO_file_init_internal, _IO_file_attach_internal)
50030 (_IO_file_fopen_internal, _IO_file_read_internal)
50031 (_IO_file_sync_internal, _IO_file_seek_internal)
50032 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50033 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50034 (_IO_str_underflow_internal, _IO_str_overflow_internal)
50035 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50036 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50037 (_IO_list_all_internal, _IO_link_in_internal)
50038 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50039 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50040 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50041 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50042 (_IO_do_write_internal, _IO_padn_internal)
50043 (_IO_getline_info_internal, _IO_getline_internal)
50044 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50045 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50046 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50047 (_IO_vfscanf_internal, _IO_vfprintf_internal)
50048 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50049 (_IO_init_internal, _IO_un_link_internal): Don't declare.
50050 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50051 with libc_hidden_ver, remove use of INTUSE.
50052 * libio/genops.c: Likewise.
50053 * libio/freopen.c: Likewise.
50054 * libio/freopen64.c: Likewise.
50055 * libio/iofclose.c: Likewise.
50056 * libio/iofdopen.c: Likewise.
50057 * libio/iofflush.c: Likewise.
50058 * libio/iofflush_u.c: Likewise.
50059 * libio/iofgets.c: Likewise.
50060 * libio/iofgets_u.c: Likewise.
50061 * libio/iofopen.c: Likewise.
50062 * libio/iofopncook.c: Likewise.
50063 * libio/iofread.c: Likewise.
50064 * libio/iofread_u.c: Likewise.
50065 * libio/ioftell.c: Likewise.
50066 * libio/iofwrite.c: Likewise.
50067 * libio/iogetline.c: Likewise.
50068 * libio/iogets.c: Likewise.
50069 * libio/iogetwline.c: Likewise.
50070 * libio/iopadn.c: Likewise.
50071 * libio/iopopen.c: Likewise.
50072 * libio/ioseekoff.c: Likewise.
50073 * libio/ioseekpos.c: Likewise.
50074 * libio/iosetbuffer.c: Likewise.
50075 * libio/iosetvbuf.c: Likewise.
50076 * libio/ioungetc.c: Likewise.
50077 * libio/ioungetwc.c: Likewise.
50078 * libio/iovdprintf.c: Likewise.
50079 * libio/iovsprintf.c: Likewise.
50080 * libio/iovsscanf.c: Likewise.
50081 * libio/memstream.c: Likewise.
50082 * libio/obprintf.c: Likewise.
50083 * libio/oldfileops.c: Likewise.
50084 * libio/oldiofclose.c: Likewise.
50085 * libio/oldiofdopen.c: Likewise.
50086 * libio/oldiofopen.c: Likewise.
50087 * libio/oldiopopen.c: Likewise.
50088 * libio/oldstdfiles.c: Likewise.
50089 * libio/putc.c: Likewise.
50090 * libio/setbuf.c: Likewise.
50091 * libio/setlinebuf.c: Likewise.
50092 * libio/stdfiles.c: Likewise.
50093 * libio/strops.c: Likewise.
50094 * libio/vasprintf.c: Likewise.
50095 * libio/vscanf.c: Likewise.
50096 * libio/vsnprintf.c: Likewise.
50097 * libio/vswprintf.c: Likewise.
50098 * libio/wfiledoalloc.c: Likewise.
50099 * libio/wfileops.c: Likewise.
50100 * libio/wgenops.c: Likewise.
50101 * libio/wmemstream.c: Likewise.
50102 * libio/wstrops.c: Likewise.
50103 * libio/__fpurge.c: Likewise.
50104 * libio/__fsetlocking.c: Likewise.
50105 * assert/assert.c: Likewise.
50106 * debug/fgets_chk.c: Likewise.
50107 * debug/fgets_u_chk.c: Likewise.
50108 * debug/fread_chk.c: Likewise.
50109 * debug/fread_u_chk.c: Likewise.
50110 * debug/gets_chk.c: Likewise.
50111 * debug/obprintf_chk.c: Likewise.
50112 * debug/vasprintf_chk.c: Likewise.
50113 * debug/vdprintf_chk.c: Likewise.
50114 * debug/vsnprintf_chk.c: Likewise.
50115 * debug/vsprintf_chk.c: Likewise.
50116 * malloc/mtrace.c: Likewise.
50117 * misc/error.c: Likewise.
50118 * misc/syslog.c: Likewise.
50119 * stdio-common/asprintf.c: Likewise.
50120 * stdio-common/fxprintf.c: Likewise.
50121 * stdio-common/getw.c: Likewise.
50122 * stdio-common/isoc99_fscanf.c: Likewise.
50123 * stdio-common/isoc99_scanf.c: Likewise.
50124 * stdio-common/isoc99_vfscanf.c: Likewise.
50125 * stdio-common/isoc99_vscanf.c: Likewise.
50126 * stdio-common/isoc99_vsscanf.c: Likewise.
50127 * stdio-common/printf-prs.c: Likewise.
50128 * stdio-common/printf_fp.c: Likewise.
50129 * stdio-common/printf_fphex.c: Likewise.
50130 * stdio-common/printf_size.c: Likewise.
50131 * stdio-common/putw.c: Likewise.
50132 * stdio-common/scanf.c: Likewise.
50133 * stdio-common/sprintf.c: Likewise.
50134 * stdio-common/tmpfile.c: Likewise.
50135 * stdio-common/vfprintf.c: Likewise.
50136 * stdio-common/vfscanf.c: Likewise.
50137 * stdlib/strfmon_l.c: Likewise.
50138 * sunrpc/openchild.c: Likewise.
50139 * sunrpc/xdr_stdio.c: Likewise.
50140 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50141 * sysdeps/mach/hurd/tmpfile.c: Likewise.
50143 2012-05-24 Roland McGrath <roland@hack.frob.com>
50145 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50147 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50148 in the third column, to generate for the shared library an IFUNC
50149 that uses _dl_vdso_vsym.
50150 * Makerules (COMPILE.c, compile-stdin.c): New variables.
50151 * Makeconfig (object-suffixes-noshared): New variable.
50153 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50154 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50155 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50156 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50159 * include/sys/time.h (__gettimeofday): Remove macro.
50160 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50161 * time/gettimeofday.c (__gettimeofday): Remove #undef.
50163 (__gettimeofday): Add libc_hidden_def.
50164 (gettimeofday): Add libc_hidden_weak.
50165 * sysdeps/mach/gettimeofday.c: Likewise.
50166 * sysdeps/posix/gettimeofday.c: Likewise.
50167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50168 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50169 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50170 (__gettimeofday_internal): Remove strong_alias.
50171 (__gettimeofday): Add libc_hidden_def.
50172 (gettimeofday): Add libc_hidden_weak.
50173 * sysdeps/unix/syscalls.list (gettimeofday):
50174 Remove __gettimeofday_internal alias.
50176 2012-05-24 Daniel Jacobowitz <drow@false.org>
50177 H.J. Lu <hongjiu.lu@intel.com>
50180 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50181 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50182 (largebin_index_32_big): New.
50183 (largebin_index): Use it for 16-byte alignment.
50184 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
50185 correction with front_misalign.
50187 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
50189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50190 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50198 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50200 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50215 * scripts/data/c++-types-x32-linux-gnu.data: New file.
50216 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50218 2012-05-24 Joseph Myers <joseph@codesourcery.com>
50222 * math/libm-test.inc (exp_test): Add test from bug 14036.
50223 (pow_test): Add test from bug 10846.
50225 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50227 (special_function): Do not include flags in test name.
50228 (parse_args): Likewise.
50229 * sysdeps/i386/fpu/libm-test-ulps: Update.
50230 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50231 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50232 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50235 * math/gen-libm-test.pl (%beautify): Add entries for underflow
50237 * math/libm-test.inc ("Philosophy"): Update comment about
50239 (UNDERFLOW_EXCEPTION): New macro.
50240 (UNDERFLOW_EXCEPTION_OK): Likewise.
50241 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50242 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50243 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50244 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50245 (INVALID_EXCEPTION_OK): Update value.
50246 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50247 (OVERFLOW_EXCEPTION_OK): Likewise.
50248 (IGNORE_ZERO_INF_SIGN): Likewise.
50249 (test_exceptions): Handle underflow exceptions.
50250 (acos_test): Update for underflow exception expectations.
50251 (cexp_test): Likewise.
50252 (clog_test): Likewise.
50253 (clog10_test): Likewise.
50254 (csqrt_test): Likewise.
50255 (ctan_test): Likewise.
50256 (ctanh_test): Likewise.
50257 (exp_test): Likewise.
50258 (exp10_test): Likewise.
50259 (exp2_test): Likewise.
50260 (expm1_test): Likewise.
50261 (fma_test): Likewise.
50262 (j0_test): Likewise.
50263 (jn_test): Likewise.
50264 (nexttoward_test): Likewise.
50265 (pow_test): Likewise.
50266 (scalbn_test): Likewise.
50267 (scalbln_test): Likewise.
50268 (tan_test): Likewise.
50269 (y1_test): Likewise.
50270 * sysdeps/i386/fpu/libm-test-ulps: Update.
50271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50273 2012-05-23 David S. Miller <davem@davemloft.net>
50275 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50276 (__libc_sigaction): Remove unused local variables.
50278 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50280 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50282 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
50284 mktime: avoid signed integer overflow
50285 * time/mktime.c (__mktime_internal): Do not mishandle the case
50286 where diff == INT_MIN.
50288 mktime: simplify computation of average
50289 * time/mktime.c (ranged_convert): Use new time_t_avg function
50290 instead of rolling our own (probably-slower) code.
50292 mktime: do not assume signed right shift propagates sign bit
50293 * time/mktime.c (isdst_differ): New static function.
50294 (__mktime_internal): No need to normalize tm_isdst now.
50295 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50298 mktime: merge another wrapv change from gnulib
50299 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50300 from some compilers.
50302 mktime: remove incorrect attempt at unusual arithmetics
50303 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50304 The code didn't really work on such machines anyway.
50305 (TYPE_MINIMUM): Assume two's complement.
50306 (twos_complement_arithmetic): Verify that long_int and time_t
50307 are two's complement (or unsigned, in the latter case).
50309 mktime: check signed shifts on long_int and time_t, too
50310 * time/mktime.c (SHR): Check that shifts work as desired
50311 on the types long_int and time_t too, as SHR is used on
50314 mktime: do not assume 'long' is wide enough
50315 * time/mktime.c (verify): Move decl up.
50316 (long_int): New type.
50317 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50318 to remove assumption in the code that 'long' is wide enough to
50319 store year values. This assumption is not true on x32 and on
50320 some non-glibc platforms.
50322 mktime: merge wrapv change from gnulib
50323 * time/mktime.c (WRAPV): New macro.
50324 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50325 (guess_time_tm, __mktime_internal): Do not assume that signed
50326 integer overflow wraps around; modern compilers generate code
50327 where this assumption is no longer valid.
50329 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50331 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50332 Replace "jmp L(pseudo_end)" with "ret".
50333 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50336 2012-05-23 Andreas Jaeger <aj@suse.de>
50338 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50339 * sysdeps/unix/sysv/linux/poll.c: Remove file.
50341 2012-05-23 Andreas Jaeger <aj@suse.de>
50342 Maximilian Attems <max@stro.at>
50344 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50347 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
50349 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50350 code so that pseudo_end is just ret and the stack pointer is
50351 correct also for static library in error case.
50353 2012-05-23 Joseph Myers <joseph@codesourcery.com>
50355 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50356 move to syscalls.list.
50357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50362 * manual/install.texi (Running make install): Do not mention Linux
50363 kernel version for which pt_chown is not needed.
50364 (Linux): Do not mention problems with nscd with 2.0 kernels.
50365 * INSTALL: Regenerated.
50367 2012-05-23 Andreas Jaeger <aj@suse.de>
50369 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50370 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50372 * sysdeps/unix/sysv/linux/s390/bits/mman.h
50373 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50374 * sysdeps/unix/sysv/linux/sh/bits/mman.h
50375 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50376 * sysdeps/unix/sysv/linux/i386/bits/mman.h
50377 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50378 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50379 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50380 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50381 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50382 * sysdeps/unix/sysv/linux/bits/in.h
50383 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50385 2012-05-22 Roland McGrath <roland@hack.frob.com>
50387 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50388 (PREPARE_VERSION): Just use assert instead, it will be elided
50389 under [NDEBUG] anyway.
50391 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50393 * sysdeps/unix/sysv/linux/Makefile: Include
50394 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50395 (sysdep_routines): Remove sysctl.
50396 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50397 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50398 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50399 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50400 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50402 2012-05-22 Andreas Jaeger <aj@suse.de>
50404 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50405 that pseudo_end is just ret and the stack pointer is correct also
50406 for static library in error case.
50408 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
50411 * nss/nsswitch.c (defconfig_entries): New variable.
50412 (__nss_database_lookup): Don't leak defconfig entries.
50413 (nss_parse_service_list): Don't leak on error paths.
50414 (free_database_entries): New function.
50415 (free_defconfig): New function.
50416 (free_mem): Move common code to free_database_entries.
50418 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50420 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50422 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50424 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50425 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50426 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50428 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50429 (INTERNAL_SYSCALL_TYPES): Likewise.
50430 (LOAD_ARGS_TYPES_[1-6]): Likewise.
50431 (LOAD_REGS_TYPES_[1-6]): Likewise.
50432 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50433 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50435 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50438 copysignl for GLIBC_2_0.
50439 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50440 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50441 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50442 logbl for GLIBC_2_0.
50443 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50444 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50446 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50448 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50449 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
50451 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50454 * time/mktime.c: Update copyright years.
50456 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
50458 mktime: merge comment-quoting-style change from gnulib
50459 * time/mktime.c: Quote 'like this' in comments.
50460 The GNU coding standards suggest that we no longer quote `like this',
50461 as "`" and "'" are typically rendered asymmetrically nowadays.
50462 The typical gnulib style is to quote 'like this' when quoting
50463 code, and "like this" when quoting English.
50465 * time/mktime.c (compile-command): Add "-I.".
50467 mktime: merge mktime-internal.h change from gnulib
50468 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50470 mktime: merge time_r change from gnulib
50471 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50473 mktime: merge DEBUG change from gnulib
50474 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50475 case system <time.h> has a #define.
50477 mktime: merge <sys/types.h> change from gnulib
50478 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50479 since <time.t> is now guaranteed to define time_t.
50481 mktime: merge HAVE_CONFIG_H change from gnulib
50482 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50484 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
50486 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50489 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50491 (struct rusage): Use anonymous union to pad each field to
50494 2012-05-21 David S. Miller <davem@davemloft.net>
50496 * Makefules (o-iterator): Remove .s cases.
50497 (compile-command.s): Delete.
50498 (COMPILE.s): Delete.
50499 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50501 2012-05-21 Joseph Myers <joseph@codesourcery.com>
50503 * configure.in (libc_cv_predef_stack_protector): Only consider
50504 "foobar" and "__stack_chk_fail" lines in libc_undefs.
50505 * configure: Regenerated.
50507 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50509 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50510 New macro. Use R*LP on int and pointer.
50511 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50512 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50513 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50514 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50516 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50517 [__WORDSIZE_TIME64_COMPAT32] instead of
50518 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50519 (struct utmp): Likewise.
50520 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50521 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50523 (__WORDSIZE_TIME64_COMPAT32): This.
50524 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50525 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50526 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50527 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50528 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50529 (__WORDSIZE_TIME64_COMPAT32): New macro.
50531 2012-05-21 Andreas Jaeger <aj@suse.de>
50533 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50534 only if [SHARED]. Add prototype for __wcschr_ia32.
50536 2012-05-21 Roland McGrath <roland@hack.frob.com>
50538 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50539 of %rbp unmolested in the jmp_buf while mangling the low bits.
50540 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50541 unmolested high bits of %rbp while demangling the low bits.
50542 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50544 2012-05-21 Andreas Jaeger <aj@suse.de>
50546 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50547 * sunrpc/svc_simple.c: Use it for registerrpc.
50548 * sunrpc/xcrypt.c: Use it for passwd2des.
50550 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50552 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50554 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50555 Don't define if [__SYSCALL_WORDSIZE != 32].
50556 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50559 2012-05-21 Bruno Haible <bruno@clisp.org>
50560 Andreas Jaeger <aj@suse.de>
50562 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50563 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50564 inptr and inend for must_buffer_ch.
50565 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50566 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50567 * stdio-common/Makefile (tests): Remove bug15.
50568 (bug15-ENV): Remove macro.
50569 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50572 2012-05-19 Andreas Jaeger <aj@suse.de>
50573 Roland McGrath <roland@hack.frob.com>
50575 * manual/contrib.texi: Completely rewritten. It contains now an
50576 alphabetical list of contributors and their contributions.
50578 2012-05-21 Richard Henderson <rth@twiddle.net>
50580 * misc/getauxval.c (__getauxval): Use unsigned long int.
50581 * misc/sys/auxv.h: Include <sys/cdefs.h>.
50582 (getauxval): Use unsigned long int.
50584 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
50586 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50588 2012-05-21 Roland McGrath <roland@hack.frob.com>
50590 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50591 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50592 __alignof__ (long double).
50594 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50598 2012-05-20 Richard Henderson <rth@twiddle.net>
50600 * misc/getauxval.c: New file.
50601 * misc/sys/auxv.h: New file.
50602 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50603 (routines): Add getauxval.
50604 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50605 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50606 * elf/dl-sysdep.c (_dl_auxv): Remove.
50607 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50608 * elf/dl-support.c (_dl_auxv): New variable.
50609 (_dl_aux_init): Initialize it.
50610 * manual/startup.texi (Auxiliary Vector): New node.
50611 * sysdeps/generic/bits/hwcap.h: New file.
50612 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50613 * sysdeps/powerpc/sysdep.h: ... here. Include it.
50614 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50615 * sysdeps/sparc/sysdep.h: ... here. Include it.
50616 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50622 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50623 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50624 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50629 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50633 2012-05-19 David S. Miller <davem@davemloft.net>
50635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50637 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50640 * math/s_ccosh.c: Include <float.h>
50641 (__ccosh): Avoid internal overflow calculating sinh and cosh
50642 values before multiplying by sin and cos values.
50643 * math/s_ccoshf.c: Likewise.
50644 * math/s_ccoshl.c: Likewise.
50645 * math/s_csin.c: Likewise.
50646 * math/s_csinf.c: Likewise.
50647 * math/s_csinl.c: Likewise.
50648 * math/s_csinh.c: Likewise.
50649 * math/s_csinhf.c: Likewise.
50650 * math/s_csinhl.c: Likewise.
50651 * math/libm-test.inc (ccos_test): Add more tests.
50652 (ccosh_test): Likewise.
50653 (csin_test): Likewise.
50654 (csinh_test): Likewise.
50655 * sysdeps/i386/fpu/libm-test-ulps: Update.
50656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50658 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
50660 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50661 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50663 * sysdeps/x86_64/x32/_itoa.h: Add comment.
50665 2012-05-19 Joseph Myers <joseph@codesourcery.com>
50667 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50668 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50669 * sysdeps/powerpc/soft-fp/Versions: Likewise.
50670 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50671 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50672 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50673 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50674 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50675 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50676 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50677 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50678 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50679 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50680 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50681 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50682 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50683 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50684 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50685 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50686 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50687 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50688 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50689 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50690 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50691 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50692 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50693 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50694 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50695 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50696 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50697 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50699 2012-05-18 Andreas Jaeger <aj@suse.de>
50701 * csu/.gitignore: Delete.
50703 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50705 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50706 (timex): Use __syscall_slong_t.
50708 2012-05-18 Andreas Jaeger <aj@suse.de>
50709 Carlos O'Donell <carlos_odonell@mentor.com>
50711 * manual/install.texi (Configuring and compiling): Update
50712 description about files modified in the source directory.
50713 * INSTALL: Regenerated.
50715 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50717 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50718 value. Use "or" to set return value to -1.
50719 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50720 negate return value.
50722 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50724 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50725 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50726 failure if the compiler has Graphite support disabled.
50727 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50729 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50730 (CFLAGS-memmove.c): Likewise.
50731 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50734 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
50736 * sysdeps/x86_64/x32/_itoa.h: New file.
50738 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50739 getdents system call only if kernel and user dirents have the
50740 same d_ino and d_off.
50742 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50743 LLONG_MAX != LONG_MAX.
50744 (_itoa_word): Use _ITOA_WORD_TYPE on value.
50745 (_fitoa_word): Likewise.
50747 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50749 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50750 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50751 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50753 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50754 include <bits/wordsize.h>. Check __x86_64__ instead of
50756 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50757 if __x86_64__ is defined. Use anonymous union on fpstate.
50759 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50762 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
50764 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50765 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50766 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50767 Refer to _rtld_local_ro instead of _rtld_global_ro.
50768 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50770 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50772 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50774 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50775 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50776 of _rtld_global, and rtld_progname instead of _dl_argv[0].
50779 * sysdeps/powerpc/powerpc32/dl-machine.c
50780 (__elf_machine_runtime_setup) [PROF]: Don't reference
50783 2012-05-18 Andreas Jaeger <aj@suse.de>
50785 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50786 function only available for GCCs before 3.4 since GCC 3.4
50787 introduced a builtin.
50789 (llrintf): Likewise.
50790 (llrint): Likewise.
50797 (nearbyint): Likewise.
50798 (nearbyintf): Likewise.
50802 (floorf): Likewise.
50804 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50806 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50807 on both fields and cast pointer to __syscall_ulong_t.
50809 * bits/types.h (__fsword_t): New type.
50810 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50811 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50812 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50813 (__FSWORD_T_TYPE): Likewise.
50814 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50815 (__FSWORD_T_TYPE): Likewise.
50816 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50817 (__FSWORD_T_TYPE): Likewise.
50818 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50819 (__FSWORD_T_TYPE): Likewise.
50820 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50821 __SWORD_TYPE with __fsword_t.
50822 (statfs64): Likewise.
50824 2012-05-17 David S. Miller <davem@davemloft.net>
50826 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50828 2012-05-17 Andreas Jaeger <aj@suse.de>
50830 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50833 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50835 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50837 2012-05-17 Andreas Jaeger <aj@suse.de>
50839 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50842 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50844 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50846 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
50848 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50849 * sysdeps/x86_64/tst-mallocalign1.c: New file.
50851 2012-05-17 Andreas Jaeger <aj@suse.de>
50852 Carlos O'Donell <carlos_odonell@mentor.com>
50855 * sysdeps/x86_64/multiarch/init-arch.h
50856 (bit_YMM_Usable): Rename to...
50857 (bit_AVX_Usable): ... this.
50858 (bit_FMA4_Usable): New macro.
50859 (bit_XMM_state): New macro.
50860 (bit_YMM_state): New macro.
50861 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50862 [__ASSEMBLER__] (index_AVX_Usable): ... this.
50863 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50864 (CPUID_OSXSAVE): New macro.
50865 (CPUID_AVX): New macro.
50866 (CPUID_FMA4): New macro.
50867 (index_YMM_Usable): Rename to...
50868 (index_AVX_Usable): ... this.
50869 (HAS_AVX): Use HAS_ARCH_FEATURE.
50870 (HAS_FMA4): Likewise.
50871 (HAS_YMM_USABLE): Remove.
50872 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50873 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50875 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50876 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50877 * sysdeps/x86_64/multiarch/Makefile: Likewise.
50878 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50879 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50881 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
50883 * math/libm-test.c: Support platforms without multiple rounding modes.
50884 * math/bug-nextafter.c: Support platforms without FP exceptions.
50885 * math/bug-nexttoward.c: Likewise.
50886 * math/test-fenv.c: Likewise.
50887 * math/test-misc.c: Likewise.
50888 * stdlib/bug-getcontext.c: Likewise.
50890 2012-05-17 Andreas Jaeger <aj@suse.de>
50892 * manual/examples/search.c (critter_cmp): Change signature to
50894 * manual/string.texi (Collation Functions): Likewise.
50896 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50898 * bits/types.h: Fold copyright years.
50899 * bits/typesizes.h: Likewise.
50900 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50902 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50904 * time/time.h: Likewise.
50906 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
50909 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50910 in instead of returning them. Return void.
50911 (__libc_mallinfo): Accumulate over all arenas.
50912 (__malloc_stats): Adjust for change in int_mallinfo interface.
50914 2012-05-16 Roland McGrath <roland@hack.frob.com>
50917 * configure.in (NM): Add AC_CHECK_TOOL for it.
50918 (libc_extra_cflags): New substituted variable.
50919 Check for -fstack-protector being used implicitly.
50920 * configure: Regenerated.
50921 * config.make.in (config-extra-cflags): New variable,
50922 gets @libc_extra_cflags@.
50923 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50926 * configure.in: Check for _FORTIFY_SOURCE being predefined.
50927 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50928 * configure: Regenerated.
50929 * config.make.in (CPPUNDEFS): New substituted variable.
50930 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50931 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50932 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50934 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50936 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50937 (mq_attr): Use __syscall_slong_t.
50939 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50941 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50942 Check __x86_64__ instead of __WORDSIZE.
50943 (_STAT_VER_LINUX): Likewise.
50944 (stat): Check __x86_64__ instead of __WORDSIZE. Use
50945 __syscall_ulong_t and __syscall_slong_t.
50946 (stat64): Likewise.
50948 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50950 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50952 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50954 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50956 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50958 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50961 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50962 include <bits/wordsize.h>. Check __x86_64__ instead of
50964 (greg_t): Use "__extension__ long long int" if __x86_64__ is
50966 (mcontext_t): Replace "unsigned long" with "unsigned long long".
50968 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50969 include <bits/wordsize.h>. Check __x86_64__ instead of
50971 (user_regs_struct): Use "__extension__ unsigned long long"
50972 instead of "unsigned long" if __x86_64__ is defined.
50973 (user): Likewise. Pad after pointer field if __ILP32__ is
50976 2012-05-16 Joseph Myers <joseph@codesourcery.com>
50978 * configure.in (makeinfo): Require version 4.5 or later. Allow
50980 * configure: Regenerated.
50981 * manual/install.texi (texinfo): Increase version requirement to
50983 * INSTALL: Regenerated.
50985 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50987 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
50989 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50991 * sysdeps/x86_64/x32/ffs.c: New file.
50993 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50995 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50996 defined. Use __syscall_ulong_t.
50997 (shminfo): Use __syscall_ulong_t.
50998 (shm_info): Likewise.
51000 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51003 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51005 (msgqnum_t): Use __syscall_ulong_t.
51006 (msglen_t): Likewise.
51007 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
51010 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51011 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51013 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51015 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51016 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51018 * sysvipc/sys/msg.h (msgbuf): Replace long int with
51021 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51022 include <bits/wordsize.h>. Check __x86_64__ instead of
51025 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51026 "unsigned long long int" if __x86_64__ is defined.
51027 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51029 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51030 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51031 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51033 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51035 (GET_PC): Cast to uintptr_t first.
51036 (GET_FRAME): Likewise.
51037 (GET_STACK): Likewise.
51039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51040 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51041 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51042 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51043 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51044 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51045 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51046 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51047 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51048 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51049 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51050 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51051 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51052 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51053 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51054 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51055 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51056 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51057 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51058 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51059 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51060 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51061 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51062 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51063 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51065 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51066 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51067 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51069 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
51071 * Makerules (+depfiles): Also collect depfiles from .oS in
51073 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51074 .oS, $(libnldbl-routines)).
51076 * Makerules (native-compile-mkdep-flags): Define.
51077 * sunrpc/Makefile (extra-objs): Add $(addprefix
51078 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51079 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51080 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
51081 calling $(make-target-directory).
51083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51085 * bits/types.h (__snseconds_t): Removed.
51086 * time/time.h (struct timespec): Replace __snseconds_t with
51088 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51089 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51091 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51092 (__SNSECONDS_T_TYPE): Likewise.
51093 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51094 (__SNSECONDS_T_TYPE): Likewise.
51095 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51096 (__SNSECONDS_T_TYPE): Likewise.
51098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51100 * sysdeps/mach/hurd/bits/typesizes.h
51101 (__SYSCALL_SLONG_TYPE): New macro.
51102 (__SYSCALL_ULONG_TYPE): Likewise.
51104 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51106 * bits/types.h (__syscall_slong_t): New type.
51107 (__syscall_ulong_t): Likewise.
51109 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51110 (__SYSCALL_ULONG_TYPE): Likewise.
51111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51112 (__SYSCALL_SLONG_TYPE): Likewise.
51113 (__SYSCALL_ULONG_TYPE): Likewise.
51114 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51115 (__SYSCALL_SLONG_TYPE): Likewise.
51116 (__SYSCALL_ULONG_TYPE): Likewise.
51117 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51118 (__SYSCALL_SLONG_TYPE): Likewise.
51119 (__SYSCALL_ULONG_TYPE): Likewise.
51121 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51123 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51124 Add sigaltstack-offsets.sym.
51125 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51126 <sigaltstack-offsets.h>.
51127 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
51128 longjmp_msg pointer.
51129 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
51130 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51132 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51134 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51136 * elf/stackguard-macros.h: Remove file.
51137 * sysdeps/generic/stackguard-macros.h: New file.
51138 * sysdeps/i386/stackguard-macros.h: Likewise.
51139 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51140 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51141 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51142 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51143 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51144 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51145 * sysdeps/x86_64/stackguard-macros.h: Likewise.
51146 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51147 <elf/stackguard-macros.h>.
51150 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51151 __aligned__ in attribute.
51152 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51153 (gregset_t): Likewise.
51155 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51157 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51158 * sysdeps/x86_64/64/Implies-after: Here. New file.
51159 * sysdeps/x86_64/x32/Implies-after: New file.
51161 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51163 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51164 and access return value for _dl_profile_fixup. Use R10_LP to
51167 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51169 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51171 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51173 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51174 * sysdeps/x86_64/x32/sysdep.h: New file.
51176 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51178 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51179 * sysdeps/x86_64/setjmp.S: Likewise.
51181 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51183 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51184 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51185 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51186 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51187 remove unused global constant.
51189 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
51191 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51192 include of <not-cancel.h>.
51194 2012-05-15 Roland McGrath <roland@hack.frob.com>
51196 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51198 2012-05-15 Jeff Law <law@redhat.com>
51199 Andreas Jaeger <aj@suse.de>
51202 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51204 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51205 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51206 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51207 code changing __hst_map_handle.map.
51209 2012-05-15 Roland McGrath <roland@hack.frob.com>
51211 * configure.in (sysnames): Look for Implies-before and Implies-after
51213 * configure: Regenerated.
51215 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51217 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51218 8-byte data alignment with LP_SIZE alignment.
51220 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51222 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51225 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51227 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51229 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51231 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51232 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51233 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51235 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51237 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51239 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51240 (stackinfo_sub_sp): Likewise.
51242 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51244 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51247 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51249 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51252 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51254 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51257 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51259 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51261 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51263 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51264 into R11_LP and load __x86_64_shared_cache_size_half into
51267 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
51269 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51272 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51274 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51276 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51278 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51280 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51281 powerpc32/power7/fpu/s_logb.c via #include.
51282 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51283 powerpc32/power7/fpu/s_logbf.c via #include.
51284 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51285 powerpc32/power7/fpu/s_logbl.c via #include.
51287 2012-05-15 Joseph Myers <joseph@codesourcery.com>
51289 * README.libm: Remove file.
51291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51293 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51294 count for x32. Use R*_LP and omit operand-size suffix.
51296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51298 * shlib-versions: Move x86_64-.*-linux.* entries to ...
51299 * sysdeps/x86_64/64/shlib-versions: Here. New file.
51300 * sysdeps/x86_64/x32/shlib-versions: New file.
51302 2012-05-14 Roland McGrath <roland@hack.frob.com>
51304 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51305 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51306 Use _dl_fatal_printf instead.
51308 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51310 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51311 set if not set by the user. Do not allow for being unset.
51312 * sysdeps/unix/sysv/linux/configure: Regenerated.
51314 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51316 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51317 the `q' suffix from lea and replace .quad with ASM_ADDR.
51319 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51321 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51322 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
51324 (PTR_DEMANGLE): Likewise.
51326 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51328 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51330 (ASM_ADDR): Likewise.
51331 (RAX_LP): Likewise.
51332 (RBP_LP): Likewise.
51333 (RBX_LP): Likewise.
51334 (RCX_LP): Likewise.
51335 (RDI_LP): Likewise.
51336 (RSI_LP): Likewise.
51337 (RSP_LP): Likewise.
51340 (R10_LP): Likewise.
51341 (R10_LP): Likewise.
51342 (R11_LP): Likewise.
51343 (R12_LP): Likewise.
51344 (R13_LP): Likewise.
51345 (R14_LP): Likewise.
51346 (R15_LP): Likewise.
51348 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51350 * sysdeps/x86_64/x32/dl-machine.h: New file.
51352 2012-05-14 Andreas Jaeger <aj@suse.de>
51354 * manual/Makefile (subdir): Remove export of subdir.
51355 (all): Remove target.
51356 (.PHONY): Remove all from list.
51357 (mkinstalldirs): Remove.
51358 (.PHONY): Remove installdirs from list.
51359 ($(inst_infodir)/libc.info): Use make-target-directory.
51360 (installdirs): Remove.
51361 (subdir_%): Remove.
51362 (glibc-targets): Remove.
51365 ($(objpfx)stubs ../po/manual.pot): Remove.
51366 ($(objpfx)stamp%): Remove.
51367 (make-target-directory): Remove.
51368 (subdir_install): Remove.
51369 (routines): Remove.
51376 * manual/.gitignore: Remove, it's not needed anymore.
51377 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51379 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51381 (texis): Renamed to $(objpfx)texis.
51382 (texis-path): New, contains path to generated files.
51383 (chapters.%): Use texis-path for complete path, add extra argument
51385 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51386 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51387 (summary,texi, stamp-summary): Use complete path of
51388 files. Generate files in build dir.
51389 (dir-add.texi): Build in build dir.
51390 (libm-err.texi,stamp-libm-err): Likewise.
51391 (version.texi, stamp-version): Likewise.
51392 (.%c.texi): Likewise.
51393 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51394 (mostlyclean): Remove target.
51395 (realclean): Remove target.
51396 (generated): Add new variable with contents from mostlyclean and
51397 realclean, remove entries duplicated in common-mostlyclean, add
51398 stamp-libm-err and stamp-version.
51399 (generated-dirs): Add libc directory.
51400 ($(inst_infodir)/libc.info): Install files from build dir.
51402 * manual/install.texi (Configuring and compiling): Adjust since
51403 the info files are not part of the tar ball anymore.
51405 2012-05-14 Andreas Jaeger <aj@suse.de>
51407 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51410 2012-05-14 Joseph Myers <joseph@codesourcery.com>
51413 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51414 to 2.2.0 where earlier.
51415 * sysdeps/unix/sysv/linux/configure: Regenerated.
51416 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51417 Remove conditional code.
51418 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51419 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51420 Remove conditional code.
51421 [!__NR_lchown]: Likewise.
51422 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51423 [__NR_lchown]: Likewise.
51424 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51425 comment referencing __ASSUME_LCHOWN_SYSCALL.
51426 * sysdeps/unix/sysv/linux/i386/sigaction.c
51427 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51428 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51429 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51430 Remove conditional code.
51431 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51432 (__protocol_available): Remove #if 0 code.
51433 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51435 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51436 * sysdeps/unix/sysv/linux/kernel-features.h
51437 (__ASSUME_GETCWD_SYSCALL): Don't define.
51438 (__ASSUME_REALTIME_SIGNALS): Likewise.
51439 (__ASSUME_PREAD_SYSCALL): Likewise.
51440 (__ASSUME_PWRITE_SYSCALL): Likewise.
51441 (__ASSUME_POLL_SYSCALL): Likewise.
51442 (__ASSUME_LCHOWN_SYSCALL): Likewise.
51443 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51445 (__ASSUME_SIOCGIFNAME): Don't define.
51446 (__ASSUME_MSG_NOSIGNAL): Likewise.
51447 (__ASSUME_SENDFILE): Define unconditionally.
51448 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51449 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51451 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51452 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51453 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51454 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51455 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51456 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51457 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51459 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51460 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51462 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51463 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51465 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51468 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51471 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51474 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51477 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51482 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51483 Remove conditional code.
51484 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51485 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51486 Remove conditional code.
51487 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51488 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51489 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51490 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51491 Remove conditional code.
51492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51493 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51494 Remove conditional code.
51495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51496 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51497 Remove conditional code.
51498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51499 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51500 Remove conditional code.
51501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51502 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51503 Remove conditional code.
51504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51505 * sysdeps/unix/sysv/linux/sh/pwrite64.c
51506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51508 * sysdeps/unix/sysv/linux/sigaction.c
51509 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51510 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51511 * sysdeps/unix/sysv/linux/sigpending.c
51512 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51513 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51514 * sysdeps/unix/sysv/linux/sigprocmask.c
51515 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51516 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51517 * sysdeps/unix/sysv/linux/sigsuspend.c
51518 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51519 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51520 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51521 (__libc_missing_rt_sigs): Remove.
51522 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51523 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51524 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51525 Remove conditional code.
51526 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51527 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51529 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51530 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51531 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51532 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51534 2012-05-14 Andreas Jaeger <aj@suse.de>
51536 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51537 it's not used in glibc.
51538 (__coshm1): Likewise.
51539 (__acosh1p): Likewise.
51542 * manual/string.texi (Copying and Concatenation): Add missing
51543 variable in concat example.
51544 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51546 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51549 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51550 __builtin_clzl with __builtin_clzll.
51552 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
51555 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51558 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51560 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51561 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51562 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51563 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51565 2012-05-14 Mike Frysinger <vapier@gentoo.org>
51567 * NEWS: Update ia64 info.
51569 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
51571 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51574 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
51576 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51577 * sysdeps/unix/syscalls.list (dup3): Likewise.
51578 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51579 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51581 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51583 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51584 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51586 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
51588 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51590 (TLS_IE): Use mov/add instead of movq/addq to load thread
51592 (TLS_GD_PREFIX): New.
51595 2012-05-11 David S. Miller <davem@davemloft.net>
51597 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51598 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51599 (_FPU_SETCW): Likewise.
51601 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51603 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51604 is 32-byte aligned.
51606 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
51609 * iconvdata/gb18030.c: Update tables.
51610 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
51611 characters specially.
51612 (BODY for TO_LOOP): Add encoding of missing ranges.
51614 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
51617 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51618 * sysdeps/mach/hurd/dup3.c: Likewise.
51619 * sysdeps/mach/hurd/readlinkat.c: Likewise.
51620 * sysdeps/powerpc/memmove.c:: Likewise.
51622 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51624 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51625 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51627 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
51629 * elf/elf.h (R_X86_64_RELATIVE64): New.
51630 (R_X86_64_NUM): Updated.
51631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51632 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
51633 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51634 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51635 tst-quad1pie tst-quad2pie
51636 (modules-names): Add tst-quadmod1 tst-quadmod2.
51637 ($(objpfx)tst-quad1): New dependency.
51638 ($(objpfx)tst-quad2): Likewise.
51639 ($(objpfx)tst-quad1pie): Likewise.
51640 ($(objpfx)tst-quad2pie): Likewise.
51641 * sysdeps/x86_64/tst-quad1.c: New file.
51642 * sysdeps/x86_64/tst-quad1pie.c: New file.
51643 * sysdeps/x86_64/tst-quad2.c: Likewise.
51644 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51645 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51646 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51647 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51648 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51650 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51652 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51653 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51654 * streams/stropts.h (t_scalar_t): Define type.
51656 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51657 (_PATH_PRESERVE): Set to "/var/lib".
51658 (_PATH_RWHODIR): Set to "/var/spool/rwho".
51660 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51663 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51664 if __dir_mkfile succeeded.
51666 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51667 checking for _hurd_dtablesize. Unlock it right after having
51668 finished _hurd_dtable allocation.
51670 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51672 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51673 * sysdeps/mach/hurd/configure: Regenerated.
51674 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51675 special-casing to...
51676 * sysdeps/gnu/configure.in: ... this new file.
51677 * sysdeps/unix/sysv/linux/configure: Regenerated.
51678 * sysdeps/gnu/configure: New generated file.
51680 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51681 for Linux: use nsec instead of usec, as well as:
51682 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51683 members of type struct timespec.
51684 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51686 (struct stat64): Likewise.
51687 (_STATBUF_ST_NSEC): New macro.
51688 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51690 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51691 __strtoul_internal rather than strtoul.
51693 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51695 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51698 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51700 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51701 which preserves existing values.
51702 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51706 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51707 TIMEOUT values. Return EINVAL for NFDS values either negative or
51708 greater than FD_SETSIZE.
51710 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51712 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51713 allocated, call __vm_protect to finish enabling the existing space, and
51714 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51715 allocate the remainder.
51717 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51719 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51720 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
51722 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51724 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51725 sysdeps/mach/hurd/readlink.c.
51727 * posix/tst-sysconf.c (posix_options): Only use
51728 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51729 _POSIX_SYNCHRONIZED_IO when they are defined
51730 * sysdeps/mach/hurd/bits/posix_opt.h:
51731 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51732 (_XOPEN_REALTIME): Undefine macro.
51733 (_XOPEN_REALTIME_THREADS): Undefine macro.
51734 (_XOPEN_SHM): Undefine macro.
51735 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51737 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51739 (_POSIX_ASYNC_IO): Undefine macro.
51740 (_POSIX_PRIORITIZED_IO): Undefine macro.
51741 (_POSIX_SPIN_LOCKS): Define macro to -1.
51743 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51744 SA_NODEFER, SA_RESETHAND.
51745 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51746 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51749 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51751 * elf/Makefile (pldd-modules): Define unconditionally.
51753 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51755 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51757 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51759 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51760 Return ENOENT when name is empty.
51761 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51763 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51765 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51767 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51769 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51771 Fix mlock in all cases except non-readable pages.
51772 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51773 instead of VM_PROT_ALL as parameter to __vm_wire function.
51775 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51776 (__mkdir): When path is `/', just fail with EEXIST.
51777 * sysdeps/mach/hurd/mkdirat.c: Likewise.
51779 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51781 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51782 <sys/uio.h> (for writev).
51783 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51784 and <sys/param.h> (for MIN).
51786 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
51788 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51789 REQUESTED_TIME. Properly set the remaining time and return EINTR
51792 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51794 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51795 Depend on against $(link-rpcuserlibs).
51797 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51799 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51800 (__libc_stack_end): Do not use attribute_relro.
51801 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51802 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51803 to libthread-provided value.
51804 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51807 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51810 * bits/libc-lock.h (__libc_once_get): New macro.
51811 * sysdeps/mach/bits/libc-lock.h: Likewise.
51812 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51813 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51814 instead of using implementation details.
51816 * libio/fileops.c: Unconditionally include <kernel-features.h>.
51817 * libio/freopen.c: Likewise.
51818 * libio/freopen64.c: Likewise.
51819 * misc/syslog.c: Likewise.
51820 * nscd/connections.c: Likewise.
51821 * nscd/netgroupcache.c: Likewise.
51822 * sysdeps/posix/getcwd.c: Likewise.
51824 2012-05-10 Roland McGrath <roland@hack.frob.com>
51826 * math/w_ilogbf.c: Add #include <limits.h>.
51828 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51830 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51831 path instead of returning without unlocking.
51833 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51834 immediate-write ioctls.
51835 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51837 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51839 * sysdeps/mach/hurd/i386/init-first.c (init): Use
51840 __builtin_frame_address instead of making assumptions about the
51841 location of the return address relative to DATA. Force early load of
51842 the return address.
51843 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51844 __builtin_frame_address.
51847 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51848 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
51849 implement dup3 and do some further code clean-ups.
51850 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51851 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51853 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51855 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51857 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51858 HURD_CRITICAL_END around holding _hurd_dtable_lock.
51859 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51860 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51861 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51864 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51865 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
51866 when handler == SIG_ERR, not when handler != SIG_ERR.
51868 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51870 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51871 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51874 accept4 for GNU Hurd.
51875 * include/sys/socket.h (__libc_accept4): New prototype.
51876 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
51877 to implement __libc_accept4.
51878 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51880 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51882 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51883 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51884 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51885 signal-defines.sym.
51887 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51889 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51891 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
51893 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51894 assertion on O_CLOEXEC flag.
51895 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51896 * hurd/intern-fd.c: Likewise.
51897 * hurd/port2fd.c: Likewise.
51899 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
51902 * bits/in.h (IPV6_PKTINFO): Define new macro.
51903 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51905 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51910 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51911 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51912 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51913 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51914 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51915 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51916 * math/libm-test.inc (logb_test) : Additional logb tests.
51918 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
51919 Andreas Jaeger <aj@suse.de>
51921 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51922 * configure: Regenerated.
51923 * config.h.in (LINK_OBSOLETE_RPC): New macro.
51924 * config.make.in (link-obsolete-rpc): New substituted variable.
51925 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51926 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51927 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51928 (shared-only-routines): Don't set it under [link-obsolete-rpc],
51929 so that libc.a contains the symbols.
51930 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51931 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51932 * sunrpc/auth_none.c: Likewise.
51933 * sunrpc/auth_unix.c: Likewise.
51934 * sunrpc/authdes_prot.c: Likewise.
51935 * sunrpc/authuxprot.c: Likewise.
51936 * sunrpc/clnt_gen.c: Likewise.
51937 * sunrpc/clnt_perr.c: Likewise.
51938 * sunrpc/clnt_raw.c: Likewise.
51939 * sunrpc/clnt_simp.c: Likewise.
51940 * sunrpc/clnt_tcp.c: Likewise.
51941 * sunrpc/clnt_udp.c: Likewise.
51942 * sunrpc/clnt_unix.c: Likewise.
51943 * sunrpc/des_crypt.c: Likewise.
51944 * sunrpc/des_soft.c: Likewise.
51945 * sunrpc/get_myaddr.c: Likewise.
51946 * sunrpc/key_call.c: Likewise.
51947 * sunrpc/key_prot.c: Likewise.
51948 * sunrpc/netname.c: Likewise.
51949 * sunrpc/pm_getmaps.c: Likewise.
51950 * sunrpc/pm_getport.c: Likewise.
51951 * sunrpc/pmap_clnt.c: Likewise.
51952 * sunrpc/pmap_prot.c: Likewise.
51953 * sunrpc/pmap_prot2.c: Likewise.
51954 * sunrpc/pmap_rmt.c: Likewise.
51955 * sunrpc/publickey.c: Likewise.
51956 * sunrpc/rpc_cmsg.c: Likewise.
51957 * sunrpc/rpc_common.c: Likewise.
51958 * sunrpc/rpc_dtable.c: Likewise.
51959 * sunrpc/rpc_prot.c: Likewise.
51960 * sunrpc/rpc_thread.c: Likewise.
51961 * sunrpc/rtime.c: Likewise.
51962 * sunrpc/svc.c: Likewise.
51963 * sunrpc/svc_auth.c: Likewise.
51964 * sunrpc/svc_raw.c: Likewise.
51965 * sunrpc/svc_run.c: Likewise.
51966 * sunrpc/svc_tcp.c: Likewise.
51967 * sunrpc/svc_udp.c: Likewise.
51968 * sunrpc/svc_unix.c: Likewise.
51969 * sunrpc/svcauth_des.c: Likewise.
51970 * sunrpc/xcrypt.c: Likewise.
51971 * sunrpc/xdr.c: Likewise.
51972 * sunrpc/xdr_array.c: Likewise.
51973 * sunrpc/xdr_float.c: Likewise.
51974 * sunrpc/xdr_intXX_t.c: Likewise.
51975 * sunrpc/xdr_mem.c: Likewise.
51976 * sunrpc/xdr_rec.c: Likewise.
51977 * sunrpc/xdr_ref.c: Likewise.
51978 * sunrpc/xdr_sizeof.c: Likewise.
51979 * sunrpc/xdr_stdio.c: Likewise.
51981 2012-05-10 Roland McGrath <roland@hack.frob.com>
51983 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51984 change. Update copyright years.
51986 2012-05-10 Joseph Myers <joseph@codesourcery.com>
51988 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51990 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
51991 Joseph Myers <joseph@codesourcery.com>
51992 Paul Pluzhnikov <ppluzhnikov@google.com>
51995 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51997 [cross-compiling] (extra-libs): Likewise.
51998 [cross-compiling] (extra-libs-others): Likewise.
51999 [cross-compiling] (librpcsvc-routines): Likewise.
52000 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52001 [cross-compiling] (omit-deps): Likewise.
52002 (sunrpc-CPPFLAGS): New variable.
52003 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52004 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52005 (cross-rpcgen-objs): New variable.
52006 (extra-objs): Append $(cross-rpcgen-objs).
52007 ($(cross-rpcgen-objs)): New rule.
52008 ($(objpfx)cross-rpcgen): Likewise.
52009 (rpcgen-cmd): Define to use $(built-program-file). Expand
52011 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52012 ($(objpfx)x%.stmp): Likewise.
52013 * sunrpc/proto.h [IS_IN_build] (_): Define.
52014 [IS_IN_build] (_libc_intl_domainname): Likewise.
52016 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
52018 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52019 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52020 and R_X86_64_TPOFF64.
52022 2012-05-10 Joseph Myers <joseph@codesourcery.com>
52024 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52025 sysdeps/unix/sysv/syscalls.list.
52028 * sysdeps/unix/sysv/syscalls.list: Remove file.
52030 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
52033 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52034 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52035 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52036 (__LC_IDENTIFICATION): Make these macros useful in #if
52037 expressions, as required by C99.
52039 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
52041 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52042 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
52045 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
52047 * stdlib/longlong.h: Updated from GCC.
52049 2012-05-09 Andreas Jaeger <aj@suse.de>
52051 * nscd/nscd.c (run_modes): Make named enum, reorder so that
52052 default is first entry.
52053 (run_mode): Set type.
52054 (main): Remove informal message about syslog.
52055 (options): Fix typo.
52058 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52061 (llrintf): Likewise.
52062 (llrint): Likewise.
52065 (nearbyint): Likewise.
52066 (nearbyintf): Likewise.
52068 2012-05-09 Andreas Jaeger <aj@suse.de>
52069 Pedro Alves <palves@redhat.com>
52071 * nscd/nscd.c (run_mode): Use enum.
52072 (main): Cleanup coding style issue.
52074 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
52075 Andreas Jaeger <aj@suse.de>
52077 * nscd/nscd.c (go_background): Replaced with...
52078 (run_mode): ... this.
52079 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52080 (options): Add -F --foreground.
52081 (main): Implement it.
52082 (parse_opt): Parse it.
52084 2012-05-09 Andreas Jaeger <aj@suse.de>
52087 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52088 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52089 -Wconversion warning.
52090 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52093 2012-05-09 Joseph Myers <joseph@codesourcery.com>
52095 * conform/data/locale.h-data (NULL): Use macro-constant. Require
52097 (LC_ALL): Use macro-int-constant.
52098 (LC_COLLATE): Likewise.
52099 (LC_CTYPE): Likewise.
52100 (LC_MESSAGES): Likewise.
52101 (LC_MONETARY): Likewise.
52102 (LC_NUMERIC): Likewise.
52103 (LC_TIME): Likewise.
52104 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52105 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52106 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52107 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52109 [C99-based standards] (float_t): Expect type.
52110 [C99-based standards] (double_t): Expect type.
52111 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
52113 [C99-based standards] (HUGE_VALL): Likewise.
52114 [C99-based standards] (INFINITY): Likewise.
52115 [C99-based standards] (NAN): Likewise.
52116 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52117 [C99-based standards] (FP_NAN): Likewise.
52118 [C99-based standards] (FP_NORMAL): Likewise.
52119 [C99-based standards] (FP_SUBNORMAL): Likewise.
52120 [C99-based standards] (FP_ZERO): Likewise.
52121 [C99-based standards] (FP_FAST_FMA): Use
52122 optional-macro-int-constant. Specify type. Require == 1.
52123 [C99-based standards] (FP_FAST_FMAF): Likewise.
52124 [C99-based standards] (FP_FAST_FMAL): Likewise.
52125 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52126 [C99-based standards] (FP_ILOGBNAN): Likewise.
52127 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52129 [C99-based standards] (MATH_ERREXCEPT): Likewise.
52130 [C99-based standards] (math_errhandling): Specify type.
52131 [ISO99 || ISO11] (signgam): Do not allow.
52132 [non-C99-based standards] (copysignf): Do not allow.
52133 [non-C99-based standards] (exp2f): Likewise.
52134 [non-C99-based standards] (log2f): Likewise.
52135 [non-C99-based standards] (modff): Allow.
52136 [non-C99-based standards] (erff): Do not allow.
52137 [non-C99-based standards] (erfcf): Likewise.
52138 [non-C99-based standards] (gammaf): Likewise.
52139 [non-C99-based standards] (hypotf): Likewise.
52140 [non-C99-based standards] (j0f): Likewise.
52141 [non-C99-based standards] (j1f): Likewise.
52142 [non-C99-based standards] (jnf): Likewise.
52143 [non-C99-based standards] (lgammaf): Likewise.
52144 [non-C99-based standards] (tgammaf): Likewise.
52145 [non-C99-based standards] (y0f): Likewise.
52146 [non-C99-based standards] (y1f): Likewise.
52147 [non-C99-based standards] (ynf): Likewise.
52148 [non-C99-based standards] (isnanf): Likewise.
52149 [non-C99-based standards] (acoshf): Likewise.
52150 [non-C99-based standards] (asinhf): Likewise.
52151 [non-C99-based standards] (atanhf): Likewise.
52152 [non-C99-based standards] (cbrtf): Likewise.
52153 [non-C99-based standards] (expm1f): Likewise.
52154 [non-C99-based standards] (ilogbf): Likewise.
52155 [non-C99-based standards] (log1pf): Likewise.
52156 [non-C99-based standards] (logbf): Likewise.
52157 [non-C99-based standards] (nextafterf): Likewise.
52158 [non-C99-based standards] (remainderf): Likewise.
52159 [non-C99-based standards] (rintf): Likewise.
52160 [non-C99-based standards] (scalbf): Likewise.
52161 [non-C99-based standards] (copysignl): Likewise.
52162 [non-C99-based standards] (exp2l): Likewise.
52163 [non-C99-based standards] (log2l): Likewise.
52164 [non-C99-based standards] (modfl): Allow.
52165 [non-C99-based standards] (erfl): Do not allow.
52166 [non-C99-based standards] (erfcl): Likewise.
52167 [non-C99-based standards] (gammal): Likewise.
52168 [non-C99-based standards] (hypotl): Likewise.
52169 [non-C99-based standards] (j0l): Likewise.
52170 [non-C99-based standards] (j1l): Likewise.
52171 [non-C99-based standards] (jnl): Likewise.
52172 [non-C99-based standards] (lgammal): Likewise.
52173 [non-C99-based standards] (tgammal): Likewise.
52174 [non-C99-based standards] (y0l): Likewise.
52175 [non-C99-based standards] (y1l): Likewise.
52176 [non-C99-based standards] (ynl): Likewise.
52177 [non-C99-based standards] (isnanl): Likewise.
52178 [non-C99-based standards] (acoshl): Likewise.
52179 [non-C99-based standards] (asinhl): Likewise.
52180 [non-C99-based standards] (atanhl): Likewise.
52181 [non-C99-based standards] (cbrtl): Likewise.
52182 [non-C99-based standards] (expm1l): Likewise.
52183 [non-C99-based standards] (ilogbl): Likewise.
52184 [non-C99-based standards] (log1pl): Likewise.
52185 [non-C99-based standards] (logbl): Likewise.
52186 [non-C99-based standards] (nextafterl): Likewise.
52187 [non-C99-based standards] (remainderl): Likewise.
52188 [non-C99-based standards] (rintl): Likewise.
52189 [non-C99-based standards] (scalbl): Likewise.
52190 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52191 [non-C99-based standards] (FP_*): Do not allow.
52192 [C99-based standards] (FP_*): Change to
52193 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52194 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52196 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52197 (SIG_ERR): Likewise.
52198 [X/Open-based standards] (SIG_HOLD): Likewise.
52199 (SIG_IGN): Likewise.
52200 (SIGABRT): Use macro-int-constant. Specify type. Require
52202 (SIGFPE): Likewise.
52203 (SIGILL): Likewise.
52204 (SIGINT): Likewise.
52205 (SIGSEGV): Likewise.
52206 (SIGTER): Likewise.
52207 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52208 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52209 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52210 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52211 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52212 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52213 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52214 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52215 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52216 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52217 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52218 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52219 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52220 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52221 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52222 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52223 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52224 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52225 [X/Open-based standards] (SIGTRAP): Likewise.
52226 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52227 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52228 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52229 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52230 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52233 2012-05-08 Ian Wienand <ianw@vmware.com>
52236 * time/tzset.c (__tzset_parse_tz): Update default rules for
52237 daylight time changes in the Energy Policy Act of 2005.
52239 2012-05-09 Andreas Jaeger <aj@suse.de>
52242 * elf/ldconfig.c (parse_conf): Change string to make clear that
52243 ldconfig only issued a warning if ld.so.conf does not exist.
52245 2012-05-08 David S. Miller <davem@davemloft.net>
52247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52248 movxtod instead of popping the value on the stack.
52250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52252 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
52254 * config.h.in: Add HAVE_ARM_PCS_VFP.
52256 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
52259 * include/features.h: Warn if user requests __FORTIFY_SOURCE
52260 checking but the checks are disabled for any reason.
52262 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
52264 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52265 and ELF64_R_TYPE with ELFW(R_TYPE).
52267 2012-05-08 Joseph Myers <joseph@codesourcery.com>
52269 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52270 (ulimit): Likewise.
52272 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52273 (settimeofday): Likewise.
52275 2012-05-08 Mike Frysinger <vapier@gentoo.org>
52277 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
52278 a struct th_u2 inside the union, and move tu_block/tu_code into
52279 a new th_u3 union of tu_block/tu_code inside of that. Move
52280 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
52281 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
52282 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52283 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52284 (th_stuff): Change to th_u1.tu_stuff.
52286 (th_msg): Change to th_u1.th_u2.tu_data.
52288 2012-05-07 David S. Miller <davem@davemloft.net>
52290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52293 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52294 (SETUP_PIC_REG): Use it.
52295 (SETUP_PIC_REG_LEAF): Use it.
52297 2012-05-07 Joseph Myers <joseph@codesourcery.com>
52301 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52303 (EXPL_FINITE): Likewise.
52304 (FLDLOG): Likewise.
52305 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52306 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52308 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52310 (EXPL_FINITE): Likewise.
52311 (FLDLOG): Likewise.
52312 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52313 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52315 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
52316 test of -max_value argument for long double.
52317 * sysdeps/i386/fpu/libm-test-ulps: Update.
52318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52320 2012-05-06 David S. Miller <davem@davemloft.net>
52322 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52323 quad soft-float symbols whose references which are compiler
52325 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52327 2012-05-06 Joseph Myers <joseph@codesourcery.com>
52331 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52333 (EXPL_FINITE): Likewise.
52334 (FLDLOG): Likewise.
52337 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52338 Adjust comments for base varying.
52339 (__expl_finite): Change alias to EXPL_FINITE.
52340 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52342 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52343 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52344 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52345 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52348 (EXPL_FINITE): Likewise.
52349 (FLDLOG): Likewise.
52352 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
52353 Adjust comments for base varying.
52354 (__expl_finite): Change alias to EXPL_FINITE.
52355 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
52357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52360 * math/libm-test.inc (check_float_internal): Correct ulp
52361 calculation for subnormal expected results.
52363 2012-05-06 Andreas Jaeger <aj@suse.de>
52365 * Makeconfig (+math-flags): New, set to -frounding-math.
52366 (+cflags): Add +math-flags so that all of glibc gets compiled with
52369 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52371 2012-05-05 Joseph Myers <joseph@codesourcery.com>
52373 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52379 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52380 (__ieee754_expl): Allow for and saturate large arguments.
52381 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52382 (u_threshold): Likewise.
52383 (__exp): Call __ieee754_exp before checking for overflow and
52385 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52386 (u_threshold): Likewise.
52387 (__expf): Call __ieee754_expf before checking for overflow and
52389 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52390 (u_threshold): Likewise.
52391 (__expl): Call __ieee754_expl before checking for overflow and
52393 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52394 (__ieee754_expl): Allow for and saturate large arguments.
52395 * math/libm-test.inc (exp_test): Add another test. Do not allow
52396 missing overflow exception on overflow.
52397 (expm1_test): Do not allow missing overflow exception on overflow.
52399 * sysdeps/i386/fpu/e_expl.c: Move to ...
52400 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
52401 rather than using inline asm.
52402 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52403 * sysdeps/x86_64/fpu/e_expl.S: Copy from
52404 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52406 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52409 (signal): Likewise.
52413 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52415 * sysdeps/unix/syscalls.list (adjtime): Add entry from
52416 sysdeps/unix/common/syscalls.list.
52417 (fchmod): Likewise.
52418 (fchown): Likewise.
52419 (ftruncate): Likewise.
52420 (getrusage): Likewise.
52421 (gettimeofday): Likewise.
52422 (setpgid): Likewise.
52423 (setregid): Likewise.
52424 (setreuid): Likewise.
52425 (sigaction): Likewise.
52426 (truncate): Likewise.
52427 (vhangup): Likewise.
52428 * sysdeps/unix/common/syscalls.list: Remove file.
52429 * sysdeps/unix/bsd/Implies: Don't include unix/common.
52430 * sysdeps/unix/sysv/linux/Implies: Likewise.
52432 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
52434 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52436 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52440 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52443 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52446 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52449 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52452 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52455 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52457 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52458 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52460 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52462 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52466 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52469 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52473 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52477 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52479 * sysdeps/unix/common/bits/dirent.h: Remove file.
52480 * sysdeps/unix/common/bits/fcntl.h: Likewise.
52482 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52483 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52484 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52485 * sysdeps/unix/bsd/isatty.c: Likewise.
52486 * sysdeps/unix/bsd/tcdrain.c: Likewise.
52487 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52488 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52490 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52493 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52494 long double comparison inaccuracies.
52495 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52498 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
52500 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52501 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52503 2012-05-04 Joseph Myers <joseph@codesourcery.com>
52506 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52507 nonzero digits before rounding a hex value.
52508 * stdlib/tst-strtod.c (tests): Add another test.
52510 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52512 * sysdeps/s390/fpu/libm-test-ulps: Update.
52514 2012-05-03 Andreas Jaeger <aj@suse.de>
52516 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52517 does not get optimized out.
52518 (malloc_opt_barrier): New.
52520 2012-05-03 Andreas Jaeger <aj@suse.de>
52521 Roland McGrath <roland@hack.frob.com>
52523 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52524 intermediate file deletion.
52525 (generated): Add .symlist files.
52527 2012-05-03 Joseph Myers <joseph@codesourcery.com>
52530 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52531 Redirect under this condition.
52532 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52533 [__USE_GNU] (__dprintf_chk): Not under this condition.
52534 [__USE_GNU] (__vdprintf_chk): Likewise.
52535 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52536 under this condition.
52537 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52538 [__USE_XOPEN2K8] (dprintf): Define under this condition.
52539 [__USE_XOPEN2K8] (vdprintf): Likewise.
52540 [__USE_GNU] (__dprintf_chk): Not under this condition.
52541 [__USE_GNU] (__vdprintf_chk): Likewise.
52542 [__USE_GNU] (dprintf): Likewise.
52543 [__USE_GNU] (vdprintf): Likewise.
52545 2012-05-03 Roland McGrath <roland@hack.frob.com>
52547 * elf/Makefile (common-generated): Set this instead of generated for
52548 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
52549 $(all-built-dso)-derived lists.
52551 2012-05-03 Andreas Jaeger <aj@suse.de>
52553 * sysdeps/i386/fpu/libm-test-ulps: Update.
52556 * FAQ.in: Likewise.
52557 * scripts/gen-FAQ.pl: Likewise.
52558 * manual/install.texi (Installation): Point to online location of
52560 * Makefile (files-for-dist): Remove FAQ.
52563 2012-05-02 Allan McRae <allan@archlinux.org>
52565 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52566 (LDFLAGS-reldepmod5.so): Likewise.
52567 (LDFLAGS-reldep6mod1.so): Likewise.
52568 (LDFLAGS-reldep6mod4.so): Likewise.
52569 (LDFLAGS-reldep8mod3.so): Likewise.
52570 (LDFLAGS-unload4mod1.so): Likewise.
52571 (LDFLAGS-unload4mod2.so): Likewise.
52572 (LDFLAGS-tst-initorder): Likewise.
52573 (LDFLAGS-tst-initordera2.so): Likewise.
52574 (LDFLAGS-tst-initordera3.so): Likewise.
52575 (LDFLAGS-tst-initordera4.so): Likewise.
52576 (LDFLAGS-tst-initorderb2.so): Likewise.
52577 (LDFLAGS-noload): Likewise.
52578 (LDFLAGS-next): Likewise.
52579 (LDFLAGS-order2mod1.so): Likewise.
52580 (LDFLAGS-order2mod2.so): Likewise.
52581 (LDFLAGS-tst-initorder2): Likewise.
52582 (LDFLAGS-tst-initorder2a.so): Likewise.
52583 (LDFLAGS-tst-initorder2b.so): Likewise.
52584 (LDFLAGS-tst-initorder2c.so): Likewise.
52585 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52587 2012-05-02 David S. Miller <davem@davemloft.net>
52589 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52591 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
52594 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52596 2012-05-02 Andreas Jaeger <aj@suse.de>
52598 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52599 since we manipulate rounding mode.
52600 (CPPFLAGS-test-idouble.c): Likewise.
52601 (CPPFLAGS-test-ifloat.c): Likewise.
52602 (CFLAGS-test-ldouble.c): Likewise.
52603 (CFLAGS-test-double.c): Likewise.
52604 (CFLAGS-test-float.c): Likewise.
52605 (CFLAGS-test-misc.c): Likewise.
52606 (CFLAGS-test-test-fenv.c): Likewise.
52608 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52612 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52613 comparisons to determine direction to adjust input.
52615 2012-05-01 Roland McGrath <roland@hack.frob.com>
52617 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52618 output to the target.
52620 * scripts/localplt.awk: New file.
52621 * elf/Makefile ($(objpfx)check-localplt): Target removed.
52622 (check-localplt-CFLAGS): Variable removed.
52623 ($(all-built-dso:=.jmprel)): New static pattern rule.
52624 (generated): Add those targets.
52625 (localplt-built-dso): New variable.
52626 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52628 * elf/check-localplt.c: File removed.
52630 * scripts/check-execstack.awk: New file.
52631 * elf/Makefile ($(objpfx)check-execstack): Target removed.
52632 (check-execstack-CFLAGS): Variable removed.
52633 ($(objpfx)check-execstack.h): Target removed.
52634 ($(objpfx)execstack-default): New target.
52635 (generated): Add that instead of check-execstack.h.
52636 ($(all-built-dso:=.phdr)): New static pattern rule.
52637 (generated): Add those targets.
52638 * elf/check-execstack.c: File removed.
52640 * scripts/check-textrel.awk: New file.
52641 * elf/Makefile ($(objpfx)check-textrel): Target removed.
52642 (check-textrel-CFLAGS): Variable removed.
52643 (all-built-dso): Use := to define.o
52644 ($(all-built-dso:=.dyn)): New static pattern rule.
52645 (generated): Add those targets.
52646 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52647 * config.make.in (READELF): New substituted variable.
52648 * elf/check-textrel.c: File removed.
52650 2012-05-01 Joseph Myers <joseph@codesourcery.com>
52652 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52654 * conform/data/ctype.h-data [C99-based standards] (isblank):
52656 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52657 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52658 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52659 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52660 Specify type. Require positive value.
52661 (EILSEQ): Likewise.
52662 (ERANGE): Likewise.
52663 [ISO || POSIX] (EILSEQ): Do not expect.
52664 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52665 Specify type. Require positive value.
52666 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52667 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52668 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52669 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52670 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52671 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52672 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52673 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52674 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52675 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52676 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52677 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52678 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52679 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52680 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52681 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52682 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52683 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52684 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52685 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52686 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52687 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52688 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52689 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52690 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52691 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52692 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52693 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52694 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52695 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52696 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52697 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52698 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52699 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52700 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52701 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52702 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52703 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52704 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52705 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52706 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52707 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52708 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52709 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52710 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52711 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52712 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52713 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52714 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52715 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52716 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52717 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52718 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52719 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52720 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52721 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52722 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52723 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52724 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52725 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52726 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52727 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52728 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52729 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52730 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52731 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52732 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52733 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52734 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52735 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52736 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52737 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52738 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52739 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52740 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52741 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52742 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52744 (FLT_ROUNDS): Expect as macro, not constant.
52745 (FLT_MANT_DIG): Use macro-int-constant.
52746 (DBL_MANT_DIG): Likewise.
52747 (LDBL_MANT_DIG): Likewise.
52748 (FLT_DIG): Likewise.
52749 (DBL_DIG): Likewise.
52750 (LDBL_DIG): Likewise.
52751 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
52752 (DBL_MIN_EXP): Likewise.
52753 (LDBL_MIN_EXP): Likewise.
52754 (FLT_MAX_EXP): Use macro-int-constant.
52755 (DBL_MAX_EXP): Likewise.
52756 (LDBL_MAX_EXP): Likewise.
52757 (FLT_MAX_10_EXP): Likewise.
52758 (DBL_MAX_10_EXP): Likewise.
52759 (LDBL_MAX_10_EXP): Likewise.
52760 (FLT_MAX): Use macro-constant.
52761 (DBL_MAX): Likewise.
52762 (LDBL_MAX): Likewise.
52763 (FLT_EPSILON): Use macro-constant. Give upper bound.
52764 (DBL_EPSILON): Likewise.
52765 (LDBL_EPSILON): Likewise.
52766 (FLT_MIN): Likewise.
52767 (DBL_MIN): Likewise.
52768 (LDBL_MIN): Likewise.
52769 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52770 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52771 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52772 [ISO11] (FLT_HAS_SUBNORM): Likewise.
52773 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52774 [ISO11] (DBL_DECIMAL_DIG): Likewise.
52775 [ISO11] (FLT_DECIMAL_DIG): Likewise.
52776 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52777 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52778 [ISO11] (FLT_TRUE_MIN): Likewise.
52779 [ISO11] (LDBL_TRUE_MIN): Likewise.
52780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52781 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52782 (SCHAR_MIN): Use macro-int-constant. Specify type.
52783 (SCHAR_MAX): Likewise.
52784 (UCHAR_MAX): Likewise.
52785 (CHAR_MIN): Likewise.
52786 (CHAR_MAX): Likewise.
52787 (MB_LEN_MAX): Use macro-int-constant.
52788 (SHRT_MIN): Use macro-int-constant. Specify type.
52789 (SHRT_MAX): Likewise.
52790 (USHRT_MAX): Likewise.
52791 (INT_MAX): Likewise.
52792 (INT_MIN): Use macro-int-constant. Specify type. Make upper
52794 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
52796 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52798 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
52799 bound negative. Suffix upper bound with "L".
52800 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
52802 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52804 [C99-based standards] (LLONG_MAX): Likewise.
52805 [C99-based standards] (ULLONG_MAX): Likewise.
52806 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
52808 [ISO11] (max_align_t): Require type.
52809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
52811 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52812 from $CFLAGS, without defining away __attribute__ calls.
52813 (checknamespace): Use $CFLAGS_namespace.
52815 * conform/conformtest.pl (@keywords): Only include C99 keywords
52816 for standards based on C99 or C11.
52818 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52820 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52823 * conform/conformtest.pl: Handle "macro-int-constant" and test for
52824 usability of symbols in #if.
52826 * conform/conformtest.pl: If macro or constant types start
52827 "promoted:", expect the symbol to be of the following type
52828 promoted by the integer promotions.
52830 * conform/conformtest.pl: Parse all "constant" and "macro" lines
52831 in one place. Also handle "macro-constant".
52833 * conform/conformtest.pl: Only accept expected macro values with
52834 "==". Parse all "macro" lines in one place.
52835 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52837 * conform/conformtest.pl: Handle braced types on "constant" lines
52838 instead of handling "typed-constant".
52839 * conform/data/signal.h-data: Use "constant" instead of
52842 * conform/conformtest.pl: Handle "optional-" at start of lines in
52843 one place rather than duplicating several cases. Handle each
52844 format of "macro" line with initial "optional-".
52846 * conform/conformtest.pl: Only accept expected constant or
52847 optional-constant values with "==". Parse all "constant" lines in
52848 one place. Parse all "optional-constant" lines in one place.
52849 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52850 * conform/data/fmtmsg.h-data: Likewise.
52851 * conform/data/netinet/in.h-data: Likewise.
52852 * conform/data/tar.h-data: Likewise.
52853 * conform/data/limits.h-data: Use "==" form on "constant" and
52854 "optional-constant" lines.
52856 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52857 Use -std=c99 for XOPEN2K.
52858 (@knownproblems): Remove.
52859 (newtoken): Don't check %isknown.
52861 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52862 Do not expect macro.
52863 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52864 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52865 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52866 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52867 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52868 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52869 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52870 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52871 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52872 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52873 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52874 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52875 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52876 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52877 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52878 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52879 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52880 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52881 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52882 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52883 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52884 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52885 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52886 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52887 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52888 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52889 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52890 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52891 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52892 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52893 [XPG3] (acosh): Likewise.
52894 [XPG3] (asinh): Likewise.
52895 [XPG3] (atanh): Likewise.
52896 [XPG3] (cbrt): Likewise.
52897 [XPG3] (expm1): Likewise.
52898 [XPG3] (ilogb): Likewise.
52899 [XPG3] (log1p): Likewise.
52900 [XPG3] (logb): Likewise.
52901 [XPG3] (nextafter): Likewise.
52902 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52903 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52904 [XPG3] (remainder): Likewise.
52905 [XPG3] (rint): Likewise.
52906 [XPG3 || XPG4 || UNIX98] (round): Likewise.
52907 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52908 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52909 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52910 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52911 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52912 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52913 [UNIX98 || XOPEN2K] (scalb): Expect.
52914 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52915 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52916 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52917 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52918 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52919 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52920 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52921 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52922 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52923 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52924 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52925 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52926 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52927 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52928 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52929 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52930 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52931 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52932 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52933 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52934 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52935 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52936 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52937 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52938 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52939 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52940 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52941 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52942 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52943 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52944 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52945 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52946 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52947 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52948 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52949 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52950 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52951 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52952 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52953 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52954 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52955 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52956 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52957 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52958 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52959 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52960 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52961 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52962 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52963 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52964 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52965 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52966 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52967 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52968 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52969 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52970 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52971 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52972 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52973 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52974 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52975 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52976 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52977 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52978 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52979 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52980 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52981 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52982 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52983 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52984 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52985 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52986 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52987 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52988 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52989 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52990 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52991 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52992 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52993 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52994 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52995 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52996 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52997 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52998 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52999 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53000 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53001 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53002 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53003 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53004 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53005 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53006 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53007 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53008 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53009 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53010 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53011 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53012 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53013 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53014 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53015 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53016 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53017 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53018 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53019 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53020 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53021 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53022 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53023 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53024 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53025 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53026 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53027 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53028 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53029 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53030 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53031 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53032 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53033 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53034 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53035 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53036 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53037 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53038 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53039 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53040 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53041 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53042 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53043 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53044 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53045 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53046 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53047 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53048 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53049 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53050 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53052 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53053 _XOPEN_SOURCE_EXTENDED for XPG4.
53055 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53057 * Makeconfig (localtime): Remove variable.
53058 (inst_localtime-file): Likewise.
53060 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53081 2012-05-01 Joseph Myers <joseph@codesourcery.com>
53085 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53086 comparisons to determine direction to adjust input.
53087 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53088 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53089 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53091 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53093 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53095 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53096 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53098 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53100 * math/libm-test.inc (nexttoward_test): Add more tests.
53102 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
53105 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53106 in version GLIBC_2.1, not GLIBC_2.0.
53107 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53110 2012-04-30 Joseph Myers <joseph@codesourcery.com>
53113 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53115 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53116 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53117 * math/libm-test.inc (acos_test): Add more tests.
53118 (asin_test): Likewise.
53119 * sysdeps/i386/fpu/libm-test-ulps: Update.
53120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53123 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53125 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53127 * math/libm-test.inc (acos_test_tonearest): New function.
53128 (acos_test_towardzero): Likewise.
53129 (acos_test_downward): Likewise.
53130 (acos_test_upward): Likewise.
53131 (asin_test_tonearest): Likewise.
53132 (asin_test_towardzero): Likewise.
53133 (asin_test_downward): Likewise.
53134 (asin_test_upward): Likewise.
53135 (main): Call the new functions.
53136 * sysdeps/i386/fpu/libm-test-ulps: Update.
53137 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53141 * math/e_exp10.c: Include <float.h>.
53142 (__ieee754_exp10): Handle underflow here rather than multiplying
53143 large negative argument by M_LN10.
53144 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53146 * math/e_exp10l.c: Include <float.h>.
53147 (__ieee754_exp10l): Handle underflow here rather than multiplying
53148 large negative argument by M_LN10l.
53149 * math/libm-test.inc (exp10_test): Add another test. Do not allow
53150 spurious overflow exception on underflow.
53152 2012-04-29 Marek Polacek <polacek@redhat.com>
53154 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53155 (__fortify_function): New macro.
53156 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53157 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53158 __extern_always_inline.
53159 * libio/bits/stdio2.h: Likewise.
53160 * libio/bits/stdio.h: Likewise.
53161 * string/string.h: Likewise.
53162 * string/bits/string3.h: Likewise.
53163 * include/stdio.h: Likewise.
53164 * stdlib/bits/stdlib.h: Likewise.
53165 * stdlib/stdlib.h: Likewise.
53166 * rt/bits/mqueue2.h: Likewise.
53167 * rt/mqueue.h: Likewise.
53168 * posix/bits/unistd.h: Likewise.
53169 * posix/unistd.h: Likewise.
53170 * io/bits/poll2.h: Likewise.
53171 * io/bits/fcntl2.h: Likewise.
53172 * io/fcntl.h: Likewise.
53173 * io/sys/poll.h: Likewise.
53174 * misc/bits/syslog.h: Likewise.
53175 * misc/bits/syslog-ldbl.h: Likewise.
53176 * misc/sys/syslog.h: Likewise.
53177 * socket/bits/socket2.h: Likewise.
53178 * socket/sys/socket.h: Likewise.
53179 * debug/tst-chk1.c: Likewise.
53180 * wcsmbs/bits/wchar2.h: Likewise.
53181 * wcsmbs/bits/wchar-ldbl.h: Likewise.
53182 * wcsmbs/wchar.h: Likewise.
53184 2012-04-29 Andreas Jaeger <aj@suse.de>
53186 * Makerules (tests): Remove enable-check-abi protection.
53187 (check-abi-warn): Remove.
53188 (check-abi-%): Remove check-abi-warn usage.
53190 * configure.in: Remove check-abi configure option.
53191 * configure: Regenerated.
53192 * config.make.in (enable-check-abi): Remove.
53194 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
53197 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53198 double functions to double *_finite functions.
53201 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53202 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53204 * stdio-common/Makefile (tests): Add tst-sprintf3.
53205 * stdio-common/tst-sprintf3.c: New file.
53207 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53208 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53210 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53212 * conform/conformtest.pl: Remove duplicate typed-constant
53215 2012-04-28 David S. Miller <davem@davemloft.net>
53217 * Makerules (%.abilist): Add vpath on sysdep_dirs.
53218 (check-abi-%): Remove AWK script prerequisite and explicit
53220 (check-abi): Rewrite to just diff the symlist with the abilist.
53221 (config-tls, config-abi-config): Delete, no longer used.
53222 (update-abi-%): Remove AWK script and explicit abilist directory.
53223 (update-abi): Rewrite to simply compare and conditionally copy the
53224 symlist and the sysdep abilist file. Remove update-abi-config
53226 * abilist/ld.abilist: Remove.
53227 * abilist/libBrokenLocale.abilist: Remove.
53228 * abilist/libanl.abilist: Remove.
53229 * abilist/libcrypt.abilist: Remove.
53230 * abilist/libdl.abilist: Remove.
53231 * abilist/librt.abilist: Remove.
53232 * abilist/libthread_db.abilist: Remove.
53233 * abilist/libutil.abilist: Remove.
53234 * scripts/extract-abilist.awk: Remove.
53235 * scripts/merge-abilist.awk: Remove.
53236 * sysdeps/generic/libcidn.abilist: New file.
53237 * sysdeps/generic/libnss_compat.abilist: New file.
53238 * sysdeps/generic/libnss_db.abilist: New file.
53239 * sysdeps/generic/libnss_dns.abilist: New file.
53240 * sysdeps/generic/libnss_files.abilist: New file.
53241 * sysdeps/generic/libnss_hesiod.abilist: New file.
53242 * sysdeps/generic/libnss_nis.abilist: New file.
53243 * sysdeps/generic/libnss_nisplus.abilist: New file.
53244 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53245 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53246 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53248 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53249 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53250 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53251 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53252 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53253 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53254 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53255 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53256 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53258 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53259 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53260 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53261 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53263 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53264 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53266 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53267 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53268 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53270 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53271 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53272 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53274 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53275 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53277 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53279 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53281 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53283 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53285 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53287 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53289 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53291 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53293 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53295 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53297 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53299 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53327 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53359 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53365 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53367 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53369 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53373 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53377 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53378 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53379 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53381 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53382 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53383 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53384 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53385 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53386 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53387 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53388 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53389 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53390 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53392 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53394 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53396 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53400 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53404 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53406 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53408 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53410 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53412 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53414 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53416 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53419 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53421 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53423 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53429 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53435 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53437 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53442 2012-04-28 Joseph Myers <joseph@codesourcery.com>
53444 * conform/conformtest.pl: Fix typo in handling typed-constant from
53447 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53449 * README: Cut down references to pre-2.6 Linux kernels and
53450 Linuxthreads. Update lists of configurations in libc and ports
53451 and sort alphabetically. Say "or newer" with Linux kernel version
53454 * config.h.in [IS_IN_build]: Allow compiling without optimization.
53456 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
53459 * math/libm-test.inc (logb_test_downward): New test to expose
53460 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53463 2012-04-27 Joseph Myers <joseph@codesourcery.com>
53466 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53468 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53469 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53471 2012-04-26 Joseph Myers <joseph@codesourcery.com>
53473 * sysdeps/unix/i386/brk.S: Remove file.
53474 * sysdeps/unix/i386/dl-brk.S: Likewise.
53475 * sysdeps/unix/i386/pipe.S: Likewise.
53476 * sysdeps/unix/i386/sigreturn.S: Likewise.
53477 * sysdeps/unix/i386/syscall.S: Likewise.
53478 * sysdeps/unix/i386/vfork.S: Likewise.
53479 * sysdeps/unix/i386/wait.S: Likewise.
53481 * sysdeps/unix/common/tcsendbrk.c: Move to ...
53482 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53484 * configure.in (arm*-none*): Do not allow without
53485 --enable-hacker-mode.
53486 (netbsd*): Remove case setting base_os.
53487 (386bsd*): Likewise.
53488 (freebsd*): Likewise.
53491 (sunos*): Likewise.
53492 (ultrix*): Likewise.
53493 (newsos*): Likewise.
53494 (dynix*): Likewise.
53500 (minix*): Likewise.
53501 (irix4*): Likewise.
53502 (irix6*): Likewise.
53503 (solaris[2-9]*): Likewise.
53505 * configure: Regenerated.
53507 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53510 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53511 overflow or cancellation in calculating denominator.
53512 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53513 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53514 down expression to avoid unexpected rounding in newer GCCs.
53515 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53517 2012-04-26 David S. Miller <davem@davemloft.net>
53519 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53520 long-double compat symbols.
53521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53535 2012-04-25 David S. Miller <davem@davemloft.net>
53537 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53538 HWCAP_* values only after the memory barriers have been defined.
53539 (atomic_full_barrier): Define.
53540 (atomic_read_barrier): Define.
53541 (atomic_write_barrier): Define.
53543 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
53545 * shlib-versions: Add libgcc_s version information.
53546 * sysdeps/generic/libgcc_s.h: Remove.
53547 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53549 * sysdeps/gnu/unwind-resume.c: Likewise.
53550 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53552 2012-04-25 David S. Miller <davem@davemloft.net>
53554 * sysdeps/unix/sparc/brk.S: Delete.
53555 * sysdeps/unix/sparc/dl-brk.S: Delete.
53556 * sysdeps/unix/sparc/pipe.S: Delete.
53557 * sysdeps/unix/sparc/sysdep.S: Delete.
53558 * sysdeps/unix/sparc/sysdep.h: Delete.
53559 * sysdeps/unix/sparc/vfork.S: Delete.
53560 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53561 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53562 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53563 (ret_ERRVAL, r0, r1, MOVE): Define.
53564 (JUMPTARGET): Remove.
53565 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53566 sysdeps/unix/sparc/sysdep.h
53567 (ENTRY, END): Remove.
53568 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53570 2012-04-25 Joseph Myers <joseph@codesourcery.com>
53572 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53573 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53576 * timezone/README: Update upstream location and email address for
53578 * timezone/zdump.c: Update from tzcode 2012b.
53579 * timezone/zic.c: Likewise.
53581 * configure.in (libc_cv_as_needed): Remove test.
53582 * configure: Regenerated.
53583 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53584 conditional definition.
53585 [$(have-as-needed) != yes] (no-as-needed): Likewise.
53586 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53587 * config.make.in (have-as-needed): Remove variable.
53589 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
53590 Paul Pluzhnikov <ppluzhnikov@google.com>
53592 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53595 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
53597 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53598 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53599 * sysdeps/sh/strlen.S: Likewise.
53601 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53603 * sysdeps/unix/fork.S: Remove file.
53604 * sysdeps/unix/i386/fork.S: Likewise.
53605 * sysdeps/unix/sparc/fork.S: Likewise.
53607 * sysdeps/unix/system.c: Remove file.
53608 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53610 * sysdeps/unix/getegid.S: Remove file.
53611 * sysdeps/unix/geteuid.S: Likewise.
53613 2012-04-24 Roland McGrath <roland@hack.frob.com>
53615 * scripts/check-localplt.awk: New file.
53616 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53618 * scripts/data/localplt-generic.data: Add a comment.
53620 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53621 NODE when __dir_mkfile failed.
53622 * sysdeps/mach/hurd/symlinkat.c: Likewise.
53623 Reported by Ludovic Courtès <ludo@gnu.org>.
53625 2012-04-24 Andreas Jaeger <aj@suse.de>
53627 * Makerules (common-clean): Also remove gen-as-const-headers
53630 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53632 * Makerules (native-compile): Do not change working directory for
53633 build. Use $(OUTPUT_OPTION) in command.
53634 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53636 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53639 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53640 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53641 * math/libm-test.inc (floor_test): Add more tests.
53642 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53644 2012-04-24 Joseph Myers <joseph@codesourcery.com>
53646 * sysdeps/unix/getdents.c: Remove file.
53647 * sysdeps/unix/sysv/getdents.c: Likewise.
53648 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53650 * sysdeps/unix/syscalls.list (madvise): Add syscall from
53651 sysdeps/unix/mman/syscalls.list.
53653 (mprotect): Likewise.
53655 (munmap): Likewise.
53656 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53657 * sysdeps/unix/mman/syscalls.list: Remove.
53658 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53660 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53661 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53662 * configure: Regenerated.
53663 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53664 $(libgcc_s_suffix).
53665 * config.make.in (libgcc_s_suffix): Remove variable.
53667 2012-04-23 Joseph Myers <joseph@codesourcery.com>
53669 * sysdeps/unix/sysv/gethostname.c: Move to ...
53670 * sysdeps/posix/gethostname.c: ... here.
53672 * sysdeps/unix/execve.S: Remove file.
53674 * sysdeps/unix/_exit.S: Remove file.
53676 2012-04-23 Andreas Jaeger <aj@suse.de>
53679 * manual/Makefile: Remove make dist support, there's no
53680 need for a stand-alone documentation tar ball.
53681 (TEXI2DVI): Define always, it's not in Makeconfig.
53684 (edition): Removed.
53685 (glibc-doc-$(edition).tar): Removed
53689 (ETAGS): Remove, it's in Makeconfig.
53690 (move-if-change): Remove, it's in Makeconfig.
53692 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
53695 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53696 (strtod, strtof, strtold, strtol, strtoul, strtoq)
53697 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53698 (strtod_l, strtof_l, strtold_l): Remove __wur.
53699 It is not necessarily an error to ignore strtol's return value.
53700 One can reliably look at the stored endptr to decide whether
53701 the number had valid syntax.
53703 2012-04-21 Andreas Jaeger <aj@suse.de>
53706 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53708 2012-04-21 Joseph Myers <joseph@codesourcery.com>
53710 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53711 * sysdeps/unix/sysv/Versions: Remove file.
53713 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
53716 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53718 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
53721 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53722 version from __vm86.
53724 2012-04-20 Joseph Myers <joseph@codesourcery.com>
53726 * sysdeps/unix/common/lxstat.c: Remove file.
53727 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53729 * sysdeps/unix/sysv/Makefile: Remove file.
53731 * sysdeps/unix/sysv/direct.h: Remove file.
53733 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53734 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53735 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53736 * sysdeps/unix/sysv/bits/signum.h: Likewise.
53737 * sysdeps/unix/sysv/bits/stat.h: Likewise.
53738 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53739 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53741 * sysdeps/unix/sysv/setrlimit.c: Remove file.
53743 * sysdeps/unix/xmknod.c: Remove file.
53744 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53746 * sysdeps/unix/sysv/settimeofday.c: Remove file.
53748 * sysdeps/unix/sysv/i386/time.S: Remove file.
53750 * sysdeps/unix/fxstat.c: Remove file.
53751 * sysdeps/unix/xstat.c: Likewise.
53752 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53754 * sysdeps/unix/sysv/sigaction.c: Remove file.
53756 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53757 (sysdep_headers): Remove variable.
53758 [termio.h not in sysdep_headers] (generated): Likewise.
53759 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53760 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53761 * sysdeps/unix/sysv/tcdrain.c: Likewise.
53762 * sysdeps/unix/sysv/tcflow.c: Likewise.
53763 * sysdeps/unix/sysv/tcflush.c: Likewise.
53764 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53765 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53766 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53767 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53768 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53770 * sysdeps/unix/siglist.c: Remove file.
53772 * sysdeps/unix/getppid.S: Remove file.
53774 * sysdeps/unix/mkdir.c: Remove file.
53775 * sysdeps/unix/rmdir.c: Likewise.
53777 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
53779 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53781 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53782 errlist-compat value.
53784 2012-04-18 David S. Miller <davem@davemloft.net>
53786 * sysdeps/generic/memcopy.h (reg_char): Delete.
53787 * debug/strcat_chk.c: Use char, not reg_char.
53788 * debug/strcpy_chk.c: Likewise.
53789 * debug/strncat_chk.c: Likewise.
53790 * debug/strncpy_chk.c: Likewise.
53791 * string/memchr.c: Likewise.
53792 * string/memrchr.c: Likewise.
53793 * string/rawmemchr.c: Likewise.
53794 * string/strcat.c: Likewise.
53795 * string/strchr.c: Likewise.
53796 * string/strchrnul.c: Likewise.
53797 * string/strcmp.c: Likewise.
53798 * string/strcpy.c: Likewise.
53799 * string/strncat.c: Likewise.
53800 * string/strncmp.c: Likewise.
53801 * string/strncpy.c: Likewise.
53803 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53805 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53806 __builtin_memcopy is called when src and dest ranges are known to not
53809 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53811 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53812 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53813 fwd_align_merge macro call.
53814 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53815 bwd_align_merge macro call.
53816 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53818 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
53820 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53821 bwd_align_merge macros.
53822 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53823 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53824 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53826 2012-04-18 David S. Miller <davem@davemloft.net>
53828 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53830 2012-04-18 Andreas Jaeger <aj@suse.de>
53833 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53834 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53835 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53837 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53838 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53839 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53841 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53842 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53843 Adjust for changed ldbl-128 files.
53845 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53846 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53847 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53849 2012-04-17 David S. Miller <davem@davemloft.net>
53851 * sysdeps/sparc/sparc32/memcopy.h: Delete.
53853 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
53855 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53856 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53857 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53858 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53859 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53860 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53862 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53865 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53866 * math/libm-test.inc: Add ilogb errno and exception tests.
53867 * math/w_ilogb.c: New file: ilogb wrapper.
53868 * math/w_ilogbf.c: New file: ilogbf wrapper.
53869 * math/w_ilogbl.c: New file: ilogbl wrapper.
53870 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53871 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53872 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53873 exception being thrown with 0.0 as argument.
53874 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53875 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53876 exception being thrown with 0.0 as argument.
53877 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53878 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53879 exception being thrown with 0.0 as argument.
53880 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53881 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53882 exception being thrown with 0.0 as argument.
53883 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53884 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53885 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53886 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53887 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53888 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53889 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53890 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53891 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53893 2012-04-17 Petr Baudis <pasky@ucw.cz>
53895 * include/sys/uio.h: Change __vector to __iovec to avoid clash
53898 2012-04-16 Marek Polacek <polacek@redhat.com>
53900 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53902 2012-04-16 Marek Polacek <polacek@redhat.com>
53904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53905 operands of fdivp instruction.
53907 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53909 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53910 * elf/tst-auditmod3b.c: Likewise.
53911 * elf/tst-auditmod4b.c: Likewise.
53912 * elf/tst-auditmod5b.c: Likewise.
53913 * elf/tst-auditmod6b.c: Likewise.
53914 * elf/tst-auditmod6c.c: Likewise.
53915 * elf/tst-auditmod7b.c: Likewise.
53916 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53917 * sysdeps/x86_64/preconfigure.in: Likewise.
53918 * sysdeps/x86_64/preconfigure: Regenerated.
53920 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
53922 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53925 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
53927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53928 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53930 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
53933 * locale/iso-639.def: Fix gl language name. Spotted by
53936 2012-04-12 Roland McGrath <roland@hack.frob.com>
53939 * libio/libio.h (__io_write_fn): Update comment.
53941 2012-04-12 Petr Baudis <pasky@ucw.cz>
53944 * stdio.texi (Hook Functions): The user provided writer function
53945 is not allowed to return -1.
53947 2012-04-11 David S. Miller <davem@davemloft.net>
53949 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53951 2012-04-11 Mike Frysinger <vapier@gentoo.org>
53953 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53954 Add a leading slash to rtkaio.
53956 2012-04-11 Jim Meyering <meyering@redhat.com>
53959 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53960 It is not necessarily an error to ignore fwrite's return
53961 value. One can reliably use ferror to test for errors after
53964 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53966 * bits/types.h (__snseconds_t): New type.
53967 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53969 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53970 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53971 (__SNSECONDS_T_TYPE): Likewise.
53972 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53973 (__SNSECONDS_T_TYPE): Likewise.
53974 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53975 (__SNSECONDS_T_TYPE): Likewise.
53977 2012-04-10 Andreas Jaeger <aj@suse.de>
53980 * manual/time.texi (Processor Time): Return type of times is
53981 elapsed real time since an arbitrary point in the past.
53982 (CPU Time): Move CLK_TCK from here...
53983 (Processor Time): ...to here. Correct description.
53984 * manual/conf.texi (Constants for Sysconf): Correct description of
53987 2012-04-10 David S. Miller <davem@davemloft.net>
53990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53991 where the is a gap between DT_REL(A) and DT_JMPREL.
53993 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
53995 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53996 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53997 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53999 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54001 * elf/dl-support.c (_dl_inhibit_cache): New variable.
54002 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54003 (dl_main): Handle --inhibit-cache.
54004 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54006 * elf/dl-load.c (_dl_map_object): Use it.
54007 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54009 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54012 * sysdeps/i386/fpu/e_powl.S (p78): New object.
54013 (__ieee754_powl): Saturate large exponents rather than testing for
54014 overflow of y*log2(x).
54015 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54016 * math/libm-test.inc (pow_test): Do not permit spurious overflow
54020 * math/s_ctan.c: Include <float.h>.
54021 (__ctan): Avoid internal overflow or cancellation in calculating
54023 * math/s_ctanf.c: Likewise.
54024 * math/s_ctanl.c: Likewise.
54025 * math/s_ctanh.c: Likewise.
54026 * math/s_ctanhf.c: Likewise.
54027 * math/s_ctanhl.c: Likewise.
54028 * math/libm-test.inc (ctan_test): Add more tests.
54029 (ctanh_test): Likewise.
54030 * sysdeps/i386/fpu/libm-test-ulps: Update.
54031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54033 2012-04-09 Andreas Jaeger <aj@suse.de>
54036 * manual/filesys.texi (Directory Entries): Mention that d_namlen
54037 is an optional BSD extension.
54040 * manual/stdio.texi (Opening Streams): Document additional fopen
54043 2012-04-09 Roland McGrath <roland@hack.frob.com>
54045 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54046 %eax without telling the compiler.
54048 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
54051 * manual/install.texi: Use sourceware.org.
54053 2012-04-09 Joseph Myers <joseph@codesourcery.com>
54056 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54057 (__ieee754_pow): Generate overflow and underflow using huge*huge
54058 and tiny*tiny rather than just returning constant infinity or zero
54059 for large exponents.
54060 * math/libm-test.inc (pow_test): Require overflow exceptions for
54061 applicable cases of large exponents.
54064 * sysdeps/i386/fpu/e_pow.S (p10): New object.
54065 (__ieee754_pow): Use iterative multiplication algorithm only for
54066 integer exponents with absolute value below 1024. Check for odd
54067 integer exponents when using algorithm for real exponents.
54068 * math/libm-test.inc (pow_test): Add more tests.
54069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54071 2012-04-08 Joseph Myers <joseph@codesourcery.com>
54074 * math/libm-test.inc (exp_test): Do not allow overflow exception
54077 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
54080 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54081 instead of __kernel_standard_f.
54083 2012-04-08 Mike Frysinger <vapier@gentoo.org>
54085 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54086 * sysdeps/x86_64/memset_chk.S: Likewise.
54088 2012-04-08 Andreas Jaeger <aj@suse.de>
54091 * manual/startup.texi (Environment Access): Describe return value
54092 for putenv and setenv.
54095 * manual/filesys.texi (Directory Entries): Add description for
54099 * manual/filesys.texi (Directory Entries): Clarify that it's file
54100 system not operating system in the description of DT_UNKNOWN.
54103 * manual/syslog.texi (closelog): Fix reference, it's openlog.
54105 2012-04-08 Stephen Compall <s11@member.fsf.org>
54108 * manual/llio.texi (Opening and Closing Files): Add cross
54109 reference to explain mode argument.
54111 2012-04-07 Mike Frysinger <vapier@gentoo.org>
54113 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54114 * sysdeps/x86_64/memset_chk.S: Likewise.
54116 2012-04-07 David S. Miller <davem@davemloft.net>
54118 * elf/elf.h (R_SPARC_WDISP10): Define.
54119 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54121 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54122 R_SPARC_SIZE64 and R_SPARC_H34.
54124 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
54126 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54127 conditions and remove no longer applicable assertion.
54129 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54131 * bits/byteswap.h: Include <features.h>.
54132 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54133 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54135 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
54137 * bits/byteswap.h (__bswap_16): Removed.
54138 Include <bits/byteswap-16.h> to get __bswap_16.
54139 * sysdeps/i386/bits/byteswap.h: Likewise.
54140 * sysdeps/s390/bits/byteswap.h: Likewise.
54141 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54142 * bits/byteswap-16.h: New file.
54143 * sysdeps/i386/bits/byteswap-16.h: Likewise.
54144 * sysdeps/s390/bits/byteswap-16.h: Likewise.
54145 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54146 * string/Makefile (headers): Add bits/byteswap-16.h.
54148 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54151 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54153 * nss/Makefile (tests-static, tests): Add tst-nss-static.
54154 * nss/tst-nss-static.c: New.
54156 2012-04-06 Robert Millan <rmh@gnu.org>
54159 * manual/llio.texi (File Position Primitive): lseek
54160 refers to WHENCE when it really means OFFSET.
54162 2012-04-06 Andreas Jaeger <aj@suse.de>
54164 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54165 strncmp declarations.
54167 * abilist/libc.abilist: Add __poll and __ppoll.
54169 2012-04-05 David S. Miller <davem@davemloft.net>
54171 * scripts/check-local-headers.sh: Accept a host triplet in the
54172 path matched by the exclude regexp.
54174 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54176 * sysdeps/powerpc/powerpc32/dl-machine.h
54177 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54178 * sysdeps/s390/s390-32/dl-machine.h
54179 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54180 * sysdeps/sparc/sparc32/dl-machine.h
54181 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54182 * sysdeps/sparc/sparc64/dl-machine.h
54183 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54185 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54187 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54188 undefined symbol errors.
54190 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54193 2012-04-05 Michael Matz <matz@suse.de>
54196 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54198 2012-04-05 Andreas Jaeger <aj@suse.de>
54201 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54204 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54206 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54207 which ROUND is no valid rounding mode.
54209 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54211 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54213 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54215 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54217 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54218 an exception using FPU order intentionally.
54220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54222 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54223 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54224 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54225 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54227 2012-04-05 Simon Josefsson <simon@josefsson.org>
54230 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54231 EINVAL when BUFLEN is too smal.
54233 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
54236 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54237 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54239 2012-04-03 Andreas Jaeger <aj@suse.de>
54242 * manual/setjmp.texi (System V contexts): Fix sentence.
54245 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54246 New macro for this case.
54247 [!__GNUC__] (__bswap_64): New inline function for this case.
54248 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54249 * bits/byteswap.h: Likewise.
54250 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54251 ull, guard with __GLIBC_HAVE_LONG_LONG.
54253 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54254 __GLIBC_HAVE_LONG_LONG.
54256 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54257 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54259 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54262 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54263 inptr and inend, rather than using last_ch.
54265 2012-04-02 David S. Miller <davem@davemloft.net>
54267 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54268 * stdio-common/printf-parse.h (read_int): Change return type to
54269 'int', return -1 on INT_MAX overflow.
54270 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54271 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
54272 overflows INT_MAX. Check for overflow of in-format-string precision
54273 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
54274 SIZE_MAX not INT_MAX for integer overflow test.
54275 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54276 skip the construct in the format string but do not record anything.
54277 * stdio-common/bug22.c: Adjust to test both width/prevision
54278 INT_MAX overflow as well as total length INT_MAX overflow. Check
54279 explicitly for proper errno values.
54281 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
54283 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54285 * string/test-strcmp.c [! WIDE]: Likewise.
54286 * time/tst-mktime2.c: Likewise for INT_MAX.
54287 * string/test-string.h: #include <sys/param.h> for MIN.
54289 * csu/init-first.c (__libc_init_first): Call __ctype_init.
54290 * sysdeps/i386/init-first.c (init): Likewise.
54291 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54292 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54293 * sysdeps/sh/init-first.c (init): Likewise.
54295 2012-04-01 Ulrich Drepper <drepper@gmail.com>
54297 * po/ru.po: Update from translation team.
54298 * po/vi.po: Likewise.
54300 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
54302 * resolv/nss_dns/dns-host.c: Merge copyright years.
54304 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54306 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54307 Optimize memcpy with prefetch if
54308 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
54309 src, dst pointers have unequal 16 byte alignments.
54311 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
54314 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54315 from a CNAME entry and return the minimum ttl for the query.
54316 (gaih_getanswer_slice): Likewise.
54318 2012-03-30 Jeff Law <law@redhat.com>
54320 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54322 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54323 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54325 * resolv/nss_dns/dns-host.c: Update copyright year.
54327 2012-03-30 Ulrich Drepper <drepper@gmail.com>
54329 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54330 requests to save a system call. Fix check that all bytes are sent.
54332 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54333 comments for sendmmsg.
54335 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54338 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54339 with only 1 character between 0x0041 and 0x01b0.
54340 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54341 * wcsmbs/tst-mbsnrtowcs.c: New file.
54343 2012-03-29 David S. Miller <davem@davemloft.net>
54345 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54346 small copies by hand.
54348 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
54351 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54352 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54355 2012-03-28 David S. Miller <davem@davemloft.net>
54357 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54358 that branches into memcpy.
54359 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54360 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54361 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54362 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54365 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54366 implementation too.
54367 * sysdeps/sparc/mempcpy.S: New file.
54369 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54370 the IFUNC routine in the libc case.
54371 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54373 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54374 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54375 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54376 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54377 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54378 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54379 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54380 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54382 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54383 loop to 256 bytes instead of 64 bytes and fix test signedness.
54385 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54386 * sysdeps/sparc/sparc32/Makefile: rather than here...
54387 * sysdeps/sparc/sparc64/Makefile: and here.
54389 2012-03-28 Ulrich Drepper <drepper@gmail.com>
54391 * malloc/mallocbug.c: Avoid warnings about unused variables.
54393 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
54396 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54397 in the right place. Discard and retry query if response is
54398 larger than input buffer size.
54400 2012-03-28 Joseph Myers <joseph@codesourcery.com>
54405 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54406 x for large integer exponent.
54407 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54408 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
54409 sign of result as needed afterwards.
54410 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54411 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54412 result for underflowing pow the same as for overflow.
54413 (__kernel_standard_l): Handle powl overflow and underflow here
54414 rather than calling __kernel_standard.
54415 * math/libm-test.inc (pow_test): Add more tests.
54430 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54431 * sysdeps/ieee754/k_standard.c: Include <float.h>.
54432 (__kernel_standard_l): New function.
54433 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54435 * math/w_acosl.c (__acosl): Likewise.
54436 * math/w_asinl.c (__asinl): Likewise.
54437 * math/w_atan2l.c (__atan2l): Likewise.
54438 * math/w_atanhl.c (__atanhl): Likewise.
54439 * math/w_coshl.c (__coshl): Likewise.
54440 * math/w_exp10l.c (__exp10l): Likewise.
54441 * math/w_exp2l.c (__exp2l): Likewise.
54442 * math/w_fmodl.c (__fmodl): Likewise.
54443 * math/w_hypotl.c (__hypotl): Likewise.
54444 * math/w_j0l.c (__j0l, __y0l): Likewise.
54445 * math/w_j1l.c (__j1l, __y1l): Likewise.
54446 * math/w_jnl.c (__jnl, __ynl): Likewise.
54447 * math/w_lgammal.c (__lgammal): Likewise.
54448 * math/w_log10l.c (__log10l): Likewise.
54449 * math/w_log2l.c (__log2l): Likewise.
54450 * math/w_logl.c (__logl): Likewise.
54451 * math/w_powl.c (__powl): Likewise.
54452 * math/w_remainderl.c (__remainderl): Likewise.
54453 * math/w_scalbl.c (sysv_scalbl): Likewise.
54454 * math/w_sinhl.c (__sinhl): Likewise.
54455 * math/w_sqrtl.c (__sqrtl): Likewise.
54456 * math/w_tgammal.c (__tgammal): Likewise.
54457 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54458 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54459 * math/libm-test.inc (acos_test): Add more tests.
54460 (acosh_test): Likewise.
54461 (asin_test): Likewise.
54462 (atanh_test): Likewise.
54463 (exp_test): Likewise.
54464 (exp10_test): Likewise.
54465 (exp2_test): Likewise.
54466 (expm1_test): Likewise.
54467 (lgamma_test): Likewise.
54468 (log_test): Likewise.
54469 (log10_test): Likewise.
54470 (log1p_test): Likewise.
54471 (log2_test): Likewise.
54472 (pow_test): Do not allow some spurious overflow exceptions.
54473 (sqrt_test): Add more tests.
54474 (tgamma_test): Likewise.
54475 (y0_test): Likewise.
54476 (y1_test): Likewise.
54477 (yn_test): Likewise.
54479 2012-03-27 Anton Blanchard <anton@samba.org>
54481 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54484 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54487 2012-03-27 David S. Miller <davem@davemloft.net>
54489 * conform/Makefile: Run run-conformtest.sh using $(BASH).
54491 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54492 have-as-vis3 check.
54494 2012-03-27 Andreas Jaeger <aj@suse.de>
54496 * sysdeps/x86_64/elf/configure.in: Moved to ...
54497 * sysdeps/x86_64/configure.in: ... here.
54498 * sysdeps/x86_64/elf/start.S: Moved to ...
54499 * sysdeps/x86_64/start.S: ... here.
54500 * sysdeps/x86_64/elf/configure: Delete.
54502 * sysdeps/x86_64/configure.in: Merge contents from
54503 sysdeps/i386/configure.in (without i686 check).
54505 * sysdeps/i386/elf/Versions: Merge into ...
54506 * sysdeps/i386/Versions: ... this.
54507 * sysdeps/i386/elf/Versions: Delete file.
54508 * sysdeps/i386/elf/start.S: Moved to ...
54509 * sysdeps/i386/start.S: ...here.
54510 * sysdeps/i386/elf/configure.in: Merge into...
54511 * sysdeps/i386/configure.in: ...here.
54512 * sysdeps/i386/elf/configure.in: Delete file.
54513 * sysdeps/i386/elf/configure: Delete file.
54515 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54516 * debug/backtracesyms.c: ... here.
54517 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54518 * debug/backtracesymsfd.c: ... here.
54519 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54520 * sysdeps/generic/ifunc-sel.h: ... here.
54522 * sysdeps/unix/i386/start.c: Delete file.
54523 * sysdeps/unix/sparc/start.c: Delete file.
54524 * sysdeps/unix/start.c: Delete file.
54526 * sysdeps/sh/elf/configure.in: Moved to ...
54527 * sysdeps/sh/configure.in: ... here.
54528 * sysdeps/sh/elf/start.S: Moved to ...
54529 * sysdeps/sh/start.S: ... here.
54530 * sysdeps/sh/elf/configure: Delete file.
54532 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54533 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54534 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54535 * sysdeps/powerpc/powerpc64/entry.h: ... here.
54536 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54537 * sysdeps/powerpc/powerpc64/start.S: here.
54538 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54539 * sysdeps/powerpc/powerpc64/Makefile: ... this.
54540 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54541 * sysdeps/powerpc/powerpc64/configure.in: ... this.
54542 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54544 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54545 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54546 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54547 * sysdeps/powerpc/powerpc32/start.S: ... here.
54548 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54549 * sysdeps/powerpc/powerpc32/configure.in: ... this.
54550 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54552 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54553 * sysdeps/powerpc/ifunc-sel.h: ... here.
54554 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54555 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54557 * sysdeps/sparc/elf/configure.in: Moved to ...
54558 * sysdeps/sparc/configure.in: ... here.
54559 * sysdeps/sparc/elf/configure: Delete file.
54560 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54561 * sysdeps/sparc/sparc32/start.S: ... here.
54562 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54563 * sysdeps/sparc/sparc64/start.S: ... here.
54564 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54565 * sysdeps/sparc/sparc32/Makefile: ... this.
54566 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54567 * sysdeps/sparc/sparc64/Makefile: ... this.
54569 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54570 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54571 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54572 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54573 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54574 * sysdeps/s390/s390-32/setjmp.S: ... here.
54575 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54576 * sysdeps/s390/s390-32/configure.in: ... here.
54577 * sysdeps/s390/s390-32/elf/configure: Delete file.
54578 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54579 * sysdeps/s390/s390-32/start.S: ... here.
54581 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54582 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54583 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54584 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54585 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54586 * sysdeps/s390/s390-64/setjmp.S: ... here.
54587 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54588 * sysdeps/s390/s390-64/configure.in: ... here
54589 * sysdeps/s390/s390-64/elf/configure: Delete file.
54590 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54591 * sysdeps/s390/s390-64/start.S: ... here.
54592 * sysdeps/s390/s390-64/elf/configure: Delete.
54594 * configure.in: Remove support for elf directories in sysdeps.
54596 * configure: Regenerated.
54597 * sysdeps/i386/configure: Regenerated.
54598 * sysdeps/powerpc/powerpc32/configure: Regenerated.
54599 * sysdeps/powerpc/powerpc64/configure: Regenerated.
54600 * sysdeps/s390/s390-32/configure: Regenerated.
54601 * sysdeps/s390/s390-64/configure: Regenerated.
54602 * sysdeps/sh/configure: Regenerated.
54603 * sysdeps/sparc/configure: Regenerated.
54604 * sysdeps/x86_64/configure: Regenerated.
54606 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
54608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54610 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54611 denormal result into account.
54613 2012-03-25 Roland McGrath <roland@hack.frob.com>
54615 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54616 Reported by Allan McRae <allan@archlinux.org>.
54618 2012-03-23 Jeff Law <law@redhat.com>
54620 * nss/getnssent.c (__nss_getent): Fix typo.
54622 2012-03-23 David S. Miller <davem@davemloft.net>
54624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54626 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
54628 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54629 to pad to uint64_t for each field.
54630 (dl_tls_index): Replace unsigned long with uint64_t.
54632 2012-03-23 Daniel Jacobowitz <dmj@google.com>
54633 Paul Pluzhnikov <ppluzhnikov@google.com>
54636 * grp/Makefile (otherlibs): Don't set it.
54637 * inet/Makefile (otherlibs): Likewise.
54638 * login/Makefile (otherlibs): Likewise.
54639 * nscd/Makefile (otherlibs): Likewise.
54640 * posix/Makefile (otherlibs): Likewise.
54641 * pwd/Makefile (otherlibs): Likewise.
54642 * rt/Makefile (otherlibs): Likewise.
54643 * sunrpc/Makefile (otherlibs): Likewise.
54644 * nss/Makefile (otherlibs): Likewise.
54645 Add libnss_files to routines and static-only-routines.
54646 ($(objpfx)getent): Remove rule.
54647 * resolv/Makefile: Add libnss_dns and libresolv to routines and
54648 static-only-routines.
54650 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54653 * math/s_cexp.c: Include <float.h>.
54654 (__cexp): Handle exp result overflowing not necessarily
54655 overflowing both real and imaginary parts of result.
54656 * math/s_cexpf.c: Likewise.
54657 * math/s_cexpl.c: Likewise.
54658 * math/libm-test.inc (cexp_test): Add more tests.
54659 * sysdeps/i386/fpu/libm-test-ulps: Update.
54660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54662 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54664 * include/link.h (ELFW): New macro.
54665 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54666 Replace ELF64_R_TYPE with ELFW(R_TYPE).
54668 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54670 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54673 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54675 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54677 (struct La_x32_retval): Likewise.
54679 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
54681 * sysdeps/x86_64/preconfigure.in: New file.
54682 * sysdeps/x86_64/preconfigure: New generated file.
54684 2012-03-22 Joseph Myers <joseph@codesourcery.com>
54687 * math/e_exp2l.c: Include <float.h>.
54688 (__ieee754_exp2l): Handle overflow and underflow cases
54689 separately. Only pass fractional part of argument to
54691 * math/libm-test.inc (exp2_test): Add more tests.
54693 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54694 negating x to take absolute value.
54695 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54700 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54701 computing low part if x was negated.
54702 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54704 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54706 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54707 la_x32_gnu_pltexit.
54708 (pltexit): Cast int_retval to ptrdiff_t.
54709 * elf/tst-auditmod3b.c: Likewise.
54710 * elf/tst-auditmod4b.c: Likewise.
54711 * elf/tst-auditmod5b.c: Likewise.
54712 * elf/tst-auditmod6b.c: Likewise.
54713 * elf/tst-auditmod6c.c: Likewise.
54714 * elf/tst-auditmod7b.c: Likewise.
54716 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54717 and x32_gnu_pltexit.
54719 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54720 __ELF_NATIVE_CLASS.
54721 (La_x32_regs): New macro.
54722 (La_x32_retval): Likewise.
54723 (la_x32_gnu_pltenter): New function prototype.
54724 (la_x32_gnu_pltexit): Likewise.
54726 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
54728 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54733 * configure.in (libc_cv_cc_nofma): Check for option to disable
54734 generation of FMA instructions.
54735 * configure: Regenerate.
54736 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54737 * sysdeps/ieee754/dbl-64/Makefile: New file.
54738 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54739 Remove brandred-fma4.
54740 (CFLAGS-brandred-fma4.c): Remove.
54741 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54742 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54744 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54747 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54749 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54750 LLONG_MAX != LONG_MAX.
54751 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54752 (_fitoa_word): Likewise.
54753 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54754 LLONG_MAX != LONG_MAX.
54755 * stdio-common/_itowa.h: Include <_itoa.h>.
54756 (_itowa_word): Use _ITOA_WORD_TYPE on value.
54757 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
54758 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
54759 only if not defined.
54760 (_ITOA_WORD_TYPE): Likewise.
54761 (_itoa_word): Use _ITOA_WORD_TYPE on value.
54762 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54764 2012-03-21 David S. Miller <davem@davemloft.net>
54766 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54768 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
54770 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54771 of x86_64 when setting libc_cv_slibdir, libdir and
54773 * sysdeps/unix/sysv/linux/configure: Regenerated.
54775 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54777 * manual/lang.texi (Old Varargs): Remove section.
54778 (How Variadic): Update menu.
54779 (va_start): Do not mention varargs.h.
54781 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54782 Joseph Myers <joseph@codesourcery.com>
54784 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54786 * configure: Regenerated.
54788 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
54790 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54791 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54794 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54797 * Makefile (files-for-dist): Remove NOTES.
54798 (NOTES): Remove rule.
54799 * README: Don't refer to NOTES.
54800 * manual/creature.texi: Don't include macros.texi.
54801 * manual/intro.texi (creature.texi): Remove comment referring to
54804 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54805 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54806 * configure: Regenerated.
54807 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54808 LIBC_TRY_CC_OPTION.
54809 (libc_cv_as_i686): Likewise.
54810 (libc_cv_cc_avx): Likewise.
54811 (libc_cv_cc_sse2avx): Likewise.
54812 (libc_cv_cc_fma4): Likewise.
54813 (libc_cv_cc_novzeroupper): Likewise.
54814 * sysdeps/i386/configure: Regenerated.
54817 * sysdeps/i386/fpu/s_cexp.S: Remove.
54818 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54819 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54820 * math/libm-test.inc (cexp_test): Add more tests.
54821 * sysdeps/i386/fpu/libm-test-ulps: Update.
54822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54824 2012-03-21 Allan McRae <allan@archlinux.org>
54826 * timezone/Makefile: Do not install iso3166.tab and zone.tab
54828 2012-03-21 Joseph Myers <joseph@codesourcery.com>
54831 * math/w_exp2.c: Do not include <float.h>.
54832 (o_threshold, u_threshold): Remove.
54833 (__exp2): Calculate result before checking finiteness and calling
54835 * math/w_exp2f.c: Likewise.
54836 * math/w_exp2l.c: Likewise.
54837 * math/libm-test.inc (exp2_test): Require overflow exception for
54841 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54842 range of signed 64-bit integers before using fistpll. Remove
54843 checks for whether integers fit in mantissa bits.
54844 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54845 the range of signed 32-bit integers before using fistpl. Remove
54846 checks for whether integers fit in mantissa bits.
54847 * sysdeps/i386/fpu/e_powl.S (p64): New object.
54848 (__ieee754_powl): Test for y outside the range of signed 64-bit
54849 integers before using fistpll. Reduce 64-bit values to 63-bit
54851 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54852 divide-by-zero is raised for zero to large negative powers.
54853 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54854 (__ieee754_powl): Test for y outside the range of signed 64-bit
54855 integers before using fistpll. Reduce 64-bit values to 63-bit
54857 * math/libm-test.inc (pow_test): Add more tests.
54859 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54861 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54862 <stdio-common/_itoa.h>.
54863 * debug/segfault.c: Likewise.
54864 * elf/dl-cache.c: Likewise.
54865 * elf/dl-minimal.c: Likewise.
54866 * elf/dl-misc.c: Likewise.
54867 * elf/dl-sysdep.c: Likewise.
54868 * elf/dl-version.c: Likewise.
54869 * elf/rtld.c: Likewise.
54870 * hurd/hurdsock.c: Likewise.
54871 * hurd/lookup-retry.c: Likewise.
54872 * malloc/malloc.c: Likewise.
54873 * malloc/mtrace.c: Likewise.
54874 * nscd/nscd_getgr_r.c: Likewise.
54875 * nscd/nscd_getpw_r.c: Likewise.
54876 * nscd/nscd_getserv_r.c: Likewise.
54877 * posix/getopt_init.c: Likewise.
54878 * posix/wordexp.c: Likewise.
54879 * stdio-common/_itoa.c: Likewise.
54880 * stdio-common/printf_fphex.c: Likewise.
54881 * stdio-common/vfprintf.c: Likewise.
54882 * string/_strerror.c: Likewise.
54883 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54884 * sysdeps/i386/i686/hp-timing.h: Likewise.
54885 * sysdeps/mach/_strerror.c: Likewise.
54886 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54887 * sysdeps/mach/hurd/sethostid.c: Likewise.
54888 * sysdeps/mach/hurd/xmknodat.c: Likewise.
54889 * sysdeps/mach/xpg-strerror.c: Likewise.
54890 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54891 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54892 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54893 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54894 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54895 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54896 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54897 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54898 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54899 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54900 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54901 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54902 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54903 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54904 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54905 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54906 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54907 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54908 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54909 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54910 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54912 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54914 * stdio-common/_itoa.h: Moved to ...
54915 * sysdeps/generic/_itoa.h: Here.
54917 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54919 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54920 instead of "_itoa.h" and "_itowa.h".
54921 * stdio-common/vfprintf.: Likewise.
54923 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54925 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54927 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54928 (__signbit): Likwise.
54929 (llrintf): Likwise.
54932 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
54934 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54937 2012-03-20 Joseph Myers <joseph@codesourcery.com>
54939 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54940 OVERFLOW_EXCEPTION_OK.
54941 * math/libm-test.inc ("Philosophy"): Update comment about
54943 (OVERFLOW_EXCEPTION): Define.
54944 (OVERFLOW_EXCEPTION_OK): Likewise.
54945 (INVALID_EXCEPTION_OK): Renumber.
54946 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54947 (IGNORE_ZERO_INF_SIGN): Likewise.
54948 (test_exceptions): Handle FE_OVERFLOW.
54949 (exp10_test): Expect overflow exceptions.
54950 (exp2_test): Likewise.
54951 (expm1_test): Likewise.
54952 (nextafter_test): Likewise.
54953 (pow_test): Likewise.
54954 (scalbn_test): Likewise.
54955 (scalbln_test): Likewise.
54957 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54959 * sysdeps/x86_64/bits/atomic.h
54960 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54962 (atomic_exchange_acq): Likewise.
54963 (__arch_exchange_and_add_body): Likewise.
54964 (__arch_add_body): Likewise.
54965 (atomic_add_negative): Likewise.
54966 (atomic_add_zero): Likewise.
54968 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54970 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54971 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54973 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54975 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54976 Check __x86_64__ instead of __WORDSIZE.
54978 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54980 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54982 2012-03-19 David S. Miller <davem@davemloft.net>
54984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54986 * sysdeps/sparc/fpu/fenv_private.h: New file.
54987 * sysdeps/sparc/fpu/math_private.h: Use it.
54988 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54990 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54991 (libc_feholdexcept_setroundl): Remove.
54992 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54994 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54995 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54997 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
54999 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55000 int64_t instead of long int.
55001 (INSERT_WORDS64): Likwise.
55003 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
55005 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55006 _Unwind_GetCFA return to _Unwind_Ptr first.
55008 2012-03-19 Joseph Myers <joseph@codesourcery.com>
55011 * math/s_clog.c: Include <float.h>.
55012 (__clog): Scale large or subnormal inputs.
55013 * math/s_clogf.c: Likewise.
55014 * math/s_clogl.c: Likewise.
55015 * math/s_clog10.c: Include <float.h>.
55016 (M_LOG10_2): Define.
55017 (__clog10): Scale large or subnormal inputs.
55018 * math/s_clog10f.c: Likewise.
55019 * math/s_clog10l.c: Likewise.
55020 * math/libm-test.inc (clog_test): Add more tests.
55021 (clog10_test): Likewise.
55022 * sysdeps/i386/fpu/libm-test-ulps: Update.
55023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55026 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55028 * math/libm-test.inc (atan2_test): Add another test.
55030 * Makerules (common-objdir-compile): Remove.
55031 * sysdeps/unix/Makefile (config-generated): Do not add
55032 $(unix-generated) to variable.
55033 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55034 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55036 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55038 [generic bits/local_lim.h] (before-compile): Do not append to
55040 [generic bits/local_lim.h] (common-generated): Likewise.
55041 [generic sys/param.h] (before-compile): Do not append to variable.
55042 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55043 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55044 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55045 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55047 [generic sys/param.h] (sys/param.h-includes): Remove variable.
55048 [generic sys/param.h] (sys/param.h-includes): Remove rule.
55049 [generic sys/param.h] ($(addprefix
55050 $(common-objpfx),$(sys/param.h-includes))): Likewise.
55051 [generic sys/param.h] (common-generated): Do not append to
55053 [generic sys/param.h] (sysdep_headers): Likewise.
55054 [generic bits/errno.h] (before-compile): Do not append to
55056 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55058 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55059 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55060 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55061 [generic bits/errno.h] (common-generated): Do not append to
55063 [generic bits/ioctls.h] (before-compile): Do not append to
55065 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55067 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55068 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55069 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55071 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55072 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55073 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55074 [generic bits/ioctls.h] (common-generated): Do not append to
55076 [generic sys/syscall.h] (syscall.h): Remove variable.
55077 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55079 [generic sys/syscall.h] (before-compile): Do not append to
55081 [generic sys/syscall.h] (common-generated): Likewise.
55082 * sysdeps/unix/errnos-tmpl.c: Remove file.
55083 * sysdeps/unix/errnos.awk: Likewise.
55084 * sysdeps/unix/ioctls-tmpl.c: Likewise.
55085 * sysdeps/unix/ioctls.awk: Likewise.
55086 * sysdeps/unix/mk-local_lim.c: Likewise.
55087 * sysdeps/unix/snarf-ioctls: Likewise.
55089 2012-03-19 Richard Henderson <rth@twiddle.net>
55091 * sysdeps/i386/fpu/fenv_private.h: New file.
55092 * sysdeps/i386/fpu/math_private.h: Use it.
55093 (math_opt_barrier, math_force_eval): Remove.
55094 (libc_feholdexcept_setround_53bit): Remove.
55095 (libc_feupdateenv_53bit): Remove.
55096 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55097 (math_opt_barrier, math_force_eval): Remove.
55098 (libc_feholdexcept): Remove.
55099 (libc_feholdexcept_setround): Remove.
55100 (libc_fetestexcept, libc_fesetenv): Remove.
55101 (libc_feupdateenv_test): Remove.
55102 (libc_feupdateenv, libc_feholdsetround): Remove.
55103 (libc_feresetround): Remove.
55105 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55106 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55108 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55109 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55110 (libc_feupdateenv_testl): New.
55111 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55112 (libc_feupdateenv_testf): New.
55113 (libc_feupdateenv): Use libc_feupdateenv_test.
55114 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55115 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55117 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55118 (libc_feholdsetroundf, libc_feholdsetroundl): New.
55119 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55120 (libc_feresetround_noex): New.
55121 (libc_feresetround_noexf): New.
55122 (libc_feresetround_noexl): New.
55123 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55124 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55125 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55126 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55128 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55129 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55131 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55132 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55133 SET_RESTORE_ROUND_NOEX.
55134 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55135 SET_RESTORE_ROUND_NOEXF.
55136 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55137 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55138 (libc_feholdsetroundf): New.
55139 (libc_feresetround, libc_feresetroundf): New.
55141 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55142 (libc_feholdexcept_setround_53bit): Convert from macro to function.
55143 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
55145 * sysdeps/generic/math_private.h: Include <fenv.h>.
55146 (default_libc_feholdexcept): New.
55147 (default_libc_feholdexcept_setround): New.
55148 (default_libc_fesetenv, default_libc_feupdateenv): New.
55149 (libc_feholdexcept): Only define if undefined.
55150 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55151 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55152 (libc_feholdexcept_setroundl): Likewise.
55153 (libc_feholdexcept_setround_53bit): Likewise.
55154 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55155 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55156 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55157 (libc_feupdateenv_53bit): Likewise.
55158 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55159 (libc_feholdexcept): Convert from macro to inline function.
55160 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55161 (libc_fesetenv, libc_feupdateenv): Likewise.
55163 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55164 not previously defined.
55165 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55166 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55167 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55168 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55169 * sysdeps/ieee754/flt-32/math_private.h: New file.
55170 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55171 math_private.h below SET_FLOAT_WORD.
55172 (__isnan, __isinf_ns, __finite): Remove.
55173 (__isnanf, __isinf_nsf, __finitef): Remove.
55175 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
55177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55179 2012-03-17 David S. Miller <davem@davemloft.net>
55182 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55185 2012-03-16 David S. Miller <davem@davemloft.net>
55187 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55191 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55193 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55194 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55195 sysdep_routines when subdir is sysvipc.
55196 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55197 __getshmlba helper.
55199 * sysdeps/sparc/fpu/libm-test/ulps: Update.
55201 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55203 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55206 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55208 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55209 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55210 (__lround): Renamed to ...
55211 (__llround): This. Replace long int with long long int.
55212 Define lround functions as aliases of llround functions.
55213 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55215 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55217 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55218 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
55219 adresses to uintptr_t. Replace "long int" and "unsigned long
55220 int" with "greg_t" on va_arg.
55222 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55224 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55225 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55227 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55228 Move e_machine check before EI_CLASS check. Handle x32
55229 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55230 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55231 SKIP_EM_IA_64 and include
55232 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55234 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55235 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55236 (add_system_dir): New macro.
55238 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55239 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55241 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55252 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55254 * math/w_j0f.c (j0f): Likewise.
55256 * math/w_j0l.c (__j0l): Likewise.
55258 * math/w_j1.c (j1): Likewise.
55260 * math/w_j1f.c (j1f): Likewise.
55262 * math/w_j1l.c (__j1l): Likewise.
55264 * math/w_jn.c (jn): Likewise.
55266 * math/w_jnf.c (jnf): Likewise.
55268 * math/w_jnl.c (__jnl): Likewise.
55270 * math/libm-test.inc (j0_test): Add more tests.
55271 (j1_test): Likewise.
55272 (jn_test): Likewise. Add trailing semicolon to existing test.
55273 (y0_test): Likewise.
55274 (y1_test): Likewise.
55275 * sysdeps/i386/fpu/libm-test-ulps: Update.
55276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55280 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55281 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55282 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55284 (__tanl): Set errno for infinite argument.
55285 * sysdeps/i386/fpu/mptan.c: Remove.
55286 * sysdeps/i386/fpu/s_tan.S: Likewise.
55287 * sysdeps/i386/fpu/s_tanl.S: Likewise.
55288 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55289 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55290 * math/libm-test.inc (tan_test): Add more tests and enable more
55291 tests for double and long double.
55292 * sysdeps/i386/fpu/libm-test-ulps: Update.
55293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55295 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
55297 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55298 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55300 2012-03-16 Roland McGrath <roland@hack.frob.com>
55302 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55303 * configure.in: Use it for both main tree and add-ons.
55304 * configure: Regenerated.
55306 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
55308 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55310 2012-03-16 Joseph Myers <joseph@codesourcery.com>
55312 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55316 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55317 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55318 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55319 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55320 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55322 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55323 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55324 != 0 for prec == 2.
55325 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55326 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55327 * sysdeps/i386/fpu/s_cosl.S: Likewise.
55328 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55329 * sysdeps/i386/fpu/s_sinl.S: Likewise.
55330 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55331 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55332 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55333 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55334 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55335 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55336 * math/libm-test.inc (cos_test): Add more tests and enable more
55337 tests for long double.
55338 (sin_test): Likewise.
55339 (sincos_test): Likewise.
55340 * sysdeps/i386/fpu/libm-test-ulps: Update.
55341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55343 2012-03-16 David S. Miller <davem@davemloft.net>
55345 * sysdeps/sparc/fpu/math_private.h: New file.
55347 2012-03-15 David S. Miller <davem@davemloft.net>
55349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55355 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55356 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55357 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55359 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55363 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55364 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55366 * sysdeps/sparc/sparc-ifunc.h: New file.
55367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55392 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55393 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55394 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55397 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55398 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55404 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55409 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55410 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55412 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55414 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55418 2012-03-15 Andreas Jaeger <aj@suse.de>
55421 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55422 ieee754/flt-32 implementation for sin, cos and sincos.
55423 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55424 * sysdeps/i386/fpu/s_cosf.S: Likewise.
55425 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55426 * sysdeps/i386/fpu/s_sinf.S: Likewise.
55427 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55428 ieee754/flt-32 implementation for tan.
55430 * math/libm-test.inc (cos_test): Enable some large input tests for
55432 (sin_test): Likewise.
55433 (sincos_test): Likewise.
55434 (tan_test): Add tests for large input.
55436 * sysdeps/i386/fpu/libm-test-ulps: Update.
55438 2012-03-15 Andreas Jaeger <aj@suse.de>
55441 * math/libm-test.inc (cos_test): Add more test cases.
55442 (sin_test): Likewise.
55443 (sincos_test): Likewise.
55445 2012-03-15 Andreas Jaeger <aj@suse.de>
55448 * math/libm-test.inc (cos_test): Add a test case for large input
55450 (sin_test): Likewise.
55451 (sincos_test): Likewise.
55453 2012-03-15 Andreas Jaeger <aj@suse.de>
55454 Joseph Myers <joseph@codesourcery.com>
55457 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55458 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55459 * sysdeps/i386/fpu/branred.c: Likewise.
55460 * sysdeps/i386/fpu/dosincos.c: Likewise.
55461 * sysdeps/i386/fpu/mpa.c: Likewise.
55462 * sysdeps/i386/fpu/s_cos.S: Likewise.
55463 * sysdeps/i386/fpu/s_sin.S: Likewise.
55464 * sysdeps/i386/fpu/s_sincos.S: Likewise.
55465 * sysdeps/i386/fpu/sincos32.c: Likewise.
55467 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55469 (libc_feupdateenv_53bit): Define.
55470 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55472 (libc_feupdateenv_53bit): Define.
55474 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55475 53 bit (without extend i386 double precision).
55477 * math/libm-test.inc (sincos_test): Add tests for large input.
55481 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55483 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
55485 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55487 2012-03-15 David S. Miller <davem@davemloft.net>
55489 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55490 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55491 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55492 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55496 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55497 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55498 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55499 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55502 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55503 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55517 fmin/fmax sysdep routines.
55518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55520 2012-03-14 David S. Miller <davem@davemloft.net>
55522 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55523 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55526 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55527 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55533 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55534 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55535 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55540 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55541 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55542 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55543 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55544 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55545 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55546 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55547 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55548 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55549 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55550 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55594 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55599 * sysdeps/sparc/configure.in: New file.
55600 * sysdeps/sparc/configure: Generate.
55601 * configure.in (libc_cv_sparc_as_vis3): Substitute.
55602 * configure: Regenerate.
55603 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55604 * config.make.in (have-as-vis3): New.
55605 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55606 available use -Av9d instead of -Av9a.
55607 * sysdeps/sparc/sparc64/Makefile: Likewise.
55608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55617 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55618 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55619 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55620 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55621 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55623 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55624 fzeros/fnegs to load 0x80000000 into a float register instead of
55626 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55628 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55632 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55633 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55634 ($(inst_includedir)/bits/syscall.h): Remove rule.
55635 ($(objpfx)bits/syscall.d): Include instead of
55636 $(objpfx)syscall-list.d.
55637 (generated): Change syscall-list.h and syscall-list.d to
55638 bits/syscall.h and bits/syscall.d.
55640 2012-03-14 Roland McGrath <roland@hack.frob.com>
55643 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55645 2012-03-14 Joseph Myers <joseph@codesourcery.com>
55648 * math/s_csqrt.c: Include <float.h>.
55649 (__csqrt): Scale large or subnormal inputs.
55650 * math/s_csqrtf.c: Likewise.
55651 * math/s_csqrtl.c: Likewise.
55652 * math/libm-test.inc (csqrt_test): Add more tests.
55653 * sysdeps/i386/fpu/libm-test-ulps: Update.
55654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55657 * math/libm-test.inc (hypot_test): Add more tests.
55659 2012-03-13 David S. Miller <davem@davemloft.net>
55662 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55663 double-precision for the calculation instead of scaling.
55665 2012-03-13 Joseph Myers <joseph@codesourcery.com>
55667 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55668 manipulate bits before adding and subtracting TWO52[sx].
55669 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55670 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55672 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55674 2012-03-13 David S. Miller <davem@davemloft.net>
55676 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55677 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55678 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55679 rtld-global-offsets.h
55680 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55682 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55685 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55687 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55688 'err' in the ifdef scope in which it is actually used.
55690 * nss/nss_db/db-init.c: Include string.h
55692 2012-03-12 David S. Miller <davem@davemloft.net>
55694 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55695 masking out of the most significant byte of random value used.
55696 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55697 Fix coding style in previous change.
55699 * sysdeps/unix/sysv/linux/kernel-features.h
55700 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55701 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55703 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55706 2012-03-11 David S. Miller <davem@davemloft.net>
55708 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55709 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55710 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55711 for 'resultvar' otherwise things get truncated on 64-bit.
55713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55714 Fix masking out of the most significant byte of random value used.
55716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55718 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
55720 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55722 2012-03-09 David S. Miller <davem@davemloft.net>
55724 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55725 variables with appropriate CPP guards.
55726 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55727 from the frame pointer, not the stack pointer. Correct layout
55728 comments. Fix test on resulting framesize and the management of
55729 the outregs buffer for pltexit. Preserve floating point return
55730 values across _dl_call_pltexit call.
55731 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55732 framesize and the management of the outregs buffer for pltexit.
55733 Preserve floating point return values across _dl_call_pltexit
55735 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55736 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55737 (la_sparc64_gnu_pltexit): New functions.
55738 (print_exit): Fix format string for return register value.
55740 2012-03-10 Joseph Myers <joseph@codesourcery.com>
55742 * sunrpc/Makefile (others): Add rpcgen.
55743 ($(objpfx)rpcgen): Remove special build rule and dependency on
55745 * sunrpc/rpcgen.c: New file.
55747 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
55750 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55751 * stdio-common/bug-vfprintf-nargs.c: Likewise.
55752 * sysdeps/i386/crti.S: Likewise.
55753 * sysdeps/i386/crtn.S: Likewise.
55754 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55755 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55756 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55757 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55758 * sysdeps/sh/crti.S: Likewise.
55759 * sysdeps/sh/crtn.S: Likewise.
55760 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55763 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55765 * locale/programs/locfile-kw.gperf: Likewise.
55766 * locale/programs/charmap-kw.h: Regenerated.
55767 * locale/programs/locfile-kw.h: Likewise.
55770 * intl/plural.y: Replace FSF snail mail address with URL.
55771 * intl/plural.c: Regenerated.
55773 2012-03-09 Richard Henderson <rth@twiddle.net>
55775 * include/math_private.h: Remove file.
55776 * math/math_private.h: Move file ...
55777 * sysdeps/generic/math_private.h: ... here.
55779 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55780 * sysdeps/powerpc/fpu/math_private.h: Likewise.
55781 * sysdeps/x86_64/fpu/math_private.h: Likewise.
55783 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55784 and <math_private.h>.
55785 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55786 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55787 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55788 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55789 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55790 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55791 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55792 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55793 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55794 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55795 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55796 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55797 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55798 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55799 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55800 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55802 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55803 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55804 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55805 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55807 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55809 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55810 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55811 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55812 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55815 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55816 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55817 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55818 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55819 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55820 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55821 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55822 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55823 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55824 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55825 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55826 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55827 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55828 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55829 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55830 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55831 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55832 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55833 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55834 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55835 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55836 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55837 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55838 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55839 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55840 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55841 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55842 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55843 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55844 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55845 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55846 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55847 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55848 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55849 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55850 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55851 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55852 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55853 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55854 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55855 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55856 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55857 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55859 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55860 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55861 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55862 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55863 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55864 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55865 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55866 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55867 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55868 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55869 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55871 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55872 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55873 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55874 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55875 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55876 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55878 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55879 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55880 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55881 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55882 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55883 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55884 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55885 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55886 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55887 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55888 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55889 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55890 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55891 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55892 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55893 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55894 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55895 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55896 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55897 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55898 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55899 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55900 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55901 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55902 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55903 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55904 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55905 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55906 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55907 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55908 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55909 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55910 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55911 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55912 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55913 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55914 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55915 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55916 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55917 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55918 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55919 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55920 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55921 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55922 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55923 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55924 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55925 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55926 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55927 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55928 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55929 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55930 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55931 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55932 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55933 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55934 * sysdeps/ieee754/k_standard.c: Likewise.
55935 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55936 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55937 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55938 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55939 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55940 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55941 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55942 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55943 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55944 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55945 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55946 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55947 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55948 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55949 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55950 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55951 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55952 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55953 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55954 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55955 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55956 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55957 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55958 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55959 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55960 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55961 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55962 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55963 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55964 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55965 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55966 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55967 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55968 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55969 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55970 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55971 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55972 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55973 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55974 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55975 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55976 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55977 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55978 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55979 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55980 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55981 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55982 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55983 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55984 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55985 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55986 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55987 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55988 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55989 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55990 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55991 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55992 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55993 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55994 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55995 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55996 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55997 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55998 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55999 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56001 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56002 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56003 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56004 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56005 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56007 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56008 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56009 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56010 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56011 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56012 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56013 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56014 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56015 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56016 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56017 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56018 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56019 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56020 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56021 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56022 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56023 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56024 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56025 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56026 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56027 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56028 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56029 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56030 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56031 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56032 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56033 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56034 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56035 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56036 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56037 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56038 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56039 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56040 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56041 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56042 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56043 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56044 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56045 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56046 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56047 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56048 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56049 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56050 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56051 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56052 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56053 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56054 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56055 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56056 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56057 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56058 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56059 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56060 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56061 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56062 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56063 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56064 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56065 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56066 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56067 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56068 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56069 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56070 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56071 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56072 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56073 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56074 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56075 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56076 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56077 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56078 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56079 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56080 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56081 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56082 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56083 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56084 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56085 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56086 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56087 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56088 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56089 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56090 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56091 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56092 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56093 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56094 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56095 * sysdeps/ieee754/s_lib_version.c: Likewise.
56096 * sysdeps/ieee754/s_matherr.c: Likewise.
56097 * sysdeps/ieee754/s_signgam.c: Likewise.
56098 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56099 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56100 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56101 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56102 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56103 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56104 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56105 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56106 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56107 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56108 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56109 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56110 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56111 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56112 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56113 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56114 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56115 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56116 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56118 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56120 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56122 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56123 * sunrpc/rpc_main.c: Likewise.
56124 * sunrpc/rpc_svcout.c: Likewise.
56126 2012-03-09 David S. Miller <davem@davemloft.net>
56128 * include/math_private.h: New file.
56130 2012-03-09 Joseph Myers <joseph@codesourcery.com>
56132 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56133 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56134 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56135 from <bits/socket_type.h>.
56136 (enum __socket_type): Don't define here.
56137 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56139 bits/socket_type.h.
56142 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56143 checking __USE_GNU.
56145 * Makerules ($(inst_includedir)/%.h): New rule.
56146 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56147 (install-others): Remove variable setting.
56148 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56150 2012-03-08 Richard Henderson <rth@twiddle.net>
56152 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56153 from macro to inline function; merge with the
56154 !__LIBC_INTERNAL_MATH_INLINES version.
56155 (__ieee754_sqrtf): Likewise.
56157 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56158 to inline function.
56159 (__rintf, __floor, __floorf): Likewise.
56161 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56162 macro to inline function.
56163 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56165 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56166 not <math/math_private.h>.
56168 2012-03-08 David S. Miller <davem@davemloft.net>
56170 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56172 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56174 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
56176 * resolv/gai_misc.c (handle_requests): Fix struct timespec
56178 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56179 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56181 2012-03-08 Ulrich Drepper <drepper@gmail.com>
56183 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
56184 be defined individually, they must be defined as a block. Define
56185 S for printing a string instead of hidint the different by using a
56186 macro for adding the 'l'.
56187 * stdio-common/tst-fphex-wide.c: Adjust.
56189 2012-03-07 Marek Polacek <polacek@redhat.com>
56191 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56193 2012-03-08 Marek Polacek <polacek@redhat.com>
56196 * stdio-common/Makefile (tests): Add tst-fphex-wide.
56197 * stdio-common/tst-fphex.c: Define a few macros to make the
56198 test reusable. Use them.
56199 * stdio-common/tst-fphex-wide.c: New file.
56201 2012-03-08 Joseph Myers <joseph@codesourcery.com>
56204 * manual/macros.texi (gnusystems): New macro.
56205 (nongnusystems): Likewise.
56206 (gnulinuxhurdsystems): Likewise.
56207 (gnuhurdsystems): Likewise..
56208 (gnulinuxsystems): Likewise.
56209 * manual/charset.texi: Use new macros or @theglibc{} to refer to
56210 variants of the GNU system, not "GNU system".
56211 * manual/conf.texi: Likewise.
56212 * manual/errno.texi: Likewise. Update example of errno macro
56214 * manual/filesys.texi: Likewise.
56215 (getumask): Document as specific to GNU/Hurd.
56216 * manual/install.texi: Likewise. Reword some references to
56218 * manual/intro.texi: Likewise.
56219 * manual/io.texi: Likewise.
56220 (File Name Portability): Detail which constraints are inapplicable
56221 to all GNU systems and which are only inapplicable to GNU/Hurd.
56222 * manual/job.texi: Likewise.
56223 * manual/llio.texi: Likewise.
56224 (O_NOCTTY): Document as present on GNU/Linux.
56225 * manual/maint.texi: Likewise.
56226 * manual/memory.texi: Likewise.
56227 * manual/pattern.texi: Likewise.
56228 * manual/pipe.texi: Likewise.
56229 * manual/process.texi: Likewise.
56230 * manual/resource.texi: Likewise.
56231 (RUSAGE_CHILDREN): Remove statement about specifying a particular
56233 * manual/setjmp.texi: Likewise.
56234 * manual/signal.texi: Likewise.
56235 * manual/startup.texi: Likewise.
56236 * manual/stdio.texi: Likewise.
56237 * manual/terminal.texi: Likewise.
56238 (ONLCR): Document as POSIX.
56239 (OXTABS): Document availability on GNU/Linux as XTABS.
56240 (ONOEOT): Document availability separately from other bits.
56241 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56242 * manual/time.texi: Likewise.
56243 * manual/users.texi: Likewise.
56244 * INSTALL: Regenerated.
56245 * sysdeps/gnu/errlist.c: Regenerated.
56247 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56248 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56249 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
56251 * configure: Regenerated.
56253 2012-03-07 Joseph Myers <joseph@codesourcery.com>
56255 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56256 default includes instead of AC_HEADER_CHECK.
56257 * sysdeps/i386/configure: Regenerated.
56260 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56261 * math/s_cacoshf.c (__cacoshf): Likewise.
56262 * math/s_cacoshl.c (__cacoshl): Likewise.
56263 * math/s_casinh.c (__casinh): Set signs of result from argument.
56264 * math/s_casinhf.c (__casinhf): Likewise.
56265 * math/s_casinhl.c (__casinhl): Likewise.
56266 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56267 (casinh_test): Add more tests.
56268 * sysdeps/i386/fpu/libm-test-ulps: Update.
56269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56271 2012-03-07 Ulrich Drepper <drepper@gmail.com>
56273 * po/zh_TW.po: Update from translation team.
56275 * login/Makefile (distribute): Remove variable.
56276 * catgets/Makefile: Likewise.
56277 * mach/Makefile: Likewise.
56278 * malloc/Makefile: Likewise.
56279 * misc/Makefile: Likewise.
56280 * iconv/Makefile: Likewise.
56281 * nscd/Makefile: Likewise.
56282 * hurd/Makefile: Likewise.
56283 * manual/Makefile: Likewise.
56284 * locale/Makefile: Likewise.
56285 * intl/Makefile: Likewise.
56286 * conform/Makefile: Likewise.
56287 * nss/Makefile: Likewise.
56288 * time/Makefile: Likewise.
56289 * soft-fp/Makefile: Likewise.
56290 * dirent/Makefile: Likewise.
56291 * gmon/Makefile: Likewise.
56292 * po/Makefile: Likewise.
56293 * rt/Makefile: Likewise.
56294 * socket/Makefile: Likewise.
56295 * math/Makefile: Likewise.
56296 * signal/Makefile: Likewise.
56297 * debug/Makefile: Likewise.
56298 * elf/Makefile: Likewise.
56299 * timezone/Makefile: Likewise.
56300 * stdlib/Makefile: Likewise.
56301 * iconvdata/Makefile: Likewise.
56302 * sunrpc/Makefile: Likewise.
56303 * io/Makefile: Likewise.
56304 * argp/Makefile: Likewise.
56305 * inet/Makefile: Likewise.
56306 * hesiod/Makefile: Likewise.
56307 * grp/Makefile: Likewise.
56308 * csu/Makefile: Likewise.
56309 * wctype/Makefile: Likewise.
56310 * crypt/Makefile: Likewise.
56311 * libio/Makefile: Likewise.
56312 * string/Makefile: Likewise.
56313 * nis/Makefile: Likewise.
56314 * resolv/Makefile: Likewise.
56315 * stdio-common/Makefile: Likewise.
56316 * wcsmbs/Makefile: Likewise.
56317 * dlfcn/Makefile: Likewise.
56318 * posix/Makefile: Likewise.
56321 * timezone/Makefile: Don't install timezone files, just the programs
56324 2012-03-06 Ulrich Drepper <drepper@gmail.com>
56326 * nss/databases.def: Add missing gshadow entry.
56328 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
56330 2012-03-06 Marek Polacek <polacek@redhat.com>
56333 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56334 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56335 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56336 * stdio-common/tst-long-dbl-fphex.c: New file.
56338 2012-03-06 David S. Miller <davem@davemloft.net>
56340 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56341 (set_obp_int): New function.
56342 (get_obp_int): New function.
56343 (__get_clockfreq_via_dev_openprom): Likewise.
56344 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56345 Avoid unused variable warnings on 'val' and use builtin_expect.
56346 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56348 (INLINE_CLONE_SYSCALL): Likewise.
56350 2012-03-05 David S. Miller <davem@davemloft.net>
56352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56354 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
56356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56358 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56359 only for |x| >= 40.
56360 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56362 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
56364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56365 Replace gettimeofday with __vdso_gettimeofday.
56367 * sysdeps/unix/sysv/linux/x86_64/init-first.c
56368 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56369 __vdso_clock_gettime and __vdso_getcpu.
56371 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56372 time with __vdso_time.
56374 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56376 * manual/lang.texi (size_t): Note types to which size_t may be
56377 equivalent with the GNU C Library, but do not describe when
56378 differences between them are significant.
56380 2012-03-05 Andreas Jaeger <aj@suse.de>
56382 * sysdeps/i386/fpu/libm-test-ulps: Update.
56384 2012-03-05 Joseph Myers <joseph@codesourcery.com>
56387 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56388 (__ieee754_pow): Save and restore rounding mode and use
56389 round-to-nearest for main computations.
56390 * math/libm-test.inc (pow_test_tonearest): New function.
56391 (pow_test_towardzero): Likewise.
56392 (pow_test_downward): Likewise.
56393 (pow_test_upward): Likewise.
56394 (main): Call the new functions.
56395 * sysdeps/i386/fpu/libm-test-ulps: Update.
56396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56399 * math/libm-test.inc (cosh_test_tonearest): New function.
56400 (cosh_test_towardzero): Likewise.
56401 (cosh_test_downward): Likewise.
56402 (cosh_test_upward): Likewise.
56403 (sinh_test_tonearest): Likewise.
56404 (sinh_test_towardzero): Likewise.
56405 (sinh_test_downward): Likewise.
56406 (sinh_test_upward): Likewise.
56407 (main): Call the new functions.
56408 * sysdeps/i386/fpu/libm-test-ulps: Update.
56409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56411 2012-03-05 Tom de Vries <tom@codesourcery.com>
56413 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56414 default stack guard is set in last bytes.
56415 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56417 2012-03-05 Kees Cook <keescook@chromium.org>
56419 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56422 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56423 possibly allocate from heap instead of stack.
56424 * stdio-common/bug-vfprintf-nargs.c: New file.
56425 * stdio-common/Makefile (tests): Add nargs overflow test.
56427 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
56429 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56431 2012-03-03 Marek Polacek <polacek@redhat.com>
56433 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56434 * math/math_private.h: Likewise.
56435 * stdlib/tst-strtod.c: Likewise.
56436 * sysdeps/i386/i486/bits/atomic.h: Likewise.
56437 * sysdeps/x86_64/bits/atomic.h: Likewise.
56439 2012-03-02 David S. Miller <davem@davemloft.net>
56441 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56442 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56443 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56444 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56445 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56446 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56447 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56448 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56450 2012-03-02 Roland McGrath <roland@hack.frob.com>
56453 * manual/examples/README: New file, says the example source files
56454 can be used under GPL>=2.
56455 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56456 line containing just "*/".
56457 * manual/examples/add.c: Add copyright header (GPL>=2).
56458 * manual/examples/argp-ex1.c: Likewise.
56459 * manual/examples/argp-ex2.c: Likewise.
56460 * manual/examples/argp-ex3.c: Likewise.
56461 * manual/examples/argp-ex4.c: Likewise.
56462 * manual/examples/atexit.c: Likewise.
56463 * manual/examples/db.c: Likewise.
56464 * manual/examples/dir.c: Likewise.
56465 * manual/examples/dir2.c: Likewise.
56466 * manual/examples/execinfo.c: Likewise.
56467 * manual/examples/filecli.c: Likewise.
56468 * manual/examples/filesrv.c: Likewise.
56469 * manual/examples/fmtmsgexpl.c: Likewise.
56470 * manual/examples/genpass.c: Likewise.
56471 * manual/examples/inetcli.c: Likewise.
56472 * manual/examples/inetsrv.c: Likewise.
56473 * manual/examples/isockad.c: Likewise.
56474 * manual/examples/longopt.c: Likewise.
56475 * manual/examples/memopen.c: Likewise.
56476 * manual/examples/memstrm.c: Likewise.
56477 * manual/examples/mkfsock.c: Likewise.
56478 * manual/examples/mkisock.c: Likewise.
56479 * manual/examples/mygetpass.c: Likewise.
56480 * manual/examples/pipe.c: Likewise.
56481 * manual/examples/popen.c: Likewise.
56482 * manual/examples/rprintf.c: Likewise.
56483 * manual/examples/search.c: Likewise.
56484 * manual/examples/select.c: Likewise.
56485 * manual/examples/setjmp.c: Likewise.
56486 * manual/examples/sigh1.c: Likewise.
56487 * manual/examples/sigusr.c: Likewise.
56488 * manual/examples/stpcpy.c: Likewise.
56489 * manual/examples/strdupa.c: Likewise.
56490 * manual/examples/strftim.c: Likewise.
56491 * manual/examples/strncat.c: Likewise.
56492 * manual/examples/subopt.c: Likewise.
56493 * manual/examples/swapcontext.c: Likewise.
56494 * manual/examples/termios.c: Likewise.
56495 * manual/examples/testopt.c: Likewise.
56496 * manual/examples/testpass.c: Likewise.
56497 * manual/examples/timeval_subtract.c: Likewise.
56500 * manual/time.texi (Elapsed Time): Move timeval_subtract example
56502 * manual/timeval_subtract.c.texi: ... here, new file.
56504 2012-03-02 David S. Miller <davem@davemloft.net>
56506 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56508 2012-03-02 Joseph Myers <joseph@codesourcery.com>
56511 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56512 (__sin): Save and restore rounding mode and use round-to-nearest
56513 for all computations.
56514 (__cos): Save and restore rounding mode and use round-to-nearest
56515 for all computations.
56516 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56518 (tan): Save and restore rounding mode and use round-to-nearest for
56520 * math/libm-test.inc (cos_test_tonearest): New function.
56521 (cos_test_towardzero): Likewise.
56522 (cos_test_downward): Likewise.
56523 (cos_test_upward): Likewise.
56524 (sin_test_tonearest): Likewise.
56525 (sin_test_towardzero): Likewise.
56526 (sin_test_downward): Likewise.
56527 (sin_test_upward): Likewise.
56528 (tan_test_tonearest): Likewise.
56529 (tan_test_towardzero): Likewise.
56530 (tan_test_downward): Likewise.
56531 (tan_test_upward): Likewise.
56532 (main): Call the new functions.
56533 * sysdeps/i386/fpu/libm-test-ulps: Update.
56534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56537 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56538 small n, then large n, before computing and testing k+n.
56539 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56540 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56544 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56545 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56546 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56547 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56548 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56549 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56550 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56551 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56552 * math/libm-test.inc (scalbn_test): Add more tests.
56553 (scalbln_test): Likewise.
56555 * manual/filesys.texi (mode_t): Describe constraints on size and
56556 signedness, not exact equivalence to a particular type.
56558 (ino64_t): Likewise.
56560 (nlink_t): Likewise.
56561 (blkcnt_t): Likewise.
56562 (blkcnt64_t): Likewise.
56563 * manual/llio.texi (off_t): Likewise.
56566 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56567 (__ieee754_exp): Save and restore rounding mode and use
56568 round-to-nearest for all computations.
56569 * math/libm-test.inc (exp_test_tonearest): New function.
56570 (exp_test_towardzero): Likewise.
56571 (exp_test_downward): Likewise.
56572 (exp_test_upward): Likewise.
56573 (main): Call the new functions.
56574 * sysdeps/i386/fpu/libm-test-ulps: Update.
56575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56577 2012-03-01 Chris Demetriou <cgd@google.com>
56579 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56580 have predictable order.
56582 2012-03-01 David S. Miller <davem@davemloft.net>
56584 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56586 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56587 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56588 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56589 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56591 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56592 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56593 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56594 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56595 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56596 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56597 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56598 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56599 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56604 * sysdeps/sparc/fpu/libm-test-ulps: to here.
56605 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56607 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56608 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56609 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56610 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56611 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56612 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56613 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56614 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56615 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56616 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56617 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56618 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56619 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56620 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56621 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56623 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56624 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56625 * sysdeps/sparc/elf/configure: Regenerated.
56627 2012-03-01 Joseph Myers <joseph@codesourcery.com>
56629 * configure.in (AS, LD): Require binutils 2.20 or later.
56630 * configure: Regenerated.
56631 * manual/install.texi (Tools for Compilation): Give binutils 2.20
56632 as required minimum version.
56633 * INSTALL: Regenerated.
56637 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56638 before squaring exponent.
56639 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56640 bottom long double and 27 bits of top long double before squaring
56642 * math/libm-test.inc (erfc_test): Add more tests.
56643 * sysdeps/i386/fpu/libm-test-ulps: Update.
56644 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56645 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56647 2012-03-01 Kai Tietz <ktietz@redhat.com>
56649 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56650 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56651 containing bit-fields.
56652 * soft-fp/extended.h (_FP_UNION_E): Likewise.
56653 * soft-fp/single.h (_FP_UNION_S): Likewise.
56654 * soft-fp/double.h (_FP_UNION_D): Likewise.
56656 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56659 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56660 not include ../strcmp.S.
56661 [USE_AS_STRNCASECMP_L]: Likewise.
56662 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56663 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56664 * sysdeps/i386/i686/multiarch/strncase_l-c.c
56665 (__strncasecmp_l_ia32): Define as alias to
56666 __strncasecmp_l_nonascii.
56669 * math/libm-test.inc (expm1_test): Add test for bug 5794.
56670 * sysdeps/i386/fpu/libm-test-ulps: Update.
56671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56673 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56676 2012-02-29 Jeff Law <law@redhat.com>
56678 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56679 out of bounds read.
56681 2012-02-29 Marek Polacek <polacek@redhat.com>
56684 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56685 * elf/Makefile: Add rules to run tst-unused-dep.out.
56687 2012-02-28 David S. Miller <davem@davemloft.net>
56689 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56690 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56691 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56692 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56693 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56694 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56696 2012-02-29 Joseph Myers <joseph@codesourcery.com>
56698 * math/libm-test.inc (llround_test): Move one test from
56699 lround_test. Use TEST_f_L in moved test.
56700 (lround_test): Move misplaced test to llround_test. Add testcase
56703 2012-02-28 Ulrich Drepper <drepper@gmail.com>
56705 * sysdeps/x86_64/fpu/e_expf.S: New file.
56706 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56708 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
56711 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56712 of remain_len that may cause incomplete multi-byte character and
56714 * posix/bug-regex33.c: New file.
56715 * posix/Makefile (tests): Add bug-regex33.
56717 2012-02-28 Joseph Myers <joseph@codesourcery.com>
56719 * manual/macros.texi: New file.
56720 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56721 * manual/libc.texinfo: Include macros.texi.
56722 * manual/creatute.texi: Likewise.
56723 * manual/install.texi: Likewise.
56724 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56725 @glibcadj{} in references to the GNU C Library.
56726 * manual/charset.texi: Likewise.
56727 * manual/conf.texi: Likewise.
56728 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
56729 when not using those macros.
56730 * manual/creature.texi: Likewise.
56731 * manual/crypt.texi: Likewise.
56732 * manual/errno.texi: Likewise.
56733 * manual/filesys.texi: Likewise.
56734 * manual/header.texi: Likewise.
56735 * manual/install.texi: Likewise.
56736 * manual/intro.texi: Likewise.
56737 * manual/io.texi: Likewise.
56738 * manual/job.texi: Likewise.
56739 * manual/lang.texi: Likewise.
56740 * manual/libc.texiinfo: Likewise.
56741 * manual/llio.texi: Likewise.
56742 * manual/locale.texi: Likewise.
56743 * manual/maint.texi: Likewise.
56744 * manual/math.texi: Likewise.
56745 * manual/memory.texi: Likewise.
56746 * manual/message.texi: Likewise.
56747 * manual/nss.texi: Likewise.
56748 * manual/pattern.texi: Likewise.
56749 * manual/process.texi: Likewise.
56750 * manual/resource.texi: Likewise.
56751 * manual/search.texi: Likewise.
56752 * manual/setjmp.texi: Likewise.
56753 * manual/signal.texi: Likewise.
56754 * manual/socket.texi: Likewise.
56755 * manual/startup.texi: Likewise.
56756 * manual/stdio.texi: Likewise.
56757 * manual/string.texi: Likewise.
56758 * manual/sysinfo.texi: Likewise.
56759 * manual/syslog.texi: Likewise.
56760 * manual/terminal.texi: Likewise.
56761 * manual/time.texi: Likewise.
56762 * manual/users.texi: Likewise.
56763 * INSTALL: Regenerated.
56764 * NOTES: Regenerated.
56765 * sysdeps/gnu/errlist.c: Regenerated.
56767 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
56769 * include/dirent.h: Include <dirstream.h> before
56772 2012-02-28 David S. Miller <davem@davemloft.net>
56774 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56775 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56776 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56777 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56779 2012-02-27 David S. Miller <davem@davemloft.net>
56781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56783 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56784 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56787 frame pointer instead of stack pointer relative arg slot.
56788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56789 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56790 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56792 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
56795 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56797 2012-02-27 David S. Miller <davem@davemloft.net>
56799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56800 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56802 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56803 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56804 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56805 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56806 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56808 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56810 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56811 later. Allow versions 5-9.
56812 * configure: Regenerated.
56813 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56814 required minimum version and 4.6 as recommended version. Do not
56815 mention bugs in GCC 2.7 and 2.8.
56816 * INSTALL: Regenerated.
56818 2012-02-27 David S. Miller <davem@davemloft.net>
56820 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56824 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56825 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56826 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56827 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56829 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56830 manipulate bits before adding and subtracting TWO112[sx].
56831 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56833 2012-02-27 Roland McGrath <roland@hack.frob.com>
56836 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56837 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56838 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56839 being in POSIX, because they are in 1003.1-2008.
56841 * rt/tst-aio.c: Include <fcntl.h>.
56842 * rt/tst-aio7.c: Likewise.
56843 * rt/tst-aio64.c: Likewise.
56845 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56847 2012-02-27 Joseph Myers <joseph@codesourcery.com>
56849 * manual/install.texi (--with-headers): Describe headers as
56850 interface headers, not private headers.
56851 (Specific advice for GNU/Linux systems): Describe use of headers
56852 from "make headers_install", not private headers from older
56854 * INSTALL: Regenerated.
56855 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56857 * sysdeps/unix/sysv/linux/configure: Regenerated.
56859 * manual/llio.texi (fclean): Remove documentation.
56861 * manual/Makefile (libc-texi-generated): New variable. Include
56863 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56864 $(libc-texi-generated), not duplicated list of files.
56865 (version.texi, stamp-version): New rules.
56866 (realclean): Remove $(libc-texi-generated), not individual files
56867 from that list. Do not remove dir-add.texinfo.
56868 * manual/libc.texinfo: Comment out uses of edition numbers and
56869 references to printed manual. Remove last-updated dates.
56870 (EDITION): Comment out.
56872 (VERSION, UPDATED): Remove.
56873 (version.texi): Include.
56875 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
56877 * sysdeps/posix/spawni.c: Include <signal.h>.
56878 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56879 * sysdeps/pthread/aio_fsync.c: Likewise.
56881 2012-02-26 Ulrich Drepper <drepper@gmail.com>
56883 * conform/Makefile (tests): Run only when not cross-compiling and
56884 when fast-check is not defined.
56886 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56887 * conform/data/limits.h-data: Fixes for POSIX2008.
56888 * conform/run-conformtest.sh: Run all tests.
56889 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56891 * include/bits/dlfcn.h: Likewise.
56892 * include/langinfo.h: Likewise.
56893 * include/monetary.h: Likewise.
56894 * include/sys/poll.h: Likewise.
56896 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56898 * posix/spawn.h: Define __need_sigset_t.
56899 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56900 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56901 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
56902 to get sigevent_t only.
56903 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56904 only for __USE_GNU.
56905 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56906 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56907 process_vm_writev only for __USE_GNU.
56908 * termios/termios.h: Declare tcgetsid also for POSIX2008.
56910 * conform/Makefile: For now ignore errors from run-conformtest.
56911 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
56912 POSIX to avoid namespace pollution. Don't prepend headers.
56913 * conform/data/aio.h-data: Fixes for POSIX testing.
56914 * conform/data/fcntl.h-data: Likewise.
56915 * conform/data/glob.h-data: Likewise.
56916 * conform/data/grp.h-data: Likewise.
56917 * conform/data/pthread.h-data: Likewise.
56918 * conform/data/pwd.h-data: Likewise.
56919 * conform/data/signal.h-data: Likewise.
56920 * conform/data/spawn.h-data: Likewise.
56921 * conform/data/stdio.h-data: Likewise.
56922 * conform/data/stdlib.h-data: Likewise.
56923 * conform/data/stropts.h-data: Likewise.
56924 * conform/data/sys/mman.h-data: Likewise.
56925 * conform/data/sys/stat.h-data: Likewise.
56926 * conform/data/sys/types.h-data: Likewise.
56927 * conform/data/sys/wait.h-data: Likewise.
56928 * conform/data/time.h-data: Likewise.
56929 * conform/data/unistd.h-data: Likewise.
56930 * conform/data/utime.h-data: Likewise.
56932 * io/sys/stat.h: fchmod was always in POSIX.
56933 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56934 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56935 * rt/aio.h: Define __need_timespec before including <time.h>.
56936 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56937 struct. Add forward declaration of pthread_attr_t and use it in
56939 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56940 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56941 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56942 always remove CLK_TCK definition.
56944 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
56946 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56948 2012-02-25 Ulrich Drepper <drepper@gmail.com>
56950 * conform/run-conformtest.sh: New file.
56951 * conform/Makefile: Run run-conformtest for tests.
56952 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
56955 * conform/data/uchar.h-data: New file.
56956 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56957 * conform/data/arpa/inet.h-data: Likewise.
56958 * conform/data/assert.h-data: Likewise.
56959 * conform/data/complex.h-data: Likewise.
56960 * conform/data/cpio.h-data: Likewise.
56961 * conform/data/ctype.h-data: Likewise.
56962 * conform/data/dirent.h-data: Likewise.
56963 * conform/data/dlfcn.h-data: Likewise.
56964 * conform/data/errno.h-data: Likewise.
56965 * conform/data/fcntl.h-data: Likewise.
56966 * conform/data/float.h-data: Likewise.
56967 * conform/data/fmtmsg.h-data: Likewise.
56968 * conform/data/fnmatch.h-data: Likewise.
56969 * conform/data/ftw.h-data: Likewise.
56970 * conform/data/glob.h-data: Likewise.
56971 * conform/data/grp.h-data: Likewise.
56972 * conform/data/iconv.h-data: Likewise.
56973 * conform/data/inttypes.h-data: Likewise.
56974 * conform/data/langinfo.h-data: Likewise.
56975 * conform/data/libgen.h-data: Likewise.
56976 * conform/data/limits.h-data: Likewise.
56977 * conform/data/locale.h-data: Likewise.
56978 * conform/data/math.h-data: Likewise.
56979 * conform/data/monetary.h-data: Likewise.
56980 * conform/data/mqueue.h-data: Likewise.
56981 * conform/data/ndbm.h-data: Likewise.
56982 * conform/data/net/if.h-data: Likewise.
56983 * conform/data/netdb.h-data: Likewise.
56984 * conform/data/netinet/in.h-data: Likewise.
56985 * conform/data/nl_types.h-data: Likewise.
56986 * conform/data/poll.h-data: Likewise.
56987 * conform/data/pthread.h-data: Likewise.
56988 * conform/data/pwd.h-data: Likewise.
56989 * conform/data/regex.h-data: Likewise.
56990 * conform/data/sched.h-data: Likewise.
56991 * conform/data/search.h-data: Likewise.
56992 * conform/data/semaphore.h-data: Likewise.
56993 * conform/data/setjmp.h-data: Likewise.
56994 * conform/data/signal.h-data: Likewise.
56995 * conform/data/spawn.h-data: Likewise.
56996 * conform/data/stdarg.h-data: Likewise.
56997 * conform/data/stdio.h-data: Likewise.
56998 * conform/data/stdlib.h-data: Likewise.
56999 * conform/data/string.h-data: Likewise.
57000 * conform/data/strings.h-data: Likewise.
57001 * conform/data/stropts.h-data: Likewise.
57002 * conform/data/sys/ipc.h-data: Likewise.
57003 * conform/data/sys/mman.h-data: Likewise.
57004 * conform/data/sys/msg.h-data: Likewise.
57005 * conform/data/sys/resource.h-data: Likewise.
57006 * conform/data/sys/select.h-data: Likewise.
57007 * conform/data/sys/sem.h-data: Likewise.
57008 * conform/data/sys/shm.h-data: Likewise.
57009 * conform/data/sys/socket.h-data: Likewise.
57010 * conform/data/sys/stat.h-data: Likewise.
57011 * conform/data/sys/statvfs.h-data: Likewise.
57012 * conform/data/sys/time.h-data: Likewise.
57013 * conform/data/sys/timeb.h-data: Likewise.
57014 * conform/data/sys/times.h-data: Likewise.
57015 * conform/data/sys/types.h-data: Likewise.
57016 * conform/data/sys/uio.h-data: Likewise.
57017 * conform/data/sys/un.h-data: Likewise.
57018 * conform/data/sys/utsname.h-data: Likewise.
57019 * conform/data/sys/wait.h-data: Likewise.
57020 * conform/data/syslog.h-data: Likewise.
57021 * conform/data/tar.h-data: Likewise.
57022 * conform/data/termios.h-data: Likewise.
57023 * conform/data/utime.h-data: Likewise.
57024 * conform/data/utmpx.h-data: Likewise.
57025 * conform/data/varargs.h-data: Likewise.
57026 * conform/data/wchar.h-data: Likewise.
57027 * conform/data/wctype.h-data: Likewise.
57028 * conform/data/wordexp.h-data: Likewise.
57030 * include/stropts.h: New file.
57031 * include/uchar.h: New file.
57032 * include/aio.h: Changes to allow conformtest.pl to use the headers.
57033 * include/assert.h: Likewise.
57034 * include/ctype.h: Likewise.
57035 * include/dirent.h: Likewise.
57036 * include/dlfcn.h: Likewise.
57037 * include/fcntl.h: Likewise.
57038 * include/fnmatch.h: Likewise.
57039 * include/glob.h: Likewise.
57040 * include/grp.h: Likewise.
57041 * include/libio.h: Likewise.
57042 * include/locale.h: Likewise.
57043 * include/math.h: Likewise.
57044 * include/net/if.h: Likewise.
57045 * include/netdb.h: Likewise.
57046 * include/netinet/in.h: Likewise.
57047 * include/pthread.h: Likewise.
57048 * include/pwd.h: Likewise.
57049 * include/regex.h: Likewise.
57050 * include/sched.h: Likewise.
57051 * include/search.h: Likewise.
57052 * include/setjmp.h: Likewise.
57053 * include/signal.h: Likewise.
57054 * include/stdio.h: Likewise.
57055 * include/stdlib.h: Likewise.
57056 * include/string.h: Likewise.
57057 * include/sys/cdefs.h: Likewise.
57058 * include/sys/mman.h: Likewise.
57059 * include/sys/msg.h: Likewise.
57060 * include/sys/resource.h: Likewise.
57061 * include/sys/select.h: Likewise.
57062 * include/sys/socket.h: Likewise.
57063 * include/sys/stat.h: Likewise.
57064 * include/sys/statvfs.h: Likewise.
57065 * include/sys/time.h: Likewise.
57066 * include/sys/times.h: Likewise.
57067 * include/sys/uio.h: Likewise.
57068 * include/sys/utsname.h: Likewise.
57069 * include/sys/wait.h: Likewise.
57070 * include/termios.h: Likewise.
57071 * include/time.h: Likewise.
57072 * include/ulimit.h: Likewise.
57073 * include/unistd.h: Likewise.
57074 * include/utime.h: Likewise.
57075 * include/wchar.h: Likewise.
57076 * include/wctype.h: Likewise.
57077 * include/wordexp.h: Likewise.
57079 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57081 * time/time.h: TIME_UTC must be a macro.
57082 Make timespec_get available for ISO C11 only as well.
57084 2012-02-24 Ulrich Drepper <drepper@gmail.com>
57086 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57087 Reported by Peng Haitao <penght@cn.fujitsu.com>.
57089 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57091 * configure.in: Use -o not -a in test for unsupported multi-arch.
57093 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57095 * manual/texinfo.tex: Update to version 2012-01-19.16.
57097 2012-02-24 Joseph Myers <joseph@codesourcery.com>
57099 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57101 2012-02-24 Roland McGrath <roland@hack.frob.com>
57104 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57105 * manual/fdl-1.3.texi: New file.
57106 * manual/fdl-1.1.texi: File removed.
57109 * manual/libc.texinfo (FDL_VERSION): New @set.
57110 Use it for mention of FDL in cover text.
57111 (Documentation License): Use it in @include file name.
57113 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57114 Roland McGrath <roland@hack.frob.com>
57117 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57118 (not LONG_LONG_MAX and LONG_LONG_MIN.
57119 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57120 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
57122 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57128 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57129 manipulate bits before adding and subtracting TWO23[sx].
57130 * math/libm-test.inc (nearbyint_test): Add more tests.
57132 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57135 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57136 bits before adding and subtracting TWO23[sx].
57137 * math/libm-test.inc (rint_test): Add more tests.
57138 (rint_test_tonearest): Likewise.
57139 (rint_test_towardzero): Likewise.
57140 (rint_test_downward): Likewise.
57141 (rint_test_upward: Likewise.
57143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57146 * include/stdc-predef.h: New file. Extracted from features.h.
57147 * include/features.h: Include stdc-predef.h.
57148 * Makefile (headers): Add stdc-predef.h.
57149 * CONFORMANCE (Compiler limitations): Update.
57151 2012-02-22 Joseph Myers <joseph@codesourcery.com>
57153 * manual/libc.texinfo (VERSION, UPDATED): Revert.
57155 2012-02-21 David S. Miller <davem@davemloft.net>
57157 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57158 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57160 2012-02-20 David S. Miller <davem@davemloft.net>
57162 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57163 using a normal save/restore sequence, rather than allocating a
57164 dummy stack frame just to store a frame pointer and restore.
57165 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57167 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57169 * manual/install.texi: Fix stray word in line-wrapped comment.
57171 2012-02-20 David S. Miller <davem@davemloft.net>
57173 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57174 both binutils and gcc support GOTDATA.
57176 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57177 "rd %pc" in the PIC register setup sequences.
57179 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57180 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57181 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57182 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57183 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57184 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57185 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57186 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57187 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57188 (SYSCALL_ERROR_HANDLER): Likewise.
57189 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57190 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57191 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57192 (SYSCALL_ERROR_HANDLER): Likewise.
57194 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57195 (HAVE_GCC_GOTDATA): New.
57196 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57197 relocation support in both binutils and gcc.
57198 * sysdeps/sparc/elf/configure: Regenerate.
57200 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57201 * sysdeps/sparc/sparc32/elf/configure: Delete.
57202 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57203 * sysdeps/sparc/sparc64/elf/configure: Delete.
57204 * sysdeps/sparc/elf/configure.in: New file.
57205 * sysdeps/sparc/elf/configure: Generate.
57207 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57208 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57209 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57210 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57211 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57213 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57215 * manual/install.texi: Do not mention specific glibc version
57217 * manual/libc.texinfo (VERSION, UPDATED): Update.
57218 (@copying): Use @copyright{} and range of years.
57220 2012-02-21 Joseph Myers <joseph@codesourcery.com>
57223 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57224 [crti.S not in sysdirs] (generated): Do not append.
57225 [crti.S not in sysdirs] (omit-deps): Likewise.
57226 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57227 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57228 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57229 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57230 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57232 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57233 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57234 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57235 * csu/defs.awk: Remove file.
57236 * sysdeps/generic/initfini.c: Likewise.
57237 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57239 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57242 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57244 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57245 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57246 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57248 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57249 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57251 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57252 (__EPOLL_PACKED): Define to empty if not defined by
57254 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57258 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57260 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57261 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57262 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57263 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57265 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57269 2012-02-20 Joseph Myers <joseph@codesourcery.com>
57271 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57274 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57278 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
57280 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57281 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57283 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
57285 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57286 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57288 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57290 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57293 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
57295 * math/w_acos.c: Use non-signaling floating-point comparisons.
57296 * math/w_acosf.c: Likewise.
57297 * math/w_acosh.c: Likewise.
57298 * math/w_acoshf.c: Likewise.
57299 * math/w_acoshl.c: Likewise.
57300 * math/w_acosl.c: Likewise.
57301 * math/w_asin.c: Likewise.
57302 * math/w_asinf.c: Likewise.
57303 * math/w_asinl.c: Likewise.
57304 * math/w_atanh.c: Likewise.
57305 * math/w_atanhf.c: Likewise.
57306 * math/w_atanhl.c: Likewise.
57307 * math/w_exp2.c: Likewise.
57308 * math/w_exp2f.c: Likewise.
57309 * math/w_exp2l.c: Likewise.
57310 * math/w_j0.c: Likewise.
57311 * math/w_j0f.c: Likewise.
57312 * math/w_j0l.c: Likewise.
57313 * math/w_j1.c: Likewise.
57314 * math/w_j1f.c: Likewise.
57315 * math/w_j1l.c: Likewise.
57316 * math/w_jn.c: Likewise.
57317 * math/w_jnf.c: Likewise.
57318 * math/w_log.c: Likewise.
57319 * math/w_log10.c: Likewise.
57320 * math/w_log10f.c: Likewise.
57321 * math/w_log10l.c: Likewise.
57322 * math/w_log2.c: Likewise.
57323 * math/w_log2f.c: Likewise.
57324 * math/w_log2l.c: Likewise.
57325 * math/w_logf.c: Likewise.
57326 * math/w_logl.c: Likewise.
57327 * math/w_sqrt.c: Likewise.
57328 * math/w_sqrtf.c: Likewise.
57329 * math/w_sqrtl.c: Likewise.
57330 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57331 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57332 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57333 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57334 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57336 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57339 * manual/string.texi (strnlen): Use correct parameter name in
57340 equivalent expression.
57342 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57345 * manual/users.texi (seteuid): Consistently use neweuid for
57348 2012-02-19 Joseph Myers <joseph@codesourcery.com>
57351 * manual/nss.texi (Services in the NSS configuration): Correct
57352 list of services in example configuration file.
57354 2012-02-19 Nick Bowler <nbowler@draconx.ca>
57357 * manual/arith.texi: Remove statements about negative zero
57358 behaving identically to zero.
57360 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57363 * manual/install.texi: Do not document upgrading from libc5.
57365 2012-02-18 Joseph Myers <joseph@codesourcery.com>
57368 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57370 2012-02-18 David S. Miller <davem@davemloft.net>
57372 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57373 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57374 %o7 across the call.
57375 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57377 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57378 SETUP_PIC_REG_LEAF.
57379 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57380 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57381 * sysdeps/sparc/crtn.S: Likewise.
57383 2012-02-17 Ulrich Drepper <drepper@gmail.com>
57385 * aout/Makefile: Remove.
57387 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
57390 * manual/examples/argp-ex1.c (main): Format definition in GNU
57392 * manual/examples/argp-ex2.c (main): Likewise.
57393 * manual/examples/argp-ex3.c (main): Likewise.
57394 * manual/examples/argp-ex4.c (main): Likewise.
57395 * manual/examples/longopt.c (main): Use new-style prototype
57397 * manual/examples/strncat.c (main): Specify return type and use
57398 (void) for arguments.
57399 * manual/examples/subopt.c (main): Use char **argv argument.
57401 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57404 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57407 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
57410 * manual/string.texi (strchr): Change when strchrnul is
57413 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
57416 * manual/locale.texi (setlocale): Document LOCPATH.
57418 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57421 * manual/process.texi (execle): Move @dots{} before last argument.
57423 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
57426 * manual/charset.texi (Generic Charset Conversion): Fix typo
57427 (LC_TYPE -> LC_CTYPE).
57429 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
57432 * manual/arith.texi (scalbn): Use @var{} on parameter names.
57433 (scalbnf): Likewise.
57434 (scalbnl): Likewise.
57435 (scalbln): Likewise.
57436 (scalblnf): Likewise.
57437 (scalblnl): Likewise.
57438 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57439 (vwarnx): Likewise.
57442 * manual/filesys.texi (telldir): Use braces around return type.
57443 * manual/llio.texi (mmap): Add space after comma.
57444 (mmap64): Likewise.
57445 * manual/math.texi (jn): Use @var{} on parameter names.
57451 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57453 * manual/resource.texi (ulimit): Use @dots{} instead of literal
57455 (sched_get_priority_min): Remove semicolon on @deftypefun line.
57456 (sched_get_priority_max): Likewise.
57457 * manual/signal.texi (sigvec): Add space after comma.
57458 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57460 (if_indextoname): Likewise.
57461 (if_freenameindex): Likewise.
57462 (sendto): Use ',' instead of '.' in prototype.
57463 * manual/startup.texi (syscall): Use @dots{} instead of literal
57465 * manual/stdio.texi (__fpending): Separate initial words of
57466 paragraph from @deftypefun line.
57467 * manual/syslog.texi (syslog): Use @dots{} instead of literal
57469 (vsyslog): Use @var{} on parameter names.
57470 * manual/terminal.texi (stty): Use @var{} on parameter names.
57471 * manual/users.texi (getutmp): Use @var{} on parameter names.
57472 (getutmpx): Likewise.
57474 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57477 * manual/stdio.texi (fopen): Fix typos in description of
57480 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
57483 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57484 get clock_id definition.
57486 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
57489 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57490 (madvise): Cast every argument to void on its own.
57492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57495 * manual/startup.texi (Exit Status): Fix typo.
57497 2012-02-17 Joseph Myers <joseph@codesourcery.com>
57500 * manual/examples/argp-ex1.c: Include <stdlib.h>.
57501 * manual/examples/argp-ex2.c: Likewise.
57502 * manual/examples/argp-ex3.c: Likewise.
57504 2012-02-16 Richard Henderson <rth@redhat.com>
57506 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57507 * sysdeps/s390/s390-32/initfini.c: Remove.
57508 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57509 * sysdeps/s390/s390-64/initfini.c: Remove.
57511 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
57513 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57514 compiler output for sysdeps/generic/initfini.c.
57515 * sysdeps/sh/elf/initfini.c: Remove file.
57517 2012-02-16 David S. Miller <davem@davemloft.net>
57520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57522 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57523 * sysdeps/sparc/crti.S: New file.
57524 * sysdeps/sparc/crtn.S: New file.
57525 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57526 * sysdeps/sparc/sparc64/Makefile: Likewise.
57528 2012-02-15 Mike Frysinger <vapier@gentoo.org>
57531 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57533 2012-02-15 Roland McGrath <roland@hack.frob.com>
57536 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57538 * mach/devstream.c (cookie_io_functions_t): Macro removed.
57539 (write, read, close): Likewise.
57540 Patch by Aurelien Jarno <aurelien@aurel32.net>.
57542 2012-02-15 Joseph Myers <joseph@codesourcery.com>
57544 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57545 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57546 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57547 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57549 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57553 2012-02-14 Marek Polacek <polacek@redhat.com>
57555 * sysdeps/x86_64/crti.S: New file.
57556 * sysdeps/x86_64/crtn.S: New file.
57557 * sysdeps/x86_64/elf/initfini.c: Remove file.
57559 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57561 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57562 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57563 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57564 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57566 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57567 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57570 2012-02-13 Joseph Myers <joseph@codesourcery.com>
57572 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57573 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57574 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57575 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57577 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57581 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
57583 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57584 __feraiseexcept instead of feraiseexcept.
57586 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57587 nanosleep invocations.
57588 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57589 strings, and add error checking for a nanosleep invocations.
57591 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
57593 Replace FSF snail mail address with URLs, as per GNU coding standards.
57594 Most of the snail mail addresses were wrong anyway, and omitting
57595 them makes the source code easier to maintain. Almost all of the
57596 changes are to license notices and to locale LC_IDENTIFICATION
57597 addresses, except for this one:
57598 * manual/libc.texinfo: In "Published by", give the FSF's URL,
57599 not its snail mail address.
57601 2012-02-09 Richard Henderson <rth@twiddle.net>
57603 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57604 of kernel-features.h.
57606 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57608 2012-02-08 Marek Polacek <polacek@redhat.com>
57610 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57611 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57612 * sysdeps/gnu/_G_config.h: Likewise.
57613 * sysdeps/generic/_G_config.h: Likewise.
57615 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
57617 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57621 * sysdeps/powerpc/powerpc32/crti.S: New file.
57622 * sysdeps/powerpc/powerpc32/crtn.S: New file.
57623 * sysdeps/powerpc/powerpc64/crti.S: New file.
57624 * sysdeps/powerpc/powerpc64/crtn.S: New file.
57626 * Makeconfig (have-initfini): Don't set.
57627 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57628 * configure.in (nopic_initfini): Don't substitute.
57629 * config.h.in (HAVE_INITFINI): Don't #undef.
57630 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57631 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57633 2012-02-08 Joseph Myers <joseph@codesourcery.com>
57635 Support crti.S and crtn.S provided directly by architectures.
57636 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57637 [crti.S in sysdirs] (omit-deps): Likewise.
57638 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57639 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57640 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57641 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57642 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57643 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57644 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57645 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57646 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57647 compiler output for sysdeps/generic/initfini.c.
57648 * sysdeps/i386/elf/Makefile: Remove file.
57649 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57651 2012-02-07 Marek Polacek <polacek@redhat.com>
57653 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57654 * sysdeps/gnu/_G_config.h: Likewise.
57655 * sysdeps/mach/hurd/_G_config.h: Likewise.
57657 2012-02-07 Marek Polacek <polacek@redhat.com>
57659 * math/Makefile (tests): Add tst-CMPLX2.
57660 * math/tst-CMPLX2.c: New file.
57662 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
57664 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57666 * math/libm-test.inc (jn_test): Add missing L suffix.
57668 2012-02-06 Marek Polacek <polacek@redhat.com>
57670 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57671 * sysdeps/i386/fpu/e_powf.S: Likewise.
57672 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57673 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57674 * sysdeps/i386/fpu/e_acosh.S: Likewise.
57675 * sysdeps/i386/fpu/e_pow.S: Likewise.
57676 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57677 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57678 * sysdeps/i386/fpu/s_expm1.S: Likewise.
57679 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57680 * sysdeps/i386/fpu/e_log2.S: Likewise.
57681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
57682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
57683 * sysdeps/i386/fpu/e_powl.S: Likewise.
57684 * sysdeps/i386/fpu/s_log1p.S: Likewise.
57685 * sysdeps/i386/fpu/e_log10f.S: Likewise.
57686 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57687 * sysdeps/i386/fpu/e_logl.S: Likewise.
57688 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57689 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57690 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57691 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57692 * sysdeps/i386/fpu/e_log2f.S: Likewise.
57693 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57694 * sysdeps/i386/fpu/e_log.S: Likewise.
57695 * sysdeps/i386/fpu/s_cexp.S: Likewise.
57696 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57697 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57698 * sysdeps/i386/fpu/e_logf.S: Likewise.
57699 * sysdeps/i386/fpu/e_log10l.S: Likewise.
57700 * sysdeps/i386/fpu/e_atanh.S: Likewise.
57701 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57702 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57703 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57704 * sysdeps/i386/fpu/e_log10.S: Likewise.
57705 * sysdeps/i386/fpu/s_frexp.S: Likewise.
57706 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57707 * sysdeps/i386/fpu/s_asinh.S: Likewise.
57708 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57709 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57710 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57711 * sysdeps/i386/asm-syntax.h: Likewise.
57712 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57713 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57714 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57715 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57716 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57717 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57718 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57719 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57720 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57721 * sysdeps/powerpc/sysdep.h: Likewise.
57722 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57723 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57725 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57728 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57730 2012-02-06 Joseph Myers <joseph@codesourcery.com>
57732 * sysdeps/i386/sysdep.h: Include <features.h>.
57733 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57736 2012-02-05 Joseph Myers <joseph@codesourcery.com>
57738 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57740 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57743 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57745 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57746 (SETUP_PIC_REG): Use GET_PC_THUNK.
57747 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57750 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57752 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57753 for non-PIC compilation.
57754 (SETUP_PIC_REG): Add .p2align directive.
57755 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57756 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57757 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57758 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57759 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57760 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57761 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57762 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57763 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57764 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57765 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57766 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57767 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57768 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57769 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57770 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57771 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57772 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57773 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57774 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57775 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57776 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57777 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57778 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57779 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57781 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57785 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57786 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57787 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57788 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57789 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57790 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57791 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57792 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57793 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57794 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57795 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57797 2012-02-03 Joseph Myers <joseph@codesourcery.com>
57799 * math/tst-CMPLX.c: Include <stdio.h>.
57801 2012-01-31 Joseph Myers <joseph@codesourcery.com>
57803 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57805 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57806 * sysdeps/sparc/bits/mathdef.h: Likewise.
57808 2012-01-31 Marek Polacek <polacek@redhat.com>
57810 * libio/libio.h: Don't define _PARAMS.
57811 * locale/programs/config.h: Don't define PARAMS.
57812 * stdlib/strtol_l.c: Likewise.
57813 (__strtol_l): Remove PARAMS from the prototype.
57815 2012-01-31 Ulrich Drepper <drepper@gmail.com>
57817 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
57818 names. Just use the correct names. Remove unnecessary wrapper
57820 * malloc/arena.c: Likewise.
57821 * malloc/hooks.c: Likewise.
57823 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57824 ARENA_TEST says not to. Simplify test for creation of a new arena.
57825 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57827 2012-01-30 Ulrich Drepper <drepper@gmail.com>
57829 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57831 (update_get_addr): New function.
57832 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57833 GET_ADDR_MODULE parameter.
57835 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57837 * crypt/cert.c: Remove __STDC__ conditionals.
57838 * crypt/crypt-entry.c: Likewise.
57839 * crypt/crypt_util.c: Likewise.
57840 * libio/filedoalloc.c: Likewise.
57841 * libio/fileops.c: Likewise.
57842 * libio/genops.c: Likewise.
57843 * libio/iofclose.c: Likewise.
57844 * libio/iofdopen.c: Likewise.
57845 * libio/iofopen.c: Likewise.
57846 * libio/iofopen64.c: Likewise.
57847 * libio/iogetdelim.c: Likewise.
57848 * libio/iopopen.c: Likewise.
57849 * libio/obprintf.c: Likewise.
57850 * libio/oldfileops.c: Likewise.
57851 * libio/oldiofclose.c: Likewise.
57852 * libio/oldiofdopen.c: Likewise.
57853 * libio/oldiofopen.c: Likewise.
57854 * libio/oldiopopen.c: Likewise.
57855 * libio/wfiledoalloc.c: Likewise.
57856 * libio/wgenops.c: Likewise.
57857 * locale/programs/xmalloc.c: Likewise.
57858 * misc/syslog.c: Likewise.
57859 * stdio-common/xbug.c: Likewise.
57860 * string/memchr.c: Likewise.
57861 * string/memcmp.c: Likewise.
57862 * string/memrchr.c: Likewise.
57863 * string/rawmemchr.c: Likewise.
57864 * sysdeps/posix/getcwd.c: Likewise.
57865 * time/strftime_l.c: Likewise.
57867 2012-01-30 Joseph Myers <joseph@codesourcery.com>
57869 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57870 * config.make.in (config-cflags-sse2avx): Define.
57871 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57874 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
57876 * scripts/config.guess: Update from upstream config git repository.
57877 * scripts/config.sub: Likewise.
57879 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
57881 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57883 (R_TILEPRO_*, R_TILEGX_*): New macros.
57885 * scripts/firstversions.awk: Fix bug in version range handling.
57887 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57889 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57891 * include/sys/epoll.h: New file.
57892 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57895 2012-01-28 Ulrich Drepper <drepper@gmail.com>
57897 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57898 Avoid unnecessary __WORDSIZE == 64 test.
57899 (fmaxf): Use VEX format if possible.
57904 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57905 * math/math_private.h: Remove libc_fegetround* and
57907 * sysdeps/i386/configure.in: Check for -msse2avx.
57908 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57909 also if SSE2AVX is defined.
57910 Remove libc_fegetround* and libc_fesetround*.
57911 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57912 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
57913 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57915 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57916 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57917 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57919 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57921 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57923 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57925 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57927 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57929 2012-01-27 Ulrich Drepper <drepper@gmail.com>
57932 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57934 * Makeconfig (libm): Define.
57935 * elf/Makefile: Add rules to build and run tst-relsort1.
57936 * elf/tst-relsort1.c: New file.
57937 * elf/tst-relsort1mod1.c: New file.
57938 * elf/tst-relsort1mod2.c: New file.
57940 2012-01-27 Joseph Myers <joseph@codesourcery.com>
57942 * math/s_ldexp.c: Remove __STDC__ conditionals.
57943 * math/s_ldexpf.c: Likewise.
57944 * math/s_ldexpl.c: Likewise.
57945 * math/s_nextafter.c: Likewise.
57946 * math/s_nexttowardf.c: Likewise.
57947 * math/s_significand.c: Likewise.
57948 * math/s_significandf.c: Likewise.
57949 * math/s_significandl.c: Likewise.
57950 * math/w_jnl.c: Likewise.
57951 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57952 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57953 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57954 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57955 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57956 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57957 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57958 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57959 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57960 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57961 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57962 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57963 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57964 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57965 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57966 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57967 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57968 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57969 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57970 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57971 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57972 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57973 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57974 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57975 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57976 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57977 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57978 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57979 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57980 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57981 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57982 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57983 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57984 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57985 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57986 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57987 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57988 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57989 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57990 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57991 * sysdeps/ieee754/k_standard.c: Likewise.
57992 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57993 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57994 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57995 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57996 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57997 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57999 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58000 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58001 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58002 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58003 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58004 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58005 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58006 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58007 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58008 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58009 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58010 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58011 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58012 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58013 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58014 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58015 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58016 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58017 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58018 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58019 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58020 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58021 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58022 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58023 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58024 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58025 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58026 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58027 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58028 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58029 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58030 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58031 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58032 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58033 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58034 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58035 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58036 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58037 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58038 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58039 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58040 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58041 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58042 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58043 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58044 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58045 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58046 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58047 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58048 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58049 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58050 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58051 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58052 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58053 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58054 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58055 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58056 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58057 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58058 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58059 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58060 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58061 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58062 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58063 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58064 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58065 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58066 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58067 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58068 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58069 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58070 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58071 * sysdeps/ieee754/s_matherr.c: Likewise.
58072 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58073 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58074 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58075 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58077 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58079 * crypt/md5.h: Remove __STDC__ conditionals.
58080 * libio/libioP.h: Likewise.
58081 * locale/programs/config.h: Likewise.
58082 * sysdeps/generic/sysdep.h: Likewise.
58083 * sysdeps/i386/asm-syntax.h: Likewise.
58084 * sysdeps/s390/asm-syntax.h: Likewise.
58085 * sysdeps/unix/sysdep.h: Likewise.
58086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58089 2012-01-26 Joseph Myers <joseph@codesourcery.com>
58091 * libio/libio.h: Remove __STDC__ conditionals.
58092 * malloc/obstack.h: Likewise.
58093 * math/complex.h: Likewise.
58094 * math/math.h: Likewise.
58095 * sysdeps/generic/_G_config.h: Likewise.
58096 * sysdeps/gnu/_G_config.h: Likewise.
58097 * sysdeps/mach/hurd/_G_config.h: Likewise.
58098 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58099 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58100 * sysdeps/sparc/bits/mathdef.h: Likewise.
58102 2012-01-26 Ulrich Drepper <drepper@gmail.com>
58105 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58106 Clean up HAS_* macros.
58107 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58108 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58110 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58112 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58113 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58114 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58115 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58116 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58118 2012-01-25 Joseph Myers <joseph@codesourcery.com>
58120 * elf/tst-unique3.cc (gets): Remove declaration.
58121 * elf/tst-unique3lib.cc (gets): Likewise.
58122 * elf/tst-unique3lib2.cc (gets): Likewise.
58123 * elf/tst-unique4.cc (gets): Likewise.
58125 2012-01-24 Ulrich Drepper <drepper@gmail.com>
58127 * include/stdio.h: Add C++ protection. Add gets declarations and
58129 * debug/tst-chk1.c: Don't declare gets here.
58130 * stdio-common/tst-gets.c: Likewise.
58132 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58134 * posix/glob: Remove directory.
58136 2012-01-24 Joseph Myers <joseph@codesourcery.com>
58138 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58140 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
58142 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58143 of the non-standard EPFNOSUPPORT.
58145 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
58147 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58148 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58149 ANYWHERE set to 1 only on KERN_NO_SPACE error.
58151 2012-01-21 Ulrich Drepper <drepper@gmail.com>
58153 * wcsmbs/uchar.h: Test __STDC_VERSION__.
58155 2012-01-20 Ulrich Drepper <drepper@gmail.com>
58157 * nscd/aicache.c (addhstaiX): Do not cache negative results of
58159 * nscd/grpcache.c (cache_addgr): Likewise.
58160 * nscd/hstcache.c (cache_addhst): Likewise.
58161 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58162 * nscd/pwdcache.c (cache_addpw): Likewise.
58163 * nscd/servicescache.c (cache_addserv): Likewise.
58165 2012-01-16 Ulrich Drepper <drepper@gmail.com>
58167 * malloc/malloc.c: Various cleanups.
58168 * malloc/hooks.c: Likewise.
58170 * stdlib/Makefile (tests): Add bug-fmtmsg1.
58171 * stdlib/bug-fmtmsg1.c: New file.
58173 * stdlib/fmtmsg.c (init): Add missing unlock.
58174 Patch by Peng Haitao <penght@cn.fujitsu.com>.
58176 2012-01-12 Marek Polacek <polacek@redhat.com>
58178 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58181 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
58183 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58184 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58185 macro to ensure uniqueness of label name.
58186 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58187 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58189 2012-01-11 Ulrich Drepper <drepper@gmail.com>
58191 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58193 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58194 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58195 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58196 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58198 2012-01-10 Ulrich Drepper <drepper@gmail.com>
58200 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58202 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58203 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58204 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58206 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58208 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58209 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58210 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58211 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58213 * math/bits/math-finite.h: Add ldexp support.
58215 2012-01-10 Marek Polacek <polacek@redhat.com>
58217 * locale/programs/localedef.h (show_archive_content): Add noreturn
58220 2012-01-09 Ulrich Drepper <drepper@gmail.com>
58222 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58224 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58226 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58228 * io/Makefile (headers): Add bits/poll2.h.
58230 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
58232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58233 typo #include statement.
58235 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58237 * include/sys/cdefs.h: Define __attribute_alloc_size.
58238 * catgets/gencat.c: Add alloc_size attribute and apply consistently
58239 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58240 * elf/pldd.c: Likewise.
58241 * iconv/iconv_charmap.c: Likewise.
58242 * iconv/iconvconfig.c: Likewise.
58243 * iconv/strtab.c: Likewise.
58244 * locale/programs/locale.c: Likewise.
58245 * locale/programs/localedef.h: Likewise.
58246 * locale/programs/simple-hash.c: Likewise.
58247 * nscd/nscd.h: Likewise.
58248 * nss/makedb.c: Likewise.
58249 * sysdeps/generic/ldconfig.h: Likewise.
58250 * locale/programs/localedef.c: Remove xmalloc prototype.
58251 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58253 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
58255 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58258 2012-01-08 Ulrich Drepper <drepper@gmail.com>
58260 * math/Makefile (tests): Add tst-CMPLX.
58261 * math/tst-CMPLX.c: New file.
58263 * math/complex.h (CMPLXL): Fix typo.
58265 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58266 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58268 * debug/tst-chk1.c: Add poll and ppoll tests.
58269 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58270 * include/sys/poll.h: Add hidden proto for ppoll.
58271 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58272 * sysdeps/mach/hurd/ppoll.c: Likewise.
58273 * io/ppoll.c: Likewise.
58274 * debug/poll_chk.c: New file.
58275 * debug/ppoll_chk.c: New file.
58276 * include/bits/poll2.h: New file.
58277 * io/bits/poll2.h: New file.
58280 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58282 * configure.in: static is always set to yes. Remove.
58283 * config.make.in: Don't set build-static.
58284 * Makeconfig: Remove use of build-static.
58285 * dlfcn/Makefile: Likewise.
58286 * elf/Makefile: Likewise.
58287 * math/Makefile: Likewise.
58288 * misc/Makefile: Likewise.
58289 * nptl/Makefile: Likewise.
58290 * sysdeps/mach/hurd/Makefile: Likewise.
58292 * configure.in: PWD_P is not used anymore.
58293 * config.make.in: Remove PWD_P entry.
58295 * configure.in: Remove last remnants of RANLIB.
58296 No need to check for signed size_t anymore.
58297 Don't set libc_commonpagesize and libc_relro_required here for Alpha
58299 Remove __builtin_expect test because we require at least gcc 3.4.
58300 * aclocal.m4: Likewise.
58302 * wcsmbs/mbrtoc16.c: Implement using towc function.
58303 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58304 * wcsmbs/wcsmbsload.c: Likewise.
58305 * iconv/gconv_simple.c: Likewise.
58306 * iconv/gconv_int.h: Likewise.
58307 * iconv/gconv_builtin.h: Likewise.
58308 * iconv/iconv_prog.c: Remove CHAR16 handling.
58310 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58312 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58314 * configure.in: Remove --with-elf and --enable-bounded options.
58315 Dont set base_machine for ia64. More non-ELF conditions removed.
58316 Remove testing and setting of leading underscore information.
58317 * config.make.in (build-bounded): Set to no.
58318 * config.h.in: Remove NO_UNDERSCORES entry.
58319 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
58321 * csu/start.c: Remove !NO_UNDERSCORE code.
58322 * locale/localeinfo.h: Likewise.
58323 * sysdeps/generic/machine-gmon.h: Likewise.
58324 * sysdeps/generic/sysdep.h: Likewise.
58325 * sysdeps/i386/sysdep.h: Likewise.
58326 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58327 * sysdeps/mach/sysdep.h: Likewise.
58328 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58329 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58330 * sysdeps/sh/sysdep.h: Likewise.
58331 * sysdeps/sparc/sparc32/alloca.S: Likewise.
58332 * sysdeps/unix/i386/sysdep.S: Likewise.
58333 * sysdeps/unix/sparc/start.c: Likewise.
58334 * sysdeps/unix/sparc/sysdep.S: Likewise.
58335 * sysdeps/unix/sparc/sysdep.h: Likewise.
58336 * sysdeps/unix/start.c: Likewise.
58337 * sysdeps/unix/x86_64/sysdep.S: Likewise.
58338 * sysdeps/x86_64/sysdep.h: Likewise.
58340 2012-01-07 Ulrich Drepper <drepper@gmail.com>
58343 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58345 * argp/argp-fmtstream.h: Use const instead __const.
58346 * argp/argp.h: Likewise.
58347 * assert/assert.h: Likewise.
58348 * bits/fenv.h: Likewise.
58349 * bits/sched.h: Likewise.
58350 * bits/sigset.h: Likewise.
58351 * bits/sigthread.h: Likewise.
58352 * catgets/nl_types.h: Likewise.
58353 * conform/data/pthread.h-data: Likewise.
58354 * crypt/crypt-private.h: Likewise.
58355 * crypt/crypt.h: Likewise.
58356 * crypt/crypt_util.c: Likewise.
58357 * ctype/ctype.h: Likewise.
58358 * debug/execinfo.h: Likewise.
58359 * debug/mbsnrtowcs_chk.c: Likewise.
58360 * debug/mbsrtowcs_chk.c: Likewise.
58361 * debug/wcsnrtombs_chk.c: Likewise.
58362 * debug/wcsrtombs_chk.c: Likewise.
58363 * debug/wcstombs_chk.c: Likewise.
58364 * dirent/dirent.h: Likewise.
58365 * dlfcn/dlfcn.h: Likewise.
58366 * elf/neededtest4.c: Likewise.
58367 * grp/grp.h: Likewise.
58368 * gshadow/gshadow.h: Likewise.
58369 * iconv/gconv.h: Likewise.
58370 * iconv/gconv_int.h: Likewise.
58371 * iconv/gconv_simple.c: Likewise.
58372 * iconv/iconv.h: Likewise.
58373 * iconv/loop.c: Likewise.
58374 * iconv/skeleton.c: Likewise.
58375 * include/aio.h: Likewise.
58376 * include/aliases.h: Likewise.
58377 * include/argz.h: Likewise.
58378 * include/arpa/inet.h: Likewise.
58379 * include/assert.h: Likewise.
58380 * include/dirent.h: Likewise.
58381 * include/dlfcn.h: Likewise.
58382 * include/execinfo.h: Likewise.
58383 * include/fcntl.h: Likewise.
58384 * include/fenv.h: Likewise.
58385 * include/glob.h: Likewise.
58386 * include/grp.h: Likewise.
58387 * include/libintl.h: Likewise.
58388 * include/mntent.h: Likewise.
58389 * include/netdb.h: Likewise.
58390 * include/pwd.h: Likewise.
58391 * include/rpc/netdb.h: Likewise.
58392 * include/sched.h: Likewise.
58393 * include/search.h: Likewise.
58394 * include/shadow.h: Likewise.
58395 * include/signal.h: Likewise.
58396 * include/stdio.h: Likewise.
58397 * include/stdlib.h: Likewise.
58398 * include/string.h: Likewise.
58399 * include/sys/socket.h: Likewise.
58400 * include/sys/stat.h: Likewise.
58401 * include/sys/statfs.h: Likewise.
58402 * include/sys/statvfs.h: Likewise.
58403 * include/sys/syslog.h: Likewise.
58404 * include/sys/time.h: Likewise.
58405 * include/sys/uio.h: Likewise.
58406 * include/time.h: Likewise.
58407 * include/unistd.h: Likewise.
58408 * include/utmp.h: Likewise.
58409 * include/wchar.h: Likewise.
58410 * include/wctype.h: Likewise.
58411 * inet/aliases.h: Likewise.
58412 * inet/arpa/inet.h: Likewise.
58413 * inet/netinet/ether.h: Likewise.
58414 * inet/netinet/in.h: Likewise.
58415 * intl/libintl.h: Likewise.
58416 * io/bits/fcntl2.h: Likewise.
58417 * io/fcntl.h: Likewise.
58418 * io/ftw.h: Likewise.
58419 * io/sys/poll.h: Likewise.
58420 * io/sys/stat.h: Likewise.
58421 * io/sys/statfs.h: Likewise.
58422 * io/sys/statvfs.h: Likewise.
58423 * io/utime.h: Likewise.
58424 * libio/bits/stdio.h: Likewise.
58425 * libio/bits/stdio2.h: Likewise.
58426 * libio/libio.h: Likewise.
58427 * libio/libioP.h: Likewise.
58428 * libio/stdio.h: Likewise.
58429 * locale/lc-ctype.c: Likewise.
58430 * locale/locale.h: Likewise.
58431 * login/utmp.h: Likewise.
58432 * malloc/arena.c: Likewise.
58433 * malloc/malloc.c: Likewise.
58434 * malloc/malloc.h: Likewise.
58435 * malloc/mcheck.c: Likewise.
58436 * malloc/mtrace.c: Likewise.
58437 * math/bits/mathcalls.h: Likewise.
58438 * math/fenv.h: Likewise.
58439 * math/math_private.h: Likewise.
58440 * misc/bits/error.h: Likewise.
58441 * misc/bits/syslog.h: Likewise.
58442 * misc/err.h: Likewise.
58443 * misc/error.h: Likewise.
58444 * misc/fstab.h: Likewise.
58445 * misc/mntent.h: Likewise.
58446 * misc/regexp.h: Likewise.
58447 * misc/search.h: Likewise.
58448 * misc/sgtty.h: Likewise.
58449 * misc/sys/mman.h: Likewise.
58450 * misc/sys/syslog.h: Likewise.
58451 * misc/sys/uio.h: Likewise.
58452 * misc/sys/xattr.h: Likewise.
58453 * misc/ttyent.h: Likewise.
58454 * nis/rpcsvc/ypclnt.h: Likewise.
58455 * nss/nss.h: Likewise.
58456 * posix/bits/unistd.h: Likewise.
58457 * posix/fnmatch.h: Likewise.
58458 * posix/glob.h: Likewise.
58459 * posix/sched.h: Likewise.
58460 * posix/spawn.h: Likewise.
58461 * posix/sys/wait.h: Likewise.
58462 * posix/unistd.h: Likewise.
58463 * posix/wordexp.h: Likewise.
58464 * pwd/pwd.h: Likewise.
58465 * resolv/netdb.h: Likewise.
58466 * resource/sys/resource.h: Likewise.
58467 * rt/aio.h: Likewise.
58468 * rt/bits/mqueue2.h: Likewise.
58469 * rt/mqueue.h: Likewise.
58470 * shadow/shadow.h: Likewise.
58471 * signal/signal.h: Likewise.
58472 * socket/send.c: Likewise.
58473 * socket/sendto.c: Likewise.
58474 * socket/sys/socket.h: Likewise.
58475 * stdio-common/printf.h: Likewise.
58476 * stdlib/bits/stdlib.h: Likewise.
58477 * stdlib/fmtmsg.h: Likewise.
58478 * stdlib/monetary.h: Likewise.
58479 * stdlib/stdlib.h: Likewise.
58480 * stdlib/ucontext.h: Likewise.
58481 * streams/stropts.h: Likewise.
58482 * string/argz.h: Likewise.
58483 * string/bits/string2.h: Likewise.
58484 * string/string.h: Likewise.
58485 * string/strings.h: Likewise.
58486 * sunrpc/rpc/auth.h: Likewise.
58487 * sunrpc/rpc/auth_des.h: Likewise.
58488 * sunrpc/rpc/clnt.h: Likewise.
58489 * sunrpc/rpc/netdb.h: Likewise.
58490 * sunrpc/rpc/pmap_clnt.h: Likewise.
58491 * sunrpc/rpc/xdr.h: Likewise.
58492 * sysdeps/generic/inttypes.h: Likewise.
58493 * sysdeps/generic/net/if.h: Likewise.
58494 * sysdeps/generic/sys/swap.h: Likewise.
58495 * sysdeps/gnu/net/if.h: Likewise.
58496 * sysdeps/gnu/utmpx.h: Likewise.
58497 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58498 * sysdeps/i386/i486/bits/string.h: Likewise.
58499 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58500 * sysdeps/s390/bits/string.h: Likewise.
58501 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58502 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58503 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58504 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58505 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58506 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58507 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58508 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58509 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58510 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58511 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58512 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58513 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58514 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58515 * sysdeps/unix/sysv/linux/readv.c: Likewise.
58516 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58517 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58518 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58519 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58521 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58522 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58523 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58524 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58525 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58526 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58527 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58528 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58529 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58530 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58531 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58532 * sysvipc/sys/ipc.h: Likewise.
58533 * sysvipc/sys/msg.h: Likewise.
58534 * sysvipc/sys/sem.h: Likewise.
58535 * sysvipc/sys/shm.h: Likewise.
58536 * termios/termios.h: Likewise.
58537 * time/sys/time.h: Likewise.
58538 * time/time.h: Likewise.
58539 * wcsmbs/bits/wchar2.h: Likewise.
58540 * wcsmbs/uchar.h: Likewise.
58541 * wcsmbs/wchar.h: Likewise.
58542 * wctype/wctype.h: Likewise.
58545 * Makeconfig: Remove all but ELF support including AIX support.
58546 * Makerules: Likewise.
58547 * config.h.in: Likewise.
58548 * config.make.in: Likewise.
58549 * configure: Likewise.
58550 * configure.in: Likewise.
58551 * csu/Makefile: Likewise.
58552 * csu/version.c: Likewise.
58553 * debug/Makefile: Likewise.
58554 * dlfcn/Makefile: Likewise.
58555 * elf/Makefile: Likewise.
58556 * extra-lib.mk: Likewise.
58557 * iconv/Makefile: Likewise.
58558 * include/libc-symbols.h: Likewise.
58559 * include/shlib-compat.h: Likewise.
58560 * resolv/Makefile: Likewise.
58561 * resolv/res_libc.c: Likewise.
58562 * rt/Makefile: Likewise.
58563 * sysdeps/i386/asm-syntax.h: Likewise.
58564 * sysdeps/i386/sysdep.h: Likewise.
58565 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58566 * sysdeps/mach/sysdep.h: Likewise.
58567 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58568 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58569 * sysdeps/s390/asm-syntax.h: Likewise.
58570 * sysdeps/s390/s390-32/sysdep.h: Likewise.
58571 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58572 * sysdeps/sh/sysdep.h: Likewise.
58573 * sysdeps/unix/sparc/sysdep.h: Likewise.
58574 * sysdeps/wordsize-32/divdi3.c: Likewise.
58575 * sysdeps/x86_64/sysdep.h: Likewise.
58577 * argp/Versions: Remove _argp_unlock_xxx.
58580 * abilist/ld.abilist: Update. Adjust for removal of tls option.
58581 * abilist/libBrokenLocale.abilist: Likewise.
58582 * abilist/libanl.abilist: Likewise.
58583 * abilist/libc.abilist: Likewise.
58584 * abilist/libcrypt.abilist: Likewise.
58585 * abilist/libdl.abilist: Likewise.
58586 * abilist/libm.abilist: Likewise.
58587 * abilist/libnsl.abilist: Likewise.
58588 * abilist/libpthread.abilist: Likewise.
58589 * abilist/libresolv.abilist: Likewise.
58590 * abilist/librt.abilist: Likewise.
58591 * abilist/libthread_db.abilist: Likewise.
58592 * abilist/libutil.abilist: Likewise.
58593 * abilist/libnss_db.abilist: New file.
58595 * scripts/abilist.awk: Add support for indirect functions.
58597 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58599 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58601 * shlib-versions: Remove entries for ports architectures.
58603 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
58605 * elf/stackguard-macros.h: Remove support for IA-64.
58606 * elf/tst-auditmod1.c: Likewise.
58607 * sysdeps/generic/ldsodefs.h: Likewise.
58609 * sysdeps/unix/sysv/linux/configure.in: Ports should define
58610 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58614 * configure.in: Remove --enable-omitfp support.
58616 * config.make.in: Likewise.
58617 * Makeconfig: Likewise.
58618 * manual/install.texi: Likewise.
58620 In case anyone cares, the IA-64 architecture could move to ports.
58621 * sysdeps/ia64/*: Removed.
58622 * sysdeps/unix/sysv/linux/ia64/*: Removed.
58623 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58626 * configure.in: Remove entries for unsupported architectures.
58629 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58630 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
58632 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58633 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58634 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
58635 fall back to using wcrtomb.
58636 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58637 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
58639 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58640 * wcsmbs/tst-c16c32-1.c: New file.
58642 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58645 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58647 * elf/tst-unique3.cc: Add explicit declaration of gets.
58648 * elf/tst-unique3lib.cc: Likewise.
58649 * elf/tst-unique3lib2.cc: Likewise.
58650 * elf/tst-unique4.cc: Likewise.
58652 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58654 2012-01-06 Joseph Myers <joseph@codesourcery.com>
58657 * assert/assert.h (static_assert): Don't define for C++.
58658 * libio/stdio.h (gets): Do declare for C++ <= C++11.
58659 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58661 2012-01-03 Ulrich Drepper <drepper@gmail.com>
58663 * iconv/loop.c (single loop): Fix assertion in storing of
58666 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58668 2012-01-01 Ulrich Drepper <drepper@gmail.com>
58670 * posix/getconf.c: Update copyright year.
58671 * nss/getent.c: Likewise.
58672 * nss/makedb.c: Likewise.
58673 * iconv/iconvconfig.c: Likewise.
58674 * iconv/iconv_prog.c: Likewise.
58675 * elf/ldconfig.c: Likewise.
58676 * elf/pldd.c: Likewise.
58677 * elf/sotruss.ksh: Likewise.
58678 * catgets/gencat.c: Likewise.
58679 * csu/version.c: Likewise.
58680 * elf/ldd.bash.in: Likewise.
58681 * elf/sprof.c (print_version): Likewise.
58682 * locale/programs/locale.c: Likewise.
58683 * locale/programs/localedef.c: Likewise.
58684 * login/programs/pt_chown.c: Likewise.
58685 * nscd/nscd.c (print_version): Likewise.
58686 * debug/xtrace.sh: Likewise.
58687 * malloc/memusage.sh: Likewise.
58688 * malloc/mtrace.pl: Likewise.
58689 * debug/catchsegv.sh: Likewise.
58691 2011-12-30 Jakub Jelinek <jakub@redhat.com>
58693 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58696 2011-12-24 Ulrich Drepper <drepper@gmail.com>
58699 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58700 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58702 * iconv/gconv_int.h: Likewise.
58703 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58704 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58705 from libc for GLIBC_2.16.
58706 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58707 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58708 * wcsmbs/uchar.h: Really define mbstate_t.
58709 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58710 * wcsmbs/c16rtomb.c: New file.
58711 * wcsmbs/mbrtoc16.c: New file.
58712 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58713 for C/POSIX locale.
58714 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58715 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58717 * wcsmbs/wchar.h: Add missing __restrict.
58719 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58722 * time/Makefile (routines): Add timespec_get.
58723 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58724 * time/time.h: Define TIME_UTC and declare timespec_get. Define
58725 timespec for ISO C11.
58726 * time/timespec_get.c: New file.
58727 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58728 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58731 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58732 * stdlib/stdlib.h: Declare aligned_alloc.
58733 * Versions.def: Add GLIBC_2.16 for libc.
58734 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58737 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58740 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58744 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58747 * assert/assert.h (static_assert): Define.
58749 * version.h: Update for 2.16 development version.
58752 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58755 * version.h (RELEASE): Bump for 2.15 release.
58756 * include/features.h (__GLIBC_MINOR__): Bump to 15.
58758 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58759 Patch by Marek Polacek <mpolacek@redhat.com>.
58761 * bits/byteswap.h: Protect long long constants with __extension__.
58762 * sysdeps/i386/bits/byteswap.h: Likewise.
58763 * sysdeps/ia64/bits/byteswap.h: Likewise.
58764 * sysdeps/s390/bits/byteswap.h: Likewise.
58765 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58767 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58770 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58771 destination buffer.
58772 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58774 2011-12-23 Marek Polacek <polacek@redhat.com>
58776 * elf/dl-addr.c (determine_info): Add inline keyword.
58777 * elf/tst-auditmod4b.c (check_avx): Likewise.
58778 * elf/tst-auditmod6b.c (check_avx): Likewise.
58779 * elf/tst-auditmod6c.c (check_avx): Likewise.
58780 * elf/tst-auditmod7b.c (check_avx): Likewise.
58782 2011-12-23 Ulrich Drepper <drepper@gmail.com>
58784 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58787 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58790 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58791 processing for last bytes.
58793 2011-08-06 Bruno Haible <bruno@clisp.org>
58796 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58797 U+0385, not to U+1FEE.
58800 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58801 entry for U+00A5 U+0301.
58803 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58806 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58807 buffer for the output is too small.
58809 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58813 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58814 SSE flags if possible.
58816 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58819 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58820 processing for last bytes.
58822 2011-12-22 Joseph Myers <joseph@codesourcery.com>
58824 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58825 (syscall-list-default-options, syscall-list-default-condition)
58826 (syscall-list-includes): Define.
58827 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58828 list of ABIs and options and #if conditions for each ABI. Do not
58829 handle common syscalls between ABIs specially.
58830 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58832 (syscall-list-variants, syscall-list-32bit-options)
58833 (syscall-list-32bit-condition, syscall-list-64bit-options)
58834 (syscall-list-64bit-condition): Define.
58835 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58836 (syscall-list-variants, syscall-list-32bit-options)
58837 (syscall-list-32bit-condition, syscall-list-64bit-options)
58838 (syscall-list-64bit-condition): Define.
58839 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58841 (syscall-list-variants, syscall-list-32bit-options)
58842 (syscall-list-32bit-condition, syscall-list-64bit-options)
58843 (syscall-list-64bit-condition): Define.
58844 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58846 (syscall-list-variants, syscall-list-32bit-options)
58847 (syscall-list-32bit-condition, syscall-list-64bit-options)
58848 (syscall-list-64bit-condition): Define.
58850 2011-12-22 Ulrich Drepper <drepper@gmail.com>
58852 * locale/iso-639.def: Add brx entry.
58855 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58856 Proposed by Mariusz_Cukr <marcukr@op.pl>.
58858 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58859 __feraiseexcept_renamed.
58861 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58864 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58865 EPOLLET with unsigned values.
58866 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58867 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58869 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58870 to large cancellation.
58871 * math/s_cacoshf.c: Likewise.
58872 * math/s_cacoshl.c: Likewise.
58874 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
58878 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58879 * math/s_cacoshf.c: Likewise.
58880 * math/s_cacoshl.c: Likewise.
58882 2011-12-21 Ulrich Drepper <drepper@gmail.com>
58885 * iconv/gconv.h: Define __GCONV_SWAP.
58886 * iconvdata/unicode.c: The swap bit must be stored in __flags.
58887 * iconvdata/utf-16.c: Likewise.
58888 * iconvdata/utf-32.c: Likewise.
58890 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
58893 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58894 numerator after shifting it by one limb.
58896 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
58898 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58899 under [__USE_EXTERN_INLINES].
58901 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58904 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58906 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58908 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58909 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58911 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58912 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58913 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58914 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58915 for strncasecmp/strncasecmp_l compilation.
58916 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58917 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58919 2011-12-08 Marek Polacek <mpolacek@redhat.com>
58922 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58925 2011-12-17 Ulrich Drepper <drepper@gmail.com>
58928 * time/tzfile.c (__tzfile_read): Check values from file header.
58930 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
58932 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58933 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58934 * powerpc/powerpc32/dl-start.S: Likewise.
58935 * powerpc/powerpc32/elf/start.S: Likewise.
58936 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58937 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58938 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58939 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58940 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58941 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58942 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58943 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58944 * powerpc/powerpc32/fpu/s_round.S: Likewise.
58945 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58946 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58947 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58948 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58949 * powerpc/powerpc32/memset.S: Likewise.
58950 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58951 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58952 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58953 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58954 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58955 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58956 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58957 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58958 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58959 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58960 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58961 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58962 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58964 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58966 * math/libm-test.inc: Added more nearbyint tests.
58967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58968 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58970 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58972 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
58974 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58977 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
58979 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58980 Add wcscpy-ssse3 wcscpy-c.
58981 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58982 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58983 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58984 * sysdeps/x86_64/wcschr.S: New file.
58985 * sysdeps/x86_64/wcsrchr.S: New file.
58986 * string/test-strcmp.c: Remove checking of wcscmp function for
58988 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58989 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58990 wcsrchr-sse2 wcsrchr-c.
58991 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58992 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58993 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58994 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58995 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58996 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58997 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58998 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58999 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59000 * wcsmbc/wcschr.c (WCSCHR): New macro.
59002 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59004 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59005 * wcsmbs/test-wcsrchr.c: New file.
59006 * string/test-strrchr.c: Add wcsrchr support.
59008 * wcsmbs/test-wcscpy.c: New file.
59009 * string/test-strcpy.c: Add wcscpy support.
59012 2011-12-10 Ulrich Drepper <drepper@gmail.com>
59014 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59017 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
59020 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59022 2011-12-04 Ulrich Drepper <drepper@gmail.com>
59024 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59025 Minor optimizations.
59027 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59028 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59029 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59031 2011-12-03 Ulrich Drepper <drepper@gmail.com>
59033 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59034 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59035 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59036 for gcc to avoid warnings.
59037 * inet/Makefile (tests): Add tst-checks.
59038 * inet/tst-checks.c: New file.
59040 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59043 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59046 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59047 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59049 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59051 2011-12-02 Ulrich Drepper <drepper@gmail.com>
59053 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59056 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59058 2011-11-29 Joseph Myers <joseph@codesourcery.com>
59060 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59061 conditional on GCC version.
59062 (__arch_compare_and_exchange_val_8_acq)
59063 (__arch_compare_and_exchange_val_16_acq)
59064 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59065 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59066 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59068 2011-12-02 Joseph Myers <joseph@codesourcery.com>
59070 * sysdeps/sh/backtrace.c: New file.
59072 2011-12-02 Andreas Schwab <schwab@redhat.com>
59074 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
59077 2011-12-01 Andreas Schwab <schwab@redhat.com>
59079 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59080 falling back to utime.
59082 2011-11-30 Andreas Schwab <schwab@redhat.com>
59084 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59085 expectations for float.
59087 2011-11-29 Andreas Schwab <schwab@redhat.com>
59089 * locale/weight.h (findidx): Add parameter len.
59090 * locale/weightwc.h (findidx): Likewise.
59091 * posix/fnmatch_loop.c (FCT): Adjust caller.
59092 * posix/regcomp.c (build_equiv_class): Likewise.
59093 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59094 * posix/regexec.c (check_node_accept_bytes): Likewise.
59095 * string/strcoll_l.c (STRCOLL): Likewise.
59096 * string/strxfrm_l.c (STRXFRM): Likewise.
59098 2011-11-17 Ulrich Drepper <drepper@gmail.com>
59100 * Makefile.in: Remove CVSOPT handling.
59101 * configure.in: Remove use of AC_REVISION.
59102 * iconvdata/Makefile (distribute): No need to filter out CVS.
59103 * scripts/list-sources.sh: Remove CVS, subversion and monotone
59106 2011-11-16 Andreas Schwab <schwab@redhat.com>
59108 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59109 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59110 [USE_AS_STRNCASECMP_L]: Likewise.
59111 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59112 NO_TLS_DIRECT_SEG_REFS.
59113 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59114 Fix argument offsets for non-PIC.
59115 [USE_AS_STRNCASECMP_L]: Likewise.
59116 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59117 NO_TLS_DIRECT_SEG_REFS.
59119 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59121 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59123 * locale/loadlocale.c (_nl_load_locale): Likewise.
59125 2011-11-15 Andreas Schwab <schwab@redhat.com>
59127 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59128 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59129 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59130 (SYSCALL_GETTIME): Set errno on error.
59132 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59133 count references to noai6ai_cached.
59135 2011-11-15 Ulrich Drepper <drepper@gmail.com>
59137 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59139 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59140 FD_CLOEXEC for /proc/self/maps.
59142 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59143 FD_CLOEXEC for /proc/meminfo.
59145 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59148 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
59149 FD_CLOEXEC for given file.
59151 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59153 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59154 FD_CLOEXEC for /etc/hosts.
59155 (_gethtent): Likewise.
59157 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59159 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59160 cancellation and set FD_CLOEXEC for /etc/netgroup.
59162 * nss/nss_files/files-key.c (search): Don't allow cancellation when
59163 reading /etc/publickey.
59165 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59166 allow cancellation when reading /etc/group.
59168 * nss/nss_files/files-alias.c (internal_setent): Don't allow
59170 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
59172 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59173 when using data file.
59175 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59177 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59178 (write_nis_obj): Use "c" and "e" in fopen.
59180 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59182 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59184 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59186 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59188 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59191 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59193 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59195 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59197 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59198 file parsing and set FD_CLOEXEC.
59200 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59202 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59204 2011-11-14 Andreas Schwab <schwab@redhat.com>
59206 * malloc/arena.c (arena_get2): Don't call reused_arena when
59207 _int_new_arena failed.
59209 2011-11-14 Ulrich Drepper <drepper@gmail.com>
59211 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59212 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59213 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59214 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59215 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59216 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59217 to compile strcasecmp and strncasecmp.
59218 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59219 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59221 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59223 2011-11-13 Ulrich Drepper <drepper@gmail.com>
59225 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59226 locale-defines.sym to gen-as-const-headers.
59227 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59228 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59229 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59230 to compile strcasecmp and strncasecmp.
59231 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59232 strcasecmp_l and strncasecmp_l.
59233 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59234 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59235 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59236 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59237 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59238 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59239 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59240 * sysdeps/i386/i686/multiarch/strncase.S: New file.
59241 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59242 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59243 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59245 2011-11-12 Ulrich Drepper <drepper@gmail.com>
59247 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59248 result of SYSDEP_GETTIME_CPU to retval.
59249 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59250 parameter list to macro. Remove trailing semicolon. Adjust users.
59252 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59255 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59257 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59259 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59260 from unused variable.
59262 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59264 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59267 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59270 * sunrpc/rpc_prot.c (rejected): Fix case value.
59272 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59273 unsigned long long int to avoid warnings in shift.
59275 * posix/regex_internal.c (re_string_reconstruct): Actually use result
59277 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59280 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59281 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59282 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59284 * nis/nis_table.c (nis_list): Use variable of correct type for
59285 result of __follow_path call.
59287 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59289 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59290 of math functions ceil, trunc, floor, round, and sqrt, when
59291 avaliable on the platform.
59292 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59295 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59296 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59298 2011-10-30 Marek Polacek <mpolacek@redhat.com>
59300 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59301 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59303 2011-11-11 Roland McGrath <roland@hack.frob.com>
59305 * include/unistd.h: Fix __readlink return type.
59306 Reported by Chris Metcalf <cmetcalf@tilera.com>.
59308 2011-11-11 Ulrich Drepper <drepper@gmail.com>
59310 * stdlib/ucontext.h: Undo last change for makecontext.
59312 2011-11-11 Andreas Schwab <schwab@redhat.com>
59314 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59316 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59317 * setjmp/setjmp.h: Mark functions as non-leaf.
59318 * setjmp/bits/setjmp2.h: Likewise.
59319 * stdlib/ucontext.h: Likewise.
59321 2011-11-10 Andreas Schwab <schwab@redhat.com>
59323 * malloc/arena.c (_int_new_arena): Don't increment narenas.
59324 (reused_arena): Don't check arena limit.
59325 (arena_get2): Atomically check arena limit.
59327 2011-11-08 Ulrich Drepper <drepper@gmail.com>
59329 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59330 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59332 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59335 2011-11-07 Andreas Schwab <schwab@redhat.com>
59337 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59338 handler when locking.
59340 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59341 Fix size of allocated buffer.
59343 2011-11-04 Andreas Schwab <schwab@redhat.com>
59346 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59347 declarations for long double functions.
59348 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59350 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59352 2011-11-03 Andreas Schwab <schwab@redhat.com>
59354 * nscd/nscd.c (main): Don't start AVC thread until credentials are
59357 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59360 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
59362 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59364 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
59366 * include/alloca.h (stackinfo_alloca_round): Define.
59367 (extend_alloca): Use it.
59368 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59369 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59372 * scripts/check-local-headers.sh: Ignore libaudit.h.
59374 * nscd/Makefile (extra-objs): Make recursively expanded.
59376 2011-11-01 Ulrich Drepper <drepper@gmail.com>
59378 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59379 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59381 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59382 * posix/tst-rfc3484-2.c: Likewise.
59383 * posix/tst-rfc3484-3.c: Likewise.
59385 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59387 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59389 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59390 process_vm_writev from libc using GLIBC_2.15 version.
59392 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59394 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
59396 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59399 2011-10-31 Ulrich Drepper <drepper@gmail.com>
59402 * nss/getent.c (initgroups_keys): Show error message in case no group
59405 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59406 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59407 __bump_nl_timestamp.
59408 * nscd/connections (nscd_init): When host database is served open
59409 netlink socket and request notification about configuration changes.
59410 (main_loop_poll): Track netlink file descriptor and bump timestamp
59411 in case data becomes available.
59412 (main_loop_epoll): Likewise.
59413 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59414 (database_pers_head): Add extra_data fileds.
59415 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59416 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59417 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59419 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59420 in6ai data, call __free_in6ai.
59421 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59422 Add -DHAVE_NETLINK.
59423 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
59424 interface information. Reuse previous data if netlink timestamp
59426 (__bump_nl_timestamp): New function.
59427 (__free_in6ai): New function.
59429 2011-10-30 Ulrich Drepper <drepper@gmail.com>
59431 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59432 close_not_cancel_no_status here.
59433 (__check_pf): Reorganize code a bit to not call close twice if OOM.
59435 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59438 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59441 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59442 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59443 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59445 2011-07-03 Andreas Jaeger <aj@suse.de>
59448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59449 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59450 * math/libm-test.inc (sin_test): Add test case.
59452 2011-10-29 Ulrich Drepper <drepper@gmail.com>
59455 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59456 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59458 * elf/chroot_canon.c (chroot_canon): Cleanups.
59460 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59463 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59464 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59466 * string/test-strchr.c: Make usable for strchrnul testing.
59467 * string/test-strchrnul.c: New file.
59468 * string/Makefile (strop-tests): Add strchrnul.
59470 * po/it.po: Update from translation team.
59471 * po/es.po: Likewise.
59473 2011-10-28 Ulrich Drepper <drepper@gmail.com>
59475 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59476 the three constants needed as parameters. Drop the others.
59477 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59478 __m128i_strloadu_tolower.
59479 Create and initialize variable zero and use it in all the places
59480 where _mm_setzero_si128 was used.
59482 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59483 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59484 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59485 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59487 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59488 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59489 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59490 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59491 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59492 __mpranred, __mptan.
59493 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59494 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59495 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59496 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59497 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59498 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59499 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59500 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59501 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59503 2011-10-28 Andreas Schwab <schwab@redhat.com>
59505 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59506 redefine if SHARED.
59507 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59510 wide char related routines to wcsmbs subdir.
59512 2011-10-27 Andreas Schwab <schwab@redhat.com>
59515 * misc/sys/cdefs.h (__THROWNL): Define.
59516 * posix/unistd.h: Use __THREADNL instead of __THREAD
59517 for memory synchronization functions.
59519 2011-10-26 Roland McGrath <roland@hack.frob.com>
59522 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59524 * manual/stdio.texi (Obstack Streams): Node removed.
59526 2011-10-26 Andreas Schwab <schwab@redhat.com>
59528 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59529 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59530 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59532 * math/math_private.h (math_force_eval): Allow non-addressable
59534 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59536 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59538 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59539 file is not needed.
59541 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59542 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59543 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59544 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59545 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59546 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59548 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59550 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59551 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59552 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59553 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59554 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59555 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59556 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59557 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59558 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59559 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59560 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59561 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59562 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59563 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59564 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59565 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59566 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59567 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59568 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59570 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59571 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
59573 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59574 place. Use VEX encoding when compiling for AVX.
59576 2011-10-25 Andreas Schwab <schwab@redhat.com>
59578 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59579 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59581 * string/test-strchr.c (do_test): Don't generate NUL bytes.
59583 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59585 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59586 useless if() expression.
59587 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59588 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59589 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59590 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59591 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59592 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59594 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59595 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59596 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59598 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59599 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59600 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59601 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59602 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59603 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59604 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59605 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59607 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59609 2011-10-25 Andreas Schwab <schwab@redhat.com>
59611 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59613 * elf/dl-fini.c (_dl_sort_fini): Likewise.
59615 2011-10-25 Ulrich Drepper <drepper@gmail.com>
59617 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59618 .text section. Avoid duplicate constants.
59619 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59620 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59621 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59623 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59624 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59625 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59627 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59628 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59629 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59630 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59631 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59632 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59633 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59634 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59635 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59636 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59639 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59640 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59641 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59642 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59643 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59644 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59645 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59646 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59648 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59649 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59650 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59651 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59652 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59653 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59654 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59655 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59656 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59657 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59658 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59659 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59660 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59661 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59662 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59663 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59665 2011-10-24 Ulrich Drepper <drepper@gmail.com>
59667 * sysdeps/x86_64/dla.h: Move to ...
59668 * sysdeps/x86_64/fpu/dla.h: ...here.
59669 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59670 situations. Use __builtin_fma only for gcc 4.6 and up.
59672 * config.make.in: Add have-mfma4 entry.
59673 * configure.in: Substitute libc_cv_cc_fma4.
59674 * math/Makefile (dbl-only-routines): Add sincostab.
59675 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59676 Use __sincostab not sincos.
59677 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59679 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59680 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59681 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
59684 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
59685 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
59686 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59687 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59689 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59690 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59692 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
59693 define aliases when function name is a macro.
59694 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59695 sysdeps/ieee754/dbl-64/sincos.tbl.
59696 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59697 fma4-enabled routines.
59698 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59699 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59700 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59701 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59702 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59703 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59704 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59705 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59706 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59707 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59708 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59709 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59710 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59711 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59712 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59713 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59714 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59715 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59716 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59718 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59719 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59720 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59721 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59722 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59723 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59724 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59725 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59726 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59727 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59729 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59731 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59732 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59734 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59735 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59738 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59740 2011-10-24 Andreas Schwab <schwab@redhat.com>
59742 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59744 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59746 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59748 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59752 * string/strnlen.c: Don't define STRNLEN, reverse logic.
59753 Remove unused variable magic_bits.
59754 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59756 * string/strnlen.c: Define and use STRNLEN macro.
59757 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59758 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59759 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59760 * wcsmbs/wcslen.c: Define and use WCSLEN.
59761 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59762 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59763 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59764 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59765 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59766 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59767 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59769 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59772 strnlen-sse2-no-bsf.
59773 Rename strlen-no-bsf to strlen-sse2-no-bsf.
59774 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59775 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59776 Add strnlen support.
59777 (USE_AS_STRNLEN): New macro.
59778 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59780 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59781 * sysdeps/x86_64/wcslen.S: New file.
59783 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
59785 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59786 XMM-moves are used for copying on small sizes.
59788 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59790 * wcsmbs/Makefile (strop-tests): Add wcschr.
59791 * wcsmbs/test-wcschr.c: New file.
59792 * string/test-strchr.c: Update.
59793 Add wcschr support.
59796 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59798 * wcsmbs/Makefile (strop-tests): Add wcslen.
59799 * wcsmbs/test-wcslen.c: New file.
59800 * string/test-strlen.c: Update.
59801 Add wcslen support.
59804 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59806 * po/it.po: Update from translation team.
59808 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
59810 * sysdeps/x86_64/wcscmp.S: Update.
59811 Fix wrong comparison semantics.
59812 wcscmp shall use signed comparison not unsigned.
59813 Don't use substraction to avoid overflow bug.
59814 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59815 * wcsmbc/wcscmp.c: Likewise.
59816 * string/test-strcmp.c: Likewise.
59817 Add new tests to check cases with negative values.
59819 2011-10-23 Ulrich Drepper <drepper@gmail.com>
59821 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59822 * sysdeps/x86_64/dla.h: ...here. New file.
59823 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59824 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59826 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59827 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59828 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59829 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59830 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59831 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59833 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
59835 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59836 __ynl_finite aliases.
59838 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59840 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59842 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59844 [DLA_FMA] (EMULV): Use DLA_FMA.
59845 [DLA_FMA] (MUL12): Use EMULV.
59846 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59847 that are not needed.
59848 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59850 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59851 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59852 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59853 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59854 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59856 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
59858 * math/s_nan.c: Undef __nan.
59859 * math/s_nanf.c: Undef __nanf.
59860 * math/s_nanl.c: Undef __nanl.
59861 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59864 2011-10-22 Ulrich Drepper <drepper@gmail.com>
59866 * math/s_catan.c: Add branch predictions.
59867 * math/s_catanf.c: Likewise.
59868 * math/s_catanh.c: Likewise.
59869 * math/s_catanhf.c: Likewise.
59870 * math/s_catanhl.c: Likewise.
59871 * math/s_catanl.c: Likewise.
59872 * math/s_cexp.c: Likewise.
59873 * math/s_cexpf.c: Likewise.
59874 * math/s_cexpl.c: Likewise.
59875 * math/s_clog.c: Likewise.
59876 * math/s_clog10.c: Likewise.
59877 * math/s_clog10f.c: Likewise.
59878 * math/s_clog10l.c: Likewise.
59879 * math/s_clogf.c: Likewise.
59880 * math/s_clogl.c: Likewise.
59881 * math/s_csqrt.c: Likewise.
59882 * math/s_csqrtf.c: Likewise.
59883 * math/s_csqrtl.c: Likewise.
59884 * math/s_ctanf.c: Likewise.
59885 * math/s_ctanh.c: Likewise.
59886 * math/s_ctanhf.c: Likewise.
59887 * math/s_ctanhl.c: Likewise.
59888 * math/s_ctanl.c: Likewise.
59890 * math/math_private.h: Define __nan, __nanf, __nanl.
59891 * math/s_cacosh.c: Include <math_private.h>.
59892 * math/s_cacoshl.c: Likewise.
59893 * math/s_casinh.c: Likewise.
59894 * math/s_casinhf.c: Likewise.
59895 * math/s_casinhl.c: Likewise.
59896 * math/s_ccos.c: Rely entire on ccosh.
59897 * math/s_ccosf.c: Rely entire on ccoshf.
59898 * math/s_ccosl.c: Rely entirely on ccoshl.
59899 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
59900 Remove tests for FE_INVALID.
59901 * math/s_ccoshf.c: Likewise.
59902 * math/s_ccoshl.c: Likewise.
59903 * math/s_csin.c: Likewise.
59904 * math/s_csinf.c: Likewise.
59905 * math/s_csinh.c Likewise.
59906 * math/s_csinhf.c: Likewise.
59907 * math/s_csinhl.c: Likewise.
59908 * math/s_csinl.c: Likewise.
59909 * math/s_ctan.c: Likewise.
59910 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59911 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59912 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59914 2011-10-21 Ulrich Drepper <drepper@gmail.com>
59916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59917 compilation problems.
59919 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59922 2011-10-20 Ulrich Drepper <drepper@gmail.com>
59924 * sysdeps/i386/configure.in: Test for -mfma4 option.
59925 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59926 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59927 COMMON_CPUID_INDEX_80000001.
59928 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59929 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59930 use it if FMA3 is not supported.
59931 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59933 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59934 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59936 2011-10-20 Andreas Schwab <schwab@redhat.com>
59939 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59940 it would create a cycle with a link time dependency.
59942 2011-10-19 Ulrich Drepper <drepper@gmail.com>
59944 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59946 * string/Makefile (strop-tests): Add rawmemchr.
59947 * string/test-rawmemchr.c: New file.
59949 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
59951 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
59952 when compiling str{,n}casecmp and when AVX is available. Hook up
59953 new optimized code in initializers.
59955 2011-10-19 Andreas Schwab <schwab@redhat.com>
59957 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59958 __feraiseexcept instead of feraiseexcept.
59960 2011-10-18 Ulrich Drepper <drepper@gmail.com>
59962 * math/math_private.h: Define defaults for libc_fetestexcept and
59964 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59965 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59966 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59967 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59968 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59969 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59970 libc_fetestexcept and libc_feupdateenv.
59972 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59973 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59974 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59975 * sysdeps/x86_64/fpu/math_private.h: Define special version of
59976 libc_feholdexcept_setround.
59978 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59979 Add s_nearbyint-c and s_nearbyintf-c.
59980 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59981 nearbyintf inlines.
59982 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59983 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59984 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59985 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59987 * math/math_private.h: Define defaults for libc_fegetround,
59988 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59989 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59990 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59991 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59992 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59993 standard functions.
59994 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59995 Remove comments and hacks for old compiler versions.
59996 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59997 libc_fegetround, libc_fesetround, libc_feholdexcept, and
59998 libc_feholdexceptl.
60000 2011-10-18 Andreas Schwab <schwab@redhat.com>
60002 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60003 (__feraiseexcept_renamed): Add __NTH.
60004 (feraiseexcept): Add __NTH. Rename local variables to fix
60005 namespace violations.
60007 2011-10-17 Ulrich Drepper <drepper@gmail.com>
60009 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60011 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60013 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60014 recently added interfaces.
60015 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60017 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60018 about macro parameter expansion.
60020 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60021 __NO_MATH_INLINES is defined. Cleanups.
60023 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60024 and __floorf is target has SSE4.1.
60025 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60026 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60027 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60028 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60030 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60032 (floorf): Likewise.
60034 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60036 2011-10-17 Andreas Schwab <schwab@redhat.com>
60038 * misc/sys/cdefs.h: Fix last change.
60040 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60043 2011-10-16 Ulrich Drepper <drepper@gmail.com>
60045 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60047 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60048 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60049 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60050 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60051 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60052 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60053 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60054 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60055 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60056 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60057 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60058 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60059 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60060 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60061 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60062 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60063 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60064 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60065 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60066 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60067 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60068 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60070 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60071 ceil, ceilf, floor, floorf.
60073 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60074 Perform IRELATIVE relocations last.
60076 * elf/do-rel.h: Add another parameter nrelative, replacing the
60077 local variable with the same name. Change name of the function
60078 to end in Rel or Rela (uppercase).
60079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60080 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
60081 elf_dynamic_do_##reloc function.
60083 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60085 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60086 is sufficient, at least on modern CPUs.
60088 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60090 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60091 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60093 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60095 * math/bits/math-finite.h: Add entries for exp.
60096 * math/e_expl.c: Add __*_finite alias.
60097 * sysdeps/i386/fpu/e_exp.S: Likewise.
60098 * sysdeps/i386/fpu/e_expf.S: Likewise.
60099 * sysdeps/i386/fpu/e_expl.c: Likewise.
60100 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60101 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60102 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60103 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60104 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60105 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60106 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60108 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60109 is sufficient, at least on modern CPUs.
60111 * ctype/ctype-info.c (__ctype_init): Define.
60112 * include/ctype.h (__ctype_init): Declare.
60113 (__ctype_b_loc): The variable is always initialized.
60114 (__ctype_toupper_loc): Likewise.
60115 (__ctype_tolower_loc): Likewise.
60116 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60117 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60119 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
60121 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60123 * configure.in: Also look in $cxxmachine/include for C++ system
60126 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60128 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60129 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60130 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60131 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
60132 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60133 (USE_AS_WMEMCMP): New macro.
60135 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60136 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60137 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60138 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60139 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60140 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60141 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60142 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60143 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60144 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60145 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60146 (USE_AS_WMEMCMP): New macro.
60147 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60148 * sysdeps/string/test-memcmp.c: Update.
60149 Fix simple_wmemcmp.
60151 * wcsmbs/wmemcmp.c: Update.
60152 (WMEMCMP): New macro.
60155 2011-10-12 Andreas Jaeger <aj@suse.de>
60158 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60160 2011-10-15 Ulrich Drepper <drepper@gmail.com>
60162 * libio/iofwide.c (do_length): Avoid warning.
60164 * ctype/ctype.h (__isctype_f): Add missing __THROW.
60166 2011-10-14 Ulrich Drepper <drepper@gmail.com>
60168 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60170 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60171 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60172 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60173 * sysdeps/i386/i686/fpu/e_log.S: New file.
60174 * sysdeps/i386/i686/fpu/e_logf.S: New file.
60175 * sysdeps/i386/i686/fpu/e_logl.S: New file.
60177 * ctype/ctype.h: Add support for inlined isXXX functions when
60178 compiling C++ code.
60180 2011-10-14 Andreas Schwab <schwab@redhat.com>
60182 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60184 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60186 2011-10-13 Roland McGrath <roland@hack.frob.com>
60189 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60191 2011-10-13 Andreas Schwab <schwab@redhat.com>
60193 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60194 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60197 * sysdeps/x86_64/memrchr.S: Check for zero size.
60199 * string/stratcliff.c: Add memrchr tests.
60201 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60203 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60204 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60205 rawmemchr-sse2 rawmemchr-sse2-bsf.
60206 * sysdeps/i386/i686/multiarch/memchr.S: New file.
60207 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60208 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60209 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60210 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60211 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60212 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60213 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60214 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60215 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60216 * string/memrchr.c (MEMRCHR): New macro.
60218 2011-10-12 Ulrich Drepper <drepper@gmail.com>
60220 Add integration with gcc's -ffinite-math-only and optimize wrapper
60222 * Versions.def: Define GLIBC_2.15 version for libm.
60223 * math/Makefile (headers): Add bits/math-finite.h.
60224 * math/bits/math-finite.h: New file.
60225 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60226 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60227 * math/e_acoshl.c: Add __*_finite alias.
60228 * math/e_acosl.c: Likewise.
60229 * math/e_asinl.c: Likewise.
60230 * math/e_atan2l.c: Likewise.
60231 * math/e_atanhl.c: Likewise.
60232 * math/e_coshl.c: Likewise.
60233 * math/e_exp10.c: Likewise.
60234 * math/e_exp10f.c: Likewise.
60235 * math/e_exp10l.c: Likewise.
60236 * math/e_exp2l.c: Likewise.
60237 * math/e_fmodl.c: Likewise.
60238 * math/e_gammal_r.c: Likewise.
60239 * math/e_hypotl.c: Likewise.
60240 * math/e_j0l.c: Likewise.
60241 * math/e_j1l.c: Likewise.
60242 * math/e_jnl.c: Likewise.
60243 * math/e_lgammal_r.c: Likewise.
60244 * math/e_log10l.c: Likewise.
60245 * math/e_log2l.c: Likewise.
60246 * math/e_logl.c: Likewise.
60247 * math/e_powl.c: Likewise.
60248 * math/e_sinhl.c: Likewise.
60249 * math/e_sqrtl.c: Likewise.
60250 * math/e_scalb.c: Completely rewritten and optimized.
60251 * math/e_scalbf.c: Likewise.
60252 * math/e_scalbl.c: Likewise.
60253 * math/w_acos.c: Likewise.
60254 * math/w_acosf.c: Likewise.
60255 * math/w_acosl.c: Likewise.
60256 * math/w_acosh.c: Likewise.
60257 * math/w_acoshf.c: Likewise.
60258 * math/w_acoshl.c: Likewise.
60259 * math/w_asin.c: Likewise.
60260 * math/w_asinf.c: Likewise.
60261 * math/w_asinl.c: Likewise.
60262 * math/w_atan2.c: Likewise.
60263 * math/w_atan2f.c: Likewise.
60264 * math/w_atan2l.c: Likewise.
60265 * math/w_atanh.c: Likewise.
60266 * math/w_atanhf.c: Likewise.
60267 * math/w_atanhl.c: Likewise.
60268 * math/w_exp10.c: Likewise.
60269 * math/w_exp10f.c: Likewise.
60270 * math/w_exp10l.c: Likewise.
60271 * math/w_fmod.c: Likewise.
60272 * math/w_fmodf.c: Likewise.
60273 * math/w_fmodl.c: Likewise.
60274 * math/w_j0.c: Likewise.
60275 * math/w_j0f.c: Likewise.
60276 * math/w_j0l.c: Likewise.
60277 * math/w_j1.c: Likewise.
60278 * math/w_j1f.c: Likewise.
60279 * math/w_j1l.c: Likewise.
60280 * math/w_jn.c: Likewise.
60281 * math/w_jnf.c: Likewise.
60282 * math/w_log.c: Likewise.
60283 * math/w_logf.c: Likewise.
60284 * math/w_logl.c: Likewise.
60285 * math/w_log10.c: Likewise.
60286 * math/w_log10f.c: Likewise.
60287 * math/w_log10l.c: Likewise.
60288 * math/w_log2.c: Likewise.
60289 * math/w_log2f.c: Likewise.
60290 * math/w_log2l.c: Likewise.
60291 * math/w_pow.c: Likewise.
60292 * math/w_powf.c: Likewise.
60293 * math/w_powl.c: Likewise.
60294 * math/w_remainder.c: Likewise.
60295 * math/w_remainderf.c: Likewise.
60296 * math/w_remainderl.c: Likewise.
60297 * math/w_scalb.c: Likewise.
60298 * math/w_scalbf.c: Likewise.
60299 * math/w_scalbl.c: Likewise.
60300 * math/w_sqrt.c: Likewise.
60301 * math/w_sqrtf.c: Likewise.
60302 * math/w_sqrtl.c: Likewise.
60303 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60304 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
60306 * math/math_private.h: Declare __kernel_standard_f.
60307 * math/w_cosh.c: Remove cruft and optimize a bit.
60308 * math/w_coshf.c: Likewise.
60309 * math/w_coshl.c: Likewise.
60310 * math/w_exp2.c: Likewise.
60311 * math/w_exp2f.c: Likewise.
60312 * math/w_exp2l.c: Likewise.
60313 * math/w_hypot.c: Likewise.
60314 * math/w_hypotf.c: Likewise.
60315 * math/w_hypotl.c: Likewise.
60316 * math/w_lgamma.c: Likewise.
60317 * math/w_lgamma_r.c: Likewise.
60318 * math/w_lgammaf.c: Likewise.
60319 * math/w_lgammaf_r.c: Likewise.
60320 * math/w_lgammal.c: Likewise.
60321 * math/w_lgammal_r.c: Likewise.
60322 * math/w_sinh.c: Likewise.
60323 * math/w_sinhf.c: Likewise.
60324 * math/w_sinhl.c: Likewise.
60325 * math/w_tgamma.c: Likewise.
60326 * math/w_tgammaf.c: Likewise.
60327 * math/w_tgammal.c: Likewise.
60328 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60329 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60330 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60331 Minor optimizations. Pretty printing. Remove cruft.
60332 * sysdeps/i386/fpu/e_acosf.S: Likewise.
60333 * sysdeps/i386/fpu/e_acosh.S: Likewise.
60334 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60335 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60336 * sysdeps/i386/fpu/e_acosl.c: Likewise.
60337 * sysdeps/i386/fpu/e_asin.S: Likewise.
60338 * sysdeps/i386/fpu/e_asinf.S: Likewise.
60339 * sysdeps/i386/fpu/e_atan2.S: Likewise.
60340 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60341 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60342 * sysdeps/i386/fpu/e_atanh.S: Likewise.
60343 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60344 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60345 * sysdeps/i386/fpu/e_exp10.S: Likewise.
60346 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60347 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60348 * sysdeps/i386/fpu/e_exp2.S: Likewise.
60349 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60350 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60351 * sysdeps/i386/fpu/e_fmod.S: Likewise.
60352 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60353 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60354 * sysdeps/i386/fpu/e_hypot.S: Likewise.
60355 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60356 * sysdeps/i386/fpu/e_log.S: Likewise.
60357 * sysdeps/i386/fpu/e_log10.S: Likewise.
60358 * sysdeps/i386/fpu/e_log10f.S: Likewise.
60359 * sysdeps/i386/fpu/e_log10l.S: Likewise.
60360 * sysdeps/i386/fpu/e_log2.S: Likewise.
60361 * sysdeps/i386/fpu/e_log2f.S: Likewise.
60362 * sysdeps/i386/fpu/e_log2l.S: Likewise.
60363 * sysdeps/i386/fpu/e_logf.S: Likewise.
60364 * sysdeps/i386/fpu/e_logl.S: Likewise.
60365 * sysdeps/i386/fpu/e_pow.S: Likewise.
60366 * sysdeps/i386/fpu/e_powf.S: Likewise.
60367 * sysdeps/i386/fpu/e_powl.S: Likewise.
60368 * sysdeps/i386/fpu/e_remainder.S: Likewise.
60369 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60370 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60371 * sysdeps/i386/fpu/e_scalb.S: Likewise.
60372 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60373 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60374 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60375 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60376 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60377 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60378 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60380 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60381 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60382 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60383 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60384 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60385 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60386 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60387 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60388 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60390 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60391 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60392 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60393 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60394 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60397 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60398 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60399 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60400 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60401 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60402 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60403 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60404 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60405 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60406 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60407 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60408 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60409 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60410 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60411 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60412 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60413 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60414 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60415 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60416 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60417 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60418 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60419 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60420 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60421 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60422 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60423 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60424 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60425 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60426 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60427 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60428 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60429 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60430 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60431 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60432 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60433 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60434 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60435 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60436 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60437 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60438 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60439 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60440 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60441 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60442 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60443 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60444 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60445 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60446 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60447 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60448 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60449 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60451 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60452 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60453 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60454 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60455 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60456 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60457 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60458 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60459 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60460 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60461 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60462 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60463 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60464 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60465 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60466 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60467 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60468 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60469 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60470 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60471 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60472 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60473 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60474 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60475 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60476 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60477 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60478 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60479 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60480 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60481 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60482 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60483 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60485 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60486 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60487 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
60488 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60489 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60490 (__isnanf): Likewise.
60491 (__isinf_ns): Likewise.
60492 (__isinf_nsf): Likewise.
60493 (__finite): Likewise.
60494 (__finitef): Likewise.
60495 (__ieee754_sqrt): Define as macro.
60496 (__ieee754_sqrtf): Define as macro.
60497 (__ieee754_sqrtl): Define as macro.
60498 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60500 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60501 __FINITE_MATH_ONLY__ consistent.
60502 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60504 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
60506 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60509 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60511 2011-10-09 Ulrich Drepper <drepper@gmail.com>
60513 * po/ja.po: Update from translation team.
60515 2011-10-08 Roland McGrath <roland@hack.frob.com>
60517 * locale/programs/locarchive.c (prepare_address_space): New function.
60518 (create_archive, enlarge_archive, open_archive): Use it.
60520 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60521 inside [SHARED], where it is used.
60523 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60525 * nss/getent.c (netgroup_keys): Remove unused variable.
60526 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60528 2011-10-08 Ulrich Drepper <drepper@gmail.com>
60530 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60531 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60533 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60534 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60535 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60536 * math/Makefile (libm-calls): Add s_isinf_ns.
60537 * math/divtc3.c: Use __isinf_nsl instead of isinf.
60538 * math/multc3.c: Likewise.
60539 * math/s_casin.c: Likewise.
60540 * math/s_casinf.c: Likewise.
60541 * math/s_casinl.c: Likewise.
60542 * math/s_ccos.c: Likewise.
60543 * math/s_ccosf.c: Likewise.
60544 * math/s_ccosl.c: Likewise.
60545 * math/s_ctan.c: Likewise.
60546 * math/s_ctanf.c: Likewise.
60547 * math/s_ctanh.c: Likewise.
60548 * math/s_ctanhf.c: Likewise.
60549 * math/s_ctanhl.c: Likewise.
60550 * math/s_ctanl.c: Likewise.
60551 * math/w_fmod.c: Likewise.
60552 * math/w_fmodf.c: Likewise.
60553 * math/w_fmodl.c: Likewise.
60554 * math/w_remainder.c: Likewise.
60555 * math/w_remainderf.c: Likewise.
60556 * math/w_remainderl.c: Likewise.
60557 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60558 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60559 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60560 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60561 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60562 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60563 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60564 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60566 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60568 * stdio-common/printf_fphex.c: Likewise.
60569 * stdio-common/printf_size.c: Likewise.
60571 * math/e_exp10.c: Include math_private.h using <...> not "...".
60572 * math/e_exp10f.c: Likewise.
60573 * math/e_exp10l.c: Likewise.
60574 * math/e_exp2l.c: Likewise.
60575 * math/e_j0l.c: Likewise.
60576 * math/e_j1l.c: Likewise.
60577 * math/e_jnl.c: Likewise.
60578 * math/e_lgammal_r.c: Likewise.
60579 * math/e_rem_pio2l.c: Likewise.
60580 * math/e_scalb.c: Likewise.
60581 * math/e_scalbf.c: Likewise.
60582 * math/e_scalbl.c: Likewise.
60583 * math/k_cosl.c: Likewise.
60584 * math/k_sinl.c: Likewise.
60585 * math/k_tanl.c: Likewise.
60586 * math/s_cacoshf.c: Likewise.
60587 * math/s_catan.c: Likewise.
60588 * math/s_catanf.c: Likewise.
60589 * math/s_catanh.c: Likewise.
60590 * math/s_catanhf.c: Likewise.
60591 * math/s_catanhl.c: Likewise.
60592 * math/s_catanl.c: Likewise.
60593 * math/s_ccosh.c: Likewise.
60594 * math/s_ccoshf.c: Likewise.
60595 * math/s_ccoshl.c: Likewise.
60596 * math/s_cexp.c: Likewise.
60597 * math/s_cexpf.c: Likewise.
60598 * math/s_cexpl.c: Likewise.
60599 * math/s_clog.c: Likewise.
60600 * math/s_clog10.c: Likewise.
60601 * math/s_clog10f.c: Likewise.
60602 * math/s_clog10l.c: Likewise.
60603 * math/s_clogf.c: Likewise.
60604 * math/s_clogl.c: Likewise.
60605 * math/s_csin.c: Likewise.
60606 * math/s_csinf.c: Likewise.
60607 * math/s_csinh.c: Likewise.
60608 * math/s_csinhf.c: Likewise.
60609 * math/s_csinhl.c: Likewise.
60610 * math/s_csinl.c: Likewise.
60611 * math/s_csqrt.c: Likewise.
60612 * math/s_csqrtf.c: Likewise.
60613 * math/s_csqrtl.c: Likewise.
60614 * math/s_ctan.c: Likewise.
60615 * math/s_ctanf.c: Likewise.
60616 * math/s_ctanh.c: Likewise.
60617 * math/s_ctanhf.c: Likewise.
60618 * math/s_ctanhl.c: Likewise.
60619 * math/s_ctanl.c: Likewise.
60620 * math/s_ldexp.c: Likewise.
60621 * math/s_ldexpf.c: Likewise.
60622 * math/s_ldexpl.c: Likewise.
60623 * math/s_significand.c: Likewise.
60624 * math/s_significandf.c: Likewise.
60625 * math/s_significandl.c: Likewise.
60626 * math/w_acos.c: Likewise.
60627 * math/w_acosf.c: Likewise.
60628 * math/w_acosh.c: Likewise.
60629 * math/w_acoshf.c: Likewise.
60630 * math/w_acoshl.c: Likewise.
60631 * math/w_acosl.c: Likewise.
60632 * math/w_asin.c: Likewise.
60633 * math/w_asinf.c: Likewise.
60634 * math/w_asinl.c: Likewise.
60635 * math/w_atan2.c: Likewise.
60636 * math/w_atan2f.c: Likewise.
60637 * math/w_atan2l.c: Likewise.
60638 * math/w_atanh.c: Likewise.
60639 * math/w_atanhf.c: Likewise.
60640 * math/w_atanhl.c: Likewise.
60641 * math/w_cosh.c: Likewise.
60642 * math/w_coshf.c: Likewise.
60643 * math/w_coshl.c: Likewise.
60644 * math/w_dremf.c: Likewise.
60645 * math/w_exp10.c: Likewise.
60646 * math/w_exp10f.c: Likewise.
60647 * math/w_exp10l.c: Likewise.
60648 * math/w_exp2.c: Likewise.
60649 * math/w_exp2f.c: Likewise.
60650 * math/w_fmod.c: Likewise.
60651 * math/w_fmodf.c: Likewise.
60652 * math/w_fmodl.c: Likewise.
60653 * math/w_hypot.c: Likewise.
60654 * math/w_hypotf.c: Likewise.
60655 * math/w_hypotl.c: Likewise.
60656 * math/w_j0.c: Likewise.
60657 * math/w_j0f.c: Likewise.
60658 * math/w_j0l.c: Likewise.
60659 * math/w_j1.c: Likewise.
60660 * math/w_j1f.c: Likewise.
60661 * math/w_j1l.c: Likewise.
60662 * math/w_jn.c: Likewise.
60663 * math/w_jnf.c: Likewise.
60664 * math/w_jnl.c: Likewise.
60665 * math/w_lgamma.c: Likewise.
60666 * math/w_lgamma_r.c: Likewise.
60667 * math/w_lgammaf.c: Likewise.
60668 * math/w_lgammaf_r.c: Likewise.
60669 * math/w_lgammal.c: Likewise.
60670 * math/w_lgammal_r.c: Likewise.
60671 * math/w_log.c: Likewise.
60672 * math/w_log10.c: Likewise.
60673 * math/w_log10f.c: Likewise.
60674 * math/w_log10l.c: Likewise.
60675 * math/w_log2.c: Likewise.
60676 * math/w_log2f.c: Likewise.
60677 * math/w_log2l.c: Likewise.
60678 * math/w_logf.c: Likewise.
60679 * math/w_logl.c: Likewise.
60680 * math/w_pow.c: Likewise.
60681 * math/w_powf.c: Likewise.
60682 * math/w_powl.c: Likewise.
60683 * math/w_remainder.c: Likewise.
60684 * math/w_remainderf.c: Likewise.
60685 * math/w_remainderl.c: Likewise.
60686 * math/w_scalb.c: Likewise.
60687 * math/w_scalbf.c: Likewise.
60688 * math/w_scalbl.c: Likewise.
60689 * math/w_sinh.c: Likewise.
60690 * math/w_sinhf.c: Likewise.
60691 * math/w_sinhl.c: Likewise.
60692 * math/w_sqrt.c: Likewise.
60693 * math/w_sqrtf.c: Likewise.
60694 * math/w_sqrtl.c: Likewise.
60695 * math/w_tgamma.c: Likewise.
60696 * math/w_tgammaf.c: Likewise.
60697 * math/w_tgammal.c: Likewise.
60699 * po/ja.po: Update from translation team.
60701 2011-09-29 Andreas Jaeger <aj@suse.de>
60704 * sunrpc/netname.c (netname2host): Fix logic.
60708 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60710 * math/w_remainder.c (__remainder): Likewise.
60711 * math/w_remainderf.c (__remainderf): Likewise.
60712 * math/libm-test.inc (remainder_test): Add test cases.
60714 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60716 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
60719 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60721 * string/test-memcmp.c: Avoid unncessary #defines.
60722 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60724 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60726 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60727 Use new sse2 version for core i3 - i7 as it's faster
60728 than sse42 version.
60729 (bit_Prefer_PMINUB_for_stringop): New.
60730 * sysdeps/x86_64/rawmemchr.S: Update.
60731 Replace with faster SSE2 version.
60732 * sysdeps/x86_64/memrchr.S: New file.
60733 * sysdeps/x86_64/memchr.S: Update.
60734 Replace with faster SSE2 version.
60736 2011-09-12 Marek Polacek <mpolacek@redhat.com>
60738 * elf/dl-load.c (lose): Add cast to avoid warning.
60740 2011-10-07 Ulrich Drepper <drepper@gmail.com>
60742 * po/ca.po: Update from translation team.
60744 * inet/getnetgrent_r.c: Hook up nscd.
60745 * nscd/Makefile (routines): Add nscd_netgroup.
60746 (nscd-modules): Add netgroupcache.
60747 (CFLAGS-netgroupcache.c): Define.
60748 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60749 (cache_search): Add const to second parameter.
60750 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60752 (dbs): Add netgrdb entry.
60753 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60754 (verify_persistent_db): Handle netgrdb.
60755 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60756 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60758 (netgroup_response_header): Define.
60759 (innetgroup_response_header): Define.
60760 (datahead): Add netgroup_response_header and innetgroup_response_header
60762 * nscd/nscd.conf: Add entries for netgroup cache.
60763 * nscd/nscd.h (dbtype): Add netgrdb.
60764 (_PATH_NSCD_NETGROUP_DB): Define.
60765 (netgroup_iov_disabled): Declare.
60766 (xmalloc, xcalloc, xrealloc): Move declarations here.
60767 (cache_search): Adjust prototype.
60768 Add netgroup-related prototypes.
60769 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60770 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60771 (__nscd_innetgr): Declare.
60772 * nscd/selinux.c (perms): Use access_vector_t as element type and
60773 add netgroup-related initializers.
60774 * nscd/netgroupcache.c: New file.
60775 * nscd/nscd_netgroup.c: New file.
60776 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60777 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60778 For four parameters use innetgr.
60779 * nss/nss_files/files-init.c: Add definition and callback for netgr.
60780 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60781 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60782 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60784 * nscd/connections.c (register_traced_file): Don't register file
60785 for disabled databases.
60787 2011-10-06 Ulrich Drepper <drepper@gmail.com>
60789 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60791 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60792 from tree and freeing node.
60794 2011-09-25 Jiri Olsa <jolsa@redhat.com>
60796 * nss/nsswitch.c (__nss_database_lookup): Handle
60797 nss_parse_service_list out of memory case.
60799 2011-09-15 Jiri Olsa <jolsa@redhat.com>
60801 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60802 out of memory case.
60804 2011-10-04 Andreas Schwab <schwab@redhat.com>
60806 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60807 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60809 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60810 elf_machine_rela, elf_machine_lazy_rel.
60811 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60812 (ELF_DYNAMIC_DO_REL): Likewise.
60813 (ELF_DYNAMIC_DO_RELA): Likewise.
60814 (ELF_DYNAMIC_RELOCATE): Likewise.
60815 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60816 to ELF_DYNAMIC_DO_REL.
60817 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60818 (dl_main): In trace mode always set __RTLD_NOIFUNC.
60819 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60821 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60822 skip_ifunc, don't call ifunc function if non-zero.
60823 (elf_machine_rela): Likewise.
60824 (elf_machine_lazy_rel): Likewise.
60825 (elf_machine_lazy_rela): Likewise.
60826 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60827 (elf_machine_lazy_rel): Likewise.
60828 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60830 (elf_machine_lazy_rel): Likewise.
60831 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60833 (elf_machine_lazy_rel): Likewise.
60834 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60835 (elf_machine_lazy_rel): Likewise.
60836 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60837 (elf_machine_lazy_rel): Likewise.
60838 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60839 (elf_machine_lazy_rel): Likewise.
60840 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60841 (elf_machine_lazy_rel): Likewise.
60842 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60843 (elf_machine_lazy_rel): Likewise.
60844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60845 (elf_machine_lazy_rel): Likewise.
60847 2011-09-28 Ulrich Drepper <drepper@gmail.com>
60849 * nss/nss_files/files-init.c (_nss_files_init): Use static
60850 initialization for all the *_traced_file variables.
60852 2011-09-28 Andreas Schwab <schwab@redhat.com>
60854 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60856 2011-09-27 Roland McGrath <roland@hack.frob.com>
60859 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60861 2011-09-27 Andreas Schwab <schwab@redhat.com>
60863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60864 Reread the line before reparsing it.
60866 2011-09-26 Andreas Schwab <schwab@redhat.com>
60868 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60870 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
60871 Maxim Kuvyrkov <maxim@codesourcery.com>
60872 Joseph Myers <joseph@codesourcery.com>
60874 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60875 if needed for __stack_chk_guard.
60877 2011-09-19 Roland McGrath <roland@hack.frob.com>
60879 * sysdeps/posix/spawni.c (script_execute): Always define it.
60880 It will be optimized away if unused.
60881 (maybe_script_execute): New function.
60882 (__spawni): Call it.
60884 * Makerules: Don't include tls.make.
60885 (config-tls): Always set to thread.
60886 * tls.make.c: File removed.
60888 2011-09-19 Mike Frysinger <vapier@gentoo.org>
60890 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60891 * config.make.in (CPPFLAGS-config): New substituted variable.
60893 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60895 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60898 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60899 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60901 2011-09-15 Roland McGrath <roland@hack.frob.com>
60903 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60904 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60905 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60906 (CALL_FAIL): Likewise.
60907 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60908 (CALL_FAIL): Macro removed.
60909 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60911 2011-09-15 Ulrich Drepper <drepper@gmail.com>
60913 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60914 for __FINITE_MATH_ONLY__ == 1.
60916 2011-09-15 Andreas Schwab <schwab@redhat.com>
60918 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60919 __ieee754_sqrt instead of sqrt.
60920 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60921 __ieee754_sqrtf instead of sqrtf.
60922 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60923 __floorf instead of floorf.
60924 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60925 __floorf, __truncf instead of floorf, truncf.
60927 2011-09-14 Ulrich Drepper <drepper@gmail.com>
60929 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60931 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60932 __extern_always_inline.
60933 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60936 2011-09-14 Andreas Schwab <schwab@redhat.com>
60938 * elf/rtld.c (dl_main): Also relocate in dependency order when
60939 doing symbol dependency testing.
60941 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
60943 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60944 Always define `refsym'.
60946 2011-09-13 Andreas Schwab <schwab@redhat.com>
60948 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60949 (__FD_ELT): Renamed from __FDELT.
60950 * misc/bits/select2.h (__FD_ELT): Likewise.
60951 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60952 __FD_MASK instead of __FDELT, __FDMASK.
60953 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60955 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60958 * elf/Makefile (gen-ldd): Fix pattern.
60960 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60961 (init_tls): Likewise.
60963 2011-09-12 Ulrich Drepper <drepper@gmail.com>
60965 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60967 2011-09-12 Andreas Schwab <schwab@redhat.com>
60969 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60970 `struct cmsghdr *' instead of `void *'.
60971 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60974 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
60976 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60978 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60979 ldd_rewrite_script.
60981 2011-09-11 Ulrich Drepper <drepper@gmail.com>
60983 * configure.in: Remove --with-tls option.
60984 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60985 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60986 out in case it is missing.
60987 * sysdeps/ia64/elf/configure.in: Likewise.
60988 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60989 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60990 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60991 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60992 * sysdeps/sh/elf/configure.in: Likewise.
60993 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60994 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60995 * sysdeps/x86_64/elf/configure.in: Likewise.
60996 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60997 * sysdeps/mach/hurd/tls.h: Likewise.
61000 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61003 * configure.in: Fix use of AC_INIT.
61005 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61007 2011-09-10 Ulrich Drepper <drepper@gmail.com>
61009 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61011 * malloc/hooks.c: Likewise.
61014 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
61015 variables statically.
61016 (narenas): Initialize.
61017 (list_lock): Initialize.
61018 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
61019 initializtion of main_arena and list_lock. Small cleanups.
61020 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61021 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
61022 Add initializers to main_arena and mp_.
61023 (malloc_state): Remove pagesize member. Change all users to use
61026 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61027 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
61028 is always initialized.
61030 * malloc/malloc.c: Removed unused configurations and dead code.
61031 * malloc/arena.c: Likewise.
61032 * malloc/hooks.c: Likewise.
61033 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61035 * include/tls.h: Removed. USE___THREAD must always be defined.
61036 * bits/libc-tsd.h: Don't handle !USE___THREAD.
61037 * elf/dl-libc.c: Likewise.
61038 * elf/dl-tsd.c: Likewise.
61039 * include/errno.h: Likewise.
61040 * include/netdb.h: Likewise.
61041 * include/resolv.h: Likewise.
61042 * inet/herrno-loc.c: Likewise.
61043 * inet/herrno.c: Likewise.
61044 * malloc/arena.c: Likewise.
61045 * malloc/hooks.c: Likewise.
61046 * malloc/malloc.c: Likewise.
61047 * resolv/res-state.c: Likewise.
61048 * resolv/res_libc.c: Likewise.
61049 * sysdeps/i386/dl-machine.h: Likewise.
61050 * sysdeps/ia64/dl-machine.h: Likewise.
61051 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61052 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61053 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61054 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61055 * sysdeps/sh/dl-machine.h: Likewise.
61056 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61057 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61058 * sysdeps/unix/i386/sysdep.S: Likewise.
61059 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61060 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61061 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61064 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61065 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61067 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61068 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61069 * sysdeps/unix/x86_64/sysdep.S: Likewise.
61070 * sysdeps/x86_64/dl-machine.h: Likewise.
61071 * tls.make.c: Likewise.
61073 * configure.in: Remove --with-__thread option. Make tests for
61074 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61075 tls_model attribute fail if no support is available. Remove
61077 * Makeconfig: Adjust for dropped configure option. All features are
61079 * Makerules: Likewise.
61080 * Versions.def: Likewise.
61081 * argp/argp-fmtstream.c: Likewise.
61082 * argp/argp-fmtstream.h: Likewise.
61083 * argp/argp-help.c: Likewise.
61084 * assert/assert.c: Likewise.
61085 * config.h.in: Likewise.
61086 * config.make.in: Likewise.
61087 * configure: Likewise.
61088 * configure.in: Likewise.
61089 * csu/Versions: Likewise.
61090 * csu/init.c: Likewise.
61091 * elf/tst-audit2.c: Likewise.
61092 * elf/tst-tls10.c: Likewise.
61093 * elf/tst-tls10.h: Likewise.
61094 * elf/tst-tls11.c: Likewise.
61095 * elf/tst-tls12.c: Likewise.
61096 * elf/tst-tls14.c: Likewise.
61097 * elf/tst-tlsmod11.c: Likewise.
61098 * elf/tst-tlsmod12.c: Likewise.
61099 * elf/tst-tlsmod13.c: Likewise.
61100 * elf/tst-tlsmod13a.c: Likewise.
61101 * elf/tst-tlsmod14a.c: Likewise.
61102 * elf/tst-tlsmod15b.c: Likewise.
61103 * elf/tst-tlsmod16a.c: Likewise.
61104 * elf/tst-tlsmod16b.c: Likewise.
61105 * elf/tst-tlsmod7.c: Likewise.
61106 * elf/tst-tlsmod8.c: Likewise.
61107 * elf/tst-tlsmod9.c: Likewise.
61108 * gmon/gmon.c: Likewise.
61109 * grp/fgetgrent_r.c: Likewise.
61110 * grp/putgrent.c: Likewise.
61111 * hurd/fopenport.c: Likewise.
61112 * include/libc-symbols.h: Likewise.
61113 * include/tls.h: Likewise.
61114 * intl/gettextP.h: Likewise.
61115 * intl/loadinfo.h: Likewise.
61116 * locale/global-locale.c: Likewise.
61117 * locale/localeinfo.h: Likewise.
61118 * mach/devstream.c: Likewise.
61119 * malloc/arena.c: Likewise.
61120 * malloc/set-freeres.c: Likewise.
61121 * misc/err.c: Likewise.
61122 * misc/getttyent.c: Likewise.
61123 * misc/mntent_r.c: Likewise.
61124 * posix/getopt.c: Likewise.
61125 * posix/wordexp.c: Likewise.
61126 * pwd/fgetpwent_r.c: Likewise.
61127 * resolv/Versions: Likewise.
61128 * resolv/res_hconf.c: Likewise.
61129 * shadow/fgetspent_r.c: Likewise.
61130 * shadow/putspent.c: Likewise.
61131 * stdio-common/printf_fphex.c: Likewise.
61132 * stdio-common/tmpfile.c: Likewise.
61133 * stdlib/abort.c: Likewise.
61134 * stdlib/fmtmsg.c: Likewise.
61135 * sunrpc/auth_unix.c: Likewise.
61136 * sunrpc/clnt_perr.c: Likewise.
61137 * sunrpc/clnt_tcp.c: Likewise.
61138 * sunrpc/clnt_udp.c: Likewise.
61139 * sunrpc/clnt_unix.c: Likewise.
61140 * sunrpc/openchild.c: Likewise.
61141 * sunrpc/svc_simple.c: Likewise.
61142 * sunrpc/svc_tcp.c: Likewise.
61143 * sunrpc/svc_udp.c: Likewise.
61144 * sunrpc/svc_unix.c: Likewise.
61145 * sunrpc/xdr.c: Likewise.
61146 * sunrpc/xdr_array.c: Likewise.
61147 * sunrpc/xdr_rec.c: Likewise.
61148 * sunrpc/xdr_ref.c: Likewise.
61149 * sunrpc/xdr_stdio.c: Likewise.
61151 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61153 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61155 2011-07-03 Andreas Jaeger <aj@suse.de>
61157 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61158 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61159 regenerate with gen-libm-tests.pl.
61161 2010-05-12 Petr Baudis <pasky@suse.cz>
61164 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61165 around j0() zero points by switching to j1().
61166 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61168 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61169 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61171 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61173 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61175 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61177 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61178 Patch in part by Pavel Roskin <proski@gnu.org>.
61181 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61183 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
61184 Free memory block if necessary.
61187 * libio/genops.c (INTDEF): For string streams the _lock pointer can
61188 be NULL. Don't lock in this case.
61190 2011-09-09 Roland McGrath <roland@hack.frob.com>
61192 * elf/elf.h (ELFOSABI_GNU): New macro.
61193 (ELFOSABI_LINUX): Define to that.
61195 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
61197 * string/strncat.c (strncat): Undef the symbol in case it has been
61198 defined in bits/string.h.
61200 2011-09-09 Ulrich Drepper <drepper@gmail.com>
61202 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61204 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61207 2011-08-17 Andreas Jaeger <aj@suse.de>
61209 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61211 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
61212 Ian Lance Taylor <iant@google.com>
61214 * math/libm-test.inc (lround_test): New testcase.
61215 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61217 2011-09-08 Ulrich Drepper <drepper@gmail.com>
61219 * Makefile: Remove support for automatic cvs check-ins.
61220 * Makerules: Likewise.
61221 * config.make.in: Likewise.
61222 * configure.in: Likewise.
61223 * intl/Makefile: Likewise.
61224 * locale/Makefile: Likewise.
61225 * po/Makefile: Likewise.
61226 * posix/Makefile: Likewise.
61227 * sysdeps/gnu/Makefile: Likewise.
61228 * sysdeps/mach/hurd/Makefile: Likewise.
61229 * sysdeps/sparc/sparc32/Makefile: Likewise.
61232 * posix/Makefile (bug-regex32-ENV): Define.
61233 Patch by John Stanley <jpsinthemix@verizon.net>.
61235 * misc/Makefile (headers): Add bits/select2.h.
61236 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61237 * misc/bits/select2.h: New file.
61238 * include/bits/select2.h: New file.
61239 * debug/Makefile (routines): Add fdelt_chk.
61240 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61241 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61243 * debug/fdelt_chk.c: New file.
61245 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
61246 * wcsmbs/test-wmemcmp.c: Likewise.
61247 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61248 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61250 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61252 * string/Makefile (strop-tests): Add memcmp.
61253 * string/test-wmemcmp.c: New file.
61254 * string/test-memcmp.c: Add wmemcmp support.
61256 2011-09-08 Roland McGrath <roland@hack.frob.com>
61259 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61262 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61263 garbage value in a __mach_port_mod_refs call in the cases of the
61264 task-self and thread-self ports.
61266 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
61268 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61270 2011-09-08 Andreas Schwab <schwab@redhat.com>
61272 * elf/dl-load.c (lose): Check for non-null L.
61274 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61276 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61278 * elf/dl-libc.c (dlerror_run): Pass back error code from
61282 * elf/dl-load.c (lose): Free l_origin if it is valid.
61284 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61286 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61287 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61288 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61289 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61290 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61291 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61293 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
61295 * sysdeps/powerpc/fpu/e_hypot.c: New file.
61296 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61297 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61298 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61299 * sysdeps/powerpc/fpu/k_cosf.c: New file.
61300 * sysdeps/powerpc/fpu/k_sinf.c: New file.
61301 * sysdeps/powerpc/fpu/s_cosf.c: New file.
61302 * sysdeps/powerpc/fpu/s_sinf.c: New file.
61303 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61304 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61306 2011-08-15 Alan Modra <amodra@gmail.com>
61309 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61310 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61311 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
61312 ppc_mcount to static-only-routines.
61313 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61315 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61316 __mcount_internal with usual JUMPTARGET. Remove useless nop.
61318 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
61320 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61321 for finite and infinity parameters.
61323 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
61325 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61326 and add nop instructions for throughput optimization.
61327 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61329 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
61331 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61332 aligned copy for power7 with vector-scalar instructions.
61333 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61335 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
61337 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61340 2011-09-07 Andreas Schwab <schwab@redhat.com>
61343 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61346 2011-09-07 Ulrich Drepper <drepper@gmail.com>
61348 * sysdeps/unix/sysv/linux/x86_64/init-first.c
61349 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61350 syscall wrapper around clock_gettime in __vdso_clock_gettime.
61351 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61354 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61357 Forgot to demangle the pointer.
61359 * sysdeps/i386/sysdep.h: Define atom_text_section.
61360 * sysdeps/x86_64/sysdep.h: Likewise.
61361 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61362 section with atom_text_section.
61363 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61364 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61365 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61366 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61367 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61369 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61370 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61371 already be defined. Change to take two parameters and don't assign
61372 result to variable. Adjust all users.
61373 Define INTERNAL_GETTIME if not already defined.
61374 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61377 HAVE_CLOCK_GETTIME_VSYSCALL.
61378 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61380 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61381 gettimeofday vsyscall, just use time.
61383 2011-09-06 Andreas Schwab <schwab@redhat.com>
61385 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61388 2011-09-06 Ulrich Drepper <drepper@gmail.com>
61390 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61392 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61394 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61395 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61396 syscall if possible.
61398 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61400 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61401 e_ident. Don't pass to find_mapsXX.
61402 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61404 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61407 strchr-sse2-no-bsf strrchr-sse2-no-bsf
61408 * sysdeps/x86_64/multiarch/strchr.S: Update.
61409 Check bit_slow_BSF bit.
61410 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61411 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61412 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61414 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61417 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61419 (tryshell): Define.
61420 (__spawni): Change last parameter to be flag. Test
61421 SPAWN_XFLAGS_USE_PATH flag to use path or not.
61422 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61423 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61424 * posix/spawni.c: Likewise.
61425 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61426 * posix/spawnp.c: Likewise. Change normal version to use
61427 SPAWN_XFLAGS_USE_PATH.
61428 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61429 SPAWN_XFLAGS_TRY_SHELL.
61432 * posix/glob.h: Remove gcc 1.x support.
61435 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61437 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61440 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61442 * sysdeps/i386/i686/multiarch/strchr.S: New file.
61443 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61444 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61445 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61446 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61447 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61449 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61451 * sysdeps/x86_64/wcscmp.S: New file.
61453 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61454 wcscmp-c wcscmp-sse2
61455 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61456 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61457 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61458 * wcsmbs/wcscmp.c: Allow renaming.
61460 2011-09-05 David S. Miller <davem@davemloft.net>
61462 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61463 stack slot, rather than the struct return pointer slot.
61464 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61465 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61467 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61469 2011-09-05 Ulrich Drepper <drepper@gmail.com>
61471 * po/ja.po: Update from translation team.
61474 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61475 kernel in 64-bit binaries.
61477 2011-09-01 David S. Miller <davem@davemloft.net>
61479 * elf/elf.h (HWCAP_SPARC_*): Move to..
61480 * sysdeps/sparc/sysdep.h: this new file and add new values.
61481 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61482 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61483 _DL_HWCAP_COUNT to 24.
61484 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61486 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61487 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61488 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61490 instead of magic constants.
61491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61493 2011-08-31 David S. Miller <davem@davemloft.net>
61495 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61497 Reimplement to do errno handling inline.
61498 (SYSCALL_ERROR_HANDLER): New macro.
61499 (__SYSCALL_STRING): Do not do errno handling in asm.
61500 (__CLONE_SYSCALL_STRING): Delete.
61501 (__INTERNAL_SYSCALL_STRING): Delete.
61502 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61503 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61504 (PSEUDO): Reimplement to do errno handling inline.
61505 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61506 (SYSCALL_ERROR_HANDLER): New macro.
61507 (__SYSCALL_STRING): Do not do errno handling in asm.
61508 (__CLONE_SYSCALL_STRING): Delete.
61509 (__INTERNAL_SYSCALL_STRING): Delete.
61510 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61511 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61513 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61514 (inline_syscall*): Add 'err' argument.
61515 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61516 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61517 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61518 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61520 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61521 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61523 2011-08-30 Andreas Schwab <schwab@redhat.com>
61525 * elf/rtld.c (dl_main): Relocate objects in dependency order.
61527 2011-08-29 Jiri Olsa <jolsa@redhat.com>
61529 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61532 2011-08-24 David S. Miller <davem@davemloft.net>
61534 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61536 2011-08-24 Andreas Schwab <schwab@redhat.com>
61538 * elf/Makefile: Add rules to build and run unload8 test.
61539 * elf/unload8.c: New file.
61540 * elf/unload8mod1.c: New file.
61541 * elf/unload8mod1x.c: New file.
61542 * elf/unload8mod2.c: New file.
61543 * elf/unload8mod3.c: New file.
61545 * elf/dl-close.c (_dl_close_worker): Reset private search list if
61548 2011-08-23 David S. Miller <davem@davemloft.net>
61550 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61551 subtract stack bias.
61552 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61553 %sp not %fp in calculations.
61554 (_JMPBUF_UNWINDS_ADJ): Likewise.
61556 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61557 (aio_suspend): Call it to force an exception region around the
61558 AIO_MISC_WAIT() invocation.
61560 2011-08-23 Andreas Schwab <schwab@redhat.com>
61562 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61565 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
61567 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61569 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61570 and <dl-machine.h>.
61571 (Elf64_FuncDesc): Remove.
61573 2011-08-22 David S. Miller <davem@davemloft.net>
61575 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61576 sigaltstack check, add missing cfi directives.
61577 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61578 missing cfi directives, and sigaltstack handling.
61580 2011-08-16 Andreas Schwab <schwab@redhat.com>
61583 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61584 object is seen twice.
61585 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61587 * elf/Makefile (distribute): Add tst-initorder2.c.
61588 (tests): Add tst-initorder2.
61589 (modules-names): Add tst-initorder2a tst-initorder2b
61590 tst-initorder2c tst-initorder2d. Add rules to build them.
61591 ($(objpfx)tst-initorder2.out): New rule.
61592 * elf/tst-initorder2.c: New file.
61593 * elf/tst-initorder2.exp: New file.
61595 2011-08-22 Andreas Schwab <schwab@redhat.com>
61597 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61599 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61600 dependencies back to end of function.
61602 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61603 $(elfobjdir)/ld.so.
61605 2011-08-21 Ulrich Drepper <drepper@gmail.com>
61607 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61608 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61609 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61610 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61611 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61612 of __vdso_gettimeofday.
61613 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61614 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
61616 (_libc_vdso_platform_setup): Remove initialization of
61617 __vdso_gettimeofday and __vdso_time.
61619 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61621 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61622 and fgetc_unlocked.
61623 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61626 * elf/dl-open.c (add_to_global): Report additions to the global scope
61627 for LD_DEBUG=scopes.
61628 (dl_open_worker): Also print scope of newly loaded dependencies.
61629 (_dl_show_scope): Indicate if there is no scope.
61632 * stdio-common/Makefile (tests): Add bug24.
61633 * stdio-common/bug24.c: New file.
61635 2011-08-19 Andreas Jaeger <aj@suse.de>
61638 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61639 non-existant file when using close-on-exec mode.
61641 2011-08-20 Ulrich Drepper <drepper@gmail.com>
61643 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61644 the very first instruction.
61646 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61647 the CFI state in the end.
61648 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61649 inclusion of dl-trampoline.h.
61650 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61652 2011-08-19 Andreas Schwab <schwab@redhat.com>
61654 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61655 expectations for long double.
61657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61658 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61660 2011-08-14 David S. Miller <davem@davemloft.net>
61662 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61663 artificual limit depends upon the system page size.
61665 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61667 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61668 * resolv/Makefile: Define CFLAGS-libresolv.
61670 2011-08-17 Andreas Schwab <schwab@redhat.com>
61672 * nss/makedb.c (compute_tables): Make variables used in nested
61675 2011-08-17 Ulrich Drepper <drepper@gmail.com>
61677 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61678 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61679 if buffer was too small.
61681 * elf/pldd.c (main): Attach to all threads in the process.
61682 Rewrite /proc handling to use *at functions.
61684 2011-08-16 Ulrich Drepper <drepper@gmail.com>
61686 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61687 specifies first scope to show.
61688 (dl_open_worker): Update callers. Move printing scope of new
61689 object to before the relocation.
61690 * elf/rtld.c (dl_main): Update _dl_show_scope call.
61691 * sysdeps/generic/ldsodefs.h: Update declaration.
61693 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61694 string for the scope number.
61696 2011-08-14 Ulrich Drepper <drepper@gmail.com>
61698 * nscd/servicescache.c (cache_addserv): Make sure written is always
61701 2011-08-14 Roland McGrath <roland@hack.frob.com>
61703 * sysdeps/i386/i486/bits/atomic.h
61704 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61705 statement expression, so as to suppress "set but not used" warning.
61706 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61708 * string/strncat.c (STRNCAT): Use prototype definition.
61710 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61711 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61713 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61714 (localedef-modules): Add localedef.
61715 (locale-modules): Add locale.
61717 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61718 * elf/rtld.c (dl_main): Invert order of assignment in last change,
61719 to avoid a warning.
61721 2011-08-14 David S. Miller <davem@davemloft.net>
61723 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61724 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61726 2011-08-13 Ulrich Drepper <drepper@gmail.com>
61728 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61729 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61730 * elf/rtld.c (dl_main): Set l_name of vDSO.
61731 Call _dl_show_scope when DL_DEBUG_SCOPES.
61732 (process_dl_debug): Recognize scopes flag and also set it for all.
61733 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61734 Declare _dl_show_scope.
61736 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61737 (do_dlopen): Pass caller_dlopen to dl_open.
61738 (__libc_dlopen_mode): Initialize caller_dlopen.
61740 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61741 of libc. Make tolower call locale-independent. Optimize a bit by
61742 using isdigit instead of isalnum.
61743 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61745 2011-08-12 Ulrich Drepper <drepper@gmail.com>
61747 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61748 was a dependency or dynamically loaded.
61750 2011-08-11 Ulrich Drepper <drepper@gmail.com>
61752 * intl/l10nflist.c: Allow architecture-specific pop function.
61753 * sysdeps/x86_64/l10nflist.c: New file.
61755 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61758 2011-08-10 Andreas Schwab <schwab@redhat.com>
61760 * include/dirent.h: Add libc_hidden_proto for scandirat and
61761 scandirat64. Don't declare __scandirat64.
61762 * dirent/scandirat.c: Add libc_hidden_def.
61763 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61764 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61766 2011-08-10 David S. Miller <davem@davemloft.net>
61768 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61770 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61771 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61772 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61774 2011-08-09 Ulrich Drepper <drepper@gmail.com>
61776 * Versions.def [libc]: Add GLIBC_2.15.
61777 * dirent/Makefile (routines): Add scandirat and scandirat64.
61778 * dirent/Versions [libc]: Export scandirat and scandirat64 for
61780 * dirent/dirent.h: Declare scandirat and scandirat64.
61781 * dirent/scandirat.c: New file.
61782 * dirent/scandirat64.c: New file.
61783 * sysdeps/wordsize-64/scandirat.c: New file.
61784 * sysdeps/wordsize-64/scandirat64.c: New file.
61785 * dirent/opendir.c: Define opendirat.
61786 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
61788 * dirent/scandir64.c: Adjust for scandir.c change.
61789 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
61790 __scandirat64, and __scandir_cancel_handler.
61791 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
61792 additional parameter and use openat instead of open (outside of ld.so).
61793 Add new __opendir as wrapper around __opendirat.
61794 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61795 here without requiring old scandirat implementation.
61797 2011-08-08 Ulrich Drepper <drepper@gmail.com>
61799 * dirent/scandir.c (cancel_handler): Renamed to
61800 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
61801 defined. Adjust users.
61802 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61803 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61805 2011-08-04 Ulrich Drepper <drepper@gmail.com>
61807 * string/test-string.h (IMPL): Use __STRING to expand name and then
61810 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
61813 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61815 * string/Makefile: Update.
61816 (strop-tests): Append strncat.
61817 * string/test-wcscmp.c: New file.
61818 New comprehensive test for wcscmp.
61819 * string/test-strcmp.c: Update.
61820 (WIDE): New define.
61822 2011-07-22 Andreas Schwab <schwab@redhat.com>
61824 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61827 2011-07-26 Andreas Schwab <schwab@redhat.com>
61829 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61830 encoding to ACE if AI_IDN.
61832 2011-08-01 Jakub Jelinek <jakub@redhat.com>
61834 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61835 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61837 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61839 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61840 Fix overflow bug in strncat.
61841 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61843 * string/test-strncat.c: Update.
61844 Add new tests for checking overflow bugs.
61846 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61849 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61850 * sysdeps/i386/i686/multiarch/strcat.S: New file.
61851 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61852 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61853 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61854 * sysdeps/i386/i686/multiarch/strncat.S: New file.
61855 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61856 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61859 (USE_AS_STRCAT): Define.
61860 Add strcat and strncat support.
61861 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61863 2011-07-25 Andreas Schwab <schwab@redhat.com>
61865 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61866 __n bigger than INT_MAX+1.
61867 (__strncmp_g): Likewise.
61869 2011-07-23 Ulrich Drepper <drepper@gmail.com>
61871 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61872 * libio/stido.h: Likewise.
61874 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61876 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61879 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61880 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61881 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61882 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61883 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61886 * scripts/test-installation.pl: Don't expect libnss_test1 to be
61889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61891 (_dl_x86_64_save_sse): Likewise.
61893 2011-07-22 Ulrich Drepper <drepper@gmail.com>
61895 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61897 (_dl_x86_64_save_sse): Likewise.
61899 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61901 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61903 2011-07-21 Andreas Schwab <schwab@redhat.com>
61905 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61907 (_dl_x86_64_save_sse): Use correct AVX check.
61909 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61911 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61912 bug in strncpy/strncat.
61913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61915 2011-07-21 Ulrich Drepper <drepper@gmail.com>
61917 * string/tester.c (test_strcat): Add tests for different alignments
61918 of source and destination.
61919 (test_strncat): Likewise.
61921 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61924 * posix/glob.c (glob): Check passed in values before using them in
61925 expressions to avoid some overflows.
61926 (glob_in_dir): Likewise.
61929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61930 check for AVX enablement so that we don't crash with old kernels and
61932 * elf/tst-audit4.c: Add same checks here.
61933 * elf/tst-audit6.c: Likewise.
61935 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61937 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
61939 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61941 2011-07-20 Ulrich Drepper <drepper@gmail.com>
61943 * po/cs.po: Update from translation team.
61944 * po/bg.po: Likewise.
61946 2011-07-12 Marek Polacek <mpolacek@redhat.com>
61948 * misc/sys/cdefs.h: Add support for const attribute.
61949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61950 to gnu_dev_{major,minor,makedev} functions.
61952 2011-07-20 Marek Polacek <mpolacek@redhat.com>
61954 * intl/dcigettext.c (get_output_charset): Add missing bracket.
61956 2011-07-20 Andreas Schwab <schwab@redhat.com>
61958 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61961 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
61963 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61964 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61965 register in order to avoid conflicts with the soft frame pointer
61966 being held in r11 when necessary.
61967 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61968 (INTERNAL_VSYSCALL_NCS): Likewise.
61970 2011-07-14 Marek Polacek <mpolacek@redhat.com>
61972 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61973 * elf/dl-fini.c (_dl_fini): Adjust caller.
61974 * elf/dl-close.c (_dl_close_worker): Likewise.
61975 * sysdeps/generic/ldsodefs.h: Adjust declaration.
61977 2011-07-15 Marek Polacek <mpolacek@redhat.com>
61979 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61980 "aux_cache->nlibs < 0".
61982 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61983 in the reload-count case.
61985 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
61987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61988 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61989 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61990 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61991 * sysdeps/x86_64/multiarch/strcat.S: New file.
61992 * sysdeps/x86_64/multiarch/strncat.S: New file.
61993 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61994 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61995 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61996 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61998 (USE_AS_STRCAT): Define.
61999 Add strcat and strncat support.
62000 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62001 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62002 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62003 * string/strncat.c: Update.
62004 (USE_AS_STRNCAT): Define.
62005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62006 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62008 * sysdeps/x86_64/multiarch/init-arch.h
62009 (bit_Prefer_PMINUB_for_stringop): New.
62010 (index_Prefer_PMINUB_for_stringop): Likewise.
62011 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62012 bit_Prefer_PMINUB_for_stringop.
62014 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62016 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62018 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62019 of casting of buffer.
62020 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62021 buffer32 and buffer64.
62022 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62023 writes instead of casting of buffer.
62024 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62026 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62029 2011-07-19 Andreas Schwab <schwab@redhat.com>
62031 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62033 2011-07-19 Ulrich Drepper <drepper@gmail.com>
62035 * nscd/nscd.c (termination_handler): Don't do anything for a database
62036 if it has not yet been initialized.
62038 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62040 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62042 2011-07-15 Marek Polacek <mpolacek@redhat.com>
62044 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62046 2011-07-18 Ulrich Drepper <drepper@gmail.com>
62048 * po/nl.po: Update from translation team.
62049 * po/sv.po: Likewise.
62051 2011-07-16 Roland McGrath <roland@hack.frob.com>
62053 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62054 now disallowed by GCC.
62056 * configure.in (use-default-link): Default to yes if a test -shared
62057 link meets our qualifications.
62058 * configure: Regenerated.
62060 * config.make.in (output-format): New variable.
62061 * configure.in: Check for ld --print-output-format support.
62062 * configure: Regenerated.
62063 * Makerules ($(common-objpfx)format.lds)
62064 [$(output-format) != unknown]: Just use $(output-format),
62065 instead of the linker-script munging.
62067 2011-07-14 Roland McGrath <roland@hack.frob.com>
62069 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62070 of $(common-objpfx)shlib.lds.
62071 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62073 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62074 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62076 * configure.in (-z relro check): Adjust test code to add a large
62077 writable data section after it.
62078 * configure: Regenerated.
62080 2011-07-11 Roland McGrath <roland@hack.frob.com>
62082 * configure.in (-z relro check): Fix test code to make the variable
62084 * configure: Regenerated.
62086 2011-07-11 Ulrich Drepper <drepper@gmail.com>
62088 * nscd/nscd.h (struct traced_file): Define.
62089 (struct database_dyn): Remove inotify_descr, reset_res, and filename
62090 elements. Add traced_files.
62091 (inotify_fd): Declare.
62092 (register_traced_file): Declare.
62093 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62094 (inotify_fd): Export.
62095 (resolv_conf_descr): Remove.
62096 (nscd_init): Move inotify descriptor creation to main.
62097 Don't register files for notification here.
62098 (register_traced_file): New function.
62099 (invalidate_cache): Don't use reset_res to determine whether to call
62100 res_init, go through the list of registered files.
62101 (main_loop_poll): The inotify descriptors are now stored in the
62102 structures for the traced files.
62103 (main_loop_epoll): Likewise
62104 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
62105 to __nss_disable_nscd.
62106 * nscd/cache.c (prune_cache): There is no single inotify descriptor
62107 for a database anymore. Check the records for all the registered
62109 * nss/Makefile (libnss_files-routines): Add files-init.
62110 (libnss_db-routines): Add db-init.
62111 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62112 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62113 * nss/nss_db/db-init.c: New file.
62114 * nss/nss_files/files-init.c: New file.
62115 * nss/nsswitch.c (nss_load_library): New function. Broken out of
62116 __nss_lookup_function.
62117 (__nss_lookup_function): Call nss_load_library.
62118 (nss_load_all_libraries): New function.
62119 (__nss_disable_nscd): Take parameter with callback function for files
62120 to register. Set is_nscd. Load all the DSOs for the NSS modules
62121 used for the cached services.
62122 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62123 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62124 options for features to all the files in nscd.
62126 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62128 2011-07-10 Roland McGrath <roland@hack.frob.com>
62130 * csu/elf-init.c (__libc_csu_init): Comment typo.
62132 2011-07-09 Ulrich Drepper <drepper@gmail.com>
62134 * po/pl.po: Update from translation team.
62135 * po/ja.po: Likewise.
62136 * po/ru.po: Likewise.
62137 * po/ko.po: Likewise.
62138 * po/fr.po: Likewise.
62140 2011-07-09 Roland McGrath <roland@hack.frob.com>
62142 * configure.in (.ctors/.dtors header and trailer check):
62143 Use an empirical test on a built program.
62144 * configure: Regenerated.
62146 * configure.in (-z relro check): Use an empirical test on a built DSO.
62147 Detect, but do not require, on ia64.
62148 * configure: Regenerated.
62150 * configure.in (READELF): Find it with AC_CHECK_TOOL.
62151 Update tests that use readelf to use $READELF instead.
62152 * configure: Regenerated.
62154 2011-07-08 Ulrich Drepper <drepper@gmail.com>
62156 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62157 if the result is not used.
62159 2011-07-05 Andreas Jaeger <aj@suse.de>
62162 * stdlib/tst-strtod.c: Add testcase.
62164 2011-07-07 Ulrich Drepper <drepper@gmail.com>
62166 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62167 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62168 The latter has a higher limit. Take additional parameter to pass to
62170 (__pathconf): Pass file to __statfs_link_max.
62171 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62173 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62177 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62178 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62180 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62181 (__statfs_filesize_max): Likewise.
62182 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62184 2011-07-05 Andreas Jaeger <aj@suse.de>
62186 * resolv/res_comp.c (dn_skipname): Remove unused variable.
62188 2011-07-06 Marek Polacek <mpolacek@redhat.com>
62190 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62192 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62195 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
62197 * Makefile (strop-tests): Add strncat.
62198 * string/test-strncat.c: New file.
62200 2011-06-30 Marek Polacek <mpolacek@redhat.com>
62202 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62204 2011-06-21 Andreas Jaeger <aj@suse.de>
62206 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62207 Copy rule from iconvdata/Makefile.
62209 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62212 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62213 but no long options are defined, just return 'W'.
62215 2011-06-22 Marek Polacek <mpolacek@redhat.com>
62218 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62220 2011-07-06 Ulrich Drepper <drepper@gmail.com>
62222 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62224 (innetgr): Likewise.
62226 2011-07-05 Roland McGrath <roland@hack.frob.com>
62228 * config.make.in (install_root): Default to $(DESTDIR).
62230 2011-07-05 Ulrich Drepper <drepper@gmail.com>
62232 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62234 2011-07-02 Roland McGrath <roland@hack.frob.com>
62236 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62238 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62239 containing directory rather than embedding absolute directory names.
62241 * scripts/check-local-headers.sh: Rewritten using awk.
62242 Match by word, not by line. Print error messages for matches.
62243 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62245 * Makerules [shlib-lds-flags empty]:
62246 ($(common-objpfx)libc_pic.opts): New target.
62247 ($(common-objpfx)libc_pic.os.clean): New target.
62248 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62250 * config.make.in (OBJCOPY): New variable.
62251 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62252 * configure: Regenerated.
62254 * config.make.in (use-default-link): New variable.
62255 * configure.in (use_default_link): Grok --with-default-link to set it.
62256 * configure: Regenerated.
62257 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62258 (shlib-lds, shlib-lds-flags): Define to empty.
62260 * Makerules (shlib-lds): New variable.
62261 (shlib-lds-flags): New variable.
62262 (build-shlib, build-moduile, build-module-asneeded): Use it.
62263 ($(common-objpfx)libc.so): Use $(shlib-lds).
62264 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62265 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62267 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62268 DT_FLAGS/DT_FLAGS_1 with zero flags.
62270 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62271 linker script munging.
62273 2011-07-02 Ulrich Drepper <drepper@gmail.com>
62275 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62277 * crypt/sha512.c (sha512_process_block): Perform total addition using
62278 128-bit if possible.
62279 (__sha512_finish_ctx): Likewise.
62280 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62282 * crypt/sha256.c (SWAP64): Define.
62283 (sha256_process_block): Perform total addition using 64-bit if
62285 (__sha256_finish_ctx): Likewise.
62287 2011-07-01 Ulrich Drepper <drepper@gmail.com>
62289 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
62290 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62291 * nscd/hstcache.c (cache_addhst): Likewise.
62292 * nscd/grpcache.c (cache_addgr): Likewise.
62293 * nscd/aicache.c (addhstaiX): Likewise
62294 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62296 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
62298 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62299 * nscd/initgrcache.c (addinitgroupsX): Likewise.
62300 * nscd/hstcache.c (cache_addhst): Likewise.
62301 * nscd/grpcache.c (cache_addgr): Likewise.
62302 * nscd/aicache.c (addhstaiX): Likewise
62304 2011-07-01 Andreas Schwab <schwab@redhat.com>
62306 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62307 domain only when needed.
62309 2011-06-30 Andreas Schwab <schwab@redhat.com>
62311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62312 is always restored.
62314 2011-06-29 Ulrich Drepper <drepper@gmail.com>
62316 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62317 are re-adding the entry.
62318 * nscd/servicescache.c (cache_addserv): Likewise.
62320 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
62322 * sysdeps/generic/dl-irel.h: fix protection against multiple
62324 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62326 2011-06-28 Ulrich Drepper <drepper@gmail.com>
62329 * malloc/memusage.sh: Fix quoting in message.
62330 * debug/xtrace.sh: Likewise.
62332 * configure.in: Remove support for --experimental-malloc option, make
62334 * config.make.in: Likewise.
62335 * malloc/Makefile: Likewise.
62337 2011-06-27 Andreas Schwab <schwab@redhat.com>
62339 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62340 two-byte characters.
62342 2011-06-27 Roland McGrath <roland@hack.frob.com>
62344 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62345 AC_CACHE_CHECK invocation.
62346 * configure: Regenerated.
62348 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62350 2011-06-27 Ulrich Drepper <drepper@gmail.com>
62353 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
62354 bit from old_res_options.
62356 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62358 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62359 value type for setfct.
62361 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
62363 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62364 __gettimeofday instead of gettimeofday.
62366 2011-06-26 Ulrich Drepper <drepper@gmail.com>
62368 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62370 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
62372 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62374 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62377 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62380 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62381 strcpy-sse2-unaligned strncpy-sse2-unaligned
62382 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62383 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62384 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62385 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62386 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62387 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62388 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62389 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62390 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62391 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62392 (STRCPY): Support SSE2 and SSSE3 versions.
62394 2011-06-24 Ulrich Drepper <drepper@gmail.com>
62397 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62398 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62399 kernels which artificially limit size of requests.
62401 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
62403 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62404 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62405 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62406 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62407 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62408 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62409 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62410 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62411 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62412 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62413 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62414 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62415 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62416 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62417 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62419 Enable unaligned load optimization for Intel Core i3, i5 and i7
62421 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62423 (index_Fast_Unaligned_Load): Define.
62424 (HAS_FAST_UNALIGNED_LOAD): Define.
62426 2011-06-23 Marek Polacek <mpolacek@redhat.com>
62428 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62430 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62433 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62434 until it is clear that the information is realy needed.
62435 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62437 2011-06-22 Andreas Schwab <schwab@redhat.com>
62439 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62441 2011-06-22 Ulrich Drepper <drepper@gmail.com>
62443 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62444 /sys/devices/system/cpu/online if it is usable.
62446 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62447 reading the information from the /proc filesystem to once a second.
62449 2011-06-21 Andreas Jaeger <aj@suse.de>
62451 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62452 NULL after inclusion of kernel headers.
62454 2011-06-21 Ulrich Drepper <drepper@gmail.com>
62456 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62457 calls to internal_setent.
62460 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62461 addresses using gethostbyname4_r ignore IPv4 addresses.
62463 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62464 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
62466 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62468 2011-06-20 David S. Miller <davem@davemloft.net>
62470 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62472 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62474 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62475 (elf_irel): Use it.
62476 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62477 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62478 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62479 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62480 * sysdeps/x86_64/dl-irel.h: Likewise.
62482 * elf/dl-runtime.c: Use elf_ifunc_invoke.
62483 * elf/dl-sym.c: Likewise.
62485 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62487 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
62488 need to dereference resplen2.
62490 2011-06-14 Andreas Schwab <schwab@redhat.com>
62492 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62494 2011-06-15 Ulrich Drepper <drepper@gmail.com>
62496 * Makeconfig: Define vardbdir and inst_vardbdir.
62497 * nss/Makefile: Add rules to install db-Makefile.
62499 * nss/nss_db/db-XXX.c: Cleanup.
62501 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62502 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62504 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62505 * nss/makedb.c: Implement -g option to specify that value strings
62506 are generated and should not be added to table iterated over for
62508 * nss/nss_db/db-initgroups.c: New file.
62510 * nss/getent.c: Add support for initgroups lookups through getgrouplist
62513 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62514 (internal_getgrouplist): Adjust to name change.
62515 Update use_initgroups_entry if this is not the first call.
62516 * nss/databases.def: Add initgroups entry.
62518 * nss/makedb.c (compute_tables): Check result of multiple hash table
62519 sizes to minimize maximum chain length.
62521 2011-06-14 Ulrich Drepper <drepper@gmail.com>
62523 * Versions.def: Add entry for libnss_db.
62524 * shlib-versions: Likewise.
62525 * nss/Makefile: Add rules to build libnss_db.
62526 * nss/Versions: Add libnss_db information. Organize libnss_files
62528 * nss/db-Makefile: Add gshadow support. Change rules for the new
62529 makedb progra. Some minor improvements to generate smaller files.
62530 * nss/nss_db/nss_db.h: Move NSS database header data structures to
62532 * nss/makedb.c: ...here.
62533 Improve database format to be smaller and require less memory at
62535 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
62537 * nss/nss_db/db-netgrp.c: Likewise.
62538 * nss/nss_db/db-open.c: Likewise.
62539 * nss/nss_files/flies-XXX.x: Adjust comments.
62540 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62541 * nss/nss_files/files-grp.c: Likewise.
62542 * nss/nss_files/files-hosts.c: Likewise.
62543 * nss/nss_files/files-network.c: Likewise.
62544 * nss/nss_files/files-proto.c: Likewise.
62545 * nss/nss_files/files-pwd.c: Likewise.
62546 * nss/nss_files/files-rpc.c: Likewise.
62547 * nss/nss_files/files-service.c: Likewise.
62548 * nss/nss_files/files-sgrp.c: Likewise.
62549 * nss/nss_files/files-spwd.c: Likewise.
62550 * nss/nss_db/db-alias.c: Removed.
62551 * nss/nss_db/dummy-db.h: Removed.
62553 2011-06-02 Ulrich Drepper <drepper@gmail.com>
62555 * nss/makedb.c: Rewritten to not use database library.
62556 * nss/Makefile: Update to build new makedb program.
62558 2011-06-14 Andreas Jaeger <aj@suse.de>
62560 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62561 memset declaration.
62563 2011-06-10 Andreas Schwab <schwab@redhat.com>
62565 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62568 2011-06-10 Roland McGrath <roland@hack.frob.com>
62570 * Makerules (shlib.lds): Fail if the linker script comes out empty.
62571 * elf/Makefile ($(objpfx)ld.so): Likewise.
62573 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62574 Don't list ld.so twice in dependencies.
62576 * posix/bug-regex31.c: Include <stdlib.h>.
62578 * nscd/hstcache.c (cache_addhst): Remove unused variable.
62580 * nis/nss_compat/compat-spwd.c
62581 (getspent_next_nss_netgr): Remove unused variable.
62582 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62584 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62585 nonmembers" output to use the right array.
62587 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62589 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62591 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62592 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62593 * catgets/gencat.c (read_input_file): Likewise.
62594 * locale/programs/locarchive.c (enlarge_archive): Likewise.
62596 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62597 variable definition inside #if's controlling its use.
62599 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62601 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62603 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62605 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62608 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62610 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62611 * configure: Regenerated.
62613 * Makerules: Revert last change.
62614 * elf/Makefile: Likewise.
62616 2011-06-09 Roland McGrath <roland@hack.frob.com>
62618 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62619 * elf/Makefile ($(objpfx)librtld.os): Likewise.
62620 (reloc-link): Likewise.
62622 2011-06-09 Ulrich Drepper <drepper@gmail.com>
62624 * elf/Makefile: Add rules to build pldd.
62625 * elf/pldd.c: New file.
62626 * elf/pldd-xx.c: New file.
62628 2011-06-07 Ulrich Drepper <drepper@gmail.com>
62630 * version.h: Update for 2.15 development version.
62632 2011-06-07 David S. Miller <davem@davemloft.net>
62634 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62636 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62637 elf_machine_lazy_rel): Likewise.
62638 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62640 elf_machine_lazy_rel): Likewise.
62641 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62642 dl_hwcap via passed in argument.
62643 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62646 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62648 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
62650 2011-06-06 Roland McGrath <roland@hack.frob.com>
62653 * manual/fdl-1.1.texi: New file, verbatim from:
62654 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62655 * manual/lgpl-2.1.texi: New file, verbatim from:
62656 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62657 * manual/Makefile (licenses): New variable, list those new file names.
62659 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62661 * manual/fdl.texi: File removed.
62662 * manual/lesser.texi: File removed.
62663 * manual/libc.texinfo (Copying, Documentation License):
62664 Use new @include file names, put @appendix directive before @include.
62666 2011-06-04 Jakub Jelinek <jakub@redhat.com>
62669 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62670 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62671 (mq_open): Add __NTH.
62673 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
62675 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62676 Assume Intel Core i3/i5/i7 processor if AVX is available.
62678 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62680 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62683 2011-05-31 Andreas Schwab <schwab@redhat.com>
62685 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62686 memory. Use alloca_account. Fix memory leak when retrying.
62688 2011-05-31 Ulrich Drepper <drepper@gmail.com>
62690 * version.h (RELEASE): Bump for 2.14 release.
62691 * include/features.h (__GLIBC_MINOR__): Bump to 14.
62693 * config.make.in (RANLIB): Remove entry.
62695 2011-05-30 Ulrich Drepper <drepper@gmail.com>
62697 * po/Makefile (po-sed-cmd): Add ksh to extensions.
62698 (libc.pot): Work around missing support for .ksh extension in xgettext.
62701 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62702 if both request failed.
62703 (send_dg): In case of server errors clear resplen or *resplen2.
62706 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62707 when there are multiple maps.
62708 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62709 (_dl_fini): Remove test here.
62711 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62713 2011-05-29 Ulrich Drepper <drepper@gmail.com>
62716 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62717 bit from old_res_options.
62718 (gaih_inet): Likewise.
62721 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62724 * resolv/res_init.c (res_setoptions): Make the code more compact.
62727 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62731 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62733 * malloc/malloc.h: Mark malloc hook variables as deprecated.
62736 * malloc/malloc.h: Declare malloc hook variables as volatile.
62738 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62742 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62743 raise in the comment.
62744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62745 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62746 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62748 2011-05-28 Ulrich Drepper <drepper@gmail.com>
62751 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62752 grow the buffers more if it already has to be sufficient.
62753 (build_wcs_upper_buffer): Likewise.
62754 * posix/regexec.c (check_matching): Likewise.
62755 (clean_state_log_if_needed): Likewise.
62756 (extend_buffers): Don't enlarge buffers beyond size of the input
62758 Patches mostly by Emil Wojak <emil@wojak.eu>.
62759 * posix/bug-regex32.c: New file.
62760 * posix/Makefile (tests): Add bug-regex32.
62762 * locale/findlocale.c (_nl_find_locale): Return right away if
62763 _nl_explode_name failed.
62764 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62766 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62768 * debug/xtrace.sh: Unify messages.
62769 * malloc/memusage.sh: Likewise.
62772 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62773 time symbol from vDSO. Substitute with vsyscall if not available.
62774 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62777 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62778 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62779 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62780 Add sendmmsg and internal_sendmmsg.
62781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62782 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62785 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62786 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62787 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62789 2011-05-27 Ulrich Drepper <drepper@gmail.com>
62792 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62793 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
62795 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62799 * iconvdata/Makefile (tests): Add bug-iconv9.
62800 * iconvdata/bug-iconv9.c: New file.
62802 2011-05-27 Andreas Schwab <schwab@redhat.com>
62805 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62807 2011-05-25 Jakub Jelinek <jakub@redhat.com>
62809 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62810 (struct user_regs_struct): Change intcs field back to cs.
62812 2011-05-25 Ulrich Drepper <drepper@gmail.com>
62814 * po/ja.po: Update from translation team.
62816 2011-05-23 Ulrich Drepper <drepper@gmail.com>
62819 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62820 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62822 2011-05-20 Andreas Schwab <schwab@redhat.com>
62824 * stdlib/longlong.h: Update from GCC.
62826 2011-05-23 Andreas Schwab <schwab@redhat.com>
62828 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62830 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62831 Add parameter name.
62832 (__sysconf): Pass it down.
62834 2011-05-22 Ulrich Drepper <drepper@gmail.com>
62837 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62839 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62840 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62841 add in in __libc_use_alloca calls. Adjust callers.
62842 (glob): Use malloc in some situations.
62844 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62845 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62848 2011-05-21 Ulrich Drepper <drepper@gmail.com>
62850 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62851 and CLOCK_BOOTTIME_ALARM.
62854 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62857 * string/_strerror.c (__strerror_r): Print negative errors as signed
62861 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62862 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62863 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62865 * configure.in: Fix typo in redirection and correct removal of test
62866 files in two cases.
62869 * locale/setlocale.c (new_composite_name): Fix test to check for
62870 identical name of all categories.
62873 * libio/filedoalloc.c (local_isatty): New function.
62874 (_IO_file_doallocate): Use local_isatty.
62875 * stdio-common/perror.c (perror): In case a new stream is used
62876 forward the stream error.
62877 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62880 2011-05-20 Ulrich Drepper <drepper@gmail.com>
62883 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62885 * include/alloca.h (extend_alloca_account): Define.
62888 * posix/regex.h: Fix comments with documentation of user-accessible
62889 fields after compilation and describe correct free'ing of pattern
62890 after re_compile_pattern.
62891 Patch by Reuben Thomas <rrt@sc3d.org>.
62893 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
62895 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62896 and -mno-altivec to prevent the compiler from using Altivec and/or
62897 VSX instructions when the corresponding registers are not available.
62899 2011-05-19 Andreas Schwab <schwab@redhat.com>
62901 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62903 2011-05-19 Ulrich Drepper <drepper@gmail.com>
62905 * libio/freopen.c (freopen): Use __dup2, not dup2.
62906 * libio/freopen64.c (freopen64): Likewise.
62908 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
62911 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62912 * math/Makefile (tests): Add test-powl.
62913 (CFLAGS-test-powl.c): Define.
62914 * math/test-powl.c: New file.
62916 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
62918 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62920 2011-05-17 Ulrich Drepper <drepper@gmail.com>
62923 * iconvdata/gb18030.c: Update to GB18020-2005.
62925 2011-05-16 Ulrich Drepper <drepper@gmail.com>
62927 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62928 RE_SYNTAX_POSIX_AWK): Update to match recent development.
62929 Patch by Aharon Robbins <arnold@skeeve.com>.
62932 * stdlib/putenv.c (putenv): Don't always create copy of the variable
62936 * misc/pselect.c (__pselect): Handle timeout value errors hidden
62937 through underflows.
62940 * misc/error.c (error_at_line): Ensure file_name and old_file_name
62941 point to strings before performing equality test for error_one_per_line
62945 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62948 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62949 (struct user_fpregs_struct): Avoid __uint*_t types.
62952 * malloc/mtrace.c (tr_where): Add additional parameter to point to
62953 symbol info. Use it instead of calling _dl_addr locally.
62954 (lock_and_info): New function.
62955 (tr_freehook): Call lock_and_info and pass symbol info as additional
62956 parameter to tr_where.
62957 (tr_mallochook): Likewise.
62958 (tr_reallochook): Likewise.
62959 (tr_memalignhook): Likewise.
62961 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
62962 used and couldn't be at all thread-safe.
62964 2011-05-15 Ulrich Drepper <drepper@gmail.com>
62966 * libio/freopen.c (freopen): Don't close old file descriptor
62967 before the new one is opened. Instead dup the new file descriptor
62968 to the old one after the new stream is created.
62969 * libio/freopen64.c (freopen64): Likewise.
62970 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62971 * libio/fileops.c (_IO_new_file_close_it): Handle new
62972 _IO_FLAGS2_NOCLOSE flag.
62973 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62974 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62975 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62976 _IO_FLAGS2_NOCLOSE flag.
62977 * include/unistd.h: Add hidden_proto for dup3.
62978 Define __have_dup3.
62979 * io/dup3.c: Define hidden symbol.
62980 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62983 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62984 when an incomplete long option is used.
62985 * posix/tst-getopt_long1.c: New file.
62986 * posix/Makefile (tests): Add tst-getopt_long1.
62989 * scripts/config.guess: Update from autoconf-2.68.
62990 * scripts/config.sub: Likewise.
62993 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62995 (has_cpuclock): ...this. New function.
62996 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62997 macro here based on has_cpuclock code.
63000 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63001 First byte (not low byte) is now always NUL.
63002 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63004 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63005 Use non-cancelable interfaces.
63008 * locale/iso-639.def: Add entry for Sorani.
63011 * include/stdlib.h: Move include protection to the right place.
63012 Define abort_msg_s. Declare __abort_msg with it.
63013 * stdlib/abort.c (__abort_msg): Adjust type.
63014 * assert/assert.c (__assert_fail_base): New function. Majority
63015 of code from __assert_fail. Allocate memory for __abort_msg with
63017 (__assert_fail): Now call __assert_fail_base.
63018 * assert/assert-perr.c: Remove bulk of implementation. Use
63019 __assert_fail_base.
63020 * include/assert.hL Declare __assert_fail_base.
63021 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63023 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63025 2011-05-14 Ulrich Drepper <drepper@gmail.com>
63029 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63030 until all modules are registered in the DTV.
63031 * elf/Makefile: Add rules to build and run tst-tls19.
63032 * elf/tst-tls19.c: New file.
63033 * elf/tst-tls19mod1.c: New file.
63034 * elf/tst-tls19mod2.c: New file.
63035 * elf/tst-tls19mod3.c: New file.
63036 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63039 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63043 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63044 two-byte sequence errors.
63045 * iconvdata/Makefile (tests): Add bug-iconv8.
63046 * iconvdata/bug-iconv8.c: New file.
63049 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63052 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63055 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63056 (dummy_getcfa): New function.
63057 (init): Get _Unwind_GetCFA address, use dummy if not found.
63058 (backtrace_helper): In recursion check, also check whether CFA changes.
63059 (__backtrace): Completely initialize arg.
63061 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63062 storing incomplete byte sequence in state object. Avoid testing for
63063 guaranteed too small input if we know there is enough data available.
63065 2011-05-11 Andreas Schwab <schwab@redhat.com>
63067 * Makeconfig (+link-pie): Indent.
63068 * Rules (binaries-pie): Define if $(have-fpie) and
63070 (binaries-shared): Also filter out $(binaries-pie).
63071 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63072 * nscd/Makefile (others-pie): Add nscd.
63073 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63074 ($(objpfx)nscd): Remove command override.
63075 * login/Makefile (others-pie): Add pt_chown.
63076 ($(objpfx)pt_chown): Remove command override.
63077 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63078 remove command overrides.
63080 2011-05-13 Ulrich Drepper <drepper@gmail.com>
63082 * libio/tst_putwc.c: Fix error messages.
63085 * libio/fileops.c (_IO_new_file_close_it): Always flush when
63086 currently writing and seek to current position when not.
63087 * libio/Makefile (tests): Add bug-fclose1.
63088 * libio/bug-fclose1.c: New file.
63090 2011-05-12 Ulrich Drepper <drepper@gmail.com>
63093 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63094 don't set DF_1_NODELETE here.
63095 (do_lookup_x): When entering new entry test for copy relocation
63096 and if necessary set DF_1_NODELETE flag.
63097 * elf/tst-unique4.cc: New file.
63098 * elf/tst-unique4.h: New file.
63099 * elf/tst-unique4lib.cc: New file.
63100 * elf/Makefile: Add rules to build and run tst-unique4.
63101 Patch by Piotr Bury <pbury@goahead.com>.
63103 2011-05-11 Ulrich Drepper <drepper@gmail.com>
63106 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63109 * misc/mntent_r.c (addmntent): Flush the stream after the output
63112 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63113 (is_trusted_path_normalize): Skip initial colon. Append slash
63114 to empty buffer. Duplicate is_trusted_path code but allow
63115 constructed patch to be prefix.
63116 (is_dst): Allow $ORIGIN followed by /.
63117 (_dl_dst_substitute): Correct clearing of check_for_trusted.
63118 Correct testing of result of is_trusted_path_normalize
63119 (decompose_rpath): Fix warning.
63121 2011-05-10 Ulrich Drepper <drepper@gmail.com>
63124 * grp/initgroups.c (internal_getgrouplist): When we found the service
63125 list through the initgroups entry in nsswitch.conf do not always
63126 continue on a successful lookup. Don't always use the
63127 __nss_group_database value if it is set.
63128 * nss/nsswitch.conf (initgroups): Change action for successful db
63129 lookup to continue for compatibility.
63131 2011-05-09 Ulrich Drepper <drepper@gmail.com>
63134 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63136 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63138 * iconvdata/tst-tables.sh: Likewise.
63139 * iconvdata/cp770.c: New file.
63140 * iconvdata/cp771.c: New file.
63141 * iconvdata/cp772.c: New file.
63142 * iconvdata/cp773.c: New file.
63143 * iconvdata/cp774.c: New file.
63144 * iconvdata/testdata/CP770: New file.
63145 * iconvdata/testdata/CP770..UTF8: New file.
63146 * iconvdata/testdata/CP771: New file.
63147 * iconvdata/testdata/CP771..UTF8: New file.
63148 * iconvdata/testdata/CP772: New file.
63149 * iconvdata/testdata/CP772..UTF8: New file.
63150 * iconvdata/testdata/CP773: New file.
63151 * iconvdata/testdata/CP773..UTF8: New file.
63152 * iconvdata/testdata/CP774: New file.
63153 * iconvdata/testdata/CP774..UTF8: New file.
63155 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63157 * iconvdata/gen-8bit-gap.sh: Likewise.
63158 * iconvdata/gen-8bit.sh: Likewise.
63160 * locale/iso-639.def: Add ary entry.
63163 * locale/C-translit.h.in: Add U20A1 transliteration.
63166 * locale/iso-639.def: Add wae entry.
63167 Patch by Kevin Bortis <bortis@translate-wae.ch>.
63170 * locale/programs/localedef.c (construct_output_path): Use ssize_t
63174 * locale/C-translit.h.in: Add entry for U20B9.
63175 Patch by pravin.d.s@gmail.com.
63177 2011-05-08 Ulrich Drepper <drepper@gmail.com>
63180 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63181 ENAMETOOLONG use generic getcwd.
63182 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
63183 in rtld. Use *stat64.
63184 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63185 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63186 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63187 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63188 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63189 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63190 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63191 __fstatat64 macros.
63192 * include/dirent.h: Add libc_hidden_proto for rewinddir.
63193 * dirent/rewinddir.c: Add libc_hidden_def.
63194 * sysdeps/mach/hurd/rewinddir.c: Likewise.
63195 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
63197 * include/dirent.h (__alloc_dir): Add flags parameter.
63198 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63199 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63201 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
63202 from fdopendir if O_CLOEXEC is already set.
63204 2011-03-15 Alan Modra <amodra@gmail.com>
63206 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63207 l_tls_firstbyte_offset non-zero. Save padding offset in
63208 l_tls_firstbyte_offset for later use.
63209 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63210 freeing static tls block.
63212 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
63214 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63215 where #ifdef was intended. The intent is to prevent ARG_MAX from
63216 being defined by the kernel headers.
63218 2011-05-07 Ulrich Drepper <drepper@gmail.com>
63221 * resolv/resolv.h: Define RES_NOTLDQUERY.
63222 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63223 no-tld-query and set RES_NOTLDQUERY.
63224 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63225 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63226 modern BIND to search name as TLD unless forbidden.
63228 2011-05-07 Petr Baudis <pasky@suse.cz>
63229 Ulrich Drepper <drepper@gmail.com>
63232 * elf/dl-load.c (fillin_rpath): Move trusted path check...
63233 (is_trusted_path): ...to here.
63234 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63235 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63236 using is_trusted_path_normalize() in setuid scripts.
63238 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
63240 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63241 __BEGIN/__END_DECLS.
63243 2011-05-06 Ulrich Drepper <drepper@gmail.com>
63245 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63246 NSS_STATUS_NOTFOUND if no record was found.
63248 2011-05-05 Andreas Schwab <schwab@redhat.com>
63250 * sunrpc/Makefile (headers): Add rpc/netdb.h.
63251 (headers-not-in-tirpc): Remove rpc/netdb.h
63252 * resolv/netdb.h: Revert last change.
63254 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
63256 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63257 circular dependency between libgcc.a and libc.a.
63259 2011-05-05 Andreas Schwab <schwab@redhat.com>
63261 * resolv/netdb.h: Don't include <rpc/netdb.h>.
63262 * nis/Makefile: Don't install rpcsvc/*.
63263 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63264 instead of <rpc/types.h>.
63265 (MAXHOSTNAMELEN): Define.
63267 2011-05-03 Andreas Schwab <schwab@redhat.com>
63269 * elf/ldconfig.c (add_dir): Don't crash on empty path.
63271 2011-04-28 Maciej Babinski <mbabinski@google.com>
63274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63275 gethostbyname4_r when IPv6 results are possible.
63277 2011-05-02 Ulrich Drepper <drepper@gmail.com>
63280 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63281 _PC_PIPE_BUF handling.
63283 2011-04-30 Bruno Haible <bruno@clisp.org>
63286 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63287 * resolv/netdb.h (getnameinfo): Change type of flags parameter
63289 * inet/getnameinfo.c (getnameinfo): Likewise.
63291 2011-04-29 Ulrich Drepper <drepper@gmail.com>
63293 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63294 to groups setting in database lookup.
63295 * nss/nsswitch.conf: Add initgroups entry.
63297 2011-04-22 Ulrich Drepper <drepper@gmail.com>
63300 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63302 Patch by Eric Blake <eblake@redhat.com>.
63304 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
63306 * sunrpc/Makefile (need-export-routines): Add svc_run.
63307 (routines): Remove svc_run.
63308 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63309 * sunrpc/clnt_perr.c (clnt_perrno): Export.
63310 * sunrpc/svc_run.c (svc_run): Likewise.
63311 * sunrpc/svc_udp.c (svcudp_create): Likewise.
63313 2011-04-21 Ulrich Drepper <drepper@gmail.com>
63315 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63316 problem in reallocation in last patch.
63318 2011-04-20 Ulrich Drepper <drepper@gmail.com>
63320 * sunrpc/Makefile: Move inclusion of Rules.
63322 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63324 * nss/nss_files/files-initgroups.c: New file.
63325 * nss/Makefile (libnss_files-routines): Add files-initgroups.
63326 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63327 _nss_files_initgroups_dyn.
63329 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
63331 * elf/elf.h (R_ARM_IRELATIVE): Define.
63333 2011-04-19 Ulrich Drepper <drepper@gmail.com>
63335 * po/ru.po: Update from translation team.
63337 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63339 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63342 2011-02-06 Mike Frysinger <vapier@gentoo.org>
63345 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63346 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63347 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63348 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63349 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63351 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
63353 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63355 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63356 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63357 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63359 2011-04-17 Ulrich Drepper <drepper@gmail.com>
63362 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63364 * stdlib/bug-getcontext.c: New file.
63365 * stdlib/Makefile: Add rules to build and run bug-getcontext.
63367 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63369 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63370 instructions into .machine "z9-109".
63371 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63372 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63374 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63376 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63377 between environment variables and auxiliary vector.
63379 2011-04-16 Ulrich Drepper <drepper@gmail.com>
63381 * Makefile: Add rules to build linkobj/libc.so.
63382 * include/libc-symbols.h: Define libc_hidden_nolink.
63383 * include/rpc/auth.h: Mark functions which are to be hidden.
63384 * include/rpc/auth_des.h: Likewise.
63385 * include/rpc/auth_unix.h: Likewise.
63386 * include/rpc/clnt.h: Likewise.
63387 * include/rpc/des_crypt.h: Likewise.
63388 * include/rpc/key_prot.h: Likewise.
63389 * include/rpc/pmap_clnt.h: Likewise.
63390 * include/rpc/pmap_prot.h: Likewise.
63391 * include/rpc/pmap_rmt.h: Likewise.
63392 * include/rpc/rpc_msg.h: Likewise.
63393 * include/rpc/svc.h: Likewise.
63394 * include/rpc/svc_auth.h: Likewise.
63395 * include/rpc/xdr.h: Likewise.
63396 * nis/Makefile: Link all DSOs against linkobj/libc.so.
63397 * nss/Makefile: Likewise.
63398 * sunrpc/Makefile: Don't install headers. Build library with normal
63399 entry points. Don't build rpcinfo. Link RPC tests appropriately.
63400 * sunrpc/auth_des.c: Hide exported symbols by default, export some
63401 for the compat linking library. Remove use of INTDEF/INTUSE.
63402 * sunrpc/auth_none.c: Likewise.
63403 * sunrpc/auth_unix.c: Likewise.
63404 * sunrpc/authdes_prot.c: Likewise.
63405 * sunrpc/authuxprot.c: Likewise.
63406 * sunrpc/clnt_gen.c: Likewise.
63407 * sunrpc/clnt_perr.c: Likewise.
63408 * sunrpc/clnt_raw.c: Likewise.
63409 * sunrpc/clnt_simp.c: Likewise.
63410 * sunrpc/clnt_tcp.c: Likewise.
63411 * sunrpc/clnt_udp.c: Likewise.
63412 * sunrpc/clnt_unix.c: Likewise.
63413 * sunrpc/des_crypt.c: Likewise.
63414 * sunrpc/des_soft.c: Likewise.
63415 * sunrpc/get_myaddr.c: Likewise.
63416 * sunrpc/key_call.c: Likewise.
63417 * sunrpc/key_prot.c: Likewise.
63418 * sunrpc/netname.c: Likewise.
63419 * sunrpc/pm_getmaps.c: Likewise.
63420 * sunrpc/pm_getport.c: Likewise.
63421 * sunrpc/pmap_clnt.c: Likewise.
63422 * sunrpc/pmap_prot.c: Likewise.
63423 * sunrpc/pmap_prot2.c: Likewise.
63424 * sunrpc/pmap_rmt.c: Likewise.
63425 * sunrpc/publickey.c: Likewise.
63426 * sunrpc/rpc_cmsg.c: Likewise.
63427 * sunrpc/rpc_common.c: Likewise.
63428 * sunrpc/rpc_dtable.c: Likewise.
63429 * sunrpc/rpc_prot.c: Likewise.
63430 * sunrpc/rpc_thread.c: Likewise.
63431 * sunrpc/rtime.c: Likewise.
63432 * sunrpc/svc.c: Likewise.
63433 * sunrpc/svc_auth.c: Likewise.
63434 * sunrpc/svc_authux.c: Likewise.
63435 * sunrpc/svc_raw.c: Likewise.
63436 * sunrpc/svc_run.c: Likewise.
63437 * sunrpc/svc_simple.c: Likewise.
63438 * sunrpc/svc_tcp.c: Likewise.
63439 * sunrpc/svc_udp.c: Likewise.
63440 * sunrpc/svc_unix.c: Likewise.
63441 * sunrpc/svcauth_des.c: Likewise.
63442 * sunrpc/xcrypt.c: Likewise.
63443 * sunrpc/xdr.c: Likewise.
63444 * sunrpc/xdr_array.c: Likewise.
63445 * sunrpc/xdr_float.c: Likewise.
63446 * sunrpc/xdr_intXX_t.c: Likewise.
63447 * sunrpc/xdr_mem.c: Likewise.
63448 * sunrpc/xdr_rec.c: Likewise.
63449 * sunrpc/xdr_ref.c: Likewise.
63450 * sunrpc/xdr_sizeof.c: Likewise.
63451 * sunrpc/xdr_stdio.c: Likewise.
63453 2011-04-10 Ulrich Drepper <drepper@gmail.com>
63456 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63457 * sysdeps/ia64/dl-tls.h: Likewise.
63458 * sysdeps/powerpc/dl-tls.h: Likewise.
63459 * sysdeps/s390/dl-tls.h: Likewise.
63460 * sysdeps/sh/dl-tls.h: Likewise.
63461 * sysdeps/sparc/dl-tls.h: Likewise.
63462 * sysdeps/x86_64/dl-tls.h: Likewise.
63463 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63465 2011-03-14 Andreas Schwab <schwab@redhat.com>
63467 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63468 rpath element also skip the following colon.
63469 (expand_dynamic_string_token): Add is_path parameter and pass
63470 down to DL_DST_REQUIRED and _dl_dst_substitute.
63471 (decompose_rpath): Call expand_dynamic_string_token with
63472 non-zero is_path. Ignore empty rpaths.
63473 (_dl_map_object_from_fd): Call expand_dynamic_string_token
63476 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
63478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63481 2011-04-09 Ulrich Drepper <drepper@gmail.com>
63484 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63485 Patch by Filipe David Manana <fdmanana@apache.org>.
63487 2011-04-07 Andreas Schwab <schwab@redhat.com>
63489 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63490 Maintain aligned stack.
63491 (CHECK_RSP): Remove unused macro.
63493 2011-04-03 Ulrich Drepper <drepper@gmail.com>
63495 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63496 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63498 2011-04-02 Ulrich Drepper <drepper@gmail.com>
63500 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63502 * include/features.h: Mention __USE_XOPEN2K8 in comment.
63504 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
63507 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63508 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63509 * sysdeps/x86_64/memmove.c: New file.
63510 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63511 (memcpy): Renamed to ...
63512 (__new_memcpy): This.
63513 (memcpy): Provide GLIBC_2_14 memcpy.
63514 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63515 (memcpy): Provide GLIBC_2_2_5 memcpy.
63517 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63520 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63522 2011-03-30 Andreas Schwab <schwab@redhat.com>
63524 * misc/syncfs.c: New file.
63525 * misc/Makefile (routines): Add syncfs.
63526 * posix/unistd.h: Declare syncfs.
63527 * sysdeps/unix/syscalls.list: Add syncfs.
63529 2011-04-01 Andreas Schwab <schwab@redhat.com>
63531 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63533 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63534 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63535 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63536 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63538 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63539 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63541 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63543 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63544 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63545 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63549 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63551 * io/Makefile: Compile fallocate.c, fallocate64.c, and
63552 sync_file_range.c with -fexceptions.
63553 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63554 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63555 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63556 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63557 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63558 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63559 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63560 sync_file_range as cancellation point
63561 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
63562 now a wrapper around __call_sync_file_range with cancellation handling.
63563 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63564 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
63565 function name to __call_sync_file_range.
63566 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63567 Add call_sync_file_range.
63569 2011-04-01 Andreas Schwab <schwab@redhat.com>
63571 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63574 2011-04-01 Ulrich Drepper <drepper@gmail.com>
63576 * iconv/iconv.h: Fix typo in comment.
63577 * io/fcntl.h: Likewise.
63578 * libio/stdio.h: Likewise.
63579 * posix/spawn.h: Likewise.
63580 * posix/unistd.h: Likewise.
63581 * stdlib/stdlib.h: Likewise.
63582 * time/time.h: Likewise.
63583 * wcsmbs/wchar.h: Likewise.
63585 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63586 open_by_handle): Add.
63587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63588 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
63589 Augment a few comments.
63590 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63591 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63592 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63593 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63594 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63595 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63598 * io/fcntl.h (AT_EMPTY_PATH): Define.
63600 2011-03-30 Ulrich Drepper <drepper@gmail.com>
63602 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63603 * sysdeps/unix/sysv/linux/bits/time.h: New file.
63604 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63606 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
63607 * Versions.def: Add GLIBC_2.14.
63608 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63611 2011-03-22 Ulrich Drepper <drepper@gmail.com>
63613 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63615 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63617 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
63620 * string/test-strncmp.c (do_page_test): New function.
63621 (check2): Likewise.
63622 (test_main): Call check2.
63623 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63625 2011-03-20 Ulrich Drepper <drepper@gmail.com>
63628 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63629 Handle cache information in CPU leaf 4.
63630 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63632 2011-03-18 Ulrich Drepper <drepper@gmail.com>
63635 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63636 character representation.
63637 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63639 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
63641 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63642 END(__isnan) to END(__isnanf) to match function entry point/label
63643 EALIGN(__isnanf,...).
63645 2011-03-10 Jakub Jelinek <jakub@redhat.com>
63647 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63649 2011-03-10 Ulrich Drepper <drepper@gmail.com>
63652 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63653 copy from the symbol referenced in the relocation to initialize the
63655 Patch by Piotr Bury <pbury@goahead.com>.
63656 * elf/Makefile: Add rules to build and tst-unique3.
63657 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63658 * elf/tst-unique3.cc: New file.
63659 * elf/tst-unique3.h: New file.
63660 * elf/tst-unique3lib.cc: New file.
63661 * elf/tst-unique3lib2.cc: New file.
63663 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63665 2011-03-10 Mike Frysinger <vapier@gentoo.org>
63667 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63668 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
63671 2011-03-06 Ulrich Drepper <drepper@gmail.com>
63673 * elf/dl-load.c (_dl_map_object): If we are looking for the first
63674 to-be-loaded object along a path to loader is ld.so.
63676 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63677 Ulrich Drepper <drepper@gmail.com>
63679 * sysdeps/x86_64/memset.S: After aligning destination, code
63680 branches to different locations depending on the value of
63681 misalignment, when multiarch is enabled. Fix this.
63683 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
63685 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63686 Set _x86_64_preferred_memory_instruction for AMD processsors.
63687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63688 Set bit_Prefer_SSE_for_memop for AMD processors.
63690 2011-03-04 Ulrich Drepper <drepper@gmail.com>
63692 * libio/fmemopen.c (fmemopen): Optimize a bit.
63694 2011-03-03 Andreas Schwab <schwab@redhat.com>
63696 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63698 2011-03-03 Roland McGrath <roland@redhat.com>
63700 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63702 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
63704 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63705 __bzero_ultra1 instead of __memset_ultra1.
63707 2011-02-23 Andreas Schwab <schwab@redhat.com>
63708 Ulrich Drepper <drepper@gmail.com>
63711 * include/link.h (struct link_map): Add l_orig_initfini.
63712 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63713 returning unsuccessfully.
63714 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63715 close of a file loaded at startup, restore the original l_initfini
63717 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63718 list, store the pointer.
63719 * elf/Makefile ($(objpfx)noload-mem): New rule.
63720 (noload-ENV): Define.
63721 (tests): Add $(objpfx)noload-mem.
63722 * elf/noload.c: Include <memcheck.h>.
63723 (main): Call mtrace. Close all opened handles.
63725 2011-02-17 Andreas Schwab <schwab@redhat.com>
63728 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63729 dependencies are missing.
63731 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
63733 Fix __if_freereq crash: Unlike the generic version which uses free,
63735 * sysdeps/mach/hurd/ifreq.h: New file.
63737 2011-01-27 Petr Baudis <pasky@suse.cz>
63738 Ulrich Drepper <drepper@gmail.com>
63741 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63742 to extend_alloca().
63743 * stdio-common/bug23.c: New file.
63744 * stdio-common/Makefile (tests): Add bug23.
63746 2010-09-28 Andreas Schwab <schwab@redhat.com>
63747 Ulrich Drepper <drepper@gmail.com>
63750 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63751 before performing relro protection. At old place add assertion
63752 to make sure nothing changed.
63754 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
63755 Glauber de Oliveira Costa <glommer@gmail.com>
63757 * elf/elf.h: Add new ARM TLS relocs.
63759 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
63761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63762 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63764 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
63766 * sysdeps/wordsize-64/tst-writev.c: New file.
63768 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
63770 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63771 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63772 insns in _dl_start to prevent a TOC reference before relocs are
63775 2011-02-15 Ulrich Drepper <drepper@gmail.com>
63778 * Makeconfig: Remove RANLIB definition.
63779 * Makerules: Don't use RANLIB.
63780 * aclocal.m4: Remove ranlib test.
63781 * configure.in: No need to check for ranlib.
63782 * elf/rtld-Rules: Don't use RANLIB.
63784 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
63786 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63788 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63789 inclusion protection macro.
63791 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63792 SIGRTMIN and SIGRTMAX and print information in that case only when
63793 SIGRTMIN is defined.
63795 2011-02-11 Jakub Jelinek <jakub@redhat.com>
63797 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63798 arginfo fn returning -1.
63800 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63801 and thousands string is zero terminated.
63803 2011-02-03 Andreas Schwab <schwab@redhat.com>
63805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63806 sysdeps/unix/sysv/linux/bits/socket.h.
63808 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
63810 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63811 (__CPU_COUNT): Remove old macros.
63812 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63813 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63814 (__CPU_ALLOC, __CPU_FREE): Add macros.
63815 (__sched_cpualloc, __sched_cpufree): Add declarations.
63817 2011-02-05 Ulrich Drepper <drepper@gmail.com>
63819 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63820 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63821 * nscd/aicache.c (addhstaiX): Return timeout of added value.
63822 (readdhstai): Return value of addhstaiX call.
63823 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63824 (addgrbyX): Return value returned by cache_addgr.
63825 (readdgrbyname): Return value returned by addgrbyX.
63826 (readdgrbygid): Likewise.
63827 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63828 (addpwbyX): Return value returned by cache_addpw.
63829 (readdpwbyname): Return value returned by addhstbyX.
63830 (readdpwbyuid): Likewise.
63831 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63832 (addservbyX): Return value returned by cache_addserv.
63833 (readdservbyname): Return value returned by addservbyX:
63834 (readdservbyport): Likewise.
63835 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63836 (addhstbyX): Return value returned by cache_addhst.
63837 (readdhstbyname): Return value returned by addhstbyX.
63838 (readdhstbyaddr): Likewise.
63839 (readdhstbynamev6): Likewise.
63840 (readdhstbyaddrv6): Likewise.
63841 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63842 (readdinitgroups): Return value returned by addinitgroupsX.
63843 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63844 (prune_cache): Keep track of timeout value of re-added entries.
63845 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63846 * nscd/nscd.h: Adjust prototypes of readd* functions.
63848 2011-02-04 Roland McGrath <roland@redhat.com>
63850 * nis/nis_server.c (nis_servstate): Use the right name for 0.
63851 (nis_stats): Likewise.
63852 * nis/nis_modify.c (nis_modify): Likewise.
63853 * nis/nis_remove.c (nis_remove): Likewise.
63854 * nis/nis_add.c (nis_add): Likewise.
63856 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63858 * posix/fnmatch_loop.c: Add some consts.
63860 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63862 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
63865 * config.make.in (config-cflags-novzeroupper): Define.
63866 * configure.in: Substitute libc_cv_cc_novzeroupper.
63867 * elf/Makefile (AVX-CFLAGS): Define.
63868 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63869 (CFLAGS-tst-auditmod4a.c): Likewise.
63870 (CFLAGS-tst-auditmod4b.c): Likewise.
63871 (CFLAGS-tst-auditmod6b.c): Likewise.
63872 (CFLAGS-tst-auditmod6c.c): Likewise.
63873 (CFLAGS-tst-auditmod7b.c): Likewise.
63874 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63876 2011-02-02 Ulrich Drepper <drepper@gmail.com>
63878 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63879 function to the callback.
63880 Patch partly by Jiri Olsa <jolsa@redhat.com>.
63882 2011-02-02 Andreas Schwab <schwab@redhat.com>
63884 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63887 2011-01-19 Ulrich Drepper <drepper@gmail.com>
63890 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63892 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63894 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63897 * elf/Makefile: Add rules to build and run new test.
63898 * elf/tst-initorder.c: New file.
63899 * elf/tst-initorder.exp: New file.
63900 * elf/tst-initordera1.c: New file.
63901 * elf/tst-initordera2.c: New file.
63902 * elf/tst-initordera3.c: New file.
63903 * elf/tst-initordera4.c: New file.
63904 * elf/tst-initorderb1.c: New file.
63905 * elf/tst-initorderb2.c: New file.
63906 * elf/tst-order-a1.c: New file.
63907 * elf/tst-order-a2.c: New file.
63908 * elf/tst-order-a3.c: New file.
63909 * elf/tst-order-a4.c: New file.
63910 * elf/tst-order-b1.c: New file.
63911 * elf/tst-order-b2.c: New file.
63912 * elf/tst-order-main.c: New file.
63913 New test case by George Gensure <werkt0@gmail.com>.
63915 2010-10-01 Andreas Schwab <schwab@redhat.com>
63917 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63918 decoding ACE if AI_CANONIDN.
63920 2011-01-18 Ulrich Drepper <drepper@gmail.com>
63922 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63924 2011-01-17 Ulrich Drepper <drepper@gmail.com>
63926 * version.h (RELEASE): Bump for 2.13 release.
63927 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63929 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63931 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63933 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63934 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63935 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63936 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63937 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63938 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63940 * posix/getconf.c: Update copyright year.
63941 * catgets/gencat.c: Likewise.
63942 * csu/version.c: Likewise.
63943 * debug/catchsegv.sh: Likewise.
63944 * debug/xtrace.sh: Likewise.
63945 * elf/ldconfig.c: Likewise.
63946 * elf/ldd.bash.in: Likewise.
63947 * elf/sprof.c (print_version): Likewise.
63948 * iconv/iconv_prog.c: Likewise.
63949 * iconv/iconvconfig.c: Likewise.
63950 * locale/programs/locale.c: Likewise.
63951 * locale/programs/localedef.c: Likewise.
63952 * malloc/memusage.sh: Likewise.
63953 * malloc/mtrace.pl: Likewise.
63954 * nscd/nscd.c (print_version): Likewise.
63955 * nss/getent.c: Likewise.
63957 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63958 PF_CAIF, and PF_ALG.
63959 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63961 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
63963 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63964 (modules-names): Use them.
63965 (ifunc-test-modules, ifunc-pie-tests): Define.
63966 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63967 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63968 (test-extras): Likewise.
63969 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63970 $(compile-command.c).
63971 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63972 (all-built-dso): Define.
63973 (check-textrel.out, check-execstack.out): Depend on it.
63975 * configure.in: Don't override --enable-multi-arch.
63977 2011-01-15 Ulrich Drepper <drepper@gmail.com>
63980 * nscd/hstcache.c (tryagain): Define.
63981 (cache_addhst): Return tryagain not notfound for temporary errors.
63982 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63985 2011-01-14 Ulrich Drepper <drepper@gmail.com>
63988 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63989 to make the syscall.
63990 * sysdeps/unix/sysv/linux/setgroups.c: New file.
63993 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63994 and fall back to matching as normal character if the string ends before
63995 the matching ']' is found. This is what POSIX requires.
63996 * posix/testfnm.c: Adjust test result.
63997 * posix/globtest.sh: Adjust test result. Add new test.
63998 * posix/tst-fnmatch.input: Likewise.
63999 * posix/tst-fnmatch2.c: Add new test.
64001 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
64003 * elf/Makefile (check-execstack): Revert last change. Depend on
64005 (check-execstack.h): New target.
64006 (generated): Add check-execstack.h.
64007 * elf/check-execstack.c: Include "check-execstack.h".
64008 (main): Revert last change.
64009 (handle_file): Return zero if GNU_STACK is absent and
64010 DEFAULT_STACK_PERMS doesn't include PF_X.
64012 2011-01-13 Ulrich Drepper <drepper@gmail.com>
64014 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64015 in child fails because the descriptor is already closed.
64016 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64017 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64018 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64021 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64025 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64026 temporary buffer used to handle multi lookups locally.
64027 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64029 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64031 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64034 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
64036 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64037 alignment for SSE2.
64039 2011-01-12 Ulrich Drepper <drepper@gmail.com>
64042 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64043 characters. When rounding increased number of integer digits recompute
64045 * stdio-common/tst-grouping.c: New file.
64046 * stdio-common/Makefile: Add rules to build and run tst-grouping.
64048 2011-01-09 Ulrich Drepper <drepper@gmail.com>
64050 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64051 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
64053 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64055 * bits/select.h: Likewise.
64057 2011-01-08 Ulrich Drepper <drepper@gmail.com>
64059 * po/ja.po: Update from translation team.
64061 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
64064 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64065 implementation just like for lxstat, fxstatat, et al.
64067 2010-12-27 Jim Meyering <meyering@redhat.com>
64070 * posix/regexec.c (build_trtable): Return failure indication upon
64071 calloc failure. Otherwise, re_search_internal could infloop on OOM.
64073 2010-12-25 Ulrich Drepper <drepper@gmail.com>
64076 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64077 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64078 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64079 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64082 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64085 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64086 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64088 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
64090 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64091 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64092 script has SORT_BY_INIT_PRIORITY.
64093 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64094 NO_CTORS_DTORS_SECTIONS is defined.
64095 * elf/soinit.c: Likewise.
64096 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64097 NO_CTORS_DTORS_SECTIONS is defined.
64098 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64099 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64100 * sysdeps/sh/init-first.c: Likewise.
64101 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64103 2010-12-24 Ulrich Drepper <drepper@gmail.com>
64105 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64106 always use the slow path.
64108 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
64110 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64111 similar rule which adds the sysdep directories to the header search in
64112 order to pick up the correct platform stackinfo.h.
64113 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64114 perform test if it is, otherwise return successfully without testing.
64115 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64116 DEFAULT_STACK_PERMS define in stackinfo.h.
64117 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64118 defined in stackinfo.h.
64119 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64120 DEFAULT_STACK_PERMS defined in stackinfo.h.
64121 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64122 * sysdeps/ia64/stackinfo.h: Likewise.
64123 * sysdeps/s390/stackinfo.h: Likewise.
64124 * sysdeps/sh/stackinfo.h: Likewise.
64125 * sysdeps/sparc/stackinfo.h: Likewise.
64126 * sysdeps/x86_64/stackinfo.h: Likewise.
64127 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64128 PF_X for powerpc64. Retain PF_X for powerpc32.
64130 2010-12-19 Ulrich Drepper <drepper@gmail.com>
64132 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64134 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64135 GETDENTS_64BIT_ALIGNED.
64137 2010-12-14 Ulrich Drepper <dreper@gmail.com>
64139 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64141 2010-12-10 Andreas Schwab <schwab@redhat.com>
64143 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64146 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64147 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64149 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64150 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64152 2010-12-09 Ulrich Drepper <drepper@gmail.com>
64155 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64158 2010-12-09 Jakub Jelinek <jakub@redhat.com>
64160 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64162 2010-12-03 Ulrich Drepper <drepper@gmail.com>
64164 * po/it.po: Update from translation team.
64166 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
64168 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64171 2010-11-30 Ulrich Drepper <drepper@gmail.com>
64173 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64175 2010-11-24 Andreas Schwab <schwab@redhat.com>
64177 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64179 (gaih_getanswer_slice): Likewise.
64181 2010-10-20 Jakub Jelinek <jakub@redhat.com>
64183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64185 2010-05-31 Petr Baudis <pasky@suse.cz>
64188 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64189 silently even in the chroot mode.
64191 2010-11-22 Ulrich Drepper <drepper@gmail.com>
64193 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64194 last patch a bit. Pretty printing
64196 2010-05-31 Petr Baudis <pasky@suse.cz>
64199 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64200 initialization of skip_initgroups_dyn.
64202 2010-11-19 Ulrich Drepper <drepper@gmail.com>
64204 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64205 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64207 2010-11-16 Ulrich Drepper <drepper@gmail.com>
64209 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64211 2010-11-11 Andreas Schwab <schwab@redhat.com>
64213 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64214 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64215 (tst-fnmatch-ENV): Set MALLOC_TRACE.
64216 ($(objpfx)tst-fnmatch-mem): New rule.
64217 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64218 * posix/tst-fnmatch.c (main): Call mtrace.
64220 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
64222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64223 Support Intel processor model 6 and model 0x2c.
64225 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
64227 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64230 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
64233 * string/test-strncasecmp.c (check_result): New function.
64234 (do_one_test): Use it.
64235 (check1): New function.
64236 (test_main): Use it.
64237 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64238 Support strcasecmp and strncasecmp.
64240 2010-11-08 Ulrich Drepper <drepper@gmail.com>
64243 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64244 * sysdeps/x86_64/bits/byteswap.h: Likewise.
64246 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
64248 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64250 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64252 * sysdeps/x86_64/multiarch/bzero.S: New file.
64253 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64254 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64255 * sysdeps/x86_64/multiarch/memset.S: New file.
64256 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64257 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64258 Set bit_Prefer_SSE_for_memop for Intel processors.
64259 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64261 (index_Prefer_SSE_for_memop): Define.
64262 (HAS_PREFER_SSE_FOR_MEMOP): Define.
64264 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
64266 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64267 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64269 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
64272 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64273 (__x86_64_raw_data_cache_size_half): Likewise.
64274 (__x86_64_raw_shared_cache_size): Likewise.
64275 (__x86_64_raw_shared_cache_size_half): Likewise.
64277 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64278 (__x86_64_raw_data_cache_size_half): Likewise.
64279 (__x86_64_raw_shared_cache_size): Likewise.
64280 (__x86_64_raw_shared_cache_size_half): Likewise.
64281 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64282 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64283 and __x86_64_raw_shared_cache_size_half. Round
64284 __x86_64_data_cache_size_half, __x86_64_data_cache_size
64285 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64286 to multiple of 256 bytes.
64288 2010-11-03 Ulrich Drepper <drepper@gmail.com>
64291 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64292 of inacessible symlinks. Verify result of symlink before returning it.
64293 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64294 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64296 2010-10-28 Erich Ritz <erichritz@gmail.com>
64298 * math/math.h (isinf): Fix typo in comment.
64300 2010-11-01 Ulrich Drepper <drepper@gmail.com>
64302 * po/da.po: Update from translation team.
64304 2010-10-26 Ulrich Drepper <drepper@gmail.com>
64306 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64307 is added to the list.
64309 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64310 Ulrich Drepper <drepper@gmail.com>
64312 * elf/dl-object.c (_dl_new_object): Don't append the new object to
64313 the global list here. Move code to...
64314 (_dl_add_to_namespace_list): ...here. New function.
64315 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64316 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64317 * elf/dl-load.c (lose): Don't remove the element from the list.
64318 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64319 (_dl_map_object): Likewise.
64321 2010-10-25 Ulrich Drepper <drepper@gmail.com>
64324 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64325 into all bytes of SSE register.
64326 Patch by Richard Li <richardpku@gmail.com>.
64328 2010-10-24 Ulrich Drepper <drepper@gmail.com>
64331 * malloc/malloc.c (_int_free): Fill correct number of bytes when
64334 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
64336 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64337 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64338 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64339 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64344 2010-10-22 Andreas Schwab <schwab@redhat.com>
64346 * include/dlfcn.h (__RTLD_SECURE): Define.
64347 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
64348 mode & __RTLD_SECURE instead.
64349 (open_path): Rename preloaded parameter to secure.
64350 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64351 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64352 * elf/dl-deps.c (openaux): Likewise.
64353 * elf/rtld.c (struct map_args): Remove is_preloaded.
64354 (map_doit): Don't use it.
64355 (dl_main): Likewise.
64356 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64357 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64359 2010-09-09 Andreas Schwab <schwab@redhat.com>
64361 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64362 (sysd-rules-targets): Remove duplicates.
64363 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64364 rtld-%.$o dependency.
64366 2010-10-18 Andreas Schwab <schwab@redhat.com>
64368 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64369 _dl_map_object do it.
64371 2010-10-19 Ulrich Drepper <drepper@gmail.com>
64373 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64374 fast fma builtins, define the macros in the C99 standard.
64375 (FP_FAST_FMAF): Likewise.
64376 (FP_FAST_FMAL): Likewise.
64377 * sysdeps/x86_64/bits/mathdef.h: Likewise.
64379 * bits/mathdef.h: Update copyright year.
64380 * sysdeps/powerpc/bits/mathdef.h: Likewise.
64382 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
64384 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64385 builtins, define the macros in the C99 standard.
64386 (FP_FAST_FMAF): Likewise.
64387 (FP_FAST_FMAL): Likewise.
64388 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64390 (FP_FAST_FMAF): Likewise.
64392 2010-10-15 Jakub Jelinek <jakub@redhat.com>
64395 * math/libm-test.inc (fma_test): Some new testcases.
64396 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64397 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64398 y and infinite z. Do multiplication by C already in long double.
64399 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64401 y and infinite z. Do bitwise or of inexact bit into u.d.
64402 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64403 * sysdeps/i386/fpu/s_fmaf.S: Removed.
64404 * sysdeps/i386/fpu/s_fma.S: Removed.
64405 * sysdeps/i386/fpu/s_fmal.S: Removed.
64407 2010-10-16 Jakub Jelinek <jakub@redhat.com>
64410 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64412 computation is not scheduled after fetestexcept. Fix value
64413 of minimum denormal long double.
64415 2010-10-14 Jakub Jelinek <jakub@redhat.com>
64418 * math/libm-test.inc (fma_test): Add some more tests.
64419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64422 2010-10-15 Andreas Schwab <schwab@redhat.com>
64424 * scripts/data/localplt-s390-linux-gnu.data: New file.
64425 * scripts/data/localplt-s390x-linux-gnu.data: New file.
64427 2010-10-13 Jakub Jelinek <jakub@redhat.com>
64430 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64431 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64433 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64435 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64437 if one of x and y is very large and the other is subnormal.
64438 * sysdeps/s390/fpu/s_fmaf.c: New file.
64439 * sysdeps/s390/fpu/s_fma.c: New file.
64440 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64441 * sysdeps/powerpc/fpu/s_fma.S: New file.
64442 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64443 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64444 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64446 2010-10-12 Jakub Jelinek <jakub@redhat.com>
64449 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64451 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64452 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64453 * sysdeps/i386/i686/multiarch/s_fma.c: Include
64454 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64455 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64456 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64457 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64459 2010-10-12 Ulrich Drepper <drepper@redhat.com>
64462 * posix/regcomp.c (parse_branch): One more memory leak plugged.
64463 * posix/bug-regex31.input: Add test case.
64465 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64467 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64468 * posix/bug-regex31.input: New file.
64471 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64472 (parse_sub_exp): Fix last change, use postorder.
64474 * posix/bug-regex31.c: New file.
64475 * posix/Makefile: Add rules to build and run bug-regex31.
64477 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64480 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64483 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64484 to have entries in sys_siglist.
64487 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64490 2010-10-07 Jakub Jelinek <jakub@redhat.com>
64493 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64494 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64495 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64496 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64497 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64498 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64499 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64500 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64501 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64502 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64503 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64504 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64505 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64506 * math/ftestexcept.c (fetestexcept): Likewise.
64507 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64508 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64509 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64510 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64511 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64512 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64513 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64515 2010-10-11 Ulrich Drepper <drepper@gmail.com>
64518 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64521 2010-10-06 Ulrich Drepper <drepper@gmail.com>
64523 * string/bug-strstr1.c: New file.
64524 * string/Makefile: Add rules to build and run bug-strstr1.
64526 2010-10-05 Eric Blake <eblake@redhat.com>
64529 * string/str-two-way.h (two_way_long_needle): Always clear memory
64530 when skipping input due to the shift table.
64532 2010-10-03 Ulrich Drepper <drepper@gmail.com>
64535 * malloc/mcheck.c: Handle large requests.
64538 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64539 for strncmp and strncasecmp.
64540 * string/stratcliff.c: Add tests for strcmp and strncmp.
64541 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64543 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
64545 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64548 2010-09-30 Andreas Jaeger <aj@suse.de>
64550 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64551 (CGROUP_SUPER_MAGIC): Define.
64552 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64553 Handle btrfs and cgroup file systems.
64554 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64557 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
64559 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64560 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64562 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64565 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64566 trying to locate the ELF header.
64568 2010-09-27 Andreas Schwab <schwab@redhat.com>
64571 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64572 Mask out sign-bit copies when constructing f_fsid.
64574 2010-09-24 Petr Baudis <pasky@suse.cz>
64576 * debug/stack_chk_fail_local.c: Add missing licence exception.
64577 * debug/warning-nop.c: Likewise.
64579 2010-09-15 Joseph Myers <joseph@codesourcery.com>
64581 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64582 implementing getdents64 using getdents syscall, set d_type if
64583 __ASSUME_GETDENTS32_D_TYPE.
64585 2010-09-16 Andreas Schwab <schwab@redhat.com>
64587 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64588 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64590 2010-09-21 Ulrich Drepper <drepper@redhat.com>
64593 * posix/unistd.h: Undo change of feature selection for ftruncate from
64596 2010-09-20 Ulrich Drepper <drepper@redhat.com>
64598 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64601 2010-09-20 Andreas Schwab <schwab@redhat.com>
64603 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64605 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64607 2010-09-14 Andreas Schwab <schwab@redhat.com>
64609 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64610 variables after CHECK_SP call.
64611 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64613 2010-09-13 Andreas Schwab <schwab@redhat.com>
64614 Ulrich Drepper <drepper@redhat.com>
64616 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64617 re-relocationg ld.so.
64618 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64619 _dl_init_paths call.
64620 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
64623 2010-09-14 Ulrich Drepper <drepper@redhat.com>
64625 * resolv/res_init.c (__res_vinit): Count the default server we added.
64627 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
64628 Ulrich Drepper <drepper@redhat.com>
64631 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64632 (____longjmp_chk): Use %ebx for saving value across system call.
64635 2010-09-06 Andreas Schwab <schwab@redhat.com>
64637 * manual/Makefile: Don't mix pattern rules with normal rules.
64639 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
64641 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64643 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64644 * libio/iofopncook.c (_IO_cookie_init): Likewise.
64645 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64646 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64650 2010-09-04 Ulrich Drepper <drepper@redhat.com>
64653 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64654 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64656 2010-09-02 Ulrich Drepper <drepper@redhat.com>
64658 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64659 * sysdeps/x86_64/addmul_1.S: Likewise.
64660 * sysdeps/x86_64/lshift.S: Likewise.
64661 * sysdeps/x86_64/mul_1.S: Likewise.
64662 * sysdeps/x86_64/rshift.S: Likewise.
64663 * sysdeps/x86_64/sub_n.S: Likewise.
64664 * sysdeps/x86_64/submul_1.S: Likewise.
64666 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
64668 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64669 Define __sched_param instead of SCHED_* and sched_param when
64670 <bits/sched.h> is included with __need_schedparam defined.
64671 * bits/sched.h [__need_schedparam]
64672 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64673 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64674 (__defined_schedparam): Define to 1.
64675 (__sched_param): New structure, identical to sched_param.
64676 (__need_schedparam): Undefine.
64678 2010-08-31 Mike Frysinger <vapier@gentoo.org>
64680 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64681 (epoll_create1): Declare.
64683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64685 2010-08-31 Andreas Schwab <schwab@redhat.com>
64688 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64689 shifting retval into place.
64691 2010-09-01 Ulrich Drepper <drepper@redhat.com>
64693 * nis/rpcsvc/nis.h: Update copyright notice.
64694 * nis/rpcsvc/nis.x: Likewise.
64695 * nis/rpcsvc/nis_callback.h: Likewise.
64696 * nis/rpcsvc/nis_callback.x: Likewise.
64697 * nis/rpcsvc/nis_object.x: Likewise.
64698 * nis/rpcsvc/nis_tags.h: Likewise.
64699 * nis/rpcsvc/yp.h: Likewise.
64700 * nis/rpcsvc/yp.x: Likewise.
64701 * nis/rpcsvc/ypupd.h: Likewise.
64702 * nis/yp_xdr.c: Likewise.
64703 * nis/ypupdate_xdr.c: Likewise.
64705 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
64706 mainly the body of pmap_getport. Add parameters to specify timeouts.
64707 (pmap_getport): Use __libc_rpc_getport.
64708 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64709 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64710 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64712 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
64714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64717 2010-08-27 Roland McGrath <roland@redhat.com>
64719 * sysdeps/i386/i686/multiarch/Makefile
64720 (CFLAGS-varshift.c): New variable.
64722 2010-08-27 Ulrich Drepper <drepper@redhat.com>
64724 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64725 * sysdeps/i386/i686/multiarch/varshift.c: New file.
64727 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64729 * sysdeps/x86_64/strlen.S: Minimal code improvement.
64731 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
64733 * sysdeps/x86_64/strlen.S: Unroll the loop.
64734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64735 strlen-sse2 strlen-sse2-bsf.
64736 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64737 __strlen_no_bsf if bit_Slow_BSF is set.
64738 (__strlen_sse42): Removed.
64739 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64740 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64742 2010-08-25 Roland McGrath <roland@redhat.com>
64744 * sysdeps/x86_64/multiarch/varshift.S: File removed.
64745 * sysdeps/x86_64/multiarch/varshift.c: New file.
64746 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64747 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64748 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64749 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64751 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
64753 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64754 strlen-sse2 strlen-sse2-bsf.
64755 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64756 __strlen_sse2_bsf if bit_Slow_BSF is unset.
64757 (__strlen_sse2): Removed.
64758 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64759 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64761 bit_Slow_BSF for Atom.
64762 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64763 (index_Slow_BSF): Define.
64764 (HAS_SLOW_BSF): Define.
64766 2010-08-25 Ulrich Drepper <drepper@redhat.com>
64769 * resolv/res_init.c (__res_vinit): When no server address at all
64770 is given default to loopback.
64772 2010-08-24 Roland McGrath <roland@redhat.com>
64774 * configure.in: Remove config-name.h generation.
64775 * configure: Regenerated.
64776 * config-name.in: File removed.
64777 * scripts/config-uname.sh: New file.
64778 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64779 ($(objdir)config-name.h): New target.
64781 * sunrpc/rpc_parse.h: Avoid nested comment.
64783 2010-08-24 Richard Henderson <rth@redhat.com>
64784 Ulrich Drepper <drepper@redhat.com>
64785 H.J. Lu <hongjiu.lu@intel.com>
64787 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64789 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64790 Replace _mm_srli_si128 with __m128i_shift_right. Replace
64791 _mm_alignr_epi8 with _mm_loadu_si128.
64792 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64793 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64794 (__m128i_shift_right): Removed.
64795 * sysdeps/i386/i686/multiarch/varshift.h: New file.
64796 * sysdeps/i386/i686/multiarch/varshift.S: New file.
64797 * sysdeps/x86_64/multiarch/varshift.h: New file.
64798 * sysdeps/x86_64/multiarch/varshift.S: New file.
64800 2010-08-21 Mike Frysinger <vapier@gentoo.org>
64802 * configure.in: Move assembler checks to before sysdep dir checking.
64804 2010-08-20 Petr Baudis <pasky@suse.cz>
64806 * LICENSES: Sync the sunrpc license.
64808 2010-08-19 Ulrich Drepper <drepper@redhat.com>
64810 * sunrpc/auth_des.c: Update copyright notice once again.
64811 * sunrpc/auth_none.c: Likewise.
64812 * sunrpc/auth_unix.c: Likewise.
64813 * sunrpc/authdes_prot.c: Likewise.
64814 * sunrpc/authuxprot.c: Likewise.
64815 * sunrpc/bindrsvprt.c: Likewise.
64816 * sunrpc/clnt_gen.c: Likewise.
64817 * sunrpc/clnt_perr.c: Likewise.
64818 * sunrpc/clnt_raw.c: Likewise.
64819 * sunrpc/clnt_simp.c: Likewise.
64820 * sunrpc/clnt_tcp.c: Likewise.
64821 * sunrpc/clnt_udp.c: Likewise.
64822 * sunrpc/clnt_unix.c: Likewise.
64823 * sunrpc/des_crypt.c: Likewise.
64824 * sunrpc/des_soft.c: Likewise.
64825 * sunrpc/get_myaddr.c: Likewise.
64826 * sunrpc/getrpcport.c: Likewise.
64827 * sunrpc/key_call.c: Likewise.
64828 * sunrpc/key_prot.c: Likewise.
64829 * sunrpc/openchild.c: Likewise.
64830 * sunrpc/pm_getmaps.c: Likewise.
64831 * sunrpc/pm_getport.c: Likewise.
64832 * sunrpc/pmap_clnt.c: Likewise.
64833 * sunrpc/pmap_prot.c: Likewise.
64834 * sunrpc/pmap_prot2.c: Likewise.
64835 * sunrpc/pmap_rmt.c: Likewise.
64836 * sunrpc/rpc/auth.h: Likewise.
64837 * sunrpc/rpc/auth_unix.h: Likewise.
64838 * sunrpc/rpc/clnt.h: Likewise.
64839 * sunrpc/rpc/des_crypt.h: Likewise.
64840 * sunrpc/rpc/key_prot.h: Likewise.
64841 * sunrpc/rpc/netdb.h: Likewise.
64842 * sunrpc/rpc/pmap_clnt.h: Likewise.
64843 * sunrpc/rpc/pmap_prot.h: Likewise.
64844 * sunrpc/rpc/pmap_rmt.h: Likewise.
64845 * sunrpc/rpc/rpc.h: Likewise.
64846 * sunrpc/rpc/rpc_des.h: Likewise.
64847 * sunrpc/rpc/rpc_msg.h: Likewise.
64848 * sunrpc/rpc/svc.h: Likewise.
64849 * sunrpc/rpc/svc_auth.h: Likewise.
64850 * sunrpc/rpc/types.h: Likewise.
64851 * sunrpc/rpc/xdr.h: Likewise.
64852 * sunrpc/rpc_clntout.c: Likewise.
64853 * sunrpc/rpc_cmsg.c: Likewise.
64854 * sunrpc/rpc_common.c: Likewise.
64855 * sunrpc/rpc_cout.c: Likewise.
64856 * sunrpc/rpc_dtable.c: Likewise.
64857 * sunrpc/rpc_hout.c: Likewise.
64858 * sunrpc/rpc_main.c: Likewise.
64859 * sunrpc/rpc_parse.c: Likewise.
64860 * sunrpc/rpc_parse.h: Likewise.
64861 * sunrpc/rpc_prot.c: Likewise.
64862 * sunrpc/rpc_sample.c: Likewise.
64863 * sunrpc/rpc_scan.c: Likewise.
64864 * sunrpc/rpc_scan.h: Likewise.
64865 * sunrpc/rpc_svcout.c: Likewise.
64866 * sunrpc/rpc_tblout.c: Likewise.
64867 * sunrpc/rpc_util.c: Likewise.
64868 * sunrpc/rpc_util.h: Likewise.
64869 * sunrpc/rpcinfo.c: Likewise.
64870 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64871 * sunrpc/rpcsvc/key_prot.x: Likewise.
64872 * sunrpc/rpcsvc/klm_prot.x: Likewise.
64873 * sunrpc/rpcsvc/mount.x: Likewise.
64874 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64875 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64876 * sunrpc/rpcsvc/rex.x: Likewise.
64877 * sunrpc/rpcsvc/rstat.x: Likewise.
64878 * sunrpc/rpcsvc/rusers.x: Likewise.
64879 * sunrpc/rpcsvc/sm_inter.x: Likewise.
64880 * sunrpc/rpcsvc/spray.x: Likewise.
64881 * sunrpc/rpcsvc/yppasswd.x: Likewise.
64882 * sunrpc/rtime.c: Likewise.
64883 * sunrpc/svc.c: Likewise.
64884 * sunrpc/svc_auth.c: Likewise.
64885 * sunrpc/svc_authux.c: Likewise.
64886 * sunrpc/svc_raw.c: Likewise.
64887 * sunrpc/svc_run.c: Likewise.
64888 * sunrpc/svc_simple.c: Likewise.
64889 * sunrpc/svc_tcp.c: Likewise.
64890 * sunrpc/svc_udp.c: Likewise.
64891 * sunrpc/svc_unix.c: Likewise.
64892 * sunrpc/svcauth_des.c: Likewise.
64893 * sunrpc/xcrypt.c: Likewise.
64894 * sunrpc/xdr.c: Likewise.
64895 * sunrpc/xdr_array.c: Likewise.
64896 * sunrpc/xdr_float.c: Likewise.
64897 * sunrpc/xdr_mem.c: Likewise.
64898 * sunrpc/xdr_rec.c: Likewise.
64899 * sunrpc/xdr_ref.c: Likewise.
64900 * sunrpc/xdr_sizeof.c: Likewise.
64901 * sunrpc/xdr_stdio.c: Likewise.
64903 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64906 2010-08-19 Andreas Schwab <schwab@redhat.com>
64908 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64910 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
64912 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64913 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64914 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64915 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64916 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64917 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64918 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64919 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64920 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64921 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64922 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64923 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64924 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64925 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64927 2010-07-26 Anton Blanchard <anton@samba.org>
64929 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64930 * malloc/arena.c (heap_trim): Likewise.
64932 2010-08-16 Ulrich Drepper <drepper@redhat.com>
64934 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64936 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64937 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64939 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
64941 * sysdeps/i386/elf/Makefile: New file.
64943 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64945 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64946 from fanotify_init.
64947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64948 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64950 2010-08-15 Ulrich Drepper <drepper@redhat.com>
64952 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64954 * sysdeps/multiarch/strcmp.S: Likewise.
64956 2010-08-14 Ulrich Drepper <drepper@redhat.com>
64958 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64959 strncase_l-nonascii.
64960 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64961 Add strncase_l-ssse3.
64962 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64963 * sysdeps/x86_64/strcmp.S: Likewise.
64964 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64965 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64966 * sysdeps/x86_64/strncase.S: New file.
64967 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64968 * sysdeps/x86_64/strncase_l.S: New file.
64969 * string/Makefile (strop-tests): Add strncasecmp.
64970 * string/test-strncasecmp.c: New file.
64972 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64975 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64976 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64978 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
64980 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64982 2010-08-12 Ulrich Drepper <drepper@redhat.com>
64984 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64985 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64986 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64988 2010-05-01 Alan Modra <amodra@gmail.com>
64990 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64991 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64992 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64993 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64994 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64995 tidying. Don't tail-call __sigjmp_save for static lib.
64996 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64998 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64999 (CALL_MCOUNT): Add eh info, and nop after bl.
65000 (TAIL_CALL_SYSCALL_ERROR): New macro.
65001 (PSEUDO_RET): Use it.
65002 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65003 Correct save location of integer regs and cr.
65004 (_dl_profile_resolve): Correct cr save location. Delete nops
65005 after bl when SHARED. Reduce cfi size a little by better
65006 placement of cfi directives.
65007 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65008 make a stack frame. Instead use parm save area as a temp.
65009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65010 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
65011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65012 Don't make a stack frame for parent, use parm save area.
65013 Increase child stack frame to 112 bytes. Don't save unused reg,
65014 and adjust reg usage. Set up cfi on error recovery and
65015 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65017 (__makecontext): Add dummy nop after jump to exit.
65018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65019 Use correct parm save area and cr save, reduce stack frame.
65020 Correct cfi for possible PSEUDO_RET frame setup.
65021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65022 Branch to local label emitted by PSEUDO_RET rather than
65025 2010-08-12 Andreas Schwab <schwab@redhat.com>
65028 * locale/programs/locale.c (print_assignment): New function.
65029 (show_locale_vars): Use it.
65031 2010-08-11 Ulrich Drepper <drepper@redhat.com>
65033 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65035 (struct statfs64): Likewise.
65036 (_STATFS_F_FLAGS): Define.
65037 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65038 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65039 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65040 (ST_VALID): Define locally.
65041 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65042 __statvfs_getflags, use the provided value.
65043 * sysdeps/unix/sysv/linux/kernel-features.h: Define
65044 __ASSUME_STATFS_F_FLAGS.
65046 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65048 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65049 Add sys/fanotify.h.
65050 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65051 fanotify_mask for GLIBC_2.13.
65052 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65053 fanotify_init and fanotify_mark.
65054 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65055 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65057 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65059 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65060 prlimit64 for GLIBC_2.13.
65061 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65066 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65067 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65068 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65069 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
65071 * sysdeps/unix/sysv/linux/prlimit.c: New file.
65074 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65075 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65077 * nss/Makefile: Add rules to build and run tst-nss-test1.
65078 * shlib-versions: Add entry for libnss_test1.
65079 * nss/nss_test1.c: New file.
65080 * nss/tst-nss-test1.c: New file.
65082 * nss/nsswitch.c (__nss_database_custom): Define new variable.
65083 (__nss_configure_lookup): Set appropriate entry in
65084 __nss_configure_lookup to true.
65085 * nss/nsswitch.h: Define enum with indeces of databases in
65086 databases and __nss_database_custom arrays. Declare
65087 __nss_database_custom.
65088 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65089 to avoid using nscd when custom rules are installed.
65090 * nss/getXXbyYY_r.c: Likewise.
65091 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65093 * nss/nss_files/files-parse.c: Whitespace fixes.
65095 2010-08-09 Ulrich Drepper <drepper@redhat.com>
65098 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65099 * posix/fnmatch_loop.c: Likewise.
65101 2010-07-17 Andi Kleen <ak@linux.intel.com>
65103 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65104 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65105 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65106 * Versions.def [GLIBC_2.13]: Add.
65108 2010-08-06 Ulrich Drepper <drepper@redhat.com>
65110 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65111 Also fail if tpwd after pwuid call is NULL.
65113 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
65115 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65116 when converting to ms.
65118 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
65120 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65121 EOPNOTSUPP errors with ENOTTY.
65122 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65123 EOPNOTSUPP errors with ENOTTY.
65125 2010-07-31 Ulrich Drepper <drepper@redhat.com>
65127 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65128 Add strcasecmp_l-ssse3.
65129 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65131 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65132 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65133 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65135 2010-07-30 Ulrich Drepper <drepper@redhat.com>
65137 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65139 * string/Makefile (strop-tests): Add strcasecmp.
65140 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65141 strcasecmp_l-nonascii.
65142 (gen-as-const-headers): Add locale-defines.sym.
65143 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65144 * sysdeps/x86_64/strcasecmp.S: New file.
65145 * sysdeps/x86_64/strcasecmp_l.S: New file.
65146 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65147 * sysdeps/x86_64/locale-defines.sym: New file.
65148 * string/test-strcasecmp.c: New file.
65150 * string/test-strcasestr.c: Test both ends of the range of characters.
65151 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65153 2010-07-29 Roland McGrath <roland@redhat.com>
65156 * manual/locale.texi (Yes-or-No Questions): Fix example code.
65158 2010-07-27 Ulrich Drepper <drepper@redhat.com>
65160 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65163 2010-07-27 Andreas Schwab <schwab@redhat.com>
65165 * manual/memory.texi (Malloc Tunable Parameters): Document
65168 2010-07-26 Roland McGrath <roland@redhat.com>
65171 * configure.in (-fgnu89-inline check): Set and substitute
65172 gnu89_inline, not libc_cv_gnu89_inline.
65173 * configure: Regenerated.
65174 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65176 2010-07-26 Ulrich Drepper <drepper@redhat.com>
65178 * string/test-strnlen.c: New file.
65179 * string/Makefile (strop-tests): Add strnlen.
65180 * string/tester.c (test_strnlen): Add a few more test cases.
65181 * string/tst-strlen.c: Better error reporting.
65183 * sysdeps/x86_64/strnlen.S: New file.
65185 2010-07-24 Ulrich Drepper <drepper@redhat.com>
65187 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65188 lower-latency instructions.
65190 2010-07-23 Ulrich Drepper <drepper@redhat.com>
65192 * string/test-strcasestr.c: New file.
65193 * string/test-strstr.c: New file.
65194 * string/Makefile (strop-tests): Add strstr and strcasestr.
65195 * string/str-two-way.h: Don't undefine MAX.
65196 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65198 2010-07-21 Andreas Schwab <schwab@redhat.com>
65200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65201 strcasestr-nonascii.
65202 (CFLAGS-strcasestr-nonascii.c): Define.
65203 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65204 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65205 Remove unused attribute.
65207 2010-07-20 Roland McGrath <roland@redhat.com>
65209 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65210 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
65211 ld.so.cache was broken. With it, there is no way to disable dsocaps
65212 like LD_HWCAP_MASK can disable hwcaps.
65214 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65216 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65218 2010-07-16 Ulrich Drepper <drepper@redhat.com>
65220 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65221 call in strcasestr.
65222 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65223 __strcasestr_sse42_nonascii.
65224 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65225 strcasestr-nonascii.c.
65226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65228 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
65230 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65231 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65232 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65233 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65235 2010-07-09 Ulrich Drepper <drepper@redhat.com>
65237 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65240 2010-07-06 Andreas Schwab <schwab@redhat.com>
65243 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65246 2010-07-06 Ulrich Drepper <drepper@redhat.com>
65248 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65249 _PC_PIPE_BUF using F_GETPIPE_SZ.
65251 2010-07-05 Roland McGrath <roland@redhat.com>
65253 * manual/arith.texi (Rounding Functions): Fix rint description
65254 implicit in round description.
65256 2010-07-02 Ulrich Drepper <drepper@redhat.com>
65258 * elf/Makefile: Fix linking for a few tests to make recent linker
65261 2010-06-30 Andreas Schwab <schwab@redhat.com>
65263 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65264 $(common-objpfx)libc_nonshared.a.
65266 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
65268 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65269 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65270 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65271 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65272 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65273 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65274 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65275 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65290 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65291 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65292 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65293 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65294 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65295 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65296 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65297 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65298 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65299 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65300 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65301 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65317 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
65319 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65320 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
65321 * string/memmove.c (memmove): Renamed to ...
65322 (MEMMOVE): ...this. Default to memmove.
65323 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65324 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65326 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65327 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65328 mempcpy-ssse3-back memmove-ssse3-back.
65329 * sysdeps/x86_64/multiarch/bcopy.S: New file .
65330 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65331 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65332 * sysdeps/x86_64/multiarch/memcpy.S: New file.
65333 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65334 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65335 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65336 * sysdeps/x86_64/multiarch/memmove.c: New file.
65337 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65338 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65339 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65340 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65341 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65342 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65344 (index_Fast_Copy_Backward): Define.
65345 (HAS_ARCH_FEATURE): Define.
65346 (HAS_FAST_REP_STRING): Define.
65347 (HAS_FAST_COPY_BACKWARD): Define.
65349 2010-06-21 Andreas Schwab <schwab@redhat.com>
65351 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65352 Restore proper fallback handling.
65354 2010-06-19 Ulrich Drepper <drepper@redhat.com>
65357 * posix/group_member.c (__group_member): Correct checking loop.
65359 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65360 OOM in getpwuid_r correctly. Return error number when the caller
65361 should return, otherwise -1.
65362 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65363 call returning > 0 value.
65364 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65366 2010-06-07 Andreas Schwab <schwab@redhat.com>
65368 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65369 libc_nonshared.a from targets in modules-names.
65371 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
65373 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65376 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
65378 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65379 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65380 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65381 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65383 2010-06-02 Andreas Schwab <schwab@redhat.com>
65385 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65387 2010-06-14 Ulrich Drepper <drepper@redhat.com>
65389 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65391 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65392 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65393 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65396 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65398 2010-06-14 Roland McGrath <roland@redhat.com>
65400 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65402 2010-06-07 Jakub Jelinek <jakub@redhat.com>
65404 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65405 __REDIRECT followed by __THROW.
65406 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65407 * posix/getopt.h (getopt): Likewise.
65409 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
65411 * hurd/lookup-at.c (__file_name_lookup_at): Accept
65412 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
65413 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65415 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65416 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65418 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
65420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65422 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
65425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65426 Properly check family and model.
65428 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
65430 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65432 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
65434 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65436 2010-05-21 Ulrich Drepper <drepper@redhat.com>
65438 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65441 2010-05-19 Andreas Schwab <schwab@redhat.com>
65443 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65446 2010-05-21 Andreas Schwab <schwab@redhat.com>
65448 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65449 and internal_recvmmsg.
65450 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65451 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65452 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65453 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65455 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65456 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65457 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65459 2010-05-20 Andreas Schwab <schwab@redhat.com>
65461 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65463 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
65465 POWER7 optimizations.
65466 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65467 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65469 2010-05-19 Ulrich Drepper <drepper@redhat.com>
65471 * version.h: Update for 2.13 development version.
65473 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
65475 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65476 exceptions. Return 0.
65478 2010-05-07 Roland McGrath <roland@redhat.com>
65480 * elf/ldconfig.c (main): Add a const.
65482 2010-05-06 Ulrich Drepper <drepper@redhat.com>
65484 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65485 (args_options): Add no-idn option.
65486 (ahosts_keys_int): Add idn_flags to ai_flags.
65487 (parse_option): Handle 'i' option to clear idn_flags.
65489 * malloc/malloc.c (_int_free): Possible race in the most recently
65490 added check. Only act on the data if no current modification
65493 See ChangeLog.17 for earlier changes.