Avoid excess range in results from i386 scalb functions (bug 18981).
[glibc.git] / ChangeLog
blobcafe59e3fb51640a38afd5133e61d301b3b956da
1 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #18981]
4         * sysdeps/i386/fpu/i386-math-asm.h: New file.
5         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
6         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
8         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
9         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10         (__scalbn): Use DBL_NARROW_EVAL.
11         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
12         (__scalbnf): Use FLT_NARROW_EVAL.
14 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
18         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
19         * stdio-common/printf_fp.c (___printf_fp):
20         Use signbit to get the sign. Use isinf macro to allow inlining.
21         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
22         * stdio-common/printf_size.c (__printf_size): Likewise.
24 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
26         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
28 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #18980]
31         * sysdeps/generic/math_private.h: Include <float.h>.
32         (math_narrow_eval): New macro.
33         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
34         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
35         math_narrow_eval on overflowing return value.
36         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
37         Likewise.
38         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
40         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
41         Likewise.
42         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
44 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
46         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
47         * math/Makefile: Remove isinf_ns.c.
48         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
49         * math/multc3.c (__multc3): Likewise.
50         * math/s_casin.c (__casin): Likewise.
51         * math/s_casinf.c (__casinf): Likewise.
52         * math/s_casinl.c (__casinl): Likewise.
53         * math/s_cproj.c (__cproj): Likewise.
54         * math/s_cprojf.c (__cprojf): Likewise.
55         * math/s_cprojl.c (__cprofl): Likewise.
56         * math/s_ctan.c (__ctan): Likewise.
57         * math/s_ctanf.c (__ctanf): Likewise.
58         * math/s_ctanh.c (__ctanh): Likewise.
59         * math/s_ctanhf.c (__ctanhf): Likewise.
60         * math/s_ctanhl.c (__ctanhl): Likewise.
61         * math/s_ctanl.c (__ctanl): Likewise.
62         * math/w_fmod.c (__fmod): Likewise.
63         * math/w_fmodf.c (__fmodf): Likewise.
64         * math/w_fmodl.c (_fmodl): Likewise.
65         * math/w_remainder.c (__remainder): Likewise.
66         * math/w_remainderf.c (__remainderf): Likewise.
67         * math/w_remainderl.c (__remainderl): Likewise.
68         * math/w_scalb.c (__scalb): Likewise.
69         * math/w_scalbf.c (__scalbf): Likewise.
70         * math/w_scalbl.c (__scalbl): Likewise.
71         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
72         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
73         with isinf.
74         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
75         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
76         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
77         __isinf_nsf with isinf.
78         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
79         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
80         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
81         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
82         with isinf.
83         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
84         __isinf_nsl with isinf.
85         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
86         with isinf.
87         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
88         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
89         __isinf_nsl with isinf.
90         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
91         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
92         with isinf.
94 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
96         * resolv/base64.c (rcsid): Remove unused static.
97         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
98         static.  (tqpi1): Likewise.
99         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
100         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
101         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
102         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
103         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
104         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
106         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
107         Likewise.
109 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
111         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
112         <nptl/pthreadP.h>.
113         (_longjmp_unwind): Use __libc_ptf_call.
114         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
116 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
118         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
119         * sysdeps/arm/__longjmp.S: Likewise
121 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
123         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
124         Use __builtin_signbit.
125         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
126         Use __builtin_signbitf.
127         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
128         Use __builtin_signbitl.
129         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
130         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
132 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
134         [BZ #15367]
135         [BZ #17441]
137         * math/Makefile: Build test-snan.c with -fsignaling-nans.
138         * math/math.h (fpclassify): Use __builtin_fpclassify when
139         available.  (signbit): Use __builtin_signbit(f/l).
140         (isfinite): Use__builtin_isfinite.  (isnormal): Use
141         __builtin_isnormal.  (isnan): Use __builtin_isnan.
142         (isinf): Use __builtin_isinf_sign.
144 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
146         * benchtests/Makefile: Add bench-math-inlines, link with libm.
147         * benchtests/bench-math-inlines.c: New benchmark.
148         * benchtests/bench-util.h: New file.
149         * benchtests/bench-util.c: New file.
150         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
152 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
154         * elf/tst-dlmopen1.c: Define TEST_SO.
155         (do_test): Use TEST_SO.
157         * elf/dl-load.c: Include libc-internal.h.
158         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
160 2015-09-18  Vincent Bernat  <vincent@bernat.im>
162         [BZ #17887]
163         * time/strptime_l.c (__strptime_internal): Make %z accept
164         [+-]HH:MM time zones.
166 2015-09-18  Vincent Bernat  <vincent@bernat.im>
168         [BZ #17886]
169         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
170         valid time zone.
172 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
174         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
175         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
176         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
177         (__ASSUME_FDATASYNC): Delete.
179 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
181         * conform/linknamespace.pl: Require weak undefined symbols to be
182         in the standard namespace.
183         (%strong_syms): Rename to %seen_syms.
184         (%strong_seen): Rename to %seen_where.
186 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
188         [BZ #18970]
189         * misc/error.c (error): Replace pthread_setcancelstate with
190         __pthread_setcancelstate.
191         (error_at_line): Likewise.
192         * posix/wordexp.c (parse_comm): Likewise.
193         * stdlib/fmtmsg.c (fmtmsg): Likewise.
194         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
195         (__pthread_setcancelstate): This.
196         (pthread_setcancelstate): Add an alias.
197         * nptl/nptl-init.c (pthread_functions): Replace
198         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
199         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
200         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
201         hidden_proto.
202         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
203         it with hidden_def.
204         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
205         (pthread_setcancelstate): Renamed to ...
206         (__pthread_setcancelstate): This.
207         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
208         __libc_ptf_call with __pthread_setcancelstate.
210 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
211             Andreas Schwab  <schwab@suse.de>
213         [BZ #17118]
214         * math/s_ctan.c (__ctan): Determine sign of zero real part of
215         result when imaginary part of argument is infinite using sine and
216         cosine.
217         * math/s_ctanf.c (__ctanf): Likewise.
218         * math/s_ctanl.c (__ctanl): Likewise.
219         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
220         of result when real part of argument is infinite using sine and
221         cosine.
222         * math/s_ctanhf.c (__ctanhf): Likewise.
223         * math/s_ctanhl.c (__ctanhl): Likewise.
224         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
225         (ctanh_test_data): Add more tests of ctanh.
227 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
229         [BZ #15384]
230         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
231         bit-mask as in subtraction.
232         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
233         Likewise.
234         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
235         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
236         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
238         [BZ #18951]
239         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
240         underflow exception for small results.
241         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
242         Likewise.
243         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
244         Likewise.
245         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
246         Likewise.
247         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
248         Likewise.
249         * math/auto-libm-test-in: Add more tests of tgamma.
250         * math/auto-libm-test-out: Regenerated.
252 2015-09-17  Andreas Schwab  <schwab@suse.de>
254         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
256 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
258         [BZ #18977]
259         * math/bits/mathcalls.h
260         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
261         not declare.
262         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
263         Likewise.
264         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
265         Likewise.
266         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
267         Likewise.
268         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
269         Likewise.
270         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
271         Likewise.
272         * conform/data/math.h-data
273         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
274         function.
275         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
276         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
277         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
278         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
279         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
280         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
281         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
282         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
283         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
284         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
285         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
287         [BZ #6803]
288         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
289         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
290         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
291         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
292         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
293         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
294         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
295         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
296         [NO_LONG_DOUBLE] (scalbnl): Likewise.
297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
298         Likewise.
299         [NO_LONG_DOUBLE] (scalbnl): Likewise.
300         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
301         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
302         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
303         long_double_symbol calls.
304         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
305         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
306         strong alias of __ldexpl.
307         (scalbnl): Define using long_double_symbol.
308         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
309         Remove alias.
310         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
311         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
312         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
313         (scalbln_test_data): Add more errno expectations.
315 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
317         Cache the host port like we cache the task port.  This way we do not
318         need to call the kernel just to get the port.  Furthermore, we no
319         longer increase the reference count on every invocation of
320         `mach_host_self'.
322         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
323         Protect declarations against the macro expansion.
324         * mach/mach_init.c (__mach_host_self_): New variable.
325         (mach_init): Initialize `__mach_host_self_'.
326         * mach/mach_init.h (__mach_host_self_): New declaration.
327         (__mach_host_self, mach_host_self): New macros.
328         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
329         Release reference.
331 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
333         [BZ #4404]
334         * po/de.po: Update from Translation Project.
336         [BZ #16415]
337         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
338         (__expm1l): Remove code to handle positive infinity and overflow.
339         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
340         variable.
341         (__expm1l): Remove code to handle positive infinity and overflow.
343 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
344             Paul Pluzhnikov  <ppluzhnikov@google.com>
346         [BZ #18872]
347         * stdio-common/Makefile (tst-printf-bz18872): New test.
348         (tst-printf-bz18872-mem.out): Likewise.
349         * stdio-common/tst-printf-bz18872.sh: Generate new test.
350         * stdio-common/vfprintf.c: Fix memory leaks.
352 2015-09-16  Andreas Schwab  <schwab@suse.de>
354         [BZ #17244]
355         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
356         Remove extra va_start/va_end calls.
358         [BZ #17243]
359         * posix/execl.c (execl): Add missing va_end.
360         * posix/execle.c (execle): Likewise.
361         * posix/execlp.c (execlp): Likewise.
363 2015-09-15  Roland McGrath  <roland@hack.frob.com>
365         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
366         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
368 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
370         [BZ #18967]
371         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
372         undefine around includes of <bits/mathcalls.h>.
373         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
374         not declare function.
375         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
376         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
377         (scalb): Likewise.
378         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
379         not define macro.
380         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
381         variable.
382         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
383         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
384         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
386         [BZ #18857]
387         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
388         return non-finite argument without doing ordered comparisons on
389         it.
391         [BZ #16296]
392         * math/fenv.h (fegetround): Use __attribute_pure__.
393         * include/fenv.h (__fegetround): Likewise.
395         [BZ #18595]
396         * math/s_ctan.c (__ctan): Force underflow exception for results
397         whose real or imaginary part has small absolute value.
398         * math/s_ctanf.c (__ctanf): Likewise.
399         * math/s_ctanh.c (__ctanh): Likewise.
400         * math/s_ctanhf.c (__ctanhf): Likewise.
401         * math/s_ctanhl.c (__ctanhl): Likewise.
402         * math/s_ctanl.c (__ctanl): Likewise.
403         * math/auto-libm-test-in: Do not allow missing underflow for ctan
404         and ctanh.  Add more tests of ctan and ctanh.
406         [BZ #15918]
407         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
408         handling of cases where one argument is an infinity.
410         [BZ #18875]
411         [BZ #18966]
412         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
413         (MO): New macro.
414         (__ieee754_exp10): For small results, force underflow exception
415         and remove excess range and precision from return value.
416         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
417         (MO): New macro.
418         (__ieee754_exp10f): For small results, force underflow exception
419         and remove excess range and precision from return value.
420         * math/auto-libm-test-in: Add more tests of exp10.
421         * math/auto-libm-test-out: Regenerated.
423 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
425         [BZ #18875]
426         [BZ #18961]
427         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
428         (MO): New macro.
429         (__ieee754_exp): For small results, force underflow exception and
430         remove excess range and precision from return value.
431         (__exp_finite): Likewise.
432         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
433         (MO): New macro.
434         (__ieee754_expf): For small results, force underflow exception and
435         remove excess range and precision from return value.
436         (__expf_finite): Likewise.
437         * math/auto-libm-test-in: Add more tests of exp.
438         * math/auto-libm-test-out: Regenerated.
440         [BZ #16521]
441         [BZ #18875]
442         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
443         small results.
444         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
445         (MO): New macro.
446         (__ieee754_exp2): For small results, force underflow exception and
447         remove excess range and precision from return value.
448         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
449         (MO): New macro.
450         (__ieee754_exp2f): For small results, force underflow exception
451         and remove excess range and precision from return value.
452         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
453         (MO): New macro.
454         (__ieee754_exp2l): Force underflow exception for small results.
455         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
456         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
457         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
458         (MO): New macro.
459         (__ieee754_exp2l): Force underflow exception for small results.
460         * math/auto-libm-test-in: Add more tests or exp2.
461         * math/auto-libm-test-out: Regenerated.
463 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
465         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
467         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
468         /dev/null.
470 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
472         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
473         io fs process)): Drop spurious backslash.
475 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
477         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
478         Use sysinfo system call instead of parsing /proc/meminfo.
479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
480         Likewise.
482 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
484         [BZ #16985]
485         * programs/localedef.c (main): Display argv[remaining] when
486         output_path is NULL.
488 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
490         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
491         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
492         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
493         tanh.
494         * math/auto-libm-test-out: Regenerated.
495         * sysdeps/i386/fpu/libm-test-ulps: Update.
496         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
497         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
500 2015-09-11  Roland McGrath  <roland@hack.frob.com>
502         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
503         Use 'override' keyword to freeze the value here, preventing
504         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
506 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
508         [BZ #14912]
509         * sysdeps/aarch64/bits/atomic.h: Move to ...
510         * sysdeps/aarch64/atomic-machine.h: ...here.
511         (_AARCH64_BITS_ATOMIC_H): Rename macro to
512         _AARCH64_ATOMIC_MACHINE_H.
513         * sysdeps/alpha/bits/atomic.h: Move to ...
514         * sysdeps/alpha/atomic-machine.h: ...here.
515         * sysdeps/arm/bits/atomic.h: Move to ...
516         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
517         * bits/atomic.h: Move to ...
518         * sysdeps/generic/atomic-machine.h: ...here.
519         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
520         * sysdeps/i386/bits/atomic.h: Move to ...
521         * sysdeps/i386/atomic-machine.h: ...here.
522         * sysdeps/ia64/bits/atomic.h: Move to ...
523         * sysdeps/ia64/atomic-machine.h: ...here.
524         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
525         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
526         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
527         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
528         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
529         * sysdeps/microblaze/bits/atomic.h: Move to ...
530         * sysdeps/microblaze/atomic-machine.h: ...here.
531         * sysdeps/mips/bits/atomic.h: Move to ...
532         * sysdeps/mips/atomic-machine.h: ...here.
533         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
534         * sysdeps/powerpc/bits/atomic.h: Move to ...
535         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
536         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
537         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
538         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
539         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
540         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
541         <atomic-machine.h> instead of <bits/atomic.h>.
542         * sysdeps/s390/bits/atomic.h: Move to ...
543         * sysdeps/s390/atomic-machine.h: ...here.
544         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
545         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
546         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
547         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
548         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
549         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
550         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
551         * sysdeps/tile/bits/atomic.h: Move to ...
552         * sysdeps/tile/atomic-machine.h: ...here.
553         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
554         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
555         <sysdeps/tile/atomic-machine.h> instead of
556         <sysdeps/tile/bits/atomic.h>.
557         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
558         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
559         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
560         <sysdeps/tile/atomic-machine.h> instead of
561         <sysdeps/tile/bits/atomic.h>.
562         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
563         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
564         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
565         <sysdeps/arm/atomic-machine.h> instead of
566         <sysdeps/arm/bits/atomic.h>.
567         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
568         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
569         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
570         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
571         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
572         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
573         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
574         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
575         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
576         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
577         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
578         * sysdeps/x86_64/bits/atomic.h: Move to ...
579         * sysdeps/x86_64/atomic-machine.h: ...here.
580         * include/atomic.h: Include <atomic-machine.h> instead of
581         <bits/atomic.h>.
583         * sysdeps/mips/mips32/libm-test-ulps: Update.
584         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
586         [BZ #18952]
587         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
588         not convert non-integer negative arguments to int to determine the
589         value of signgam.
590         * math/auto-libm-test-in: Add more tests of lgamma.
591         * math/auto-libm-test-out: Regenerated.
593         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
594         cosh, csqrt, erfc, expm1 and lgamma.
595         * math/auto-libm-test-out: Regenerated.
596         * sysdeps/i386/fpu/libm-test-ulps: Update.
597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
599 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
601         [BZ #2542]
602         [BZ #2543]
603         [BZ #2558]
604         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
605         __lgamma_neg for arguments from -28.0 to -2.0.
606         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
607         __lgamma_negf for arguments from -15.0 to -2.0.
608         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
609         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
610         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
611         Call __lgamma_negl for arguments from -33.0 to -2.0.
612         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
613         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
614         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
615         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
616         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
617         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
618         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
619         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
620         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
621         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
622         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
623         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
624         (__lgamma_neg): Likewise.
625         (__lgamma_negl): Likewise.
626         (__lgamma_product): Likewise.
627         (__lgamma_productl): Likewise.
628         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
629         * math/auto-libm-test-in: Add more tests of lgamma.
630         * math/auto-libm-test-out: Regenerated.
631         * sysdeps/i386/fpu/libm-test-ulps: Update.
632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
636         [BZ #18675]
637         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
639 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
641         [BZ #14912]
642         * bits/libc-lock.h: Move to ...
643         * sysdeps/generic/libc-lock.h: ...here.
644         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
645         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
646         * sysdeps/mach/hurd/libc-lock.h: ...here.
647         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
648         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
649         * sysdeps/mach/bits/libc-lock.h: Move to ...
650         * sysdeps/mach/libc-lock.h: ...here.
651         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
652         * sysdeps/nptl/bits/libc-lock.h: Move to ...
653         * sysdeps/nptl/libc-lock.h: ...here.
654         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
655         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
656         * sysdeps/nptl/libc-lockP.h: ...here.
657         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
658         * crypt/crypt_util.c: Include <libc-lock.h> instead of
659         <bits/libc-lock.h>.
660         * dirent/scandir-tail.c: Likewise.
661         * dlfcn/dlerror.c: Likewise.
662         * elf/dl-close.c: Likewise.
663         * elf/dl-iteratephdr.c: Likewise.
664         * elf/dl-lookup.c: Likewise.
665         * elf/dl-open.c: Likewise.
666         * elf/dl-support.c: Likewise.
667         * elf/dl-writev.h: Likewise.
668         * elf/rtld.c: Likewise.
669         * grp/fgetgrent.c: Likewise.
670         * gshadow/fgetsgent.c: Likewise.
671         * gshadow/sgetsgent.c: Likewise.
672         * iconv/gconv_conf.c: Likewise.
673         * iconv/gconv_db.c: Likewise.
674         * iconv/gconv_dl.c: Likewise.
675         * iconv/gconv_int.h: Likewise.
676         * iconv/gconv_trans.c: Likewise.
677         * include/link.h: Likewise.
678         * inet/getnameinfo.c: Likewise.
679         * inet/getnetgrent.c: Likewise.
680         * inet/getnetgrent_r.c: Likewise.
681         * intl/bindtextdom.c: Likewise.
682         * intl/dcigettext.c: Likewise.
683         * intl/finddomain.c: Likewise.
684         * intl/gettextP.h: Likewise.
685         * intl/loadmsgcat.c: Likewise.
686         * intl/localealias.c: Likewise.
687         * intl/textdomain.c: Likewise.
688         * libidn/idn-stub.c: Likewise.
689         * libio/libioP.h: Likewise.
690         * locale/duplocale.c: Likewise.
691         * locale/freelocale.c: Likewise.
692         * locale/newlocale.c: Likewise.
693         * locale/setlocale.c: Likewise.
694         * login/getutent_r.c: Likewise.
695         * login/getutid_r.c: Likewise.
696         * login/getutline_r.c: Likewise.
697         * login/utmp-private.h: Likewise.
698         * login/utmpname.c: Likewise.
699         * malloc/mtrace.c: Likewise.
700         * misc/efgcvt.c: Likewise.
701         * misc/error.c: Likewise.
702         * misc/fstab.c: Likewise.
703         * misc/getpass.c: Likewise.
704         * misc/mntent.c: Likewise.
705         * misc/syslog.c: Likewise.
706         * nis/nis_call.c: Likewise.
707         * nis/nis_callback.c: Likewise.
708         * nis/nss-default.c: Likewise.
709         * nis/nss_compat/compat-grp.c: Likewise.
710         * nis/nss_compat/compat-initgroups.c: Likewise.
711         * nis/nss_compat/compat-pwd.c: Likewise.
712         * nis/nss_compat/compat-spwd.c: Likewise.
713         * nis/nss_nis/nis-alias.c: Likewise.
714         * nis/nss_nis/nis-ethers.c: Likewise.
715         * nis/nss_nis/nis-grp.c: Likewise.
716         * nis/nss_nis/nis-hosts.c: Likewise.
717         * nis/nss_nis/nis-network.c: Likewise.
718         * nis/nss_nis/nis-proto.c: Likewise.
719         * nis/nss_nis/nis-pwd.c: Likewise.
720         * nis/nss_nis/nis-rpc.c: Likewise.
721         * nis/nss_nis/nis-service.c: Likewise.
722         * nis/nss_nis/nis-spwd.c: Likewise.
723         * nis/nss_nisplus/nisplus-alias.c: Likewise.
724         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
725         * nis/nss_nisplus/nisplus-grp.c: Likewise.
726         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
727         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
728         * nis/nss_nisplus/nisplus-network.c: Likewise.
729         * nis/nss_nisplus/nisplus-proto.c: Likewise.
730         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
731         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
732         * nis/nss_nisplus/nisplus-service.c: Likewise.
733         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
734         * nis/ypclnt.c: Likewise.
735         * nptl/libc_pthread_init.c: Likewise.
736         * nss/getXXbyYY.c: Likewise.
737         * nss/getXXent.c: Likewise.
738         * nss/getXXent_r.c: Likewise.
739         * nss/nss_db/db-XXX.c: Likewise.
740         * nss/nss_db/db-netgrp.c: Likewise.
741         * nss/nss_db/nss_db.h: Likewise.
742         * nss/nss_files/files-XXX.c: Likewise.
743         * nss/nss_files/files-alias.c: Likewise.
744         * nss/nsswitch.c: Likewise.
745         * posix/regex_internal.h: Likewise.
746         * posix/wordexp.c: Likewise.
747         * pwd/fgetpwent.c: Likewise.
748         * resolv/res_hconf.c: Likewise.
749         * resolv/res_libc.c: Likewise.
750         * shadow/fgetspent.c: Likewise.
751         * shadow/lckpwdf.c: Likewise.
752         * shadow/sgetspent.c: Likewise.
753         * socket/opensock.c: Likewise.
754         * stdio-common/reg-modifier.c: Likewise.
755         * stdio-common/reg-printf.c: Likewise.
756         * stdio-common/reg-type.c: Likewise.
757         * stdio-common/vfprintf.c: Likewise.
758         * stdio-common/vfscanf.c: Likewise.
759         * stdlib/abort.c: Likewise.
760         * stdlib/cxa_atexit.c: Likewise.
761         * stdlib/fmtmsg.c: Likewise.
762         * stdlib/random.c: Likewise.
763         * stdlib/setenv.c: Likewise.
764         * string/strsignal.c: Likewise.
765         * sunrpc/auth_none.c: Likewise.
766         * sunrpc/bindrsvprt.c: Likewise.
767         * sunrpc/create_xid.c: Likewise.
768         * sunrpc/key_call.c: Likewise.
769         * sunrpc/rpc_thread.c: Likewise.
770         * sysdeps/arm/backtrace.c: Likewise.
771         * sysdeps/generic/ldsodefs.h: Likewise.
772         * sysdeps/generic/stdio-lock.h: Likewise.
773         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
774         * sysdeps/i386/backtrace.c: Likewise.
775         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
776         * sysdeps/m68k/backtrace.c: Likewise.
777         * sysdeps/mach/hurd/cthreads.c: Likewise.
778         * sysdeps/mach/hurd/dirstream.h: Likewise.
779         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
780         * sysdeps/nptl/malloc-machine.h: Likewise.
781         * sysdeps/nptl/stdio-lock.h: Likewise.
782         * sysdeps/posix/dirstream.h: Likewise.
783         * sysdeps/posix/getaddrinfo.c: Likewise.
784         * sysdeps/posix/system.c: Likewise.
785         * sysdeps/pthread/aio_suspend.c: Likewise.
786         * sysdeps/s390/s390-32/backtrace.c: Likewise.
787         * sysdeps/s390/s390-64/backtrace.c: Likewise.
788         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
789         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
790         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
791         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
792         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
793         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
794         * sysdeps/unix/sysv/linux/system.c: Likewise.
795         * sysdeps/x86_64/backtrace.c: Likewise.
796         * time/alt_digit.c: Likewise.
797         * time/era.c: Likewise.
798         * time/tzset.c: Likewise.
799         * wcsmbs/wcsmbsload.c: Likewise.
800         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
801         instead of <bits/libc-lock.h> in comment.
803 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
805         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
806         Only use .set mips2 if the current ISA is below mips2.
807         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
808         Likewise.
809         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
810         mips32r2 if the current ISA is below mips32r2.
811         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
812         (TLS_IE): Updated to use the TLD_RDHWR macro.
813         (TLS_LE): Likewise.
814         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
815         __ASSEMBLER__ condition.
817 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
819         Fix parallel build of before-compile targets.
821         * sysdeps/mach/Makefile ($(patsubst
822         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
823         mach-before-compile target.
824         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
825         io fs process)): Move rule to dedicated hurd-before-compile target.
827 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
829         Fix rules generating headers in hurd/ and mach/ when initial make call
830         has subdir= explicitly set.
832         * sysdeps/mach/Makefile ($(patsubst
833         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
834         calling $(MAKE).
835         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
836         io fs process)): Force subdir to hurd when calling $(MAKE).
837         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
838         subdir to mach when calling $(MAKE).
840 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
842         Check sysheaders when looking for Mach and Hurd headers
844         * sysdeps/mach/configure.ac: Add sysheaders check.
845         * sysdeps/mach/configure: Regenerate.
846         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
847         * sysdeps/mach/hurd/configure: Regenerate.
849 2015-09-04  Roland McGrath  <roland@hack.frob.com>
851         [BZ #18921]
852         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
853         Fix inverted sense of test of 'o_directory_works' value.
854         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
855         Bernhard Voelker <mail@bernhard-voelker.de>.
857 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
859         [BZ #14912]
860         * bits/linkmap.h: Move to ...
861         * sysdeps/generic/linkmap.h: ...here.
862         * sysdeps/aarch64/bits/linkmap.h: Move to ...
863         * sysdeps/aarch64/linkmap.h: ...here.
864         * sysdeps/arm/bits/linkmap.h: Move to ...
865         * sysdeps/arm/linkmap.h: ...here.
866         * sysdeps/hppa/bits/linkmap.h: Move to ...
867         * sysdeps/hppa/linkmap.h: ...here.
868         * sysdeps/ia64/bits/linkmap.h: Move to ...
869         * sysdeps/ia64/linkmap.h: ...here.
870         * sysdeps/mips/bits/linkmap.h: Move to ...
871         * sysdeps/mips/linkmap.h: ...here.
872         * sysdeps/s390/bits/linkmap.h: Move to ...
873         * sysdeps/s390/linkmap.h: ...here.
874         * sysdeps/sh/bits/linkmap.h: Move to ...
875         * sysdeps/sh/linkmap.h: ...here.
876         * sysdeps/x86/bits/linkmap.h: Move to ...
877         * sysdeps/x86/linkmap.h: ...here.
878         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
880 2015-09-04  Andreas Schwab  <schwab@suse.de>
882         [BZ #18635]
883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
884         (__makecontext): Terminate FDE before return label.
885         (__novec_makecontext): Likewise.
887 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
889         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
890         first member of struct sv in syscall macro.
892 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
894         [BZ #14912]
895         * bits/stdio-lock.h: Move to ...
896         * sysdeps/generic/stdio-lock.h: ...here.
897         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
898         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
899         * sysdeps/nptl/stdio-lock.h: ...here.
900         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
901         * include/libio.h: Include <stdio-lock.h> instead of
902         <bits/stdio-lock.h>.
903         * sysdeps/nptl/fork.c: Likewise.
904         * sysdeps/pthread/flockfile.c: Likewise.
905         * sysdeps/pthread/ftrylockfile.c: Likewise.
906         * sysdeps/pthread/funlockfile.c: Likewise.
908         [BZ #14912]
909         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
910         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
911         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
912         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
913         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
914         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
915         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
917 2015-09-03  Roland McGrath  <roland@hack.frob.com>
919         * elf/Makefile (test-xfail-tst-protected1a): New variable.
920         (test-xfail-tst-protected1b): New variable.
922 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
924         [BZ #14912]
925         * bits/libc-tsd.h: Move to ...
926         * sysdeps/generic/libc-tsd.h: ...here.
927         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
928         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
929         * sysdeps/mach/hurd/libc-tsd.h: ...here.
930         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
931         * include/ctype.h: Include <libc-tsd.h> instead of
932         <bits/libc-tsd.h>.
933         * include/rpc/rpc.h: Likewise.
934         * locale/localeinfo.h: Likewise.
935         * sunrpc/rpc_thread.c: Likewise.
936         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
937         * sysdeps/nptl/malloc-machine.h: Likewise.
939         * Makefile (headers): Remove bits/libc-lock.h.
940         * libio/Makefile (headers): Remove bits/stdio-lock.h.
942         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
943         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
944         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
945         <bits/stdio-lock.h>.
946         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
947         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
949 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
951         [BZ #18757]
952         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
953         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
954         BZ #18757.
956 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
958         * malloc/mtrace.pl: Filter out NULL entries.
960 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
962         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
963         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
964         macro.
966         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
967         (TCP_CC_INFO): Likewise.
968         (TCP_SAVE_SYN): Likewise.
969         (TCP_SAVED_SYN): Likewise.
971 2015-08-31  Brett Neumeier <brett@neumeier.us>
973         [BZ #18870]
974         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
976 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
978         [BZ #18873]
979         Fix broken overflow check in posix_fallocate
980         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
981         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
982         Fix parenthesization typo.
984 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
986         [BZ #18887]
987         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
988         tst-mntent-blank-passno.
989         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
990         * misc/tst-mntent-blank-corrupt.c: New test.
991         * misc/tst-mntent-blank-passno.c: New test ripped from ...
992         * misc/tst-mntent.c (do_test): ... here.
994 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
996         [BZ #4404]
997         * po/de.po: Fix SIGALRM typo.
999 2015-08-28  James Perkins  <james@loowit.net>
1001         * time/tst-strptime2.c (tests): Replace short list of test
1002         strings for strptime %z specifier with code which exhaustively
1003         tests every combination of sign and 0 to 5 digits. Tests for
1004         rejection of invalid strings.
1006 2015-08-28  James Perkins  <james@loowit.net>
1008         [BZ #16141]
1009         * time/strptime_l.c (__strptime_internal): Fix %z minutes
1010         calculation, removing incorrect decimal time rounding, so that
1011         all minute values result in a valid seconds value.
1012         * time/strptime_l.c (__strptime_internal): Extend %z time zone
1013         offset range limits to UTC-99:59 through UTC+99:59 to parse
1014         current and historical use cases.
1015         * time/tst-strptime2.c (tests): Modify and add tests for the
1016         strptime %z input field descriptor, specifically conversion of
1017         minutes to seconds and validating an offset range of -9959 to
1018         +9959.
1020 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1021             Dmitry V. Levin  <ldv@altlinux.org>
1023         [BZ #18877]
1024         * posix/Makefile (tests): Add tst-mmap-offset.
1025         * posix/tst-mmap.c: New file.
1026         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
1027         offset calculation for negative values.
1029 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1031         * sysdeps/i386/init-arch.h: New file.
1032         * sysdeps/i386/i586/init-arch.h: Likewise.
1033         * sysdeps/i386/i686/init-arch.h: Likewise.
1034         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
1035         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
1036         * sysdeps/x86/cpu-features.h (bit_I586): New.
1037         (bit_I686): Likewise.
1038         (bit_CX8): Likewise.
1039         (bit_CMOV): Likewise.
1040         (index_CX8): Likewise.
1041         (index_CMOV): Likewise.
1042         (index_I586): Likewise.
1043         (index_I686): Likewise.
1044         (reg_CX8): Likewise.
1045         (reg_CMOV): Likewise.
1046         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
1047         available at compile-time.
1048         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
1049         available at compile-time.
1050         * sysdeps/x86/init-arch.h (USE_I586): New macro.
1051         (USE_I686): Likewise.
1053 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1055         * sysdeps/i386/bcopy.S: New file.
1056         * sysdeps/i386/bzero.S: Likewise.
1057         * sysdeps/i386/memcpy.S: Likewise.
1058         * sysdeps/i386/memmove.S: Likewise.
1059         * sysdeps/i386/mempcpy.S: Likewise.
1060         * sysdeps/i386/memset.S: Likewise.
1061         * sysdeps/i386/bzero.c: Removed.
1062         * sysdeps/i386/memset.c: Likewise.
1063         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
1064         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
1065         * sysdeps/i386/i586/memset_chk.S: Likewise.
1066         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
1067         * sysdeps/i386/memcpy_chk.S: Here.
1068         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
1069         * sysdeps/i386/memmove_chk.S: Here.
1070         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
1071         * sysdeps/i386/mempcpy_chk.S: Likewise.
1072         * sysdeps/i386/i686/memset_chk.S: Moved to ...
1073         * sysdeps/i386/memset_chk.S: Likewise.
1075 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
1077         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
1078         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
1079         file, move DIAG_POP_NEEDS_COMMENT to end of file.
1080         * soft-fp/fmadf4.c: Ditto.
1081         * soft-fp/fmatf4.c: Ditto.
1083 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1085         * sysdeps/i386/i586/Implies: Removed.
1086         * sysdeps/i386/i686/Implies: Likewise.
1088 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1090         * sysdeps/i386/i486/strlen.S: Moved to ...
1091         * sysdeps/i386/strlen.S: Here.
1093 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1095         * sysdeps/i386/i486/strcat.S: Moved to ...
1096         * sysdeps/i386/strcat.S: Here.
1098 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1100         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
1101         * sysdeps/i386/pthread_spin_trylock.S: Here.
1102         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
1103         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
1105 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1107         * sysdeps/i386/i486/string-inlines.c: Moved to ...
1108         * sysdeps/i386/string-inlines.c: Here.
1110 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1112         * sysdeps/i386/i486/htonl.S: Moved ...
1113         * sysdeps/i386/htonl.S: here.
1115 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1117         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
1118         * sysdeps/i386/bits/atomic.h: Here.
1120 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
1122         * sysdeps/i386/i486/Versions: Removed.
1124 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1126         [BZ #2898]
1127         * misc/mktemp.c: Add mkdtemp to the link_warning message.
1128         Based on patch by Aurelien Jarno.
1130 2015-08-26  Stan Shebs  <stanshebs@google.com>
1132         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
1133         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1135 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1137         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
1138         * sysdeps/powerpc/dl-procinfo.c:
1139         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
1140         feature so it shows when LD_SHOW_AUXV=1.
1142 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1144         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1145         (__arch_compare_and_exchange_val_32_acq): Remove and use common
1146         definition.  ISA 2.07B no longer requires full sync.
1148 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
1150         [BZ #18863]
1151         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
1152         (si_call_addr): Define.
1153         (si_syscall): Define.
1154         (si_arch): Define.
1156 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
1158         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
1159         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
1160         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
1161         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1162         (__memset_zero_constant_len_parameter): New.
1163         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
1164         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
1165         (__memset_zero_constant_len_parameter): Don't define if
1166         __memset_chk or USE_AS_BZERO are defined.
1168         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
1169         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
1170         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
1172         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
1173         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
1174         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
1175         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
1176         comments.
1177         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
1178         -mno-mmx for $(all-rtld-routines).
1179         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
1180         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
1181         i386.
1183 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1185         * sysdeps/generic/unwind.h
1186         (_Unwind_Word): Use __mode__(__unwind_word__)
1187         instead of __mode__(__word__).
1188         (_Unwind_Sword): Likewise.
1190         * sysdeps/s390/s390-64/utf8-utf16-z9.c
1191         (MAX_NEEDED_INPUT): New define.
1192         (MAX_NEEDED_OUTPUT): New define.
1194         * NEWS: New item for IBM z13 string optimizations.
1196         * sysdeps/s390/multiarch/memrchr-c.c: New File.
1197         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
1198         * sysdeps/s390/multiarch/memrchr.c: Likewise.
1199         * sysdeps/s390/multiarch/Makefile
1200         (sysdep_routines): Add memrchr functions.
1201         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1202         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
1204         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
1205         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
1206         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
1207         * sysdeps/s390/multiarch/Makefile
1208         (sysdep_routines): Add wmemcmp functions.
1209         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1210         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
1211         * benchtests/bench-wmemcmp.c: New File.
1212         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
1214         * sysdeps/s390/multiarch/wmemset-c.c: New File.
1215         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
1216         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1217         * sysdeps/s390/multiarch/Makefile
1218         (sysdep_routines): Add wmemset functions.
1219         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1220         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
1221         * wcsmbs/wmemset.c: Use WMEMSET if defined.
1222         * string/test-memset.c: Add wmemset support.
1223         * wcsmbs/test-wmemset.c: New File.
1224         * wcsmbs/Makefile (strop-tests): Add wmemset.
1225         * benchtests/bench-memset.c: Add wmemset support.
1226         * benchtests/bench-wmemset.c: New File.
1227         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
1229         * sysdeps/s390/multiarch/memccpy-c.c: New File.
1230         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
1231         * sysdeps/s390/multiarch/memccpy.c: Likewise.
1232         * sysdeps/s390/multiarch/Makefile
1233         (sysdep_routines): Add memccpy functions.
1234         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1235         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
1236         * string/memccpy.c: Use MEMCCPY if defined.
1238         * sysdeps/s390/multiarch/memchr-vx.S: New File.
1239         * sysdeps/s390/multiarch/memchr.c: Likewise.
1240         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
1241         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
1242         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1243         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
1244         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
1245         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1246         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
1247         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
1248         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
1249         and rawmemchr functions.
1250         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1251         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1252         and wmemchr.
1253         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1254         * string/test-memchr.c: Add wmemchr support.
1255         * wcsmbs/test-wmemchr.c: New File.
1256         * wcsmbs/Makefile (strop-tests): Add wmemchr.
1257         * benchtests/bench-memchr.c: Add wmemchr support.
1258         * benchtests/bench-wmemchr.c: New File.
1259         * benchtests/Makefile (wcsmbs-bench): wmemchr.
1261         * sysdeps/s390/multiarch/strcspn-c.c: New File.
1262         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1263         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1264         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1265         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1266         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1267         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1268         wcscspn functions.
1269         * sysdeps/s390/multiarch/ifunc-impl-list.c
1270         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1271         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1272         * string/test-strcspn.c: Add wcscspn support.
1273         * wcsmbs/test-wcscspn.c: New File.
1274         * wcsmbs/Makefile (strop-tests): Add wcscspn.
1275         * benchtests/bench-strcspn.c: Add wcscspn support.
1276         * benchtests/bench-wcscspn.c: New File.
1277         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1279         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1280         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1281         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1282         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1283         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1284         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1285         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1286         wcspbrk functions.
1287         * sysdeps/s390/multiarch/ifunc-impl-list.c
1288         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1289         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1290         * string/test-strpbrk.c: Add wcspbrk support.
1291         * wcsmbs/test-wcspbrk.c: New File.
1292         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1293         * benchtests/bench-strpbrk.c: Add wcspbrk support.
1294         * benchtests/bench-wcspbrk.c: New File.
1295         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1297         * sysdeps/s390/multiarch/strspn-c.c: New File.
1298         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1299         * sysdeps/s390/multiarch/strspn.c: Likewise.
1300         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1301         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1302         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1303         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1304         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1305         wcsspn functions.
1306         * sysdeps/s390/multiarch/ifunc-impl-list.c
1307         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1308         * string/test-strspn.c: Add wcsspn support.
1309         * wcsmbs/test-wcsspn.c: New File.
1310         * wcsmbs/Makefile (strop-tests): Add wcsspn.
1311         * benchtests/bench-strspn.c: Add wcsspn support.
1312         * benchtests/bench-wcsspn.c: New File.
1313         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1315         * sysdeps/s390/multiarch/strrchr-c.c: New File.
1316         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1317         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1318         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1319         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1320         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1321         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1322         wcsrchr functions.
1323         * sysdeps/s390/multiarch/ifunc-impl-list.c
1324         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1325         * benchtests/bench-wcsrchr.c: New File.
1326         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1328         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1329         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1330         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1331         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1332         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1333         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1334         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1335         wcschrnul functions.
1336         * sysdeps/s390/multiarch/ifunc-impl-list.c
1337         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1338         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1339         * string/test-strchr.c: Add wcschrnul support.
1340         * wcsmbs/test-wcschrnul.c: New File.
1341         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1342         * benchtests/bench-strchr.c: Add wcschrnul support.
1343         * benchtests/bench-wcschrnul.c: New File.
1344         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1346         * sysdeps/s390/multiarch/strchr-c.c: New File.
1347         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1348         * sysdeps/s390/multiarch/strchr.c: Likewise.
1349         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1350         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1351         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1352         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1353         wcschr functions.
1354         * sysdeps/s390/multiarch/ifunc-impl-list.c
1355         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1356         * string/strchr.c (STRCHR): Define and use macro.
1357         * benchtests/bench-wcschr.c: New File.
1358         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1360         * sysdeps/s390/multiarch/strncmp-c.c: New File.
1361         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1362         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1363         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1364         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1365         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1366         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1367         wcsncmp functions.
1368         * sysdeps/s390/multiarch/ifunc-impl-list.c
1369         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1370         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1371         * benchtests/bench-strncmp.c: Add wcsncmp support.
1372         * benchtests/bench-wcsncmp.c: New File.
1373         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1375         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1376         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1377         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1378         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1379         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1380         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1381         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1382         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1383         wcscmp functions.
1384         * sysdeps/s390/multiarch/ifunc-impl-list.c
1385         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1386         * string/strcmp.c (STRCMP): Define and use macro.
1387         * benchtests/bench-wcscmp.c: New File.
1388         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1389         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1390         instead of _HAVE_STRING_ARCH_memchr.
1392         * sysdeps/s390/multiarch/strncat-c.c: New File.
1393         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1394         * sysdeps/s390/multiarch/strncat.c: Likewise.
1395         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1396         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1397         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1398         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1399         wcsncat functions.
1400         * sysdeps/s390/multiarch/ifunc-impl-list.c
1401         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1402         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1403         * string/test-strncat.c: Add wcsncat support.
1404         * wcsmbs/test-wcsncat.c: New File.
1405         * wcsmbs/Makefile (strop-tests): Add wcsncat.
1406         * benchtests/bench-strncat.c: Add wcsncat support.
1407         * benchtests/bench-wcsncat.c: New File.
1408         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1410         * sysdeps/s390/multiarch/strcat-c.c: New File.
1411         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1412         * sysdeps/s390/multiarch/strcat.c: Likewise.
1413         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1414         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1415         * sysdeps/s390/multiarch/wcscat.c: Likewise.
1416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1417         wcscat functions.
1418         * sysdeps/s390/multiarch/ifunc-impl-list.c
1419         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1420         * string/strcat.c (STRCAT): Define and use macro.
1421         * wcsmbs/wcscat.c: Use WCSCAT if defined.
1422         * string/test-strcat.c: Add wcscat support.
1423         * wcsmbs/test-wcscat.c: New File.
1424         * wcsmbs/Makefile (strop-tests): Add wcscat.
1425         * benchtests/bench-strcat.c: Add wcscat support.
1426         * benchtests/bench-wcscat.c: New File.
1427         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1429         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1430         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1431         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1432         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1433         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1434         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1436         wcpncpy functions.
1437         * sysdeps/s390/multiarch/ifunc-impl-list.c
1438         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1439         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1440         * string/test-stpncpy.c: Add wcpncpy support.
1441         * wcsmbs/test-wcpncpy.c: New File.
1442         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1443         * benchtests/bench-stpncpy.c: Add wcpncpy support.
1444         * benchtests/bench-wcpncpy.c: New File.
1445         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1447         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1448         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1449         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1450         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1451         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1452         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1453         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1454         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1455         wcsncpy functions.
1456         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1457         * sysdeps/s390/multiarch/ifunc-impl-list.c
1458         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1459         * string/test-strncpy.c: Add wcsncpy support.
1460         * wcsmbs/test-wcsncpy.c: New File.
1461         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1462         * benchtests/bench-strncpy.c: Add wcsncpy support.
1463         * benchtests/bench-wcsncpy.c: New File.
1464         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1466         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1467         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1468         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1469         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1470         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1471         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1473         wcpcpy functions.
1474         * string/stpcpy.c: Use STPCPY if defined.
1475         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1476         * sysdeps/s390/multiarch/ifunc-impl-list.c
1477         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1478         * string/test-stpcpy.c: Add wcpcpy support.
1479         * wcsmbs/test-wcpcpy.c: New File.
1480         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1481         * benchtests/bench-stpcpy.c: Add wcpcpy support.
1482         * benchtests/bench-wcpcpy.c: New File.
1483         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1485         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1486         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1487         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1488         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1489         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1490         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1491         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1492         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1493         wcscpy functions.
1494         * sysdeps/s390/multiarch/ifunc-impl-list.c
1495         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1496         * benchtests/bench-wcscpy.c: New File.
1497         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1499         * sysdeps/s390/multiarch/strnlen-c.c: New File.
1500         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1501         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1502         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1503         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1504         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1505         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1506         wcsnlen functions.
1507         * sysdeps/s390/multiarch/ifunc-impl-list.c
1508         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1509         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1510         * string/test-strnlen.c: Add wcsnlen support.
1511         * wcsmbs/test-wcsnlen.c: New File.
1512         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1513         * benchtests/bench-strnlen.c: Add wcsnlen support.
1514         * benchtests/bench-wcsnlen.c: New File.
1515         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1517         * sysdeps/s390/multiarch/Makefile: New File.
1518         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1519         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1520         * sysdeps/s390/multiarch/strlen.c: Likewise.
1521         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1522         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1523         * sysdeps/s390/multiarch/wcslen.c: Likewise.
1524         * string/strlen.c (STRLEN): Define and use macro.
1525         * sysdeps/s390/multiarch/ifunc-impl-list.c
1526         (IFUNC_VX_IMPL): New macro function.
1527         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1528         * benchtests/Makefile (wcsmbs-bench): New variable.
1529         (string-bench-all): Added wcsmbs-bench.
1530         * benchtests/bench-wcslen.c: New File.
1532         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1533         s390_vx_libc_ifunc2): New macro function.
1535         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1536         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1537         assembler support.
1538         * sysdeps/s390/configure: Regenerated.
1540         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1541         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1543         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1544         * sysdeps/s390/dl-procinfo.h: Add vector capability.
1545         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1547         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1548         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1549         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1550         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1551         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1552         (memcmp, bcmp): Use __memcmp_default as alias source.
1553         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1554         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1555         Rename to __memcmp_default.
1556         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1557         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1558         (memcpy): Use __memcpy_default as alias source.
1559         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1560         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1561         Rename to __memcpy_default.
1562         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1563         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1564         (memset): Use __memset_default as alias source.
1565         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1566         * sysdeps/s390/s390-32/memset.S (__memset_g5):
1567         Rename to __memset_default.
1568         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1569         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1570         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1571         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1572         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1573         (memcmp, bcmp): Use __memcmp_default as alias source.
1574         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1575         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1576         Rename to __memcmp_default.
1577         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1578         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1579         (memcpy): Use __memcpy_default as alias source.
1580         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1581         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1582         Rename to __memcpy_default.
1583         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1584         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1585         (memset): Use __memset_default as alias source.
1586         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1587         * sysdeps/s390/s390-64/memset.S (__memset_z900):
1588         Rename to __memset_default.
1589         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1590         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1592         [BZ #18610]
1593         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1594         __ieee_instruction_pointer to __unused.
1595         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1596         __ieee_instruction_pointer.
1597         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1598         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1599         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1600         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1601         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1602         Mark dxc-field as reserved.
1604 2015-08-25  Roland McGrath  <roland@hack.frob.com>
1606         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1607         if the weak reference is not null.
1609 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1611         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1613         [BZ #11214]
1614         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1616 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1618         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1619         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1620         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1621         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1622         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1623         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1624         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1625         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1626         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1627         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1628         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1629         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1630         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1631         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1632         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1633         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1634         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1635         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1637 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1639         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1640         register other than r0 for tabort, it has special meaning.
1641         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1642         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1643         transaction before starting syscall.
1645 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1647         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1649 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1651         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1653         * sysdeps/x86_64/rtld-memcmp.c: Removed.
1654         * sysdeps/x86_64/rtld-memset.S: Likewise.
1655         * sysdeps/x86_64/rtld-strchr.S: Likewise.
1656         * sysdeps/x86_64/rtld-strlen.S: Likewise.
1657         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1658         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1660         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1662 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
1664         * debug/strcpy_chk.c: Improve performance.
1665         * debug/stpcpy_chk.c: Likewise.
1666         * sysdeps/x86_64/strcpy_chk.S: Remove.
1667         * sysdeps/x86_64/stpcpy_chk.S: Remove.
1669         [BZ #18240]
1670         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1672 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1674         [BZ #15128]
1675         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1676         ifuncmain8.
1677         (modules-names): Add ifuncmod8.
1678         ($(objpfx)ifuncmain8): New rule.
1679         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1680         <cpuid.h>.
1681         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1682         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1683         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1684         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1685         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1686         * sysdeps/x86_64/dl-trampoline.h: Likewise.
1687         * sysdeps/x86_64/ifuncmain8.c: New file.
1688         * sysdeps/x86_64/ifuncmod8.c: Likewise.
1689         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1690         Removed.
1691         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1692         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1693         Change rtld_savespace_sse to __glibc_unused2.
1694         (RTLD_CHECK_FOREIGN_CALL): Removed.
1695         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1696         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1697         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1699 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
1701         * sysdeps/aarch64/bzero.S (__bzero): Remove.
1703 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
1705         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1706         Unconditionally set __fpcr to avoid uninialized warning.
1707         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1709 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1711         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1712         is corrupt.
1714         * malloc/arena.c (arena_get2): Drop unused argument.
1715         (arena_lock): Adjust.
1716         (arena_get_retry): Likewise.
1718 2015-08-24  Andreas Schwab  <schwab@suse.de>
1720         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1721         Don't define.
1722         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1723         (__ASSUME_IPC64): Don't undef.
1724         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1725         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1726         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1727         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1728         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1729         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1730         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1731         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1732         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1733         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1734         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1735         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1736         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1737         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1738         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1739         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1740         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1741         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1742         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1743         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1744         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1746 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
1748         * manual/Makefile (install): Only build manual when perl is available.
1750 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1753         '#undef memcpy' by '#undef memchr'.
1755 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1757         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1758         memchr not point to the internal __GI_memchr implementation.
1760 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
1762         * timezone/Makefile (CFLAGS-zdump.c): Remove
1763         -Wno-strict-prototypes.
1764         (CFLAGS-zic.c): Likewise.
1765         (CFLAGS-ialloc.c): Likewise.
1766         (CFLAGS-scheck.c): Likewise.
1768         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1769         -Wno-error=undef.
1771 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1773         * i386/i686/multiarch/strcasestr-c.c: Removed.
1774         * x86_64/multiarch/strcasestr.c: Likewise.
1775         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1776         Remove strcasestr.
1778 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
1780         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1782         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1783         variables for high and low parts before possibly modifying them.
1785 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1787         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1788         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1789         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1790         of "multiarch/init-arch.h".
1791         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1792         * sysdeps/x86/init-arch.h: This.
1794 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1796         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1797         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1799 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
1801         [BZ #17787]
1802         * manual/macros.texi: Add twoexp macro.
1803         * manual/filesys.texi: Fix exponents.
1804         * manual/llio.texi: Likewise.
1805         * manual/stdio.texi: Likewise.
1807 2015-08-20  Florian Weimer  <fweimer@redhat.com>
1809         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1810         incorrect use.
1812 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
1814         [BZ #18370]
1815         * math/s_csqrt.c (__csqrt): Force underflow exception for results
1816         whose real or imaginary part has small absolute value.
1817         * math/s_csqrtf.c (__csqrtf): Likewise.
1818         * math/s_csqrtl.c (__csqrtl): Likewise.
1819         * math/auto-libm-test-in: Add more tests of csqrt.
1820         * math/auto-libm-test-out: Regenerated.
1821         * sysdeps/i386/fpu/libm-test-ulps: Update.
1823 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1825         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1826         __ppc_set_ppr_very_low): New functions.
1827         * manual/platform.texi: Add documentation about
1828         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1830 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
1832         * string/stpncpy.c (stpncpy): Improve performance using
1833         __strnlen/memcpy/memset.
1835 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1837         [BZ #18796]
1838         * scripts/test-installation.pl: Don't add -lmvec to build options if
1839         libmvec wasn't built.
1841 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1843         [BZ #14341]
1844         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1845         case when there is a gap between DT_REL and DT_JMPREL sections.
1846         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1847         (LDFLAGS-tst-split-dynreloc): New.
1848         (tst-split-dynreloc-ENV): Likewise.
1849         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1850         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1852 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1854         [BZ #18822]
1855         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1856         attribute_hidden.
1857         (__xstat64_conv): Likewise.
1858         (__xstat32_conv): Likewise.
1860 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1862         [BZ #18822]
1863         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1864         Don't load %ebx when calling __setcontext.  Call __setcontext
1865         with HIDDEN_JUMPTARGET.
1866         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1867         libc_hidden_def.
1869 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1871         * sysdeps/i386/i686/Makefile
1872         [$(subdir) == string] (sysdep_routines): Moved to ...
1873         * sysdeps/i386/Makefile: Here.
1874         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1875         * sysdeps/i386/cacheinfo.c: Here.
1876         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1877         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1878         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1879         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1881 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1883         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1884         __i586__ is defined.
1885         (HAS_I686): Defined to 1 if __i686__ is defined.
1887 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
1889         * elf/Makefile [$(have-z-execstack) = yes]
1890         (CPPFLAGS-tst-execstack.c): New variable.
1892         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1893         conditional to [defined UTMPX || _HAVE_UT_TYPE].
1894         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1895         UTMPX || _HAVE_UT_TV].
1896         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1897         UTMPX || _HAVE_UT_TV - 0].
1899 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
1901         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1902         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1903         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1905 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1907         * sysdeps/powerpc/dl-procinfo.c:
1908         (_dl_powerpc_cap_flags): Added missing strings for some
1909         hwcap features.
1910         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1912 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
1914         Port the 0x7efe...feff pattern to GCC 6.
1915         See Steve Ellcey's bug report in:
1916         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1917         * string/memrchr.c (MEMRCHR):
1918         * string/rawmemchr.c (RAWMEMCHR):
1919         * string/strchr.c (strchr):
1920         * string/strchrnul.c (STRCHRNUL):
1921         Rewrite code to avoid issues with signed shift overflow.
1923 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
1925         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1926         whether cpuid is available only if HAS_CPUID is 0.
1927         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1928         (HAS_I586): Likewise.
1929         (HAS_I686): Likewise.
1931 2015-08-18  Zack Weinberg  <zackw@panix.com>
1933         * misc/Versions (libc): Add GLIBC_2.23.
1935 2015-08-18  Alan Modra  <amodra@gmail.com>
1937         [BZ #18421]
1938         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1939         .Lp__global.
1940         (_start): Load %dp via .Lp__global.
1941         [!SHARED]: Use .section .rodata.
1943 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1945         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1946         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1948 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1950         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1951         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1953 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1955         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1956         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1958 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1960         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1961         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1963 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1965         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1966         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1968 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1970         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1971         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1973 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1975         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1977 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1979         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1980         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1981         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1982         (__ASSUME_LWS_CAS): Delete.
1984 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1986         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1987         * sysdeps/hppa/configure: Regenerated.
1988         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1989         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1990         * sysdeps/hppa/nptl/tls.h: Likewise.
1992 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1994         [BZ #18823]
1995         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1996         for scaling up small arguments.
1997         * math/s_csqrtf.c (__csqrtf): Likewise.
1998         * math/s_csqrtl.c (__csqrtl): Likewise.
1999         * math/auto-libm-test-in: Add more tests of csqrt.
2000         * math/auto-libm-test-out: Regenerated.
2002 2015-08-17  Andreas Schwab  <schwab@suse.de>
2004         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
2005         version set GLIBC_2.19.
2007 2015-08-16  Zack Weinberg  <zackw@panix.com>
2009         [BZ #18681]
2010         * misc/regexp.h: This interface is no longer supported.
2011         Remove all contents, leaving only an #error directive.
2012         * misc/regexp.c (loc1, loc2, locs, step, advance):
2013         Demote to compatibility symbols.
2015 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
2017         [BZ #18084]
2018         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
2019         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
2020         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
2021         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
2022         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
2023         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
2024         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
2025         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
2026         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
2028 2015-08-15  Zack Weinberg  <zackw@panix.com>
2030         [BZ #18795]
2031         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
2032         buffer length is known to be too large, not if it's known to be
2033         small enough.
2034         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
2035         overflow at runtime, involving a length parameter, twice: once
2036         with a compile-time constant length parameter, once without.
2038 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #18824]
2041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
2042         scaling x * y up instead of down.
2043         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2044         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2045         * math/auto-libm-test-in: Add more tests of fma.
2046         * math/auto-libm-test-out: Regenerated.
2048 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2050         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
2052 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2054         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
2055         unnecessary movq.
2056         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
2057         Likewise.
2059 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
2061         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2062         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
2063         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
2064         and tgamma.
2065         * math/auto-libm-test-out: Regenerated.
2066         * sysdeps/i386/fpu/libm-test-ulps: Update.
2067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2069         [BZ #16520]
2070         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
2071         (__tanh): Force underflow exception for arguments with small
2072         absolute value.
2073         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
2074         (__tanhf): Force underflow exception for arguments with small
2075         absolute value.
2076         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
2077         (__tanhl): Force underflow exception for arguments with small
2078         absolute value.
2079         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
2080         (__tanhl): Force underflow exception for arguments with small
2081         absolute value.
2082         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
2083         (__tanhl): Force underflow exception for arguments with small
2084         absolute value.
2085         * math/auto-libm-test-in: Add more tests of tanh.
2086         * math/auto-libm-test-out: Regenerated.
2087         * sysdeps/i386/fpu/libm-test-ulps: Update.
2089 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2091         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
2092         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
2094 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2096         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
2097         <cpuid.h>.
2099 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2101         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
2102         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
2104 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2106         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
2107         Remove $(objpfx)init-arch.o.
2108         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
2109         init-arch.
2110         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
2111         (INIT_ARCH_EXT): Defined as empty.
2112         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
2113         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
2114         __init_cpu_features call.  Replace HAS_XXX with
2115         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
2117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
2118         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
2119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
2120         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2121         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
2122         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
2123         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2124         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
2125         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
2126         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2127         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
2128         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
2129         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2130         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
2131         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
2132         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2133         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2134         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
2135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
2136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
2138         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
2139         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
2141         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
2142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2143         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
2144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
2145         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2146         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
2147         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
2148         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2149         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
2150         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
2152 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2154         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
2155         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2156         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2157         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
2158         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
2159         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
2160         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
2161         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
2162         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
2163         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
2164         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
2165         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
2166         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2167         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2168         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2169         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2170         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2171         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2172         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2173         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2174         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2175         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2176         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2177         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2178         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2179         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2180         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2181         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2182         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2183         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2184         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2185         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2186         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2187         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2188         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2189         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2190         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2191         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2192         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2193         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2194         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2195         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2196         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2198 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2200         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
2201         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2202         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
2203         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
2204         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
2205         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
2206         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
2207         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
2208         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
2209         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
2210         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
2211         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
2212         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
2213         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
2214         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
2215         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
2216         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
2217         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
2218         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
2219         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
2220         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2221         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
2222         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
2223         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2224         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2225         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
2226         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
2227         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
2228         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
2229         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2230         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2231         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2232         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2233         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2234         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2235         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2236         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2237         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2238         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2239         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2240         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2241         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2242         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2244 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
2246         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
2247         (dl_platform_init): Call init_cpu_features.
2248         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
2249         * sysdeps/i386/i686/cacheinfo.c
2250         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2251         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2252         * sysdeps/i386/i686/multiarch/Versions: Removed.
2253         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2254         Removed.
2255         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2256         * sysdeps/unix/sysv/linux/x86/Makefile
2257         (libpthread-sysdep_routines): Remove init-arch.
2258         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2259         <sysdeps/x86_64/dl-procinfo.c> instead of
2260         sysdeps/generic/dl-procinfo.c>.
2261         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2262         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2263         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2264         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2265         [$(subdir) == elf] (tests-static): Add
2266         tst-get-cpu-features-static.
2267         * sysdeps/x86/Versions: New file.
2268         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2269         * sysdeps/x86/cpu-features.c: Likewise.
2270         * sysdeps/x86/cpu-features.h: Likewise.
2271         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2272         * sysdeps/x86/libc-start.c: Likewise.
2273         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2274         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2275         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2276         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2277         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2278         Assume USE_MULTIARCH is defined and don't check it.
2279         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2280         (is_amd): Likewise.
2281         (max_cpuid): Likewise.
2282         (intel_check_word): Likewise.
2283         (__cache_sysconf): Don't call __init_cpu_features.
2284         (__x86_preferred_memory_instruction): Removed.
2285         (init_cacheinfo): Don't call __init_cpu_features. Replace
2286         __cpu_features with GLRO(dl_x86_cpu_features).
2287         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2288         (dl_platform_init): Call init_cpu_features.
2289         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2290         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2291         * sysdeps/x86_64/multiarch/Versions: Removed.
2292         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2293         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2294         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2295         Removed.
2296         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2298 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2300         [BZ #18820]
2301         * libio/Makefile (test-fmemopen-mem): New test.
2302         * libio/test-fmemopen.c (do_bz18820): New test.
2303         * libio/fmemopen.c (__fmemopen): Fix memory leak.
2304         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2306 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2308         [BZ #16734]
2309         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2310         (FREE_BUF): Delete.
2311         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2312         * libio/genops.c (_IO_setb): Use malloc and free directly.
2313         (_IO_default_doallocate, _IO_default_finish): Likewise.
2314         ( _IO_unbuffer_all): Likewise.
2315         ( libc_freeres_fn): Likewise.
2316         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2317         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2318         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2319         (_IO_wdefault_doallocate): Likewise.
2321 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2323         [BZ #18086]
2324         * sysdeps/posix/nice.c (nice): Restore old errno.
2325         * posix/tst-nice.c (do_test): Add test for BZ #18086.
2327 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
2329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2331 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2333         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2334         __bcopy and add a weak_alias to bcopy.
2335         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2336         for static build.
2338         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2339         cleanup macro usage.
2340         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2341         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2342         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2343         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2344         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2345         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2346         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2347         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2348         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2349         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2350         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2351         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2353         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2354         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2355         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2356         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2357         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2358         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2360         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2361         libc_hidden_def.
2362         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2364         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2365         (sysdep_routines): Add strstr-ppc64.
2366         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2368 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
2370         [BZ #18778]
2371         * elf/Makefile (tests): Add Add tst-nodelete2.
2372         (modules-names): Add tst-nodelete2mod.
2373         (tst-nodelete2mod.so-no-z-defs): New.
2374         ($(objpfx)tst-nodelete2): Likewise.
2375         ($(objpfx)tst-nodelete2.out): Likewise.
2376         (LDFLAGS-tst-nodelete2): Likewise.
2377         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2378         out of loop through all loaded libraries.
2379         * elf/tst-nodelete2.c: New file.
2380         * elf/tst-nodelete2mod.c: Likewise.
2381         * elf/tst-znodelete-zlib.cc: Delete.
2383 2015-08-11  Andreas Schwab  <schwab@suse.de>
2385         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2386         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2387         (__openat64_nocancel): Likewise.
2389 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
2391         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2392         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2393         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2394         * math/auto-libm-test-out: Regenerated.
2395         * sysdeps/i386/fpu/libm-test-ulps: Update.
2396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2398 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2400         [BZ #18790]
2401         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2402         threshold for returning +/- 1.
2403         * math/auto-libm-test-in: Add more tests of tanh.
2404         * math/auto-libm-test-out: Regenerated.
2405         * sysdeps/i386/fpu/libm-test-ulps: Update.
2407 2015-08-10  Andreas Schwab  <schwab@suse.de>
2409         [BZ #18781]
2410         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2411         MORE_OFLAGS to oflag.
2412         * io/test-lfs.c (do_test): Test openat64.
2414 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2416         [BZ #18789]
2417         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2418         smaller threshold for returning the argument.
2419         * math/auto-libm-test-in: Add more tests of sinh.
2420         * math/auto-libm-test-out: Regenerated.
2421         * sysdeps/i386/fpu/libm-test-ulps: Update.
2423 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2425         [BZ #18674]
2426         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2427         break.
2429 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2431         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2432         (generated): Don't add $(addprefix z.,$(tzfiles)).
2434 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2436         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2437         * scripts/sysd-rules.awk: Likewise.
2439 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2441         * iconvdata/tst-tables.sh: Change echo -n to printf.
2442         * nss/db-Makefile: Likewise.
2443         * posix/tst-getconf.sh: Likewise.
2444         * stdio-common/tst-unbputc.sh: Likewise.
2446 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2448         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2449         MADV_*_PAGES defines behind this feature check.
2451 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
2453         [BZ #18480]
2454         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2455         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2456         Define.
2457         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2458         LOAD_REGS_5, LOAD_REGS_6): Update.
2459         (INTERNAL_SYSCALL): Update using new LOAD defines.
2460         (INTERNAL_SYSCALL_NCS): Likewise.
2461         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2463 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2465         [BZ #16734]
2466         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2468 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2470         [BZ #17905]
2471         * catgets/Makefile (tst-catgets-mem): New test.
2472         * catgets/catgets.c (catopen): Don't use unbounded alloca.
2473         * catgets/open_catalog.c (__open_catalog): Likewise.
2474         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2476 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
2478         [BZ #18787]
2479         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2480         clobber registers.
2481         (atomic_compare_and_exchange_val_acq): Use register asms to assign
2482         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
2483         Cast return to __typeof (oldval).
2485 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
2487         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2488         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
2489         and delete sys/syscall.h include.
2491 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
2493         [BZ #16517]
2494         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2495         (tan): Force underflow exception for arguments with small absolute
2496         value.
2497         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2498         (__kernel_tanf): Force underflow exception for arguments with
2499         small absolute value.
2500         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2501         (__kernel_tanl): Force underflow exception for arguments with
2502         small absolute value.
2503         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2504         (__kernel_tanl): Force underflow exception for arguments with
2505         small absolute value.
2506         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2507         (__kernel_tanl): Force underflow exception for arguments with
2508         small absolute value.
2509         * math/auto-libm-test-in: Add more tests of tan.
2510         * math/auto-libm-test-out: Regenerated.
2512 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2514         Fix sysdeps/i386/fpu/s_scalbn.S build
2516         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2518 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
2520         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2522 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2524         Fix gcrt0.o compilation
2526         When static-start-installed-name is different from
2527         start-installed-name, we must not use the shared objects.
2529         * csu/Makefile
2530         (extra-objs): Add gmon-start.o when building shared library and
2531         $(static-start-installed-name) is different from
2532         $(start-installed-name).
2533         $(objpfx)g$(static-start-installed-name): When building shared
2534         library and $(static-start-installed-name) is different from
2535         $(static-start-installed-name), revert to non-shared rule,
2536         i.e. using $(objpfx)% and gmon-start.o.
2538 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
2540         [BZ #16519]
2541         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2542         (__ieee754_sinh): Force underflow exception for arguments with
2543         small absolute value.
2544         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2545         (__ieee754_sinhf): Force underflow exception for arguments with
2546         small absolute value.
2547         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2548         (__ieee754_sinhl): Force underflow exception for arguments with
2549         small absolute value.
2550         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2551         (__ieee754_sinhl): Force underflow exception for arguments with
2552         small absolute value.
2553         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2554         (__ieee754_sinhl): Force underflow exception for arguments with
2555         small absolute value.
2556         * math/auto-libm-test-in: Add more tests of sinh.
2557         * math/auto-libm-test-out: Regenerated.
2558         * sysdeps/i386/fpu/libm-test-ulps: Update.
2560 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2562         * libio/oldfileops.c: Include unistd.h.
2564 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
2566         * stdlib/isomac.c: Include ctype.h.
2568 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
2570         * dirent/tst-seekdir.c (main): Converted to ...
2571         (do_test): ... this.
2572         (TEST_FUNCTION): New macro.
2573         Include test-skeleton.c.
2574         * elf/tst-dlmodcount.c (main): Converted to ...
2575         (do_test): ... this.
2576         (TEST_FUNCTION): New macro.
2577         Include test-skeleton.c.
2578         * elf/tst-order-main.c (main): Converted to ...
2579         (do_test): ... this.
2580         (TEST_FUNCTION): New macro.
2581         Include test-skeleton.c.
2582         * elf/tst-pie2.c (main): Converted to ...
2583         (do_test): ... this.
2584         (TEST_FUNCTION): New macro.
2585         Include test-skeleton.c.
2586         * inet/tst-ether_aton.c (main): Converted to ...
2587         (do_test): ... this.
2588         (TEST_FUNCTION): New macro.
2589         Include test-skeleton.c.
2590         * misc/tst-mntent.c (main): Converted to ...
2591         (do_test): ... this.
2592         (TEST_FUNCTION): New macro.
2593         Include test-skeleton.c.
2594         * misc/tst-tsearch.c (main): Converted to ...
2595         (do_test): ... this.
2596         (TEST_FUNCTION): New macro.
2597         Include test-skeleton.c.
2598         * posix/tst-regexloc.c (main): Converted to ...
2599         (do_test): ... this.
2600         (TEST_FUNCTION): New macro.
2601         Include test-skeleton.c.
2602         * resolv/tst-aton.c (main): Converted to ...
2603         (do_test): ... this.
2604         (TEST_FUNCTION): New macro.
2605         Include test-skeleton.c.
2606         * stdio-common/test-fwrite.c (main): Converted to ...
2607         (do_test): ... this.
2608         (TEST_FUNCTION): New macro.
2609         Include test-skeleton.c.
2610         * stdio-common/tst-ferror.c (main): Converted to ...
2611         (do_test): ... this.
2612         (TEST_FUNCTION): New macro.
2613         Include test-skeleton.c.
2614         * stdio-common/tst-printf.c (main): Converted to ...
2615         (do_test): ... this.
2616         (TEST_FUNCTION): New macro.
2617         Include test-skeleton.c.
2618         * stdio-common/tst-printfsz.c (main): Converted to ...
2619         (do_test): ... this.
2620         (TEST_FUNCTION): New macro.
2621         Include test-skeleton.c.
2622         * stdlib/tst-strtod.c (main): Converted to ...
2623         (do_test): ... this.
2624         (TEST_FUNCTION): New macro.
2625         Include test-skeleton.c.
2626         * string/tst-strlen.c (main): Converted to ...
2627         (do_test): ... this.
2628         (TEST_FUNCTION): New macro.
2629         Include test-skeleton.c.
2630         * string/tst-svc.c (main): Converted to ...
2631         (do_test): ... this.
2632         (TEST_FUNCTION): New macro.
2633         Include test-skeleton.c.
2634         * time/tst-strptime.c (main): Converted to ...
2635         (do_test): ... this.
2636         (TEST_FUNCTION): New macro.
2637         Include test-skeleton.c.
2638         * timezone/tst-timezone.c (main): Converted to ...
2639         (do_test): ... this.
2640         (TEST_FUNCTION): New macro.
2641         Include test-skeleton.c.
2643 2015-08-05  Zack Weinberg  <zackw@panix.com>
2645         * misc/regexp.h: Update comments.
2647 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
2649         [BZ #18635]
2650         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2651         before return label.
2653 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2655         [BZ #18661]
2656         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2657         when calling __errno_location.
2658         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2659         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2661 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2663         [BZ #18661]
2664         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2665         (__lll_timedwait_tid): Align stack to 16 bytes when calling
2666         __gettimeofday.
2668 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2670         [BZ #18661]
2671         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2672         (__start_context): Don't use pop to restore %rdi so that stack
2673         is aligned to 16 bytes when calling __setcontext.
2675 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2677         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2678         only for libc.
2679         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2681 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2683         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2684         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
2685         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2687 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2689         * string/memccpy.c (memccpy):
2690         Improve performance by using memchr/memcpy/__mempcpy.
2692 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2694         * string/strncpy.c (strncpy):
2695         Improve performance by using __strnlen/memcpy.
2697 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2699         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2700         Optimize to avoid an unnecessary FPCR read.
2702 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2704         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2705         Optimize to reduce FPCR/FPSR accesses.
2707 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2709         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2710         dead->data[category] != NULL.
2712 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
2714         [BZ #18647]
2715         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2716         and |x| close to 1, use absolute value of x when computing log.
2717         * math/auto-libm-test-in: Add more tests of pow.
2718         * math/auto-libm-test-out: Regenerated.
2720 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2722         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2723         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2724         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2726 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
2728         [BZ #18525]
2729         * locales/km_KH: Remove timezone definition.
2730         * locales/lo_LA: Likewise.
2731         * locales/my_MM: Likewise.
2732         * locales/nan_TW@latin: Likewise.
2733         * locales/th_TH: Likewise.
2734         * locales/uk_UA: Likewise.
2736 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2738         [BZ #18265]
2739         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2740         (wcsncat): Likewise.
2741         (wcscmp): Likewise.
2742         (wcsncmp): Likewise.
2744 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2746         * test-skeleton.c (usage): New function.
2747         (main): Call usage when opt is '?'.
2749 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2751         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2752         before first use.
2754 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2756         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2757         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
2758         in there too.
2760 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
2762         * version.h (RELEASE): Set to "development".
2763         (VERSION): Set to "2.22.90"
2765         * version.h (RELEASE): Set to "stable".
2766         (VERSION): Set to "2.22"
2767         * include/features.h (__GLIBC_MINOR__): Set to 22.
2769 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
2771         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2772         Restructure macro to avoid "value computed is not used" warning.
2773         (atomic_compare_and_exchange_val_acq): Likewise.
2775 2015-08-04  Andreas Schwab  <schwab@suse.de>
2777         [BZ #18635]
2778         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2779         ret.
2780         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2782 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
2784         * po/pl.po: Updated translation.
2785         * po/uk.po: Likewise.
2786         * po/fi.po: Likewise.
2787         * po/ko.po: Likewise.
2788         * po/ru.po: Likewise.
2789         * po/vi.po: Likewise.
2791 2015-07-31  Zack Weinberg  <zackw@panix.com>
2793         [BZ #18681]
2794         * regexp.h: Add unconditional #warning stating that this header
2795         will be removed soon.  Revise banner comment to match.
2796         (compile): Consistently use ERROR instead of RETURN to report
2797         errors (partial fix for bz#18681).
2798         * regexp.c: Don't include regexp.h. Remove some unnecessary
2799         declarations.
2801 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
2803         * po/libc.pot: Regenerated.
2805 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2807         [BZ #18740]
2808         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2809         float-vlen4-arch-ext-cflags): Removed.
2810         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2811         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2813 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2815         [BZ #14113]
2816         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2817         aligned to __aligned__.
2818         (pthread_cond_t, pthread_rwlock_t): Likewise.
2820 2015-07-30  Torvald Riegel  <triegel@redhat.com>
2822         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2824 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2826         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2827         (struct sigaction): Change sa_flags from a long to an int, and add
2828         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2830 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2832         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2833         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2834         sysdeps/generic/sysdep.h include.
2835         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2836         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
2837         sysdeps/hppa/sysdep.h.
2838         (ENTRY, PSEUDO): Undefine before defining.
2840 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2842         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2843         from scratch to use INTERNAL_SYSCALL.
2845 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
2847         [BZ #18078]
2848         * scripts/check-localplt.awk: Support alternate relocations.
2849         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2850         sections.
2851         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2852         malloc entries with + REL R_386_GLOB_DAT.
2853         * sysdeps/x86_64/localplt.data: New file.
2855 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
2857         [BZ #18731]
2858         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2859         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2860         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2862 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2864         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2866 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2868         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2869         directly in terms of __sync_fetch_and_add and delete (int) cast.
2871 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2873         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2874         the -D_ASM_IA64_CURRENT_H flag.
2876 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2878         [BZ #18641]
2879         * pwd/pwd.h (putpwent): Delete __nonnull markings.
2881 2015-07-27  Andreas Schwab  <schwab@suse.de>
2883         * conform/conformtest.pl (checknamespace): Filter out string
2884         literals while tokenizing.
2886 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
2888         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2889         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2890         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2892 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
2894         * nptl/tst-join7mod.c: Add #include <string.h>.
2896 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
2898         * sysdeps/nios2/libm-test-ulps: Update.
2900 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
2902         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2903         Fix order of arguments to the rt_sigprocmask syscall.
2904         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2905         Likewise.
2907 2015-07-24  Roland McGrath  <roland@hack.frob.com>
2909         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2911 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2913         [BZ #18457]
2914         * nptl/Makefile (tests): New test case tst-join7.
2915         (modules-names): New test case module tst-join7mod.
2916         * nptl/tst-join7.c: New file.
2917         * nptl/tst-join7mod.c: New file.
2918         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2919         all translation units in libc.so, libpthread.so and rtld.
2921 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2925 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2927         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2928         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2929         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2930         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2931         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2933         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2934         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2935         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2936         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2937         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2938         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2939         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2940         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2941         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2942         implementation.
2944 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2946         [BZ #17711]
2947         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2948         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2949         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2950         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2951         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2952         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2954 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2956         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2957         instead of just saying load lock in the comments.
2959 2015-07-23  Roland McGrath  <roland@hack.frob.com>
2961         * sysdeps/unix/Subdirs: Moved ...
2962         * sysdeps/posix/Subdirs: ... here.
2963         * login/pty.h (struct termios, struct winsize): Add forward decls.
2964         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2965         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2966         * sysdeps/arm/nacl/libc.abilist: Updated.
2967         * sysdeps/nacl/libutil.abilist: New file.
2969         * bits/signum.h: Update comments to mention 1003.1-2013 too.
2970         (SIGWINCH): New macro.
2972         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2973         * sysdeps/arm/nacl/libc.abilist: Add it.
2975 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2977         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2979 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2981         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2982         Swap __glibc_reserved0 and sa_flags order.
2984 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2986         [BZ #18657]
2987         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2988         are pending TLS destructor calls.
2989         * include/link.h (struct link_map): Add concurrency note for
2990         L_TLS_DTOR_COUNT.
2991         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2992         Don't touch the link map flag.  Atomically increment
2993         l_tls_dtor_count.
2994         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2995         Avoid taking the load lock and don't touch the link map flag.
2996         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2997         * stdlib/Makefile (tests): Use it.
2998         * stdlib/tst-tls-atexit.c (do_test): dlopen
2999         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
3000         to allow tst-tls-atexit-nodelete test case to use it.
3002 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3004         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
3005         to bits/types.h.
3006         (msgqnum_t): New typedef.
3007         (msglen_t): Likewise.
3008         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
3009         and msg_qbytes type to msglen_t.
3011 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3013         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
3014         pad0 to __glibc_reserved0.
3015         (struct stat64): Likewise.
3017 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3019         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
3020         Change sa_flags from a long to an int and add __glibc_reserved0 before
3021         it for padding.
3023 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
3025         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
3026         anonymous by deleting "siginfo" name.
3028 2015-07-21  Roland McGrath  <roland@hack.frob.com>
3030         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
3031         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
3032         rather than __nacl_irt_filename.
3033         * sysdeps/nacl/xstat.c (__xstat): Likewise.
3035         * NEWS: New item for arm-nacl port.
3036         * sysdeps/arm/nacl/libc.abilist: New file.
3037         * sysdeps/nacl/ld.abilist: New file.
3038         * sysdeps/nacl/libBrokenLocale.abilist: New file.
3039         * sysdeps/nacl/libanl.abilist: New file.
3040         * sysdeps/nacl/libcrypt.abilist: New file.
3041         * sysdeps/nacl/libdl.abilist: New file.
3042         * sysdeps/nacl/libm.abilist: New file.
3043         * sysdeps/nacl/libpthread.abilist: New file.
3044         * sysdeps/nacl/libresolv.abilist: New file.
3045         * sysdeps/nacl/librt.abilist: New file.
3047 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
3049         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
3050         __startcontext to initialize the new context.
3051         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
3052         up CFI directive to forbid further backtracing.
3054 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
3056         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
3057         reference.
3058         * charmaps/ANSI_X3.4-1968: Likewise.
3059         * charmaps/BS_4730: Likewise.
3060         * charmaps/BS_VIEWDATA: Likewise.
3061         * charmaps/CP1250: Likewise.
3062         * charmaps/CP1251: Likewise.
3063         * charmaps/CP1252: Likewise.
3064         * charmaps/CP1253: Likewise.
3065         * charmaps/CP1254: Likewise.
3066         * charmaps/CP1255: Likewise.
3067         * charmaps/CP1256: Likewise.
3068         * charmaps/CSN_369103: Likewise.
3069         * charmaps/EBCDIC-DK-NO: Likewise.
3070         * charmaps/GB_1988-80: Likewise.
3071         * charmaps/GREEK-CCITT: Likewise.
3072         * charmaps/GREEK7: Likewise.
3073         * charmaps/INIS-8: Likewise.
3074         * charmaps/ISIRI-3342: Likewise.
3075         * charmaps/ISO_2033-1983: Likewise.
3076         * charmaps/ISO_5427-EXT: Likewise.
3077         * locales/POSIX: Likewise.
3078         * locales/ar_SA: Likewise.
3079         * locales/be_BY: Likewise.
3080         * locales/be_BY@latin: Likewise.
3081         * locales/ca_ES: Likewise.
3082         * locales/cs_CZ: Likewise.
3083         * locales/da_DK: Likewise.
3084         * locales/de_BE: Likewise.
3085         * locales/de_CH: Likewise.
3086         * locales/de_LU: Likewise.
3087         * locales/en_AU: Likewise.
3088         * locales/en_BW: Likewise.
3089         * locales/en_CA: Likewise.
3090         * locales/en_DK: Likewise.
3091         * locales/en_GB: Likewise.
3092         * locales/en_IE: Likewise.
3093         * locales/en_NZ: Likewise.
3094         * locales/en_ZA: Likewise.
3095         * locales/en_ZW: Likewise.
3096         * locales/es_AR: Likewise.
3097         * locales/es_BO: Likewise.
3098         * locales/es_CL: Likewise.
3099         * locales/es_CO: Likewise.
3100         * locales/es_DO: Likewise.
3101         * locales/es_EC: Likewise.
3102         * locales/es_ES: Likewise.
3103         * locales/es_HN: Likewise.
3104         * locales/es_MX: Likewise.
3105         * locales/es_PA: Likewise.
3106         * locales/es_PE: Likewise.
3107         * locales/es_PY: Likewise.
3108         * locales/es_SV: Likewise.
3109         * locales/es_US: Likewise.
3110         * locales/es_UY: Likewise.
3111         * locales/es_VE: Likewise.
3112         * locales/et_EE: Likewise.
3113         * locales/fa_IR: Likewise.
3114         * locales/fo_FO: Likewise.
3115         * locales/fr_CA: Likewise.
3116         * locales/fr_CH: Likewise.
3117         * locales/gv_GB: Likewise.
3118         * locales/he_IL: Likewise.
3119         * locales/hr_HR: Likewise.
3120         * locales/id_ID: Likewise.
3121         * locales/is_IS: Likewise.
3122         * locales/it_CH: Likewise.
3123         * locales/iw_IL: Likewise.
3124         * locales/kl_GL: Likewise.
3125         * locales/ko_KR: Likewise.
3126         * locales/kw_GB: Likewise.
3127         * locales/lg_UG: Likewise.
3128         * locales/lt_LT: Likewise.
3129         * locales/lv_LV: Likewise.
3130         * locales/mi_NZ: Likewise.
3131         * locales/nhn_MX: Likewise.
3132         * locales/nl_BE: Likewise.
3133         * locales/pl_PL: Likewise.
3134         * locales/sk_SK: Likewise.
3135         * locales/sl_SI: Likewise.
3136         * locales/sv_FI: Likewise.
3137         * locales/tl_PH: Likewise.
3138         * locales/tr_TR: Likewise.
3139         * locales/vi_VN: Likewise.
3141 2015-07-21  Khem Raj  <raj.khem@gmail.com>
3143         [BZ #17475]
3144         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
3145         of tu_IN and bh_IN.
3147 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
3149         [BZ #18694]
3150         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
3151         bits/wordsize.h.
3152         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
3154 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3156         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
3157         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
3158         (spawn_thread): New function.
3159         (load): Rename to reg_dtor_and_close.  Move dlopen to...
3160         (do_test): ... here.  Use IS_LOADED to test for its
3161         availability.
3163 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
3165         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3167 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
3169         [BZ #18696]
3170         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
3171         si_addr_bnd.
3172         (si_lower): New.
3173         (si_upper): Likewise.
3175 2015-07-16  David S. Miller  <davem@davemloft.net>
3177         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
3179 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3181         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
3182         buffer.
3183         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
3184         fail output information.
3186 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
3189         and strstr-ppc64..
3190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3191         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
3192         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
3193         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
3194         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
3196 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
3198         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3199         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3200         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
3201         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
3203 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
3205         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
3206         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
3207         rtld_hidden_proto.
3208         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
3210 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3212         * tst-nodelete-opened.c (do_test): Add comment to clarify how
3213         the test can fail.
3215         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
3217         [BZ #18676]
3218         * elf/tst-nodelete-opened.c: New test case.
3219         * elf/tst-nodelete-opened-lib.c: New test case module.
3220         * elf/Makefile (tests, modules-names): Use them.
3221         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
3222         early.
3224 2015-07-15  David S. Miller  <davem@davemloft.net>
3226         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
3227         futex-intenal.h
3228         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
3229         * sysdeps/sparc/sparc64/Makefile: Likewise.
3230         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3231         Remove space from macro define.
3232         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
3234 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
3236         [BZ #17475]
3237         * locale/iso-639.def: Update Bhili and Tulu language codes as
3238         per iso639-3.
3240 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
3242         * elf/tst-leaks1.c (main): Converted to ...
3243         (do_test): ... this.
3244         (TEST_FUNCTION): New macro.
3245         Include test-skeleton.c.
3246         * localedata/tst-langinfo.c (main): Converted to ...
3247         (do_test): ... this.
3248         (TEST_FUNCTION): New macro.
3249         Include test-skeleton.c.
3250         * math/test-fpucw.c (main): Converted to ...
3251         (do_test): ... this.
3252         (TEST_FUNCTION): New macro.
3253         Include test-skeleton.c.
3254         * math/test-tgmath.c (main): Converted to ...
3255         (do_test): ... this.
3256         (TEST_FUNCTION): New macro.
3257         Include test-skeleton.c.
3258         * math/test-tgmath2.c (main): Converted to ...
3259         (do_test): ... this.
3260         (TEST_FUNCTION): New macro.
3261         Include test-skeleton.c.
3262         * setjmp/tst-setjmp.c (main): Converted to ...
3263         (do_test): ... this.
3264         (TEST_FUNCTION): New macro.
3265         Include test-skeleton.c.
3266         * stdio-common/tst-sscanf.c (main): Converted to ...
3267         (do_test): ... this.
3268         (TEST_FUNCTION): New macro.
3269         Include test-skeleton.c.
3270         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3271         (do_test): ... this.
3272         (TEST_FUNCTION): New macro.
3273         Include test-skeleton.c.
3275         * elf/tst-audit9.c (main): Converted to ...
3276         (do_test): ... this.
3277         (TEST_FUNCTION): New macro.
3278         Include test-skeleton.c.
3280 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
3282         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3284 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3286         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3287         New variable.
3289 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3291         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3293 2015-07-14  Roland McGrath  <roland@hack.frob.com>
3295         * sysdeps/generic/dl-fileid.h: New file.
3296         * sysdeps/posix/dl-fileid.h: New file.
3297         * sysdeps/nacl/dl-fileid.h: New file.
3298         * include/link.h: Include <dl-fileid.h>.
3299         (struct link_map): Replace l_dev and l_ino with l_file_id.
3300         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3301         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
3302         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
3304 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3306         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3308 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3310         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3311         Add iff $CXX is set.
3312         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3313         Likewise.
3314         (tst-nodelete-zmodiff): Likewise.
3315         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3317 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3319         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3321 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3323         * sysdeps/aarch64/fpu/math_private.h
3324         (define math_opt_barrier): Add AArch64 version.
3325         (math_force_eval): Likewise.
3327 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3329         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3331 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3333         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3334         %ld with %jd and cast to intmax_t.
3335         (do_test_length_zero): Likewise.
3337 2015-07-10  Roland McGrath  <roland@hack.frob.com>
3339         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3341 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
3343         * sysdeps/tile/libm-test-ulps: Regenerated.
3345         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3346         Comment out the whole function, not just its body.
3348 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3350         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3351         locks.
3353         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3355 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3357         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3358         (sem_assume_only_signals_cause_futex_EINTR): Remove.
3360 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3362         * sysdeps/nptl/futex-internal.h: New file.
3363         * sysdeps/nacl/futex-internal.h: New file.
3364         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3365         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3366         error checking.
3367         (setxid_unmark_thread): Likewise.
3368         (__nptl_setxid): Likewise.
3369         (__wait_lookup_done): Likewise.
3370         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3371         * nptl/nptl-init.c (sighandler_setxid): Likewise.
3372         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3373         * nptl/pthread_once.c (clear_once_control): Likewise.
3374         (__pthread_once_slow): Likewise.
3375         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3376         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3377         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3378         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3379         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3380         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3381         Likewise.
3382         (__pthread_rwlock_rdlock): Likewise.
3383         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3384         Likewise.
3385         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3386         Likewise.
3387         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3388         Likewise.
3389         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3390         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3391         Likewise.
3392         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3393         __ASSUME_PRIVATE_FUTEX check.
3394         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3395         Check that shared futexes are supported.
3396         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3397         wrappers with error checking.
3398         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3399         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3400         * nptl/pthread_barrierattr_setpshared.c
3401         (pthread_barrierattr_setpshared): Check that shared futexes are
3402         supported.
3403         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3404         Likewise.
3405         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3406         Likewise.
3407         * nptl/sem_init.c (futex_private_if_supported): Remove.
3408         (__new_sem_init): Adapt and check that shared futexes are supported.
3409         * nptl/sem_open.c (sem_open): Likewise.
3410         * nptl/sem_post.c (futex_wake): Remove.
3411         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3412         (do_futex_wait): Use futex wrappers with error checking.
3413         * nptl/sem_wait.c: Include lowlevellock.h.
3414         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3415         Use futex_supports_pshared.
3416         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3417         Use futex wrappers with error checking.
3418         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3419         Likewise.
3420         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3421         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3422         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3423         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3424         (futex_wake): Likewise.
3425         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3426         (do_futex_wait): Use futex wrappers with error checking.
3427         (__new_sem_wait_slow): Update EINTR handling.
3428         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3430 2015-07-09  Martin Sebor  <msebor@redhat.com>
3432         [BZ #18435]
3433         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3434         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3435         * nptl/Makefile (test-xfail-tst-once5): Define.
3437 2015-07-09  Roland McGrath  <roland@hack.frob.com>
3439         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3440         * elf/dl-minimal.c: For readability, reorder some definitions and
3441         introduce more page breaks.  Include <stdio.h>.
3442         (__libc_fatal): New function.
3444         * include/unistd.h: Add rtld_hidden_proto for _exit.
3445         * posix/_exit.c: Add rtld_hidden_def.
3446         * sysdeps/mach/hurd/_exit.c: Likewise.
3447         * sysdeps/nacl/_exit.c: Likewise.
3448         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3449         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3451 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
3453         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3454         bndmov encoding with zero displacement.
3456 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3457             H.J. Lu  <hongjiu.lu@intel.com>
3459         [BZ #18134]
3460         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3461         * sysdeps/i386/configure: Regenerated.
3462         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3463         (_dl_runtime_profile): Save and restore Intel MPX return bound
3464         registers when calling _dl_call_pltexit.  Add
3465         PRESERVE_BND_REGS_PREFIX before return.
3466         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3467         (LRV_BND1_OFFSET): Likewise.
3468         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3469         lrv_bnd1.
3470         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3471         typo in bndmov encoding.
3472         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3473         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
3474         branch instructions to preserve bounds.
3476 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3479         [GLIBC_2.22]: Add fmemopen.
3481 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3483         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3484         returns an error, also try to use host port from __mach_host_self for
3485         the __vm_wire call.
3486         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3488 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3490         [BZ #18400]
3491         [BZ #18648]
3492         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3493         Fix pr_uid and pr_gid members.
3494         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3495         definition to elf_greg_t.
3497 2015-07-08  Roland McGrath  <roland@hack.frob.com>
3499         [BZ #18383]
3500         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3501         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3502         * sysdeps/arm/configure: Regenerated.
3503         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3504         (test-xfail-tst-tlsalign-static): Variable removed.
3506         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3507         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3508         rather than explicit 'ln -s'.
3510         * resolv/rpc/netdb.h: New file.
3511         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3513 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3515         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3516         length buffers.
3517         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3518         test-skeleton.c.
3520         [BZ #6544]
3521         [BZ #11216]
3522         [BZ #12836]
3523         [BZ #13151]
3524         [BZ #13152]
3525         [BZ #14292]
3526         * include/stdio.h (fmemopen): Remove hidden prototype.
3527         (__fmemopen): Add new hidden prototype.
3528         * libio/Makefile: Add oldfmemopen object.
3529         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3530         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3531         compliance.
3532         * libio/oldfmemopen.c: New file: old fmemopen implementation for
3533         symbol compatibility.
3534         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3535         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3536         fmemopen.
3537         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3538         on append and read mode.
3539         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3540         fmemopen.
3541         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3542         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3543         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3544         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3545         Likewise.
3546         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3547         [GLIBC_2.22]: Likewise.
3548         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3549         Likewise.
3550         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3551         Likewise.
3552         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3553         [GLIBC_2.22]: Likewise.
3554         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3555         [GLIBC_2.22]: Likewise.
3556         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3557         [GLIBC_2.22]: Likewise.
3558         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3559         [GLIBC_2.22]: Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3561         [GLIBC_2.22]: Likewise.
3562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3563         [GLIBC_2.22]: Likewise.
3564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3565         [GLIBC_2.22]: Likewise.
3566         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3567         Likewise.
3568         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3569         Likewise.
3570         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3572         [GLIBC_2.22]: Likewise.
3573         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3574         [GLIBC_2.22]: Likewise.
3575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3576         [GLIBC_2.22]: Likewise.
3577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3578         [GLIBC_2.22]: Likewise.
3579         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3580         Likewise.
3581         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3582         Likewise.
3583         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3584         Likewise.
3585         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3586         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3588 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
3590         [BZ #18643]
3591         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3592         IPV6_PATHMTU, and IPV6_DONTFRAG.
3594 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
3596         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3597         and _IO_UNBUFFERED.
3598         * libio/oldfileops.c: Likewise.
3599         * libio/wfileops.c: Likewise.
3601 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
3603         * nscd/selinux.c: Delete selinux/flask.h include.
3605 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
3607         [BZ #18641]
3608         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3609         (putpwent): Likewise.
3610         (getpwnam): Likewise.
3611         (getpwent_r): Likewise.
3612         (getpwuid_r): Likewise.
3613         (getpwnam_r): Likewise.
3614         (fgetpwent_r): Likewise.
3616 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
3618         [BZ #18557]
3619         * inet/rcmd.c (__validuser2_sa): Check user first to
3620         short-circuit host check.
3622 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
3623             Mikhail Ilin  <m.ilin@samsung.com>
3625         [BZ #17833]
3626         * elf/Makefile (tests): Add tst-nodelete.
3627         (modules-names): Add tst-nodelete-uniquemod.
3628         (tst-nodelete-uniquemod.so-no-z-defs): New.
3629         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3630         (tst-nodelete-zmod.so-no-z-defs): Likewise.
3631         ($(objpfx)tst-nodelete): Likewise.
3632         ($(objpfx)tst-nodelete.out): Likewise.
3633         (LDFLAGS-tst-nodelete): Likewise.
3634         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3635         * elf/dl-close.c (_dl_close_worker): Add a parameter to
3636         implement forced object deletion.
3637         (_dl_close): Pass false to _dl_close_worker.
3638         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3639         * elf/tst-nodelete.cc: New file.
3640         * elf/tst-nodeletelib.cc: Likewise.
3641         * elf/tst-znodeletelib.cc: Likewise.
3642         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3644 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3646         [BZ #18508]
3647         * stdlib/Makefile ($(objpfx)tst-makecontext3):
3648         Depend on $(libdl).
3649         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3650         is not called infinitely times.
3651         (backtrace_helper): New function.
3652         (trace_arg): New struct.
3653         (st1): Enlarge stack size.
3654         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3655         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3656         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3657         Likewise.
3659 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3661         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3663 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3665         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3666         Include sys/types.h instead of bits/types.h.
3667         Remove inclusion of bits/wordsize.h.
3669 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3671         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3672         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3673         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3674         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3675         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3676         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3678 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3680         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3681         link-defines.sym.
3682         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3683         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3684         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3685         and LR_SIZE.
3686         * sysdeps/i386/link-defines.sym: New file.
3688 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3690         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3691         (modules-names): Add tst-auditmod3a tst-auditmod3b.
3692         ($(objpfx)tst-audit3): New rule.
3693         ($(objpfx)tst-audit3.out): Likewise.
3694         * sysdeps/i386/tst-audit3.c: New file.
3695         * sysdeps/i386/tst-audit3.h: Likewise.
3696         * sysdeps/i386/tst-auditmod3a.c: Likewise.
3697         * sysdeps/i386/tst-auditmod3b.c: Likewise.
3699 2015-07-07  Torvald Riegel  <triegel@redhat.com>
3701         [BZ #18633]
3702         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3703         pointer in C code.
3704         (__strcat_c): Likewise.
3705         (__strcat_g): Likewise.
3707 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
3709         [BZ #18592]
3710         * misc/sbrk.c: Set errno to ENOMEM on overflow.
3712 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
3714         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3715         New function.  (__ieee754_sqrtf): New function.
3716         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3717         New function.
3718         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3719         New function.
3721 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
3723         * sysdeps/ieee754/support.c: Remove unused file.
3725 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3727         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3728         registers instead of d ones so the layout is kernel abi compatible.
3729         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3730         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3731         Likewise.
3733 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3735         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3737 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3739         [BZ #18619]
3740         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3741         and return argument in case of subnormal argument.
3743 2015-07-01  Martin Sebor  <msebor@redhat.com>
3745         [BZ #18435]
3746         * nptl/Makefile: Add tst-once5.cc.
3747         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3748         Remove macro redefinitions.
3749         * nptl/tst-once5.cc: New test.
3751 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3753         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3755         * sysdeps/arm/libm-test-ulps: Regenerated.
3757         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3758         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3760 2015-06-30  Torvald Riegel  <triegel@redhat.com>
3762         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3763         lll_lock_wait_private and lll_futex_wake probes.
3765         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3766         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3767         Likewise.
3768         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3769         atomic_spin_nop.
3770         * sysdeps/x86_64/bits/atomic.h: Likewise.
3771         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3772         to atomic_spin_nop and move ...
3773         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3774         ... here and ...
3775         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3776         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3777         atomic_spin_nop instead of BUSY_WAIT_NOP.
3778         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3779         Likewise.
3780         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3781         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3782         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3783         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3784         instead of atomic_delay.
3786 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
3788         [BZ #18613]
3789         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3790         X_ADJ not X when adjusting exponent.
3791         (__ieee754_gamma_r): Do intermediate computations in
3792         round-to-nearest then adjust overflowing and underflowing results
3793         as needed.
3794         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3795         of X_ADJ not X when adjusting exponent.
3796         (__ieee754_gammaf_r): Do intermediate computations in
3797         round-to-nearest then adjust overflowing and underflowing results
3798         as needed.
3799         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3800         log of X_ADJ not X when adjusting exponent.
3801         (__ieee754_gammal_r): Do intermediate computations in
3802         round-to-nearest then adjust overflowing and underflowing results
3803         as needed.  Use 1.0L not 1.0f as numerator of division.
3804         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3805         log of X_ADJ not X when adjusting exponent.
3806         (__ieee754_gammal_r): Do intermediate computations in
3807         round-to-nearest then adjust overflowing and underflowing results
3808         as needed.  Use 1.0L not 1.0f as numerator of division.
3809         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3810         of X_ADJ not X when adjusting exponent.
3811         (__ieee754_gammal_r): Do intermediate computations in
3812         round-to-nearest then adjust overflowing and underflowing results
3813         as needed.  Use 1.0L not 1.0f as numerator of division.
3814         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
3815         to auto-libm-test-in.
3816         (tgamma_test): Use ALL_RM_TEST.
3817         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
3818         tests of tgamma with spurious-overflow.
3819         * math/auto-libm-test-out: Regenerated.
3820         * math/gen-libm-have-vector-test.sh: Do not check for START.
3821         * sysdeps/i386/fpu/libm-test-ulps: Update.
3822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3824         [BZ #18612]
3825         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3826         arguments, just return 0.5 times the argument, with underflow
3827         forced as needed.
3828         * math/auto-libm-test-in: Add more tests of j1.
3829         * math/auto-libm-test-out: Regenerated.
3831         [BZ #16559]
3832         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3833         (__ieee754_j1): Force underflow exception for small results.
3834         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3835         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3836         (__ieee754_j1f): Force underflow exception for small results.
3837         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3838         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3839         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3840         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3841         (__ieee754_j1l): Force underflow exception for small results.
3842         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3843         * math/auto-libm-test-in: Add more tests of j1 and jn.
3844         * math/auto-libm-test-out: Regenerated.
3846         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3847         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3848         (PF_MPLS): Likewise.
3849         (AF_IB): Likewise.
3850         (AF_MPLS): Likewise.
3851         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3852         value and macro.
3853         (MS_RMT_MASK): Include MS_LAZYTIME.
3855 2015-06-26  Mel Gorman  <mgorman@suse.de>
3857         [BZ #18502]
3858         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3859         already minimal.
3861 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
3863         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3864         (DT_MIPS_NUM): Update.
3865         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3866         DT_MIPS_RLD_MAP_REL.
3868 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
3870         [BZ #16559]
3871         [BZ #18602]
3872         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3873         round-to-nearest internally then recompute results that
3874         underflowed to zero in the original rounding mode.
3875         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3876         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3878         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3879         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3880         * sysdeps/i386/fpu/libm-test-ulps: Update.
3881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3883 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3885         * NEWS: Fixed description of link with vector math library.
3887 2015-06-25  Andreas Schwab  <schwab@suse.de>
3889         [BZ #18549]
3890         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3891         * libio/test-fmemopen.c (do_test): Add test for it.
3893 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
3895         [BZ #17841]
3896         * Makeconfig (no-pie-ldflag): New.
3897         (+link): Set to $(+link-pie) if default to PIE.
3898         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3899         * config.make.in (build-pie-default): New.
3900         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
3901         is default.  AC_SUBST.
3902         * configure: Regenerated.
3903         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3905 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3907         * nptl/descr.h (struct pthread): Change type of field setxid_futex
3908         to 'unsigned int'.
3910         * resolv/gai_misc.h (struct waitlist): Change type of field
3911         counterp to 'volatile unsigned int *'.
3912         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3913         FUTEXADDR and OLDVAL.
3914         * resolv/getaddrinfo_a.c (getaddrinfo_a):
3915         Give local variable TOTAL type 'volatile unsigned int'.
3916         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3917         * resolv/gai_suspend.c (gai_suspend):
3918         Give local variable CNTR type 'unsigned int'.
3920         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3921         counterp to 'volatile unsigned int *'.
3922         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3923         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3924         (aio_suspend): Give local variable CNTR type 'unsigned int'.
3925         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3926         Give local variable TOTAL type 'volatile unsigned int'.
3927         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3929 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3931         [BZ #18383]
3932         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3933         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
3934         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3935         comment for i386/x86-64.
3936         (test-xfail-tst-tlsalign-extern-static): Removed.
3938 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3940         * math/test-double.h: New file.
3941         * math/test-float.h: Likewise.
3942         * math/test-ldouble.h: Likewise.
3943         * math/test-math-inline.h: Likewise.
3944         * math/test-math-no-inline.h: Likewise.
3945         * math/test-math-scalar.h: Likewise.
3946         * math/test-math-vector.h: Likewise.
3947         * math/test-vec-loop.h: Remove file.  Contents moved into
3948         test-math-vector.h.
3949         * math/libm-test.inc (MATHCONST): Do not document macro.
3950         * math/test-double.c: Include test-double.h, test-math-no-inline.h
3951         and test-math-scalar.h.
3952         (FUNC): Remove macro.
3953         (FUNC_TEST): Likewise.
3954         (FLOAT): Likewise.
3955         (MATHCONST): Likewise.
3956         (PRINTF_EXPR): Likewise.
3957         (PRINTF_XEXPR): Likewise.
3958         (PRINTF_NEXPR): Likewise.
3959         (TEST_DOUBLE): Likewise.
3960         (TEST_MATHVEC): Likewise.
3961         (__NO_MATH_INLINES): Likewise.
3962         * math/test-float.c: Include test-float.h, test-math-no-inline.h
3963         and test-math-scalar.h.
3964         (FUNC): Remove macro.
3965         (FUNC_TEST): Likewise.
3966         (FLOAT): Likewise.
3967         (MATHCONST): Likewise.
3968         (PRINTF_EXPR): Likewise.
3969         (PRINTF_XEXPR): Likewise.
3970         (PRINTF_NEXPR): Likewise.
3971         (TEST_FLOAT): Likewise.
3972         (TEST_MATHVEC): Likewise.
3973         (__NO_MATH_INLINES): Likewise.
3974         * math/test-idouble.c: Include test-double.h, test-math-inline.h
3975         and test-math-scalar.h.
3976         (FUNC): Remove macro.
3977         (FUNC_TEST): Likewise.
3978         (FLOAT): Likewise.
3979         (MATHCONST): Likewise.
3980         (PRINTF_EXPR): Likewise.
3981         (PRINTF_XEXPR): Likewise.
3982         (PRINTF_NEXPR): Likewise.
3983         (TEST_DOUBLE): Likewise.
3984         (TEST_MATHVEC): Likewise.
3985         (TEST_INLINE): Likewise.
3986         (__NO_MATH_INLINES): Likewise.
3987         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3988         test-math-scalar.h.
3989         (FUNC): Remove macro.
3990         (FUNC_TEST): Likewise.
3991         (FLOAT): Likewise.
3992         (MATHCONST): Likewise.
3993         (PRINTF_EXPR): Likewise.
3994         (PRINTF_XEXPR): Likewise.
3995         (PRINTF_NEXPR): Likewise.
3996         (TEST_FLOAT): Likewise.
3997         (TEST_MATHVEC): Likewise.
3998         (TEST_INLINE): Likewise.
3999         (__NO_MATH_INLINES): Likewise.
4000         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
4001         and test-math-scalar.h.
4002         (FUNC): Remove macro.
4003         (FUNC_TEST): Likewise.
4004         (FLOAT): Likewise.
4005         (MATHCONST): Likewise.
4006         (PRINTF_EXPR): Likewise.
4007         (PRINTF_XEXPR): Likewise.
4008         (PRINTF_NEXPR): Likewise.
4009         (TEST_LDOUBLE): Likewise.
4010         (TEST_MATHVEC): Likewise.
4011         (TEST_INLINE): Likewise.
4012         (__NO_MATH_INLINES): Likewise.
4013         * math/test-ldouble.c: Include test-ldouble.h,
4014         test-math-no-inline.h and test-math-scalar.h.
4015         (FUNC): Remove macro.
4016         (FUNC_TEST): Likewise.
4017         (FLOAT): Likewise.
4018         (MATHCONST): Likewise.
4019         (PRINTF_EXPR): Likewise.
4020         (PRINTF_XEXPR): Likewise.
4021         (PRINTF_NEXPR): Likewise.
4022         (TEST_LDOUBLE): Likewise.
4023         (TEST_MATHVEC): Likewise.
4024         (__NO_MATH_INLINES): Likewise.
4025         * math/test-double-vlen2.h: Include test-double.h,
4026         test-math-no-inline.h and test-math-vector.h.
4027         (FLOAT): Remove macro.
4028         (FUNC): Likewise.
4029         (MATHCONST): Likewise.
4030         (PRINTF_EXPR): Likewise.
4031         (PRINTF_XEXPR): Likewise.
4032         (PRINTF_NEXPR): Likewise.
4033         (TEST_DOUBLE): Likewise.
4034         (TEST_MATHVEC): Likewise.
4035         (__NO_MATH_INLINES): Likewise.
4036         (CNCT): Likewise.
4037         (CONCAT): Likewise.
4038         (WRAPPER_NAME): Likewise.
4039         (WRAPPER_DECL): Likewise.
4040         (WRAPPER_DECL_ff): Likewise.
4041         (WRAPPER_DECL_fFF): Likewise.
4042         (VECTOR_WRAPPER): Likewise.
4043         (VECTOR_WRAPPER_ff): Likewise.
4044         (VECTOR_WRAPPER_fFF): Likewise.
4045         (VEC_LEN): New macro.
4046         * math/test-double-vlen4.h: Include test-double.h,
4047         test-math-no-inline.h and test-math-vector.h.
4048         (FLOAT): Remove macro.
4049         (FUNC): Likewise.
4050         (MATHCONST): Likewise.
4051         (PRINTF_EXPR): Likewise.
4052         (PRINTF_XEXPR): Likewise.
4053         (PRINTF_NEXPR): Likewise.
4054         (TEST_DOUBLE): Likewise.
4055         (TEST_MATHVEC): Likewise.
4056         (__NO_MATH_INLINES): Likewise.
4057         (CNCT): Likewise.
4058         (CONCAT): Likewise.
4059         (WRAPPER_NAME): Likewise.
4060         (WRAPPER_DECL): Likewise.
4061         (WRAPPER_DECL_ff): Likewise.
4062         (WRAPPER_DECL_fFF): Likewise.
4063         (VECTOR_WRAPPER): Likewise.
4064         (VECTOR_WRAPPER_ff): Likewise.
4065         (VECTOR_WRAPPER_fFF): Likewise.
4066         (VEC_LEN): New macro.
4067         * math/test-double-vlen8.h: Include test-double.h,
4068         test-math-no-inline.h and test-math-vector.h.
4069         (FLOAT): Remove macro.
4070         (FUNC): Likewise.
4071         (MATHCONST): Likewise.
4072         (PRINTF_EXPR): Likewise.
4073         (PRINTF_XEXPR): Likewise.
4074         (PRINTF_NEXPR): Likewise.
4075         (TEST_DOUBLE): Likewise.
4076         (TEST_MATHVEC): Likewise.
4077         (__NO_MATH_INLINES): Likewise.
4078         (CNCT): Likewise.
4079         (CONCAT): Likewise.
4080         (WRAPPER_NAME): Likewise.
4081         (WRAPPER_DECL): Likewise.
4082         (WRAPPER_DECL_ff): Likewise.
4083         (WRAPPER_DECL_fFF): Likewise.
4084         (VECTOR_WRAPPER): Likewise.
4085         (VECTOR_WRAPPER_ff): Likewise.
4086         (VECTOR_WRAPPER_fFF): Likewise.
4087         (VEC_LEN): New macro.
4088         * math/test-float-vlen4.h: Include test-float.h,
4089         test-math-no-inline.h and test-math-vector.h.
4090         (FLOAT): Remove macro.
4091         (FUNC): Likewise.
4092         (MATHCONST): Likewise.
4093         (PRINTF_EXPR): Likewise.
4094         (PRINTF_XEXPR): Likewise.
4095         (PRINTF_NEXPR): Likewise.
4096         (TEST_FLOAT): Likewise.
4097         (TEST_MATHVEC): Likewise.
4098         (__NO_MATH_INLINES): Likewise.
4099         (CNCT): Likewise.
4100         (CONCAT): Likewise.
4101         (WRAPPER_NAME): Likewise.
4102         (WRAPPER_DECL): Likewise.
4103         (WRAPPER_DECL_ff): Likewise.
4104         (WRAPPER_DECL_fFF): Likewise.
4105         (VECTOR_WRAPPER): Likewise.
4106         (VECTOR_WRAPPER_ff): Likewise.
4107         (VECTOR_WRAPPER_fFF): Likewise.
4108         (VEC_LEN): New macro.
4109         * math/test-float-vlen8.h: Include test-float.h,
4110         test-math-no-inline.h and test-math-vector.h.
4111         (FLOAT): Remove macro.
4112         (FUNC): Likewise.
4113         (MATHCONST): Likewise.
4114         (PRINTF_EXPR): Likewise.
4115         (PRINTF_XEXPR): Likewise.
4116         (PRINTF_NEXPR): Likewise.
4117         (TEST_FLOAT): Likewise.
4118         (TEST_MATHVEC): Likewise.
4119         (__NO_MATH_INLINES): Likewise.
4120         (CNCT): Likewise.
4121         (CONCAT): Likewise.
4122         (WRAPPER_NAME): Likewise.
4123         (WRAPPER_DECL): Likewise.
4124         (WRAPPER_DECL_ff): Likewise.
4125         (WRAPPER_DECL_fFF): Likewise.
4126         (VECTOR_WRAPPER): Likewise.
4127         (VECTOR_WRAPPER_ff): Likewise.
4128         (VECTOR_WRAPPER_fFF): Likewise.
4129         (VEC_LEN): New macro.
4130         * math/test-float-vlen16.h: Include test-float.h,
4131         test-math-no-inline.h and test-math-vector.h.
4132         (FLOAT): Remove macro.
4133         (FUNC): Likewise.
4134         (MATHCONST): Likewise.
4135         (PRINTF_EXPR): Likewise.
4136         (PRINTF_XEXPR): Likewise.
4137         (PRINTF_NEXPR): Likewise.
4138         (TEST_FLOAT): Likewise.
4139         (TEST_MATHVEC): Likewise.
4140         (__NO_MATH_INLINES): Likewise.
4141         (CNCT): Likewise.
4142         (CONCAT): Likewise.
4143         (WRAPPER_NAME): Likewise.
4144         (WRAPPER_DECL): Likewise.
4145         (WRAPPER_DECL_ff): Likewise.
4146         (WRAPPER_DECL_fFF): Likewise.
4147         (VECTOR_WRAPPER): Likewise.
4148         (VECTOR_WRAPPER_ff): Likewise.
4149         (VECTOR_WRAPPER_fFF): Likewise.
4150         (VEC_LEN): New macro.
4151         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
4152         test-vec-loop.h.
4153         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4154         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4155         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4156         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4157         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4158         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4159         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4161 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4163         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
4164         (__getlogin_r): ... this.
4166 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4168         [BZ #18594]
4169         * math/s_ccosh.c (__ccosh): Compare with least normal value
4170         instead of comparing class with FP_SUBNORMAL.
4171         * math/s_ccoshf.c (__ccoshf): Likewise.
4172         * math/s_ccoshl.c (__ccoshl): Likewise.
4173         * math/s_cexp.c (__cexp): Likewise.
4174         * math/s_cexpf.c (__cexpf): Likewise.
4175         * math/s_cexpl.c (__cexpl): Likewise.
4176         * math/s_csin.c (__csin): Likewise.
4177         * math/s_csinf.c (__csinf): Likewise.
4178         * math/s_csinh.c (__csinh): Likewise.
4179         * math/s_csinhf.c (__csinhf): Likewise.
4180         * math/s_csinhl.c (__csinhl): Likewise.
4181         * math/s_csinl.c (__csinl): Likewise.
4182         * math/s_ctan.c (__ctan): Likewise.
4183         * math/s_ctanf.c (__ctanf): Likewise.
4184         * math/s_ctanh.c (__ctanh): Likewise.
4185         * math/s_ctanhf.c (__ctanhf): Likewise.
4186         * math/s_ctanhl.c (__ctanhl): Likewise.
4187         * math/s_ctanl.c (__ctanl): Likewise.
4188         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
4189         csin, csinh, ctan and ctanh.
4190         * math/auto-libm-test-out: Regenerated.
4191         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
4192         * sysdeps/i386/fpu/libm-test-ulps: Update.
4193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4195 2015-06-24  Roland McGrath  <roland@hack.frob.com>
4197         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
4198         return value is wrong, print the expected value too.
4200 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
4202         [BZ #18585]
4203         * elf/readlib.c (is_gdb_python_file): New.
4204         (process_file): Don't issue errors on filenames with -gdb.py
4205         suffix.
4207 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
4209         * math/auto-libm-test-in: Add more tests of csin and csinh.
4210         * math/auto-libm-test-out: Regenerated.
4211         * math/libm-test.inc (csin_test_data): Remove tests moved to
4212         auto-libm-test-in.
4213         (csinh_test_data): Likewise.
4215         [BZ #18593]
4216         * math/s_csin.c (__csin): Negate before rather than after possibly
4217         overflowing multiplication.
4218         * math/s_csinf.c (__csinf): Likewise.
4219         * math/s_csinh.c (__csinh): Likewise.
4220         * math/s_csinhf.c (__csinhf): Likewise.
4221         * math/s_csinhl.c (__csinhl): Likewise.
4222         * math/s_csinl.c (__csinl): Likewise.
4223         * math/auto-libm-test-in: Add some tests of csin and csinh.
4224         * math/auto-libm-test-out: Regenerated.
4225         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
4226         (csinh_test_data): Likewise.
4227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4229         [BZ #18586]
4230         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
4231         underflow exception for small results.
4233 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
4235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4236         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
4237         variable and included header.
4238         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
4239         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
4240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
4241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
4242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
4243         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4245         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
4246         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
4247         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
4248         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
4249         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
4250         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4251         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4252         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4253         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4255 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4257         [BZ #16526]
4258         [BZ #16538]
4259         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4260         (__sin): Force underflow exception for arguments with small
4261         absolute value.
4262         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4263         (__kernel_sinf): Force underflow exception for arguments with
4264         small absolute value.
4265         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4266         (__kernel_sincosl): Force underflow exception for arguments with
4267         small absolute value.
4268         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4269         (__kernel_sinl): Force underflow exception for arguments with
4270         small absolute value.
4271         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4272         (__kernel_sincosl): Force underflow exception for arguments with
4273         small absolute value.
4274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4275         (__kernel_sinl): Force underflow exception for arguments with
4276         small absolute value.
4277         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4278         (__kernel_sinl): Force underflow exception for arguments with
4279         small absolute value.
4280         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4281         (__kernel_sinf): Force underflow exception for arguments with
4282         small absolute value.
4283         * math/auto-libm-test-in: Add more tests of sin and sincos.
4284         * math/auto-libm-test-out: Regenerated.
4286         [BZ #18245]
4287         [BZ #18583]
4288         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4289         (__kernel_standard_l): Use feholdexcept and fesetenv around
4290         conversion to double instead of special-casing overflow and
4291         underflow.
4292         * math/libm-test.inc (fmod_test_data): Add more tests.
4293         (remainder_test_data): Likewise.
4294         (sqrt_test_data): Likewise.
4296 2015-06-23  Torvald Riegel  <triegel@redhat.com>
4298         [BZ #17403]
4299         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4300         atomic_read_barrier, atomic_write_barrier): Define.
4301         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4302         atomic_read_barrier, atomic_write_barrier): Define.
4304 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4306         * math/Makefile [$(PERL) != no]
4307         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4308         dependency on libm-test.stmp below the inclusion of Rules.
4310 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
4312         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4313         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4314         and included header.
4315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4317         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4318         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4319         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4320         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4321         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4322         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4323         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4324         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4325         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4326         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4327         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4328         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4329         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4330         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4331         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4332         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4333         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4335 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4337         [BZ #18371]
4338         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4339         intermediate but not final result might underflow.
4340         * math/s_csqrtf.c (__csqrtf): Likewise.
4341         * math/s_csqrtl.c (__csqrtl): Likewise.
4342         * math/auto-libm-test-in: Add more tests of csqrt.
4343         * math/auto-libm-test-out: Regenerated.
4344         * sysdeps/i386/fpu/libm-test-ulps: Update.
4346         [BZ #18219]
4347         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4348         threshold on absolute value of exponent for which scaling is used.
4349         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4350         * math/auto-libm-test-in: Add more tests of exp2.
4351         * math/auto-libm-test-out: Regenerated.
4353 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
4355         [BZ #17977]
4356         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4357         when initializing interface list, based on the bug analysis
4358         and the patch proposed by Eric Newton.
4359         * resolv/tst-res_hconf_reorder.c: New test.
4360         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4361         tst-res_hconf_reorder.
4362         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4363         and $(shared-thread-library).
4364         (tst-res_hconf_reorder-ENV): New variable.
4366         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4367         in comment.
4369 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
4371         [BZ #16353]
4372         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4373         (__expm1): Force underflow exception for arguments with small
4374         absolute value.
4375         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4376         (__expm1f): Force underflow exception for arguments with small
4377         absolute value.
4378         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4379         (__expm1): Force underflow exception for arguments with small
4380         absolute value.
4381         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4382         (__expm1f): Force underflow exception for arguments with small
4383         absolute value.
4384         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4385         Check for small arguments before calling __expm1.
4386         * math/auto-libm-test-in: Do not mark underflow exceptions as
4387         possibly missing for bug 16353.
4388         * math/auto-libm-test-out: Regenerated.
4390 2015-06-22  Andreas Schwab  <schwab@suse.de>
4392         [BZ #18513]
4393         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4394         PTR queries.
4396 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
4398         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4400         * string/strcoll_l.c: Remove unused struct element idxnow.
4402 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
4404         [BZ #18569]
4405         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4406         underflow and return argument in case of subnormal argument.
4407         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4408         Likewise.
4409         * math/auto-libm-test-in: Add more tests of expm1.
4410         * math/auto-libm-test-out: Regenerated.
4412         [BZ #16361]
4413         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4414         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4415         tiny results.
4416         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4417         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4418         tiny results.
4419         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
4420         mark underflow exceptions as possibly missing for bug 16361.
4421         * math/auto-libm-test-out: Regenerated.
4423 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
4425         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4426         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4427         Remove variable.
4428         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4429         (test-xfail-XOPEN2K8/utmpx.h/conform).
4431         * conform/conformtest.pl ($xerrors): New variable.
4432         (note_error): New function.
4433         (compiletest): New argument $xfail.  Use not_error.
4434         (runtest): Likewise.
4435         (top level): Handle xfail- lines.  Update calls to compiletest and
4436         runtest.  Handle xfail- and optional- in headers listed with
4437         allow-header.
4438         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4439         (O_EXEC): Likewise.
4440         (O_SEARCH): Likewise.
4441         * conform/data/stropts.h-data (ioctl): Likewise.
4442         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4443         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4444         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4445         (msghdr.msg_controllen): Likewise.
4446         (cmsghdr.cmsg_len): Likewise.
4447         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4448         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4449         variable.
4450         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4451         (test-xfail-XPG4/stropts.h/conform): Likewise.
4452         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4453         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4454         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4455         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4456         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4457         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4458         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4459         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4460         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4461         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4462         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4463         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4464         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4465         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4466         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4467         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4468         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4469         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4470         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4472 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4474         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4475         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4476         definitions for proper unfolding of __MATHDECL_VEC.
4478 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4480         * benchtests/bench-strcoll.c:
4481         Include string.h.
4482         (main): Remove unused variable res.
4484 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4486         * timezone/Makefile (%/UTC %/Universal):
4487         Generate test-result files for UTC and Universal.
4489 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4491         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4493 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #16350]
4496         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4497         for arguments with small absolute value.
4498         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4499         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4500         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4501         (__asinh): Force underflow exception for arguments with small
4502         absolute value.
4503         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4504         (__asinhf): Force underflow exception for arguments with small
4505         absolute value.
4506         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4507         (__asinhl): Force underflow exception for arguments with small
4508         absolute value.
4509         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4510         (__asinhl): Force underflow exception for arguments with small
4511         absolute value.
4512         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4513         (__asinhl): Force underflow exception for arguments with small
4514         absolute value.
4515         * math/auto-libm-test-in: Do not mark underflow exceptions as
4516         possibly missing for bug 16350.
4517         * math/auto-libm-test-out: Regenerated.
4519         * include/bits/ipc.h: Remove file.
4520         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4521         variable.
4522         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4523         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4524         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4525         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4526         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4527         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4528         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4529         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4530         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4532         * math/auto-libm-test-in: Remove spurious underflow allowance for
4533         tests of cexp.
4534         * math/auto-libm-test-out: Regenerated.
4536         [BZ #18558]
4537         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4538         unconditional definition.
4539         (MCAST_BLOCK_SOURCE): Likewise.
4540         (MCAST_UNBLOCK_SOURCE): Likewise.
4541         (MCAST_LEAVE_GROUP): Likewise.
4542         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4543         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4544         (MCAST_MSFILTER): Likewise.
4545         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4546         Remove variable.
4547         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4548         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4549         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4550         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4551         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4553 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
4555         * NEWS: Mention addition of x86_64 vector sincosf.
4556         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
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 sincosf 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_s_sincosf16_core.S
4567         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4568         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4569         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4570         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4571         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4572         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4573         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4574         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4575         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4576         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4577         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4578         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4579         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4580         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4581         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4582         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4583         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4584         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4585         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4586         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4588         * NEWS: Mention addition of x86_64 vector sincos.
4589         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4590         * math/math.h (__MATHDECL_VEC): New macro.
4591         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4592         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4593         declaration under condition.
4594         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4595         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4596         TEST_VEC_LOOP change.
4597         * math/test-double-vlen4.h: Likewise.
4598         * math/test-double-vlen8.h: Likewise.
4599         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4600         * math/test-float-vlen4.h: Likewise.
4601         * math/test-float-vlen8.h: Likewise.
4602         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4603         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4604         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4605         * sysdeps/x86_64/fpu/Versions: New versions added.
4606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4607         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4608         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4609         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4610         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4611         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4612         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4613         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4614         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4615         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4616         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4617         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4618         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4619         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4620         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4621         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4622         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4623         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4624         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4625         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4626         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4627         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4628         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4629         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4631         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4632         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4633         redirections for powf.
4634         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4635         * sysdeps/x86_64/fpu/Versions: New versions added.
4636         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4637         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4638         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4639         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4640         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4641         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4642         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4643         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4644         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4645         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4646         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4647         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4648         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4649         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4650         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4651         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4652         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4653         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4654         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4655         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4656         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4657         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4658         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4659         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4660         * math/test-float-vlen16.h: Fixed 2 argument macro.
4661         * math/test-float-vlen4.h: Likewise.
4662         * math/test-float-vlen8.h: Likewise.
4663         * NEWS: Mention addition of x86_64 vector powf.
4665 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
4667         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4668         and redefine.
4669         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4670         and redefine.
4671         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4673         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4675         [BZ #18553]
4676         * resource/getpriority.c (getpriority): Rename to __getpriority
4677         and define as weak alias of __getpriority.
4678         * resource/setpriority.c (setpriority): Rename to __setpriority
4679         and define as weak alias of __setpriority.
4680         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4681         __getpriority and define as weak alias of __getpriority.
4682         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4683         __setpriority and define as weak alias of __setpriority.
4684         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4685         strong name.
4686         (setpriority): Use __setpriority as strong name.
4687         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4688         __getpriority and define as weak alias of __getpriority.
4689         * include/sys/resource.h (__getpriority): Declare.  Use
4690         libc_hidden_proto.
4691         (__setpriority): Likewise.
4692         (getpriority): Don't use libc_hidden_proto.
4693         (setpriority): Likewise.
4694         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4695         getpriority.  Call __setpriority instead of setpriority.
4696         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4697         Remove variable.
4699         [BZ #18547]
4700         * misc/getttyent.c (getttynam): Rename to __getttynam and define
4701         as weak alias of __getttynam.  Use prototype function definition.
4702         Call __setttyent, __getttyent and __endttyent instead of
4703         setttyent, getttyent and endttyent.
4704         (getttyent): Rename to __getttyent and define as weak alias of
4705         __getttyent.  Call __setttyent instead of setttyent.  Call
4706         __fgets_unlocked instead of fgets_unlocked.
4707         (setttyent): Rename to __setttyent and define as weak alias of
4708         __setttyent.
4709         (endttyent): Rename to __endttyent and define as weak alias of
4710         __endttyent.
4711         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
4712         (__setttyent): Likewise.
4713         (__endttyent): Likewise.
4714         (getttyent): Don't use libc_hidden_proto.
4715         (setttyent): Likewise.
4716         (endttyent): Likewise.
4717         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4718         __endttyent instead of setttyent, getttyent and endttyent.
4719         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4720         Remove variable.
4722         [BZ #18546]
4723         * socket/recv.c (__recv): Use libc_hidden_def.
4724         * socket/socket.c (__socket): Likewise.
4725         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4726         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4727         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4728         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4729         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4730         libc_hidden_def.
4731         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4732         libc_hidden_weak.
4733         * include/sys/socket.h (__socket): Do not use attribute_hidden.
4734         Use libc_hidden_proto.
4735         (__recv): Likewise.
4736         * socket/Versions (libc): Export __recv and __socket at version
4737         GLIBC_PRIVATE.
4738         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4739         instead of recv.
4740         (init_mq_netlink): Call __socket instead of socket.
4741         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4742         Remove variable.
4744         [BZ #18545]
4745         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4746         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
4747         hidden_weak.
4748         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4749         define as alias of __mq_timedsend.  Use hidden_weak.
4750         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4751         __mq_timedsend as strong name.
4752         (mq_timedreceive): Use __mq_timedreceive as strong name.
4753         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
4754         (__mq_timedreceive): Likewise.
4755         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4756         __mq_timedreceive instead of mq_timedreceive.
4757         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4758         instead of mq_timedsend.
4759         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4760         Remove variable.
4762         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4763         hidden_def and hidden_weak instead of libc_hidden_def and
4764         libc_hidden_weak.
4765         (top level): Refer to hidden_def in comment.
4766         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4767         macro.  Use it instead of libc_hidden_def.
4768         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4769         specify __GI_* name explicitly.
4770         (mq_timedreceive): Likewise.
4771         (mq_setattr): Likewise.
4773         [BZ #18544]
4774         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4775         __pthread_barrier_init and define as weak alias of
4776         __pthread_barrier_init.
4777         * sysdeps/sparc/nptl/pthread_barrier_init.c
4778         (pthread_barrier_init): Likewise.
4779         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4780         __pthread_barrier_wait and define as weak alias of
4781         __pthread_barrier_wait.
4782         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4783         (pthread_barrier_wait): Likewise.
4784         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4785         (pthread_barrier_wait): Likewise.
4786         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4787         (pthread_barrier_wait): Likewise.
4788         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4789         (pthread_barrier_wait): Likewise.
4790         * nptl/Versions (libpthread): Export __pthread_barrier_init and
4791         __pthread_barrier_wait at version GLIBC_PRIVATE.
4792         * include/pthread.h (__pthread_barrier_init): Declare.
4793         (__pthread_barrier_wait): Likewise.
4794         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4795         Call __pthread_barrier_wait instead of pthread_barrier_wait.
4796         (helper_thread): Likewise.
4797         (init_mq_netlink): Call __pthread_barrier_init instead of
4798         pthread_barrier_init.
4800         [BZ #18542]
4801         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4802         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4803         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
4804         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4805         vswscanf.
4806         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4807         Remove variable.
4809         [BZ #18540]
4810         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4811         strong alias of _IO_fflush.  Use libc_hidden_def.
4812         * libio/iofflush_u.c (fflush_unlocked): Rename to
4813         __fflush_unlocked and define as weak alias of __fflush_unlocked.
4814         Use libc_hidden_weak.
4815         * include/stdio.h (__fflush_unlocked): Declare.  Use
4816         libc_hidden_proto.
4817         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4818         fflush_unlocked.
4819         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4820         Remove variable.
4822         [BZ #18539]
4823         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4824         define as weak alias of __addseverity.
4825         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4826         Remove variable.
4827         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4828         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4829         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4831         [BZ #18536]
4832         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4833         (__tfind): Likewise.
4834         (__tdelete): Likewise.
4835         (__twalk): Likewise.
4836         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4837         __twalk to GLIBC_PRIVATE.
4838         * include/search.h (__tsearch): Use libc_hidden_proto.
4839         (__tfind): Likewise.
4840         (__tdelete): Likewise.
4841         (__twalk): Likewise.
4842         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4843         Call __tdelete instead of tdelete.
4844         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4845         tfind.  Call __tsearch instead of tsearch.
4846         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4847         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4848         Remove variable.
4849         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4851         [BZ #18534]
4852         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4853         (dprintf): Define as a weak alias of __dprintf, not a strong
4854         alias.
4855         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
4856         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4857         dprintf.
4858         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4859         Remove variable.
4860         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4861         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4863         [BZ #18533]
4864         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4865         not a strong alias.
4866         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4867         Remove variable.
4869         [BZ #18532]
4870         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4871         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
4872         (in6addr_loopback): Rename to __in6addr_loopback and define as
4873         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
4874         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
4875         libc_hidden_proto.
4876         (__in6addr_any): Likewise.
4877         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4878         in6addr_any.
4879         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4880         variable.
4881         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4883 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4885         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4886         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4887         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4888         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4889         redirections for pow.
4890         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4891         * sysdeps/x86_64/fpu/Versions: New versions added.
4892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4893         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4894         build of SSE, AVX2 and AVX512 IFUNC versions.
4895         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4896         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4897         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4900         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4901         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4902         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4903         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4904         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4905         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4906         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4907         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4908         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4909         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4912         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4913         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4914         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4915         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4916         * NEWS: Mention addition of x86_64 vector pow.
4918         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4919         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4920         redirections for expf.
4921         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4922         * sysdeps/x86_64/fpu/Versions: New versions added.
4923         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4924         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4925         build of SSE, AVX2 and AVX512 IFUNC versions.
4926         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4927         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4928         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4929         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4930         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4931         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4932         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4933         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4934         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4935         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4936         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4937         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4938         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4939         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4940         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4941         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4942         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4943         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4944         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4945         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4946         * NEWS: Mention addition of x86_64 vector expf.
4948         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4949         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4950         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4951         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4952         redirections for exp.
4953         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4954         * sysdeps/x86_64/fpu/Versions: New versions added.
4955         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4956         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4957         build of SSE, AVX2 and AVX512 IFUNC versions.
4958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4961         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4962         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4963         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4964         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4965         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4966         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4967         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4968         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4969         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4970         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4971         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4972         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4973         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4974         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4975         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4976         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4977         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4978         * NEWS: Mention addition of x86_64 vector exp.
4980         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4981         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4982         redirections for logf.
4983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4984         * sysdeps/x86_64/fpu/Versions: New versions added.
4985         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4986         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4987         build of SSE, AVX2 and AVX512 IFUNC versions.
4988         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4989         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4990         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4991         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4992         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4993         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4994         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4995         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4996         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4997         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4998         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4999         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
5000         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
5001         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5002         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5003         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5004         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5006         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5007         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5008         * NEWS: Mention addition of x86_64 vector logf.
5010         * bits/libm-simd-decl-stubs.h: Added stubs for log.
5011         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
5012         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5013         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
5014         redirections for log.
5015         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5016         * sysdeps/x86_64/fpu/Versions: New versions added.
5017         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5018         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5019         build of SSE, AVX2 and AVX512 IFUNC versions.
5020         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
5021         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
5022         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
5023         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
5024         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
5025         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
5026         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
5027         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
5028         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
5029         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
5030         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
5031         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
5032         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
5033         test.
5034         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5035         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5036         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5037         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5038         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5039         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5040         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5041         * NEWS: Mention addition of x86_64 vector log.
5043 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5045         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
5046         cfi_adjust_cfa_offset argument.
5047         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
5048         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
5050         [BZ #18034]
5051         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
5052         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
5053         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
5054         ordering using ldar.
5055         (_dl_tlsdesc_dynamic): Likewise.
5056         (_dl_tlsdesc_return_lazy): Likewise.
5057         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
5058         relaxed atomics instead of volatile and synchronize with release store.
5059         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
5060         volatile.
5061         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
5063 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
5065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
5066         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
5067         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5068         * sysdeps/x86_64/fpu/Versions: New versions added.
5069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
5071         build of SSE, AVX2 and AVX512 IFUNC versions.
5072         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
5073         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
5074         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
5075         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
5076         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
5077         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
5078         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
5079         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
5080         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
5081         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
5082         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
5083         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
5084         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
5085         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5086         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5087         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5089         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5090         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5091         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5092         * NEWS: Mention addition of x86_64 vector sinf.
5094 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
5096         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
5097         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
5098         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
5099         Remove variable.
5100         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5101         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5103 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
5105         [BZ #18530]
5106         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
5107         strong alias of _IO_fputs.  Use libc_hidden_def.
5108         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
5109         and define as weak alias of __fputs_unlocked.  Use
5110         libc_hidden_weak.
5111         * include/stdio.h (__fputs_unlocked): Declare.  Use
5112         libc_hidden_proto.
5113         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
5114         fputs_unlocked.
5116         [BZ #18529]
5117         * resolv/netdb.h [__USE_POSIX]: Change condition to
5118         [__USE_XOPEN2K].
5119         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
5120         not expect.
5121         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
5122         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
5123         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
5124         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
5125         [XPG4 || UNIX98] (AI_ALL): Likewise.
5126         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
5127         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
5128         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
5129         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
5130         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
5131         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
5132         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
5133         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
5134         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
5135         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
5136         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
5137         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
5138         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
5139         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
5140         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
5141         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5142         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
5143         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
5144         [XPG4 || UNIX98] (gai_strerror): Likewise.
5145         [XPG4 || UNIX98] (getaddrinfo): Likewise.
5146         [XPG4 || UNIX98] (getnameinfo): Likewise.
5148         [BZ #18528]
5149         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
5150         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
5151         __USE_XOPEN2K8].
5152         (getgrent): Likewise.
5153         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
5154         expect.
5155         [XPG3 || POSIX2008] (endgrent): Likewise.
5156         [XPG3] (setgrent): Likewise.
5157         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
5158         variable.
5159         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5161         [BZ #18527]
5162         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
5163         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
5164         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
5165         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
5166         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
5167         * include/unistd.h (__getlogin_r): Declare.  Use
5168         libc_hidden_proto.
5169         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
5170         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
5171         variable.
5172         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5173         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5174         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5176 2015-06-12  Martin Sebor  <msebor@redhat.com>
5178         [BZ #18512]
5179         * Makerules (check-install-supported): New target.
5180         (install): Add check-install-supported as a dependency.
5181         * manual/install.texi (Installing the C Library): Document
5182         that overriding prefix and exec_prefix is not supported.
5183         Mention DESTDIR.
5184         * INSTALL: Regenerate from the above.
5186 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
5188         [BZ #18519]
5189         * posix/Versions (libc): Export __libc_pread at version
5190         GLIBC_PRIVATE.
5191         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
5192         instead of pread.
5193         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
5194         variable.
5196         [BZ #18522]
5197         * misc/efgcvt_r.c
5198         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
5199         (cvt_symbol): Use weak_alias instead of strong_alias.
5200         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
5201         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
5202         Remove variable.
5203         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5204         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5206         [BZ #18520]
5207         * inet/herrno.c (h_errno): Rename to __h_errno.
5208         (__libc_h_errno): Define as alias of __h_errno not h_errno.
5209         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
5210         to __h_errno instead of h_errno.
5211         * nptl/herrno.c (h_errno): Rename to __h_errno.
5212         (__h_errno_location): Refer to __h_errno not h_errno.
5213         * resolv/Versions (h_errno): Rename to __h_errno.
5214         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
5215         Remove variable.
5216         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5218 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
5220         * configure.ac: More strict check for AVX512 assembler support.
5221         * configure: Regenerated.
5223         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
5224         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
5225         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5226         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
5227         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5228         * sysdeps/x86_64/fpu/Versions: New versions added.
5229         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5230         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5231         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5232         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
5233         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
5234         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
5235         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
5236         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
5237         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
5238         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
5239         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
5240         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
5241         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
5242         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
5243         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
5244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
5245         test.
5246         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5248         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5249         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5250         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5251         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5252         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5253         * NEWS: Mention addition of x86_64 vector sin.
5255 2015-06-11  Florian Weimer  <fweimer@redhat.com>
5257         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5258         comment.
5260 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5262         [BZ #18479]
5263         * nptl/pt-interp.c: New file.
5264         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5265         Add pt-interp.
5266         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5267         $(common-objpfx)runtime-linker.h.
5269 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
5271         * Makeconfig (+interp): Remove unused variable.
5272         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5273         only.  Depend on $(common-objpfx)runtime-linker.h instead of
5274         $(elf-objpfx)runtime-linker.h.
5275         ($(elf-objpfx)runtime-linker.h): Rename to
5276         $(common-objpfx)runtime-linker.h and move ...
5277         * Makerules [$(build-shared) = yes]: ... here.
5278         * elf/interp.c: Include <runtime-linker.h> instead of
5279         <elf/runtime-linker.h>.
5281 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5283         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5284         (__gettimeofday_syscall): Remove vsyscall fallback.
5285         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5286         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5287         Add syscall fallback function.
5288         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5289         if vDSO is not present.
5290         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5291         fallback function.
5292         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5293         present.
5294         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5295         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5297 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
5299         [BZ #18497]
5300         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5301         of wcscmp.
5302         (wcscmp): Define as weak alias of WCSCMP.
5303         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5304         wcscoll.
5305         (USE_HIDDEN_DEF): Define.
5306         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5307         __wcscoll.  Don't use libc_hidden_weak.
5308         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5309         wcscmp.
5310         * sysdeps/i386/i686/multiarch/wcscmp-c.c
5311         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5312         __GI_wcscmp.
5313         (weak_alias): Undefine and redefine.
5314         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5315         __wcscmp and define as weak alias of __wcscmp.
5316         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5317         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
5318         (__wcscoll): Likewise.
5319         (wcscmp): Don't use libc_hidden_proto.
5320         (wcscoll): Likewise.
5321         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5322         wcscoll.
5323         * posix/regexec.c (check_node_accept_bytes): Likewise.
5324         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5325         variable.
5326         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5327         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5329         [BZ #18507]
5330         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5331         __fstatvfs and define as weak alias of __fstatvfs.  Use
5332         libc_hidden_weak.
5333         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5334         and define as weak alias of __statvfs.  Use libc_hidden_weak.
5335         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5336         Define as alias of __fstatvfs, not fstatvfs.
5337         (fstatvfs64): Likewise.
5338         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5339         Define as alias of __statvfs, not statvfs.
5340         (statvfs64): Likewise.
5341         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5342         Remove variable.
5344 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5347         (HAVE_GETCPU_VSYSCALL): Define.
5348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5349         (HAVE_GETCPU_VSYSCALL): Likewise.
5350         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5351         * sysdeps/unix/sysv/linux/sched_getcpu.c
5352         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5353         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5354         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5355         prototype.
5356         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5357         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5358         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5359         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5360         Define.
5361         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5362         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5363         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5364         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5366 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
5368         * sysdeps/x86_64/fpu/Makefile: New file.
5369         * sysdeps/x86_64/fpu/Versions: New file.
5370         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5371         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5372         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5373         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5374         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5375         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5376         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5377         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5378         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5379         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5380         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5381         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5382         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5383         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5384         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5385         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5386         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5387         * sysdeps/x86_64/configure.ac: Options for libmvec build.
5388         * sysdeps/x86_64/configure: Regenerated.
5389         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5390         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5391         * manual/install.texi (Configuring and compiling): Document
5392         --disable-mathvec.
5393         * INSTALL: Regenerated.
5394         * NEWS: Mention addition of libmvec and x86_64 vector cos.
5396         * math/Makefile: Added rules for vector tests.
5397         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5398         declaration under condition.
5399         * math/test-double-vlen2.h: New file.
5400         * math/test-double-vlen4.h: New file.
5401         * math/test-double-vlen8.h: New file.
5402         * math/test-vec-loop.h: Added initialization macro.
5403         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5405         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5406         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5407         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5409         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5410         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5411         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5412         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5413         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5415         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5416         * sysdeps/x86_64/fpu/Versions: New versions added.
5417         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5418         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5419         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5420         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5421         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5422         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5423         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5424         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5425         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5426         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5427         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5428         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5429         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5430         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5431         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5434         * NEWS: Mention addition of x86_64 vector cosf.
5436         * math/Makefile: Added CFLAGS for new tests.
5437         * math/test-float-vlen16.h: New file.
5438         * math/test-float-vlen4.h: New file.
5439         * math/test-float-vlen8.h: New file.
5440         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5441         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5442         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5443         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5444         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5445         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5446         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5448         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5449         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5450         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5452 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
5454         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5455         * locale/programs/ld-ctype.c: Likewise.
5457 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5459         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5460         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5461         bit_ZMM16_31_state): New macro.
5462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5463         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5465 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
5467         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5469 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
5471         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5473 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
5475         [BZ #18498]
5476         * libio/memstream.c (open_memstream): Rename to __open_memstream
5477         and define as weak alias of __open_memstream.
5478         * include/stdio.h (__open_memstream): Declare.  Use
5479         libc_hidden_proto.
5480         (open_memstream): Don't use libc_hidden_proto.
5481         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5482         open_memstream.
5483         * posix/getopt.c (_getopt_internal_r): Likewise.
5484         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5485         variable.
5486         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5487         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5488         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5490         [BZ #18496]
5491         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5492         instead of wcrtomb.
5494         [BZ #18483]
5495         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5496         [__USE_XOPEN2K8].  Remove redundant #endif.
5497         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5498         Remove redundant #if.
5499         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5500         Remove variable.
5501         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5502         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5504         [BZ #18495]
5505         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5506         (__iswlower): Likewise.
5507         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
5508         (__iswlower): Likewise.
5509         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5510         instead of towlower.
5511         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5512         instead of iswlower.  Call __towupper instead of towupper.
5513         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5514         instead of iswalnum.
5516 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5518         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5519         errors to stderr.
5521 2015-06-05  Florian Weimer  <fweimer@redhat.com>
5523         [BZ #15661]
5524         [BZ #17322]
5525         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5526         Check for overflow properly.  Check for O_APPEND.  Ignore large
5527         file system block sizes.  Add comments about problems.
5528         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5529         * manual/filesys.texi (Storage Allocation): New node.
5531 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5533         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5534         cancellable syscalls.
5535         (SYS_ify): Add guard to no redefine it.
5536         (INLINE_SYSCALL): Likewise.
5537         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5538         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5539         SYSCALL_CANCEL instead.
5540         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5541         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5542         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5543         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5544         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5545         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5546         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5547         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5548         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5549         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5550         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5551         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5552         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5553         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5554         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5555         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5556         Likewise.
5557         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5558         (__libc_pread64): Likewise.
5559         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5560         (__libc_preadv): Likewise.
5561         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5562         (__libc_readv64): Likewise.
5563         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5564         (__libc_pwrite): Likewise.
5565         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5566         (__libc_pwrite64): Likewise.
5567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5568         (__libc_pwritev): Likewise.
5569         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5570         (__libc_pwritev64): Likewise.
5571         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5572         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5573         (sync_file_range): Likewise.
5574         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5575         Likewise.
5576         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5577         Likewise.
5578         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5579         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5580         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5581         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5582         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5583         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5584         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5585         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5587         Likewise.
5588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5589         (__libc_read64): Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5591         Likewise.
5592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5593         Likewise.
5594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5595         Likewise.
5596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5597         Likewise.
5598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5599         (__libc_pread64): Likewise.
5600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5601         Likewise.
5602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5603         (__libc_pwrite64): Likewise.
5604         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5605         (sync_file_range): Likewise.
5606         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5607         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5608         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5609         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5610         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5611         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5612         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5613         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5614         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5615         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5616         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5617         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5618         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5619         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5620         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5621         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5622         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5624         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5625         Likewise.
5626         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5627         Likewise.
5628         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5629         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5630         Likewise.
5631         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5632         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5633         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5634         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5635         Likewise.
5636         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5637         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5638         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5639         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5640         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5642 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
5644         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5645         Include dl-vdso.
5646         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5647         Use VDSO routines for gettimeofday, clock_gettime if
5648         available.
5649         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5650         Declare VDSO symbols.
5651         * sysdeps/unix/sysv/linux/arm/sysdep.h:
5652         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5653         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5654         * sysdeps/unix/sysv/linux/arm/Versions: Add
5655         __vdso_clock_gettime.
5657 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5659         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5660         be an inline implementation regardless of library is built within.
5661         (open_not_cancel_2): Likewise.
5662         (__read_nocancel): Likewise.
5663         (__write_nocancel): Likewise.
5664         (openat_not_cancel): Likewise.
5665         (openat_not_cancel_3): Likewise.
5666         (openat64_not_cancel): Likewise.
5667         (openat64_not_cancel_3): Likewise.
5668         (__close_nocancel): Likewise.
5669         (pause_not_cancel): Likewise.
5670         (nanosleep_not_cancel): Likewise.
5671         (sigsuspend_not_cancel): Likewise.
5673 2015-06-04  Torvald Riegel  <triegel@redhat.com>
5675         [BZ #14958]
5676         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5677         wake-up.
5678         (__pthread_rwlock_rdlock_slow): Likewise.
5679         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5680         Likewise.
5681         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5682         Likewise.
5683         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5684         * nptl/tst-rwlock16.c: New file.
5685         * nptl/Makefile (tests): Add new test.
5687 2015-06-04  Torvald Riegel  <triegel@redhat.com>
5689         [BZ #18324]
5690         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5691         missing wake-up of readers.
5692         * nptl/tst-rwlock15.c: New file.
5693         * nptl/Makefile (tests): Add new test.
5695 2015-06-03  Roland McGrath  <roland@hack.frob.com>
5697         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5698         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5699         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5700         and __nacl_supply_interface_rtld.
5701         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5702         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5703         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5704         Add __nacl_supply_interface_rtld.
5705         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5707 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
5709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5710         isfinite.
5711         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5712         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5714 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
5716         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5717         __signbit* with standard C99 macros.
5718         * math/e_exp10l.c: Likewise.
5719         * math/e_exp2l.c: Likewise.
5720         * math/e_scalb.c: Likewise.
5721         * math/e_scalbf.c: Likewise.
5722         * math/e_scalbl.c: Likewise.
5723         * math/s_ldexp.c: Likewise.
5724         * math/s_ldexpf.c: Likewise.
5725         * math/s_ldexpl.c: Likewise.
5726         * math/w_atan2.c: Likewise.
5727         * math/w_atan2f.c: Likewise.
5728         * math/w_atan2l.c: Likewise.
5729         * math/w_cosh.c: Likewise.
5730         * math/w_coshf.c: Likewise.
5731         * math/w_coshl.c: Likewise.
5732         * math/w_exp10.c: Likewise.
5733         * math/w_exp10f.c: Likewise.
5734         * math/w_exp10l.c: Likewise.
5735         * math/w_exp2.c: Likewise.
5736         * math/w_exp2f.c: Likewise.
5737         * math/w_exp2l.c: Likewise.
5738         * math/w_fmod.c: Likewise.
5739         * math/w_fmodf.c: Likewise.
5740         * math/w_fmodl.c: Likewise.
5741         * math/w_hypot.c: Likewise.
5742         * math/w_hypotf.c: Likewise.
5743         * math/w_hypotl.c: Likewise.
5744         * math/w_jnl.c: Likewise.
5745         * math/w_lgamma.c: Likewise.
5746         * math/w_lgamma_r.c: Likewise.
5747         * math/w_lgammaf.c: Likewise.
5748         * math/w_lgammaf_r.c: Likewise.
5749         * math/w_lgammal.c: Likewise.
5750         * math/w_lgammal_r.c: Likewise.
5751         * math/w_pow.c: Likewise.
5752         * math/w_powf.c: Likewise.
5753         * math/w_powl.c: Likewise.
5754         * math/w_remainder.c: Likewise.
5755         * math/w_remainderf.c: Likewise.
5756         * math/w_remainderl.c: Likewise.
5757         * math/w_scalb.c: Likewise.
5758         * math/w_scalbf.c: Likewise.
5759         * math/w_scalbl.c: Likewise.
5760         * math/w_scalbln.c: Likewise.
5761         * math/w_scalblnf.c: Likewise.
5762         * math/w_scalblnl.c: Likewise.
5763         * math/w_sinh.c: Likewise.
5764         * math/w_sinhf.c: Likewise.
5765         * math/w_sinhl.c: Likewise.
5766         * math/w_tgamma.c: Likewise.
5767         * math/w_tgammaf.c: Likewise.
5768         * math/w_tgammal.c: Likewise.
5769         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5770         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5771         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5772         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5773         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5774         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5775         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5776         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5777         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5778         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5779         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5780         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5781         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5782         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5783         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5784         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5786         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5789         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5790         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5791         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5792         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5793         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5794         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5795         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5796         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5797         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5798         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5799         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5800         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5801         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5802         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5803         * stdio-common/printf_fp.c: Likewise.
5804         * stdio-common/printf_fphex.c: Likewise.
5805         * stdio-common/printf_size.c: Likewise.
5807 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
5809         [BZ #18470]
5810         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5811         strnlen.
5812         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5813         Remove variable.
5814         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5815         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5816         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5817         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5818         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5819         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5820         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5821         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5822         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5823         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5825         [BZ #18468]
5826         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5827         weak alias of __wmemchr.  Use libc_hidden_weak.
5828         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
5829         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5830         instead of wmemchr.
5832 2015-06-02  Roland McGrath  <roland@hack.frob.com>
5834         [BZ #18383]
5835         * elf/tst-tlsalign-extern.c: New file.
5836         * elf/tst-tlsalign-extern-static.c: New file.
5837         * elf/tst-tlsalign-vars.c: New file.
5838         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5839         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5840         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5841         ($(objpfx)tst-tlsalign-extern-static): Likewise.
5842         (test-xfail-tst-tlsalign-extern-static): New variable.
5844 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
5846         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5847         Use variable name _sc_err instead of err.
5848         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5849         instead of ret.
5850         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5851         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5852         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5853         (INLINE_SYSCALL): Likewise.
5855         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5856         * include/string.h (__strnlen): Use libc_hidden_proto.
5857         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5858         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5859         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5860         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5861         (libc_hidden_def): Undefine and redefine.
5862         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5863         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5864         __GI_strnlen.
5865         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5866         libc_hidden_def.
5867         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5869         [BZ #18469]
5870         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5871         weak alias of __towlower.  Use libc_hidden_weak.
5872         (towupper): Rename to __towupper and define as weak alias of
5873         __towupper.  Use libc_hidden_weak.
5874         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
5875         (__towupper): Likewise.
5876         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5877         __towlower instead of towlower.
5879 2015-06-02  Roland McGrath  <roland@hack.frob.com>
5881         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5882         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5884 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5886         * sysdeps/aarch64/libm-test-ulps: Update.
5888 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5890         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5891         Define.
5892         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5893         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5894         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5895         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5896         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5897         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5898         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5900 2015-06-01  Martin Sebor  <msebor@redhat.com>
5902         [BZ #18116]
5903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5904         (__setcontext): Use extended four-operand version of mtsf whenever
5905         possible.
5906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5907         (__novec_swapcontext): Likewise.
5909 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5911         * benchtests/scripts/compare_bench.py: New file.
5912         * benchtests/scripts/import_bench.py (mean): New function.
5913         (split_list): Likewise.
5914         (do_for_all_timings): Likewise.
5915         (compress_timings): Likewise.
5917         * benchtests/scripts/import_bench.py: New file.
5918         * benchtests/scripts/validate_benchout.py: Import import_bench
5919         instead of jsonschema.
5920         (validate_bench): Remove function.
5921         (main): Use import_bench.
5923 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
5925         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5926         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5928 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5930         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5932 2015-05-28  Roland McGrath  <roland@hack.frob.com>
5934         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5935         set THREAD_SELF->tid to a magic value and futex-wake it.
5936         Pass its address to the thread_exit system call.
5937         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5938         bit is clear.
5939         * sysdeps/nacl/lowlevellock.h: New file.
5940         * sysdeps/nacl/lll_timedwait_tid.c: New file.
5942         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5943         Add TIMEOUT to current time, don't subtract it.
5945 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
5947         [BZ #2981]
5948         [BZ #18422]
5949         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5950         ($(objpfx)tst-audit2.out): Also depend on
5951         $(objpfx)tst-auditmod9b.so.
5952         * elf/tst-audit2.c: Include <dlfcn.h>.
5953         (calloc_called): New.
5954         (calloc): Allow to be called more than once.
5955         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5957 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
5959         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5960         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5962 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
5964         * stdlib/monetary.h: Fix comment.
5966 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
5968         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5969         Avoid using variables in #defines that might cause shadowing.
5970         (INTERNAL_VSYSCALL_CALL): Likewise.
5972 2015-05-26  Roland McGrath  <roland@hack.frob.com>
5974         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5976         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5977         * nptl/lll_timedlock_wait.c: ... to this new file.
5978         * nptl/Makefile (libpthread-routines): Add it.
5979         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5980         * nptl/lll_timedwait_tid.c: ... to this new file.
5981         * nptl/Makefile (libpthread-routines): Add it.
5982         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5983         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5984         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5985         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5986         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5987         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5988         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5989         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5990         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5991         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5993 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5995         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5996         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5997         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5998         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5999         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
6000         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
6001         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6002         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
6003         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6004         * sysdeps/unix/sysv/linux/tile/sysdep.h
6005         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
6006         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
6007         using vDSO syscall macro.
6009 2015-05-26  Andriy Rysin  <arysin@gmail.com>
6011         [BZ #17293]
6012         * uk_UA: Fix sorting order for Ukrainian locale
6014 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
6016         * stdlib/monetary.h: Fix comment.
6018 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6020         [BZ #18234]
6021         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
6022         st_mtim and st_ctim members.
6023         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
6024         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
6025         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
6026         (struct stat64): Likewise.
6027         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
6028         (struct stat64): Likewise.
6029         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
6030         (struct stat64): Likewise.
6032 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6034         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
6035         Define and include sysdep-vdso.h.
6036         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
6039         Likewise.
6040         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
6041         Define with VDSO_SYMBOL and use PTR_MANGLE.
6042         (__vdso_clock_gettime): Likewise.
6043         (__vdso_clock_getres): Likewise.
6044         (_libc_vdso_platform_setup): Likewise.
6045         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
6046         Likewise.
6047         (_libc_vdso_platform_setup): Likewise.
6048         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
6049         Likewise.
6050         (__vdso_clock_gettime): Likewise.
6051         (__vdso_clock_getres): Likewise.
6052         (__vdso_get_tbfreq): Likewise.
6053         (__vdso_getcpu): Likewise.
6054         (__vdso_time): Likewise.
6055         (__vdso_sigtramp_rt64): Likewise.
6056         (__vdso_signtramp32): Likewise.
6057         (__vdso_sigtramp_rt32): Likewise.
6058         (_libc_vdso_platform_setup): Likewise.
6059         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
6060         Likewise.
6061         (__vdso_clock_gettime): Likewise.
6062         (__vdso_clock_getres): Likewise.
6063         (_libc_vdso_platform_setup): Likewise.
6064         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
6065         Likewise.
6066         (__vdso_clock_gettime): Likewise.
6067         (_libc_vdso_platform_setup): Likewise.
6068         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6069         Likewise.
6070         (__vdso_getcpu): Likewise.
6071         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
6072         Use VDSO_SYMBOL macro to define.
6073         (__vdso_clock_gettime): Likewise.
6074         (__vdso_clock_getres): Likewise.
6075         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
6076         Likewise.
6077         (__vdso_clock_gettime): Likewise.
6078         (__vdso_clock_getres): Likewise.
6079         (__vdso_get_tbfreq): Likewise.
6080         (__vdso_getcpu): Likewise.
6081         (__vdso_time): Likewise.
6082         (__vdso_sigtramp_rt64): Likewise.
6083         (__vdso_signtramp32): Likewise.
6084         (__vdso_sigtramp_rt32): Likewise.
6085         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
6086         Likewise.
6087         (__vdso_clock_gettime): Likewise.
6088         (__vdso_clock_getres): Likewise.
6089         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
6090         Likewise.
6091         (__vdso_clock_gettime): Likewise.
6092         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
6093         Likewise.
6094         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
6095         macro.
6096         (INTERNAL_VSYSCALL): Likewise.
6097         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
6098         Remove macro.
6099         (INTERNAL_VSYSCALL): Likewise.
6100         (INTERNAL_VSYSCALL_NCS): Likewise.
6101         (INTERNAL_VSYSCALL_CALL): New macro.
6102         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6103         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
6104         Likewise.
6105         (INTERNAL_VSYSCALL): Likewise.
6106         (INTERNAL_VSYSCALL_NCS): Likewise.
6107         (INTERNAL_VSYSCALL_CALL): New macro.
6108         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
6109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6110         (INLINE_VSYSCALL): Remove macro.
6111         (INTERNAL_VSYSCALL): Remove macro.
6112         (INTERNAL_VSYSCALL_NCS): Remove macro.
6113         (INTERNAL_VSYSCALL_CALL): New macro.
6114         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
6115         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
6116         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6117         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
6118         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
6119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6120         (INLINE_VSYSCALL): Remove macro.
6121         (INTERNAL_VSYSCALL): Likewise.
6122         (INTERNAL_VSYSCALL_NCS): Likewise.
6123         (INTERNAL_VSYSCALL_CALL): New macro.
6124         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
6125         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
6126         PTR_DEMANGLE on vDSO pointer.
6127         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
6128         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
6129         macro.
6130         (INTERNAL_SYSCALL): Likewise.
6131         (INTERNAL_VSYSCALL_NCS): Remove macro.
6132         (INTERNAL_VSYSCALL_CALL): New macro.
6133         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
6134         Remove macro.
6135         (INTERNAL_VSYSCALL): Likewise.
6136         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
6137         sysdep-vdso.h instead of libc-vdso.h.
6138         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
6139         definition.
6140         (INLINE_VSYSCALL): Likewise.
6141         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
6142         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
6143         definition.
6144         (INLINE_VSYSCALL): Likewise.
6145         (INTERNAL_VSYSCALL): Likewise.
6146         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6147         * sysdeps/unix/sysv/linux/timespec_get.c
6148         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
6149         (timespec_get): Use ANSI prototype.
6150         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
6151         and definition for Linux.
6153 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
6155         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
6156         * include/libc-symbols.h: libmvec_hidden_* macro series added.
6158 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
6160         [BZ #2981]
6161         [BZ #18410]
6162         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
6163         for missing DT_PLTRELSZ.
6165 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
6167         Remove obsolete aliases that broke 'locale -a'
6168         [BZ #18412]
6169         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
6170         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
6171         breaking some applications that use 'locale -a' output.
6172         Change the encoding of this file from Latin-1 to ASCII to avoid
6173         other potential problems with people grepping this file.
6175 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6177         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
6178         -fasynchronous-unwind-tables.
6179         (CFLAGS-sendto.c): Likewise.
6180         (CFLAGS-sendmsg.c): Likewise.
6181         (CFLAGS-connect.c): Likewise.
6182         (CFLAGS-recvmsg.c): Likewise.
6183         (CFLAGS-recvfrom.c): Likewise.
6184         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
6185         (SOCKETCALL): New macro: non-cancellable socketcall.
6186         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
6187         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
6188         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
6189         * sysdeps/unix/sysv/linux/accept.c: New file.
6190         * sysdeps/unix/sysv/linux/bind.c: Likewise.
6191         * sysdeps/unix/sysv/linux/connect.c: Likewise.
6192         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
6193         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
6194         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
6195         * sysdeps/unix/sysv/linux/listen.c: Likewise.
6196         * sysdeps/unix/sysv/linux/recv.c: Likewise.
6197         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
6198         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6199         * sysdeps/unix/sysv/linux/send.c: Likewise.
6200         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6201         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
6202         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
6203         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
6204         * sysdeps/unix/sysv/linux/socket.c: Likewise.
6205         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
6206         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
6207         prototype.
6208         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
6209         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6210         instead of __internal_xxx function.
6211         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
6212         prototype.
6213         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
6214         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6215         instead of __internal_xxx function.
6216         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
6217         prototype.
6218         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
6219         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
6220         instead of __internal_xxx function.
6221         * sysdeps/unix/sysv/linux/accept.S: Remove file.
6222         * sysdeps/unix/sysv/linux/bind.S: Likewise.
6223         * sysdeps/unix/sysv/linux/connect.S: Likewise.
6224         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
6225         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
6226         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
6227         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
6228         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
6229         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
6230         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
6231         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
6232         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6233         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
6234         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
6235         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
6236         * sysdeps/unix/sysv/linux/listen.S: Likewise.
6237         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
6238         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
6239         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
6240         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
6242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
6243         * sysdeps/unix/sysv/linux/recv.S: Likewise.
6244         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
6245         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
6246         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
6247         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6248         * sysdeps/unix/sysv/linux/send.S: Likewise.
6249         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
6250         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6251         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6252         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6253         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6254         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6255         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6256         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6257         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6258         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6259         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6260         socketcall is implemented in GLIBC.
6262 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6264         * soft-fp/fmadf4.c: Include <libc-internal.h>.
6265         (__fma): Ignore uninitialized warnings around packing.
6266         * soft-fp/fmasf4.c: Include <libc-internal.h>.
6267         (__fmaf): Ignore uninitialized warnings around packing.
6268         * soft-fp/fmatf4.c: Include <libc-internal.h>.
6269         (__fmal): Ignore uninitialized warnings around packing.
6271         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6272         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6273         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6274         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6276         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6277         switch statement into default case.
6278         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6280         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6281         a conditional in forcing "inexact".
6282         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6283         Likewise.
6285 2015-05-22  Roland McGrath  <roland@hack.frob.com>
6287         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6288         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6289         for each INTERNAL_SYSCALL use.
6291 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6293         [BZ #438]
6294         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6295         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6296         variable.
6298         [BZ #18444]
6299         * string/basename.c (basename): Rename to __basename and define as
6300         weak alias of __basename.  Use libc_hidden_weak.
6301         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
6302         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6303         __basename instead of basename.
6304         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6305         Remove variable.
6306         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6308 2015-05-18  Florian Weimer  <fweimer@redhat.com>
6310         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6311         (_IO_JUMPS_FILE_plus): New.
6312         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6313         _IO_CAST_FIELD_ACCESS.
6314         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6315         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6316         * libio/freopen.c (freopen): Likewise.
6317         * libio/freopen64.c (freopen64): Likewise.
6318         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6319         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6320         * libio/iofwide.c (_IO_fwide): Likewise.
6321         * libio/memstream.c (open_memstream): Likewise.
6322         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6323         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6324         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6326 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
6328         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6329         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6330         NADJ.
6331         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6332         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6333         NADJ.
6334         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6335         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6336         NADJ.
6338         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6339         (p == 4) case.
6341         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6342         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6343         Remove variable.
6344         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6345         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6346         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6348 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6350         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6351         Adjust jump table label generation macros.
6353 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6355         * stdio-common/vfprintf.c (vfprintf): Move local variables
6356         args_malloced, specs, specs_malloced, and the code after
6357         do_positional to the printf_positional function.
6358         (printf_positional): New function.
6360 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6362         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6363         function.
6364         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6365         STEP4_TABLE, process_arg): Move macro definitions
6366         out of the vfprintf function.  (Cosmetic change only.)
6368 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
6370         * benchtests/Makefile (stdio-common-bench): Define.
6371         (benchset): Add stdio-common-bench.
6372         * sprintf-inputs: New file.
6373         * sprintf-source.c: New file.
6375 2015-05-21  Andreas Schwab  <schwab@suse.de>
6377         [BZ #13028]
6378         [BZ #17053]
6379         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6380         of struct __res_state.
6381         * resolv/res_send.c (__libc_res_nsend): Likewise.
6382         (get_nsaddr): New function.
6383         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6384         statp directly.
6386 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
6388         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6389         -D_POSIX_C_SOURCE=199506L.
6391         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6393         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6394         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6395         Do not mention otherwise.
6396         [POSIX] (_XOPEN_VERSION): Do not expect.
6397         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6398         [POSIX] (_POSIX2_C_BIND): Likewise.
6399         [POSIX] (_POSIX2_VERSION): Likewise.
6400         [POSIX] (_XOPEN_XPG2): Likewise.
6401         [POSIX] (_XOPEN_XPG3): Likewise.
6402         [POSIX] (_XOPEN_XPG4): Likewise.
6403         [POSIX] (_XOPEN_UNIX): Likewise.
6404         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6405         [POSIX] (_POSIX_BARRIERS): Likewise.
6406         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6407         [POSIX] (_POSIX_CPUTIME): Likewise.
6408         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6409         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6410         [POSIX] (_POSIX_SHELL): Likewise.
6411         [POSIX] (_POSIX_SPAWN): Likewise.
6412         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6413         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6414         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6415         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6416         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6417         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6418         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6419         [POSIX] (_XBS5_LP64_OFF64): Likewise.
6420         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6421         [POSIX] (_POSIX_TIMEOUTS): Likewise.
6422         [POSIX] (_POSIX2_PBS): Likewise.
6423         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6424         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6425         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6426         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6427         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6428         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6429         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6430         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6431         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6432         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6433         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6434         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6435         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6436         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6437         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6438         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6439         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6440         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6441         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6442         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6443         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6444         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6445         [POSIX] (_SC_2_C_BIND): Likewise.
6446         [POSIX] (_SC_2_C_VERSION): Likewise.
6447         [POSIX] (_SC_2_PBS): Likewise.
6448         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6449         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6450         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6451         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6452         [POSIX] (_SC_2_PBS_TRACK): Likewise.
6453         [POSIX] (_SC_ATEXIT_MAX): Likewise.
6454         [POSIX] (_SC_BARRIERS): Likewise.
6455         [POSIX] (_SC_BASE): Likewise.
6456         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6457         [POSIX] (_SC_DEVICE_IO): Likewise.
6458         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6459         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6460         [POSIX] (_SC_FD_MGMT): Likewise.
6461         [POSIX] (_SC_FIFO): Likewise.
6462         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6463         [POSIX] (_SC_FILE_LOCKING): Likewise.
6464         [POSIX] (_SC_FILE_SYSTEM): Likewise.
6465         [POSIX] (_SC_IOV_MAX): Likewise.
6466         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6467         [POSIX] (_SC_NETWORKING): Likewise.
6468         [POSIX] (_SC_PAGE_SIZE): Likewise.
6469         [POSIX] (_SC_PASS_MAX): Likewise.
6470         [POSIX] (_SC_PIPE): Likewise.
6471         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6472         [POSIX] (_SC_REGEXP): Likewise.
6473         [POSIX] (_SC_SHELL): Likewise.
6474         [POSIX] (_SC_SIGNALS): Likewise.
6475         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6476         [POSIX] (_SC_SPIN_LOCKS): Likewise.
6477         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6478         [POSIX] (_SC_USER_GROUPS): Likewise.
6479         [POSIX] (_SC_USER_GROUPS_R): Likewise.
6480         [POSIX] (_SC_STREAMS): Likewise.
6481         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6482         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6483         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6484         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6485         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6486         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6487         [POSIX] (_PC_FILESIZEBITS): Likewise.
6488         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6489         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6490         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6491         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6492         [POSIX] (uid_t): Likewise.
6493         [POSIX] (gid_t): Likewise.
6494         [POSIX] (off_t): Likewise.
6495         [POSIX] (pid_t): Likewise.
6496         [POSIX] (cuserid): Allow.
6497         (_SC_2_CHAR_TERM): Require constant.
6498         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6499         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6500         variable.
6502 2015-05-20  Roland McGrath  <roland@hack.frob.com>
6504         * sysdeps/nacl/pthread-pids.h: New file.
6505         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6506         (create_thread): Use __nacl_get_tid to initialize PD->tid.
6508         * nptl/pthread-pids.h: New file.
6509         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6510         * nptl/nptl-init.c: Include <pthread-pids.h>.
6511         (__pthread_initialize_minimal_internal):
6512         Call __pthread_initialize_pids instead of set_tid_address syscall.
6514         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6515         * sysdeps/posix/usleep.c: ... here.
6517 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6519         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6520         call_pselect6 object.
6521         [$(subdir) = io]: Remove call_sync_file_range object.
6522         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6523         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6524         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6525         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6527 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
6529         * math/s_cproj.c: Add include "math_private.h".
6530         * math/s_cprojf.c: Likewise.
6531         * math/s_cprojl.c: Likewise.
6533 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
6535         [BZ #18244]
6536         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6537         high mantissa bit when testing whether P is a NaN.
6538         * math/libm-test.inc (remainder_test_data): Add more tests.
6539         (remquo_test_data): Likewise.
6541         [BZ #18049]
6542         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6543         below -32, return the argument, with underflow if subnormal.
6544         * math/auto-libm-test-in: Add more tests of atanh.
6545         * math/auto-libm-test-out: Regenerated.
6547 2015-05-19  Roland McGrath  <roland@hack.frob.com>
6549         [BZ #18434]
6550         * nptl/tst-sem15.c: New file.
6551         * nptl/Makefile (tests): Add it.
6552         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6553         s/<</>>/ to fix typo in EOVERFLOW check.
6554         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6556 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6558         * manual/strings.texi (envz_remove): Fix typo in safety
6559         annotations.
6561 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
6562             Steve Ellcey  <sellcey@imgtec.com>
6564         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6565         in order to avoid strict alias warnings.
6566         (iruserok_af): Ditto for ra.
6568 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
6570         [BZ #17581]
6571         * malloc/hooks.c
6572         (magicbyte): Convert to a function and avoid returning 0x01.
6573         (mem2mem_check): Avoid using a length byte equal to the magic byte.
6574         (mem2chunk_check): Fix unsigned comparisons to zero.
6575         Hoist defs of sz and magic.
6577 2015-05-19  Richard Henderson  <rth@redhat.com>
6579         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6581         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6583 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6585         [BZ #16159]
6586         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6587         * malloc/arena.c (arena_lock): Check if arena is corrupt.
6588         (reused_arena): Find a non-corrupt arena.
6589         (heap_trim): Pass arena to unlink.
6590         * malloc/hooks.c (malloc_check_get_size): Pass arena to
6591         malloc_printerr.
6592         (top_check): Likewise.
6593         (free_check): Likewise.
6594         (realloc_check): Likewise.
6595         * malloc/malloc.c (malloc_printerr): Add arena argument.
6596         (unlink): Likewise.
6597         (munmap_chunk): Adjust.
6598         (ARENA_CORRUPTION_BIT): New macro.
6599         (arena_is_corrupt): Likewise.
6600         (set_arena_corrupt): Likewise.
6601         (sysmalloc): Use mmap if there are no usable arenas.
6602         (_int_malloc): Likewise.
6603         (__libc_malloc): Don't fail if arena_get returns NULL.
6604         (_mid_memalign): Likewise.
6605         (__libc_calloc): Likewise.
6606         (__libc_realloc): Adjust for additional argument to
6607         malloc_printerr.
6608         (_int_free): Likewise.
6609         (malloc_consolidate): Likewise.
6610         (_int_realloc): Likewise.
6611         (_int_memalign): Don't touch corrupt arenas.
6612         * malloc/tst-malloc-backtrace.c: New test case.
6614         * Makefile (summarize-tests): Fix return value on success.
6616         * manual/string.texi (Envz Functions): Add envz_remove.
6618 2015-05-18  Roland McGrath  <roland@hack.frob.com>
6620         * sysdeps/posix/opendir.c: Include <stdbool.h>.
6621         (invalid_name): New function, broken out of ...
6622         (__opendirat): ... here.  Call it.
6623         (need_isdir_precheck): New function, broken out of ...
6624         (__opendirat): ... here.  Call it.
6625         Use __fxstatat64, not __xstatat64.
6626         (opendir_oflags): New function, broken out of ...
6627         (__opendirat): ... here.  Call it.
6628         (opendir_tail): New function, broken out of ...
6629         (__opendirat): ... here.  Call it.
6630         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6631         opendir_tail, rather than punting to __opendirat.
6632         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6634 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6636         * .gitignore: Ignore generated *.pyc.
6638 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
6640         * include/stdio.h: Define __need_wint_t.
6641         * test-skeleton.c: Avoid `for' loop initial declaration.
6642         * nptl/tst-initializers1.c: Use test-skeleton.c.
6644 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6646         [BZ #18418]
6647         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6649 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
6651         [BZ #16352]
6652         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6653         (__ieee754_atanh): Force underflow exception for results with
6654         small absolute value.
6655         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6656         (__ieee754_atanhf): Force underflow exception for results with
6657         small absolute value.
6658         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6659         (__ieee754_atanh): Force underflow exception for results with
6660         small absolute value.
6661         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6662         (__ieee754_atanhf): Force underflow exception for results with
6663         small absolute value.
6664         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6665         (__ieee754_atanhl): Force underflow exception for results with
6666         small absolute value.
6667         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6668         (__ieee754_atanhl): Force underflow exception for results with
6669         small absolute value.
6670         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6671         (__ieee754_atanhl): Force underflow exception for results with
6672         small absolute value.
6673         * math/auto-libm-test-in: Do not allow missing underflow
6674         exceptions from atanh.
6675         * math/auto-libm-test-out: Regenerated.
6677         [BZ #18221]
6678         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6679         2**-28 as threshold for returning x or +/- 1/x.
6680         * math/auto-libm-test-in: Add more tests of tan.
6681         * math/auto-libm-test-out: Regenerated.
6683         [BZ #18220]
6684         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6685         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6686         * math/auto-libm-test-in: Add another test of lgamma.
6687         * math/auto-libm-test-out: Regenerated.
6689 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
6691         * stdio-common/printf_fp.c (___printf_fp): Use abs.
6692         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
6693         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6694         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6695         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
6696         (ADD2A): Use fabs.  (SUB2A): Use fabs.
6697         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6698         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6699         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6700         (log1): Use fabs.  (my_log2): Use fabs.
6701         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6702         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6703         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6704         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6705         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6706         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
6707         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
6708         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
6709         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
6710         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6711         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6713 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
6715         [BZ #18217]
6716         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6717         as threshold for returning 1 - x.
6718         * math/auto-libm-test-in: Add more tests of erfc.
6719         * math/auto-libm-test-out: Regenerated.
6721 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
6723         [BZ #18196]
6724         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6725         threshold for large arguments.
6726         * math/auto-libm-test-in: Add another test of atan.
6727         * math/auto-libm-test-out: Regenerated.
6729         [BZ #16339]
6730         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6731         (__log1p): Force underflow exception for results with small
6732         absolute value.
6733         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6734         (__log1pf): Force underflow exception for results with small
6735         absolute value.
6736         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6737         (__log1p): Force underflow exception for results with small
6738         absolute value.
6739         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6740         (__log1pf): Force underflow exception for results with small
6741         absolute value.
6742         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6743         (__log1pl): Force underflow exception for results with small
6744         absolute value.
6745         * math/auto-libm-test-in: Do not allow missing underflow
6746         exceptions from log1p.
6747         * math/auto-libm-test-out: Regenerated.
6749 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
6750             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6752         [BZ #16704]
6753         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6755 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
6757         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6758         (libmvec): New variable.
6759         * configure.ac: Added option for mathvec build.
6760         * configure: Regenerated.
6761         * mathvec/Depend: New file.
6762         * mathvec/Makefile: New file.
6763         * shlib-versions: Added libmvec.
6764         * math/Makefile: Added rule for libm.so installation.
6766         * bits/math-vector.h: New file.
6767         * bits/libm-simd-decl-stubs.h: New header.
6768         * math/Makefile (headers): Added new header
6769         libm-simd-decl-stubs.h.
6770         * math/math.h (__MATHCALL_VEC): New macro.
6772         * math/gen-libm-have-vector-test.sh: Script generates series of macros
6773         for conditions in testing functions.
6774         * math/Makefile: Added call of libm-have-vector-test.sh.
6775         * math/libm-test.inc (HAVE_VECTOR): New macros.
6777         * math/libm-test.inc: START refactored.
6778         * math/test-double.c (TEST_MATHVEC): Add define.
6779         * math/test-float.c: Likewise.
6780         * math/test-idouble.c: Likewise.
6781         * math/test-ifloat.c: Likewise.
6782         * math/test-ildoubl.c: Likewise.
6783         * math/test-ldouble.c: Likewise.
6784         * sysdeps/generic/math-tests-arch.h
6785         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6786         architecture check.
6788         * math/test-double.c (FUNC_TEST): New macro.
6789         * math/test-float.c: Likewise.
6790         * math/test-idouble.c: Likewise.
6791         * math/test-ifloat.c: Likewise.
6792         * math/test-ildoubl.c: Likewise.
6793         * math/test-ldouble.c: Likewise.
6794         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6796 2015-05-13  Roland McGrath  <roland@hack.frob.com>
6798         * sysdeps/nacl/fdopendir.c: New file.
6800         * dirent/scandir-tail.c: New file.
6801         * dirent/scandir64-tail.c: New file.
6802         * dirent/Makefile (routines): Add them.
6803         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6804         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6805         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6806         [!SCANDIR] (SCANDIR_TAIL): New macro.
6807         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6808         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6809         (SCANDIRAT): Macro removed.
6810         (SCANDIR_TAIL): New macro.
6811         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6812         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6813         (SCANDIRAT): Just call __opendirat and __scandir_tail.
6814         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6815         (READDIR): Macro removed.
6816         (SCANDIR_TAIL): New macro.
6817         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6818         (SCANDIR_TAIL): New macro.
6820         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6821         * dirent/scandir-cancel.c: ... to this new file.
6822         * dirent/Makefile (routines): Add it.
6823         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6824         * sysdeps/unix/sysv/linux/i386/scandir64.c
6825         (SKIP_SCANDIR_CANCEL): Macro removed.
6826         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6828         * dirent/tst-scandir.c: New file.
6829         * dirent/tst-scandir64.c: New file.
6830         * dirent/Makefile (tests): Add them.
6832 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6834         [BZ #18409]
6835         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6837 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6839         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6840         list.
6842 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
6844         * benchtests/bench-strcoll.c: New benchmark.
6845         * benchtests/Makefile: Generate locales and run benchmark.
6846         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6847         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6848         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6849         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6850         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6851         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6852         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6853         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6854         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6855         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6856         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6857         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6858         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6859         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6860         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6861         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6862         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6863         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6864         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6865         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6866         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6867         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6868         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6869         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6871 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
6873         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6874         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6876 2015-05-12  Roland McGrath  <roland@hack.frob.com>
6878         * posix/uname-values.h: New file.
6879         * posix/uname.c: Include that instead of <config-name.h>.
6880         * sysdeps/nacl/uname-values.h: New file.
6881         * sysdeps/arm/nacl/uname-values.h: New file.
6883 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
6885         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6886         splitting into fields.
6888 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
6890         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6891         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6892         * locale/localeinfo.h: Add enum collation_encoding_type.
6893         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6894         * programs/ld-collate.c (collate_output): Add encoding type info.
6895         * string/strcoll_l.c (STRDIFF): New function.
6896         * (STRCOLL): Use STRDIFF to skip over equal prefix.
6897         * wcsmbs/wcscoll_l.c: Define STRDIFF.
6899 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
6901         [BZ #18397]
6902         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6903         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
6904         <fpu_control.h> instead of <math/fpu_control.c>.
6905         * sysdeps/mips/mips32/fpu/Makefile: New file.
6907 2015-05-11  Andreas Schwab  <schwab@suse.de>
6909         [BZ #18007]
6910         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6911         nss_endgrent.
6912         (_nss_compat_endgrent): Call nss_endgrent.
6913         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6914         nss_endpwent.
6915         (_nss_compat_endpwent): Call nss_endpwent.
6916         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6917         needent, call nss_setspent only if non-zero.
6918         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6919         (internal_endspent): Don't call nss_endspent.
6920         (_nss_compat_endspent): Call nss_endspent.
6921         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6922         Remove.  All uses removed.
6923         (internal_setent): Remove parameter stayopen, add parameter
6924         stream.  Use it instead of global variable.
6925         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6926         (internal_endent, internal_getent): Add parameter stream.  Use it
6927         instead of global variable.
6928         (CONCAT(_nss_files_end,ENTNAME))
6929         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6930         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
6931         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
6932         uses removed.
6933         (internal_setent, internal_endent): Add parameter stream.  Use it
6934         instead of global variable.
6935         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6936         stream.
6937         (get_next_alias): Add parameter stream.
6938         (_nss_files_getaliasent_r): Pass global stream.
6939         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
6940         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6941         (_nss_files_gethostbyname4_r): Pass local stream to
6942         internal_setent, internal_getent and internal_endent.  Remove
6943         locking.
6945 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6947         * tst-strfmon1.c (tests): Update expected currency symbol.
6949 2015-05-08  Roland McGrath  <roland@hack.frob.com>
6951         * sysdeps/nacl/gethostname.c: New file.
6953 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
6955         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6956         and sinh.
6957         * math/auto-libm-test-out: Regenerated.
6958         * sysdeps/i386/fpu/libm-test-ulps: Update.
6959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6961 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
6963         [BZ #18125]
6964         * stdlib/tst-setcontext3.c: New file.
6965         * stdlib/tst-setcontext3.sh: New file.
6966         * stdlib/Makefile (tests): Add tst-setcontext3.
6967         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6968         to verify test program created output file.
6969         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6970         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6971         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6972         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6974 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6976         [BZ #18383]
6977         * elf/tst-tlsalign.c: New file.
6978         * elf/tst-tlsalign-static.c: New file.
6979         * elf/tst-tlsalign-lib.c: New file.
6980         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6981         (tests-static): Add tst-tlsalign-static.
6982         (modules-names): Add tst-tlsalign-lib.
6983         (test-xfail-tst-tlsalign): New variable.
6984         (test-xfail-tst-tlsalign-static): New variable.
6986         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6987         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6989 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6991         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6992         csqrt, erfc, sin and sincos.
6993         * math/auto-libm-test-out: Regenerated.
6994         * sysdeps/i386/fpu/libm-test-ulps: Update.
6995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6997 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6999         * sysdeps/aarch64/libm-test-ulps: Update.
7001 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
7003         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
7004         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
7005         * math/auto-libm-test-out: Regenerated.
7006         * sysdeps/i386/fpu/libm-test-ulps: Update.
7007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7009 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
7011         [BZ #18265]
7012         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
7013         (wcsncpy): Likewise.
7015 2015-05-05  Florian Weimer  <fweimer@redhat.com>
7017         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7018         Assume __ASSUME_FALLOCATE is always true.
7019         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7020         (__posix_fallocate64_l64): Likweise.
7021         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
7022         (posix_fallocate): Likewise.
7023         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
7024         (__posix_fallocate64_l64): Likewise.
7025         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
7026         [!__ASSUME_FALLOCATE]: Add comment.
7028 2015-05-05  Florian Weimer  <fweimer@redhat.com>
7030         * sysdeps/unix/sysv/linux/i386/Makefile
7031         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
7032         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
7033         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
7034         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
7035         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
7036         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
7037         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
7039 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
7041         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
7042         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
7043         tgamma.
7044         * math/auto-libm-test-out: Regenerated.
7045         * sysdeps/i386/fpu/libm-test-ulps: Update.
7046         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7048 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
7050         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
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         * math/auto-libm-test-in: Add more tests of tan.
7061         * math/auto-libm-test-out: Regenerated.
7062         * sysdeps/i386/fpu/libm-test-ulps: Update.
7063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7065         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
7066         * math/auto-libm-test-out: Regenerated.
7067         * sysdeps/i386/fpu/libm-test-ulps: Update.
7068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7070         * math/auto-libm-test-in: Add another test of pow.
7071         * math/auto-libm-test-out: Regenerated.
7072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7074         * math/auto-libm-test-in: Add more tests of lgamma.
7075         * math/auto-libm-test-out: Regenerated.
7076         * sysdeps/i386/fpu/libm-test-ulps: Update.
7077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7079         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
7080         log1p.
7081         * math/auto-libm-test-out: Regenerated.
7082         * sysdeps/i386/fpu/libm-test-ulps: Update.
7083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7085 2015-05-01  Mark Wielaard  <mjw@redhat.com>
7087         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
7088         Elf64_Chdr structs and ELFCOMPRESS constants.
7090 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
7092         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
7093         expm1.
7094         * math/auto-libm-test-out: Regenerated.
7095         * sysdeps/i386/fpu/libm-test-ulps: Update.
7096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7098         * math/auto-libm-test-in: Add more tests of erf and erfc.
7099         * math/auto-libm-test-out: Regenerated.
7100         * sysdeps/i386/fpu/libm-test-ulps: Update.
7101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7103 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7105         * config.h.in (HAVE_AARCH64_BE): Add.
7107 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
7109         * math/auto-libm-test-in: Add more tests of csqrt.
7110         * math/auto-libm-test-out: Regenerated.
7111         * sysdeps/i386/fpu/libm-test-ulps: Update.
7112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7114         * math/auto-libm-test-in: Add more tests of cosh and sinh.
7115         * math/auto-libm-test-out: Regenerated.
7116         * sysdeps/i386/fpu/libm-test-ulps: Update.
7117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7119         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
7121 2015-04-29  Roland McGrath  <roland@hack.frob.com>
7123         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
7124         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
7126         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
7127         (euidaccess, eaccess): Define as weak aliases.
7129         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
7130         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
7131         but __suseconds_t is often 'long int' so some sources assume that
7132         type is being used (e.g. they use %ld to print tv_usec).
7134 2015-04-29  Florian Weimer  <fweimer@redhat.com>
7136         [BZ #18007]
7137         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
7138         (CVE-2014-8121)
7139         * nss/tst-nss-getpwent.c: New file.
7140         * nss/Makefile (tests): Add new test.
7142 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
7144         [BZ #18346]
7145         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
7146         exponents less than 48 as cases where high part of mantissa needs
7147         examining to determine whether argument is integral.
7148         * math/libm-test.inc (round_test_data): Add more tests.
7150 2015-04-28  Mark Wielaard  <mjw@redhat.com>
7152         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
7154 2015-04-27  David S. Miller  <davem@davemloft.net>
7156         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
7157         __tls_get_addr.
7158         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
7160 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
7162         [BZ#18333]
7163         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
7165 2015-04-27  Florian Weimer  <fweimer@redhat.com>
7167         [BZ#18333]
7168         * time/tzset.c (parse_tzname): Return error on memory allocation
7169         failure.
7170         * test-skeleton.c (struct temp_name_list): Change type of name
7171         member to non-const.
7172         (add_temp_file): Create a copy of the file name.
7173         (delete_temp_files): Deallocate memory.
7174         (create_temp_file): Add comment.
7176 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7178         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
7179         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
7181 2015-04-24  Roland McGrath  <roland@hack.frob.com>
7183         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
7184         * sysdeps/arm/configure: Regenerated.
7186 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7188         [BZ #17715]
7189         * time/tzfile.c (__tzfile_read): Check for large values of
7190         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
7191         * time/tzset.c (__tzstring_len): New function, based on the old
7192         __tzstring function.
7193         (__tzstring): Call __tzstring_len.
7194         (parse_tzname): New helper function extracted from
7195         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
7196         the input string.
7197         (parse_offset): New helper function extracted from
7198         __tzset_parse_tz.  Replace switch with fallthrough with
7199         initialization before sscanf.
7200         (parse_rule): Likewise.
7201         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
7202         new-style function definition.
7203         * timezone/Makefile (tests): Add tst-tzset.
7204         (tst-tzset.out): Dependencies on time zone files.
7205         (tst-tzset-ENV): Set TZDIR.
7206         (testdata/XT%): Copy crafted time zone files.
7207         * timezone/README: Mention crafted time zone files.
7208         * timezone/testdata/XT1, timezone/testdata/XT2,
7209         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
7210         files.
7211         * timezone/tst-tzset.c: New test.
7213 2015-04-24  Florian Weimer  <fweimer@redhat.com>
7215         * Makeconfig (+gccwarn): Remove -Winline.
7217 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7219         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
7221 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7223         * NEWS: Mention sysconf() cache information support for s390.
7224         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
7226 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
7228         * math/k_casinh.c (__kernel_casinh): Use __copysign.
7229         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
7230         (__nearbyint): Likewise.
7231         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
7232         (copysignl): Likewise.
7234 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
7236         [BZ #18287]
7237         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
7238         based on padding.  (CVE-2015-1781)
7240 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7242         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
7243         libc-vdso.h.
7244         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
7245         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
7246         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
7247         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7248         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7249         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
7250         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7252         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7253         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7254         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7255         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7256         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7257         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7258         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7259         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7260         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7261         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7262         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7263         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7264         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7265         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7266         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7268 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
7270         * stdlib/setenv.c (__add_to_environ):
7271         Dump core quickly if setenv (..., NULL, ...) is called.
7272         This time, do it the right way, and pacify GCC with a pragma.
7274 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7276         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7277         IMAP->l_prev cannot be null, and #if out the code for the contrary
7278         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7279         believe that NS (&_dl_ns[NSID]) could point outside the array.
7281         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7282         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7283         before using NSID as an index.
7285 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
7287         [BZ #17825]
7288         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7289         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7290         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7292 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7294         Add preliminary port to Google Native Client on ARM.
7295         * abi-tags (.*-.*-nacl.*): New entry.
7296         * sysdeps/arm/nacl: New directory.
7297         * sysdeps/nacl: New directory.
7299 2015-04-16  David S. Miller  <davem@davemloft.net>
7301         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7302         lowlevellock-futex.h
7304 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
7306         * sysdeps/tile/configure.ac: New file.
7307         * sysdeps/tile/configure: Regenerated.
7309 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7311         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
7312         conditionals for weak_alias and libc_hidden_weak.
7313         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7314         libc_hidden_weak and weak_alias.
7315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7316         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7317         and weak_alias for static one.
7319 2015-04-15  David S. Miller  <davem@davemloft.net>
7321         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7323 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7325         [BZ #18206]
7326         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7327           Use signed comparision instead of substraction to avoid
7328           overflow bug.
7329         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7330           Take the sign of ret.
7331         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7332           Do not expect precise return values. Only the sign matters.
7333         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7334         * wcsmbs/test-wcsncmp.c: New File.
7335         * string/test-strncmp.c: Add wcsncmp support.
7337 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7339         [BZ #6792]
7340         * math/w_log1p.c: New file.
7341         * math/w_log1pf.c: Likewise.
7342         * math/w_log1pl.c: Likewise.
7343         * math/Makefile (libm-calls): Add w_log1p.
7344         * math/s_log1pl.c (log1pl): Remove weak_alias.
7345         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7346         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7347         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7348         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7349         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7350         [NO_LONG_DOUBLE] (log1pl): Likewise.
7351         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7352         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7353         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7354         (log1p): Remove long_double_symbol.
7355         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7356         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7357         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7358         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7359         remove weak_alias for corresponding log1p function.
7360         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7361         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7362         * sysdeps/ia64/fpu/w_log1p.c: New file.
7363         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7364         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7365         * math/libm-test.inc (log1p_test_data): Add errno expectations.
7367 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
7369         [BZ #18247]
7370         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7371         decimal exponent by 1.
7372         * stdlib/tst-strtod-round-data: Add more tests.
7373         * stdlib/tst-strtod-round.c (tests): Regenerated.
7375 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
7377         * math/auto-libm-test-in: Add more tests of clog and clog10.
7378         * math/auto-libm-test-out: Regenerated.
7379         * sysdeps/i386/fpu/libm-test-ulps: Update.
7380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7382 2015-04-09  Roland McGrath  <roland@hack.frob.com>
7384         * Makeconfig (module-cppflags): Exclude all .v.i files.
7385         (skip-module-cppflags): Variable removed.
7387         * configure.ac (libc_config_ok): Initialize before reading
7388         preconfigure scripts, not after.
7389         * configure: Regenerated.
7391         * test-skeleton.c (TIMEOUT): Move #define to top level.
7392         (main): Grok environment variable TEST_DIRECT.  If set, print
7393         test expectation details into that file and then behave as if
7394         given --direct.
7396 2015-04-09  Florian Weimer  <fweimer@redhat.com>
7398         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7399         warning on 32-bit.
7401 2015-04-08  David S. Miller  <davem@davemloft.net>
7403         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7405 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7407         * math/auto-libm-test-in: Add more tests of atanh.
7408         * math/auto-libm-test-out: Regenerated.
7409         * sysdeps/i386/fpu/libm-test-ulps: Update.
7410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7412         * math/auto-libm-test-in: Add more tests of atan.
7413         * math/auto-libm-test-out: Regenerated.
7414         * sysdeps/i386/fpu/libm-test-ulps: Update.
7415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7417 2015-04-08  Florian Weimer  <fweimer@redhat.com>
7419         * elf/pldd.c (main): Rewrite to use struct
7420         scratch_buffer instead of extend_alloca.
7421         * elf/pldd-xx.c (find_maps): Likewise.
7422         * grp/initgroups.c: Include <scratch_buffer.h> instead of
7423         <alloca.h>.
7424         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7425         scratch_buffer instead of extend_alloca.
7426         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7427         grp/compat-initgroups.c.
7428         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7429         Rewrite to use struct scratch_buffer instead of extend_alloca.
7430         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7431         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7433 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7435         * math/auto-libm-test-in: Add more tests of cbrt.
7436         * math/auto-libm-test-out: Regenerated.
7437         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7439         * math/auto-libm-test-in: Add more tests of cabs.
7440         * math/auto-libm-test-out: Regenerated.
7441         * sysdeps/i386/fpu/libm-test-ulps: Update.
7442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7444         [BZ #18210]
7445         [BZ #18211]
7446         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7447         (__ieee754_atan2): Set FE_TONEAREST mode for internal
7448         computations.
7449         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7450         clog10.
7451         * math/auto-libm-test-out: Regenerated.
7452         * sysdeps/i386/fpu/libm-test-ulps: Update.
7453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7455         [BZ #18197]
7456         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7457         (atan): Set FE_TONEAREST mode for internal computations.
7458         * math/auto-libm-test-in: Add more tests of atan.
7459         * math/auto-libm-test-out: Regenerated.
7461 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
7463         [BZ #17930]
7464         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7466 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7468         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7470 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7472         * include/scratch_buffer.h: New file.
7473         * malloc/scratch_buffer_grow.c: Likewise.
7474         * malloc/scratch_buffer_grow_preserve.c: Likewise.
7475         * malloc/scratch_buffer_set_array_size.c: Likewise.
7476         * malloc/tst-scratch_buffer.c: Likewise.
7477         * malloc/Makefile (routines): Add scratch_buffer_grow.
7478         (tests): Add test case.
7479         * malloc/Versions (GLIBC_PRIVATE): Export
7480         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7481         __libc_scratch_buffer_set_array_size.
7483 2015-04-06  Richard Henderson  <rth@redhat.com>
7485         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7486         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7488         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7489         unsigned int before printing.
7491 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7493         [BZ #17596]
7494         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7495         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7497 2015-04-02  Florian Weimer  <fweimer@redhat.com>
7499         * include/libc-internal.h (libc_max_align_t): Define.
7501 2015-04-02  Andreas Schwab  <schwab@suse.de>
7503         [BZ #16850]
7504         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7506 2015-04-02  Mel Gorman  <mgorman@suse.de>
7508         [BZ #17195]
7509         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7510         as well as the main arena.
7512 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7514         [BZ #18185]
7515         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7516         sharing L2 cache to 2 for Silvermont/Knights Landing.
7518 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7520         [BZ #17711]
7521         * config.make.in (have-protected-data): New.
7522         * configure.ac: Check linker support for protected data symbol.
7523         * configure: Regenerated.
7524         * elf/Makefile (modules-names): Add tst-protected1moda and
7525         tst-protected1modb if $(have-protected-data) is yes.
7526         (tests): Add tst-protected1a and tst-protected1b if
7527         $(have-protected-data) is yes.
7528         ($(objpfx)tst-protected1a): New.
7529         ($(objpfx)tst-protected1b): Likewise.
7530         (tst-protected1modb.so-no-z-defs): Likewise.
7531         * elf/tst-protected1a.c: New file.
7532         * elf/tst-protected1b.c: Likewise.
7533         * elf/tst-protected1mod.h: Likewise.
7534         * elf/tst-protected1moda.c: Likewise.
7535         * elf/tst-protected1modb.c: Likewise.
7537 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7539         [BZ #17711]
7540         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7541         indicates it is called from do_lookup_x on relocation against
7542         protected data, skip the data definion in the executable from
7543         copy reloc.
7544         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7545         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7546         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7547         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7548         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7549         otherwise to 0.
7550         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7551         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7552         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7553         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7554         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7555         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7557 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
7559         * sysdeps/nptl/pthread.h: Remove duplicate definition of
7560         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7562 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
7564         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7565         THREAD_SETMEM_NC.
7566         * sysdeps/x86_64/nptl/tls.h: Ditto.
7568 2015-03-27  Roland McGrath  <roland@hack.frob.com>
7570         * dlfcn/tststatic.c (main): Converted to ...
7571         (do_test): ... this.
7572         (TEST_FUNCTION): New macro.
7573         Include test-skeleton.c.
7575 2015-03-26  Alan Modra  <amodra@gmail.com>
7577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7578         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
7579         zero for undefined weak.
7580         (elf_machine_plt_conflict): Similarly.
7582 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
7584         * math/auto-libm-test-in: Add more tests of acosh, asinh and
7585         atanh.
7586         * math/auto-libm-test-out: Regenerated.
7587         * sysdeps/i386/fpu/libm-test-ulps: Update.
7588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7590         * math/auto-libm-test-in: Add another test of asin.
7591         * math/auto-libm-test-out: Regenerated.
7592         * sysdeps/i386/fpu/libm-test-ulps: Update.
7593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7595         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7596         Remove macro.
7597         (LLL_EBX_REG): Likewise.
7598         (LLL_ENTER_KERNEL): Likewise.
7600         * math/auto-libm-test-in: Add more tests of asin.
7601         * math/auto-libm-test-out: Regenerated.
7602         * sysdeps/i386/fpu/libm-test-ulps: Update.
7603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605         [BZ #18138]
7606         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7607         libc_do_syscall_args): New structure.
7608         (INTERNAL_SYSCALL_MAIN_0): New macro.
7609         (INTERNAL_SYSCALL_MAIN_1): Likewise.
7610         (INTERNAL_SYSCALL_MAIN_2): Likewise.
7611         (INTERNAL_SYSCALL_MAIN_3): Likewise.
7612         (INTERNAL_SYSCALL_MAIN_4): Likewise.
7613         (INTERNAL_SYSCALL_MAIN_5): Likewise.
7614         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
7615         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7616         Replace conditional definitions by conditional definitions of ....
7617         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
7618         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7619         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7620         (libpthread-sysdep_routines): Add libc-do-syscall.
7621         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7622         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7623         to __NR_futex not 240.
7625 2015-03-25  Alan Modra  <amodra@gmail.com>
7627         * NEWS: Advertise TLS optimization.
7628         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7629         (DT_PPC_NUM): Increment.
7630         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7631         (CHECK_STATIC_TLS): Use here.
7632         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7633         TLS descriptors.
7634         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7635         * sysdeps/powerpc/dl-tls.c: New file.
7636         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7637         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7638         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7639         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7644 2015-03-25  Alan Modra  <amodra@gmail.com>
7646         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7647         for overlapping .opd entries" to "support...".
7648         * sysdeps/powerpc/powerpc64/configure: Regenerate
7650 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
7652         * math/auto-libm-test-in: Add more tests of acos.
7653         * math/auto-libm-test-out: Regenerated.
7654         * sysdeps/i386/fpu/libm-test-ulps: Update.
7655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7657         * math/auto-libm-test-in: Add more tests of expm1.
7658         * math/auto-libm-test-out: Regenerated.
7659         * sysdeps/i386/fpu/libm-test-ulps: Update.
7660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7662 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
7664         * math/auto-libm-test-in: Add more tests of cosh and sinh.
7665         * math/auto-libm-test-out: Regenerated.
7666         * sysdeps/i386/fpu/libm-test-ulps: Update.
7667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7669         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7672         * math/auto-libm-test-in: Add more tests of log2.
7673         * math/auto-libm-test-out: Regenerated.
7674         * sysdeps/i386/fpu/libm-test-ulps: Update.
7675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7677 2015-03-23  Roland McGrath  <roland@hack.frob.com>
7679         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7680         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
7681         _IO_IS_APPENDING bit in READ_WRITE instead.
7683 2015-03-23  Florian Weimer  <fweimer@redhat.com>
7685         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7686         (__determine_cpumask_size): Replace extend_alloca with a
7687         variable-length array.  Do not treat res == 0 as an error.
7689 2015-03-23  Florian Weimer  <fweimer@redhat.com>
7691         [BZ #18100]
7692         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7693         and integer overflow.
7694         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7695         (main): Add integer overflow tests.
7696         * manual/pattern.texi (Calling Wordexp): Document additional use
7697         for WRDE_SYNTAX.
7699 2015-03-23  Alan Modra  <amodra@gmail.com>
7701         * config.h.in: Remove HAVE_ASM_PPC_REL16.
7702         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7703         and false branch of conditional.
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7705         Likewise.
7707 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
7709         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7710         libc-modules.h
7711         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7712         unused declaration of _hurd_intr_rpc_msg_in_trap.
7713         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7714         defined instead of whether it is non-zero.
7715         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7716         input constraint instead of both input and output constraint.  Use ecx
7717         clobber instead of %ecx.
7718         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7719         mutex_unlock): Use a statement expression instead of an expression list.
7720         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7721         type to vm_size_t instead of vm_address_t.
7722         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7723         defined instead of whether it is non-zero.
7724         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7725         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7726         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7727         comparisons with mapaddr.
7728         * nscd/nscd-client.h: Include <time.h>.
7729         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7730         9th parameter to __vm_region instead of int.
7731         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7732         * scripts/check-local-headers.sh (exclude): Add device/,
7733         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7734         cthreads.h.
7736 2015-03-19  Roland McGrath  <roland@hack.frob.com>
7738         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7739         to account for alignment padding.
7740         * sysdeps/arm/memmove.S: Likewise.
7742 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
7744         * sysdeps/unix/sysv/linux/generic/README: New file.
7746 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
7748         [BZ #18138]
7749         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7750         (futex_abstimed_wait)
7751         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7752         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7753         of lll_futex_timed_wait.
7755 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
7757         [BZ #17542]
7758         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7760 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
7762         [BZ #17090]
7763         [BZ #17620]
7764         [BZ #17621]
7765         [BZ #17628]
7766         * NEWS: Update.
7767         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7768         entries with Static TLS too.  Skip entries past the end of the
7769         allocated DTV, from Alan Modra.
7770         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
7771         Static TLS DTV entry set up from...
7772         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7773         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7774         * nptl/allocatestack.c (init_one_static_tls): ... and here...
7775         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7776         for Static TLS.
7777         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
7778         that the slot we find is associated with the given map before
7779         using its generation count.
7780         * nptl_db/db_info.c: Include ldsodefs.h.
7781         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7782         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7783         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7784         (link_map::l_tls_offset): New struct field.
7785         (dtv_t::counter): Likewise.
7786         (rtld_global): New struct.
7787         (_rtld_global): New rtld variable.
7788         (dl_tls_dtv_slotinfo_list): New rtld global field.
7789         (dtv_slotinfo_list): New struct.
7790         (dtv_slotinfo): Likewise.
7791         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7792         (td_lookup): Rename to...
7793         (td_mod_lookup): ... this.  Use new mod parameter instead of
7794         LIBPTHREAD_SO.
7795         * nptl_db/td_thr_tlsbase.c: Include link.h.
7796         (dtv_slotinfo_list, dtv_slotinfo): New functions.
7797         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
7798         addresses even if the DTV is out of date or missing them.
7799         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7800         index zero-length arrays.
7801         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7802         (td_lookup): Make it a macro implemented in terms of...
7803         (td_mod_lookup): ... this declaration.
7804         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7805         (DB_MAIN_VARIABLE): Likewise.
7807 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7809         [BZ #18134]
7810         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7812 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
7814         * stdlib/setenv.c (__add_to_environ): Revert previous change.
7816 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7818         [BZ #18128]
7819         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7820         (atomic_add, atomic_increment_and_test)
7821         (atomic_decrement_and_test): Fix 64-bit arithmetic.
7823 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
7825         * stdlib/setenv.c (__add_to_environ):
7826         Dump core quickly if setenv (..., NULL, ...) is called.
7828 2015-03-13  Roland McGrath  <roland@hack.frob.com>
7830         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7831         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7832         all the necessary asm magic in one place.
7833         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7834         using those.
7836 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
7838         [BZ #14906]
7839         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7840         traced file mtime. Use consistent log message.
7841         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7842         (register_traced_file): Call install_watches. Always set mtime.
7843         (invalidate_cache): Iterate over all trace files. Call install_watches.
7844         (inotify_check_files): Don't inline. Handle watching parent
7845         directories and configuration file movement in and out.
7846         (handle_inotify_events): New function.
7847         (main_loop_poll): Call handle_inotify_events.
7848         (main_loop_epoll): Likewise.
7849         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7850         (struct traced_file): Use array of inotify fds. Add parent directory,
7851         and basename.
7852         (struct database_dyn): Remove unused file_mtime.
7853         (init_traced_file): New inline function.
7854         (define_traced_file): New macro.
7855         * nss/nss_db/db-init.c: Use define_traced_file.
7856         (_nss_db_init): Use init_traced_file.
7857         * nss/nss_files/files-init.c: Use define_traced_file.
7858         (_nss_files_init): Use init_traced_file.
7860 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
7862         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7863         [_LIBC]: Do not include <stdlib.h>.
7864         [!_LIBC] (abort): Remove declaration.
7865         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7866         _FP_STATIC_ASSERT instead of conditionally calling abort.
7867         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7868         (_FP_EXTEND_CNAN): Likewise.
7869         (FP_TRUNC): Likewise.
7870         (__FP_CLZ): Likewise.
7871         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7873 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
7875         * manual/string.texi (XPG basename): Fix prototype.
7877 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7879         [BZ #18080]
7880         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7881         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7882         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7883         (__setcontext): Likewise.
7884         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7885         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7886         Call rt_sigprocmask syscall one time to set new signal mask
7887         and retrieve the current signal mask instead of two calls.
7888         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7889         (__swapcontext): Likewise.
7890         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7891         * stdlib/tst-setcontext2.c: New file.
7893 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7895         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7897 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
7899         [BZ #18093]
7900         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7901         the wrong size.
7903 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7905         [BZ #18043]
7906         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7908 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7910         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7911         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7912         Remove define.
7913         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7914         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7915         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7916         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7917         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7918         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7919         define.
7920         * nptl_db/td_symbol_list.c (td_lookup): Remove
7921         HAVE_ASM_GLOBAL_DOT_NAME code.
7922         * sysdeps/powerpc/powerpc64/configure.ac: Remove
7923         HAVE_ASM_GLOBAL_DOT_NAME check.
7924         * sysdeps/powerpc/powerpc64/configure: Regenerate.
7925         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7926         (DOT_LABEL): Remove define.
7927         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7928         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7929         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7930         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7931         (__TLS_GET_ADDR): Likewise.
7932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7933         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7935 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
7937         [BZ #18111]
7938         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7939         (_FPU_SETCW): Initialize cw from fpsr before storing.
7940         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7941         (fesetexceptflag): Rewrite using fpu_control.h.
7942         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7944 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
7946         [BZ #18110]
7947         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7948         asms.
7949         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7951 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
7953         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7954         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7955         abort.
7956         (_FP_FMA): Likewise.
7957         (_FP_DIV): Likewise.
7959 2015-03-10  Roland McGrath  <roland@hack.frob.com>
7961         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7962         with 0 in that case.
7963         * Makefile (summarize-tests): New canned sequence, factored out of
7964         commands for targets tests and xtests.  Display summary lines that
7965         don't start with PASS: or XFAIL: rather than ones that do start with
7966         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
7967         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7968         do start with ERROR: or FAIL:.
7969         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7970         (except for [$(build-shared) = yes]).
7971         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7972         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7973         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7974         * nptl/Makefile: Revert 2015-03-04 changes.
7975         [$(CXX) empty] (tests-unsupported): New variable.
7976         * debug/Makefile: Likewise.
7978         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7979         gnulib file.  Replace __attribute with __attribute__ throughout.
7981 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7983         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7985 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7987         [BZ #18104]
7988         * math/auto-libm-test-in: Add another test of pow.
7989         * math/auto-libm-test-out: Regenerated.
7991 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7993         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7994         $(config-cflags-nofma).
7996 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7998         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7999         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
8000         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
8001         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
8002         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
8003         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
8004         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
8005         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
8006         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
8007         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
8008         Add comment on closing #endif.
8010 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8012         * posix/wordexp.c (CHAR_IN_SET): New macro.
8013         (parse_param): Use it.
8015 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8017         * sysdeps/powerpc/fpu/libm-test-ulps: update.
8019 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8021         [BZ #18043]
8022         * posix/wordexp.c (parse_param): Fix buffer overflow.
8023         * posix/wordexp-test.c (test_case): Add test case.
8025 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8027         [BZ #18042]
8028         * posix/wordexp.c (parse_backtick): Fix off-by-one.
8029         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
8031 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
8033         [BZ #18043]
8034         * posix/wordexp-test.c (test_case): Add test for BZ #18043
8035         (do_bz18043): Delete.
8036         (at_page_end): New.
8037         (testit): Refactor to have words at the edge of unreadable page.
8039 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
8041         [BZ #16734]
8042         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
8043         Cleanup read-only streams as well.
8044         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
8046 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8048         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
8049         <bits/libc-lockP.h>
8051 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
8053         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
8054         on [__KERNEL__].
8055         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
8056         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
8057         * soft-fp/op-common.h (_FP_DECL): Likewise.
8059 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
8061         * elf/ifuncdep2.c (global): Replace
8062         __attribute__((visibility("protected"))) with
8063         asm (".protected global").
8064         * elf/ifuncmod1.c (global): Likewise.
8065         * elf/ifuncmod5.c (global): Likewise.
8067 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
8069         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
8070         <asm/sfp-machine.h> instead of <sfp-machine.h>.
8072 2015-03-06  Roland McGrath  <roland@hack.frob.com>
8074         * manual/install.texi (Configuring and compiling):
8075         Document test-wrapper-env-only.
8076         * INSTALL: Regenerated.
8078 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
8080         [BZ #18043]
8081         * posix/wordexp.c (parse_param): Fix buffer overflow.
8082         * posix/wordexp-test.c (do_bz18043): Add test case.
8084 2015-03-06  Vincent Bernat  <vincent@bernat.im>
8086         * time/tst-strptime2.c (do_test): Ensure failing tests are
8087         reported correctly.
8088         * time/tst-strptime3.c (do_test): Likewise.
8090 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
8092         Fix aio_error thread-safety.
8093         * sysdeps/pthread/aio_error.c: New file
8094         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
8095         synchronization.
8097 2015-03-06  Florian Weimer  <fweimer@redhat.com>
8099         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
8100         (group_number, vfprintf): Use it.
8101         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
8102         (JUMP, REF): Use it.
8103         (WORK_BUFFER_SIZE): New enum constant.
8104         (process_arg, vfprintf): Use it.
8106 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
8108         * manual/errno.texi (Error Messages): Complete example function
8109         by adding missing #define.
8110         (program_invocation_name): Add statement indicating GNU
8111         extension and reference which header file declares the variable.
8112         (program_invocation_short_name): Likewise.
8114 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
8116         * manual/errno.texi (Error Messages): Delete strerror ISO C89
8117         compatibility note.
8119 2015-03-05  Roland McGrath  <roland@hack.frob.com>
8121         * Makeconfig (test-wrapper-env-only): New variable.
8122         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
8123         then use that with $(test-wrapper-env-only) rather than using
8124         $(test-wrapper-env) $(run-program-env) $($*-ENV).
8126 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
8128         [BZ #18082]
8129         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
8130         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
8131         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
8132         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
8133         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
8134         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
8135         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
8136         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
8137         Likewise.
8138         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
8139         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
8140         Likewise.
8141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
8142         Likewise.
8143         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
8144         Likewise.
8145         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
8146         Likewise.
8147         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
8148         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
8149         Likewise.
8150         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
8151         Likewise.
8152         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
8153         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
8155 2015-03-04  Roland McGrath  <roland@hack.frob.com>
8157         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
8158         (ETH_ALEN): New macro.
8159         (struct ether_addr): Use it for length of ether_addr_octet.
8161         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
8162         (setdb): Don't call __nss_configure_lookup for "rpc".
8163         (do_test): Don't call test_rpc.
8164         (output_rpcent, test_rpc): Functions moved ...
8165         * sunrpc/test-rpcent.c: ... to this new file.
8166         * sunrpc/Makefile (tests): Add it.
8168         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
8169         __xpg_sigpause.
8170         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
8171         * nptl/tst-signal6.c: Likewise.
8172         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
8173         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
8175         * configure.ac (libc_cv_cxx_link_ok): New check.
8176         Reset CXX to empty if it fails to link.
8177         * configure: Regenerated.
8178         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
8179         bug-atexit3-lib only if $(CXX) is nonempty.
8180         * nptl/Makefile (tests): Likewise for tst-cancel24.
8181         (tests, tests-static): Likewise for tst-cancel24-static.
8182         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
8183         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
8184         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
8185         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
8187 2015-03-04  Andreas Schwab  <schwab@suse.de>
8189         [BZ #17631]
8190         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
8191         for non-GCC compilers.
8192         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8193         Likewise.
8195 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8197         [BZ #17776]
8198         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
8199         integer before bitwise and assembly operations.
8200         (feclearexcept): Likewise.
8201         * math/test-fenvinline.c: New file.
8202         * math/Makefile: Add test-fenvinline test.
8204 2015-03-03  Alan Modra  <amodra@gmail.com>
8206         [BZ #16512]
8207         * scripts/localplt.awk: Strip off symbol version.
8208         * NEWS: Mention bug fix.
8210 2015-03-02  Roland McGrath  <roland@hack.frob.com>
8212         * sysdeps/pthread/timer_routines.c
8213         (timer_free_list, thread_free_list, thread_active_list): Make static.
8215 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
8217         [BZ #17779]
8218         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8219         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8220         Undefine.
8221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8222         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8223         Likewise.
8224         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8225         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
8226         Likewise.
8228 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
8230         [BZ #18036]
8231         * posix/fnmatch_loop.c (END): Detect invalid pattern.
8232         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
8234 2015-03-02  Andreas Schwab  <schwab@suse.de>
8236         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
8237         variable name.
8239 2015-03-02  Florian Weimer  <fweimer@redhat.com>
8241         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
8242         Return error status.
8244 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
8246         [BZ #15969]
8247         * locale/findlocale.c (_nl_find_locale): Introduce const
8248         version of loc_name and drop unsafe type casts.
8250 2015-02-27  Roland McGrath  <roland@hack.frob.com>
8252         * dlfcn/tststatic2.c (main): Converted to ...
8253         (do_test): ... this.
8254         (TEST_FUNCTION): New macro.
8255         Include test-skeleton.c.
8257 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
8259         [BZ #17711]
8260         * elf/Makefile (tests): Add vismain only if PIE is enabled.
8261         (tests-pie): Add vismain.
8262         (CFLAGS-vismain.c): New.
8263         * elf/vismain.c: Add comments for PIE requirement.
8265 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8267         [BZ #18046]
8268         [BZ #18047]
8269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8270         0x1p-56L as threshold for just returning the argument.
8271         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8272         0x1p-32L as threshold for just returning the argument.
8273         * math/auto-libm-test-in: Add more tests of atanh.
8274         * math/auto-libm-test-out: Regenerated.
8275         * sysdeps/i386/fpu/libm-test-ulps: Update.
8276         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8278 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8280         * string/bcopy.c (bcopy): Call memmove for performance.
8282 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8284         * string/bzero.c (__bzero): Call memset for performance.
8286 2015-02-27  John David Anglin  <dave.anglin@bell.net>
8288         [BZ #18068]
8289         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8290         to 00100000.
8292 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8294         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8296 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8298         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8299         (__kernel_standard): Use CSTR macro when setting exc.name.
8300         * sysdeps/ieee754/Makefile [$(subdir) = math]
8301         (CFLAGS-k_standard.c): Remove variable.
8303         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8304         setting p and q from "else if" to "else".
8305         (qzero): Likewise.
8306         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8307         (qone): Likewise.
8308         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8309         (qzerof): Likewise.
8310         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8311         (qonef): Likewise.
8312         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8313         (qzero): Likewise.
8314         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8315         (qone): Likewise.
8317         [BZ #18038]
8318         [BZ #18039]
8319         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8320         return pi/2 for arguments below 0x1p-113L.
8321         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8322         return pi/2 for arguments below 0x1p-106L.
8323         * math/auto-libm-test-in: Add more tests of acos.
8324         * math/auto-libm-test-out: Regenerated.
8326         [BZ #16351]
8327         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8328         (MO): New macro.
8329         (__ieee754_asin): Force underflow exception for results with small
8330         absolute value.
8331         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8332         (MO): New macro.
8333         (__ieee754_asinf): Force underflow exception for results with
8334         small absolute value.
8335         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8336         (__ieee754_asin): Force underflow exception for results with small
8337         absolute value.
8338         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8339         (__ieee754_asinf): Force underflow exception for results with
8340         small absolute value.
8341         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8342         (__ieee754_asinl): Force underflow exception for results with
8343         small absolute value.
8344         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8345         (__ieee754_asinl): Force underflow exception for results with
8346         small absolute value.
8347         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8348         (__ieee754_asinl): Force underflow exception for results with
8349         small absolute value.
8350         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8351         Include <math.h>.
8352         * math/auto-libm-test-in: Do not mark underflow exceptions as
8353         possibly missing for bug 16351.
8354         * math/auto-libm-test-out: Regenerated.
8356         [BZ #18030]
8357         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8358         of power of 2 down when low part has opposite sign.
8359         * math/libm-test.inc (logb_test_data): Add more tests.
8361 2015-02-26  Andreas Schwab  <schwab@suse.de>
8363         [BZ #18032]
8364         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8365         over collating symbol inside a bracket expression.  Minor cleanup.
8366         * posix/tst-fnmatch3.c (do_test): Add test case.
8368 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8370         [BZ #18029]
8371         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8372         Adjust exponent of power of 2 down when low part has opposite
8373         sign.
8374         * math/libm-test.inc (ilogb_test_data): Add more tests.
8376 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
8378         [BZ #15969]
8379         * locale/findlocale.c (_nl_find_locale): Fix constness error in
8380         the previous change.
8382         [BZ #15969]
8383         * locale/findlocale.c (_nl_find_locale): Retry archive search
8384         after alias expansion.
8386 2015-02-25  Roland McGrath  <roland@hack.frob.com>
8388         * iconv/tst-iconv3.c (main): Converted to ...
8389         (do_test): ... this.
8390         (TEST_FUNCTION): New macro.
8391         Include test-skeleton.c.
8393         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8394         (convert): Make function static.
8395         (test_unalign): Likewise.  Add const to argument pointee types.
8396         (main): Replace with static function do_test.
8397         Print "Succeeded." only if RET is zero.
8398         (TEST_FUNCTION): New macro.
8399         Include test-skeleton.c.
8401         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8402         returns a null pointer.
8404 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8406         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8407         to __memcpy_ppc only for static builds.
8409 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
8411         [BZ #18020]
8412         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8413         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8414         * math/auto-libm-test-in: Add more tests of asinh.
8415         * math/auto-libm-test-out: Regenerated.
8416         * sysdeps/i386/fpu/libm-test-ulps: Update.
8417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8419 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
8421         [BZ #15850]
8422         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8423         and ip6_mtuinfo definitions here.
8424         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8425         in this define too.  Update comment.
8427 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
8429         * elf/sprof.c (load_shobj): Tweak error message to match others.
8431 2015-02-24  Kevin Easton  <kevin@guarana.org>
8433         [BZ #16145] (partial fix)
8434         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8435         to reduce lock contention.
8437 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
8439         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8440         (struct timex): Update time comment.
8441         (ADJ_SETOFFSET): Define.
8443 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8445         [BZ #18019]
8446         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8447         2**56 not 2**28 as threshold for log (2x) formula.
8448         * math/auto-libm-test-in: Add more tests of acosh.
8449         * math/auto-libm-test-out: Regenerated.
8450         * sysdeps/i386/fpu/libm-test-ulps: Update.
8451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8453 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8455         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8456         parenthesis around the buf assignment.
8457         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8459 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8461         [BZ #16783]
8462         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8463         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8464         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8465         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8466         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8467         * math/libm-test.inc (scalb_test_data): Add more tests.
8469 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8471         [BZ #17916]
8472         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8473         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8475 2015-02-24  Eric Rannaud  <e@nanocritical.com>
8477         [BZ #17523]
8478         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8479         * io/bits/fcntl2.h (open): Use it.
8480         (openat): Likewise.
8481         * io/open.c (__libc_open): Likewise.
8482         * io/open64.c (__libc_open64): Likewise.
8483         * io/open64_2.c (__open64_2): Likewise.
8484         * io/open_2.c (__open_2): Likewise.
8485         * io/openat.c (__openat): Likewise.
8486         * io/openat64.c (__openat64): Likewise.
8487         * io/openat64_2.c (__openat64_2): Likewise.
8488         * io/openat_2.c (__openat_2): Likewise.
8489         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8490         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8491         * sysdeps/posix/open64.c (__libc_open64): Likewise.
8492         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8493         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8494         (__open_nocancel): Likewise.
8495         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8496         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8497         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8499 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8501         [BZ #14841]
8502         * resolv/gethnamaddr.c (getanswer): Skip logging if
8503         RES_USE_DNSSEC is set.
8504         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8506 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8508         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8510 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
8512         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8513         201304L, for Unicode 7.
8515 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
8517         [BZ #17836]
8518         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8519         shared library.  Add gmon-start.os otherwise.
8520         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8521         $(objpfx)gmon-start.os if builing shared library.
8522         ($(objpfx)g$(static-start-installed-name)): Likewise.
8524 2015-02-23  Andreas Schwab  <schwab@suse.de>
8526         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8528 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8530         [BZ #17269]
8531         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8532         (enlarge_userbuf): Likewise.
8534 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
8536         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8537         * math/atest-exp.c (TIMEOUT): Adjust to 200.
8538         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8539         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8541 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
8543         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8544         expression inside statement expression.
8546 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8548         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8549         <sysdeps/nptl/lowlevellock.h> and remove macros and
8550         functions that are now defined there.
8551         (SYS_futex): Remove.
8552         (lll_compare_and_swap): Remove.
8553         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8555 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
8557         [BZ #17999]
8558         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8559         instead of scandirat.
8560         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8561         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8562         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8563         __scandirat.
8564         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8565         (__scandirat): Declare.  Use libc_hidden_proto.
8566         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8567         Remove variable.
8568         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8570 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
8572         [BZ #15319]
8573         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8574         (MO): New macro.
8575         (__ieee754_atan2): For results with small absolute value, force
8576         underflow exception and remove excess range and precision from
8577         return value.
8578         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8579         (MO): New macro.
8580         (__ieee754_atan2f): For results with small absolute value, force
8581         underflow exception and remove excess range and precision from
8582         return value.
8583         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8584         (MO): New macro.
8585         (__atan): For results with small absolute value, force underflow
8586         exception and remove excess range and precision from return value.
8587         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8588         (MO): New macro.
8589         (__atanf): For results with small absolute value, force underflow
8590         exception and remove excess range and precision from return value.
8591         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8592         <math.h>.
8593         (__ieee754_atan2): Force underflow exception for results with
8594         small absolute value.
8595         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8596         <math_private.h>.
8597         (atan): Force underflow exception for results with small absolute
8598         value.
8599         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8600         (__atanf): Force underflow exception for results with small
8601         absolute value.
8602         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8603         <math.h>.
8604         (__atanl): Force underflow exception for results with small
8605         absolute value.
8606         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8607         (__atanl): Force underflow exception for results with small
8608         absolute value.
8609         * sysdeps/x86/fpu/bits/mathinline.h
8610         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8611         (__ieee754_atan2): Only define inline for long double.
8612         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8613         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8614         * math/auto-libm-test-in: Do not mark underflow exceptions as
8615         possibly missing for bug 15319.  Add more tests of atan2.
8616         * math/auto-libm-test-out: Regenerated.
8617         * math/libm-test.inc (casin_test_data): Do not mark underflow
8618         exceptions as possibly missing for bug 15319.
8619         (casinh_test_data): Likewise.
8620         * sysdeps/i386/fpu/libm-test-ulps: Update.
8622 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
8624         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8625         * sysdeps/mips/bits/endian.h: Fix comments.
8627 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
8629         [BZ #17996]
8630         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8631         (hdestroy_r): Likewise.
8632         (hsearch_r): Likewise.
8633         (__hcreate_r): Declare and use libc_hidden_proto.
8634         (__hdestroy_r): Likewise.
8635         (__hsearch_r): Likewise.
8636         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8637         (hcreate): Call __hcreate_r instead of hcreate_r.
8638         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8639         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8640         as weak alias of __hcreate_r.
8641         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8642         __hdestroy_r.
8643         (hsearch_r): Rename to __hsearch_r and define as weak alias of
8644         __hsearch_r.
8645         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8646         Remove variable.
8647         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8648         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8649         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8650         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8652 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8654         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8655         arena_lock into a single arena_get.
8657 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
8659         * dl-reloc.c: Inlucde libc-internal.h.
8660         (_dl_try_allocate_static_tls): Call ALIGN_UP.
8661         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8662         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8663         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8664         (grow_heap): Likewise.
8665         * malloc/malloc.c: Include libc-internal.h.
8666         (do_check_malloc): Call powerof2.
8667         (sysmalloc): Use pagesize. Call ALIGN_UP.
8668         (systrim): Use pagesize.
8669         (mremap_chunk): Use pagesize. Call ALIGN_UP.
8670         (__libc_valloc): Use pagesize.
8671         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8673 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
8675         [BZ #17991]
8676         * include/sys/resource.h (__getrlimit64): Declare.  Use
8677         libc_hidden_proto.
8678         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8679         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
8680         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8681         getrlimit64.
8682         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8683         __getrlimit64.
8684         [!getrlimit64] (getrlimit64): Define as weak alias of
8685         __getrlimit64.  Use libc_hidden_weak.
8686         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8687         using __getrlimit64 not __new_getrlimit64.
8688         (__GI_getrlimit64): Likewise.
8689         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8690         Likewise.
8691         (__GI_getrlimit64): Likewise.
8692         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8694         (getrlimit): Add __getrlimit64 alias.
8695         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8696         Likewise.
8697         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8698         Remove variable.
8699         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8700         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8702 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8704         * libio/fileops.c: Add missing sys/mman.h
8705         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8707 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
8709         * manual/math.texi (Errors in Math Functions): Clarify goals
8710         regarding inexact and underflow exceptions.
8712 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
8714         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8715         * sysdeps/mips/memset.S: Ditto.
8717 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
8719         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8721 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8723         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8724         (__v1longjmp): Remove versioned symbol.
8725         (__v1siglongjmp): Remove alias and versioned symbol.
8726         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8727         (__v2siglongjmp): Likewise.
8729 2015-02-16  Torvald Riegel  <triegel@redhat.com>
8731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8733 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
8735         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8737 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
8739         [BZ #17987]
8740         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8741         zero result does not depend on the sign resulting from
8742         subtraction.
8743         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8744         Likewise.
8745         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8746         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8747         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8748         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8749         * math/libm-test.inc (remquo_test_data): Add more tests.
8751 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
8753         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8754         Problem reported by J William Piggott.
8756 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
8758         [BZ #17978]
8759         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8760         products 4 * y and 2 * y where those would overflow.
8761         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8762         Likewise.
8763         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8764         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8765         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8766         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8767         * math/libm-test.inc (remquo_test_data): Add more tests.
8769         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8771         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8772         [defined _COMPILING_NEWLIB].
8773         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8774         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8776         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8777         [!defined __mips_isa_rev || __mips_isa_rev < 6].
8779 2015-02-16  Torvald Riegel  <triegel@redhat.com>
8781         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8782         acquired.
8784 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
8786         [BZ #17792]
8787         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8788         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8789         HOST_STACK_END_ADDR): Likewise.
8791 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
8793         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8794         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8795         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8797 2015-02-13  Roland McGrath  <roland@hack.frob.com>
8799         * sysdeps/generic/c++-types.data: New file.
8800         * sysdeps/generic/ld.abilist: New file.
8801         * sysdeps/generic/libBrokenLocale.abilist: New file.
8802         * sysdeps/generic/libanl.abilist: New file.
8803         * sysdeps/generic/libc.abilist: New file.
8804         * sysdeps/generic/libcrypt.abilist: New file.
8805         * sysdeps/generic/libdl.abilist: New file.
8806         * sysdeps/generic/libm.abilist: New file.
8807         * sysdeps/generic/libpthread.abilist: New file.
8808         * sysdeps/generic/libresolv.abilist: New file.
8809         * sysdeps/generic/librt.abilist: New file.
8811 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
8813         [BZ #17569]
8814         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8815         Compute absolute value of x as modified by fmod, not original
8816         value of x.
8817         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8818         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
8819         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
8820         RUN_TEST_ffI_f1_mod8.
8821         (remquo_test_data): Add more tests.
8823 2015-02-13  Roland McGrath  <roland@hack.frob.com>
8825         * sysdeps/init_array/pt-crti.S: New file.
8827 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
8829         [BZ #17967]
8830         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8831         __builtin_fmaf instead of relying on contraction of a * b + c.
8833 2015-02-12  J William Piggott  <elseifthen@gmx.com>
8835         [BZ #17969]
8836         * manual/time.texi: correct the zoneinfo path in the TZ Variable
8837         node.
8839 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
8841         [BZ #17964]
8842         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8843         __builtin_fma instead of relying on contraction of a * b + c.
8845 2015-02-12  Roland McGrath  <roland@hack.frob.com>
8847         * Makeconfig (ASFLAGS): Add -Werror=undef.
8848         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8849         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8850         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8852         * Makeconfig (after-link): New variable.
8853         (+link-pie, +link-pie-tests): Use it.
8854         (+link-static, +link-static-tests): Likewise.
8855         (+link, +link-tests): Likewise.
8856         * Makerules (build-module, build-module-asneeded): Likewise.
8857         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8858         Likewise.
8859         * elf/Makefile ($(objpfx)ld.so): Likewise.
8861 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
8863         [BZ #17965]
8864         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8865         both struct timeval and struct timespec.
8867 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
8869         [BZ #16560]
8870         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8871         and redefine.
8872         (__ieee754_exp2l): Do not multiply small fractional parts by
8873         M_LN2l.
8874         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8875         small argument.
8876         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8877         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8878         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8879         * math/auto-libm-test-in: Add more tests of exp2.
8880         * math/auto-libm-test-out: Regenerated.
8882 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8884         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8885         unaligned path.
8887 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8889         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8890         little endian.
8892 2015-02-12  Andreas Schwab  <schwab@suse.de>
8894         [BZ #15790]
8895         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8896         Filter out elision flags from value returned in kind.
8897         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8898         * nptl/tst-pthread-mutexattr.c: New file.
8900 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8902         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8903         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8904         into gnu-gnu, and update comment to refer to abi-tags.
8906 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
8908         [BZ #15467]
8909         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8910         (__sincos): Set errno to EDOM for infinite argument.
8911         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8912         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8913         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8914         (__sincosl): Set errno to EDOM for infinite argument.
8915         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8916         (__sincosl): Set errno to EDOM for infinite argument.
8917         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8918         (__sincosl): Set errno to EDOM for infinite argument.
8919         * math/libm-test.inc (sincos_test_data): Test errno setting.
8921 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
8923         * string/strxfrm_l.c: Remove #define STRCMP.
8924         * string/strcoll_l.c: Remove #define STRLEN.
8925         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8926         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8928 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
8930         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8931         * sysdeps/mips/mips32/sfp-machine.h: ... here.
8932         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8933         * sysdeps/mips/mips64/Makefile: ... here.
8934         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8935         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8936         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8937         * sysdeps/mips/mips64/sfp-machine.h: ... here.
8938         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8939         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8940         * sysdeps/mips/mips64/n64/Implies: Likewise.
8942 2015-02-10  Roland McGrath  <roland@hack.frob.com>
8944         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8945         <sys/time.h>, <string.h>, and <errno.h>.
8946         (dest_offset, dest_address, value, zero): Remove unused variables.
8947         (ldouble): Remove typedef.
8948         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8949         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
8950         1).  Fix code style.
8951         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8952         (check): Function removed.
8953         (CHECK): New macro.
8954         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
8955         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8956         Don't call set_sigaction_FP and remove_sigaction_FP here.
8957         (ldouble_test): Just use 'long double' as macro argument, no need for
8958         the 'ldouble' typedef.
8959         (do_test): Set up SIGFPE handler at start, using plain signal rather
8960         than sigaction.  Fix code style.
8962 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
8964         [BZ #17949]
8965         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8966         jump label.
8968 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8970         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8971         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8973         * sysdeps/powerpc/configure.ac: Remove file.
8974         * sysdeps/powerpc/configure: Likewise.
8976         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8977         [sysdep_routines]: Remove wordcopy-power6 object.
8978         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8979         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8980         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8981         (__memmove_ppc32): Likewise.
8982         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8983         file.
8984         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8985         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8986         Remove preprocessor.
8988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8989         [sysdep_routines]: Remove wide chars objects.
8990         [wcsmbs]: New rule for wide char objects.
8992         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8993         Remove wordcopy-power6 obejct.
8994         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8995         Use local call for wordcopy and memcpy symbols.
8996         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8997         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8998         implementation for loader.
8999         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
9001         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9002         Remove wordcopy-power7 object.
9003         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
9004         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
9005         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
9006         (_wordcopy_fwd_dest_aligned): Likewise.
9007         (_wordcopy_bwd_aligned): Likewise.
9008         (_wordcopy_bwd_dest_aligned): Likewise.
9010         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
9011         Rewrite to call __memmove_ppc instead of include default
9012         implementation.
9014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9015         Remove wide chars objects.
9016         [wcsmbs]: New rule for wide char objects.
9018 2015-02-09  Andreas Schwab  <schwab@suse.de>
9020         [BZ #17912]
9021         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9022         in terms of __O_DIRECTORY.
9024 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9026         * time/getdate.c: Include <stdbool.h>.
9027         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
9028         call PTR_MANGLE.
9029         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
9030         PTR_DEMANGLE.
9032 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
9034         Add ersatz _Static_assert on older C hosts
9035         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
9036         pre-C11 C platform that is not known to support _Static_assert.
9038 2015-02-07  Richard Braun  <rbraun@sceen.net>
9040         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
9041         sigstate.
9042         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
9044 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9046         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
9047         priority against unexistent AIO_PRIO_DELTA_MAX.
9048         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
9049         instead of int.
9050         * misc/fchflags.c (fchflags): Likewise.
9051         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
9052         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
9053         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
9054         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
9055         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
9056         Declare macros.
9057         [__USE_MISC] (chflags, fchflags): Declare functions.
9058         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
9059         EINVAL when nfds is greater than FD_SETSIZE.
9060         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
9061         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
9062         45.
9063         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
9064         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
9065         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
9066         MACH_RCV_TIMED_OUT.
9067         * hurd/hurd/signal.h (_hurd_self_sigstate,
9068         _hurd_critical_section_lock, _hurd_critical_section_unlock):
9069         Explicit casts from void *.
9070         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
9071         * abi-tags: Rename gnu-gnu os into gnu.
9073         [BZ #4719]
9074         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
9075         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
9076         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
9077         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
9078         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
9079         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
9081         [BZ #17944]
9082         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
9083         duplicates ADDR->sun_path with sockaddr LEN limitation.
9084         * sysdeps/mach/hurd/connect.c: Include <string.h>
9085         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
9086         * sysdeps/mach/hurd/sendmsg.c: Likewise.
9087         * sysdeps/mach/hurd/sendto.c: Likewise.
9088         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
9089         implementing it by hand.
9091 2015-02-06  Roland McGrath  <roland@hack.frob.com>
9093         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9094         Use sfi_breg on ldr.
9095         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
9096         Likewise.
9098         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9099         it's defined.
9100         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
9101         Test SIGSETXID only if it's defined.
9103         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
9105         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
9106         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
9108         * nptl/tst-align2.c: Moved ...
9109         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
9110         * nptl/Makefile (tests): Remove tst-align2.
9111         * sysdeps/unix/sysv/linux/Makefile
9112         [$(subdir) = nptl] (tests): Add tst-align-clone.
9113         * nptl/tst-getpid1.c: Moved ...
9114         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
9115         * nptl/tst-getpid2.c: Moved ...
9116         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
9117         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
9118         * sysdeps/unix/sysv/linux/Makefile
9119         [$(subdir) = nptl] (tests): ... here.
9120         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
9121         * sysdeps/unix/sysv/linux/Makefile
9122         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
9124         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
9125         Drop trailing \n from perror argument.  Use return rather than exit.
9127         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
9128         on [SA_SIGINFO].
9129         * nptl/tst-cancel21.c (do_test): Likewise.
9130         * debug/tst-backtrace6.c: Include <signal.h> first thing.
9131         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
9132         [!SA_SIGINFO]: Make it a stub test.
9134         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
9135         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
9137         * posix/tst-getlogin.c: Move to ...
9138         * login/tst-getlogin.c: ... here.
9139         * posix/Makefile (tests): Move tst-getlogin to ...
9140         * login/Makefile (tests): ... here.
9142         * libio/tst-atime.c (do_test): Move local variables SV and E
9143         inside [ST_NOATIME] conditional.
9145         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
9147         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
9149         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
9150         (wait_code): New function replaces macro.
9151         Call nanosleep rather than syscall.
9153         * nptl/pt-system.c: Rewritten.  Put everything under
9154         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9155         Use IFUNC to redirect when possible.
9157         * nptl/pt-longjmp.c: Rewritten.  Put everything under
9158         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9159         Use IFUNC to redirect when possible.
9161         * nptl/pt-fork.c: Rewritten.  Put everything under
9162         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
9163         Use IFUNC to redirect when possible.
9164         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
9166         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
9167         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
9168         unconditionally nowadays.  This included the only reference to
9169         __vdso_clock_gettime that appears outside libc proper.
9170         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
9171         Remove version set (containing only __vdso_clock_gettime).
9172         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
9173         Add attribute_hidden.
9174         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
9175         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
9176         libc_hidden_data_def.
9177         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
9178         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
9180         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
9181         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
9182         setrpcent, and getrpcport to ...
9183         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
9184         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
9185         getrpcbynumber_r, and getrpcent_r to ...
9186         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
9187         * inet/getrpcbyname.c: Moved ...
9188         * sunrpc/getrpcbyname.c: ... here.
9189         * inet/getrpcbyname_r.c: Moved ...
9190         * sunrpc/getrpcbyname_r.c: ... here.
9191         * inet/getrpcbynumber.c: Moved ...
9192         * sunrpc/getrpcbynumber.c: ... here.
9193         * inet/getrpcbynumber_r.c: Moved ...
9194         * sunrpc/getrpcbynumber_r.c: ... here.
9195         * inet/getrpcent.c: Moved ...
9196         * sunrpc/getrpcent.c: ... here.
9197         * inet/getrpcent_r.c: Moved ...
9198         * sunrpc/getrpcent_r.c: ... here.
9199         * inet/Makefile (routines): Move those to ...
9200         * sunrpc/Makefile (routines): ... here.
9201         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
9202         the $(subdirs) list.
9203         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
9204         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
9205         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
9206         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
9208         * elf/Makefile (routines): Include $(all-dl-routines), not just
9209         $(dl-routines).
9210         (rtld-routines): Likewise.  Use = rather than :=.
9211         * sysdeps/aarch64/Makefile [$(subdir) = elf]
9212         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
9213         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
9214         * sysdeps/arm/Makefile: Likewise.
9215         * sysdeps/i386/Makefile: Likewise.
9216         * sysdeps/x86_64/Makefile: Likewise.
9217         * sysdeps/hppa/Makefile [$(subdir) = elf]
9218         (sysdep_routines, sysdep-rtld-routines): Don't add
9219         $(sysdep-dl-routines) to these.
9220         * sysdeps/ia64/Makefile: Likewise.
9221         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
9222         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
9223         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
9224         Don't add dl-static to these; sysdep-dl-routines alone is enough.
9225         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
9226         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
9228         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
9229         * sysdeps/powerpc/Makefile [$(subdir) = elf]
9230         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
9231         these; sysdep-dl-routines alone is enough.
9233 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
9235         [BZ #17932]
9236         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
9237         where multiplication results in zero and third argument is finite
9238         and nonzero.
9239         * math/auto-libm-test-in: Add more tests of fma.
9240         * math/auto-libm-test-out: Regenerated.
9242         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
9243         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
9244         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
9245         (_FP_CMP_EQ): Likewise.
9246         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
9248         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
9249         extra argument CHECK_NAN.  Redefine as wrapper around
9250         _FP_EXTEND_CNAN.
9252 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
9254         * version.h (RELEASE): Set to "stable".
9255         (VERSION): Set to "2.21"
9256         * include/features.h (__GLIBC_MINOR__): Set to 21.
9258         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9260 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9261             Paul Eggert  <eggert@cs.ucla.edu>
9263         [BZ #16618]
9264         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9265         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9266         size in bytes. Store needed elements in wpmax. Use needed size
9267         in bytes for extend_alloca.
9269 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
9271         * manual/install.texi: Latest tested versions are GCC 4.9.2,
9272         binutls 2.25, and texinfo 5.2.
9273         * INSTALL: Regenerate.
9274         * sysdeps/nios2/configure: Regenerate.
9275         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9276         * manual/contrib.texi: Update.
9277         * po/be.po: Update.
9278         * po/bg.po: Update.
9279         * po/ca.po: Update.
9280         * po/cs.po: Update.
9281         * po/da.po: Update.
9282         * po/de.po: Update.
9283         * po/el.po: Update.
9284         * po/eo.po: Update.
9285         * po/es.po: Update.
9286         * po/fi.po: Update.
9287         * po/fr.po: Update.
9288         * po/gl.po: Update.
9289         * po/hr.po: Update.
9290         * po/hu.po: Update.
9291         * po/ia.po: Update.
9292         * po/id.po: Update.
9293         * po/it.po: Update.
9294         * po/ja.po: Update.
9295         * po/ko.po: Update.
9296         * po/lt.po: Update.
9297         * po/nb.po: Update.
9298         * po/nl.po: Update.
9299         * po/pl.po: Update.
9300         * po/pt_BR.po: Update.
9301         * po/ru.po: Update.
9302         * po/rw.po: Update.
9303         * po/sk.po: Update.
9304         * po/sl.po: Update.
9305         * po/sv.po: Update.
9306         * po/tr.po: Update.
9307         * po/uk.po: Update.
9308         * po/vi.po: Update.
9309         * po/zh_CN.po: Update.
9310         * po/zh_TW.po: Update.
9312         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9313         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9314         * sysdeps/hppa/dl-irel.h: Remove #warning.
9315         * sysdeps/hppa/entry.h: Provide prototype for
9316         __canonicalize_funcptr_for_compare and cast argument.
9317         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9318         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9319         * sysdeps/hppa/sotruss-lib.c: New file.
9320         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9321         (atomic_compare_and_exchange_val_acq): Use __typeof__.
9322         (atomic_compare_and_exchange_bool_acq): Likewise.
9323         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9324         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9326         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9327         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9328         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9330 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9332         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9333         called function in non-PIC case.
9335 2015-01-31  David S. Miller  <davem@davemloft.net>
9337         * sysdeps/sparc/sparc32/bits/atomic.h
9338         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9339         unlock not after it.
9340         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9341         volatile register usage warnings from the compiler.
9343         * sysdeps/sparc/nptl/sem_init.c: Delete.
9344         * sysdeps/sparc/nptl/sem_post.c: Delete.
9345         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9346         * sysdeps/sparc/nptl/sem_wait.c: Delete.
9347         * sysdeps/sparc/sparc32/sem_init.c: New file.
9348         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9349         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9350         padding explicitly initialized.
9351         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9352         padding for in-semaphore spinlock.
9353         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9354         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9355         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9356         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9357         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9358         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9359         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9360         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9361         version.
9362         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9363         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9365 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9367         [BZ #17801]
9368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9369         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9370         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9371         New.
9372         (index_AVX_Fast_Unaligned_Load): Likewise.
9373         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9374         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9375         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9376         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9377         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9378         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9379         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9380         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9381         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9383 2015-01-29  Andreas Schwab  <schwab@suse.de>
9385         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9387 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
9389         [BZ #17892]
9390         * nscd/nscd_stat.c (send_stats): Initialize DATA.
9392 2015-01-28  Martin Sebor  <msebor@redhat.com>
9394         * math/README.libm-test: Clarify. Add "How to read the test output."
9396 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
9398         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9399         Define to 0.
9401 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
9403         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9404         (__HAVE_64B_ATOMICS): Define to 0.
9406 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9408         [BZ #17885]
9409         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9410         value to set as new flag.
9412         [BZ #16576]
9413         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9414         and use _ARCH_PPCSQ instead.
9415         (__ieee754_sqrt): Likewise.
9416         (__ieee754_sqrtf): Likewise.
9417         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9418         _ARCH_PPCSQ is defined.
9419         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9420         fsqrt instruction.
9421         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9422         _ARCH_PPCSQ is defined.
9423         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9424         fsqrts instruction.
9425         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9427 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9429         * iconv/loop.c: Suppress array out of bound warning caused by GCC
9430         bug (GCC BZ #64739).
9432 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
9434         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9435         Mark _retval as used.
9436         (lll_futex_wake_unlock): Likewise.
9437         (lll_futex_timed_wait_requeue_pi): Likewise.
9439         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9440         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9441         register variables.
9443         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9444         libm_hidden_def.
9446         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9447         (__bswap_64): Mark as __always_inline.
9449 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
9451         [BZ #15378]
9452         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9453         when none of the search directories exist.
9455 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9457         [BZ #17869]
9458         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9459         power8 in .machine directive.
9461         [BZ #17868]
9462         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9463         set dependency from opd value.
9465 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9468         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9469         architecture.
9471 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9473         [BZ #17870]
9474         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9475         with uint64_t.
9476         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9477         (uint64_t) 1.
9478         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9479         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9480         Replace 1UL with (uint64_t) 1.
9481         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9482         int with uint64_t.
9484 2015-01-23  Roland McGrath  <roland@hack.frob.com>
9486         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9487         (if_freenameindex): Likewise.
9489         * resource/getrlimit64.c: Add missing libc_hidden_def.
9491 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
9493         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9494         __label__.
9495         (_FP_FMA): Likewise.
9496         (_FP_TO_INT_ROUND): Likewise.
9497         (_FP_FROM_INT): Likewise.
9499 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9501         [BZ #16418]
9502         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9503         Make code racy and cancel safe.
9505 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
9507         * sysdeps/arm/unwind-resume.h: Fix copyright year.
9508         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9509         attribution.
9511         * pwd/tst-getpw.c: Rewrite.
9513         [BZ #17702]
9514         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9515         (modules-names): Add moddummy1 and moddummy2.
9516         ($(objpfx)tst-rec-dlopen): Define.
9517         * dlfcn/moddummy1.c: New file.
9518         * dlfcn/moddummy2.c: New file.
9519         * dlfcn/tst-rec-dlopen.c: New file.
9520         * elf/dl-cache.c (_dl_load_cache_lookup):
9521         Return char*. Copy result with alloca/strcpy/strdup.
9522         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9523         returns char*. Free cached. If not saving realname
9524         free cached.
9525         * elf/dl-open.c (dl_open_worker): Do not assert that
9526         _r_debug->r_state is RT_CONSISTENT.
9527         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9528         returns char*.
9530 2015-01-21  Torvald Riegel  <triegel@redhat.com>
9531             Carlos O'Donell  <carlos@redhat.com>
9533         [BZ #12674]
9534         * nptl/sem_waitcommon.c: New file.
9535         * nptl/sem_wait.c: Include sem_waitcommon.c.
9536         (__sem_wait_cleanup, do_futex_wait): Remove.
9537         (__new_sem_wait): Adapt.
9538         (__new_sem_trywait): New function.
9539         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9540         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9541         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9542         (sem_timedwait): Adapt.
9543         * nptl/sem_post.c (__new_sem_post): Adapt.
9544         (futex_wake): New function.
9545         (__old_sem_post): Add release MO fence.
9546         * nptl/sem_open.c (sem_open): Adapt.
9547         * nptl/sem_init.c (__new_sem_init): Adapt.
9548         (futex_private_if_supported): New function.
9549         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9550         (__old_sem_getvalue): Add using previous code.
9551         * sysdeps/nptl/internaltypes.h: Adapt.
9552         * nptl/tst-sem13.c (do_test): Adapt.
9553         * nptl/tst-sem11.c (main): Adapt.
9554         * nptl/sem_trywait.c: Remove.
9555         * nptl/DESIGN-sem.txt: Remove.
9556         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9557         (gen-as-const-headers): Remove structsem.sym.
9558         * nptl/structsem.sym: Remove.
9559         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9560         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9561         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9562         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9563         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9564         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9565         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9566         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9567         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9568         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9569         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9570         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9571         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9572         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9573         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9574         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9575         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9576         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9577         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9578         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9579         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9580         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9582 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
9584         * INSTALL: Regenerated.
9586         * po/libc.pot: Regenerated.
9588 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
9589             Sandra Loosemore  <sandra@codesourcery.com>
9590             Andrew Jenner  <andrew@codesourcery.com>
9591             Joseph Myers  <joseph@codesourcery.com>
9592             Nathan Sidwell  <nathan@codesourcery.com>
9594         * NEWS: Mention new Nios II port.
9595         * sysdeps/nios2/Implies: New file.
9596         * sysdeps/nios2/Makefile: New file.
9597         * sysdeps/nios2/Subdirs: New file.
9598         * sysdeps/nios2/Versions: New file.
9599         * sysdeps/nios2/__longjmp.S: New file.
9600         * sysdeps/nios2/abort-instr.h: New file.
9601         * sysdeps/nios2/backtrace.c: New file.
9602         * sysdeps/nios2/bits/endian.h: New file.
9603         * sysdeps/nios2/bits/fenv.h: New file.
9604         * sysdeps/nios2/bits/link.h: New file.
9605         * sysdeps/nios2/bits/setjmp.h: New file.
9606         * sysdeps/nios2/bsd-_setjmp.S: New file.
9607         * sysdeps/nios2/bsd-setjmp.S: New file.
9608         * sysdeps/nios2/configure: New generated file.
9609         * sysdeps/nios2/configure.ac: New file.
9610         * sysdeps/nios2/crti.S: New file.
9611         * sysdeps/nios2/crtn.S: New file.
9612         * sysdeps/nios2/dl-init.c: New file.
9613         * sysdeps/nios2/dl-machine.h: New file.
9614         * sysdeps/nios2/dl-sysdep.h: New file.
9615         * sysdeps/nios2/dl-tls.h: New file.
9616         * sysdeps/nios2/dl-trampoline.S: New file.
9617         * sysdeps/nios2/gccframe.h: New file.
9618         * sysdeps/nios2/gmp-mparam.h: New file.
9619         * sysdeps/nios2/jmpbuf-offsets.h: New file.
9620         * sysdeps/nios2/jmpbuf-unwind.h: New file.
9621         * sysdeps/nios2/ldsodefs.h: New file.
9622         * sysdeps/nios2/libc-tls.c: New file.
9623         * sysdeps/nios2/libm-test-ulps: New file.
9624         * sysdeps/nios2/machine-gmon.h: New file.
9625         * sysdeps/nios2/math-tests.h: New file.
9626         * sysdeps/nios2/math_private.h: New file.
9627         * sysdeps/nios2/memusage.h: New file.
9628         * sysdeps/nios2/nptl/Makefile: New file.
9629         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9630         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9631         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9632         * sysdeps/nios2/nptl/pthreaddef.h: New file.
9633         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9634         * sysdeps/nios2/nptl/tls.h: New file.
9635         * sysdeps/nios2/preconfigure: New file.
9636         * sysdeps/nios2/s_fma.c: New file.
9637         * sysdeps/nios2/s_fmaf.c: New file.
9638         * sysdeps/nios2/setjmp.S: New file.
9639         * sysdeps/nios2/sfp-machine.h: New file.
9640         * sysdeps/nios2/sotruss-lib.c: New file.
9641         * sysdeps/nios2/stackguard-macros.h: New file.
9642         * sysdeps/nios2/stackinfo.h: New file.
9643         * sysdeps/nios2/start.S: New file.
9644         * sysdeps/nios2/sysdep.h: New file.
9645         * sysdeps/nios2/tls-macros.h: New file.
9646         * sysdeps/nios2/tst-audit.h: New file.
9647         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9648         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9649         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9650         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9651         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9652         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9653         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9654         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9655         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9656         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9657         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9658         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9659         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9660         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9661         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9662         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9663         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9664         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9665         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9666         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9667         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9668         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9669         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9670         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9671         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9672         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9673         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9674         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9675         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9676         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9677         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9678         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9679         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9680         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9681         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9682         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9683         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9684         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9685         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9686         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9687         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9688         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9689         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9690         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9692 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9694         [BZ #17844]
9695         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9696         (getutent): Use weak_alias in non SHARED case
9697         and default_symbol_version in SHARED case.
9698         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9699         (getutent_r, pututline): Likewise.
9700         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9701         (getutid): Likewise.
9702         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9703         (getutid_r): Likewise.
9704         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9705         (getutline): Likewise.
9706         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9707         (getutline_r): Likewise.
9708         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9709         (updwtmp): Likewise.
9711 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9713         [BZ #17848]
9714         * sysdeps/s390/s390-32/memcmp.S
9715         (memcmp_g5): Rename to __memcmp_g5.
9716         * sysdeps/s390/s390-32/memcpy.S
9717         (memcpy_g5): Rename to __memcpy_g5.
9718         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9719         (memcpy_mvcle) Rename to __memcpy_mvcle.
9720         * sysdeps/s390/s390-32/memset.S
9721         (memset_g5): Rename to __memset_g5.
9722         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9723         (IFUNC_RESOLVE): Prefix ifunc-resolve function
9724         and use prefixed functions.
9725         * sysdeps/s390/s390-32/multiarch/memcmp.S
9726         (memcmp_z196): Rename to __memcmp_z196.
9727         (memcmp_z10): Rename to __memcmp_z10.
9728         (memcmp): Set alias to __memcmp_g5.
9729         (bcmp): Set alias to __memcmp_g5.
9730         * sysdeps/s390/s390-32/multiarch/memcpy.S
9731         (memcpy_z196): Rename to __memcpy_z196.
9732         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9733         (memcpy_z10): Rename to __memcpy_z10.
9734         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9735         (memcpy): Set alias to __memcpy_g5.
9736         * sysdeps/s390/s390-32/multiarch/memset.S
9737         (memset_z196): Rename to __memset_z196.
9738         Jump to __memset_mvcle instead of memset_mvcle.
9739         (memset_z10): Rename to __memset_z10.
9740         Jump to __memset_mvcle instead of memset_mvcle.
9741         (memset_mvcle) Rename to __memset_mvcle.
9742         (memset): Set alias to __memset_g5.
9743         * sysdeps/s390/s390-64/memcmp.S
9744         (memcmp_z900): Rename to __memcmp_z900.
9745         * sysdeps/s390/s390-64/memcpy.S
9746         (memcpy_z900): Rename to __memcpy_z900.
9747         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9748         (memcpy_mvcle) Rename to __memcpy_mvcle.
9749         * sysdeps/s390/s390-64/memset.S
9750         (memset_z900): Rename to __memset_z900.
9751         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9752         (IFUNC_RESOLVE): Prefix ifunc-resolve function
9753         and use prefixed functions.
9754         * sysdeps/s390/s390-64/multiarch/memcmp.S
9755         (memcmp_z196): Rename to __memcmp_z196.
9756         (memcmp_z10): Rename to __memcmp_z10.
9757         (memcmp): Set alias to __memcmp_z900.
9758         (bcmp): Set alias to __memcmp_z900.
9759         * sysdeps/s390/s390-64/multiarch/memcpy.S
9760         (memcpy_z196): Rename to __memcpy_z196.
9761         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9762         (memcpy_z10): Rename to __memcpy_z10.
9763         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9764         (memcpy): Set alias to __memcpy_z900.
9765         * sysdeps/s390/s390-64/multiarch/memset.S
9766         (memset_z196): Rename to __memset_z196.
9767         Jump to __memset_mvcle instead of memset_mvcle.
9768         (memset_z10): Rename to __memset_z10.
9769         Jump to __memset_mvcle instead of memset_mvcle.
9770         (memset_mvcle) Rename to __memset_mvcle.
9771         (memset): Set alias to __memset_z900.
9773 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
9775         [BZ #17748]
9776         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9777         __fesetenv instead of fesetenv.
9779 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9781         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9782         macro.
9784 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9786         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9787         regression on LE.
9789         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9790         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9792         strncmp-power8 object.
9793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9794         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9795         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9796         * NEWS: Update.
9798 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9799             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9801         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9802         trailing byte check.
9804 2015-01-13  David S. Miller  <davem@davemloft.net>
9806         * include/signal.h (__sigreturn): Guard with __USE_MISC.
9808 2015-01-13  Roland McGrath  <roland@hack.frob.com>
9810         * login/logout.c (logout): Use memset rather than bzero.
9811         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9812         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9813         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9814         (_gethtbyaddr): Likewise.
9815         * locale/programs/simple-hash.c (bcopy): Macro removed.
9817 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9819         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9820         Add strcmp-power8 object.
9821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9822         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9823         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9824         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9825         __strcmp_power8 implementation.
9826         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9827         * NEWS: Update.
9829         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9830         Add strncpy-power8 and stpncpy-power8 objects.
9831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9832         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9833         implementations.
9834         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9835         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9836         __stpncpy_power8 implementation.
9837         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9838         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9839         __strncpy_power8 implementation.
9840         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9841         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9842         * NEWS: Update.
9844         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9845         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9846         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9848         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9849         strncat-power8 object.
9850         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9851         __strcat_power8 implementation.
9852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9853         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9854         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9855         optimized strcat for power8.
9857         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9858         strcpy-power8 and stpcpy-power8 objects.
9859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9860         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9861         implementations.
9862         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9863         multiarch stpcpy implementation for POWER8.
9864         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9865         multiarch strcpy implementation for POWER8.
9866         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9867         __strcpy_power8 function.
9868         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9869         stpcpy for POWER8.
9870         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9871         strcpy for POWER8.
9872         * NEWS: Update.
9874 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
9876         [BZ #16009]
9877         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9878         weights and rules. Use do_xfrm_cached if data fits in cache,
9879         do_xfrm otherwise.  Moved former main loop to...
9880         * (do_xfrm_cached): New function.
9881         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9882         find_idx, find_position and stack_push.
9883         * (find_idx): New function.
9884         * (find_position): Likewise.
9885         * localedata/sort-test.sh: Added test run for do_xfrm.
9886         * localedata/xfrm-test.c (main): Added command line option
9887         -nocache to run the test with strings that are too large for
9888         the STRXFRM cache.
9890 2015-01-13  Torvald Riegel  <triegel@redhat.com>
9892         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9893         variable to lll_futex_wake call, not the value itself.
9895 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
9897         [BZ #17803]
9898         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9899         twom64.  Adjust value to 0x1p-64L.
9900         (__scalblnl): Only return standard underflowing result for K <=
9901         -64 not K <= -63; adjust exponent for underflowing result by 64
9902         not 63.
9903         * math/libm-test.inc (scalbn_test_data): Add more tests.
9904         (scalbln_test_data): Likewise.
9906         [BZ #17834]
9907         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9908         0x1p63L.
9909         (__scalblnl): Get new exponent of adjusted subnormal value from ES
9910         not HX.
9911         * math/libm-test.inc (scalbn_test_data): Add more tests.
9912         (scalbln_test_data): Likewise.
9914 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9915             Stefani Seibold  <stefani@seibold.net>
9917         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9918         (sysdep_routines): Add dl-vdso here, ...
9919         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9920         (sysdep_routines): ... not here.
9921         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9922         fallback when vDSO is not presented.
9923         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9924         Define with libc_hidden_proto/libc_hidden_data_def definitions.
9925         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9926         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9927         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9928         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9929         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9930         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9931         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9932         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9933         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
9934         fallback configurable symbol when vDSO is not available.
9935         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9936         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
9937         be able to redefine fallback symbol when vDSO is not available.
9938         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9939         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9941 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9943         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9944         (TLS_INIT_TP): Add tm_capable initialization.
9945         (TLS_DEFINE_INIT_TP): Likewise.
9946         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9947         TCB.
9948         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9949         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9950         calculation.
9951         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9952         transactoion is lock elision is built and TCB tm_capable is set.
9953         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9955         (INTERNAL_SYSCALL_NCS): Likewise.
9956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9957         (INTERNAL_SYSCALL_NCS): Likewise.
9958         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9960         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9961         for powerpc.
9962         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9963         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9964         and remove it for 32 bits case.
9965         [pthread_rwlock_t] (__rwelision): New field for lock elision.
9966         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9967         initialization.
9968         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9969         Disable lock elision with rdlocks if elision is not available.
9971         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9972         (sysdep_routines): Add lock elision objects.
9973         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9974         [pthread_mutex_t] (__spins): Rework to add lock elision field.
9975         [pthread_mutex_t] (__elision): Add field.
9976         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9977         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9978         elision definitions for powerpc.
9979         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9980         implementation of lock elision for powerpc.
9981         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9982         implementation of timed lock elision for powerpc.
9983         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9984         implementation of trylock with lock elision for powerpc.
9985         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9986         implementaion of unlock for lock elision for powerpc.
9987         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9988         automatic enable lock elision for mutexes.
9989         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9990         transaction execution definitions for powerpc.
9991         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9992         definitions.
9993         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9994         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9995         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9996         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9997         * NEWS: Update.
9999 2015-01-09  Roland McGrath  <roland@hack.frob.com>
10001         * sysdeps/posix/shm-directory.c: Use <> rather than ""
10002         for #include of <shm-directory.h>.
10004 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
10006         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
10007         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
10009 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
10011         [BZ #17791]
10012         * NEWS: Mention bug fix.
10013         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
10014         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
10015         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
10017 2015-01-09  Torvald Riegel <triegel@redhat.com>
10019         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
10021 2015-01-09  Torvald Riegel <triegel@redhat.com>
10023         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
10025 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10027         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
10028         pointer and cast to uintptr_t.
10030 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10032         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
10033         removed.
10034         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
10036 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
10038         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10039         of 0.
10041 2015-01-08  Roland McGrath  <roland@hack.frob.com>
10043         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
10044         <nptl/pthreadP.h> instead.
10045         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
10047         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
10048         already defined.
10049         [__SIGRTMIN] (init): Function removed.
10050         [__SIGRTMIN] (initialized): Variable removed.
10051         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
10052         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
10053         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
10054         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
10055         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
10056         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
10057         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
10058         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
10059         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
10060         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
10061         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
10062         * sysdeps/nptl/allocrtsig.c: New file.
10063         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
10064         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
10065         * sysdeps/generic/testrtsig.h: File removed.
10067         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
10068         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
10070         * nptl/nptl-init.c (pthread_functions): Conditionalize
10071         .ptr__nptl_setxid initialization on [SIGSETXID].
10073         * sysdeps/nptl/sys/procfs.h: New file.
10074         * nptl_db/Makefile (headers): Add it.
10075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
10077         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
10078         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
10079         * nptl/pthread_attr_setaffinity.c: Include it.
10080         * nptl/pthread_setattr_default_np.c: Likewise.
10081         * nptl/check-cpuset.h: New file.
10083 2015-01-08  Richard Henderson  <rth@redhat.com>
10085         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
10086         (CFLAGS-tst-execstack-prog.c): Likewise.
10087         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
10089 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
10090             Sandra Loosemore  <sandra@codesourcery.com>
10091             Andrew Jenner  <andrew@codesourcery.com>
10092             Joseph Myers  <joseph@codesourcery.com>
10093             Nathan Sidwell  <nathan@codesourcery.com>
10095         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
10096         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
10097         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
10098         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
10099         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
10100         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
10101         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
10102         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
10103         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
10104         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
10105         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
10106         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
10107         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
10108         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
10109         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
10110         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
10111         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
10113 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10115         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
10116         timespec struct member in syscall macro.
10117         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
10118         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
10119         first timeval struct member in syscall macro.
10120         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
10122 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
10124         [BZ #17748]
10125         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
10126         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
10127         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
10128         __feupdateenv and define as weak alias of __feupdateenv.  Use
10129         libm_hidden_weak.
10130         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
10131         libm_hidden_def.
10132         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
10133         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
10134         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10135         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
10136         libm_hidden_def.
10137         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
10138         __feupdateenv and define as weak alias of __feupdateenv.  Use
10139         libm_hidden_weak.
10140         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
10141         libm_hidden_def.
10142         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
10143         __feupdateenv and define as weak alias of __feupdateenv.  Use
10144         libm_hidden_weak.
10145         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
10146         libm_hidden_def.
10147         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10148         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10149         (__feupdateenv): Likewise.
10150         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
10151         __feupdateenv and define as weak alias of __feupdateenv.  Use
10152         libm_hidden_weak.
10153         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10154         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
10155         libm_hidden_def.
10156         * sysdeps/tile/math_private.h (__feupdateenv): New inline
10157         function.
10158         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
10159         libm_hidden_def.
10160         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
10161         __feupdateenv instead of feupdateenv.
10162         (default_libc_feupdateenv_test): Likewise.
10163         (libc_feresetround_ctx): Likewise.
10165 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10167         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
10168         prototype.
10170 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
10172         * posix/regcomp.c (parse_bracket_exp): Initialize type to
10173         COLL_SYM in a couple of places to avoid uninitialized variable
10174         wanings on tilegx gcc 4.8.2.
10176 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
10178         * sysdeps/aarch64/strcpy.S: New file.
10179         * sysdeps/aarch64/stpcpy.S: New file.
10180         * NEWS: Updated.
10182 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
10184         * sysdeps/aarch64/strrchr.S: New file.
10185         * NEWS: Updated.
10187 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
10189         [BZ #17658]
10190         * stdlib/setenv.c: Fix memory leak when setting large,
10191         duplicate string.
10193 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
10195         [BZ #17273]
10196         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
10197         and tabs from buffer before parsing fstab entry.
10198         * misc/tst-mntent.c (main): Add test for mount entry with
10199         trailing spaces and tabs.
10201 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
10203         [BZ #17748]
10204         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
10205         * math/fesetround.c (fesetround): Rename to __fesetround and
10206         define as weak alias of __fesetround.  Use libm_hidden_weak.
10207         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
10208         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
10209         * sysdeps/arm/fesetround.c (fesetround): Likewise.
10210         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
10211         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
10212         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
10213         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
10214         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
10215         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
10216         __fesetround_inline.
10217         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
10218         __fesetround_inline instead of __fesetround.
10219         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
10220         __fesetround and define as weak alias of __fesetround.  Use
10221         libm_hidden_weak.  Call __fesetround_inline instead of
10222         __fesetround.
10223         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
10224         __fesetround and define as weak alias of __fesetround.  Use
10225         libm_hidden_weak.
10226         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
10227         Likewise.
10228         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
10229         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
10230         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
10231         * sysdeps/tile/math_private.h (__fesetround): New inline function.
10232         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
10233         __fesetround and define as weak alias of __fesetround.  Use
10234         libm_hidden_weak.
10235         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
10236         __fesetround instead of fesetround.
10237         (default_libc_feholdexcept_setround): Likewise.
10238         (libc_feholdsetround_ctx): Likewise.
10239         (libc_feholdsetround_noex_ctx): Likewise.
10241         [BZ #17748]
10242         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
10243         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
10244         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10245         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
10246         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10247         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
10248         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10249         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
10250         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10251         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10252         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10253         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10254         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10255         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10256         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10257         libm_hidden_def.
10258         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10259         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10260         Likewise.
10261         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10262         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10263         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10264         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10265         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10266         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10267         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
10268         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10269         __fesetenv instead of fesetenv.
10270         (libc_feresetround_noex_ctx): Likewise.
10271         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10272         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10273         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10274         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10275         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10276         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10277         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10278         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10279         (__feupdateenv): Likewise.
10280         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10281         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10282         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10283         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10285 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10287         [BZ #17806]
10288         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10289         addresses have been freed.
10291 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10293         * resolv/res_init.c (__res_vinit): Improve comments about nserv
10294         and nservall.
10296 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
10298         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10299         Clean up check_pf allocation pattern. addresses
10301 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10303         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10304         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10305         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10306         * nptl/pthread_exit.c (__pthread_exit): Likewise.
10307         * nptl/pthread_join.c (pthread_join): Likewise.
10308         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10309         * sysdeps/posix/waitid.c (__waitid): Likewise.
10310         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10311         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10312         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10313         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10315         Likewise.
10316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10317         (__libc_pread64): Likewise.
10318         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10319         (__libc_pwrite): Likewise.
10320         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10321         (__libc_pwrite64): Likewsie.
10322         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10323         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10324         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10325         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10326         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10327         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10328         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10330         Likewise.
10331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10332         (__libc_pread64): Likewise.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10334         Likewise.
10335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10336         (__libc_pwrite64): Likewise.
10337         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10338         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10339         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10340         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10341         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10342         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10343         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10344         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10345         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10346         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10347         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10348         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10349         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10350         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10351         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10352         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10353         Likewise.
10355 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10357         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10358         (CFLAGS-test-double.c): Likewise.
10359         (CFLAGS-test-ldouble.c): Likewise.
10360         (CPPFLAGS-test-ifloat.c): Likewise.
10361         (CPPFLAGS-test-idouble.c): Likewise.
10362         (CPPFLAGS-test-ildoubl.c): Likewise.
10363         (CFLAGS-test-test-fenv.c): Remove variable.
10364         (CFLAGS-test-misc.c): Likewise.
10366 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
10368         [BZ #17797]
10369         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10370         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10371         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10372         CLOCKS_PER_SEC == 1000000.
10373         * time/clocktest.c (main): Replace %ld with %jd and cast to
10374         intmax_t.
10376 2015-01-05  Roland McGrath  <roland@hack.frob.com>
10378         * sysdeps/generic/unwind-resume.h: New file.
10379         * sysdeps/gnu/unwind-resume.c: Include it.
10380         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10381         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10382         argument list.
10383         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10384         global rather than static.
10385         (_Unwind_Resume): Update user.
10386         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10387         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
10388         rather than static.  Add __attribute__ ((cold)).
10389         (_Unwind_Resume, __gcc_personality_v0): Update callers.
10390         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10391         * sysdeps/arm/arm-unwind-resume.S: New file.
10392         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10393         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10394         * sysdeps/arm/Makefile [$(subdir) = csu]
10395         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10396         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10397         Add rt-arm-unwind-resume.
10398         [$(subdir) = nptl]
10399         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10400         Add pt-arm-unwind-resume.
10401         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10402         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10404 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10406         [BZ #17748]
10407         * include/fenv.h (__feholdexcept): Declare.  Use
10408         libm_hidden_proto.
10409         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10410         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
10411         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10412         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10413         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10414         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10415         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10416         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10417         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10418         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10419         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10420         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10421         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10422         (feholdexcept): Likewise.
10423         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10424         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10425         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10426         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10427         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10428         __feholdexcept instead of feholdexcept.
10429         (default_libc_feholdexcept_setround): Likewise.
10431 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10433         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10434         to avoid using stl/str to align destination.
10436 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10438         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10440 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10442         [BZ #17796]
10443         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10444         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10445         Define as weak alias not strong alias.
10447 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10449         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10450         bltzal with addiupc.
10451         (RTLD_START): Ditto.
10453 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
10455         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10456         for __vdso_* functions in declarations.
10457         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10458         definitions.
10459         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10460         INTERNAL_VSYSCALL): Use struct return types to check for error.
10462         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10463         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10464         function with cast from llround().
10465         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10466         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10467         Define.
10469 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10471         [BZ #17793]
10472         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10473         Define as weak alias not strong alias.
10475         [BZ #17635]
10476         * ctype/ctype-c99.c: New file.  isblank implementation moved from
10477         ...
10478         * ctype/ctype-extn.c: ... here.
10479         (__isblank_l): Move to ...
10480         * ctype/ctype-c99_l.c: ... here.  New file.
10481         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10482         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10483         Remove variable.
10484         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10485         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10486         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10487         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10488         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10490         [BZ #17777]
10491         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10492         (posix_fadvise64): Define as weak alias not strong alias.
10493         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10494         (posix_fallocate64): Likewise.
10495         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10496         Remove variable.
10497         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10498         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10499         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10500         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10501         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10503 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
10505         [BZ #16191]
10506         * NEWS: Mention bug fix.
10507         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10508         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10509         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10510         (HOST_STACK_END_ADDR): Likewise.
10512 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
10514         [BZ #17748]
10515         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
10516         * math/fegetround.c (fegetround): Rename to __fegetround and
10517         define as weak alias of __fegetround.  Use libm_hidden_weak.
10518         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10519         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10520         * sysdeps/arm/fegetround.c (fegetround): Likewise.
10521         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10522         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10523         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10524         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10525         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10526         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10527         Undefine after rather than before function definition; use
10528         parentheses around function name in definition.
10529         (__fegetround): Also undefine macro after function definition.
10530         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10531         __fegetround and define as weak alias of __fegetround.  Use
10532         libm_hidden_weak.  Do not undefine as macro.
10533         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10534         Likewise.
10535         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10536         __fegetround and define as weak alias of __fegetround.  Use
10537         libm_hidden_weak.
10538         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10539         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10540         * sysdeps/tile/math_private.h (__fegetround): New inline function.
10541         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10542         __fegetround and define as weak alias of __fegetround.  Use
10543         libm_hidden_weak.
10544         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10545         __fegetround instead of fegetround.
10547         [BZ #17782]
10548         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10549         Condition macro definition on [__USE_MISC].
10551         [BZ #17781]
10552         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10553         (struct sigaction): Change type of sa_flags field to int.
10555         [BZ #17780]
10556         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10557         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10558         __glibc_reserved0.
10560         * nptl/version.c (banner): Use single year in copyright notice.
10562         * NEWS: Update copyright dates.
10563         * catgets/gencat.c (print_version): Likewise.
10564         * csu/version.c (banner): Likewise.
10565         * debug/catchsegv.sh: Likewise.
10566         * debug/pcprofiledump.c (print_version): Likewise.
10567         * debug/xtrace.sh (do_version): Likewise.
10568         * elf/ldconfig.c (print_version): Likewise.
10569         * elf/ldd.bash.in: Likewise.
10570         * elf/pldd.c (print_version): Likewise.
10571         * elf/sotruss.sh: Likewise.
10572         * elf/sprof.c (print_version): Likewise.
10573         * iconv/iconv_prog.c (print_version): Likewise.
10574         * iconv/iconvconfig.c (print_version): Likewise.
10575         * locale/programs/locale.c (print_version): Likewise.
10576         * locale/programs/localedef.c (print_version): Likewise.
10577         * login/programs/pt_chown.c (print_version): Likewise.
10578         * malloc/memusage.sh (do_version): Likewise.
10579         * malloc/memusagestat.c (print_version): Likewise.
10580         * malloc/mtrace.pl: Likewise.
10581         * manual/libc.texinfo: Likewise.
10582         * nptl/version.c (banner): Likewise.
10583         * nscd/nscd.c (print_version): Likewise.
10584         * nss/getent.c (print_version): Likewise.
10585         * nss/makedb.c (print_version): Likewise.
10586         * posix/getconf.c (main): Likewise.
10587         * scripts/test-installation.pl: Likewise.
10588         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10590 2015-01-02  Will Newton  <will.newton@linaro.org>
10592         * sysdeps/arm/armv7/configure: Removed.
10593         * sysdeps/arm/armv7/configure.ac: Likewise.
10595 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
10597         * All files with FSF copyright notices: Update copyright dates
10598         using scripts/update-copyrights.
10599         * intl/plural.c: Regenerated.
10600         * locale/programs/charmap-kw.h: Likewise.
10601         * locale/programs/locfile-kw.h: Likewise.
10603 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10605         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10607 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
10609         [BZ #17748]
10610         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10611         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10612         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10613         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
10614         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10615         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10616         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10617         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10618         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10619         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10620         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10621         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10622         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10623         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10624         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10625         libm_hidden_def.
10626         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10627         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10628         Likewise.
10629         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10630         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10631         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10632         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10633         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10634         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10635         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
10636         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10637         __fegetenv instead of fegetenv.
10638         (libc_feholdsetround_noex_ctx): Likewise.
10640 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10642         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10643         (Elf_MIPS_ABIFlags_v0): New structure.
10644         (EF_MIPS_FP64): Define.
10645         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10646         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10647         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10648         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10649         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10650         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10651         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10652         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10653         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10654         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10655         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10656         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10657         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10658         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10659         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10660         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10661         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10662         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10663         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10664         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10665         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10666         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10667         field.
10668         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10669         EF_MIPS_FP64.
10670         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10671         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10672         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10673         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10674         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10675         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10676         * sysdeps/mips/tst-abi-interlink.c: Likewise.
10677         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10678         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10679         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10680         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10681         record the current FP ABI extension.
10682         (mips-mode-switch): Define to show if kernel headers support mode
10683         switching.
10684         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10685         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10686         supported SYSV ABI version to 3.
10687         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10688         feature.
10690 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10691             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10693         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10694         path.
10695         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10697 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
10699         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10700         __fegetround and redefine to call __fegetround.  Remove condition
10701         on [!__NO_MATH_INLINES].
10702         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10703         function.
10704         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10705         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10706         Remove macro.
10707         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10708         instead of <fenv_libc.h>.
10709         (__llrintl): Call fegetround instead of __fegetround.
10710         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10711         instead of <fenv_libc.h>.
10712         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10713         (__lrintl): Call fegetround instead of __fegetround.
10714         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10715         instead of <fenv_libc.h>.
10716         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10717         (__rintl): Call fegetround instead of __fegetround.
10719 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10721         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10722         arrays.
10724 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
10726         [BZ #17775]
10727         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10728         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10729         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10731 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10733         * sysdeps/i386/tls-macros.h: Include <features.h>.
10734         (TLS_LE): Use non-PIC version for GCC >= 5.0.
10735         (TLS_IE): Likewise.
10736         (TLS_LD): Likewise.
10737         (TLS_GD): Likewise.
10738         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10739         define for GCC >= 5.0.
10741 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
10743         * math/test-fenv.c (test_single_exception, set_single_exc,
10744         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10745         feexcp_mask_test, feenable_test, fe_single_test): Add
10746         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10747         case where they are not used.
10748         * math/libm-test.inc: Likewise.
10749         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10750         unused in the absence of FP rounding/exception support.
10751         * stdio-common/tst-printf-round.c: Likewise.
10752         * stdlib/tst-strtod-round.c: Likewise.
10753         * stdlib/tst-strtod-underflow.c: Likewise.
10755 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
10757         [BZ #17723]
10758         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10759         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10760         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10761         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10762         libm_hidden_weak.
10763         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10764         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10765         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10766         libm_hidden_def.
10767         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10768         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10769         libm_hidden_weak.
10770         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10771         Likewise.
10772         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10773         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10774         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10775         libm_hidden_weak.
10776         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10777         libm_hidden_def.
10778         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10779         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10780         (__feraiseexcept): Likewise.
10781         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10782         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10783         libm_hidden_weak.
10784         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10785         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10786         libm_hidden_def.
10787         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10788         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10789         Use libm_hidden_def.
10790         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10791         libm_hidden_def.
10792         (feraiseexcept): Define as weak not strong alias.  Use
10793         libm_hidden_weak.
10794         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10795         New inline function.  Factored out of ...
10796         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
10797         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10798         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10799         feraiseexcept.
10800         * math/w_acos.c (__acos): Likewise.
10801         * math/w_asin.c (__asin): Likewise.
10802         * math/w_ilogb.c (__ilogb): Likewise.
10803         * math/w_j0.c (y0): Likewise.
10804         * math/w_j1.c (y1): Likewise.
10805         * math/w_jn.c (yn): Likewise.
10806         * math/w_log.c (__log): Likewise.
10807         * math/w_log10.c (__log10): Likewise.
10808         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10809         * sysdeps/aarch64/fpu/math_private.h
10810         (libc_feupdateenv_test_aarch64): Likewise.
10811         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10812         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10813         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10814         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10815         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10816         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10817         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10818         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10819         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10820         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10822 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
10824         [BZ #17732]
10825         * io/test-utime.c (main): Replace %ld with %jd and cast to
10826         intmax_t.
10827         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10828         * nptl/tst-mutex5.c: Include <stdint.h>.
10829         (do_test): Replace %ld with %jd and cast to intmax_t.
10830         * posix/tst-regex.c (run_test): Likewise.
10831         (run_test_backwards): Likewise.
10832         * rt/tst-clock.c: Include <stdint.h>.
10833         (clock_test): Replace %ld with %jd and cast to intmax_t.
10834         * rt/tst-cpuclock1.c: Include <stdint.h>.
10835         (do_test): Replace %lu with %ju and cast to uintmax_t.
10836         * rt/tst-cpuclock2.c: Include <stdint.h>.
10837         (do_test): Replace %lu with %ju and cast to uintmax_t.
10838         * rt/tst-mqueue1.c: Include <stdint.h>.
10839         (check_attrs): Replace %ld with %jd and cast to intmax_t.
10840         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10841         intmax_t.
10842         * rt/tst-mqueue4.c (do_test): Likewise.
10843         * rt/tst-timer4.c: Include <stdint.h>.
10844         (check_ts): Replace %ld with %jd and cast to intmax_t.
10845         (do_test): Likewise.
10846         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10847         and cast to intmax_t.
10848         * sysdeps/pthread/tst-timer.c (main): Likewise.
10849         * time/clocktest.c (main): Likewise.
10850         * time/tst-posixtz.c (do_test): Likewise.
10851         * timezone/tst-timezone.c (main): Likewise.
10853 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10854             H.J. Lu  <hongjiu.lu@intel.com>
10856         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10857         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10858         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10859         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10860         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10861         version if bit_Fast_Unaligned_Load is set.
10862         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10863         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10864         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10865         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10866         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10867         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10868         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10869         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10870         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10871         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10872         to 4.
10873         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10874         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10875         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10876         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10878 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
10880         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10881         instead of #if to avoid a Wundef warning.
10882         * stdlib/tst-limits.c (do_test): Likewise.
10884         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10885         parallel other exception macros.
10886         (fegetenv): Convert from macro to extern inline so that it applies
10887         retroactively to inline functions already seen by the compiler.
10888         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10890         * posix/Makefile (before-compile): Use $(objpfx) for
10891         posix-conf-vars-def.h.
10893 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10895         * posix/getconf.c (main): Use size_t for type of I.
10896         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10897         NSPEC.
10899         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10900         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10901         * posix/posix-envs.def: Likewise.
10902         * sysdeps/posix/sysconf.c: Likewise.
10903         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10904         (specs): Remove array.
10905         * scripts/gen-posix-conf-vars.awk: Support generation of specs
10906         array.
10908         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10909         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10910         (__sysconf): Use CONF_IS_* macros.
10912         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10913         ($(objpfx)posix-conf-vars-def.h): New target.
10914         * posix/posix-conf-vars.list: New file.
10915         * posix/posix-conf-vars.h: New file.
10916         * posix/confstr.c: Include posix-conf-vars.h.
10917         (confstr): Use CONF_IS_* macros.
10918         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
10919         CONF_IS_* macros.
10920         * scripts/gen-posix-conf-vars.awk: New file.
10922 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
10924         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10925         fegetround): Add no-op macros to avoid linknamespace issues.
10927         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10928         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10930         * sysdeps/unix/sysv/linux/tile/sysdep.h
10931         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10932         assembly-specific section to avoid a redefinition warning.
10934         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10935         long before casting to pointer to avoid a cast warning.
10937 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
10939         * sysdeps/tile/tilegx/Implies: New file.
10941 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
10943         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10945 2014-12-23  Florian Weimer  <fweimer@redhat.com>
10947         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10949 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10951         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10952         not define.
10953         * sysdeps/unix/sysv/linux/utimes.c: Do not include
10954         <kernel-features.h>.
10955         (__utimes) [__NR_utimes]: Make code unconditional.
10956         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10957         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10958         (__ASSUME_UTIMES): Do not undefine.
10959         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10960         (__ASSUME_UTIMES): Likewise.
10961         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10962         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10963         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10964         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10966 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10968         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10970 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
10972         [BZ #17747]
10973         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10974         alias to weak alias for j0l, y0l.
10975         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10976         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10978         [BZ #17746]
10979         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10980         conversion.
10982 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10984         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10985         to zero if not already defined.
10987 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10989         [BZ #17724]
10990         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10991         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10992         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10993         (char *) casts added.
10994         * sysdeps/ieee754/k_standardf.c: New file.
10995         * sysdeps/ieee754/k_standardl.c: Likewise.
10996         * math/Makefile (libm-support): Remove k_standard.
10997         (libm-calls): Add k_standard.
10999 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11001         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
11002         Optimize to avoid an unnecessary FPCR read.
11004 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11006         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
11007         Optimize to reduce FPCR/FPSR accesses.
11009 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11011         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
11012         Call libc_fetestexcept_aarch64.
11014 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
11016         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
11017         Call libc_fesetround_aarch64.
11019 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
11021         [BZ #17733]
11022         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
11023         (__bind): Do not define as weak alias.
11024         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
11025         define.
11026         (__getsockname): Do not define as weak alias.
11028 2014-12-22  Will Newton  <will.newton@linaro.org>
11030         * manual/install.texi: Document that we require bison 2.7
11031         or above.
11032         * INSTALL: Regenerate.
11033         * configure.ac: Use AC_CHECK_PROG_VER instead of
11034         AC_PATH_PROG when checking for bison and check for
11035         version 2.7 or above.
11036         * configure: Regenerate.
11038 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
11040         [BZ #17745]
11041         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
11042         * sysdeps/tile/ffsll.c (ffsll): To here.
11044         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
11046 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
11048         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
11049         if not defined.
11050         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
11051         definition.
11052         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11053         hidden ___tls_get_addr.
11054         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
11055         hidden __tls_get_addr.
11056         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
11057         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
11058         Likewise.
11060 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
11062         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
11063         _dl_init call.
11065 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
11067         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
11068         from "call _dl_init@PLT".
11069         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
11071 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
11073         * manual/search.texi: (Array Sort Function): Clarify stable sorting
11074         guarantees.
11076 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
11078         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
11080 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
11082         [BZ #17744]
11083         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
11084         strnlen.
11086 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
11088         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
11089         of multu on MIPSr6.
11090         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
11091         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
11092         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
11093         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
11094         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
11096 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
11098         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
11099         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
11100         (PTR_SUBU): Use subu for mips32r6/mips64r6.
11101         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
11102         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
11103         mips32r6/mips64r6.
11104         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
11106 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
11108         * string/strncat.c (STRNCAT): Simplify implementation.
11110 2014-12-19  David S. Miller  <davem@davemloft.net>
11112         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
11113         access the quad as both a long double and as a series of 4 words.
11115         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
11116         link_map->l_info array access.
11118 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
11120         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
11122         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
11123         * math/atest-exp2.c (TIMEOUT): Likewise.
11124         * math/atest-sincos.c (TIMEOUT): Likewise.
11126 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11128         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
11129         -Wno-error with -fno-builtin-lround.
11131 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11133         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
11134         Contains futex constants and functions moved over from ...
11135         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
11136         <lowlevellock-futex.h>.
11137         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11138         (lll_timedwait_tid): Add comments and parentheses around macro
11139         arguments.
11141 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
11144         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
11145         (__lll_private_flag): Remove.
11146         (lll_futex_wait): Likewise.
11147         (lll_futex_timed_wait): Likewise.
11148         (lll_futex_wake): Likewise.
11149         (lll_futex_requeue): Likewise.
11150         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
11151         (__lll_timedwait_tid): Spell out argument names.
11152         (lll_timedwait_tid): Add comments and parentheses around macro
11153         arguments.
11154         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
11155         LLL_SHARED and LLL_PRIVATE usable from assembly code.
11157 2014-12-19  Torvald Riegel  <triegel@redhat.com>
11159         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
11160         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
11161         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11162         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
11163         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
11164         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
11165         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
11166         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
11167         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
11168         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
11169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
11170         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
11171         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
11172         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
11173         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
11174         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
11175         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
11176         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
11177         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
11179 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11181         * sysdeps/x86_64/x32/Makefile: New file.
11183 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
11185         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
11186         1L with (mp_limb_t) 1.
11188 2014-12-17  Roland McGrath  <roland@hack.frob.com>
11190         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
11191         * nptl/libc_pthread_init.c: ... here.
11192         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
11193         * nptl/register-atfork.c: ... here.
11195         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
11196         Use pthread_sigmask rather than INTERNAL_SYSCALL.
11197         Use assert_perror to check its return value.
11198         (__gai_create_helper_thread): Likewise.
11200         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
11202         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
11204 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
11206         [BZ #17725]
11207         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
11208         __profil_counter.
11209         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
11210         Likewise.
11211         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
11212         Likewise.
11213         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
11214         Likewise.
11215         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
11216         (profil_counter): Likewise.
11217         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
11218         (profil_counter): Likewise.
11219         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
11220         Likewise.
11221         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
11222         Likewise.
11223         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
11224         (profil_counter): Likewise.
11225         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
11226         Likewise.
11227         [!__profil_counter] (profil_counter): Define as weak alias of
11228         __profil_counter.
11229         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
11230         (profil_counter): Rename to __profil_counter.
11231         [!__profil_counter] (profil_counter): Define as weak alias of
11232         __profil_counter.
11233         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
11234         (profil_counter): Rename to __profil_counter.
11235         [!__profil_counter] (profil_counter): Define as weak alias of
11236         __profil_counter.
11237         * sysdeps/posix/profil.c: Update comment referring to
11238         profil_counter.
11239         (__profil): Use __profil_counter instead of profil_counter.
11240         * sysdeps/posix/sprofil.c (profil_counter): Rename to
11241         __profil_counter.  Use __profil_counter_ushort and
11242         __profil_counter_uint in definitions.
11243         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
11244         instead of profil_counter_uint and profil_counter_ushort.
11246         [BZ #17722]
11247         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
11248         define as weak alias of __inet_makeaddr.
11249         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
11250         as weak alias of __inet_addr.
11251         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11252         as weak alias of __inet_pton.  Use libc_hidden_weak.
11253         * include/arpa/inet.h (__inet_pton): Declare.  Use
11254         libc_hidden_proto.
11255         (inet_makeaddr): Don't use libc_hidden_proto.
11256         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
11257         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11258         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
11259         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11260         Remove variable.
11261         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11262         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11264 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
11266         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11268 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11270         * stdio-common/bug-vfprintf-nargs.c (do_test):
11271         Cast value to intptr_t to avoid format warning
11272         for usage with PRIdPTR printing macro.
11274 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11276         * libio/tst-widetext.c (do_test):
11277         Use format type %td instead of %Zd for ptrdiff_t
11278         in order to avoid format warning.
11280 2014-12-17  Andreas Schwab  <schwab@suse.de>
11282         * nscd/mem.c (gc): Add size_t cast to match printf format.
11284 2014-12-16  Roland McGrath  <roland@hack.frob.com>
11286         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11287         (init): Apply PTR_MANGLE to pointers before storing them.
11288         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11289         before using them.
11291 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
11293         [BZ #17719]
11294         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11295         define as weak alias of __memrchr.
11296         (__memrchr): Do not define as strong alias of memrchr.
11297         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11298         Remove variable.
11299         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11300         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11301         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11303         [BZ #17717]
11304         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11305         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
11306         (if_indextoname): Rename to __if_indextoname and define as weak
11307         alias of __if_indextoname.  Use libc_hidden_weak.
11308         (if_freenameindex): Rename to __if_freenameindex and define as
11309         weak alias of __if_freenameindex.
11310         (if_nameindex): Rename to __if_nameindex and define as weak alias
11311         of __if_nameindex.
11312         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11313         __if_nametoindex and define as weak alias of __if_nametoindex.
11314         Use libc_hidden_weak.
11315         (if_freenameindex): Rename to __if_freenameindex and define as
11316         weak alias of __if_freenameindex.
11317         (if_nameindex): Rename to __if_nameindex and define as weak alias
11318         of __if_nameindex.
11319         (if_indextoname): Rename to __if_indextoname and define as weak
11320         alias of __if_indextoname.  Use libc_hidden_weak.
11321         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11322         __if_nametoindex and define as weak alias of __if_nametoindex.
11323         Use libc_hidden_weak.
11324         (if_freenameindex): Rename to __if_freenameindex and define as
11325         weak alias of __if_freenameindex.  Use libc_hidden_weak.
11326         (if_nameindex_netlink): Use __if_freenameindex instead of
11327         if_freenameindex.
11328         (if_nameindex): Rename to __if_nameindex and define as weak alias
11329         of __if_nameindex.  Use libc_hidden_weak.
11330         (if_indextoname): Rename to __if_indextoname and define as weak
11331         alias of __if_indextoname.  Use libc_hidden_weak.
11332         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11333         libc_hidden_proto.
11334         [!_ISOMAC] (__if_freenameindex): Likewise.
11335         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11336         if_nametoindex.
11337         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11338         variable.
11339         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11340         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11341         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11342         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11343         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11344         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11345         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11347         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11348         Remove variable.
11349         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11350         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11352 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11354         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11355         subscript above bounds'
11357         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11358         bounds.
11360 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
11362         * libio/tst-fopenloc.c: Use test-skeleton.c.
11364         * stdlib/tst-bsearch.c: Use test-skeleton.c.
11365         (entry): Rename to ITEM.
11366         (do_test, comp): Adjust.
11368         * stdio-common/tst-fseek.c: Use test-skeleton.c.
11370 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11372         * string/tester.c: Include <libc-internal.h>.
11373         (test_memset): Ignore -Wmemset-transposed-args.
11375 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11377         * misc/tst-mntent2.c (do_test): Fix warning.
11379 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11381         * elf/tst-unique4lib.cc(a): Mark as used.
11383 2014-12-16  Florian Weimer  <fweimer@redhat.com>
11385         [BZ #17630]
11386         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11387         names.
11389 2014-12-16  Allan McRae  <allan@archlinux.org>
11391         * stdio-common/Makefile (tests): Re-add bug26.
11393 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
11395         [BZ #17657]
11396         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11397         static array.
11399 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
11401         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11402         (__lll_lock_wait): Likewise.
11403         (__lll_timedlock_wait): Likewise.
11404         (__lll_timedwait_tid): Likewise.
11405         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11406         (__lll_robust_timedlock_wait): Likewise.
11407         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11408         (lll_cond_trylock): Likewise.
11409         (__lll_lock): Likewise.
11410         (__lll_robust_lock): Likewise.
11411         (__lll_cond_lock): Likewise.
11412         (lll_robust_cond_lock): Likewise.
11413         (__lll_timedlock): Likewise.
11414         (__lll_robust_timedlock): Likewise.
11415         (__lll_unlock): Likewise.
11416         (__lll_robust_unlock): Likewise.
11417         (lll_wait_tid): Likewise.
11418         (lll_timedwait_tid): Likewise.
11420 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11422         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11424 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11426         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11428 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
11430         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11431         * stdio-common/tst-sprintf.c: Likewise.
11433 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11435         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11437 2014-12-15  Jeff Law  <law@redhat.com>
11439         [BZ #16617]
11440         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11441         on the heap.  (CVE-2012-3406)
11442         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11443         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
11444         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11446 2014-12-15  Will Newton  <will.newton@linaro.org>
11448         * manual/install.texi: Bump required version of texinfo
11449         to 4.7 from 4.5.
11450         * INSTALL: Regenerated.
11451         * configure.ac: Check for makeinfo version 4.7 and above.
11452         * configure: Regenerated.
11454 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11456         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11457         PREFIX, string constant to insert between directory and name.
11458         * sysdeps/posix/shm_open.c: Update caller.
11459         * sysdeps/posix/shm_unlink.c: Likewise.
11460         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11461         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11462         (SEM_SHM_PREFIX): New macro.
11463         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11464         [$(have-thread-library) = no].
11465         * nptl/Makefile (libpthread-routines): Add shm-directory.
11466         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11467         * sysdeps/nptl/shm-directory.h: New file.
11468         * sysdeps/posix/shm-directory.c
11469         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11470         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11471         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11472         INTERNAL_SYSCALL.
11473         (__where_is_shmfs): Function removed.
11474         (mountpoint, defaultmount, defaultdir, __namedsem_once):
11475         Variables removed.
11476         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11477         Use SHM_GET_NAME.
11478         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
11480         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11481         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11482         unconditional for use inside libpthread.
11483         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11485 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11487         * nptl/pthread_getaffinity.c: New file.
11488         * nptl/pthread_setaffinity.c: New file.
11489         * nptl/pthread_getname.c: New file.
11490         * nptl/pthread_setname.c: New file.
11492         * nptl/pthread_create.c (START_THREAD_DEFN)
11493         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11495 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11496             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11498         * resolv/res_send.c (send_vc): Disable warning resplen may
11499         be used uninitialized.
11501 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11503         * nptl/tst-mutex6.c
11504         (ATTR_NULL): New define checks ATTR against NULL.
11505         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11506         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11508 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
11510         [BZ #17581]
11511         * malloc/hooks.c
11512         (mem2mem_check): Revert my previous change.
11513         (malloc_check_get_size): Revert my previous change.
11514         (mem2chunk_check): Revert my previous change.
11516 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11518         * sysdeps/posix/shm-directory.c: New file.
11519         * sysdeps/posix/shm-directory.h: New file.
11520         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11521         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11522         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
11523         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11524         Transmute EPERM to EACCES.
11525         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11526         from ...
11527         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
11528         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11530 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11532         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11533         pointer and cast to uintptr_t.
11534         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11535         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11536         Add cast to avoid warning.
11537         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11539 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
11541         * nptl/semaphore.h: Move to ...
11542         * sysdeps/pthread/semaphore.h: ... here.
11543         * Makefile (installed-headers): Change nptl/semaphore.h to
11544         sysdeps/pthread/semaphore.h.
11546 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11548         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11549         generated error format strings.
11551         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11552         -Wformat-extra-args warnings for scanf formats.
11553         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11554         test of zero-length format (duh).
11555         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11556         corner-case scanf format test.
11557         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11558         generated fprintf format string.
11559         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11560         corner-case sprintf format tests.
11561         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11562         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11563         -Wformat-extra-args warnings throughout.
11564         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11565         (CFLAGS-scanf4.c): Likewise.
11566         (CFLAGS-scanf7.c): Likewise.
11567         (CFLAGS-tst-sprintf.c): Likewise.
11568         (CFLAGS-tst-printf.c): Likewise.
11569         (CFLAGS-tst-printfsz.c): Likewise.
11571 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
11573         * include/cpio.h: New file.
11574         * include/fmtmsg.h: Likewise.
11576         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
11577         corresponding format argument to size_t.
11578         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
11579         arguments.
11580         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
11581         corresponding format argument to size_t.
11582         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
11583         arguments.
11584         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
11585         corresponding format argument to size_t.
11586         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11587         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11588         (CFLAGS-tst-mbswcs2.c): Likewise.
11589         (CFLAGS-tst-mbswcs3.c): Likewise.
11590         (CFLAGS-tst-mbswcs4.c): Likewise.
11591         (CFLAGS-tst-mbswcs5.c): Likewise.
11592         (CFLAGS-tst-trans.c): Likewise
11594 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11596         * posix/regexbug1.c (main): Use "%s" format with regerror results,
11597         rather than assuming they won't contain any '%'s.
11599 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
11601         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11602         inhibit_loop_to_libcall to avoid recursive calls.
11603         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11604         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11606 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
11608         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11609         prototype.
11611 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
11613         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11614         integer value instead of boolean.
11616 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
11618         * malloc/malloc.c: Fix powerof2 check.
11620 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11622         * locale/programs/locfile.h (maybe_swap_uint32):
11623         Remove inline and add unused attribute.
11625 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11627         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11628         Truncating assembler expression to a .long expression.
11630 2014-12-11  Andreas Schwab  <schwab@suse.de>
11632         * elf/rtld.c (struct map_args): Constify str member.
11633         (do_preload): Constify fname argument.
11635 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11637         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11638         constants definition.
11640 2014-12-11  Andreas Schwab  <schwab@suse.de>
11642         [BZ #16657]
11643         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11644         FORCE_ELISION instead of DO_ELISION.
11645         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11646         Remove.
11647         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11648         Likewise.
11650         * iconvdata/gconv-modules: Remove duplicate entry.
11652 2014-12-11  Will Newton  <will.newton@linaro.org>
11654         Merge gettext 0.19.3 into intl/.
11656         This involves a number of cosmetic changes to comments
11657         and ANSI function definitions and prototypes throughout
11658         all the files. The gettext copyright header is used but
11659         with the date ranges taken from the glibc copy.
11661         * NEWS: Add gettext merge to 2.21.
11662         * intl/bindtextdom.c: Switch to gettext copyright.
11663         Use ANSI definitions and prototypes.
11664         Use gl_* locking primitives rather than __libc_* ones.
11665         Use __builtin_expect rather than __glibc_likely/unlikely.
11666         * intl/dcgettext.c: Switch to gettext copyright.
11667         Use ANSI definitions and prototypes.
11668         * intl/dcigettext.c: Switch to gettext copyright.
11669         Use ANSI definitions and prototypes.
11670         (INTDIV0_RAISES_SIGFPE): New define.
11671         Use gl_* locking primitives rather than __libc_* ones.
11672         Include eval-plural.h instead of plural-eval.c.
11673         Use __builtin_expect rather than __glibc_likely/unlikely.
11674         * intl/dcngettext.c: Switch to gettext copyright.
11675         Use ANSI definitions and prototypes.
11676         * intl/dgettext.c: Likewise.
11677         * intl/dngettext.c: Likewise.
11678         * intl/plural-eval.c: Renamed to...
11679         * intl/eval-plural.h: ...this.
11680         * intl/explodename.c: Switch to gettext copyright.
11681         Use ANSI definitions and prototypes.
11682         (_nl_explode_name): Use strchr instead of __rawmemchr.
11683         * intl/finddomain.c: Switch to gettext copyright.
11684         Use ANSI definitions and prototypes.
11685         Use gl_* locking primitives rather than __libc_* ones.
11686         (_nl_find_domain): Use malloc rather than alloca for
11687         allocation of temporary locale name.
11688         * intl/gettext.c: Switch to gettext copyright.
11689         Use ANSI definitions and prototypes.
11690         * intl/gettextP.h: Switch to gettext copyright.
11691         Use ANSI definitions and prototypes.
11692         Use gl_* locking primitives rather than __libc_* ones.
11693         * intl/gmo.h: Switch to gettext copyright.
11694         (struct sysdep_string): Move struct segment_pair outside of
11695         struct definition.
11696         * intl/hash-string.c: Use ANSI definitions and prototypes.
11697         * intl/hash-string.h: Switch to gettext copyright.
11698         Use ANSI definitions and prototypes.
11699         * intl/l10nflist.c: Switch to gettext copyright.
11700         Use ANSI definitions and prototypes.
11701         (_nl_normalize_codeset): Avoid integer overflow.
11702         * intl/loadinfo.h: Switch to gettext copyright.
11703         Use ANSI definitions and prototypes.
11704         (LIBINTL_DLL_EXPORTED): New define.
11705         (PATH_SEPARATOR): New define.
11706         * intl/loadmsgcat.c: Switch to gettext copyright.
11707         * intl/localealias.c: Switch to gettext copyright.
11708         Use ANSI definitions and prototypes.
11709         (_nl_expand_alias): Use PATH_SEPARATOR.
11710         * intl/ngettext.c: Switch to gettext copyright.
11711         Use ANSI definitions and prototypes.
11712         * intl/plural-exp.c: Likewise.
11713         * intl/plural-exp.h: Switch to gettext copyright.
11714         Use ANSI definitions and prototypes.
11715         (struct expression): Move definition of enum operator outside
11716         of struct definition.
11717         * intl/plural.c: Regenerate.
11718         * intl/plural.y: Switch to gettext copyright.
11719         Use ANSI definitions and prototypes.
11720         Port to bison 3.0.
11721         * intl/textdomain.c: Switch to gettext copyright.
11722         Use ANSI definitions and prototypes.
11723         Use gl_* locking primitives rather than __libc_* ones.
11725 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
11727         * debug/warning-nop.c: Add used atrribute.
11729 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11731         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11733         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11734         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11735         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11737 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11738             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11740         [BZ #17634]
11741         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11742         Undefine after defining function.  Define as weak alias of
11743         __wcschr.  Use libc_hidden_weak.
11744         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
11745         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11746         (libc_hidden_def): Also define __GI___wcschr alias.
11747         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11748         __wcschr and define as weak alias of __wcschr.
11749         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11750         __wcschr.
11751         [!WCSCHR] (DEFAULT_WCSCHR): Define.
11752         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11753         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
11754         libc_hidden_weak.  Do not use libc_hidden_def.
11755         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11756         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11757         __GI___wcschr alias.
11758         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11759         [IS_IN (libc)] (wcschr): Define as macro expanding to
11760         __redirect_wcschr.
11761         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11762         [IS_IN (libc)] (__wcschr_power6): Likewise.
11763         [IS_IN (libc)] (__wcschr_power7): Likewise.
11764         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
11765         instead of wcschr.
11766         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11767         __libc_wcschr.
11768         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11769         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11770         __wcschr and define as weak alias of __wcschr.  Use
11771         libc_hidden_builtin_def.
11772         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11773         as weak alias of __wcschr.  Use libc_hidden_weak.
11774         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11775         wcschr.
11776         * time/era.c (_nl_init_era_entries): Likewise.
11777         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11778         variable.
11779         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11780         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11782 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11784         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11785         format for long int variable.
11787 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
11789         [BZ #10672]
11790         * manual/search.texi: (Array Sort Function): Remove claim how to make
11791         qsort stable.
11793 2014-12-10  Andreas Schwab  <schwab@suse.de>
11795         [BZ #12847]
11796         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11797         user-controlled locks.
11799 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
11801         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11802         register.
11804 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11806         * configure.ac (--disable-werror): New configure option.
11807         (enable_werror): New AC_SUBST.
11808         * configure: Regenerated.
11809         * config.make.in (enable-werror): New variable.
11810         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11811         -Wno-error=undef.
11812         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11813         * manual/install.texi (Configuring and compiling): Document
11814         --disable-werror.
11815         * INSTALL: Regenerated.
11816         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11817         (CFLAGS-tst-chk2.c): Likewise.
11818         (CFLAGS-tst-chk3.c): Likewise.
11819         (CFLAGS-tst-chk4.cc): Likewise.
11820         (CFLAGS-tst-chk5.cc): Likewise.
11821         (CFLAGS-tst-chk6.cc): Likewise.
11822         (CFLAGS-tst-lfschk1.c): Likewise.
11823         (CFLAGS-tst-lfschk2.c): Likewise.
11824         (CFLAGS-tst-lfschk3.c): Likewise.
11825         (CFLAGS-tst-lfschk4.cc): Likewise.
11826         (CFLAGS-tst-lfschk5.cc): Likewise.
11827         (CFLAGS-tst-lfschk6.cc): Likewise.
11829         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11830         (main): Disable -Wdeprecated-declarations around calls to
11831         register_printf_function.
11833         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11834         (do_test): Disable -Wdiv-by-zero around some calls to
11835         fwrite_unlocked and fread_unlocked.
11837         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11838         (DIAG_POP_NEEDS_COMMENT): Likewise.
11839         (_DIAG_STR1): Likewise.
11840         (_DIAG_STR): Likewise.
11841         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11842         * stdio-common/bug21.c: Include <libc-internal.h>.
11843         (do_test): Disable -Wformat around call to sscanf.
11844         * stdio-common/scanf14.c: Include <libc-internal.h>.
11845         (main): Disable -Wformat around some calls to scanf functions.
11847 2014-12-09  Torvald Riegel  <triegel@redhat.com>
11849         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11851 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11853         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11854         stack variable alignment.
11856 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
11858         [BZ #17682]
11859         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11860         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11861         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11862         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11863         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11864         __getrlimit instead of getrlimit.
11865         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11866         __gettimeofday instead of gettimeofday.
11867         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11868         Likewise.
11869         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11870         Likewise.
11871         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11872         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11873         Remove variable.
11874         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11875         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11877 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11879         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11880         for wide-character tests.
11882 2014-12-04  Roland McGrath  <roland@hack.frob.com>
11884         * io/openat64.c: #include <libc-internal.h>
11885         (__openat64): Prototypify.  Use ignore_value on MODE.
11886         * io/openat.c: Likewise.
11887         * misc/reboot.c: #include <libc-internal.h>
11888         (reboot): Prototypify.  Use ignore_value on HOWTO.
11889         * misc/ptrace.c: #include <libc-internal.h>
11890         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
11892 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
11894         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11895         XPG4, UNIX98 and XOPEN2K.
11896         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11897         Remove variable.
11898         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11900 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11902         * libio/fileops.c: Use ISO C style for function definitions.
11903         * libio/iofopen.c: Likewise.
11904         * libio/wfileops.c: Likewise.
11906         [BZ #17653]
11907         * libio/fileops.c (_IO_new_file_underflow): Unset cached
11908         offset on EOF.
11909         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11910         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11911         (fgets_func): Function pointer to fgets and fgetws.
11912         (do_ftell_test): Add test to verify ftell value after read
11913         EOF.
11914         (do_test): Set fgets_func.
11916         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11917         O_TRUNC flag for w and w+ modes.
11918         (do_rewind_test): Likewise.
11919         (do_ftell_test): Likewise.
11920         (do_write_test): Likewise.
11922         [BZ #17647]
11923         * libio/fileops.c (do_ftell): Seek only when there are
11924         unflushed writes.
11925         * libio/wfileops.c (do_ftell_wide): Likewise.
11926         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11927         test case.
11928         (do_one_test): Call it.
11930 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
11932         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11933         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11934         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11935         Remove variable.
11936         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11937         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11938         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11940 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11942         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11943         Remove variable.
11944         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11946         [BZ #17668]
11947         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11948         as weak alias of __getifaddrs.  Use libc_hidden_weak.
11949         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11950         __freeifaddrs.  Use libc_hidden_weak.
11951         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11952         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
11953         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11954         __freeifaddrs.  Use libc_hidden_weak.
11955         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11956         __getifaddrs and define as weak alias of __getifaddrs.  Use
11957         libc_hidden_weak.
11958         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11959         __freeifaddrs.  Use libc_hidden_weak.
11960         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11961         Remove variable.
11962         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11963         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11965 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11967         [BZ #17601]
11968         * sysdeps/mips/start.S (__start): Use indirect jump to call
11969         __libc_start_main.
11971 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11973         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11975         * nptl/tst-mutex1.c: Include <stdbool.h>.
11976         [!ATTR] (ATTR_NULL): New macro.
11977         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11978         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11979         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11981         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11982         to char *.
11984         [BZ #17665]
11985         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11986         Change conditional to [__USE_MISC].
11988         [BZ #17664]
11989         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11990         fgets_unlocked.
11991         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11992         __fgets_unlocked.
11993         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11994         fgets_unlocked.
11995         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11996         Remove variable.
11997         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11998         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11999         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
12000         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
12001         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
12002         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
12003         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
12004         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
12005         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
12007         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
12009 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12011         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12012         Remove strpbrk objects.
12013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12014         (__libc_ifunc_impl_list): Remove strpbrk implementation.
12015         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
12016         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
12017         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
12018         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
12020         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12021         Remove strcspn objects.
12022         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12023         (__libc_ifunc_impl_list): Remove strcspn implementation.
12024         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
12025         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
12026         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
12027         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
12029         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12030         Remove strspn objetcs.
12031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12032         (__libc_ifunc_impl_list): Remove strspn implementation.
12033         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
12034         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12035         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
12036         * sysdeps/powerpc/powerpc64/strspn.S: New file.
12038 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
12040         [BZ #17581]
12041         * malloc/hooks.c
12042         (mem2mem_check): Add a terminator to the chain of checking blocks.
12043         (malloc_check_get_size): Use it here.
12044         (mem2chunk_check): Ditto.
12046 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12048         * sysdeps/powerpc/powerpc64/strtok.S: New file.
12049         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
12051 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
12053         * bits/ioctl-types.h: Indent preprocessor directives correctly.
12055         * nptl/nptl-init.c: Include libc-internal.h.
12056         (__pthread_initialize_minimal_internal): Use ROUND_UP.
12058         * elf/ldconfig.c (search_dir): Expand comment.
12060 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
12062         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
12063         variable.
12064         (linknamespace-symlist-stdlibs-tests): Likewise.
12065         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
12066         instead of $(objpfx)symlist-stdlibs.
12067         (linknamespace-libs-isoc): New variable.
12068         (linknamespace-libs): Use $(linknamespace-libs-isoc).
12069         (linknamespace-libs-ISO): New variable.
12070         (linknamespace-libs-ISO99): Likewise.
12071         (linknamespace-libs-ISO11): Likewise.
12072         (linknamespace-libs-XPG3): Likewise.
12073         (linknamespace-libs-XPG4): Likewise.
12074         (linknamespace-libs-POSIX): Likewise.
12075         (linknamespace-libs-UNIX98): Likewise.
12076         (linknamespace-libs-XOPEN2K): Likewise.
12077         (linknamespace-libs-POSIX2008): Likewise.
12078         (linknamespace-libs-XOPEN2K8): Likewise.
12079         ($(objpfx)symlist-stdlibs): Replace by
12080         $(linknamespace-symlist-stdlibs-tests).  Use
12081         $(linknamespace-libs-$*) as set of libraries.
12082         ($(linknamespace-header-tests)): Update dependencies.  Use
12083         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
12084         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
12085         * conform/linknamespace.pl: Remove comment about considering
12086         definitions of symbols from irrelevant libraries.
12088 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
12090         [BZ #13862]
12091         * elf/dl-tls.c: Include <atomic.h>.
12092         (oom): Remove #ifdef SHARED/#endif.
12093         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
12094         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
12095         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
12096         big enough.
12097         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
12098         * nptl/Makefile (tests): Add tst-stack4.
12099         (modules-names): Add tst-stack4mod.
12100         ($(objpfx)tst-stack4): New.
12101         (tst-stack4mod.sos): Likewise.
12102         ($(objpfx)tst-stack4.out): Likewise.
12103         ($(tst-stack4mod.sos)): Likewise.
12104         (clean): Likewise.
12105         * nptl/tst-stack4.c: New file.
12106         * nptl/tst-stack4mod.c: Likewise.
12108 2014-11-27  J. Brown  <jb999@gmx.de>
12110         * sysdeps/x86/bits/string.h: Add recent CPUs.
12112 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
12114         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
12115         sigblock.
12117         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
12118         feof.
12120         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
12121         variable.
12123 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12125         * nscd/connections.c: Include libc-internal.h because of macro
12126         usage ignore_value.
12128 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12130         * string/bits/string3.h (__warn_memset_zero_len): Don't
12131         declare for gcc newer than 5.0.
12132         (memset): Don't test for zero-length __LEN for gcc newer than
12133         5.0.
12135 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
12137         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
12138         size_t for %zu format.
12140         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
12141         difference, not %ju.
12143 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
12145         * include/libc-internal.h (ignore_value): New macro.
12146         * nscd/connections.c (restart): Wrap calls to setuid and setgid
12147         with ignore_value.
12149         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
12150         definition.
12152         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
12153         pthread_cleanup_push to void *.
12155         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
12156         Undefine.
12158         [BZ #16619]
12159         [BZ #16740]
12160         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
12161         instead of 1L << 52.
12163         * libio/bug-rewind.c (do_test): Check fwscanf return values.
12164         * libio/bug-rewind2.c (do_test): Likewise.
12166         * debug/test-stpcpy_chk-ifunc.c: Remove file.
12167         * debug/test-strcpy_chk-ifunc.c: Likewise.
12168         * wcsmbs/test-wcschr-ifunc.c: Likewise.
12169         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
12170         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
12171         * wcsmbs/test-wcslen-ifunc.c: Likewise.
12172         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
12173         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
12174         * Rules [$(multi-arch) = no] (tests): Do not filter out
12175         $(tests-ifunc).
12176         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
12177         * debug/Makefile (tests-ifunc): Remove variable.
12178         (tests): Do not add $(tests-ifunc).
12179         * wcsmbs/Makefile (tests-ifunc): Remove variable.
12180         (tests): Do not add $(tests-ifunc).
12181         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
12182         [TEST_IFUNC]: Remove conditionals.
12183         * string/test-string.h (TEST_IFUNC): Remove macro.
12184         [TEST_IFUNC]: Remove conditionals.
12186         * string/test-strchr.c [!WIDE] (L): New macro.
12187         [WIDE] (L): Likewise.
12188         (check1): Use CHAR instead of char.  Use L on string and character
12189         constants.
12191 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
12193         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
12194         tests.
12195         * sysdeps/powerpc/bits/atomic.h
12196         (__arch_atomic_exchange_and_add_32_acq): Add definition.
12197         (__arch_atomic_exchange_and_add_32_rel): Likewise.
12198         (atomic_exchange_and_add_acq): Likewise.
12199         (atomic_exchange_and_add_rel): Likewise.
12200         * sysdeps/powerpc/powerpc32/bits/atomic.h
12201         (__arch_atomic_exchange_and_add_64_acq): Add definition.
12202         (__arch_atomic_exchange_and_add_64_rel): Likewise.
12203         * sysdeps/powerpc/powerpc64/bits/atomic.h
12204         (__arch_atomic_exchange_and_add_64_acq): Add definition.
12205         (__arch_atomic_exchange_and_add_64_rel): Likewise.
12207 2014-11-26  Torvald Riegel  <triegel@redhat.com>
12209         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
12210         Change synchronization of __sched_fifo_min_prio and
12211         __sched_fifo_max_prio.
12212         * nptl/pthread_mutexattr_getprioceiling.c
12213         (pthread_mutexattr_getprioceiling): Likewise.
12214         * nptl/pthread_mutexattr_setprioceiling.c
12215         (pthread_mutexattr_setprioceiling): Likewise.
12216         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
12217         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12218         Likewise.
12220 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
12222         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
12223         void.
12225 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
12227         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
12228         third argument const.
12230 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
12232         fnmatch: work around GCC compiler warning bug with uninit var
12233         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
12234         This works around a bug with x86-64 GCC 4.9.2 and earlier
12235         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
12236         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
12237         used uninitialized in this function [-Wmaybe-uninitialized]".
12239 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
12241         * posix/bug-regex31.c (main): Return RES not 0.
12243 2014-11-25  Anton Blanchard <anton@samba.org>
12245         * sysdeps/powerpc/bits/atomic.h
12246         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
12248 2014-11-24  Sterling Augustine  <saugustine@google.com>
12250         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12252 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
12254         [BZ #17608]
12255         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12257 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
12259         [BZ #17633]
12260         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12261         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12262         variable.
12263         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12264         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12266 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12268         * string/strncpy.c (strncpy): Improve performance by using memset.
12270 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12272         * string/strcpy.c (strcpy):
12273         Improve performance by using strlen and memcpy.
12275 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
12277         * string/strcoll_l.c (get_next_seq): __always_inline.
12278         * string/strcoll_l.c (do_compare): __always_inline.
12280 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12282         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12283         defined.
12284         * include/mqueue.h: Likewise.
12285         * include/stdlib.h: Likewise.
12287         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12288         (get_null_defines): Adjust.
12289         * sunrpc/Makefile: Adjust comment.
12290         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12291         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12292         (CFLAGS-interp.c): Likewise.
12293         (CFLAGS-ldconfig.c): Likewise.
12294         (CPPFLAGS-.os): Likewise.
12295         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12296         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12297         * extra-modules.mk (extra-modules.mk): Likewise.
12298         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12299         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12300         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12301         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12302         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12303         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12304         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12305         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12306         * iconvdata/Makefile (CPPFLAGS): Likewise.
12307         (cpp-srcs-left): Add libof for all iconvdata routines.
12308         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12309         * include/assert.h: Likewise.
12310         * include/ctype.h: Likewise.
12311         * include/errno.h: Likewise.
12312         * include/libc-symbols.h: Likewise.
12313         * include/math.h: Likewise.
12314         * include/netdb.h: Likewise.
12315         * include/resolv.h: Likewise.
12316         * include/stdio.h: Likewise.
12317         * include/stdlib.h: Likewise.
12318         * include/string.h: Likewise.
12319         * include/sys/stat.h: Likewise.
12320         * include/wctype.h: Likewise.
12321         * intl/l10nflist.c: Likewise.
12322         * libidn/idn-stub.c: Likewise.
12323         * libio/libioP.h: Likewise.
12324         * nptl/libc_multiple_threads.c: Likewise.
12325         * nptl/pthreadP.h: Likewise.
12326         * posix/regex_internal.h: Likewise.
12327         * resolv/res_hconf.c: Likewise.
12328         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12329         * sysdeps/arm/memmove.S: Likewise.
12330         * sysdeps/arm/sysdep.h: Likewise.
12331         * sysdeps/generic/_itoa.h: Likewise.
12332         * sysdeps/generic/symbol-hacks.h: Likewise.
12333         * sysdeps/gnu/errlist.awk: Likewise.
12334         * sysdeps/gnu/errlist.c: Likewise.
12335         * sysdeps/i386/i586/memcpy.S: Likewise.
12336         * sysdeps/i386/i586/memset.S: Likewise.
12337         * sysdeps/i386/i686/memcpy.S: Likewise.
12338         * sysdeps/i386/i686/memmove.S: Likewise.
12339         * sysdeps/i386/i686/mempcpy.S: Likewise.
12340         * sysdeps/i386/i686/memset.S: Likewise.
12341         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12342         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12343         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12344         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12345         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12346         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12347         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12348         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12349         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12350         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12351         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12352         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12353         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12354         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12355         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12356         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12357         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12358         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12359         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12360         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12361         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12362         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12363         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12364         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12365         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12366         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12367         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12368         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12369         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12370         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12371         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12372         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12374         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12375         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12376         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12377         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12378         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12379         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12380         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12381         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12382         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12383         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12384         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12385         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12386         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12387         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12388         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12389         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12390         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12391         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12392         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12393         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12394         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12395         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12396         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12397         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12398         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12399         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12400         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12401         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12402         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12403         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12404         * sysdeps/nptl/bits/libc-lock.h: Likewise.
12405         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12406         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12407         * sysdeps/posix/closedir.c: Likewise.
12408         * sysdeps/posix/opendir.c: Likewise.
12409         * sysdeps/posix/readdir.c: Likewise.
12410         * sysdeps/posix/rewinddir.c: Likewise.
12411         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12412         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12413         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12414         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12415         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12416         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12417         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12418         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12419         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12420         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12421         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12422         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12423         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12424         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12425         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12426         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12427         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12428         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12430         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12431         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12432         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12433         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12434         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12435         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12437         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12438         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12439         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12441         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12442         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12443         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12444         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12445         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12446         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12447         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12448         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12449         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12450         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12451         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12452         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12453         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12454         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12455         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12456         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12457         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12458         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12459         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12460         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12461         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12462         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12464         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12465         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12466         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12467         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12468         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12469         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12470         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12471         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12472         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12473         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12474         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12475         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12476         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12477         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12478         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12479         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12480         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12481         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12482         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12484         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12485         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12486         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12487         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12488         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12489         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12490         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12491         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12492         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12493         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12495         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12496         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12497         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12498         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12499         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12500         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12501         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12502         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12503         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12504         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12505         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12506         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12507         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12509         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12510         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12511         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12512         * sysdeps/unix/alpha/sysdep.S: Likewise.
12513         * sysdeps/unix/alpha/sysdep.h: Likewise.
12514         * sysdeps/unix/make-syscalls.sh: Likewise.
12515         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12516         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12517         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12518         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12519         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12520         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12521         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12522         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12523         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12524         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12525         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12526         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12528         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12529         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12530         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12531         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12532         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12533         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12534         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12535         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12536         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12537         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12538         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12539         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12540         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12544         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12545         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12547         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12548         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12549         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12550         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12551         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12552         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12553         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12554         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12555         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12556         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12557         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12558         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12559         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12563         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12565         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12566         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12567         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12568         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12569         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12570         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12571         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12573         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12574         * sysdeps/x86_64/memcpy.S: Likewise.
12575         * sysdeps/x86_64/memmove.c: Likewise.
12576         * sysdeps/x86_64/memset.S: Likewise.
12577         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12578         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12579         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12580         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12581         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12582         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12583         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12584         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12585         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12586         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12587         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12588         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12589         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12590         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12591         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12592         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12593         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12594         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12595         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12596         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12597         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12598         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12599         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12600         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12601         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12602         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12603         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12604         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12605         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12606         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12607         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12608         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12609         * sysdeps/x86_64/strcmp.S: Likewise.
12611         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12613         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12614         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12615         * elf/rtld-Rules: Likewise.
12616         * elf/setup-vdso.h: Likewise.
12617         * include/assert.h: Likewise.
12618         * include/bits/stdlib-float.h: Likewise.
12619         * include/errno.h: Likewise.
12620         * include/sys/stat.h: Likewise.
12621         * include/unistd.h: Likewise.
12622         * sysdeps/aarch64/setjmp.S: Likewise.
12623         * sysdeps/alpha/setjmp.S: Likewise.
12624         * sysdeps/arm/__longjmp.S: Likewise.
12625         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12626         * sysdeps/arm/setjmp.S: Likewise.
12627         * sysdeps/arm/sysdep.h: Likewise.
12628         * sysdeps/generic/_itoa.h: Likewise.
12629         * sysdeps/generic/dl-sysdep.h: Likewise.
12630         * sysdeps/generic/ldsodefs.h: Likewise.
12631         * sysdeps/i386/dl-tls.h: Likewise.
12632         * sysdeps/i386/setjmp.S: Likewise.
12633         * sysdeps/m68k/setjmp.c: Likewise.
12634         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12635         * sysdeps/mach/hurd/opendir.c: Likewise.
12636         * sysdeps/posix/getcwd.c: Likewise.
12637         * sysdeps/posix/opendir.c: Likewise.
12638         * sysdeps/posix/profil.c: Likewise.
12639         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12641         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12642         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12643         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12644         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12645         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12646         * sysdeps/s390/dl-tls.h: Likewise.
12647         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12648         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12649         * sysdeps/sh/sh3/setjmp.S: Likewise.
12650         * sysdeps/sh/sh4/setjmp.S: Likewise.
12651         * sysdeps/unix/alpha/sysdep.h: Likewise.
12652         * sysdeps/unix/arm/sysdep.S: Likewise.
12653         * sysdeps/unix/i386/sysdep.S: Likewise.
12654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12655         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12656         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12657         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12658         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12659         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12660         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12661         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12662         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12663         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12664         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12665         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12666         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12669         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12672         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12673         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12674         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12675         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12676         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12677         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12678         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12679         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12681         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12682         * sysdeps/x86_64/setjmp.S: Likewise.
12684         * include/math.h: Use IS_IN instead of IS_IN_libm.
12685         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12686         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12687         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12688         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12689         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12690         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12691         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12692         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12693         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12694         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12695         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12696         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12697         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12698         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12699         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12700         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12701         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12702         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12703         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12704         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12705         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12706         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12707         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12708         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12709         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12710         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12711         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12712         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12713         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12714         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12715         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12716         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12717         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12719         Likewise.
12720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12721         Likewise.
12722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12723         Likewise.
12724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12725         Likewise.
12726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12727         Likewise.
12728         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12729         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12730         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12731         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12732         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12733         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12739         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12740         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12741         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12742         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12743         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12744         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12745         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12746         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12747         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12748         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12749         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12752         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12753         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12754         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12756         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12757         * nptl/pthreadP.h: Likewise.
12758         * nptl_db/structs.def: Likewise.
12759         * sysdeps/arm/sysdep.h: Likewise.
12760         * sysdeps/nptl/bits/libc-lock.h: Likewise.
12761         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12762         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12763         * sysdeps/unix/alpha/sysdep.h: Likewise.
12764         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12765         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12766         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12767         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12768         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12769         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12770         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12771         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12772         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12773         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12774         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12775         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12776         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12777         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12780         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12781         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12782         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12783         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12784         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12785         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12786         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12787         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12788         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12789         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12791         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12792         * nptl/pthreadP.h: Likewise.
12793         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12794         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12795         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12796         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12797         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12798         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12799         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12800         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12801         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12802         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12803         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12804         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12806         Likewise.
12807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12808         Likewise.
12809         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12810         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12811         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12813         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12814         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12815         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12816         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12818         * dlfcn/dladdr.c: Use IS_IN.
12819         * dlfcn/dladdr1.c: Likewise.
12820         * dlfcn/dlclose.c: Likewise.
12821         * dlfcn/dlerror.c: Likewise.
12822         * dlfcn/dlinfo.c: Likewise.
12823         * dlfcn/dlmopen.c: Likewise.
12824         * dlfcn/dlopen.c: Likewise.
12825         * dlfcn/dlsym.c: Likewise.
12826         * dlfcn/dlvsym.c: Likewise.
12828         * include/ifaddrs.h: Use IS_IN.
12829         * inet/check_pf.c: Likewise.
12830         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12831         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12833         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12834         IS_IN_ldconfig.
12835         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12836         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12838         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12839         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12840         IS_IN (libc).
12842         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12844         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12845         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12846         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12847         * include/libc-symbols.h (IS_IN_LIB): New macro.
12848         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12849         * include/netdb.h: Likewise.
12850         * include/stap-probe.h: Remove all uses of IN_LIB.
12852         * Makeconfig (module-cppflags-real): Define MODULE_NAME
12853         instead of IN_MODULE.
12854         * include/libc-symbols.h (IN_MODULE): Define using
12855         MODULE_NAME.
12856         (PASTE_NAME, PASTE_NAME1): New macros.
12857         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12858         of IN_LIB.
12859         (STAP_PROBE_ASM): Likewise.
12861 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12863         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12864         __mach_init in dlopened libc.
12866 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
12868         * sysdeps/arm/preconfigure.ac: Delete EABI check.
12869         * sysdeps/arm/preconfigure: Regenerate.
12871 2014-11-21  Roland McGrath  <roland@hack.frob.com>
12873         * nptl/pthread_create.c (__pthread_create_2_1): Set
12874         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12875         when copying values from IATTR into PD.
12877 2014-11-21  Will Newton  <will.newton@linaro.org>
12878             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12880         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12881         Refactor inline-asm.  Also add comment.
12883         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12884         ElfW macro instead of hardcoded Elf64 types.
12885         (la_aarch64_gnu_pltenter): Likewise.
12886         * sysdeps/aarch64/dl-machine.h
12887         (elf_machine_runtime_setup): Use ElfW(Addr).
12889         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12890         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12891         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12892         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12893         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12894         (R_AARCH64_TLS_DTPMOD64): Rename to ..
12895         (R_AARCH64_TLS_DTPMOD): This.
12896         (R_AARCH64_TLS_DTPREL64): Rename to ...
12897         (R_AARCH64_TLS_DTPREL): This.
12898         (R_AARCH64_TLS_TPREL64): Rename to ...
12899         (R_AARCH64_TLS_TPREL): This.
12900         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12901         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12902         R_AARCH64_TLS_TPREL64.
12903         (elf_machine_rela): Likewise.
12905 2014-11-21  Torvald Riegel  <triegel@redhat.com>
12907         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12908         by setting it to 0.  64b atomics are not supported currently.
12910 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12912         [BZ #16469]
12913         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12914         search domain names.
12916 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12918         [BZ #16469]
12919         * NEWS: Update.
12920         * resolv/res_query.c (__libc_res_nquerydomain): Retain
12921         trailing dot.
12922         * posix/tst-getaddrinfo5.c: New.
12923         * posix/Makefile (tests): Add it.
12925 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12927         [BZ #14498]
12928         * NEWS: Fixed.
12929         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12930         after parsing line but before break_if_match.
12931         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12932         if there is a protocol mismatch.
12934 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12936         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12937         because the potential race is on the user-supplied stream.
12939 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12941         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12942         string literal if not passed a buffer.
12943         * manual/job.texi (ctermid): Update reasoning, note deviation
12944         from posix, suggest mtasurace when not passed a buffer, for
12945         future non-preliminary safety notes.
12947 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12949         * manual/users.texi (cuserid): Fix MT-Safety note for the case
12950         of not passing it a buffer.
12951         Reported by Peng Haitao.
12953 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12955         * manual/Makefile ($(objpfx)stamp-summary): Require
12956         check-safety.sh to pass.
12957         * manual/check-safety.sh: Wish for verification that every
12958         @deftypefn and @deftypefun is followed by a @safety remark.
12960 2014-11-20  Roland McGrath  <roland@hack.frob.com>
12962         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12964         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12965         PTHREAD_CANCEL_ASYNCHRONOUS.
12966         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12967         send SIGCANCEL.
12969         * nptl/default-sched.h: New file.
12970         * sysdeps/unix/sysv/linux/default-sched.h: New file.
12971         * nptl/pthread_create.c: Include it.
12972         (__pthread_create_2_1): Use collect_default_sched instead of making
12973         Linux syscalls here directly.
12975 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12977         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12978         __pthread_once): Use C11 atomics.
12980 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12982         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12984 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12986         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12987         atomic_thread_fence_acquire, atomic_thread_fence_release,
12988         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12989         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12990         atomic_compare_exchange_weak_relaxed,
12991         atomic_compare_exchange_weak_acquire,
12992         atomic_compare_exchange_weak_release,
12993         atomic_exchange_acquire, atomic_exchange_release,
12994         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12995         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12996         atomic_fetch_and_acquire,
12997         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12999 2014-11-20  Torvald Riegel  <triegel@redhat.com>
13001         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
13002         USE_ATOMIC_COMPILER_BUILTINS): Define.
13003         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
13004         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13005         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
13006         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13007         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
13008         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13009         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
13010         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13011         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
13012         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13013         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
13014         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13015         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
13016         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13017         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
13018         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13019         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13020         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13021         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13022         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13023         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
13024         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13025         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
13026         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13027         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
13028         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13029         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
13030         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13031         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
13032         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13033         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
13034         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13035         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
13036         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13037         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
13038         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13039         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
13040         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13041         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
13042         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
13044 2014-11-19  Roland McGrath  <roland@hack.frob.com>
13046         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
13047         the sched_priority value here.  It was already checked when the user
13048         called pthread_attr_setschedparam.
13050         * nptl/tst-bad-schedattr.c: New file.
13051         * nptl/Makefile (tests): Add it.
13053 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
13054             Florian Weimer  <fweimer@redhat.com>
13055             Joseph Myers  <joseph@codesourcery.com>
13056             Adam Conrad  <adconrad@0c3.net>
13057             Andreas Schwab  <schwab@suse.de>
13058             Brooks  <bmoses@google.com>
13060         [BZ #17625]
13061         * wordexp-test.c (__dso_handle): Add prototype.
13062         (__register_atfork): Likewise.
13063         (__app_register_atfork): New function.
13064         (registered_forks): New global.
13065         (register_fork): New function.
13066         (test_case): Add 3 new tests for WRDE_CMDSUB.
13067         (main): Call __app_register_atfork.
13068         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
13069         fork count is non-zero fail the test.
13070         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
13071         is set.
13072         (parse_dollars): Remove check for WRDE_NOCMD.
13073         (parse_dquote): Likewise.
13075 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13077         * Makeconfig (built-modules): List non-library modules to be
13078         built.
13079         (module-cppflags): Include libc-modules.h for
13080         everything except shlib-versions.v.i.
13081         (CPPFLAGS): Use it.
13082         (before-compile): Add libc-modules.h.
13083         ($(common-objpfx)libc-modules.h,
13084         $(common-objpfx)libc-modules.stmp): New targets.
13085         (common-generated): Add libc-modules.h and libc-modules.stmp.
13086         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
13087         * include/libc-symbols.h: Don't include libc-modules.h.
13088         * include/libc-modules.h: Remove file.
13089         * scripts/gen-libc-modules.awk: New script to generate
13090         libc-modules.h.
13091         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
13092         Depend on libc-modules.stmp.
13094         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
13096         * Makeconfig (in-module): Get value of libof set for the
13097         translation unit.
13098         (CPPFLAGS): Use $(in-module).
13099         * Makerules: Don't suffix routine names for nonlib.
13100         * include/libc-modules.h: New file.
13101         * include/libc-symbols.h: Include libc-modules.h
13102         (IS_IN): New macro to replace IS_IN_* macros.
13103         * elf/Makefile: Set libof-* for each routine.
13104         * elf/rtld-Rules: Likewise.
13105         * extra-modules.mk: Likewise.
13106         * iconv/Makefile: Likewise.
13107         * iconvdata/Makefile: Likewise.
13108         * locale/Makefile: Likewise.
13109         * malloc/Makefile: Likewise.
13110         * nss/Makefile: Likewise.
13111         * sysdeps/gnu/Makefile: Likewise.
13112         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
13113         * sysdeps/unix/sysv/linux/Makefile: Likewise.
13114         * sysdeps/s390/s390-64/Makefile: Likewise.
13115         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
13116         CPPFLAGS for nscd instead of nonlib.
13118 2014-11-18  Roland McGrath  <roland@hack.frob.com>
13120         * nptl/createthread.c: New file.
13122         * nptl/createthread.c: Moved ...
13123         * sysdeps/unix/sysv/linux/createthread.c: ... here.
13125         * nptl/createthread.c: Add proper top-line comment.
13126         (do_clone): Folded into ...
13127         (create_thread): ... here.  Take new arguments STOPPED_START and
13128         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
13129         increment __nptl_threads, do event-reporting logic, do
13130         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
13131         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
13132         resource cleanup if sched_setaffinity or sched_setscheduler fails,
13133         just send SIGCANCEL.
13134         * nptl/pthread_create.c: Forward-declare create_thread before
13135         including createthread.c.
13136         (start_thread): Use new macro START_THREAD_DEFN to replace defining
13137         declaration, and new macro START_THREAD_SELF to replace argument.
13138         Remove return statement.
13139         (report_thread_creation): New function.
13140         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
13141         synchronization logic, and __nptl_nthreads increment here, around
13142         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
13143         PD->parent_cancelhandling here, before create_thread.  When
13144         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
13145         __deallocate_stack, and ENOMEM translation here.
13147 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
13149         [BZ #17616]
13150         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
13151         (mptwo): Rename to __mptwo.
13152         (__inv): Use __mptwo instead of mptwo.
13153         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
13154         (mptwo): Rename to __mptwo.
13155         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
13156         of mpone and __mptwo instead of mptwo.
13157         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
13158         instead of mpone.
13159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13160         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
13161         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
13162         of mpone and __mptwo instead of mptwo.
13163         (__mpranred): Use __mpone instead of mpone.
13164         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
13165         variable.
13166         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13167         (test-xfail-ISO99/math.h/linknamespace): Likewise.
13168         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13169         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13170         (test-xfail-ISO11/math.h/linknamespace): Likewise.
13171         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13172         (test-xfail-XPG3/math.h/linknamespace): Likewise.
13173         (test-xfail-XPG4/math.h/linknamespace): Likewise.
13174         (test-xfail-POSIX/math.h/linknamespace): Likewise.
13175         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13176         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13177         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13178         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13179         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13180         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13181         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13182         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13183         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13184         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13186 2014-11-18  Tom de Vries  <tom@codesoucery.com>
13188         * manual/signal.texi (Primitives Interrupted by Signals): In section,
13189         replace BSD Handler xref with BSD Signal Handling.
13191 2014-11-17  Richard Henderson  <rth@redhat.com>
13193         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
13194         (_FP_PACK_RAW_2): Remove.
13195         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
13196         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
13197         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
13198         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
13199         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
13200         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
13201         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
13202         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
13203         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
13204         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
13205         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
13206         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
13207         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
13208         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
13209         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
13210         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
13212 2014-11-14  Roland McGrath  <roland@hack.frob.com>
13214         * signal/signal.h [__USE_MISC]
13215         (struct sigvec): Remove type.
13216         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
13217         (sigvec): Remove declaration.
13218         * sysdeps/posix/sigvec.c: Moved ...
13219         * signal/sigvec.c: ... here, replacing old file.
13220         (struct sigvec): New type, copied from old signal.h definition.
13221         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
13222         (__sigvec): Convert definition to prototype.
13223         (sigvec): Replace weak_alias with compat_symbol.
13224         * signal/Versions (libc: GLIBC_2.21): New version set.
13225         * include/signal.h: Remove __sigvec declaration.
13226         * sysdeps/unix/bsd/sigvec.c: Remove file.
13227         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
13228         * manual/signal.texi (BSD Handler): Remove subsection.
13229         Move siginterrupt up to ...
13230         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
13231         (Blocking in BSD): Fold subsection into its parent.
13232         * NEWS: Mention sigvec removal.
13234 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
13236         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
13237         (DLA_FMS): Make definition conditional only on [__FMA4__].
13238         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
13239         definition.
13241         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
13242         Make definition conditional only on [PROF].
13243         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
13244         definition.
13245         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
13246         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
13248         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
13249         !__GNUC__].
13250         * include/signal.h (__sigpause): Move declaration above call to
13251         libc_hidden_proto.
13252         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13253         variable.
13254         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13255         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13257 2014-11-14  David S. Miller  <davem@davemloft.net>
13259         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13260         Define before including <string/memcpy.c> and <string/mempcpy.c>.
13262 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
13264         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13265         * configure: Regenerated.
13266         * manual/install.texi (Tools for Compilation): Document a
13267         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13268         compiler verified to work.
13269         * INSTALL: Regenerated.
13271         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13272         redeclare with asm name.
13273         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13274         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13275         including <string.h>.
13276         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13277         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13278         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13279         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13280         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13282         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13284 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
13286         * stdlib/strtol.c (__strtol): Use prototype definition.
13288         [BZ #17594]
13289         * stdlib/strtol.c (SYM__): New macro.
13290         (SYM__1): Likewise.
13291         (__strtol): Likewise.
13292         (strtol): Rename to __strtol and define as weak alias of
13293         __strtol.  Use libc_hidden_weak.
13295 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13297         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13298         Use numbered labels in inline assembly.
13300 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13302         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13303         Add setjmp LIBC_PROBE.
13304         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13305         Likewise.
13306         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13307         Add longjmp, longjmp_target LIBC_PROBE.
13308         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13309         Likewise.
13311 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13313         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13314         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13315         to get rid of unused variable warning.
13317 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13319         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13320         Check for unwind_backtrace ==  NULL only in SHARED case.
13321         (__backchain_backtrace): Compile only in SHARED case.
13322         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13323         Likewise.
13324         (__backchain_backtrace): Declare as static.
13326 2014-11-12  Roland McGrath  <roland@hack.frob.com>
13328         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13329         (__libc_multiple_threads_ptr): Variable moved ...
13330         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13332 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
13334         * conform/GlibcConform.pm: New file.
13335         * conform/conformtest.pl: Use GlibcConform module.
13336         * conform/linknamespace.pl: New file.
13337         * conform/list-header-symbols.pl: Likewise.
13338         * conform/Makefile (linknamespace-symlists-base): New variable.
13339         (linknamespace-symlists-tests): Likewise.
13340         (linknamespace-header-base): Likewise.
13341         (linknamespace-header-tests): Likewise.
13342         (tests-special): Add new tests.
13343         ($(linknamespace-symlists-tests)): New rule.
13344         (linknamespace-libs): New variable.
13345         ($(objpfx)symlist-stdlibs): New rule.
13346         ($(linknamespace-header-tests)): Likewise.
13347         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13348         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13349         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13350         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13351         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13352         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13353         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13354         (test-xfail-ISO/math.h/linknamespace): Likewise.
13355         (test-xfail-ISO/signal.h/linknamespace): Likewise.
13356         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13357         (test-xfail-ISO/time.h/linknamespace): Likewise.
13358         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13359         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13360         (test-xfail-ISO99/math.h/linknamespace): Likewise.
13361         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13362         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13363         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13364         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13365         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13366         (test-xfail-ISO11/math.h/linknamespace): Likewise.
13367         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13368         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13369         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13370         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13371         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13372         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13373         (test-xfail-XPG3/math.h/linknamespace): Likewise.
13374         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13375         (test-xfail-XPG3/search.h/linknamespace): Likewise.
13376         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13377         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13378         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13379         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13380         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13381         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13382         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13383         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13384         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13385         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13386         (test-xfail-XPG4/math.h/linknamespace): Likewise.
13387         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13388         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13389         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13390         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13391         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13392         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13393         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13394         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13395         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13396         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13397         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13398         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13399         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13400         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13401         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13402         (test-xfail-POSIX/math.h/linknamespace): Likewise.
13403         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13404         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13405         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13406         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13407         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13408         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13409         (test-xfail-POSIX/time.h/linknamespace): Likewise.
13410         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13411         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13412         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13413         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13414         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13415         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13416         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13417         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13418         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13419         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13420         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13421         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13422         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13423         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13424         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13425         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13426         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13427         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13428         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13429         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13430         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13431         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13432         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13433         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13434         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13435         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13436         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13437         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13438         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13439         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13440         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13441         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13442         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13443         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13444         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13445         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13446         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13447         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13448         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13449         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13450         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13451         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13452         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13453         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13454         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13455         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13456         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13457         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13458         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13459         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13460         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13461         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13462         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13463         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13464         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13465         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13466         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13467         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13468         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13469         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13470         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13471         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13472         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13473         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13474         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13475         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13476         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13477         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13478         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13479         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13480         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13481         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13482         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13483         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13484         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13485         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13486         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13487         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13488         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13489         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13490         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13491         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13492         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13493         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13494         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13495         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13496         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13497         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13498         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13499         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13500         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13501         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13502         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13503         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13504         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13505         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13506         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13507         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13509         [BZ #17589]
13510         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13511         of fgets_unlocked.
13513         [BZ #17585]
13514         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13515         (memmem): Rename to __memmem and define as weak alias of
13516         __memmem.  Use libc_hidden_weak.
13517         (__memmem): Use libc_hidden_def.
13518         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
13519         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13520         memmem.
13522         [BZ #17582]
13523         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13524         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
13525         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13526         and define as weak alias of __fgets_unlocked.  Use
13527         libc_hidden_weak.
13528         (__fgets_unlocked): Use libc_hidden_def.
13529         * include/stdio.h (__fgets_unlocked): Declare.  Use
13530         libc_hidden_proto.
13531         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13532         __fgets_unlocked instead of fgets_unlocked.
13533         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13534         (GET_NPROCS_CONF_PARSER): Likewise.
13535         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13536         (GET_NPROCS_CONF_PARSER): Likewise.
13538         [BZ #17574]
13539         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13540         weak alias of __wmemset.  Use libc_hidden_weak.
13541         (__wmemset): Use libc_hidden_def.
13542         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
13543         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13544         of wmemset.
13546         [BZ #17573]
13547         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13548         with asm name __mempcpy.
13549         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13551         [BZ #17572]
13552         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13553         and define as weak alias of __rawmemchr.
13554         (__rawmemchr): Do not define as strong alias of rawmemchr.
13556         [BZ #17571]
13557         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13558         alias of __qsort_r.
13559         (qsort): Call __qsort_r instead of qsort_r.
13560         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13561         (__qsort_r): Declare.  Call libc_hidden_proto.
13562         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13563         instead of qsort_r.
13564         * nscd/gai.c (__qsort_r): Define to qsort_r.
13565         * posix/tst-rfc3484.c (__qsort_r): Likewise.
13566         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13567         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13569         [BZ #17570]
13570         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13571         define as weak alias of __malloc_info.
13573         [BZ #17584]
13574         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13575         as weak alias of __rewinddir.  Don't use libc_hidden_def.
13576         (__rewinddir): Use libc_hidden_def.
13577         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13578         as weak alias of __rewinddir.  Don't use libc_hidden_def.
13579         (__rewinddir): Use libc_hidden_def.
13580         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13581         weak alias of __rewinddir.  Don't use libc_hidden_def.
13582         (__rewinddir): Use libc_hidden_def.
13583         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13584         (__rewinddir): Use libc_hidden_proto.
13585         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13586         rewinddir.
13587         (__getcwd): Use __rewinddir instead of rewinddir.
13589         [BZ #17583]
13590         * libio/fileno.c (fileno): Rename to __fileno and define as weak
13591         alias of __fileno.  Use libc_hidden_weak.
13592         (__fileno): Use libc_hidden_def.
13593         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13594         * libio/ftello.c (ftello): Rename to __ftello and define as weak
13595         alias of __ftello.
13596         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13597         __ftello.
13598         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13599         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
13600         libc_hidden_def.
13601         (fread_unlocked): Don't use libc_hidden_ver.
13602         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13603         and define as weak alias of __fread_unlocked.  Don't use
13604         libc_hidden_def.
13605         (__fread_unlocked): Use libc_hidden_def.
13606         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
13607         (ftello): Don't use libc_hidden_proto.
13608         (__ftello): Declare.  Use libc_hidden_proto.
13609         (fread_unlocked): Don't use libc_hidden_proto.
13610         (__fread_unlocked): Declare.  Use libc_hidden_proto.
13611         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13612         and __ftello instead of fileno, fread_unlocked and ftello.
13614 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13616         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13617         GOT12.
13618         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13619         Likewise.
13620         (_dl_start_user): Likewise.
13621         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13623 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
13624             Siddhesh Poyarekar  <siddhesh@redhat.com>
13626         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13627         Move argv and envp down instead of moving argc up.
13628         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13630 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
13632         [BZ #17506]
13633         * test-skeleton.c (main): Return successful if one of
13634         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13635         * string/tst-strcoll-overflow.c: Define expected status.
13637 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
13639         [BZ #17475]
13640         * locale/iso-639.def: Define Bhili and Tulu language codes.
13642 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
13644         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13646 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
13648         [BZ #17555]
13649         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13651 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13653         * configure.ac: Updated check of minimal required version to
13654         2.22.
13655         * manual/install.texi (Tools for Compilation): Updated version
13656         number.
13657         * configure: Regenerated.
13658         * INSTALL: Likewise.
13660 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
13662         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13663         __tls_get_addr.
13665 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
13667         * include/sys/wait.h (__libc_waitpid): Remove declaration.
13668         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13669         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13670         libc_hidden_weak.
13671         (waitpid): Define as alias of __waitpid.
13672         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13673         __waitpid.
13674         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13675         libc_hidden_weak.
13676         (waitpid): Define as alias of __waitpid.
13677         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13678         __libc_waitpid alias.
13679         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13680         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13683         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13684         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13685         alias.
13686         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13687         __waitpid.
13688         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13689         libc_hidden_weak.
13690         (waitpid): Define as alias of __waitpid.
13692 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
13694         * manual/llio.texi: Add comment that write safety has been
13695         fixed in Linux.
13697         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13698         (localplt-build-dso): Add elf/ld.so.
13699         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13700         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13701         and free for ld.so.
13702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13703         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13705         Likewise.
13706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13707         Likewise.
13708         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13709         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13710         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13711         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13712         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13713         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13714         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13715         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13716         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13717         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13718         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13720 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
13722         [BZ #14132]
13723         * include/libc-symbols.h (INTUSE): Remove macro.
13724         (INTDEF): Likewise.
13725         (INTVARDEF): Likewise.
13726         (_INTVARDEF): Likewise.
13727         (INTDEF2): Likewise.
13728         (INTVARDEF2): Likewise.
13729         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13730         rtld_hidden_def instead of INTVARDEF.
13731         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13732         (_dl_starting_up_internal): Remove declaration.
13733         (_dl_starting_up): Use rtld_hidden_proto.
13734         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13735         declaration.
13736         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13737         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13738         _dl_starting_up.
13739         * elf/dl-writev.h (_dl_writev): Likewise.
13740         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13741         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13742         _dl_starting_up_internal.
13744 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13746         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13747         test-skeleton.c.
13749 2014-11-05  Will Newton  <will.newton@linaro.org>
13751         * benchtests/Makefile: (bench-malloc): Add malloc thread
13752         scalability benchmark.
13753         * benchtests/bench-malloc-threads.c: New file.
13755 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
13757         * sysdeps/aarch64/strchrnul.S: New file.
13759 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13761         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13762         definition.
13763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13764         Likwise.
13765         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13766         Likewise.
13767         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13768         Likewise.
13769         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13770         Likewise.
13771         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13772         Likewise.
13774 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
13776         * catgets/test-gencat.c: Use test-skeleton.c.
13777         * catgets/tst-catgets.c: Likewise.
13778         * csu/tst-empty.c: Likewise.
13779         * elf/tst-audit2.c: Likewise.
13780         * elf/tst-global1.c: Likewise.
13781         * elf/tst-pathopt.c: Likewise.
13782         * elf/tst-piemod1.c: Likewise.
13783         * elf/tst-tls10.c: Likewise.
13784         * elf/tst-tls11.c: Likewise.
13785         * elf/tst-tls12.c: Likewise.
13786         * gnulib/tst-gcc.c: Likewise.
13787         * iconvdata/tst-e2big.c: Likewise.
13788         * iconvdata/tst-loading.c: Likewise.
13789         * iconv/tst-iconv1.c: Likewise.
13790         * iconv/tst-iconv2.c: Likewise.
13791         * inet/test-inet6_opt.c: Likewise.
13792         * inet/tst-gethnm.c: Likewise.
13793         * inet/tst-network.c: Likewise.
13794         * inet/tst-ntoa.c: Likewise.
13795         * intl/tst-codeset.c: Likewise.
13796         * intl/tst-gettext2.c: Likewise.
13797         * intl/tst-gettext3.c: Likewise.
13798         * intl/tst-ngettext.c: Likewise.
13799         * intl/tst-translit.c: Likewise.
13800         * io/test-stat.c: Likewise.
13801         * libio/test-fmemopen.c: Likewise.
13802         * libio/tst-freopen.c: Likewise.
13803         * libio/tst-sscanf.c: Likewise.
13804         * libio/tst-ungetwc1.c: Likewise.
13805         * libio/tst-ungetwc2.c: Likewise.
13806         * libio/tst-widetext.c: Likewise.
13807         * localedata/tst-ctype.c: Likewise.
13808         * localedata/tst-digits.c: Likewise.
13809         * localedata/tst-leaks.c: Likewise.
13810         * localedata/tst-mbswcs1.c: Likewise.
13811         * localedata/tst-mbswcs2.c: Likewise.
13812         * localedata/tst-mbswcs3.c: Likewise.
13813         * localedata/tst-mbswcs4.c: Likewise.
13814         * localedata/tst-mbswcs5.c: Likewise.
13815         * localedata/tst-setlocale.c: Likewise.
13816         * localedata/tst-trans.c: Likewise.
13817         * localedata/tst-wctype.c: Likewise.
13818         * localedata/tst-xlocale1.c: Likewise.
13819         * login/tst-grantpt.c: Likewise.
13820         * malloc/tst-calloc.c: Likewise.
13821         * malloc/tst-malloc.c: Likewise.
13822         * malloc/tst-mallocstate.c: Likewise.
13823         * malloc/tst-mcheck.c: Likewise.
13824         * malloc/tst-mtrace.c: Likewise.
13825         * malloc/tst-obstack.c: Likewise.
13826         * math/atest-exp2.c: Likewise.
13827         * math/atest-exp.c: Likewise.
13828         * math/atest-sincos.c: Likewise.
13829         * math/test-matherr.c: Likewise.
13830         * math/test-misc.c: Likewise.
13831         * math/test-powl.c: Likewise.
13832         * math/tst-definitions.c: Likewise.
13833         * misc/tst-dirname.c: Likewise.
13834         * misc/tst-efgcvt.c: Likewise.
13835         * misc/tst-fdset.c: Likewise.
13836         * misc/tst-hsearch.c: Likewise.
13837         * misc/tst-mntent2.c: Likewise.
13838         * nptl/tst-sem7.c: Likewise.
13839         * nptl/tst-sem8.c: Likewise.
13840         * nptl/tst-sem9.c: Likewise.
13841         * nss/test-netdb.c: Likewise.
13842         * posix/tst-fnmatch.c: Likewise.
13843         * posix/tst-getlogin.c: Likewise.
13844         * posix/tst-gnuglob.c: Likewise.
13845         * posix/tst-mmap.c: Likewise.
13846         * pwd/tst-getpw.c: Likewise.
13847         * resolv/tst-inet_ntop.c: Likewise.
13848         * rt/tst-timer.c: Likewise.
13849         * stdio-common/test-fseek.c: Likewise.
13850         * stdio-common/test-popen.c: Likewise.
13851         * stdio-common/test-vfprintf.c: Likewise.
13852         * stdio-common/tst-cookie.c: Likewise.
13853         * stdio-common/tst-fileno.c: Likewise.
13854         * stdio-common/tst-gets.c: Likewise.
13855         * stdio-common/tst-obprintf.c: Likewise.
13856         * stdio-common/tst-perror.c: Likewise.
13857         * stdio-common/tst-sprintf2.c: Likewise.
13858         * stdio-common/tst-sprintf3.c: Likewise.
13859         * stdio-common/tst-sprintf.c: Likewise.
13860         * stdio-common/tst-swprintf.c: Likewise.
13861         * stdio-common/tst-tmpnam.c: Likewise.
13862         * stdio-common/tst-unbputc.c: Likewise.
13863         * stdio-common/tst-wc-printf.c: Likewise.
13864         * stdlib/tst-environ.c: Likewise.
13865         * stdlib/tst-fmtmsg.c: Likewise.
13866         * stdlib/tst-limits.c: Likewise.
13867         * stdlib/tst-rand48-2.c: Likewise.
13868         * stdlib/tst-rand48.c: Likewise.
13869         * stdlib/tst-random2.c: Likewise.
13870         * stdlib/tst-random.c: Likewise.
13871         * stdlib/tst-strtol.c: Likewise.
13872         * stdlib/tst-strtoll.c: Likewise.
13873         * stdlib/tst-tls-atexit.c: Likewise.
13874         * stdlib/tst-xpg-basename.c: Likewise.
13875         * string/test-ffs.c: Likewise.
13876         * string/tst-bswap.c: Likewise.
13877         * string/tst-inlcall.c: Likewise.
13878         * string/tst-strtok.c: Likewise.
13879         * string/tst-strxfrm.c: Likewise.
13880         * sysdeps/x86_64/tst-audit10.c: Likewise.
13881         * sysdeps/x86_64/tst-audit3.c: Likewise.
13882         * sysdeps/x86_64/tst-audit4.c: Likewise.
13883         * sysdeps/x86_64/tst-audit5.c: Likewise.
13884         * time/tst-ftime_l.c: Likewise.
13885         * time/tst-getdate.c: Likewise.
13886         * time/tst-mktime3.c: Likewise.
13887         * time/tst-mktime.c: Likewise.
13888         * time/tst-posixtz.c: Likewise.
13889         * time/tst-strptime2.c: Likewise.
13890         * time/tst-strptime3.c: Likewise.
13891         * wcsmbs/tst-btowc.c: Likewise.
13892         * wcsmbs/tst-mbrtowc.c: Likewise.
13893         * wcsmbs/tst-mbsrtowcs.c: Likewise.
13894         * wcsmbs/tst-wchar-h.c: Likewise.
13895         * wcsmbs/tst-wcpncpy.c: Likewise.
13896         * wcsmbs/tst-wcrtomb.c: Likewise.
13897         * wcsmbs/tst-wcsnlen.c: Likewise.
13898         * wcsmbs/tst-wcstof.c: Likewise.
13900 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #14132]
13903         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13904         INTDEF.
13905         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13906         declaration.
13907         (_dl_mcount): Use rtld_hidden_proto.
13908         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13909         _dl_mcount.
13910         * elf/rtld.c (_rtld_global_ro): Likewise.
13912         [BZ #14132]
13913         * elf/dl-init.c (_dl_init): Don't use INTDEF.
13914         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13915         of _dl_init_internal.
13916         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13917         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13918         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13919         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13920         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13921         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13922         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13923         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13924         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13925         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13926         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13927         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13928         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13929         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13930         * sysdeps/tile/dl-start.S (_start): Likewise.
13931         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13932         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13934         [BZ #14132]
13935         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13936         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13937         (rtld_progname): Make macro definition unconditional.
13938         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13939         INTDEF.
13940         (dlmopen_doit): Do not use INTUSE with _dl_argv.
13941         (dl_main): Likewise.
13942         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13943         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13944         instead of _dl_argv_internal.
13945         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13946         __GI__dl_argv instead of INTUSE(_dl_argv).
13947         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13948         __GI__dl_argv instead of _dl_argv_internal.
13950         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13951         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13952         macro.
13953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13954         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13955         New macro.
13956         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13957         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13958         macro.
13959         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13960         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13962 2014-11-04  Andreas Schwab  <schwab@suse.de>
13964         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13966 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13968         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13969         mtvsrd instruction in binary form.
13971 2014-11-03  Andreas Schwab  <schwab@suse.de>
13973         [BZ #17522]
13974         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13975         for less than MB_LEN_MAX use a local buffer of that size.
13976         * libio/tst-fputws.c: New file.
13977         * libio/Makefile (tests): Add tst-fputws.
13979 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13981         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13982         the size of the fpu_fr.fpu_dregs[] array.
13984 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13986         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13987         (__nanosleep): Do not define as alias.
13988         (nanosleep): Define as alias of __nanosleep.
13989         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13990         __libc_nanosleep name.
13992 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13994         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13995         install.texi in comment.
13997 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13999         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
14000         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
14001         ... add here and use lwsync or sync ...
14002         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
14003         ... and add here using lwsync.
14005 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
14007         * elf/dl-machine-reject-phdr.h: New file.
14008         * elf/dl-load.c: #include that.
14009         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
14010         if that returned true.
14012 2014-10-31  Roland McGrath  <roland@hack.frob.com>
14014         [BZ #17496]
14015         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
14016         gen-as-const-headers chunk.  Add a big scare comment after the last
14017         safe place to touch before-compile.
14019 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
14021         * manual/install.texi (Tools for Compilation): Update autoconf
14022         version requirements.
14023         * INSTALL: Regenerated.
14025         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
14026         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
14027         (__libc_pselect): Likewise.
14029         [BZ #14138]
14030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14035 2014-10-31  Torvald Riegel  <triegel@redhat.com>
14037         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
14038         correct barrier instruction.
14039         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
14040         Likewise.
14041         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
14042         Likewise.
14044 2014-10-30  Roland McGrath  <roland@hack.frob.com>
14046         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
14047         after defining inlines.  Instead, just use parens to defeat macro
14048         expansion of __isctype in its declaration.
14050 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
14052         * include/sys/uio.h (__libc_readv): Remove declaration.
14053         (__libc_writev): Likewise.
14054         * misc/readv.c (__libc_readv): Rename to __readv.
14055         (__readv): Do not define as alias.
14056         (readv): Define as alias of __readv.
14057         * misc/writev.c (__libc_writev): Rename to __writev.
14058         (__writev): Do not define as alias.
14059         (writev): Define as alias of __writev.
14060         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
14061         (__readv): Do not define as alias.
14062         (readv): Define unconditionally as alias of __readv.
14063         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
14064         (__writev): Do not define as alias.
14065         (writev): Define unconditionally as alias of __writev.
14066         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
14067         name.
14068         (writev): Do not define __libc_writev name.
14070 2014-10-30  Roland McGrath  <roland@hack.frob.com>
14072         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
14073         (convert_charseq): New function, broken out of ...
14074         (use_from_charmap): ... here.  Call it.
14075         (use_to_charmap): Use convert_charseq and free instead of duplicating
14076         its code with a variable-length stack struct.
14078 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
14080         * include/fcntl.h (__libc_creat): Remove declaration.
14081         * io/creat.c (__libc_creat): Rename to creat.
14082         (creat): Do not define as alias.
14083         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
14084         of creat instead of __libc_creat.
14085         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
14086         to creat.
14087         (creat): Do not define as alias.
14088         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
14089         __libc_creat.
14090         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
14091         __libc_creat name.
14092         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
14093         Likewise.
14095 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
14097         * manual/llio.texi: Add comments discussing why write() may be
14098         considered MT-unsafe on Linux.
14100 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
14102         * dl-load.c (local_strdup): Remove.
14103         (expand_dynamic_string_token): Use __strdup.
14104         (decompose_rpath): Likewise.
14105         (_dl_map_object): Likewise.
14107 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
14109         [BZ #14132]
14110         * sysdeps/generic/unwind-dw2-fde.c
14111         (__register_frame_info_bases_internal): Do not declare.
14112         (__register_frame_info_table_bases_internal): Likewise.
14113         (__deregister_frame_info_bases_internal): Likewise.
14114         (__register_frame_info_bases): Declare and use hidden_proto before
14115         definition.  Use hidden_def instead of INTDEF.
14116         (__register_frame_info_table_bases): Likewise.
14117         (__deregister_frame_info_bases): Likewise.
14118         (__register_frame_info): Do not use INTUSE.
14119         (__register_frame): Likewise.
14120         (__register_frame_info_table): Likewise.
14121         (__register_frame_table): Likewise.
14122         (__deregister_frame_info): Likewise.
14123         (__deregister_frame): Likewise.
14125 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
14127         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14128         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
14129         not undefine.
14130         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
14131         Likewise.
14132         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
14133         Likewise.
14135 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
14137         [BZ #14138]
14138         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
14139         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
14140         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
14141         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
14142         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
14143         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
14144         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
14145         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
14146         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
14147         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
14148         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
14149         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
14150         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
14151         syscall.
14152         (setfsuid): Likewise.
14153         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
14154         (setfsuid): Likewise.
14155         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
14156         (setfsuid): Likewise.
14157         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
14158         Likewise.
14159         (setfsuid): Likewise.
14160         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
14161         (setfsuid): Likewise.
14162         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
14163         Likewise.
14164         (setfsuid): Likewise.
14166 2014-10-27  Andreas Schwab  <schwab@suse.de>
14168         [BZ #17501]
14169         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
14170         check for Slow_SSE4_2 feature bit.
14171         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
14172         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14173         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
14174         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
14176 2014-10-24  Roland McGrath  <roland@hack.frob.com>
14178         * configure.ac: Validate compiler version with a empirical test of
14179         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
14180         $CC -v output.
14181         * configure: Regenerated.
14183         * inet/htons.c (htons): Prototypify.
14184         * inet/htonl.c (htonl): Likewise.
14186 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14188         * string/strncat.c (strncat): Improve performance by using strlen.
14190 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14192         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
14194 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14196         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
14197         Call libc_fetestexcept_aarch64.
14199 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14201         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
14202         Call libc_feholdexcept_aarch64.
14204 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14206         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
14207         Call get_rounding_mode.
14209 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14211         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
14212         Simplify logic.
14214 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
14216         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
14217         Simplify logic.
14219 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
14221         [BZ #14138]
14222         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
14223         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
14224         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
14225         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
14226         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
14227         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
14228         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
14229         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
14230         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
14231         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
14232         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
14233         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
14234         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
14235         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
14236         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
14237         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
14238         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
14239         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
14240         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
14241         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
14242         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
14243         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
14244         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
14245         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
14246         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
14247         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
14248         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
14249         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
14250         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14251         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14252         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14253         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14254         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14255         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14256         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14257         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14258         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14259         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14260         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14261         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14262         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14263         syscall.
14264         (geteuid): Likewise.
14265         (getgid): Likewise.
14266         (getuid): Likewise.
14267         (getresgid): Likewise.
14268         (getresuid): Likewise.
14269         (getgroups): Likewise.
14270         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14271         (geteuid): Likewise.
14272         (getgid): Likewise.
14273         (getuid): Likewise.
14274         (getresgid): Likewise.
14275         (getresuid): Likewise.
14276         (getgroups): Likewise.
14277         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14278         (geteuid): Likewise.
14279         (getgid): Likewise.
14280         (getuid): Likewise.
14281         (getresgid): Likewise.
14282         (getresuid): Likewise.
14283         (getgroups): Likewise.
14284         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14285         Likewise.
14286         (geteuid): Likewise.
14287         (getgid): Likewise.
14288         (getuid): Likewise.
14289         (getresgid): Likewise.
14290         (getresuid): Likewise.
14291         (getgroups): Likewise.
14292         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14293         (geteuid): Likewise.
14294         (getgid): Likewise.
14295         (getuid): Likewise.
14296         (getresgid): Likewise.
14297         (getresuid): Likewise.
14298         (getgroups): Likewise.
14299         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14300         Likewise.
14301         (geteuid): Likewise.
14302         (getgid): Likewise.
14303         (getuid): Likewise.
14304         (getgroups): Likewise.
14306         [BZ #14138]
14307         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14308         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14309         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14310         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14311         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14312         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14313         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14314         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14315         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14316         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14317         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14318         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14319         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14320         __chown.
14321         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14322         (lchown): Likewise.
14323         (fchown): Likewise.
14324         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14325         Likewise.
14326         (lchown): Likewise.
14327         (fchown): Likewise.
14328         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14329         (lchown): Likewise.
14330         (fchown): Likewise.
14331         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14332         Likewise.
14333         (lchown): Likewise.
14334         (fchown): Likewise.
14336 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14338         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14339         Simplify logic.
14341 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14343         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14344         Cleanup logic.
14346 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14348         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14349         Remove unused include.
14351 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14353         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14354         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14355         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14356         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14358 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
14359             Helge Deller <deller@gmx.de>
14361         [BZ #17508]
14362         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14363         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14364         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14366 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
14368         [BZ #14132]
14369         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14370         Remove macro definition.
14371         (__ashrdi3_v_glibc20): Likewise.
14372         (__lshrdi3_v_glibc20): Likewise.
14373         (__cmpdi2_v_glibc20): Likewise.
14374         (__ucmpdi2_v_glibc20): Likewise.
14375         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14376         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14377         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14378         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14379         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14380         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14382 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14384         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14385         old GNU extension [0] syntax.
14386         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14387         alloca rather than an array member with variable length.
14388         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14389         * nscd/nscd.c (invalidate_db): New function, broken out of ...
14390         (parse_opt): ... here.  Likewise use alloca there.
14391         Validate the -i argument before checking for rootness.
14392         (send_shutdown): New function, broken out of ...
14393         (parse_opt): ... here.
14395 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14397         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14398         macro to get at the _rt_local_ro field.
14399         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14400         ([PIC] case) or _dl_hwcap ([!PIC] case).
14401         * sysdeps/arm/setjmp.S: Likewise.
14403         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14404         * sysdeps/arm/configure.ac: New check to define it.
14405         * sysdeps/arm/configure: Regenerated.
14406         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14407         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14408         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14409         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14410         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14411         Use move/movt pair instead of a load.
14412         (LDST_GLOBAL): Macro removed.
14413         (LDR_GLOBAL): New macro replaces it.
14414         (LDR_HIDDEN): New macro.
14415         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14416         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14418         * setjmp/tst-setjmp-static.c: New file.
14419         * setjmp/Makefile (tests): Add it.
14420         (tests-static): New variable.
14422 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
14424         [BZ #17485]
14425         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14427 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
14429         [BZ #14132]
14430         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14432 2014-10-21  Roland McGrath  <roland@hack.frob.com>
14434         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14436 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14438         * io/fts.c (dirent_not_directory): New function.
14439         (fts_build): Call it.
14441 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14443         * nptl/version.c (__nptl_main): Use normal __write rather than
14444         INTERNAL_SYSCALL.
14445         (banner): Update copyright years.
14447         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14448         gettimeofday.
14449         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14450         * nptl/pthread_cond_timedwait.c: Likewise.
14451         * nptl/pthread_mutex_timedlock.c: Likewise.
14452         * nptl/sem_timedwait.c: Likewise.
14454         * sysdeps/nptl/bits/libc-lock.h
14455         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14456         (__libc_lock_init_recursive): Return void, not 0.
14457         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14458         (__libc_rwlock_init): Likewise.
14459         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14461 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14463         [BZ #15215]
14464         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14465         (__pthread_once_slow): ... here.
14466         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14467         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14469 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14471         [BZ #15215]
14472         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14473         __PTHREAD_ONCE_FORK_GEN_INCR): New.
14474         * sysdeps/nptl/fork.c (__libc_fork): Use them.
14475         * nptl/pthread_once.c (__pthread_once): Likewise.
14476         Update comments.
14478 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
14480         [BZ #14138]
14481         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14482         name.
14483         (writev): Use __libc_writev as strong name.
14484         * sysdeps/unix/sysv/linux/readv.c: Remove file.
14485         * sysdeps/unix/sysv/linux/writev.c: Likewise.
14487 2014-10-17  Roland McGrath  <roland@hack.frob.com>
14489         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14491         * sysdeps/i386/nptl/tls.h
14492         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14493         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14494         New macros.
14495         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14496         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14497         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14498         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14499         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14500         Call CHECK_THREAD_SYSINFO instead of doing an assert.
14502         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14503         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14504         on [__NR_futex].
14505         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14506         broken out of ...
14507         (__pthread_mutex_init): ... here.  Call it.
14508         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14509         Conditionalize PI cases on [__NR_futex].
14510         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14511         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14512         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14514         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14515         conditional on [SIGSETXID].
14516         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14517         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14518         is defined.  Likewise for SIGSETXID.
14519         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14520         Conditionalize definitions on [SIGSETXID].
14521         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14522         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14523         unblocking on [SIGCANCEL].
14525         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14526         [__NR_set_robust_list].
14528 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14530         * string/strcoll_l.c (get_next_seq): Fix up formatting.
14531         (do_compare): Likewise.
14533 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
14535         [BZ #15884]
14536         * string/strcoll_l.c: Don't include stdio.h.
14537         (coll_seq): Remove members idxarr and rulearr.
14538         (get_next_seq_cached): Remove function.
14539         (get_next_seq): Likewise.
14540         (get_next_seq_nocache): Rename to get_next_seq.
14541         (do_compare): Remove function.
14542         (do_compare_nocache): Rename to do_compare.
14543         (STRCOLL): Remove weight and rules cache.
14545 2014-10-16  Roland McGrath  <roland@hack.frob.com>
14547         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14548         * sysdeps/arm/sfp-machine.h: ... to here.
14549         * sysdeps/arm/Implies: Remove arm/soft-fp.
14551 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
14553         * conform/data/sys/utsname.h-data (*_t): Allow.
14554         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14555         [POSIX] (WEXITED): Do not expect constant.
14556         [POSIX] (WSTOPPED): Likewise.
14557         [POSIX] (WNOHANG): Likewise.
14558         [POSIX] (WNOWAIT): Likewise.
14559         [POSIX] (siginfo_t): Do not expect type or elements.
14560         [POSIX] (pid_t): Do not expect type.
14561         [POSIX] (signal.h): Do not allow header.
14562         [POSIX] (sys/resource.h): Likewise.
14563         [POSIX] (si_*): Do not allow pattern.
14564         [POSIX] (W*): Likewise.
14565         [POSIX] (P_*): Likewise.
14566         [POSIX] (BUS_*): Likewise.
14567         [POSIX] (CLD_*): Likewise.
14568         [POSIX] (FPE_*): Likewise.
14569         [POSIX] (ILL_*): Likewise.
14570         [POSIX] (POLL_*): Likewise.
14571         [POSIX] (SEGV_*): Likewise.
14572         [POSIX] (SI_*): Likewise.
14573         [POSIX] (TRAP_*): Likewise.
14574         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14575         variable.
14577 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14579         [BZ #12926]
14580         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14581         infinite loop when __recvmsg returns 0.
14583 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
14585         * CANCEL-FCT-WAIVE: Remove file.
14586         * CANCEL-FILE-WAIVE: Likewise.
14588         [BZ #14132]
14589         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14590         instead of INTVARDEF.
14591         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14592         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14593         rtld_hidden_data_def instead of INTVARDEF.
14594         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14595         * elf/dl-deps.c (expand_dst): Likewise.
14596         * elf/dl-load.c (_dl_dst_count): Likewise.
14597         (_dl_dst_substitute): Likewise.
14598         (decompose_rpath): Likewise.
14599         (_dl_init_paths): Likewise.
14600         (open_path): Likewise.
14601         (_dl_map_object): Likewise.
14602         * elf/rtld.c (dl_main): Likewise.
14603         (process_dl_audit): Likewise.
14604         (process_envvars): Likewise.
14605         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14606         Remove declaration.
14607         (__libc_enable_secure): Use rtld_hidden_proto.
14609 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14611         * elf/dl-load.c
14612         (add_path): New function broken out of _dl_rtld_di_serinfo.
14613         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
14615 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
14617         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14618         parentheses around macro arguments.
14619         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14620         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14621         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14622         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14623         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14624         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14625         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14626         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14627         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14629         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14630         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14631         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14632         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14633         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14634         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14635         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14636         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14637         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14638         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14639         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14640         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14641         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14642         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14643         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14644         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14645         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14647         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14648         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14649         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14650         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14651         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14652         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14653         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14654         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14655         Likewise.
14656         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14657         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14658         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14659         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14660         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14663         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14664         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14665         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14666         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14667         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14668         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14669         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14670         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14671         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14672         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14673         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14674         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14675         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14676         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14677         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14678         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14679         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14680         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14681         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14682         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14683         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14684         (_FP_FRAC_SRS_1): Likewise.
14685         (_FP_FRAC_CLZ_1): Likewise.
14686         (_FP_MUL_MEAT_1_imm): Likewise.
14687         (_FP_MUL_MEAT_1_wide): Likewise.
14688         (_FP_MUL_MEAT_1_hard): Likewise.
14689         (_FP_SQRT_MEAT_1): Likewise.
14690         (_FP_FRAC_ASSEMBLE_1): Likewise.
14691         (_FP_FRAC_DISASSEMBLE_1): Likewise.
14692         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14693         (__FP_CLZ_2): Likewise.
14694         (_FP_MUL_MEAT_2_wide): Likewise.
14695         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14696         (_FP_MUL_MEAT_2_gmp): Likewise.
14697         (_FP_MUL_MEAT_2_120_240_double): Likewise.
14698         (_FP_SQRT_MEAT_2): Likewise.
14699         (_FP_FRAC_ASSEMBLE_2): Likewise.
14700         (_FP_FRAC_DISASSEMBLE_2): Likewise.
14701         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14702         (_FP_FRAC_CLZ_4): Likewise.
14703         (_FP_MUL_MEAT_4_wide): Likewise.
14704         (_FP_MUL_MEAT_4_gmp): Likewise.
14705         (_FP_SQRT_MEAT_4): Likewise.
14706         (_FP_FRAC_ASSEMBLE_4): Likewise.
14707         (_FP_FRAC_DISASSEMBLE_4): Likewise.
14708         * soft-fp/op-common.h (_FP_CMP): Likewise.
14709         (_FP_CMP_EQ): Likewise.
14710         (_FP_CMP_UNORD): Likewise.
14711         (_FP_TO_INT): Likewise.
14712         (_FP_FROM_INT): Likewise.
14713         [!__FP_CLZ] (__FP_CLZ): Likewise.
14714         (_FP_DIV_HELP_imm): Likewise.
14715         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14716         Likewise.
14717         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14718         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14719         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14720         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14721         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14722         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14723         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14724         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14725         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14726         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14727         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14728         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14729         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14730         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14731         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14732         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14733         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14734         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14735         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14736         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14737         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14738         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14739         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14740         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14741         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14742         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14743         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14744         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14745         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14746         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14747         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14748         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14749         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14750         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14751         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14752         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14753         (FP_UNPACK_RAW_SP): Likewise.
14754         (FP_PACK_RAW_S): Likewise.
14755         (FP_PACK_RAW_SP): Likewise.
14756         (FP_UNPACK_S): Likewise.
14757         (FP_UNPACK_SP): Likewise.
14758         (FP_UNPACK_SEMIRAW_S): Likewise.
14759         (FP_UNPACK_SEMIRAW_SP): Likewise.
14760         (FP_PACK_S): Likewise.
14761         (FP_PACK_SP): Likewise.
14762         (FP_PACK_SEMIRAW_S): Likewise.
14763         (FP_PACK_SEMIRAW_SP): Likewise.
14764         (_FP_SQRT_MEAT_S): Likewise.
14765         (FP_CMP_S): Likewise.
14766         (FP_CMP_EQ_S): Likewise.
14767         (FP_CMP_UNORD_S): Likewise.
14768         (FP_TO_INT_S): Likewise.
14769         (FP_FROM_INT_S): Likewise.
14771         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14773         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14774         (FP_EX_INVALID_IMZ): Likewise.
14775         (FP_EX_INVALID_IMZ_FMA): Likewise.
14776         (FP_EX_INVALID_ISI): Likewise.
14777         (FP_EX_INVALID_ZDZ): Likewise.
14778         (FP_EX_INVALID_IDI): Likewise.
14779         (FP_EX_INVALID_SQRT): Likewise.
14780         (FP_EX_INVALID_CVI): Likewise.
14781         (FP_EX_INVALID_VC): Likewise.
14782         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14783         "invalid" exceptions.
14784         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14785         (_FP_ADD_INTERNAL): Likewise.
14786         (_FP_MUL): Likewise.
14787         (_FP_FMA): Likewise.
14788         (_FP_DIV): Likewise.
14789         (_FP_CMP_CHECK_NAN): Likewise.
14790         (_FP_SQRT): Likewise.
14791         (_FP_TO_INT): Likewise.
14792         (FP_EXTEND): Likewise.
14794 2014-10-09  Allan McRae  <allan@archlinux.org>
14796         * po/fr.po: Update French translation from translation project.
14798 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
14800         [BZ #14132]
14801         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14802         of INTDEF.
14803         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14804         (__cxa_atexit): Use libc_hidden_proto.
14805         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14807         [BZ #14132]
14808         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14809         declaration.
14810         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14811         [!_ISOMAC] (__iswspace_l_internal): Likewise.
14812         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14813         [!_ISOMAC] (__iswctype_internal): Likewise.
14814         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14815         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14816         alias.
14817         (fcntl): Remove __fcntl_internal alias.
14818         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14819         __connect_internal alias.
14820         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14821         Likewise.
14823         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14824         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14825         FP_DENORM_ZERO.
14826         (_FP_CHECK_FLUSH_ZERO): New macro.
14827         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14828         (_FP_CMP): Likewise.
14829         (_FP_CMP_EQ): Likewise.
14830         (_FP_TO_INT): Do not set inexact for subnormal arguments if
14831         FP_DENORM_ZERO.
14832         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14833         (FP_TRUNC): Likewise.
14835         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14836         treated as invalid conversion, not as normal exponent.
14838         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14839         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
14840         (_FP_CMP_EQ): Likewise.
14841         (_FP_CMP_UNORD): Likewise.
14842         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14843         (FP_CMP_EQ_D): Likewise.
14844         (FP_CMP_UNORD_D): Likewise.
14845         * soft-fp/extended.h (FP_CMP_E): Likewise.
14846         (FP_CMP_EQ_E): Likewise.
14847         (FP_CMP_UNORD_E): Likewise.
14848         * soft-fp/quad.h (FP_CMP_Q): Likewise.
14849         (FP_CMP_EQ_Q): Likewise.
14850         (FP_CMP_UNORD_Q): Likewise.
14851         * soft-fp/single.h (FP_CMP_S): Likewise.
14852         (FP_CMP_EQ_S): Likewise.
14853         (FP_CMP_UNORD_S): Likewise.
14854         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14855         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14856         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14857         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14858         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14859         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14860         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14861         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14862         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14863         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14864         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14865         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14866         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14867         to FP_CMP_Q.
14868         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14869         FP_CMP_Q.
14870         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14871         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14872         FP_CMP_EQ_Q.
14873         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14874         FP_CMP_Q.
14875         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14876         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14877         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14878         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14879         FP_CMP_EQ_Q.
14880         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14881         FP_CMP_Q.
14882         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14883         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14884         FP_CMP_EQ_Q.
14885         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14886         FP_CMP_Q.
14887         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14888         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14889         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14890         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14891         FP_CMP_EQ_Q.
14893         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14894         a subnormal result, set the underflow exception if trapping on
14895         underflow is enabled.
14896         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14897         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14898         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14899         redefine to 0.
14900         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14901         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14902         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14903         * soft-fp/extendxftf2.c (__extendxftf2): Use
14904         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14906         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14907         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14908         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14909         FP_HANDLE_EXCEPTIONS.
14910         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14911         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14912         FP_HANDLE_EXCEPTIONS.
14913         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14914         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14915         FP_HANDLE_EXCEPTIONS.
14916         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14917         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14918         FP_HANDLE_EXCEPTIONS.
14920 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
14922         [BZ #14132]
14923         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14924         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14925         use INTUSE.
14926         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14927         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14928         Remove alias.
14929         (__adjtimex): Define using libc_hidden_ver.
14930         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14931         Remove declaration.
14932         (ntp_gettime): Call __adjtimex directly.
14933         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14934         Remove declaration.
14935         (ntp_gettimex): Call __adjtimex directly.
14936         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14937         __adjtimex_internal alias.
14939 2014-10-08  Roland McGrath  <roland@hack.frob.com>
14941         [BZ #17460]
14942         * nscd/nscd.c (more_help): Rewrite list of tables collection
14943         using xstrdup and asprintf.
14945         * nscd/nscd_conf.c: Remove local xstrdup declaration.
14947 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14948             Roland McGrath  <roland@hack.frob.com>
14950         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14951         (do_lookup_unique): ... local function 'enter' here; update callers.
14953 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
14955         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14956         compat_symbol calls on [SHARED].
14957         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14958         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14959         Remove.
14960         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14961         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14962         (oldsetrlimit): Remove.
14963         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14965         (lchown): New syscall entry.
14966         (oldsetrlimit): Remove.
14967         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14968         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14969         (oldsetrlimit): Remove.
14970         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14972         [BZ #14138]
14973         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14974         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14975         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14976         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14977         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14978         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14979         (fchown): Likewise.
14980         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14981         (fchown): Likewise.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14983         Likewise.
14985 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14987         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14988         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14989         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14990         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14991         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14992         Likewise.
14993         (__old_sem_post): Likewise.
14995 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14997         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14998         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14999         HAVE_CLOCK_GETTIME_VSYSCALL macros.
15000         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
15001         Use INLINE_VSYSCALL macro.
15002         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
15003         __vdso_clock_gettime.
15004         * sysdeps/unix/sysv/linux/tile/init-first.c
15005         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
15006         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
15007         __vdso_clock_gettime.
15009         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
15010         to set up frame more cleanly.
15012         * sysdeps/tile/memcmp.c: New file.
15014         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
15016         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
15017         * sysdeps/tile/tilegx/strcasestr.c: New file.
15018         * sysdeps/tile/tilegx/strnlen.c: New file.
15019         * sysdeps/tile/tilegx/strstr.c: New file.
15021         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
15023 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
15025         * nptl/tst-setuid3.c: Write errors to stdout.
15027 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15029         * elf/dl-deps.c
15030         (preload): New functions broken out of _dl_map_object_deps.
15031         (_dl_map_object_deps):  Remove a nested function. Update call sites.
15033 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
15035         [BZ #14138]
15036         * sysdeps/unix/sysv/linux/execve.c: Remove file.
15037         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
15039 2014-10-01  Steve Ellcey  <sellcey@mips.com>
15041         * sysdeps/mips/strcmp.S: New.
15043 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
15045         [BZ #14138]
15046         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
15047         (linkat): Likewise.
15048         (mkdirat): Likewise.
15049         (readlinkat): Likewise.
15050         (renameat): Likewise.
15051         (symlinkat): Likewise.
15052         (unlinkat): Likewise.
15053         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
15054         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
15055         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
15056         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
15057         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
15058         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
15059         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
15061 2014-09-30  Will Newton  <will.newton@linaro.org>
15063         * math/math.h: Define long double math functions if
15064         _LIBC_TEST is defined.
15065         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
15067         * localedata/Makefile: Move assignment to tests-special
15068         into an ifdef testing run-built-tests.
15069         * timezone/Makefile: Likewise.
15071 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
15073         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
15074         with $(BASH) not $(SHELL).
15076 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
15077             Matthew LeGendre  <legendre1@llnl.gov>
15079         [BZ #17411]
15080         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
15081         l_reloc_result.
15083 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15085         * stdio-common/printf_fp.c
15086         (hack_digit): New function, broken out of ...
15087         (__printf_fp): ... local function here.  Update call sites.
15088         hack_digit now takes an additional parameter that is a pointer
15089         to a struct of the referenced locals.  Those locals moved inside
15090         the struct and references updated.
15092 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
15094         * aclocal.m4: Require autoconf 2.69.
15095         * configure: Regenerated.
15096         * sysdeps/aarch64/configure: Likewise.
15097         * sysdeps/alpha/configure: Likewise.
15098         * sysdeps/arm/armv7/configure: Likewise.
15099         * sysdeps/arm/configure: Likewise.
15100         * sysdeps/ia64/configure: Likewise.
15101         * sysdeps/mach/configure: Likewise.
15102         * sysdeps/mips/configure: Likewise.
15103         * sysdeps/s390/configure: Likewise.
15104         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
15105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
15107         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
15108         file.
15109         * sysdeps/ia64/configure.ac: Likewise.
15111 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
15113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
15114         specify symbol version for ld.so.  Do not include entry for
15115         libpthread.
15116         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15117         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15118         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15120         [BZ #14171]
15121         * Makeconfig [$(build-shared) = yes]
15122         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
15123         makefiles.
15124         [$(build-shared) = yes && $(soversions.mk-done) = t]
15125         ($(common-objpfx)gnu/lib-names.h): Remove rule.
15126         [$(build-shared) = yes && $(soversions.mk-done) = t]
15127         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
15128         to Makerules.
15129         [$(build-shared) = yes && $(soversions.mk-done) = t]
15130         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
15131         here.
15132         [$(build-shared) = yes && $(soversions.mk-done) = t]
15133         (common-generated): Don't append gnu/lib-names.h and
15134         gnu/lib-names.stmp here.
15135         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
15136         (lib-names-h-abi): New variable.
15137         [$(build-shared) = yes && $(soversions.mk-done) = t]
15138         (lib-names-stmp-abi): Likewise.
15139         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15140         abi-variants] (before-compile): Append
15141         $(common-objpfx)$(lib-names-h-abi).
15142         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15143         abi-variants] (common-generated): Append gnu/lib-names.h.
15144         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15145         abi-variants] (install-others-nosubdir): Depend on
15146         $(inst_includedir)/$(lib-names-h-abi).
15147         [$(build-shared) = yes && $(soversions.mk-done) = t &&
15148         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
15149         [$(build-shared) = yes && $(soversions.mk-done) = t]
15150         ($(common-objpfx)$(lib-names-h-abi)): New rule.
15151         [$(build-shared) = yes && $(soversions.mk-done) = t]
15152         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
15153         [$(build-shared) = yes && $(soversions.mk-done) = t]
15154         (common-generated): Append $(lib-names-h-abi) and
15155         $(lib-names-stmp-abi).
15156         * scripts/lib-names.awk: Do not handle multi being set.
15157         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
15158         Remove variable.
15159         (abi-lp64_be-ld-soname): Likewise.
15160         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
15161         Likewise.
15162         (abi-hard-ld-soname): Likewise.
15163         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
15164         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
15165         Remove variable.
15166         (abi-o32_hard-ld-soname): Likewise.
15167         (abi-o32_soft_2008-ld-soname): Likewise.
15168         (abi-o32_hard_2008-ld-soname): Likewise.
15169         (abi-n32_soft-ld-soname): Likewise.
15170         (abi-n32_hard-ld-soname): Likewise.
15171         (abi-n32_soft_2008-ld-soname): Likewise.
15172         (abi-n32_hard_2008-ld-soname): Likewise.
15173         (abi-n64_soft-ld-soname): Likewise.
15174         (abi-n64_hard-ld-soname): Likewise.
15175         (abi-n64_soft_2008-ld-soname): Likewise.
15176         (abi-n64_hard_2008-ld-soname): Likewise.
15177         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
15178         Likewise.
15179         (abi-64-v2-ld-soname): Likewise.
15180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
15181         ld.so entries.
15182         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
15183         variable.
15184         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
15185         entry.
15186         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
15187         variable.
15188         (abi-64-ld-soname): Likewise.
15189         (abi-x32-ld-soname): Likewise.
15190         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
15191         entry.
15192         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15194 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #14138]
15197         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
15198         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
15199         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
15200         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
15201         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
15202         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
15203         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
15204         syscall entry for GLIBC_2.2 symbol version.
15205         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
15206         Likewise.
15207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
15208         (setrlimit): Likewise.
15209         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
15210         Likewise.
15212 2014-09-23  Will Newton  <will.newton@linaro.org>
15214         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
15215         _LINUX_ARM_SYSDEP_H include guard too.
15216         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
15217         define.
15219 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
15221         * sysdeps/unix/sysv/linux/eventfd.c:
15222         Make first argument unsigned.
15223         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
15224         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
15226 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
15228         * socket/recvmmsg.c (recvmmsg): Drop const argument.
15229         * socket/sys/socket.h: Likewise
15230         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
15232 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15234         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
15236 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
15238         * time/tst-ftime.c: New test.
15239         * time/Makefile (tests): Add tst-ftime.
15241 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
15243         * soft-fp/extended.h: Fix comment formatting.
15244         * soft-fp/op-1.h: Likewise.
15245         * soft-fp/op-2.h: Likewise.
15246         * soft-fp/op-4.h: Likewise.
15247         * soft-fp/op-8.h: Likewise.
15248         * soft-fp/op-common.h: Likewise.
15249         * soft-fp/soft-fp.h: Likewise.
15251         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15253 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
15255         [BZ #6652]
15256         * Makeconfig (soversions-default-setname): Remove variable.
15257         ($(common-objpfx)soversions.i): Don't pass default_setname to
15258         soversions.awk.
15259         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15260         oldest_abi to abi-versions.awk.
15261         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15262         * config.make.in (oldest-abi): Remove variable.
15263         * configure.ac (--enable-oldest-abi): Remove configure option.
15264         * configure: Regenerated.
15265         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15266         text.
15267         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15268         * scripts/soversions.awk: Do not handle default_setname variable.
15269         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15270         variable.
15271         * sysdeps/mach/hurd/configure: Regenerated.
15272         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15273         variable.
15274         * sysdeps/unix/sysv/linux/configure: Regenerated.
15276 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15278         * elf/Makefile (CFLAGS-interp.c): Remove.
15279         ($(elf-objpfx)runtime-linker.h): Generate header with linker
15280         path string.
15281         * elf/interp.c: Include generated runtime-linker.h
15283         * Makerules (lib%.so): Don't include $(+interp) in
15284         prerequisites.
15285         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15286         * dlfcn/eval.c: Remove file.
15288         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15289         macros.
15291         [BZ #17266]
15292         * misc/sys/cdefs.h: Define __extern_always_inline for clang
15293         4.2 and newer.
15295         [BZ #17370]
15296         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15298 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15299             Jakub Jelinek  <jakub@redhat.com>
15301         [BZ #17266]
15302         * libio/stdio.h: Check definition of __fortify_function
15303         instead of __extern_always_inline to include bits/stdio2.h.
15304         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15305         check if __extern_always_inline is defined.
15306         [__USE_MISC || __USE_XOPEN]: Likewise.
15307         [__USE_ISOC99] Likewise.
15308         * misc/sys/cdefs.h (__fortify_function): Define only if
15309         __extern_always_inline is defined.
15310         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15311         __extern_always_inline and __extern_inline only for g++-4.3
15312         and newer or a compatible gcc.
15314 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
15316         [BZ #17371]
15317         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15318         last change to handle zero prefix length.
15320 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15322         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15323         _SC_REGEX_VERSION.
15325         * posix/getconf.c (vars): Add _POSIX_IPV6 and
15326         _POSIX_RAW_SOCKETS.
15328 2014-09-13  Allan McRae  <allan@archlinux.org>
15330         * po/ru.po: Update Russian translation from translation project.
15332 2014-09-12  Roland McGrath  <roland@hack.frob.com>
15334         * locale/programs/locale.c (show_locale_vars): Inline local function
15335         into its sole call site.  Clean up some style nits.
15336         (print_item): New function, broken out of ...
15337         (show_info): ... local function here.  Clean up style nits.
15339         * locale/programs/ld-ctype.c (set_one_default): New function, broken
15340         out of ...
15341         (set_class_defaults): ... local function set_default here.
15342         Define set_default as a macro locally to pass constant parameters.
15343         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15344         rather than a shared local.
15346         * stdlib/rpmatch.c (try): New function, broken out of ...
15347         (rpmatch): ... local function here.  Also, prototypify definition.
15349 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
15351         * scripts/soversions.awk: Do not handle configuration names.
15352         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15353         vendor and os variables to soversions.awk.
15354         * configure.ac: Do not modify gnu-* host_os.
15355         * configure: Regenerated
15356         * shlib-versions: Remove first column with configuration names.
15357         * nptl/shlib-versions: Likewise.
15358         * nptl_db/shlib-versions: Likewise.
15359         * sysdeps/hppa/shlib-versions: Likewise.
15360         * sysdeps/m68k/shlib-versions: Likewise.
15361         * sysdeps/mach/hurd/shlib-versions: Likewise.
15362         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15363         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15364         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15365         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15366         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15367         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15368         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15369         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15371         Likewise.
15372         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15373         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15374         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15375         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15376         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15377         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15378         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15379         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15382         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15384         Regenerated.
15385         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15387         Condition symbol version definitions on [HAVE_ELFV2_ABI].
15389         * shlib-versions: Remove OS-specific entries.  Moved to files in
15390         sysdeps.
15391         * sysdeps/mach/hurd/shlib-versions: New file.
15392         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15394         * nptl/shlib-versions: Remove architecture-specific entries.
15395         Moved to files in sysdeps.
15396         * shlib-versions: Likewise.
15397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15398         file.
15399         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15400         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15401         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15402         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15404         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15405         (UDP_NO_CHECK6_RX): Likewise.
15407 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         * sysdeps/posix/sysconf.c (__sysconf): Spell
15410         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15412 2014-08-12  Florian Weimer  <fweimer@redhat.com>
15414         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15415         loading.
15416         * iconv/Versions (__gconv_transliterate): Export for use from
15417         gconv modules.
15418         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15419         (struct __gconv_trans_data, __gconv_trans_fct,
15420         __gconv_trans_context_fct, __gconv_trans_query_fct,
15421         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15422         definitions.
15423         (struct __gconv_step_data): Remove __trans member.
15424         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
15425         longer hidden.  Remove unused trans_data argument.
15426         * iconv/gconv_int.h (struct trans_struct): Remove definition.
15427         (__gconv_translit_find): Remove declaration.
15428         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
15429         prototype.
15430         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15431         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15432         trans_data argument.  Add hidden definition.
15433         (__gconv_translit_find): Remove.
15434         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15435         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15436         * iconv/skeleton.c: Remove transliteration initialization.
15437         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15438         __gconv_step_data initialization.
15439         * libio/iofwide.c (__libio_translit_): Remove.
15440         (_IO_fwide): Adjust struct __gconv_step_data initialization.
15441         * wcsmbs/btowc.c (__btowc): Likewise.
15442         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15443         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15444         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15445         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15446         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15447         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15448         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15449         * wcsmbs/wctob.c (wctob): Likewise.
15451 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15453         [BZ #16194]
15454         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15455         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
15456         register usage.
15457         * sysdeps/x86/Makefile: Adjust.
15459 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15460             Roland McGrath  <roland@hack.frob.com>
15462         * locale/weight.h: Add include guard.
15463         (findidx): Make static rather than auto; take new parameters
15464         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15465         * locale/weightwc.h: Likewise.
15466         * posix/fnmatch_loop.c
15467         (FCT): Change type of EXTRA from int32_t to wint_t.
15468         Don't include either header inside the function.
15469         Call FINDIDX rather than findidx, and pass new arguments.
15470         #undef FINDIDX at the end of the file.
15471         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15472         FINDIDX before including fnmatch_loop.c for the non-wide version.
15473         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15474         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15475         for the wide version.
15476         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15477         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15478         Pass new arguments to findidx.
15479         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15480         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15481         Don't #include it inside the function.  Pass new arguments to findidx.
15482         * posix/regex_internal.h
15483         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15484         (re_string_elem_size_at): Don't #include it inside the function.
15485         Pass new arguments to findidx.
15486         * string/strcoll_l.c: #include WEIGHT_H at top level.
15487         (get_next_seq): Don't #include it inside the function.
15488         Pass new arguments to findidx.
15489         (get_next_seq_nocache): Likewise.
15490         * string/strxfrm_l.c: #include WEIGHT_H at top level.
15491         (STRXFRM): Don't #include it inside the function.
15492         Pass new arguments to findidx.
15494 2014-09-11  Florian Weimer  <fweimer@redhat.com>
15496         [BZ #17344]
15497         * malloc/malloc.c (unlink): Turn asserts into a call to
15498         malloc_printerr.
15500 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
15502         [BZ #17370]
15503         * libio/wfileops (do_ftell_wide): Free OUT.
15505 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
15507         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15509 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15511         [BZ #17363]
15512         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15513         group if the current group is empty.
15515 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15517         * benchtests/bench-memset.c (test_main): Add more test from size
15518         from 32 to 512 bytes.
15519         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15520         Add POWER8 memset object.
15521         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15522         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15523         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15524         implementation.
15525         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15526         Likewise.
15527         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15528         multiarch POWER8 memset optimization.
15529         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15530         POWER8 memset optimization.
15532         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15533         Remove bzero multiarch objects.
15534         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15535         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15536         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15537         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15538         Remove define.
15539         [__bzero]: Redefine to specific name.
15540         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15541         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15542         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15543         define.
15544         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15545         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15547 2014-09-10  Florian Weimer  <fweimer@redhat.com>
15549         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15550         warnings into errors.
15552         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15553         __cxa_thread_atexit_impl prototype.
15555 2014-09-09  Steve Ellcey  <sellcey@mips.com>
15557         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15558         Fix capitalization of error message.
15560 2014-09-09  Steve Ellcey  <sellcey@mips.com>
15562         * sysdeps/mips/preconfigure: Modify ABI tests.
15564 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
15566         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15568 2014-09-07  Roland McGrath  <roland@hack.frob.com>
15569             Carlos O'Donell  <carlos@systemhalted.org>
15571         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15572         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15573         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15574         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15575         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15576         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15577         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15578         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15579         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15580         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15581         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15582         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15583         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15584         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15585         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15586         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15587         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15588         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15589         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15590         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15591         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15592         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15593         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15594         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15595         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15596         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15597         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15598         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15599         Deconditionalize the code that was previously under [RESET_PID].
15600         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15601         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15602         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15603         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15604         include sysdep.h.
15606 2014-09-08  Allan McRae  <allan@archlinux.org>
15608         * version.h (RELEASE): Set to "development".
15609         (VERSION): Set to "2.20.90"
15611 2014-09-07  Allan McRae  <allan@archlinux.org
15613         * version.h (RELEASE): Set to "stable".
15614         (VERSION): Set to "2.20"
15615         * include/features.h (__GLIBC_MINOR__): Set to 20.
15617         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15618         Liebler.
15620         * po/ko.po: Update Korean translation from translation project.
15622 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
15624         [BZ #17354]
15625         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15626         macro for handling signed relocations.
15628 2014-09-03  Florian Weimer  <fweimer@redhat.com>
15630         [BZ #17325]
15631         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15632         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15633         assert.
15634         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15635         * iconvdata/ibm935.c (BODY): Likewise.
15636         * iconvdata/ibm937.c (BODY): Likewise.
15637         * iconvdata/ibm939.c (BODY): Likewise.
15638         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15639         assert.
15640         * iconvdata/Makefile (iconv-test.out): Pass module list to test
15641         script.
15642         * iconvdata/run-iconv-test.sh: New test loop for checking for
15643         decoder crashers.
15645 2014-09-02  Khem Raj  <raj.khem@gmail.com>
15647         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15648         libm_hidden_ver.
15650 2014-09-01  Allan McRae  <allan@archlinux.org>
15652         * po/eo.po: Update Esperanto translation from translation project.
15654         * po/ca.po: Update Catalan translation from translation project.
15656 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15658         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15659         __proc_dostop call.
15661 2014-08-27  Mark Wielaard  <mjw@redhat.com>
15663         [BZ #17319]
15664         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15665         to call set_thread_area instead of hand written asm.
15666         (__NR_set_thread_area): Removed define.
15667         (TLS_FLAG_WRITABLE): Likewise.
15668         (__ASSUME_SET_THREAD_AREA): Remove check.
15669         (TLS_EBX_ARG): Remove define.
15670         (TLS_LOAD_EBX): Likewise.
15672 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15674         Simplify atomicity of socket creation in bind.
15676         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15677         looking up the name after linking the file.
15679 2014-08-27  Allan McRae  <allan@archlinux.org>
15681         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15683 2014-08-26  Florian Weimer  <fweimer@redhat.com>
15685         [BZ #17187]
15686         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15687         trans_compare, open_translit, __gconv_translit_find):
15688         Remove module loading code.
15690 2014-08-26  Allan McRae  <allan@archlinux.org>
15692         * po/vi.po: Update Vietnamese translation from translation project.
15694         * po/uk.po: Update Ukrainian translation from translation project.
15696         * po/fr.po: Update French translation from translation project.
15698         * po/ru.po: Update Russian translation from translation project.
15700         * po/pl.po: Update Polish translation from translation project.
15702         * po/cs.po: Update Czech translation from translation project.
15704         * po/de.po: Update German translation from translation project.
15706         * po/bg.po: Update Bulgarian translation from translation project.
15708         * po/sv.po: Update Sweedish translation from translation project.
15710         * po/nl.po: Update Dutch translation from translation project.
15712         * po/es.po: Update Spanish translation from translation project.
15714 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15716         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15718         * catgets/Makefile (CPPFLAGS-gencat): Remove.
15719         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15720         (CPPFLAGS-iconvconfig): Likewise.
15721         * timezone/Makefile (CPPFLAGS-zic): Likewise.
15723         * include/libc-symbols.h: Remove unnecessary check for
15724         NOT_IN_libc.
15725         * nptl/pthreadP.h: Likewise.
15726         * sysdeps/aarch64/setjmp.S: Likewise.
15727         * sysdeps/alpha/setjmp.S: Likewise.
15728         * sysdeps/arm/sysdep.h: Likewise.
15729         * sysdeps/i386/setjmp.S: Likewise.
15730         * sysdeps/m68k/setjmp.c: Likewise.
15731         * sysdeps/posix/getcwd.c: Likewise.
15732         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15733         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15734         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15735         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15736         * sysdeps/sh/sh3/setjmp.S: Likewise.
15737         * sysdeps/sh/sh4/setjmp.S: Likewise.
15738         * sysdeps/unix/alpha/sysdep.h: Likewise.
15739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15740         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15741         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15742         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15745         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15746         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15747         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15748         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15750         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15752         * sysdeps/x86_64/setjmp.S: Likewise.
15754 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
15756         [BZ #17263]
15757         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15758         <stdint.h>.
15759         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15760         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15762 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15764         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15766         [BZ #17262]
15767         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15768         and __x86_64__ when disabling x87 inline functions.
15770 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
15772         [BZ #17259]
15773         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15774         asm statement with __cpuid_count.
15776 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
15778         * configure.ac: Change __ehdr_start code to dereference the struct.
15779         Run readelf on the output to look for relocations.
15780         * configure: Regenerated.
15782 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
15784         [BZ #17261]
15785         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15786         value to 0.
15787         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15789 2014-08-12  Roland McGrath  <roland@hack.frob.com>
15791         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15793 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
15795         [BZ #16892]
15796         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15797         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15799 2014-08-12  Sean Anderson  <seanga2@gmail.com>
15801         * malloc/malloc.c: Fix typo in comment.
15803 2014-08-09  Allan McRae  <allan@archlinux.org>
15805         * Regenerate libc.po.
15807 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
15809         * intl/tst-gettext2.sh: Check every lang file for creation.
15811 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
15813         * sysdeps/aarch64/fpu/math_private.h
15814         (libc_feholdsetround_noex_aarch64_ctx): New function.
15816 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
15818         * sysdeps/arm/armv6/strcpy.S (strcpy):
15819         Fix performance issue in misaligned cases.
15821 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15823         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15824         Move definition from termios.h.
15825         (struct termio): Likewise.
15826         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15827         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15828         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15829         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15830         Likewise.
15831         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15832         Move definition to ioctl-types.h
15833         (struct termio): Likewise.
15834         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15835         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15836         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15837         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15838         Likewise.
15840 2014-08-05  Richard Henderson  <rth@redhat.com>
15842         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15843         exceptions.
15844         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15845         Add fraiseexcpt.
15846         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15847         Use __feraiseexcept.
15848         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15849         Protect libm symbols with IS_IN_libm.
15851         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15853 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
15855         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15857 2014-08-04  Will Newton  <will.newton@linaro.org>
15859         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15860         file.
15862 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
15864         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15865         variants for each function.
15867 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15869         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15870         appended ...
15871         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15872         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15873         appended ...
15874         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15875         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15876         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15877         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15878         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15879         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15880         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15881         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15882         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15883         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15884         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15885         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15886         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15887         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15888         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15889         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15890         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15891         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15892         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15893         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15894         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15895         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15896         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15897         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15898         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15899         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15900         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15901         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15902         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15903         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15904         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15905         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15906         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15907         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15908         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15909         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15910         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15911         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15912         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15913         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15914         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15915         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15916         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15917         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15918         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15919         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15920         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15921         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15922         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15924         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15925         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15926         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15927         Update #include.
15928         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15929         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15931 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15933         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15934         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15935         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15936         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15937         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15938         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15940 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15942         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15943         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15944         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15945         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15947 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15949         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15950         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15951         (__libc_vfork): Define function under this name.
15952         (__vfork): Define as an alias.
15953         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15954         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15956 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15958         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15959         that was previously under [RESET_PID].
15960         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15962 2014-08-04  Andreas Schwab  <schwab@suse.de>
15964         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15966 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
15968         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15969         (main): Likewise.
15971 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15973         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15975 2014-08-01  Richard Henderon  <rth@redhat.com>
15977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15978         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15979         typo in exact zero test.
15980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15981         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15982         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15984 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15986         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15987         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15988         * sysdeps/arm/sysdep.h: ... here.
15989         [!__ASSEMBLER__]: Include <stdint.h>.
15991 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15993         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15994         (HAVE_WCTYPE_H): Likewise.
15995         (HAVE_ISWCTYPE): Likewise.
15996         (ENABLE_NLS): Likewise.
15997         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15998         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
16000         * posix/regex_internal.c: Check if DEBUG is defined and is
16001         set.
16003         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
16004         (HAVE_MBSRTOWCS): Likewise.
16005         * posix/fnmatch.c: Include string.h unconditionally.
16007 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16009         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
16010         reversal.
16012 2014-07-31  Roland McGrath  <roland@hack.frob.com>
16014         * sysdeps/generic/safe-fatal.h: New file.
16015         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
16016         * nptl/forward.c: Include it.
16017         (__pthread_unwind): Use __safe_fatal as default action, rather
16018         than a bogus use of INTERNAL_SYSCALL that could never work.
16020         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
16021         * configure.ac (libc_cv_builtin_trap): New test.
16022         * configure: Regenerated.
16023         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
16024         (ABORT_INSTRUCTION): Define using __builtin_trap.
16026         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
16027         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
16028         * sysdeps/nptl/nptl-signals.h: New file.
16029         * nptl/pthreadP.h: Include <nptl-signals.h>.
16031 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16033         * sysdeps/s390/s390-64/utf16-utf32-z9.c
16034         (ONE_DIRECTION): Define.
16035         * sysdeps/s390/s390-64/utf8-utf16-z9.c
16036         (ONE_DIRECTION): Define.
16037         * sysdeps/s390/s390-64/utf8-utf32-z9.c
16038         (ONE_DIRECTION): Define.
16040 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
16042         * sysdeps/s390/Makefile: Delete file.
16043         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
16044         * sysdeps/s390/__longjmp.c: Delete file.
16045         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
16046         Remove fields __flags and __reserved.
16047         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
16048         and add versioning.
16049         * sysdeps/s390/rtld-__longjmp.c: Delete file.
16050         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
16051         * sysdeps/s390/rtld-setjmp.S: Likewise.
16052         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
16053         * sysdeps/s390/s390-32/__longjmp.c: ... here.
16054         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
16055         * sysdeps/s390/s390-32/setjmp.S: ... here.
16056         Add versioning.
16057         (__sigsetjmp): Remove setting __flags field.
16058         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
16059         * sysdeps/s390/s390-64/__longjmp.c: ... here.
16060         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
16061         * sysdeps/s390/s390-64/setjmp.S: ... here.
16062         Add versioning.
16063         (__sigsetjmp): Remove setting __flags field.
16064         * sysdeps/s390/setjmp.S: Delete file.
16065         * sysdeps/s390/sigjmp.c: Likewise.
16066         * sysdeps/s390/v1-longjmp.c: Likewise.
16067         * sysdeps/s390/v1-setjmp.h: Likewise.
16068         * sysdeps/s390/v1-sigjmp.c: Likewise.
16069         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
16070         Remove v1-longjmp_chk.
16071         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
16072         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
16073         Include debug/longjmp_chk.c and add versioning.
16074         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
16075         Include nptl/pt-longjmp.c and add versioning.
16076         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
16077         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
16078         Include __longjmp.c.
16079         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16080         Move to ...
16081         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
16082         (__getcontext): Remove setting __flags field.
16083         Add versioning.
16084         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16085         Don't restore upper high grps.
16086         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
16087         Likewise.
16088         (__swapcontext): Remove setting uc_flags field.
16089         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
16090         Delete file.
16091         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16092         Include __longjmp.c.
16093         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16094         Move to ...
16095         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
16096         (__getcontext): Remove setting __flags field.
16097         Add versioning.
16098         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
16099         (__swapcontext): Remove setting uc_flags field.
16100         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
16101         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
16102         Remove fields uc_high_gprs and __reserved.
16103         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
16104         New file with reverted content.
16105         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
16106         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
16107         Regenerated.
16108         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
16109         Regenerated.
16111 2014-07-31  Andreas Schwab  <schwab@suse.de>
16113         * config.h.in (HAVE_IFUNC): Define to 0.
16114         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
16115         definedness.
16117 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
16119         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16120         memmove-avx-unaligned, memcpy-avx-unaligned and
16121         mempcpy-avx-unaligned.
16122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16123         Add tests for AVX memcpy functions.
16124         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
16125         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
16126         memcpy_chk.
16127         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
16128         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
16129         memmove_chk.
16130         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
16131         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
16132         mempcpy_chk.
16133         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
16134         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
16135         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
16137 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16139         [BZ #17213]
16140         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
16141         powerpc64le.
16143 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
16145         [BZ #16839]
16146         * manual/llio.texi: Add section about open file description locks.
16147         * manual/examples/ofdlocks.c: Example of open file description
16148         lock usage.
16149         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
16150         F_OFD_SETLK, and F_OFD_SETLKW.
16152 2014-07-23  Allan McRae  <allan@archlinux.org>
16154         * po/es.po: Update Spanish translation from translation project.
16156 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
16158         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
16160 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
16162         [BZ #17078]
16163         * sysdeps/arm/dl-machine.h (elf_machine_rela)
16164         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
16165         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
16167 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
16169         [BZ #17088]
16170         * math/fesetenv.c (__fesetenv)
16171         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
16172         * math/feupdateenv.c (__feupdateenv)
16173         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
16175         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
16176         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16177         (__ASSUME_SOCKETCALL): Do not define.
16179         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
16180         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
16181         (__ASSUME_SOCKETCALL): Do not define.
16182         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
16183         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16184         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16185         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
16186         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16187         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
16188         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16189         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16191         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
16192         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
16193         (__ASSUME_SOCKETCALL): Do not define.
16194         (__ASSUME_IPC64): Define unconditionally.
16195         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16196         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16197         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
16198         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16199         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
16200         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16201         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
16202         Likewise.
16204         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
16205         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
16206         (__ASSUME_SOCKETCALL): Do not define.
16207         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
16208         (__ASSUME_FUTEX_LOCK_PI): Likewise.
16209         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16210         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16211         (__ASSUME_REQUEUE_PI): Define unconditionally.
16212         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
16213         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16214         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16215         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
16216         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16217         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16219         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
16220         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
16221         (__ASSUME_SOCKETCALL): Do not define.
16222         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
16223         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16224         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16225         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
16226         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16227         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16229         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
16230         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
16231         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16232         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
16233         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16234         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
16235         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16236         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
16237         (__ASSUME_GETCPU_SYSCALL): Likewise.
16239         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
16240         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
16241         cases for individual architectures.
16242         * sysdeps/gnu/configure: Regenerated.
16243         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
16244         LIBC_SLIBDIR_RTLDDIR.
16245         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
16246         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
16247         LIBC_SLIBDIR_RTLDDIR.
16248         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
16249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
16250         LIBC_SLIBDIR_RTLDDIR.
16251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16252         Regenerated.
16253         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16254         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16255         file.
16256         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16257         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16258         file.
16259         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16260         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16261         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16262         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16264         * sysdeps/aarch64/shlib-versions: Move to ...
16265         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16266         * sysdeps/alpha/shlib-versions: Move to ...
16267         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16268         * sysdeps/arm/shlib-versions: Move to ...
16269         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16270         * sysdeps/hppa/shlib-versions: Move all contents except for
16271         libgcc_s entry to ...
16272         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
16273         entry from ...
16274         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
16275         * sysdeps/ia64/shlib-versions: Move to ...
16276         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
16277         entry from ...
16278         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
16279         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16280         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16281         * sysdeps/microblaze/shlib-versions: Move to ...
16282         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16283         * sysdeps/mips/shlib-versions: Move to ...
16284         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
16285         entry from ...
16286         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
16287         * sysdeps/tile/shlib-versions: Move to ...
16288         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16289         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16290         from ...
16291         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
16292         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16293         entry from ...
16294         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
16296 2014-07-17  Will Newton  <will.newton@linaro.org>
16298         * sysdeps/arm/bits/atomic.h
16299         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16300         (__arch_compare_and_exchange_bool_16_int): Likewise.
16301         (__arch_compare_and_exchange_bool_64_int): Likewise.
16303         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16304         into an #else block.
16306 2014-07-16  Roland McGrath  <roland@hack.frob.com>
16308         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16309         just Linux configurations.  Test empirically that the compiler sets
16310         __ARM_EABI__, rather than using the tuple to decide.
16311         * sysdeps/arm/preconfigure: Regenerated.
16312         * sysdeps/unix/sysv/linux/arm/configure: File removed.
16313         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16314         contents appended ...
16315         * sysdeps/arm/configure.ac: ... here.
16316         * sysdeps/arm/configure: Regenerated.
16318 2014-07-15  Roland McGrath  <roland@hack.frob.com>
16320         * nptl/pthread_kill.c: New file.
16321         * nptl/pthread_sigmask.c: New file.
16322         * nptl/pthread_sigqueue.c: New file.
16324         * sysdeps/nptl/lowlevellock.h: New file.
16325         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16326         * sysdeps/nptl/lowlevellock-futex.h: New file.
16328         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16329         Remove dead declarations.
16331 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
16333         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16334         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16335         config-cflags-avx2.
16336         * sysdeps/x86_64/configure.ac: Likewise.
16337         * sysdeps/i386/configure: Regenerated.
16338         * sysdeps/x86_64/configure: Likewise.
16339         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16340         memset-avx2 only if config-cflags-avx2 is yes.
16341         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16342         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16343         defined.
16344         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16345         only if HAVE_AVX2_SUPPORT is defined.
16346         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16348 2014-07-14  Alan Modra  <amodra@gmail.com>
16350         [BZ #17153]
16351         * elf/elf.h (DT_PPC64_NUM): Correct value.
16352         * NEWS: Add to fixed bug list.
16354 2014-07-13  Jim Meyering  <meyering@fb.com>
16356         [BZ 17150]
16357         regex: don't deref NULL upon heap allocation failure
16358         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16359         failure in one more place.
16360         To trigger the segfault, configure grep -with-included-regex,
16361         build it, and run these commands:
16362         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16364 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
16366         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16368 2014-07-11  Richard Henderson  <rth@redhat.com>
16370         * sysdeps/aarch64/libm-test-ulps: Update.
16372 2014-07-10  Florian Weimer  <fweimer@redhat.com>
16374         [BZ #17135]
16375         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16376         * nptl/allocatestack.c (__nptl_setxid_error): New function.
16377         (__nptl_setxid): Initialize error member.  Call
16378         __nptl_setxid_error.
16379         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16380         * nptl/descr.h (struct xid_command): Add error member.
16381         * nptl/tst-setuid3.c: New file.
16382         * nptl/Makefile (tests): Add it.
16384 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16386         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16387         New define.
16388         (__lll_trylock): Use __lll_base_trylock.
16389         (__lll_cond_trylock): Likewise.
16391 2014-07-10  Roland McGrath  <roland@hack.frob.com>
16393         * nptl/pthread_create.c (start_thread): Use atomic_or and
16394         lll_futex_wake directly rather than lll_robust_dead.
16395         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16396         (lll_robust_dead): Macro removed.
16397         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16398         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16399         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16400         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16401         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16402         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16403         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16404         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16405         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16406         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16407         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16408         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16409         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16410         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16411         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16413         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16414         Use atomic_compare_and_exchange_val_acq directly rather than
16415         lll_robust_trylock.
16416         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16417         (__lll_robust_trylock, lll_robust_trylock): Removed.
16418         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16419         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16420         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16421         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16422         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16423         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16424         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16425         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16426         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16427         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16428         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16429         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16430         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16431         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16433 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16435         * manual/locale.texi (Locale Names): New section documenting
16436         locale name syntax.  Adjust menu and node chaining accordingly.
16437         (Choosing Locale): Reference Locale Names, Locale Categories.
16438         Mention setting LC_ALL=C.  Reflect that name syntax is now
16439         documented.
16440         (Locale Categories): New section title.  Reference Locale Names.
16441         LC_ALL is an environment variable, but not a category.
16442         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16443         description, now in Locale Name.  Reference that section.  Locale
16444         name syntax is now documented.
16446 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16448         [BZ #17137]
16449         * locale/findlocale.c (name_present, valid_locale_name): New
16450         functions.
16451         (_nl_find_locale): Use the loc_name variable to store name
16452         candidates.  Call name_present and valid_locale_name to check and
16453         validate locale names.  Return an error if the locale is invalid.
16455 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16457         * locale/setlocale.c (setlocale): Use strdup for allocating
16458         composite name copy.
16460 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16462         Sync up with gnulib.
16463         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16464         [!_LIBC && ENABLE_NLS]: Include gettext.h.
16465         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16466         and _GL_ARG_NONNULL.
16467         [USE_UNLOCKED_IO]: Include unlocked-io.h.
16468         [!_LIBC]: Include code for Windows and Cygwin.
16469         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16470         Include prototype for int strerror_r.
16471         [!_LIBC] (is_open): New function.
16472         (flush_stdout): New function.
16473         (print_errno_message): Use it.
16474         (error): Likewise.
16475         (error_at_line): Likewise.
16476         (error_tail) Add function attribute macros.  Use
16477         __builtin_expect.
16479         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16481         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16483         * io/ftw.c: Include sys/param.h unconditionally.
16485         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16487         [BZ #17125]
16488         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16489         libc_freeres_ptr.
16490         (freecache): New function to free CACHE on exit.
16492         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16493         initialization.
16495 2014-07-09  David S. Miller  <davem@davemloft.net>
16497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16499         * sysdeps/sparc/nptl/internaltypes.h: Delete.
16500         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16501         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16502         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16503         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16504         * sysdeps/sparc/nptl/sem_init.c: Likewise.
16505         * sysdeps/sparc/nptl/sem_post.c: Likewise.
16506         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16507         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16508         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16509         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16510         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16511         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16513 2014-07-09  Andreas Schwab  <schwab@suse.de>
16515         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16516         output.
16517         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16518         (do_test): Likewise.
16520         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16522 2014-07-09  Will Newton  <will.newton@linaro.org>
16524         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16525         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16526         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16527         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16528         * sysdeps/hppa/start.S (_start): Likewise.
16530 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
16532         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16534         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16535         defined.
16537 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16539         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16540         after checking that it is non-NULL.
16542         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16544 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16546         * sysdeps/powerpc/memmove.c: Remove file.
16547         * sysdeps/powerpc/powerpc32/power4/memcopy.h
16548         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16549         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16550         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16551         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16552         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16553         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16554         string memmove instead of removed powerpc one.
16556         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16557         [weak_alias]: Fix compiler warning due trailing data.
16558         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16559         [weak_alias]: Likewise.
16560         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16561         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16564         (__libc_ifunc_impl_list): Add memmove functions.
16566 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16568         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16569         Remove code.
16570         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16571         Likewise
16572         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16573         Likewise
16574         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16575         Likewise
16576         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16577         Likewise
16578         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16579         Likewise
16580         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16581         Likewise
16582         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16583         Likewise
16584         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16585         Likewise
16586         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16587         Likewise
16588         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16589         Likewise
16590         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16591         Likewise
16592         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16593         Likewise
16594         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16595         Likewise
16596         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16597         Likewise
16598         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16599         Likewise
16600         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16601         Likewise
16603 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16605         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16606         to avoid alignment traps in non-cacheable memory.
16607         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16609         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16610         multiarch objects.
16611         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16612         file: multiarch power7 memmove.
16613         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16614         multiarch default memmove.
16615         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16616         multiarch memove for powerpc32/power4.
16618         * string/bcopy.c: Use full path to include memmove.c.
16619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16620         multiarch objects.
16621         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16622         bcopy for powerpc64.
16623         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16624         bcopy for powerpc64.
16625         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16626         and memmove implementations.
16627         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16628         optimized multiarch memmove for POWER7/powerpc64.
16629         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16630         default multiarch memmove for powerpc64.
16631         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16632         multiarch for powerpc64.
16633         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16634         for POWER7/powerpc64.
16635         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16636         memmove for POWER7/powerpc64.
16638         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16639         glibc default one.
16641         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16642         __ELF_NATIVE_CLASS equal to 64.
16644 2014-07-07  Roland McGrath  <roland@hack.frob.com>
16646         * sysdeps/nptl/lowlevellock.h: File removed.
16648         * NEWS: NPTL is no longer an add-on!
16649         * nptl/internaltypes.h: Moved ...
16650         * sysdeps/nptl/internaltypes.h: ... here.
16651         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16652         * sysdeps/nptl/fork.c: Likewise.
16653         * sysdeps/nptl/gai_misc.h: Likewise.
16654         * sysdeps/nptl/librt-cancellation.c: Likewise.
16655         * sysdeps/nptl/jmp-unwind.c: Likewise.
16656         * sysdeps/nptl/setxid.h: Likewise.
16657         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16658         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16659         * sysdeps/unix/sysv/linux/arm/Implies: New file.
16660         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16661         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16662         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16663         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16664         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16665         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16666         * sysdeps/unix/sysv/linux/mips/Implies: New file.
16667         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16668         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16669         * sysdeps/unix/sysv/linux/sh/Implies: New file.
16670         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16671         * sysdeps/unix/sysv/linux/tile/Implies: New file.
16672         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16673         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16674         * nptl/Makeconfig: Moved ...
16675         * sysdeps/nptl/Makeconfig: ... here.
16676         * nptl/configure: File removed.
16677         * nptl/ANNOUNCE: File removed.
16678         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16679         * sysdeps/unix/sysv/linux/configure: Regenerated.
16681         * nptl/Makefile (routines): Add libc_pthread_init,
16682         libc_multiple_threads, register-atfork and unregister-atfork.
16683         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16684         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16685         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16686         pthread-pi-defines.sym, structsem.sym.
16687         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16688         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16689         [$(subdir) = nptl] (tests): Add tst-setgetname.
16690         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16691         * sysdeps/unix/sysv/linux/sigaction.c: Just include
16692         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16693         [!LIBC_SIGACTION]: Remove aliases.
16694         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16695         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16696         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16697         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16698         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16699         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16700         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16701         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16702         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16703         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16704         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16705         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16706         __libc_allocate_rtsig_private.
16707         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16708         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16709         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16710         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16711         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16712         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16713         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16714         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16715         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16716         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16717         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16718         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16719         * nptl/internaltypes.h: ... here.
16720         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16721         * sysdeps/nptl/jmp-unwind.c: ... here.
16722         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16723         * nptl/libc-lowlevellock.c: ... here.
16724         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16725         * nptl/libc_multiple_threads.c: ... here.
16726         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16727         * nptl/libc_pthread_init.c: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16729         * nptl/lowlevelbarrier.sym: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16731         * nptl/lowlevelcond.sym: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16733         * nptl/lowlevellock.c: ... here.
16734         * nptl/lowlevellock.h: Moved ...
16735         * sysdeps/nptl/lowlevellock.h: ... here.
16736         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16737         * nptl/lowlevelrobustlock.c: ... here.
16738         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16739         * nptl/lowlevelrobustlock.sym: ... here.
16740         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16741         * nptl/lowlevelrwlock.sym: ... here.
16742         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16743         * nptl/pt-fork.c: ... here.
16744         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16745         * nptl/pthread-pi-defines.sym: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16747         * nptl/pthread_attr_getaffinity.c: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16749         * nptl/pthread_attr_setaffinity.c: ... here.
16750         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16751         * nptl/pthread_mutex_cond_lock.c: ... here.
16752         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16753         Update #include.
16754         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16755         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16756         * nptl/pthread_once.c: ... here, replacing old file.
16757         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16758         * nptl/pthread_yield.c: ... here.
16759         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16760         * nptl/register-atfork.c: ... here.
16761         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16762         * nptl/sem_post.c: ... here.
16763         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16764         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16765         * nptl/sem_timedwait.c: ... here.
16766         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16767         * nptl/sem_trywait.c: ... here.
16768         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16769         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16770         * nptl/sem_wait.c: ... here.
16771         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16772         * nptl/structsem.sym: ... here.
16773         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16774         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16775         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16776         * nptl/unregister-atfork.c: ... here.
16777         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16778         * nptl/unwindbuf.sym: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16780         * sysdeps/nptl/fork.c: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16782         * sysdeps/nptl/fork.h: ... here.
16783         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16784         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16785         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16786         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16787         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16789         * sysdeps/unix/sysv/linux/getpid.c: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16791         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16793         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16795         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16797         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16798         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16799         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16800         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16801         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16802         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16803         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16805         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16806         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16807         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16809         * sysdeps/unix/sysv/linux/raise.c: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16811         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16813         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16815         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16816         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16817         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16818         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16819         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16821         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16823         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16824         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16826 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16828         * sysdeps/generic/memcopy.h: Add comment for
16829         MEMCPY_OK_FOR_FWD_MEMMOVE.
16831 2014-07-04  Will Newton  <will.newton@linaro.org>
16833         * string/memchr.c: Merge from gnulib.
16834         [_LIBC]: Remove conditionals.
16835         (__ptr_t): Remove define.
16836         (LONG_MAX_32_BITS): Likewise.
16837         (LONG_MAX): Likewise.
16838         (MEMCHR): Use ANSI prototype and optimize algorithm.
16840         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16842 2014-07-03  Roland McGrath  <roland@hack.frob.com>
16844         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16845         (lll_futex_timed_wait_bitset): Fix syscall argument count.
16847         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16848         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16849         in a bare environment with no <stdlib.h> installed.
16850         * sysdeps/nptl/configure: Regenerated.
16852         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16854         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16855         AC_EGREP_CPP for kernel header checks, so they only succeed if
16856         including <linux/version.h> actually works right.
16857         * sysdeps/unix/sysv/linux/configure: Regenerated.
16859         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16860         value so it's not diagnosed as unused.
16862         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16863         thing) with "ifeq ($(subdir),rt)".
16865 2014-07-03  Richard Henderson  <rth@redhat.com>
16867         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16868         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16869         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16871         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16872         (math_force_eval): New.
16874         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16875         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16877         * sysdeps/alpha/fpu/s_round.c: Remove file.
16878         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16880         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16881         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16882         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16883         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16884         (_dl_start, print_statistics): Likewise.
16885         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16886         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16888         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16889         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16890         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16891         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16892         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16893         (HP_SMALL_TIMING_AVAIL): Define.
16894         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16895         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16896         (HP_SMALL_TIMING_AVAIL): Define.
16897         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16898         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16900         * sysdeps/aarch64/hp-timing.h: New file.
16902         * sysdeps/generic/hp-timing.h: Remove dead comment.
16903         * sysdeps/generic/hp-timing-common.h: New file.
16904         * sysdeps/alpha/hp-timing.h: Include it.
16905         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16906         * sysdeps/i386/i686/hp-timing.h: Likewise.
16907         * sysdeps/ia64/hp-timing.h: Likewise.
16908         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16909         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16910         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16911         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16912         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16913         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16914         (hp_timing_t): New.
16916         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16917         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16918         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16919         * elf/rtld.c (_dl_start_final): Likewise.
16920         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16921         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16922         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16923         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16924         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16925         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16926         (HP_TIMING_DIFF_INIT): Remove.
16927         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16928         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16929         (HP_TIMING_DIFF_INIT): Remove.
16930         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16931         * sysdeps/i386/i686/hp-timing.c: Remove file.
16932         * sysdeps/x86_64/hp-timing.c: Remove file.
16933         * sysdeps/ia64/hp-timing.c: Remove file.
16934         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16935         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16936         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16937         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16939         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16940         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16941         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16942         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16943         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16944         (HP_TIMING_ACCUM): Remove.
16945         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16946         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16947         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16949         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16950         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16951         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16952         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16953         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16954         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16955         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16956         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16958         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16960 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
16962         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16964 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16966         Sync up with gettext.
16967         * intl/loadmsgcat.c: Define O_BINARY if not defined.
16968         [_MSC_VER]: Include malloc.h
16969         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16970         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16971         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
16972         TEMP_FAILURE_RETRY.  Cast return of alloca.
16973         [!_LIBC] Call gl_rwlock_init.
16974         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16976 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16978         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16979         before checking its value.
16981 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16983         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16985         * debug/memcpy_chk.c: Don't include pagecopy.h.
16986         * debug/mempcpy_chk.c: Likewise.
16987         * string/memcpy.c: Likewise.
16988         * string/memmove.c: Likewise.
16989         * sysdeps/powerpc/memmove.c: Likewise.
16990         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16991         definition of PAGE_COPY_FWD_MAYBE here...
16992         * sysdeps/generic/pagecopy.h: ... from here.
16993         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16995 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16996             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16998         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
17000         optimizations.
17001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17002         (__libc_ifunc_impl_list): Likewise.
17003         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
17004         multiarch strcat for PPC64.
17005         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
17006         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
17008 2014-07-02  Roland McGrath  <roland@hack.frob.com>
17010         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
17012 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17014         * intl/loadmsgcat.c: Remove declaration of
17015         get_sysdep_segment_value.
17016         (get_sysdep_segment_value): Use ISO C style.
17017         (_nl_load_domain): Use ISO C style.  Get rid of redundant
17018         semicolon.  Fix typo and formatting in comment.
17019         (_nl_unload_domain): Use ISO C style.
17021         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
17023 2014-07-02  Will Newton  <will.newton@linaro.org>
17025         * malloc/obstack.c: Merge from gnulib master.
17026         [HAVE_CONFIG_H]: Remove conditional code.
17027         [!_LIBC]: Include config.h.
17028         [!ELIDE_CODE]: Don't include inttypes.h, include
17029         stdint.h unconditionally.
17030         (print_and_abort): Mark as _Noreturn.
17031         (_obstack_allocated_p): Mark as __attribute_pure__.
17032         (obstack_free): Rename to __obstack_free.
17033         [!__attribute__]: Remove conditional code.
17034         * malloc/obstack.h: Merge from gnulib master.
17035         [__cplusplus]: Move conditional down.
17036         [!__attribute_pure__]: Define __attribute_pure__ here
17037         if it is not already defined.
17038         (_obstack_memory_used): Mark as __attribute_pure__.
17039         [!__obstack_free]: Define as obstack_free.
17040         [__GNUC__]: Remove check for ancient NeXT gcc.
17042 2014-07-02  Will Newton  <will.newton@linaro.org>
17043             Paul Eggert  <eggert@cs.ucla.edu>
17045         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
17047 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17049         * resolv/gethnamaddr.c: Add comment warning that the file is
17050         not maintained.
17052 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
17054         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
17055         entries.
17057         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
17058         entry for aio_cancel and aio_cancel64.
17059         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
17060         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
17061         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
17062         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
17063         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
17064         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
17065         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
17066         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
17067         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
17068         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
17069         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
17070         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
17071         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
17073 2014-07-01  Roland McGrath  <roland@hack.frob.com>
17075         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
17076         * nptl/pthread_mutex_lock.c: Likewise.
17077         * nptl/pthread_mutex_timedlock.c: Likewise.
17078         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
17080 2014-07-01  Richard henderson  <rth@redhat.com>
17082         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
17083         (__isnan, __isnanl): Remove.
17084         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
17086         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17088 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17090         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17092 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
17094         * resolv/nss_dns/dns-host.c (getanswer_r)
17095         [MULTI_PTRS_ARE_ALIASES]: Remove code.
17097 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
17099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17100         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
17101         undefine.
17102         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
17103         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
17105 2014-07-01  Roland McGrath <roland@hack.frob.com>
17107         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
17108         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
17110         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
17111         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
17113         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
17114         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
17115         ... here.
17116         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
17117         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
17119         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
17120         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
17121         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
17122         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
17124         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
17125         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
17126         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
17127         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
17128         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
17129         Moved ...
17130         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
17131         ... here.
17132         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
17133         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
17134         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
17135         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
17136         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
17137         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
17138         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
17139         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
17140         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
17141         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
17142         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
17143         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
17144         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
17145         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
17146         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
17147         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
17148         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
17149         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
17150         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
17151         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
17152         ... here.
17153         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
17154         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
17155         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
17156         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
17157         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
17158         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
17159         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
17160         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
17162 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
17164         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
17165         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
17166         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
17167         Add sysdep.
17169 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17171         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17173 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
17175         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17176         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17178         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17180         * sysdeps/arm/libm-test-ulps: Regenerated.
17182 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
17183             Roland McGrath <roland@hack.frob.com>
17185         * test-skeleton.c (signal_handler): Kill the whole process group
17186         before killing the child individually.
17187         (main): Report any failure on `setpgid'.
17189 2014-06-30  Roland McGrath  <roland@hack.frob.com>
17191         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
17192         from _TLS_H to _ARM_NPTL_TLS_H.
17193         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
17194         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
17196 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
17198         [BZ #16539]
17199         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
17200         (__expm1l): Return argument unchanged when small but not
17201         subnormal.
17203         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
17204         include macro name.
17205         (_FP_UNPACK_RAW_1_P): Likewise.
17206         (_FP_PACK_RAW_1): Likewise.
17207         (_FP_PACK_RAW_1_P): Likewise.
17208         (_FP_MUL_MEAT_1_wide): Likewise.
17209         (_FP_MUL_MEAT_DW_1_hard): Likewise.
17210         (_FP_MUL_MEAT_1_hard): Likewise.
17211         (_FP_DIV_MEAT_1_imm): Likewise.
17212         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
17213         (_FP_DIV_MEAT_1_udiv): Likewise.
17214         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
17215         (_FP_UNPACK_RAW_2): Likewise.
17216         (_FP_UNPACK_RAW_2_P): Likewise.
17217         (_FP_PACK_RAW_2): Likewise.
17218         (_FP_PACK_RAW_2_P): Likewise.
17219         (_FP_MUL_MEAT_DW_2_wide): Likewise.
17220         (_FP_MUL_MEAT_2_wide): Likewise.
17221         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
17222         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
17223         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
17224         (_FP_MUL_MEAT_2_gmp): Likewise.
17225         (_FP_DIV_MEAT_2_udiv): Likewise.
17226         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
17227         (_FP_FRAC_SRL_4): Likewise.
17228         (_FP_FRAC_SRST_4): Likewise.
17229         (_FP_FRAC_SRS_4): Likewise.
17230         (_FP_UNPACK_RAW_4): Likewise.
17231         (_FP_UNPACK_RAW_4_P): Likewise.
17232         (_FP_PACK_RAW_4): Likewise.
17233         (_FP_PACK_RAW_4_P): Likewise.
17234         (_FP_MUL_MEAT_DW_4_wide): Likewise.
17235         (_FP_MUL_MEAT_4_wide): Likewise.
17236         (_FP_MUL_MEAT_4_gmp): Likewise.
17237         (umul_ppppmnnn): Likewise.
17238         (_FP_DIV_MEAT_4_udiv): Likewise.
17239         (__FP_FRAC_ADD_4): Likewise.
17240         (__FP_FRAC_SUB_3): Likewise.
17241         (__FP_FRAC_SUB_4): Likewise.
17242         (__FP_FRAC_DEC_3): Likewise.
17243         (__FP_FRAC_DEC_4): Likewise.
17244         (__FP_FRAC_ADDI_4): Likewise.
17245         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
17246         (_FP_FRAC_SRL_8): Likewise.
17247         (_FP_FRAC_SRS_8): Likewise.
17249         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
17250         include macro name.
17251         (FP_UNPACK_RAW_EP): Likewise.
17252         (FP_PACK_RAW_E): Likewise.
17253         (FP_PACK_RAW_EP): Likewise.
17254         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17255         (_FP_ISSIGNAN): Likewise.
17256         (_FP_ADD_INTERNAL): Likewise.
17257         (_FP_FMA): Likewise.
17258         (_FP_CMP): Likewise.
17259         (_FP_SQRT): Likewise.
17260         (_FP_TO_INT): Likewise.
17261         (_FP_FROM_INT): Likewise.
17262         (FP_EXTEND): Likewise.
17263         (_FP_DIV_MEAT_N_loop): Likewise.
17265 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
17267         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17268         throughout.
17270 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #17097]
17273         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17274         result with correct sign in case of exponents that produce
17275         overflow except for X very close to 1.
17277 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
17279         mktime: merge #if/#ifdef usage from glibc
17280         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17281         as that works with both Glibc's and Gnulib's style.
17282         See thread starting at Siddhesh Poyarekar's bug report at:
17283         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17285 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17287         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17288         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17289         * sysdeps/tile/tilegx/memmove.c: Remove file.
17291 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17293         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17294         abi-name definition.
17295         * scripts/soversions.awk: Do not handle or generate ABI lines.
17296         * shlib-versions: Remove ABI entries.
17297         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17298         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17300 2014-06-27  Roland McGrath  <roland@hack.frob.com>
17302         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17303         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17304         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17305         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17306         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17307         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17308         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17309         Moved ...
17310         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17311         ... here.
17312         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17313         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17314         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17315         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17316         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17317         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17318         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17319         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17320         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17321         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17322         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17323         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17324         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17325         Moved ...
17326         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17327         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17328         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17329         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17330         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17331         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17332         Moved ...
17333         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17334         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17335         Moved ...
17336         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17337         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17338         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17339         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17340         Moved ...
17341         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17342         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17343         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17344         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17345         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17346         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17347         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17348         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17349         Moved ...
17350         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17352         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17353         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17354         Moved ...
17355         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17357         Moved ...
17358         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17359         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17360         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17362         Moved ...
17363         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17364         ... here.
17365         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17366         Identical file removed.
17367         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17368         Moved ...
17369         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17370         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17371         Identical file removed.
17372         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17373         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17374         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17375         Moved ...
17376         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17377         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17378         Identical file removed.
17379         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17380         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17381         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17382         Identical file removed.
17383         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17384         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17385         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17386         Identical file removed.
17387         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17388         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17389         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17390         Identical file removed.
17391         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17392         Moved ...
17393         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17394         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17395         Identical file removed.
17396         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17397         Moved ...
17398         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17399         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17400         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17401         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17402         Identical file removed.
17403         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17404         Moved ...
17405         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17406         ... here.
17407         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17408         Identical file removed.
17409         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17410         Moved ...
17411         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17412         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17413         Identical file removed.
17414         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17415         Moved ...
17416         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17418         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17419         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17420         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17421         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17422         Moved ...
17423         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17424         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17425         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17427         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17428         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17429         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17430         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17431         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17433 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
17435         [BZ #17092]
17436         * nscd/nscd.c (monitor_child): Return exit status of child
17437         instead of return value from wait syscall.
17439 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17441         * configure.ac (libc_commonpagesize): Remove variable.
17442         (libc_relro_required): Likewise.
17443         (libc_cv_z_relro): Remove configure test.
17444         * configure: Regenerated.
17445         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17446         variable.
17447         (libc_relro_required): Likewise.
17448         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17449         (libc_relro_required): Likewise.
17450         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17451         (libc_relro_required): Likewise.
17452         * sysdeps/arm/preconfigure: Regenerated.
17453         * sysdeps/ia64/preconfigure: Remove file.
17454         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17455         variable.
17456         (libc_relro_required): Likewise.
17458         [BZ #16561]
17459         [BZ #16562]
17460         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17461         (__ieee754_yn): Set FE_TONEAREST mode internally and then
17462         recompute overflowing results in original rounding mode.
17463         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17464         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17465         recompute overflowing results in original rounding mode.
17466         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17467         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17468         recompute overflowing results in original rounding mode.
17469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17470         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17471         recompute overflowing results in original rounding mode.
17472         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17473         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17474         recompute overflowing results in original rounding mode.
17475         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17476         (libc_feholdsetround_ctx): New macro.
17477         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17478         * sysdeps/i386/fpu/libm-test-ulps: Update.
17479         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17481 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17483         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17484         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17485         corresponding .cpsetup call.
17487 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17489         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17490         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17491         * sysdeps/arm/Makefile [$(subdir) = csu]
17492         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17493         (static-only-routines): Add aeabi_read_tp here.
17494         (shared-only-routines): Add libc-aeabi_read_tp here.
17495         (CFLAGS-libc-start.c): Add -fexceptions here.
17496         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17497         (sysdep_routines, static-only-routines, shared-only-routines):
17498         Don't add to these here.
17499         (CFLAGS-libc-start.c): Likewise.
17501         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17502         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17503         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17504         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17505         * sysdeps/arm/Makefile [$(subdir) = rt]
17506         (librt-sysdep_routines, librt-shared-only-routines):
17507         Append rt-aeabi_unwind_cpp_pr1 here.
17508         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17509         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17510         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17511         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17512         Append nptl-aeabi_unwind_cpp_pr1 here.
17513         (tests): Filter out tst-cleanupx4 here.
17514         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17515         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17516         Don't do those here.
17518 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17520         * scripts/list-sources.sh: Do not handle ports specially.
17522 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17524         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17525         * sysdeps/arm/feupdateenv.c: Likewise.
17527         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17529 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17531         * manual/texinfo.tex: Update to version 2014-05-05.10 with
17532         trailing whitespace removed.
17533         * scripts/config.guess: Update to version 2014-03-23.
17534         * scripts/config.sub: Update to version 2014-05-01
17535         * scripts/install-sh: Update to version 2013-12-25.23.
17536         * scripts/move-if-change: Update from gnulib.
17538 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17540         * debug/memmove_chk.c: Remove pagecopy.h include.
17542 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
17544         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
17545         identical to gnulib mktime.
17547 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17549         * configure.ac: Do not test for machine being rs6000.  Do not test
17550         for powerpc*-*soft.
17551         * configure: Regenerated.
17553         [BZ #11505]
17554         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17555         test.
17556         * configure: Regenerated.
17557         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17558         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17559         Remove configure test.
17560         * sysdeps/arm/configure: Regenerated.
17561         * sysdeps/nptl/configure.ac: Do not check
17562         libc_cv_asm_cfi_directives.
17563         * sysdeps/nptl/configure: Regenerated.
17564         * sysdeps/x86_64/nptl/configure.ac: Remove file.
17565         * sysdeps/x86_64/nptl/configure: Remove generated file.
17566         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17567         unconditional.
17568         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17570 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17572         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17573         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17574         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17575         it is defined.
17577         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17578         instead of whether it is defined.
17579         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17580         * sysdeps/hppa/dl-machine.h: Likewise.
17581         * sysdeps/ia64/dl-machine.h: Likewise.
17582         * sysdeps/m68k/dl-machine.h: Likewise.
17583         * sysdeps/microblaze/dl-machine.h: Likewise.
17584         * sysdeps/mips/dl-machine.: Likewise.
17585         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17586         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17587         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17588         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17589         * sysdeps/sh/dl-machine.h: Likewise.
17590         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17591         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17592         * sysdeps/tile/dl-machine.h: Likewise.
17593         * sysdeps/x86_64/dl-machine.h: Likewise.
17595         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17596         code.
17597         (verify_persistent_db): Likewise.
17599 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17602         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17604         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17606         Moved ...
17607         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17608         ... here.
17609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17610         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17612         Identical file removed.
17613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17614         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17616         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17618         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17620         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17621         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17622         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17624         Moved ...
17625         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17627         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17629         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17631         Moved ...
17632         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17634         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17636         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17638         Identical file removed.
17639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17640         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17642         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17644         Moved ...
17645         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17646         ... here.
17647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17648         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17650         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17652         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17654         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17656         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17658         Moved ...
17659         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17661         Moved ...
17662         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17663         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17664         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17666         Moved ...
17667         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17669         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17671         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17672         folded into ...
17673         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17674         * sysdeps/unix/sysv/linux/s390/Versions
17675         (libpthread: GLIBC_2.19): New version set.
17676         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17677         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17678         (librt: GLIBC_2.3.3): New version set.
17679         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17680         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17681         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17682         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17683         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17684         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17685         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17686         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17687         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17688         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17689         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17690         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17691         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17692         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17693         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17694         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17695         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17696         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17697         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17699         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17701         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17703         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17704         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17705         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17706         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17707         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17708         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17709         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17710         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17711         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17712         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17714         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17715         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17716         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17717         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17718         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17719         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17721         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17723         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17725         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17726         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17727         (__libc_vfork): Define the function under this name.
17728         [!NOT_IN_libc] (__vfork): Make this an alias.
17729         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17731         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17732         (__libc_vfork): Define the function under this name.
17733         [!NOT_IN_libc] (__vfork): Make this an alias.
17734         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17735         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17736         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17737         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17738         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17741         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17742         code that was previously under [RESET_PID].
17743         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17744         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17745         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17747         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17748         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17749         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17750         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17751         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17752         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17753         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17754         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17755         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17756         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17757         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17758         Moved ...
17759         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17760         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17761         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17762         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17763         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17764         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17765         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17766         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17767         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17768         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17769         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17770         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17771         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17772         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17773         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17774         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17775         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17776         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17777         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17778         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17779         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17780         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17781         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17782         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17783         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17784         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17785         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17786         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17787         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17789 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17791         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17792         that was previously under [RESET_PID].
17793         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17795 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17797         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17798         not undefine and redefine.
17799         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17800         [O_CLOEXEC]: Make code unconditional.
17801         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17802         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17803         <kernel-features.h>.
17804         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17805         conditional variable definition.
17806         (shm_open) [O_CLOEXEC]: Make code unconditional.
17807         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17808         code.
17810         * configure.ac (USE_REGPARMS): Don't define here.
17811         * configure: Regenerated.
17812         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17813         * sysdeps/i386/configure: Regenerated.
17815         * nptl/createthread.c: Don't include kernel-features.h.
17816         * nptl/pthread_cancel.c: Likewise.
17817         * nptl/pthread_condattr_setclock.c: Likewise.
17818         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17819         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17820         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17821         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17822         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17823         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17824         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17825         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17826         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17827         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17828         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17829         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17830         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17831         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17832         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17833         * nscd/gai.c: Likewise.
17834         * nss/nss_db/db-open.c: Likewise.
17835         * sysdeps/generic/ldsodefs.h: Likewise.
17836         * sysdeps/sh/nptl/tls.h: Likewise.
17837         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17838         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17839         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17840         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17841         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17842         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17843         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17844         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17845         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17846         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17847         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17848         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17849         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17850         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17851         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17852         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17853         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17854         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17855         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17856         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17857         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17858         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17859         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17860         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17861         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17862         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17863         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17864         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17865         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17866         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17867         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17868         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17869         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17870         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17871         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17872         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17873         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17874         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17875         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17876         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17877         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17878         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17879         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17880         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17881         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17882         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17883         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17884         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17885         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17886         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17887         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17888         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17889         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17890         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17891         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17892         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17893         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17894         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17917         * sysdeps/unix/sysv/linux/pread.c: Likewise.
17918         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17919         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17920         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17921         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17922         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17923         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17924         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17925         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17926         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17927         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17928         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17929         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17930         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17931         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17932         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17933         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17934         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17935         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17936         * sysdeps/unix/sysv/linux/system.c: Likewise.
17937         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17938         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17939         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17940         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17941         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17942         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17943         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17945         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17946         * configure: Regenerated.
17947         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17949         * configure.ac (base_machine): Do not set specially for particular
17950         machines here.
17951         * configure: Regenerated.
17952         * sysdeps/powerpc/preconfigure: Move machine and base_machine
17953         settings from configure.ac.
17954         * sysdeps/i386/preconfigure: New file.
17955         * sysdeps/s390/preconfigure: Likewise.
17956         * sysdeps/sh/preconfigure: Likewise.
17957         * sysdeps/sparc/preconfigure: Likewise.
17959 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17961         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17962         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17963         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17964         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17965         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17966         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17967         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17968         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17969         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17970         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17971         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17972         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17973         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17974         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17975         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17976         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17977         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17978         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17979         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17981         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17982         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17983         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17984         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17985         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17986         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17987         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17988         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17989         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17990         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17991         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17992         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17993         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17994         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17995         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17996         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17997         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17998         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17999         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
18000         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
18001         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
18002         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
18003         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
18004         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
18005         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
18006         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
18007         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
18008         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
18009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
18010         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
18011         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
18012         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
18013         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
18014         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
18015         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
18016         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
18017         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
18018         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
18020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
18021         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
18022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
18023         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
18024         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
18025         Moved ...
18026         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
18027         ... here.
18028         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
18029         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
18030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
18031         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
18032         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
18033         Moved ...
18034         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
18035         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
18036         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
18037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
18038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
18039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
18040         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
18041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18042         Moved ...
18043         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
18044         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
18045         Moved ...
18046         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
18047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
18048         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
18049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
18050         Moved ...
18051         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
18052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
18053         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
18054         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
18055         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
18056         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
18057         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
18058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
18059         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
18060         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
18061         Moved ...
18062         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
18063         ... here.
18064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
18065         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
18066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
18067         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
18068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
18069         Moved ...
18070         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
18071         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
18072         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
18073         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
18074         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
18075         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
18076         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
18077         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18078         Moved ...
18079         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
18080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
18081         Moved ...
18082         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
18083         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
18084         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
18085         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
18086         Moved ...
18087         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
18088         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
18089         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
18090         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
18091         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
18093 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18095         * timezone/checktab.awk: Update from tzcode 2014e.
18096         * timezone/private.h: Likewise.
18097         * timezone/tzfile.h: Likewise.
18098         * timezone/zdump.c: Likewise.
18099         * timezone/zic.c: Likewise.
18101         * sysdeps/unix/sysv/linux/kernel-features.h
18102         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
18103         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
18104         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
18105         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
18106         Remove conditional code.
18108 2014-06-25  Will Newton  <will.newton@linaro.org>
18110         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
18111         (_dl_arm_cap_flags): Add HWCAP2 values.
18112         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
18113         (_DL_HWCAP_COUNT): Increase to 37.
18114         (_DL_HWCAP_LAST): New define.
18115         (_DL_HWCAP2_LAST): New define.
18116         (_dl_procinfo): Add support for printing
18117         AT_HWCAP2 entries.
18118         (_dl_string_hwcap): Use _dl_hwcap_string.
18120 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18122         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18124 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
18126         * README: Do not mention ports directory.
18128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
18129         Remove macro.
18130         * sysdeps/unix/sysv/linux/futimes.c: Do not include
18131         <kernel-features.h>.
18132         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
18133         conditional variable definition.
18134         (__futimes): Update comment.
18135         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
18136         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
18138         [BZ #16560]
18139         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
18140         arguments close to 0.
18141         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
18142         Likewise.
18143         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
18144         Likewise.
18145         * math/auto-libm-test-in: Add more tests of exp10.
18146         * math/auto-libm-test-out: Regenerated.
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18149         * sysdeps/unix/sysv/linux/kernel-features.h
18150         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
18151         * sysdeps/unix/sysv/linux/readv.c: Do not include
18152         <kernel-features.h>.
18153         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18154         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18155         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18156         unconditional.
18157         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18158         conditional code.
18159         * sysdeps/unix/sysv/linux/writev.c: Do not include
18160         <kernel-features.h>.
18161         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
18162         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
18163         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
18164         unconditional.
18165         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
18166         conditional code.
18168 2014-06-25  Will Newton  <will.newton@linaro.org>
18170         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
18171         comment changes throughout the file.  Remove checks
18172         for HAVE_*_H definitions that are not required.
18173         (__gen_tempname): Call abort if an unknown kind value is
18174         passed.
18176 2014-06-25  Andreas Schwab  <schwab@suse.de>
18178         [BZ #17086]
18179         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
18180         scalbln, scalblnf, scalblnl in libc.
18182 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18184         [BZ #17086]
18185         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
18186         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18187         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18189 2014-06-24  Roland McGrath  <roland@hack.frob.com>
18191         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
18192         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
18193         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
18194         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
18195         Update #include.
18196         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
18197         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
18198         Update #include.
18199         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
18200         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
18201         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
18202         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
18203         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
18204         * sysdeps/x86/bits/pthreadtypes.h: ... here.
18205         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
18206         * sysdeps/x86/bits/semaphore.h: ... here.
18207         * sysdeps/x86/nptl/elide.h: Moved ...
18208         * sysdeps/x86/elide.h: ... here.
18209         * sysdeps/x86_64/nptl/Implies: File removed.
18210         * sysdeps/i386/nptl/Implies: File removed.
18212 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
18214         [BZ #16539]
18215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
18216         return the argument for normal arguments with exponent below -64.
18217         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18218         Likewise.
18219         * math/auto-libm-test-in: Add another test of expm1.
18220         * math/auto-libm-test-out: Regenerated.
18222         [BZ #16287]
18223         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
18224         calling __erfcl for arguments at least 16.
18225         * math/auto-libm-test-in: Add more tests of erf.
18226         * math/auto-libm-test-out: Regenerated.
18228         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
18229         individual architectures.
18230         * sysdeps/unix/sysv/linux/configure: Regenerated.
18231         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
18232         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
18233         * sysdeps/unix/sysv/linux/powerpc/configure.ac
18234         (ldd_rewrite_script): Define variable.
18235         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
18236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
18237         file.
18238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
18239         generated file.
18240         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
18241         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
18242         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
18243         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
18244         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
18245         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
18246         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
18247         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
18249 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18251         [BZ #17084]
18252         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18253         Rename member __data.d to __data.__elision_data.
18255 2014-06-24  Wilco  <wdijkstr@arm.com>
18257         * NEWS: Add 16918 to fixed bug list.
18259 2014-06-24  Wilco  <wdijkstr@arm.com>
18261         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18263 2014-06-24  Wilco  <wdijkstr@arm.com>
18265         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18266         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18267         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18268         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18269         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18270         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18271         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18272         Use _FPU_MASK_RM.
18274 2014-06-24  Wilco  <wdijkstr@arm.com>
18276         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18278 2014-06-24  Wilco  <wdijkstr@arm.com>
18280         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18281         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18282         * sysdeps/arm/fesetround.c (fesetround): Remove space.
18283         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18285 2014-06-24  Wilco  <wdijkstr@arm.com>
18287         [BZ #16918]
18288         * sysdeps/arm/feupdateenv.c (feupdateenv):
18289         Rewrite to reduce FPSCR accesses and fix return value.
18291 2014-06-24  Wilco  <wdijkstr@arm.com>
18293         * sysdeps/arm/fclrexcpt.c (feclearexcept):
18294         Optimize to avoid unnecessary FPSCR writes.
18295         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18296         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18297         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18298         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18300 2014-06-24  Wilco  <wdijkstr@arm.com>
18302         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18303         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18304         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18305         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18306         Call libc_fetestexcept_vfp.
18307         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18308         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18309         __SOFTFP__ ifdef so that they can be built for softfp.
18311 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18313         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18314         argument type signed char.
18316         * Makerules (check-abi): Dump diff of symlist if the test
18317         fails.
18319 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18321         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18322         using abort.
18324         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18325         Remove unused variable ST.
18327 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
18329         [BZ #16354]
18330         [BZ #17061]
18331         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18332         small arguments before calling __expm1.
18333         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18334         small arguments before calling __expm1f.
18335         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18336         small arguments before calling __expm1l.
18337         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18338         Likewise.
18339         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18340         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
18341         spurious underflow for some cosh tests.
18342         * math/auto-libm-test-out: Regenerated.
18343         * sysdeps/i386/fpu/libm-test-ulps: Update.
18345         [BZ #17050]
18346         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18347         (__ieee754_y1): Set errno if return value overflows.
18348         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18349         (__ieee754_y1f): Set errno if return value overflows.
18350         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18351         (__ieee754_y1l): Set errno if return value overflows.
18352         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18353         (__ieee754_y1l): Set errno if return value overflows.
18354         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18355         * math/auto-libm-test-out: Regenerated.
18357         * math/gen-auto-libm-tests.c: Document use of
18358         ignore-zero-inf-sign.
18359         (input_flag_type): Add value flag_ignore_zero_inf_sign.
18360         (input_flags): Add ignore-zero-inf-sign.
18361         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18362         * math/gen-libm-test.pl (generate_testfile): Handle
18363         ignore-zero-inf-sign.
18364         * math/auto-libm-test-in: Mark some cpow tests with
18365         ignore-zero-inf-sign and some with xfail-rounding.
18366         * math/auto-libm-test-out: Regenerated.
18367         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18368         * sysdeps/i386/fpu/libm-test-ulps: Update.
18369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18371         [BZ #16315]
18372         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18373         overflowing or underflowing operations take place with sign of
18374         result.
18375         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18376         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18377         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18378         (__ieee754_pow): Recompute overflowing and underflowing results in
18379         original rounding mode.
18380         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18381         (__powl_helper): Allow negative argument X and scale negated value
18382         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
18383         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18384         overflowing or underflowing operations take place with sign of
18385         result.
18386         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18387         Include <math.h>.
18388         * math/auto-libm-test-in: Add more tests of pow.
18389         * math/auto-libm-test-out: Regenerated.
18390         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18391         (pow_tonearest_test_data): Remove.
18392         (pow_test_tonearest): Likewise.
18393         (pow_towardzero_test_data): Likewise.
18394         (pow_test_towardzero): Likewise.
18395         (pow_downward_test_data): Likewise.
18396         (pow_test_downward): Likewise.
18397         (pow_upward_test_data): Likewise.
18398         (pow_test_upward): Likewise.
18399         (main): Don't call removed functions.
18400         * sysdeps/i386/fpu/libm-test-ulps: Update.
18401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18403 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18406         Moved ...
18407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18409         Moved ...
18410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18412         Moved ...
18413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18415         Moved ...
18416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18418         File removed.
18419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18420         File removed.
18421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18422         File removed.
18423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18424         File removed.
18425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18426         File removed.
18427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18428         File removed.
18429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18430         File removed.
18431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18432         File removed.
18433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18434         File removed.
18435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18436         File removed.
18437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18438         File removed.
18439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18440         File removed.
18441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18442         Moved ...
18443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18445         Moved ...
18446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18447         ... here.
18448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18449         Moved ...
18450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18452         Moved ...
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18455         Moved ...
18456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18458         Moved ...
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18461         Moved ...
18462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18464         Moved ...
18465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18467         Moved ...
18468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18471         ... here.
18472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18473         Moved ...
18474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18476         Moved ...
18477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18478         ... here.
18479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18480         Moved ...
18481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18482         ... here.
18483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18484         Moved ...
18485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18486         ... here.
18487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18488         Moved ...
18489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18491         Moved ...
18492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18496         Moved ...
18497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18498         ... here.
18499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18500         Moved ...
18501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18502         ... here.
18503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18504         Moved ...
18505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18507         Moved ...
18508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18510         Moved ...
18511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18513         Moved ...
18514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18516         Moved ...
18517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18518         ... here.
18519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18520         Moved ...
18521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18523         Moved ...
18524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18526         Moved ...
18527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18529         Moved ...
18530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18534         Moved ...
18535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18537         Moved ...
18538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18540         Moved ...
18541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18542         ... here.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18544         Moved ...
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18546         ... here.
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18548         Moved ...
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18550         ... here.
18551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18552         Moved ...
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18555         Moved ...
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18558         Moved ...
18559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18561         Moved ...
18562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18563         ... here.
18564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18565         Moved ...
18566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18567         ... here.
18568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18569         Moved ...
18570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18571         ... here.
18572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18573         Moved ...
18574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18576         Moved ...
18577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18579 2014-06-23  Will Newton  <will.newton@linaro.org>
18580             Wilco  <wdijkstr@arm.com>
18582         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18583         implementation.  Include get-rounding-mode.h.
18584         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18585         [!libc_feholdsetround_noex_ctx]: Define
18586         libc_feholdsetround_noex_ctx.
18587         [!libc_feholdsetround_noexf_ctx]: Define
18588         libc_feholdsetround_noexf_ctx.
18589         [!libc_feholdsetround_noexl_ctx]: Define
18590         libc_feholdsetround_noexl_ctx.
18591         (libc_feholdsetround_ctx): New function.
18592         (libc_feresetround_ctx): New function.
18593         (libc_feholdsetround_noex_ctx): New function.
18594         (libc_feresetround_noex_ctx): New function.
18596 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18598         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18599         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18600         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18601         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18602         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18603         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18605         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18606         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18607         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18608         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18609         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18610         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18611         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18612         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18613         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18614         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18615         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18616         Moved ...
18617         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18618         ... here.
18619         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18620         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18621         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18622         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18623         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18624         Moved ...
18625         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18626         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18627         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18628         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18629         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18630         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18631         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18632         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18633         Moved ...
18634         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18635         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18636         Moved ...
18637         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18638         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18639         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18640         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18641         Moved ...
18642         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18643         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18644         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18645         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18646         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18647         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18648         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18649         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18650         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18651         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18652         Moved ...
18653         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18654         ... here.
18655         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18656         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18657         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18658         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18659         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18660         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18661         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18662         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18663         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18664         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18665         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18666         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18667         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18668         Moved ...
18669         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18670         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18671         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18672         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18673         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18674         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18675         Moved ...
18676         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18677         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18678         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18679         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18680         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18682         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18683         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18684         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18685         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18686         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18687         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18688         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18689         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18691         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18692         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18693         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18694         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18695         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18696         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18697         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18698         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18699         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18700         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18701         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18702         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18703         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18704         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18705         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18706         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18707         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18708         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18709         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18711 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
18713         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18714         (FALLOC_FL_COLLAPSE_RANGE): New macro.
18715         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18716         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18717         (IPV6_PMTUDISC_INTERFACE): Likewise.
18718         (IPV6_PMTUDISC_OMIT): Likewise.
18720 2014-06-23  Andreas Schwab  <schwab@suse.de>
18722         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18723         Remove unused errout label.
18725 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18727         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18728         macro: hardware supports Vector Crypto instructions.
18730 2014-06-23  Will Newton  <will.newton@linaro.org>
18732         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18733         rather than __builtin_expect.
18735         * elf/dl-lookup.c (undefined_msg): Remove variable.
18736         (_dl_lookup_symbol_x): Replace undefined_msg with string
18737         literal.
18739         * elf/dl-lookup.c (do_lookup_unique): New function.
18740         (do_lookup_x): Move STB_GNU_UNIQUE handling code
18741         to a separate function.
18743 2014-06-23  Andreas Schwab  <schwab@suse.de>
18745         [BZ #17079]
18746         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18747         before reading the next line.
18749 2014-06-23  Will Newton  <will.newton@linaro.org>
18751         * test-skeleton.c (signal_handler): Use printf and %m
18752         rather than perror.  Use printf rather than fprintf to
18753         stderr.  Use puts rather than fputs to stderr.
18754         (main): Likewise.
18756 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
18758         * nscd/nscd.c (thread_info_t): Remove typedef.
18759         (thread_info): Remove variable.
18761 2014-06-21  Allan McRae  <allan@archlinux.org>
18763         * NEWS: Mention CVE-2014-4043.
18765 2014-06-20  Roland McGrath  <roland@hack.frob.com>
18767         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18768         * nptl/smp.h: ... here.
18770         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18772         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18773         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18774         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18775         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18777         * nptl/allocatestack.c: Include <stack-aliasing.h>.
18778         * nptl/stack-aliasing.h: New file.
18779         * sysdeps/i386/i686/stack-aliasing.h: New file.
18780         * sysdeps/i386/i686/nptl/Makefile: File removed.
18781         * sysdeps/x86_64/stack-aliasing.h: New file.
18782         * sysdeps/x86_64/nptl/Makefile
18783         (CFLAGS-pthread_create.c): Variable removed.
18785         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18786         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18787         old file.
18788         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18789         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18790         old file.
18792 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
18794         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18795         (__ASSUME_SIGFRAME_V2): Remove macro.
18796         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18797         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18798         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18799         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18800         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18801         Declare as function.  Remove conditional macro definitions.
18802         (__default_rt_sa_restorer): Likewise.
18803         (__default_sa_restorer_v1): Remove declaration.
18804         (__default_sa_restorer_v2): Likewise.
18805         (__default_rt_sa_restorer_v1): Likewise.
18806         (__default_rt_sa_restorer_v2): Likewise.
18807         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18808         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18809         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18811 2014-06-20  Roland McGrath  <roland@hack.frob.com>
18813         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18814         (libpthread-routines): Add sysdep.
18815         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18816         * sysdeps/unix/sysv/linux/sparc/Versions
18817         (libpthread: GLIBC_2.3.3): New version set.
18818         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18819         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18820         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18821         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18822         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
18823         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18824         Moved ...
18825         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18826         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18827         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18828         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18829         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18830         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18831         * sysdeps/sparc/nptl/sem_init.c: ... here.
18832         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18833         * sysdeps/sparc/nptl/sem_post.c: ... here.
18834         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18835         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18836         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18837         * sysdeps/sparc/nptl/sem_wait.c: ... here.
18838         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18839         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18840         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18841         (libpthread-routines): Add cpu_relax.
18842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18843         File removed.
18844         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18845         (librt: GLIBC_2.3.3): New version set.
18846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18847         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18848         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18849         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18851         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18852         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18854         Moved ...
18855         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18856         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18857         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18858         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18859         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18860         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18861         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18862         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18863         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18864         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18865         Moved ...
18866         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18867         Update #include.
18868         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18869         Moved ...
18870         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18871         Update #include.
18872         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18873         Moved ...
18874         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18875         Update #include.
18876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18877         Moved ...
18878         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18879         Update #include.
18880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18881         Moved ...
18882         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18883         Update #include.
18884         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18885         Moved ...
18886         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18887         Update #include.
18888         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18889         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18891         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18893         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18895         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18897         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18898         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18899         Moved ...
18900         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18902         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18904         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18906 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18908         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18909         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18910         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18911         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18912         * nscd/nscd.c: Likewise.
18913         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18914         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18915         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18916         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18918         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18919         <kernel-features.h>.
18920         (init_mq_netlink): Remove conditional have_sock_cloexec
18921         definitions.  Remove code conditional on have_sock_cloexec < 0.
18922         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18923         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18924         * sysdeps/unix/sysv/linux/opensock.c: Do not include
18925         <kernel-features.h>.
18926         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18927         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18929 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18932         Add tests for memset_chk and memset.
18934         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18935         with AVX2_Usable.
18937 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18939         [BZ #16046]
18940         * elf/tst-dl-iter-static.c: New file.
18941         * elf/Makefile (tests-static): Add tst-dl-iter-static.
18943         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18944         error.
18946 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18948         * sysdeps/unix/sysv/linux/kernel-features.h
18949         (__ASSUME_F_GETOWN_EX): Remove macro.
18950         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18951         <kernel-features.h>.
18952         (miss_F_GETOWN_EX): Remove variable or macro.
18953         (do_fcntl): Do not check miss_F_GETOWN_EX.
18954         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18956         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18957         Remove macro.
18958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18959         [!__ASSUME_AT_RANDOM]: Remove conditional code.
18960         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18962         * sysdeps/unix/sysv/linux/kernel-features.h
18963         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18964         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18965         [ADJ_OFFSET_SS_READ]: Make code unconditional.
18966         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18968 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18970         [BZ #17075]
18971         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18972         Fix calculation of the symbol's value.
18973         * sysdeps/arm/tst-armtlsdescloc.c: New file.
18974         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18975         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18976         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18977         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18978         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18979         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18980         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18981         (modules-names): Add `tst-armtlsdescmod',
18982         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18983         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18984         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18985         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18986         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18987         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18988         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18989         ($(objpfx)tst-armtlsdescloc): New dependency.
18990         ($(objpfx)tst-armtlsdescextnow): Likewise.
18991         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18992         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18993         TLS scheme support.
18994         * sysdeps/arm/configure: Regenerate.
18996 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18998         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18999         (__atfct_seterrno_2): Likewise.
19000         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
19001         <kernel-features.h>.
19002         (__ASSUME_ATFCTS): Do not undefine and redefine.
19003         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
19004         (__have_atfcts): Remove conditional definition.
19005         (__fxstatat([__NR_fstatat64]: Make code unconditional.
19006         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
19007         unreachable if [__ASSUME_ATFCTS].
19008         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
19009         not undefine and redefine.
19010         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
19011         <kernel-features.h>.
19012         (faccessat) [__NR_faccessat]: Make code unconditional.
19013         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
19014         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
19015         <kernel-features.h>.
19016         (fchmodat) [__NR_fchmodat]: Make code unconditional.
19017         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19018         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
19019         <kernel-features.h>.
19020         (fchownat) [__NR_fchownat]: Make code unconditional.
19021         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
19022         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
19023         <kernel-features.h>.
19024         (futimesat) [__NR_futimesat]: Make code unconditional.
19025         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
19026         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19027         <kernel-features.h>.
19028         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19029         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19030         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19031         <kernel-features.h>.
19032         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
19033         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19034         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
19035         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19036         <kernel-features.h>.
19037         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
19038         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19039         * sysdeps/unix/sysv/linux/linkat.c: Do not include
19040         <kernel-features.h>.
19041         (linkat) [__NR_linkat]: Make code unconditional.
19042         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19043         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
19044         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
19045         <kernel-features.h>.
19046         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
19047         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
19048         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
19049         <kernel-features.h>.
19050         (mkdirat) [__NR_mkdirat]: Make code unconditional.
19051         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
19052         * sysdeps/unix/sysv/linux/openat.c: Do not include
19053         <kernel-features.h>.
19054         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
19055         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
19056         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
19057         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
19058         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
19059         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
19060         <kernel-features.h>.
19061         (readlinkat) [__NR_readlinkat]: Make code unconditional.
19062         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
19063         result of INLINE_SYSCALL directly, not via int variable.
19064         * sysdeps/unix/sysv/linux/renameat.c: Do not include
19065         <kernel-features.h>.
19066         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
19067         (renameat) [__NR_renameat]: Make code unconditional.
19068         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
19069         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
19070         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
19071         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
19072         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
19073         (__ASSUME_ATFCTS): Do not undefine and redefine.
19074         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
19075         <kernel-features.h>.
19076         (symlinkat) [__NR_symlinkat]: Make code unconditional.
19077         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19078         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
19079         <kernel-features.h>.
19080         (unlinkat) [__NR_unlinkat]: Make code unconditional.
19081         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
19082         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
19083         (__ASSUME_ATFCTS): Do not undefine and redefine.
19084         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19085         <kernel-features.h>.
19086         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
19087         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
19088         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19089         <kernel-features.h>.
19090         (__xmknodat) [__NR_mknodat]: Make code unconditional.
19091         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
19093 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
19095         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
19097 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
19099         [BZ #17069]
19100         * posix/regcomp.c (parse_reg_exp): Deallocate partially
19101         constructed tree before returning error.
19102         * posix/bug-regexp36.c: Expand test case.
19104 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19106         [BZ #6803]
19107         * math/libm-test.inc (scalbln_test_date):
19108         Add errno expectations.
19109         * math/w_scalblnf.c: New File.
19110         Add wrapper which checks for setting errno to ERANGE.
19111         Add weak_alias for corresponding scalbln function.
19112         * math/w_scalbln.c: Likewise.
19113         * math/w_scalblnl.c: Likewise.
19114         * math/Makefile (libm-calls): Add w_scalbln.
19115         * sysdeps/ieee754/flt-32/s_scalblnf.c:
19116         Remove weak_alias for corresponding scalbln function.
19117         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
19119         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
19120         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19121         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
19122         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19123         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
19124         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19125         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
19126         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
19127         Remove long_double_symbol for scalblnl function in libm, libc.
19128         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
19129         Add wrapper which checks for setting errno to ERANGE.
19130         Add long_double_symbol for scalblnl function in libm, libc.
19131         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
19132         Remove long_double_symbol for scalblnl in libm.
19133         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
19134         Add wrapper which checks for setting errno to ERANGE.
19135         Add long_double_symbol for scalblnl function in libm.
19136         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
19137         Do not use wrapper because of own implementation.
19139 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
19141         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
19142         3 bytes for __pad1 for x32.
19143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
19145 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
19146             H.J. Lu  <hongjiu.lu@intel.com>
19148         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
19149         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
19150         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19151         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19152         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19154 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
19156         [BZ #17069]
19157         * posix/regcomp.c (parse_expression): Deallocate partially
19158         constructed tree before returning error.
19159         * posix/Makefile.c (tests): Add bug-regex36.
19160         (generated): Add bug-regex36.mtrace.
19161         (tests-special): Add $(objpfx)bug-regex36-mem.out
19162         (bug-regex36-ENV): New variable.
19163         ($(objpfx)bug-regex36-mem.out): New rule.
19164         * posix/bug-regex36.c: New file.
19166 2014-06-19  Will Newton  <will.newton@linaro.org>
19168         * malloc/malloc.c (systrim): If extra is zero then return
19169         early.
19171 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19173         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
19175 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
19177         * sysdeps/aarch64/strchr.S: New file.
19179 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
19181         [BZ #17022]
19182         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
19183         from arguments -2 or below.
19184         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19185         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19187 2014-06-18  Andreas Schwab  <schwab@suse.de>
19189         [BZ #17062]
19190         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
19191         of a bracket expr not to run off the end of the string.
19192         * posix/Makefile (tests): Add tst-fnmatch3.
19193         * posix/tst-fnmatch3.c: New file.
19195 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
19197         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
19198         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19199         [$(cross-compiling) = no]: Likewise.
19200         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19201         [$(cross-compiling) = no]: Likewise.
19203 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19205         [BZ #17031]
19206         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
19207         double, adjusted for any remainder from the high double.
19208         * math/libm-test.inc (nearbyint): Add tests.
19209         (rint): Likewise.
19211 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19213         * nptl/sysdeps/powerpc/Makefile: Moved ...
19214         * sysdeps/powerpc/nptl/Makefile: ... here.
19215         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
19216         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
19217         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
19218         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
19219         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
19220         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
19221         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
19222         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
19223         * nptl/sysdeps/powerpc/tls.h: Moved ...
19224         * sysdeps/powerpc/nptl/tls.h: ... here.
19226 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
19228         [BZ #16681]
19229         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
19230         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19231         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
19232         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
19233         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19234         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
19235         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
19236         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19237         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
19239 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
19241         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19243 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
19245         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
19246         defined operator.
19248         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
19249         $TIMEOUTFACTOR.
19251 2014-06-16  Florian Weimer  <fweimer@redhat.com>
19253         [BZ #17058]
19254         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19255         non-executed part of the test.
19257 2014-06-16  Andreas Schwab  <schwab@suse.de>
19259         * string/bits/string2.h (strdup, strndup): Update feature guard.
19261 2014-06-14  David S. Miller  <davem@davemloft.net>
19263         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19265 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
19267         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19268         that was previously under [RESET_PID].
19269         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19271         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19272         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19273         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19274         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19275         (__libc_vfork): New strong alias.
19276         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19278 2014-06-14 Andi Kleen  <ak@linux.intel.com>
19280         * sysdeps/generic/elide.h: New file.
19282 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19284         * Makefile (installed-headers): Adjust path of pthread.h header.
19286 2014-06-13  Roland McGrath  <roland@hack.frob.com>
19288         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19289         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19290         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19291         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19293         * nptl/sysdeps/s390/Makefile: Moved ...
19294         * sysdeps/s390/nptl/Makefile: ... here.
19295         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19296         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19297         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19298         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19299         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19300         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19301         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19302         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19303         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19304         * sysdeps/s390/nptl/pthreaddef.h: ... here.
19305         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19306         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19307         * nptl/sysdeps/s390/tls.h: Moved ...
19308         * sysdeps/s390/nptl/tls.h: ... here.
19310         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19311         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19313 2014-06-13  David S. Miller  <davem@davemloft.net>
19315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19316         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19318         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19322         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19323         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19324         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19325         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19326         Remove RESET_PID cpp guards.
19327         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19328         Remove RESET_PID cpp guards.
19329         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19331 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
19333         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19334         __sp to uintptr_t.
19336 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19338         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19339         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19340         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19341         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19342         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19343         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19344         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19345         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19346         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19347         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19348         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19349         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19350         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19352         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19353         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19354         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19355         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19356         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19357         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19359         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19360         (pthread_rwlock_rdlock): Add elision.
19361         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19362         (pthread_rwlock_wrlock): Add elision.
19363         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19364         (pthread_rwlock_trywrlock): Add elision.
19365         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19366         (pthread_rwlock_tryrdlock): Add elision.
19367         * nptl/pthread_rwlock_unlock.c: Include elide.h.
19368         (pthread_rwlock_tryrdlock): Add elision unlock.
19369         * nptl/sysdeps/pthread/pthread.h:
19370         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19371         (PTHREAD_RWLOCK_INITIALIZER,
19372         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19373         Handle new elision field.
19374         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19375         * sysdeps/arm/nptl/bits/pthreadtypes.h
19376         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19377         * sysdeps/sh/nptl/bits/pthreadtypes.h
19378         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19379         * sysdeps/tile/nptl/bits/pthreadtypes.h
19380         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19381         * sysdeps/a/nptl/bits/pthreadtypes.h
19382         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19383         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19384         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19385         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19386         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19387         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19389         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19390         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19391         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19392         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19393         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19394         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19395         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19396         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19397         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19398         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19399         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19400         (elision_init): Set try_xbegin to zero when no RTM.
19401         * sysdeps/x86/nptl/bits/pthreadtypes.h
19402         (pthread_rwlock_t): Change __pad1 to __rwelision.
19403         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19405 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19407         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19408         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19409         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19410         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19412 2014-06-13  Meador Inge  <meadori@codesourcery.com>
19414         [BZ #16996]
19415         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19416         that the cached result has been set before returning it.
19418 2014-06-12  Roland McGrath  <roland@hack.frob.com>
19420         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19421         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19422         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19423         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19424         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19425         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19427         * nptl/sysdeps/sparc/Makefile: Moved ...
19428         * sysdeps/sparc/nptl/Makefile: ... here.
19429         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19430         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19431         * nptl/sysdeps/sparc/tls.h: Moved ...
19432         * sysdeps/sparc/nptl/tls.h: ... here.
19433         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19434         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19435         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19436         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19437         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19438         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19439         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19440         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19441         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19442         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19443         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19444         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19445         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19446         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19447         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19448         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19449         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19450         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19451         Update #include.
19452         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19453         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19454         Update #include.
19455         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19456         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19457         Update #include.
19458         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19459         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19460         Update #include.
19462         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19464         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19465         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19467         * sysdeps/pthread/posix-timer.h: Include <list.h>.
19468         (struct list_links): Type removed.
19469         (struct thread_node, struct timer_node): Replace struct list_links
19470         with struct list_head.
19471         (list_unlink_ip): Likewise.
19472         * sysdeps/pthread/timer_routines.c
19473         (timer_free_list, thread_free_list, thread_active_list): Likewise.
19474         (list_append, list_insbefore): Likewise.
19475         (list_init): Function removed.
19476         (thread_init, init_module): Use INIT_LIST_HEAD instead.
19477         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19478         * sysdeps/pthread/Makefile: ... here, new file.
19480         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19481         * sysdeps/nptl/Implies: ... here.
19482         * sysdeps/unix/sysv/linux/Implies: Add nptl.
19483         * nptl/sysdeps/pthread/list.h: Moved ...
19484         * include/list.h: ... here.
19485         * nptl/sysdeps/pthread/createthread.c: Moved ...
19486         * nptl/createthread.c: ... here.
19487         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19488         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19489         * nptl/pt-longjmp.c: ... here.
19490         * nptl/sysdeps/pthread/Makefile: Moved ...
19491         * sysdeps/nptl/Makefile: ... here.
19492         * nptl/sysdeps/pthread/Subdirs: Moved ...
19493         * sysdeps/nptl/Subdirs: ... here.
19494         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19495         * sysdeps/nptl/aio_misc.h: ... here.
19496         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19497         * sysdeps/nptl/bits/libc-lock.h: ... here.
19498         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19499         * sysdeps/nptl/bits/libc-lockP.h: ... here.
19500         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19501         * sysdeps/nptl/bits/stdio-lock.h: ... here.
19502         * nptl/sysdeps/pthread/configure: Moved ...
19503         * sysdeps/nptl/configure: ... here.
19504         * nptl/sysdeps/pthread/configure.ac: Moved ...
19505         * sysdeps/nptl/configure.ac: ... here.
19506         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19507         * sysdeps/nptl/gai_misc.h: ... here.
19508         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19509         * sysdeps/nptl/librt-cancellation.c: ... here.
19510         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19511         * sysdeps/nptl/malloc-machine.h: ... here.
19512         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19513         * sysdeps/nptl/pthread-functions.h: ... here.
19514         * nptl/sysdeps/pthread/pthread.h: Moved ...
19515         * sysdeps/nptl/pthread.h: ... here.
19516         * nptl/sysdeps/pthread/setxid.h: Moved ...
19517         * sysdeps/nptl/setxid.h: ... here.
19518         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19519         * sysdeps/nptl/sigfillset.c: ... here.
19520         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19521         * sysdeps/nptl/tcb-offsets.h: ... here.
19522         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19523         * sysdeps/nptl/tst-mqueue8x.c: ... here.
19524         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19525         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19526         * nptl/sysdeps/pthread/allocalim.h: Moved ...
19527         * sysdeps/pthread/allocalim.h: ... here.
19528         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19529         * sysdeps/pthread/bits/sigthread.h: ... here.
19530         * nptl/sysdeps/pthread/flockfile.c: Moved ...
19531         * sysdeps/pthread/flockfile.c: ... here.
19532         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19533         * sysdeps/pthread/ftrylockfile.c: ... here.
19534         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19535         * sysdeps/pthread/funlockfile.c: ... here.
19536         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19537         * sysdeps/pthread/posix-timer.h: ... here.
19538         * nptl/sysdeps/pthread/timer_create.c: Moved ...
19539         * sysdeps/pthread/timer_create.c: ... here.
19540         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19541         * sysdeps/pthread/timer_delete.c: ... here.
19542         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19543         * sysdeps/pthread/timer_getoverr.c: ... here.
19544         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19545         * sysdeps/pthread/timer_gettime.c: ... here.
19546         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19547         * sysdeps/pthread/timer_routines.c: ... here.
19548         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19549         * sysdeps/pthread/timer_settime.c: ... here.
19550         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19551         * sysdeps/pthread/tst-timer.c: ... here.
19552         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19553         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19555         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19556         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19558         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19559         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19560         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19561         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19562         Update #include target.
19563         * nptl/sysdeps/i386/i686/Makefile: Moved ...
19564         * sysdeps/i386/i686/nptl/Makefile: ... here.
19565         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19566         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19567         Update #include target.
19568         * nptl/sysdeps/i386/i686/tls.h: Moved ...
19569         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
19570         * nptl/sysdeps/i386/Makefile: Moved ...
19571         * sysdeps/i386/nptl/Makefile: ... here.
19572         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19573         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19574         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19575         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19576         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19577         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19578         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19579         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19580         * sysdeps/i386/nptl/pthreaddef.h: ... here.
19581         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19582         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19583         * nptl/sysdeps/i386/tls.h: Moved ...
19584         * sysdeps/i386/nptl/tls.h: ... here.
19586         * sysdeps/sh/Makefile [$(subdir) = csu]
19587         (gen-as-const-headers): Add tcb-offsets.sym.
19588         * nptl/sysdeps/sh/Makefile: File removed.
19589         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19590         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19591         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19592         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19593         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19594         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19595         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19596         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19597         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19598         * sysdeps/sh/nptl/pthreaddef.h: ... here.
19599         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19600         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19601         * nptl/sysdeps/sh/tls.h: Moved ...
19602         * sysdeps/sh/nptl/tls.h: ... here.
19603         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19604         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19605         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19606         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19607         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19608         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19609         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19610         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19611         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19612         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19613         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19614         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19615         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19616         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19617         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19618         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19619         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19620         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19621         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19622         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19623         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19624         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19625         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19626         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19627         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19628         Moved ...
19629         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19630         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19631         Moved ...
19632         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19633         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19634         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19635         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19636         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19637         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19638         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19639         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19640         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19641         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19642         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19643         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19644         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19645         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19646         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19647         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19648         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19649         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19650         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19652 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19654         * posix/spawn_faction_addopen.c: Include string.h.
19656 2014-06-11  Roland McGrath  <roland@hack.frob.com>
19658         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19659         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19660         * nptl/sysdeps/x86_64/Makefile: Moved ...
19661         * sysdeps/x86_64/nptl/Makefile: ... here.
19662         * nptl/sysdeps/x86_64/configure: Moved ...
19663         * sysdeps/x86_64/nptl/configure: ... here.
19664         * nptl/sysdeps/x86_64/configure.ac: Moved ...
19665         * sysdeps/x86_64/nptl/configure.ac: ... here.
19666         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19667         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19668         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19669         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19670         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19671         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19672         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19673         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19674         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19675         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19676         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19677         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19678         * nptl/sysdeps/x86_64/tls.h: Moved ...
19679         * sysdeps/x86_64/nptl/tls.h: ... here.
19680         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19681         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19682         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19683         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19685         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19687 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19691 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
19693         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19694         type.
19695         [POSIX] (off_t): Likewise.
19696         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19697         [POSIX] (S_ISBLK): Require macro.
19698         [POSIX] (S_ISCHR): Likewise.
19699         [POSIX] (S_ISDIR): Likewise.
19700         [POSIX] (S_ISFIFO): Likewise.
19701         [POSIX] (S_ISREG): Likewise.
19702         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19703         optional-macro.
19704         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19705         type.
19706         [POSIX] (time_t): Likewise.
19707         [POSIX] (timer_t): Likewise.
19709 2014-06-11  Florian Weimer  <fweimer@redhat.com>
19711         [BZ #17048]
19712         * posix/spawn_int.h (struct __spawn_action): Make the path string
19713         non-const to support deallocation.
19714         * posix/spawn_faction_addopen.c
19715         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19716         * posix/spawn_faction_destroy.c
19717         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
19718         path in all spawn_do_open actions.
19719         * posix/tst-spawn.c (do_test): Exercise the copy operation in
19720         posix_spawn_file_actions_addopen.
19722 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
19724         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19725         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19726         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19727         conditional code always true.
19728         (__libc_vfork): New alias.
19730 2014-06-11  Roland McGrath  <roland@hack.frob.com>
19732         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19733         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19735         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19737         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19738         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19740         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19741         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19743         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19744         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19746 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19748         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19749         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19750         multiarch strcmp for PPC64.
19751         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19752         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19754         multiarch optimizations.
19755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19756         (__libc_ifunc_impl_list): Likewise.
19758 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19760         * benchtests/scripts/validate_benchout.py: New script.
19761         * benchtests/Makefile (bench-func): Call it.
19762         * benchtests/scripts/benchout.schema.json: New file.
19764 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
19766         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19767         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19768         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19769         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19770         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19771         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19772         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19773         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19774         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19775         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19776         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19777         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19778         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19779         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19780         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19781         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19783         Moved ...
19784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19785         ... here.
19786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19787         Moved ...
19788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19790         Moved ...
19791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19792         ... here.
19793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19794         Moved ...
19795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19796         ... here.
19797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19798         Moved ...
19799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19801         Moved ...
19802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19803         ... here.
19804         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19805         Moved ...
19806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19807         ... here.
19808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19809         Moved ...
19810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19811         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19812         Moved ...
19813         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19814         ... here.
19815         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19816         Moved ...
19817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19818         ... here.
19819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19820         Moved ...
19821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19822         ... here.
19823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19824         Moved ...
19825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19826         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19827         Moved ...
19828         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19829         ... here.
19830         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19831         Moved ...
19832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19833         ... here.
19834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19835         Moved ...
19836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19837         ... here.
19838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19839         Moved ...
19840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19841         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19842         Moved ...
19843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19844         ... here.
19845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19846         Moved ...
19847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19848         ... here.
19849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19850         Moved ...
19851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19852         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19853         Moved ...
19854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19855         ... here.
19856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19857         Moved ...
19858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19860         Moved ...
19861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19863         Moved ...
19864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19865         ... here.
19866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19867         Moved ...
19868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19869         ... here.
19870         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19871         Moved ...
19872         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19873         ... here.
19874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19875         Moved ...
19876         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19878         Moved ...
19879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19880         ... here.
19881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19882         Moved ...
19883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19884         ... here.
19885         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19886         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19887         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19888         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19889         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19890         Moved ...
19891         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19892         ... here.
19893         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19894         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19895         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19896         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19897         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19898         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19899         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19900         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19901         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19902         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19903         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19904         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19905         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19906         Moved ...
19907         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19908         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19909         Moved ...
19910         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19911         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19912         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19913         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19914         Moved ...
19915         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19916         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19917         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19918         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19919         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19920         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19921         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19923 2014-06-10  Wilco  <wdijkstr@arm.com>
19925         * math/test-fenv-return.c: New file.
19926         * math/Makefile: Add new test test-fenv-return.
19928 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
19930         [BZ #17042]
19931         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19932         when x - 1 is zero.
19933         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19934         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19935         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19936         0.0L for an argument of 1.0L.
19937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19938         Likewise.
19939         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19940         value when x - 1 is zero.
19941         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19942         * sysdeps/i386/fpu/libm-test-ulps: Update.
19943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19945 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
19947         [BZ #15119]
19948         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19950 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19952         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19953         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19955 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19957         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19958         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19960         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19961         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19963         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19964         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19966         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19967         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19969         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19970         if not already defined.
19971         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19972         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19973         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19974         (TLS_INIT_TP): Use it.
19975         (TLS_DEFINE_INIT_TP): New macro.
19976         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19978 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19980         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19981         constant.
19982         [POSIX] (IXANY): Likewise.
19983         [POSIX] (OLCUC): Likewise.
19984         [POSIX || POSIX2008] (CBAUD): Do not allow.
19985         [POSIX || POSIX2008] (DEFECHO): Likewise.
19986         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19987         [POSIX || POSIX2008] (ECHOKE): Likewise.
19988         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19989         [POSIX || POSIX2008] (EXTA): Likewise.
19990         [POSIX || POSIX2008] (EXTB): Likewise.
19991         [POSIX || POSIX2008] (FLUSHO): Likewise.
19992         [POSIX || POSIX2008] (LOBLK): Likewise.
19993         [POSIX || POSIX2008] (PENDIN): Likewise.
19994         [POSIX || POSIX2008] (SWTCH): Likewise.
19995         [POSIX || POSIX2008] (VDISCARD): Likewise.
19996         [POSIX || POSIX2008] (VDSUSP): Likewise.
19997         [POSIX || POSIX2008] (VLNEXT): Likewise.
19998         [POSIX || POSIX2008] (VREPRINT): Likewise.
19999         [POSIX || POSIX2008] (VSTATUS): Likewise.
20000         [POSIX || POSIX2008] (VWERASE): Likewise.
20001         (B*): Change to B[0123456789]*.
20002         * conform/data/time.h-data [POSIX || UNIX98]
20003         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
20004         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20005         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
20006         [POSIX] (tm_*): Do not allow.
20008 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
20010         * Makefile (install): Don't set LANGUAGE.
20011         * Makefile.in (install): Likewise.
20012         * assert/Makefile (test-assert-ENV): Remove variable.
20013         (test-assert-perr-ENV): Likewise.
20014         * elf/Makefile (neededtest4-ENV): Likewise.
20015         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20016         [$(cross-compiling) = no]: Don't set LANGUAGE.
20017         * io/ftwtest-sh (LANG): Remove variable.
20018         * libio/Makefile (tst-widetext-ENV): Likewise.
20019         * manual/install.texi (Running make install): Don't refer to
20020         environment settings for make install.
20021         * INSTALL: Regenerated.
20022         * nptl/tst-tls6.sh: Don't set LANG.
20023         * posix/globtest.sh (LANG): Remove variable.
20024         * string/Makefile (tester-ENV): Likewise.
20025         (inl-tester-ENV): Likewise.
20026         (noinl-tester-ENV): Likewise.
20027         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20028         [$(cross-compiling) = no]: Don't set LANGUAGE.
20029         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
20030         without explicit environment settings.
20032 2014-06-06  Roland McGrath  <roland@hack.frob.com>
20034         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
20035         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
20036         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
20037         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
20039 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
20041         * crypt/crypt-private.h [DOS]: Add some includes taken from the
20042         other files in the crypt directory.
20043         * crypt/crypt.c: Remove duplicate includes.
20044         * crypt/crypt-entry.c: Likewise.
20045         * crypt/crypt_util.c: Likewise.
20047 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
20049         * Makeconfig (run-program-env): New variable.
20050         (run-program-prefix-before-env): Likewise.
20051         (run-program-prefix-after-env): Likewise.
20052         (run-program-prefix): Define in terms of new variables.
20053         (built-program-cmd-before-env): New variable.
20054         (built-program-cmd-after-env): Likewise.
20055         (built-program-cmd): Define in terms of new variables.
20056         (test-program-prefix-before-env): New variable.
20057         (test-program-prefix-after-env): Likewise.
20058         (test-program-prefix): Define in terms of new variables.
20059         (test-program-cmd-before-env): New variable.
20060         (test-program-cmd-after-env): Likewise.
20061         (test-program-cmd): Define in terms of new variables.
20062         * Rules (make-test-out): Use $(run-program-env).
20063         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
20064         (help): Do not mention environment variables.  Mention
20065         --timeoutfactor option.
20066         (timeoutfactor): New variable.
20067         (blacklist_exports): Remove function.
20068         (exports): Remove variable.
20069         (command): Do not include ${exports}.
20070         * manual/install.texi (Configuring and compiling): Do not mention
20071         test wrappers preserving environment variables.  Mention that last
20072         assignment to a variable must take precedence.
20073         * INSTALL: Regenerated.
20074         * benchtests/Makefile (run-bench): Use $(run-program-env).
20075         * catgets/Makefile ($(objpfx)test1.cat): Use
20076         $(built-program-cmd-before-env), $(run-program-env) and
20077         $(built-program-cmd-after-env).
20078         ($(objpfx)test2.cat): Do not specify environment variables
20079         explicitly.
20080         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
20081         $(run-program-env) and $(built-program-cmd-after-env).
20082         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
20083         $(run-program-env) and $(test-program-cmd-after-env).
20084         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
20085         explicitly.
20086         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
20087         run_program_env and test_program_cmd_after_env arguments.
20088         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
20089         * elf/tst-pathopt.sh: Use run_program_env argument.
20090         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
20091         $(test-wrapper-env) and $(run-program-env).
20092         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
20093         run_program_env arguments.
20094         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
20095         * intl/Makefile ($(objpfx)tst-gettext.out): Use
20096         $(test-program-prefix-before-env), $(run-program-env) and
20097         $(test-program-prefix-after-env).
20098         ($(objpfx)tst-gettext2.out): Likewise.
20099         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
20100         run_program_env and test_program_prefix_after_env arguments.
20101         * intl/tst-gettext2.sh: Likewise.
20102         * intl/tst-gettext4.sh: Do not set environment variables
20103         explicitly.
20104         * intl/tst-gettext6.sh: Likewise.
20105         * intl/tst-translit.sh: Likewise.
20106         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
20107         $(test-program-prefix-before-env), $(run-program-env) and
20108         $(test-program-prefix-after-env).
20109         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
20110         run_program_env and test_program_prefix_after_env arguments.
20111         * math/Makefile (run-regen-ulps): Use $(run-program-env).
20112         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
20113         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
20114         explicitly with each use of ${test_wrapper_env}.
20115         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
20116         $(test-program-prefix-before-env), $(run-program-env) and
20117         $(test-program-prefix-after-env).
20118         * posix/tst-getconf.sh: Do not set environment variables
20119         explicitly.
20120         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
20121         run_program_env and test_program_prefix_after_env arguments.
20122         * stdio-common/tst-printf.sh: Do not set environment variables
20123         explicitly.
20124         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
20125         $(test-program-prefix-before-env), $(run-program-env) and
20126         $(test-program-prefix-after-env).
20127         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
20128         run_program_env and test_program_prefix_after_env arguments.
20129         Split $test calls into $test_pre and $test.
20130         * timezone/Makefile (build-testdata): Use
20131         $(built-program-cmd-before-env), $(run-program-env) and
20132         $(built-program-cmd-after-env).
20134 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20136         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
20137         strlen for non SHARED builds.
20139 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20141         * nptl/allocatestack.c (check_list): Inlined function...
20142         (__reclaim_stacks): ... here.
20144 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
20146         [BZ #15698]
20147         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
20148         memory overrun.
20150 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
20152         * Rules (make-test-out): Include
20153         LOCPATH=$(common-objpfx)localedata in default environment.
20154         * debug/Makefile (tst-chk1-ENV): Remove variable.
20155         (tst-chk2-ENV): Likewise.
20156         (tst-chk3-ENV): Likewise.
20157         (tst-chk4-ENV): Likewise.
20158         (tst-chk5-ENV): Likewise.
20159         (tst-chk6-ENV): Likewise.
20160         (tst-lfschk1-ENV): Likewise.
20161         (tst-lfschk2-ENV): Likewise.
20162         (tst-lfschk3-ENV): Likewise.
20163         (tst-lfschk4-ENV): Likewise.
20164         (tst-lfschk5-ENV): Likewise.
20165         (tst-lfschk6-ENV): Likewise.
20166         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
20167         (tst-iconv7-ENV): Likewise.
20168         * intl/Makefile (LOCPATH-ENV): Likewise.
20169         (tst-codeset-ENV): Likewise.
20170         (tst-gettext3-ENV): Likewise.
20171         (tst-gettext5-ENV): Likewise.
20172         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
20173         (tst-fopenloc-ENV): Likewise.
20174         (tst-fgetws-ENV): Remove variable.
20175         (tst-ungetwc1-ENV): Likewise.
20176         (tst-ungetwc2-ENV): Likewise.
20177         (bug-ungetwc2-ENV): Likewise.
20178         (tst-swscanf-ENV): Likewise.
20179         (bug-ftell-ENV): Likewise.
20180         (tst-fgetwc-ENV): Likewise.
20181         (tst-fseek-ENV): Likewise.
20182         (tst-ftell-partial-wide-ENV): Likewise.
20183         (tst-ftell-active-handler-ENV): Likewise.
20184         (tst-ftell-append-ENV): Likewise.
20185         * posix/Makefile (tst-fnmatch-ENV): Likewise.
20186         (tst-regexloc-ENV): Likewise.
20187         (bug-regex1-ENV): Likewise.
20188         (tst-regex-ENV): Likewise.
20189         (tst-regex2-ENV): Likewise.
20190         (bug-regex5-ENV): Likewise.
20191         (bug-regex6-ENV): Likewise.
20192         (bug-regex17-ENV): Likewise.
20193         (bug-regex18-ENV): Likewise.
20194         (bug-regex19-ENV): Likewise.
20195         (bug-regex20-ENV): Likewise.
20196         (bug-regex22-ENV): Likewise.
20197         (bug-regex23-ENV): Likewise.
20198         (bug-regex25-ENV): Likewise.
20199         (bug-regex26-ENV): Likewise.
20200         (bug-regex30-ENV): Likewise.
20201         (bug-regex32-ENV): Likewise.
20202         (bug-regex33-ENV): Likewise.
20203         (bug-regex34-ENV): Likewise.
20204         (bug-regex35-ENV): Likewise.
20205         (tst-rxspencer-ENV): Likewise.
20206         (tst-rxspencer-no-utf8-ENV): Likewise.
20207         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
20208         (tst-sscanf-ENV): Likewise.
20209         (tst-swprintf-ENV): Likewise.
20210         (tst-swscanf-ENV): Likewise.
20211         (test-vfprintf-ENV): Likewise.
20212         (scanf13-ENV): Likewise.
20213         (bug14-ENV): Likewise.
20214         (tst-grouping-ENV): Likewise.
20215         * stdlib/Makefile (tst-strtod-ENV): Likewise.
20216         (tst-strtod3-ENV): Likewise.
20217         (tst-strtod4-ENV): Likewise.
20218         (tst-strtod5-ENV): Likewise.
20219         (testmb2-ENV): Likewise./
20220         * string/Makefile (tst-strxfrm-ENV): Likewise.
20221         (tst-strxfrm2-ENV): Likewise.
20222         (bug-strcoll1-ENV): Likewise.
20223         (test-strcasecmp-ENV): Likewise.
20224         (test-strncasecmp-ENV): Likewise.
20225         * time/Makefile (tst-strptime-ENV): Likewise.
20226         (tst-ftime_l-ENV): Likewise.
20227         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
20228         (tst-mbrtowc-ENV): Likewise.
20229         (tst-wcrtomb-ENV): Likewise.
20230         (tst-mbrtowc2-ENV): Likewise.
20231         (tst-c16c32-1-ENV): Likewise.
20232         (tst-mbsnrtowcs-ENV): Likewise.
20234 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
20236         * manual/resource.texi (How to get information about the memory
20237         subsystem?): Fix typo.
20238         Reported by Peon de la Parra Ivan <peon@keba.com>
20240 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
20242         [BZ #16882]
20243         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
20244         (pthread_spin_lock): Branch out of spin loop to proper location.
20245         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
20246         (pthread_spin_lock): Likewise.
20248         * nptl/tst-spin4.c: New test.
20249         * nptl/Makefile (tests): Add tst-spin4.
20251 2014-06-03  Andreas Schwab  <schwab@suse.de>
20253         [BZ #15946]
20254         * resolv/res_send.c (send_dg): Reload file descriptor after
20255         calling reopen.
20257 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
20259         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20261 2014-06-03  Richard Henderson  <rth@redhat.com>
20263         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20264         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20265         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20266         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
20267         in the SAVE_PID block.
20268         (__libc_vfork): New alias.
20269         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20271         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20272         child in registers, not on the stack.  Remove RESET_PID conditionals.
20273         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20275 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20277         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20279 2014-06-03  Wilco  <wdijkstr@arm.com>
20281         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20282         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20283         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20284         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20285         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20286         Likewise.
20288 2014-06-03  Wilco  <wdijkstr@arm.com>
20290         * sysdeps/aarch64/fpu/math_private.h
20291         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20292         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20293         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20294         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20295         Fix declarations.
20297 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20299         * crypt/crypt-private.h: Include ufc-crypt.h.
20300         (__b64_from_24bit): Declare extern.
20301         * crypt/crypt_util.c(__b64_from_24bit): New function.
20302         (b64t): New static const variable.
20303         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20304         (b64t): Remove variable.
20305         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20306         * crypt/sha256-crypt.c: Include crypt-private.h.
20307         (b64t): Remove variable.
20308         (__sha256_crypt_r): Remove b64_from_24bit and replace
20309         with __b64_from_24bit.
20310         * crypt/sha512-crypt.c: Likewise.
20312 2014-06-02  Roland McGrath  <roland@hack.frob.com>
20314         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20315         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20316         Label the code __libc_vfork rather than __vfork.
20317         [!NOT_IN_libc] (vfork): Define as weak alias.
20318         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20319         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20320         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20322 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20324         * malloc/malloc.c (malloc_info): Fix format specifier for
20325         n_mmaps.
20327 2014-06-02  Wilco  <wdijkstr@arm.com>
20329         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20330         FPCR write.
20332 2014-06-02  Wilco  <wdijkstr@arm.com>
20334         [BZ #17009]
20335         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20336         Rewrite to reduce FPCR/FPSR accesses.
20338 2014-06-01  David S. Miller  <davem@davemloft.net>
20340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20342 2014-05-31  David S. Miller  <davem@davemloft.net>
20344         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20345         to occur in round to nearest mode when |x| >= 2.0
20347 2014-05-30  Richard Henderson  <rth@twiddle.net>
20349         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20350         (PSEUDO_RET_NOERRNO): Remove.
20351         (ret): Don't redefine.
20352         (ret_NOERRNO): Define in terms of ret.
20353         (ret_ERRVAL): Likewise.
20355         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20356         use of PSEUDO_RET; perform the error check directly.
20358 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
20360         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20361         with __int128_t.
20363 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20365         * malloc/malloc (malloc_info): Fix formatting.
20367 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20368             Roland McGrath  <roland@hack.frob.com>
20370         * malloc/malloc (malloc_info): Also print mmapped statistics.
20372 2014-05-30  Roland McGrath  <roland@hack.frob.com>
20374         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20375         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20377 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
20379         * malloc/malloc.c (malloc_info): Inline mi_arena.
20381 2014-05-29  Richard Henderson  <rth@twiddle.net>
20383         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20384         Remove comma before expanding ASM_ARGS_##nr.
20385         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20386         Make _x0 a strict output; make _x8 a strict input; adjust expansion
20387         of ASM_ARGS_##nr.
20388         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20389         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20390         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20391         (ASM_ARGS_1): Add leading comma.
20393         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20394         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20395         to __errno_location.
20396         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20397         Remove the expected plt for __errno_location.
20399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20400         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20401         call to __read_tp.
20403         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20404         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
20405         it and break it down.
20406         (DOCARGS_0, DOCARGS_1): Do nothing.
20407         (DOCARGS_2): Update to store into the new stack frame.
20408         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20409         (UNDOCARGS_1): Update to restore from the new stack frame.
20410         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20411         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20413         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20414         (SINGLE_THREAD_P): New parameter for result regno.
20415         (PSEUDO): Update to match; use cbz instead of beq.
20417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20418         Use ENTRY to define the _nocancel entry point.  Share the syscall
20419         and syscall error check paths with the cancel path.
20420         (PSEUDO_END): New.
20422         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20423         whitespace; tabs before and after asm mnemonics.
20425 2014-05-29  Eric Wong  <normalperson@yhbt.net>
20427         [BZ #15132]
20428         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20429         Call fstat64 or stat64 internally, depending on arguments passed.
20430         Replace stat buffer argument with file descriptor argument.
20431         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20432         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20433         Pass fd to __internal_statvfs instead of calling fstat64.
20434         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20435         Pass fd to __internal_statvfs64 instead of calling fstat64.
20436         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20437         Pass -1 to __internal_statvfs instead of calling stat64.
20438         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20439         Pass -1 to __internal_statvfs64 instead of calling stat64.
20441 2014-05-28  Roland McGrath  <roland@hack.frob.com>
20443         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20444         that was previously under [RESET_PID].
20445         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20447         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20448         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20450 2014-05-27  Roland McGrath  <roland@hack.frob.com>
20452         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20454         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20455         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20457 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
20459         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20461 2014-05-27  Andreas Schwab  <schwab@suse.de>
20463         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20464         TLS_INIT_TP macro.
20465         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20466         * elf/rtld.c (init_tls, dl_main): Likewise.
20467         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20468         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20469         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20470         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20471         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20472         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20473         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20474         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20475         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20476         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20477         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20478         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20479         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20480         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20481         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20482         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20483         * sysdeps/generic/tls.h: Update description.
20485 2014-05-27  Will Newton  <will.newton@linaro.org>
20487         [BZ #16990]
20488         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20489         and restore r2 rather than just restoring.
20491 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20493         [BZ #16724]
20494         * libio/tst-ftell-append.c: New test case.
20495         * libio/Makefile (tests): Add test case.
20496         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20497         append mode.
20498         * libio/wfileops.c (do_ftell_wide): Likewise.
20500 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20504         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20505         ...
20506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20508         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20509         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20510         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20511         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20512         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20513         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20514         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20515         Moved ...
20516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20517         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20518         Moved ...
20519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20520         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20521         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20522         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20523         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20524         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20525         ...
20526         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20527         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20528         Moved ...
20529         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20530         here.
20531         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20532         ...
20533         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20534         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20535         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20537         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20538         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20539         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20540         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20542         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20543         merge into ...
20544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20545         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20546         ...
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20548         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20549         ...
20550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20551         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20552         Moved ...
20553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20554         here.
20555         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20556         Moved ...
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20558         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20559         Moved ...
20560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20563         conditional [RESET_PID].
20564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20565         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20566         removed.
20567         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20568         removed.
20570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20571         <tcb-offsets.h>.
20572         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20573         (__libc_vfork): New strong alias.
20574         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20575         removed.
20576         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20577         Removed.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20580         <tcb-offsets.h>.
20581         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20582         (__libc_vfork): New strong alias.
20583         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20584         removed.
20585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20586         removed.
20588 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
20590         * malloc/malloc.c (mi_arena): New function.
20591         (malloc_info): Remove nested function mi_arena. Call non-nosted
20592         function mi_arena.
20594 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20596         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20597         by insrwi.
20598         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20599         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20600         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20601         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20602         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20603         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20604         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20606 2014-05-26  Andreas Schwab  <schwab@suse.de>
20608         [BZ #16984]
20609         * locale/programs/repertoire.c (repertoire_read): Add slash
20610         between I18NPATH element and file name.
20611         * locale/programs/locfile.c (locfile_read): Likewise.
20613 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20615         * nptl/pthread_mutexattr_settype.c
20616         (__pthread_mutexattr_settype):
20617         Disable lock elision for PTHREAD_MUTEX_NORMAL.
20619 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20621         * nptl/tst-mutex5 (do_test):
20622         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20624 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20626         * benchtests/README: Document 'init' directive.
20627         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20628         BENCH_INIT.
20629         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20630         (parse_file): Recognize 'init' directive.
20632 2014-05-26  Kyle McMartin  <kyle@redhat.com>
20634         [BZ #16796]
20635         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20636         alignment of struct pthread.
20638 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20640         [BZ #16878]
20641         * nscd/netgroupcache.c (addgetnetgrentX): Look for
20642         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20643         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20644         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20646 2014-05-25  Richard Henderson  <rth@twiddle.net>
20648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20649         (SINGLE_THREAD_P_PIC): Remove.
20650         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20651         (SINGLE_THREAD_P_PIC): Remove.
20653         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20654         branch to syscall error ...
20655         (PSEUDO): ... here.
20656         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20657         from __local_syscall_error to .Lsyscall_error.
20658         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20659         (SYSCALL_ERROR): Update label name.
20661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20662         Do not use DOARGS/UNDOARGS.
20663         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20664         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20665         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20666         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20667         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20669         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20670         block comment.
20672         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20673         define if !NOT_IN_libc.
20674         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20675         define with non-default symbol versions.
20677 2014-05-23  Richard Henderson  <rth@twiddle.net>
20679         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20680         (vfork, __vfork): Define via compat_symbol.
20682         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20683         [!HAVE_IFUNC] (vfork_compat): Remove.
20684         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20686 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
20688         [BZ #16978]
20689         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20690         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20691         variable.
20693 2014-05-23  Richard Henderson  <rth@twiddle.net>
20695         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20696         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20697         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20698         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20700         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20701         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20702         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20703         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20704         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20705         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20706         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20707         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20708         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20709         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20710         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20711         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20712         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20713         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20714         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20715         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20716         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20717         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20718         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20719         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20720         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20721         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20722         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20723         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20724         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20725         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20726         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20727         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20728         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20729         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20730         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20731         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20732         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20733         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20734         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20735         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20736         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20737         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20738         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20739         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20740         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20741         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20742         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20743         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20744         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20745         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20746         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20747         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20748         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20749         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20750         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20751         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20752         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20753         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20754         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20755         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20757         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20758         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20759         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
20760         before exiting on error.
20761         (__libc_vfork): New strong alias.
20762         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20763         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20765         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20766         that was previously under [RESET_PID].
20767         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20769         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20771 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
20773         [BZ #16977]
20774         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20775         value when x - 1 is zero.
20776         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20777         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20778         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20779         0.0L for an argument of 1.0L.
20780         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20781         Likewise.
20782         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20783         value when x - 1 is zero.
20784         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20785         * sysdeps/i386/fpu/libm-test-ulps: Update.
20786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20788 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20790         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20791         alphasort and versionsort.
20793 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20795         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20796         macro.
20797         [copysignf]: Likewise.
20799 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20801         * crypt/md5-crypt.c: Fix formatting.
20803 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20805         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20806         (b64_from_24bit): New function.
20808 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20810         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20811         libc_hidden_builtin_def to ifunc.
20812         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20813         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20815 2014-05-21  Roland McGrath  <roland@hack.frob.com>
20817         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20818         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20820 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
20822         * nscd/Depend (linuxthreads): Remove.
20823         (nptl): Add.
20824         * resolv/Depend (linuxthreads): Remove.
20825         * rt/Depend (linuxthreads): Remove.
20827         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20828         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20829         $(common-objpfx)elf/.
20830         (link-libc-before-gnulib): Likewise.
20831         (elfobjdir): Remove variable.
20832         * Makefile (install): Use $(elf-objpfx) instead of
20833         $(common-objpfx)elf/.
20834         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20835         $(elfobjdir)/.
20836         (link-libc-deps): Likewise.
20837         ($(common-objpfx)libc.so): Likewise.
20838         ($(common-objpfx)linkobj/libc.so): Likewise.
20839         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20840         instead of $(common-objpfx)elf/.
20841         (symbolic-link-list): Likewise.
20842         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20843         [$(cross-compiling) = no]: Likewise.
20844         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20845         $(elfobjdir)/.
20846         (static-gnulib-arch): Likewise.
20847         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20848         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20849         $(common-objpfx)elf/.
20851 2014-05-21  Richard Henderson  <rth@redhat.com>
20853         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20854         (SINGLE_THREAD_P): Use the correct width load.  Fold
20855         into the ldr offset.
20857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20858         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20860 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
20862         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20863         (libgcc_s_resume): Use __attribute_used__.
20864         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20865         Likewise.
20867 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20869         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20870         optimization when used with float constants.
20872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20874 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
20876         [BZ #16915]
20877         * locale/nl_langinfo_l.c: Make direct reference to every
20878         _nl_current_CATEGORY symbol.
20879         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20880         (tests-static): Add tst-langinfo-static.
20881         (tests-special): Add tst-langinfo-static.out.
20882         ($(objpfx)tst-langinfo.out): Redirect output.
20883         ($(objpfx)tst-langinfo-static.out): New.
20884         * localedata/tst-langinfo.sh: Send output to stdout.
20885         * localedata/tst-langinfo-static.c: New file.
20887         [BZ #16965]
20888         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20889         when the shift amount is modulo the limb size.
20891 2014-05-20  Richard Henderson  <rth@redhat.com>
20893         [BZ #16967]
20894         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20895         Change type of sa_flags from unsigned int to int.
20897         [BZ #16966]
20898         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20900         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20902 2014-05-20  Will Newton  <will.newton@linaro.org>
20904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20905         Test the return value of the system call in the nocancel case.
20907 2014-05-20  Will Newton  <will.newton@linaro.org>
20908             Yvan Roux  <yvan.roux@linaro.org>
20910         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20911         #include of asm/ptrace.h.
20912         (PTRACE_GET_THREAD_AREA): Remove #undef.
20913         (PTRACE_GETHBPREGS): Likewise.
20914         (PTRACE_SETHBPREGS): Likewise.
20915         (struct user_regs_struct): New structure.
20916         (struct user_fpsimd_struct): New structure.
20917         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20918         #include of asm/ptrace.h and second #include of sys/user.h.
20919         (PTRACE_GET_THREAD_AREA): Remove #undef.
20920         (PTRACE_GETHBPREGS): Likewise.
20921         (PTRACE_SETHBPREGS): Likewise.
20922         (ELF_NGREG): Use new struct user_regs_struct.
20923         (elf_fpregset_t): Use new struct user_fpsimd_struct.
20925 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20927         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20928         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20930 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
20932         [BZ #16958]
20933         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20934         membar to avoid block loads/stores to overlap previous stores.
20936 2014-05-17  Richard Henderson  <rth@redhat.com>
20938         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20939         Create the __##syscall_name##_nocancel entry point.
20940         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20941         Remove; let the sysdep-cancel.h code create it.
20943 2014-05-17  David S. Miller  <davem@davemloft.net>
20945         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20946         Protect with __USE_GNU.
20947         (TIOCSET_TEMPT): Likewise.
20948         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20949         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20950         these are already provided in bits/ioctl-types.h
20952 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20954         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20955         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20957         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20958         Use wait4 regardless of [__NR_waitpid].
20960 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20962         PR libgcc/60166
20963         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20964         (_FP_NANSIGN_Q): Set the quiet bit.
20966 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
20968         * benchtests/Makefile
20969         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20970         not $(common-objpfx)math/libm.so.
20971         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20972         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20973         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20974         $(common-objpfx)dlfcn/libdl.so.
20975         ($(objpfx)tst-audit8): Depend on $(libm), not
20976         $(common-objpfx)math/libm.so.
20977         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20978         not $(common-objpfx)dlfcn/libdl.so.
20979         * math/Makefile
20980         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20981         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20982         [$(build-shared) = yes].
20983         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20984         $(common-objpfx)nptl/libpthread.so.
20985         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20986         $(common-objpfx)math/libm.so$(libm.so-version) or
20987         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20988         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20989         $(common-objpfx)dlfcn/libdl.so.
20990         * setjmp/Makefile (link-libm): Remove variable.
20991         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20992         * stdio-common/Makefile (link-libm): Remove variable.
20993         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20994         * stdlib/Makefile (link-libm): Remove variable.
20995         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20996         ($(objpfx)tst-strtod-round): Likewise.
20997         ($(objpfx)tst-tininess): Likewise.
20998         ($(objpfx)tst-strtod-underflow): Likewise.
20999         ($(objpfx)tst-strtod6): Likewise.
21000         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
21001         $(libdl), not $(common-objpfx)nptl/libpthread.so and
21002         $(common-objpfx)dlfcn/libdl.so.
21004 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21006         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
21007         BSD terminal modes definitions.
21009 2014-05-16  Roland McGrath  <roland@hack.frob.com>
21011         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
21012         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
21014         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
21015         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
21016         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
21017         Don't do #include_next.
21018         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
21019         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
21020         Don't do #include_next.
21021         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
21022         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
21023         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
21024         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
21026 2014-05-16  Allan McRae  <allan@archlinux.org>
21028         * po/sv.po: Update Swedish translation from translation project.
21030         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
21031         in sed expression.
21033 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
21035         [BZ #16917]
21036         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
21037         errno if the TIOCGPTN ioctl fails with an error different than
21038         EINVAL.
21039         * login/tst-ptsname.c: New file.
21040         * login/Makefile (tests): Add tst-ptsname.
21042         [BZ #16943]
21043         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
21044         and prlimit64.
21046 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21048         [BZ #16849]
21049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
21050         herrno to return EAI_AGAIN.
21052 2014-05-14  Roland McGrath  <roland@hack.frob.com>
21054         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
21055         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
21056         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
21057         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
21058         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
21059         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
21060         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
21061         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
21062         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
21063         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
21064         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
21065         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
21066         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
21067         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
21068         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
21069         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
21070         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
21071         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
21072         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
21073         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
21074         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
21075         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
21076         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
21077         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
21078         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
21079         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
21080         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
21081         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
21082         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
21083         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
21084         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
21085         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
21086         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
21087         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
21088         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21089         Moved ...
21090         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
21091         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
21092         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
21093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
21094         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
21095         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
21096         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
21097         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
21098         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
21099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
21100         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
21101         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
21102         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
21103         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
21104         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
21105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
21106         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
21107         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
21108         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
21109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
21110         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
21111         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
21112         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
21113         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
21114         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
21115         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
21116         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
21117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21118         Moved ...
21119         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
21120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
21121         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
21122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
21123         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
21124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
21125         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
21126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
21127         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
21128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
21129         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
21130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
21131         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
21132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
21133         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
21134         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
21135         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
21136         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
21137         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
21138         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21139         Moved ...
21140         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
21141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
21142         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
21144         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
21145         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
21146         (libpthread-sysdep_routines): Add elision-related stuff here instead.
21147         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
21148         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
21149         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
21150         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
21151         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
21152         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
21153         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
21154         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
21155         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
21156         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
21157         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
21158         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
21159         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
21160         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
21161         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
21162         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
21163         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
21164         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
21165         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
21166         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
21167         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
21168         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
21169         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
21170         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
21171         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
21172         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
21173         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
21174         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
21176         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
21177         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
21179         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
21180         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
21181         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
21182         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
21183         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
21184         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
21185         Moved ...
21186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
21187         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
21188         Moved ...
21189         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
21190         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
21191         Moved ...
21192         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
21193         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
21194         Moved ...
21195         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
21196         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
21197         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
21198         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
21199         Moved ...
21200         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
21201         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
21202         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
21203         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
21204         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
21205         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
21206         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
21207         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
21208         Moved ...
21209         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
21210         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21211         Moved ...
21212         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
21213         ... here.
21214         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
21215         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
21216         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
21217         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
21218         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21219         Moved ...
21220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
21221         ... here.
21222         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
21223         Moved ...
21224         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
21225         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
21226         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
21227         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
21228         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
21229         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
21230         Moved ...
21231         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
21232         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
21233         Moved ...
21234         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
21235         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
21236         Moved ...
21237         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
21238         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
21239         Moved ...
21240         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
21241         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
21242         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
21243         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
21244         Moved ...
21245         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
21246         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
21247         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
21248         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
21249         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
21250         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21251         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21252         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21253         Moved ...
21254         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21255         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21256         Moved ...
21257         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21258         ... here.
21259         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21260         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21261         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21262         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21263         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21264         Moved ...
21265         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21266         ... here.
21267         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21268         Moved ...
21269         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21270         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21271         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21272         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21273         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21274         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21275         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21276         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21277         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21278         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21279         Moved ...
21280         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21281         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21282         Moved ...
21283         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21284         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21285         Moved ...
21286         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21287         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21288         Moved ...
21289         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21290         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21291         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21292         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21293         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21294         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21295         Moved ...
21296         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21297         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21298         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21299         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21300         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21301         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21302         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21303         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21304         Moved ...
21305         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21306         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21307         Moved ...
21308         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21309         ... here.
21310         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21311         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21312         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21313         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21314         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21315         Moved ...
21316         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21317         ... here.
21318         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21319         Moved ...
21320         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21321         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21322         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21323         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21324         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21325         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21326         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21327         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21328         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21329         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21330         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21332         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21333         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21335         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21336         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21338         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21339         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21340         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21341         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21342         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21343         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21344         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21345         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21346         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21347         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21349         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21350         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21351         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21352         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21354         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21355         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21356         Moved ...
21357         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21358         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21359         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21360         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21361         Moved ...
21362         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21363         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21364         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21365         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21366         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21367         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21368         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21369         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21370         Moved ...
21371         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21372         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21373         Moved ...
21374         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21375         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21376         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21377         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21378         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21379         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21380         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21381         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21382         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21383         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21384         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21385         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21386         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21387         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21388         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21389         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21392         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21393         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21394         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21395         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21396         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21398         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21399         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21400         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21401         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21402         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21403         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21404         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21405         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21406         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21407         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21409         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21412         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21413         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21414         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21415         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21416         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21417         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21418         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21419         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21420         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21421         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21422         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21423         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21424         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21425         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21427         Update #include.
21428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21429         Likewise.
21430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21431         Likewise.
21432         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21433         Likewise.
21434         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21435         Likewise.
21436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21437         Likewise.
21438         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21439         Likewise.
21440         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21441         Likewise.
21442         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21443         Likewise.
21444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21445         Likewise.
21446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21447         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21448         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21449         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21450         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21451         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21452         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21453         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21454         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21457         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21458         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21459         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
21460         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
21462         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21463         that was previously under [RESET_PID].
21464         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21465         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21466         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21468         * sysdeps/i386/nptl/Implies: New file.
21469         * sysdeps/x86_64/nptl/Implies: New file.
21470         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21471         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21472         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21473         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21475         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21476         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21477         (__libc_vfork): New strong alias.
21478         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21479         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21481         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21482         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21483         (__libc_vfork): New strong alias.
21484         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21485         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21487         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21488         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21489         (__libc_vfork): New strong alias.
21490         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21491         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21492         * nptl/pt-vfork.c: New file.
21493         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21494         (libpthread: GLIBC_2.20): New version set (empty).
21496 2014-05-14  Will Newton  <will.newton@linaro.org>
21498         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21499         rather than #if.
21501 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
21503         [BZ #16564]
21504         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21505         arguments with exponent 65 or above.
21506         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21507         arguments 0x1p113L or above.
21508         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21509         to arguments 0x1p107L or above.
21510         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21511         positive arguments with exponent 65 or above.
21512         * math/auto-libm-test-in: Add more tests of log1p.
21513         * math/auto-libm-test-out: Regenerated.
21515         [BZ #16928]
21516         * math/s_cacos.c (__cacos): Ensure zero real part of result from
21517         non-finite arguments is +0.
21518         * math/s_cacosf.c (__cacosf): Likewise.
21519         * math/s_cacosl.c (__cacosl): Likewise.
21520         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21521         * sysdeps/i386/fpu/libm-test-ulps: Update.
21522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21524         [BZ #16927]
21525         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21526         value.
21527         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21528         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21529         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21530         for explicit high bit of mantissa when testing for argument equal
21531         to 1.
21532         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21533         * sysdeps/i386/fpu/libm-test-ulps: Update.
21534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21536         [BZ #16516]
21537         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21538         (__erf): Scale by 16 instead of 8 in potentially underflowing
21539         case.  Ensure exception if result actually underflows.
21540         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21541         (__erff): Scale by 16 instead of 8 in potentially underflowing
21542         case.  Ensure exception if result actually underflows.
21543         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21544         (efx8): Remove variable.
21545         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21546         case.  Ensure exception if result actually underflows.
21547         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21548         (efx8): Remove variable.
21549         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21550         case.  Ensure exception if result actually underflows.
21551         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21552         (efx8): Remove variable.
21553         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21554         case.  Ensure exception if result actually underflows.
21555         * math/auto-libm-test-in: Add more tests of erf.
21556         * math/auto-libm-test-out: Regenerated.
21558 2014-05-14  Andreas Schwab  <schwab@suse.de>
21560         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21561         Remove code conditionalized on USE___THREAD.
21563         * config.h.in (HAVE_PT_CHOWN): Define as 0.
21564         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21565         not definedness.
21567 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
21569         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21570         Define unconditionally.
21571         (__ASSUME_O_CLOEXEC): Likewise.
21572         (__ASSUME_SOCK_CLOEXEC): Likewise.
21573         (__ASSUME_IN_NONBLOCK): Likewise.
21574         (__ASSUME_PIPE2): Likewise.
21575         (__ASSUME_EVENTFD2): Likewise.
21576         (__ASSUME_SIGNALFD4): Likewise.
21577         (__ASSUME_DUP3): Likewise.
21578         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21579         (__ASSUME_DUP3): Do not define.
21580         (__ASSUME_EVENTFD2): Likewise.
21581         (__ASSUME_IN_NONBLOCK): Likewise.
21582         (__ASSUME_O_CLOEXEC): Likewise.
21583         (__ASSUME_PIPE2): Likewise.
21584         (__ASSUME_SIGNALFD4): Likewise.
21585         (__ASSUME_SOCK_CLOEXEC): Likewise.
21586         (__ASSUME_UTIMES): Undefine.
21587         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21588         (__ASSUME_UTIMES): Do not define.
21589         (__ASSUME_O_CLOEXEC): Likewise.
21590         (__ASSUME_SOCK_CLOEXEC): Likewise.
21591         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21592         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21593         0x020621].
21594         (__ASSUME_PIPE2): Likewise.
21595         (__ASSUME_EVENTFD2): Likewise.
21596         (__ASSUME_SIGNALFD4): Likewise.
21597         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21598         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21599         Do not define.
21600         (__ASSUME_EVENTFD2): Likewise.
21601         (__ASSUME_SIGNALFD4): Likewise.
21602         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21603         (__ASSUME_32BITUIDS): Likewise.
21604         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21605         (__ASSUME_IPC64): Likewise.
21606         (__ASSUME_ST_INO_64_BIT): Likewise.
21607         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21608         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21609         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21610         (__ASSUME_UTIMES): Do not define.
21611         (__ASSUME_PSELECT): Likewise.
21612         (__ASSUME_PPOLL): Likewise.
21613         (__ASSUME_O_CLOEXEC): Likewise.
21614         (__ASSUME_SOCK_CLOEXEC): Likewise.
21615         (__ASSUME_IN_NONBLOCK): Likewise.
21616         (__ASSUME_PIPE2): Likewise.
21617         (__ASSUME_EVENTFD2): Likewise.
21618         (__ASSUME_SIGNALFD4): Likewise.
21619         (__ASSUME_DUP3): Likewise.
21620         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21621         (__ASSUME_UTIMES): Likewise.
21622         (__ASSUME_O_CLOEXEC): Likewise.
21623         (__ASSUME_SOCK_CLOEXEC): Likewise.
21624         (__ASSUME_IN_NONBLOCK): Likewise.
21625         (__ASSUME_PIPE2): Likewise.
21626         (__ASSUME_EVENTFD2): Likewise.
21627         (__ASSUME_SIGNALFD4): Likewise.
21628         (__ASSUME_DUP3): Likewise.
21629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21630         (__ASSUME_UTIMES): Likewise.
21631         (__ASSUME_O_CLOEXEC): Likewise.
21632         (__ASSUME_SOCK_CLOEXEC): Likewise.
21633         (__ASSUME_IN_NONBLOCK): Likewise.
21634         (__ASSUME_PIPE2): Likewise.
21635         (__ASSUME_EVENTFD2): Likewise.
21636         (__ASSUME_SIGNALFD4): Likewise.
21637         (__ASSUME_DUP3): Likewise.
21638         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21639         Likewise.
21640         (__ASSUME_UTIMES): Likewise.
21641         (__ASSUME_EVENTFD2): Likewise.
21642         (__ASSUME_SIGNALFD4): Likewise.
21643         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21644         (__ASSUME_O_CLOEXEC): Likewise.
21645         (__ASSUME_SOCK_CLOEXEC): Likewise.
21646         (__ASSUME_IN_NONBLOCK): Likewise.
21647         (__ASSUME_PIPE2): Likewise.
21648         (__ASSUME_EVENTFD2): Likewise.
21649         (__ASSUME_SIGNALFD4): Likewise.
21650         (__ASSUME_DUP3): Likewise.
21651         (__ASSUME_UTIMES): Undefine.
21653         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21654         feclearexcept.  Remove symbol versioning code.
21655         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
21656         symbol versioning code.
21657         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
21658         symbol versioning code.
21659         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21660         feupdateenv.  Remove symbol versioning code.
21661         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21662         fegetexceptflag.  Remove symbol versioning code.
21663         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21664         fesetexceptflag.  Remove symbol versioning code.
21665         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21666         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
21667         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21668         (__posix_fadvise64_l32): Remove prototype.
21669         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21670         code.
21672 2014-05-13  Roland McGrath  <roland@hack.frob.com>
21674         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21675         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21676         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21677         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21679 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
21681         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21682         current working directory
21684 2014-05-13  Roland McGrath  <roland@hack.frob.com>
21686         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21687         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21688         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21689         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21690         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21691         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21692         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21693         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21694         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21695         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21696         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21697         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21698         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21699         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21700         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21701         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21702         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21703         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21704         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21705         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21706         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21707         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21708         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21709         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21710         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21711         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21712         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21713         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21714         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21715         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21716         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21717         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21718         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21719         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21720         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21721         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21722         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21723         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21724         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21725         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21726         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21727         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21729         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21730         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21732         * sysdeps/unix/sysv/linux/arm/Makefile
21733         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21734         Add rt-aeabi_unwind_cpp_pr1.
21735         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21736         Add nptl-aeabi_unwind_cpp_pr1.
21737         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21738         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21739         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21740         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21741         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21742         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21744         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21745         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21746         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21747         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21749         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21750         Deconditionalize the code that was previously under [RESET_PID].
21751         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21753         * sysdeps/generic/exit-thread.h: New file.
21754         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21755         * include/unistd.h (__exit_thread): Remove declaration.
21756         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21757         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21758         * csu/libc-start.c: Include <exit-thread.h>.
21759         (LIBC_START_MAIN): Pass no argument to __exit_thread.
21760         * nptl/pthread_create.c: Include <exit-thread.h>.
21761         (start_thread): Call __exit_thread in place of __exit_thread_inline.
21762         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21763         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21764         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21765         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21766         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21767         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21768         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21769         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21770         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21771         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21772         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21773         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21774         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21775         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21776         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21777         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21779 2014-05-13  Andreas Schwab  <schwab@suse.de>
21781         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21783 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
21785         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21786         (__ASSUME_UTIMES): Do not condition on kernel version.
21787         (__ASSUME_PSELECT): Define unconditionally.
21788         (__ASSUME_PPOLL): Likewise.
21789         (__ASSUME_ATFCTS): Likewise.
21790         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21791         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21792         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21793         (__ASSUME_UTIMENSAT): Define unconditionally.
21794         (__ASSUME_PRIVATE_FUTEX): Likewise.
21795         (__ASSUME_FALLOCATE): Likewise.
21796         (__ASSUME_O_CLOEXEC): Likewise.
21797         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21798         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21799         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21800         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21801         (__ASSUME_IN_NONBLOCK): Likewise.
21802         (__ASSUME_PIPE2): Likewise.
21803         (__ASSUME_EVENTFD2): Likewise.
21804         (__ASSUME_SIGNALFD4): Likewise.
21805         (__ASSUME_DUP3): Likewise.
21806         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21807         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21808         (__ASSUME_AT_RANDOM): Likewise.
21809         (__ASSUME_PREADV): Likewise.
21810         (__ASSUME_PWRITEV): Likewise.
21811         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21812         (__ASSUME_F_GETOWN_EX): Define unconditionally.
21813         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21814         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21815         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21816         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21817         (__ASSUME_O_CLOEXEC): Define unconditionally.
21818         (__ASSUME_PSELECT): Do not undefine conditionally.
21819         (__ASSUME_PPOLL): Likewise.
21820         (__ASSUME_ATFCTS): Likewise.
21821         (__ASSUME_SET_ROBUST_LIST): Likewise.
21822         (__ASSUME_UTIMENSAT): Likewise.
21823         (__ASSUME_FDATASYNC): Define unconditionally.
21824         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21825         (__ASSUME_SIGFRAME_V2): Likewise.
21826         )__ASSUME_EVENTFD2): Likewise.
21827         (__ASSUME_SIGNALFD4): Likewise.
21828         (__ASSUME_PSELECT): Do not undefine conditionally.
21829         (__ASSUME_PPOLL): Likewise.
21830         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21831         (__ASSUME_PSELECT): Define unconditionally.
21832         (__ASSUME_PPOLL): Likewise.
21833         (__ASSUME_O_CLOEXEC): Likewise.
21834         (__ASSUME_SOCK_CLOEXEC): Likewise.
21835         (__ASSUME_IN_NONBLOCK): Likewise.
21836         (__ASSUME_PIPE2): Likewise.
21837         (__ASSUME_EVENTFD2): Likewise.
21838         (__ASSUME_SIGNALFD4): Likewise.
21839         (__ASSUME_DUP3): Likewise.
21840         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21841         (__ASSUME_O_CLOEXEC): Likewise.
21842         (__ASSUME_SOCK_CLOEXEC): Likewise.
21843         (__ASSUME_IN_NONBLOCK): Likewise.
21844         (__ASSUME_PIPE2): Likewise.
21845         (__ASSUME_EVENTFD2): Likewise.
21846         (__ASSUME_SIGNALFD4): Likewise.
21847         (__ASSUME_DUP3): Likewise.
21848         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21849         (__ASSUME_EVENTFD2): Likewise.
21850         (__ASSUME_SIGNALFD4): Likewise.
21851         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21853 2014-05-12  Andreas Schwab  <schwab@suse.de>
21855         [BZ #16932]
21856         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21857         (_nss_nis_gethostbyname4_r): Return error if item length is larger
21858         than maximum RPC packet size.
21859         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21860         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21861         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21862         (_nss_nis_getservbyport_r): Likewise.
21864 2014-05-12  Will Newton  <will.newton@linaro.org>
21866         * malloc/Makefile (tests): Add tst-mallopt.
21867         * malloc/tst-mallopt.c: New file.
21869 2014-05-09  Roland McGrath  <roland@hack.frob.com>
21871         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21872         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21874 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21876         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21877         (tst-tlsmod6.so): Likewise.
21879 2014-05-09  Roland McGrath  <roland@hack.frob.com>
21881         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21883 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
21885         [BZ #16064]
21886         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21887         and <dl-procinfo.h>.
21888         (__fegetenv): Save SSE state in envp->__eip if supported.
21889         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21890         envp->__eip if supported.
21891         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21892         and <dl-procinfo.h>.
21893         (__fesetenv): Always set __eip, __cs_selector, __opcode,
21894         __data_offset and __data_selector in environment to 0.  Set SSE
21895         state if supported.
21896         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21897         test-fenv-sse.
21898         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21899         -mfpmath=sse.
21900         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21902 2014-05-09  Will Newton  <will.newton@linaro.org>
21904         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21905         and libc_relro_required for ARM.
21906         * sysdeps/arm/preconfigure: Regenerate.
21908 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
21909             Stefan Liebler  <stli@linux.vnet.ibm.com>
21911         * config.make.in (enable-lock-elision): New Makefile variable.
21912         * configure.ac: Likewise.
21913         * configure: Regenerate.
21914         * sysdeps/s390/configure.ac:
21915         Add check for gcc transactions support.
21916         * sysdeps/s390/configure: Regenerate.
21917         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21918         Build elision files if enabled.
21919         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21920         Add lock elision support for s390.
21921         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21922         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21923         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21924         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21925         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21926         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21927         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21928         Likewise.
21929         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21930         Likewise.
21931         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21932         Likewise.
21933         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21934         Likewise.
21935         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21936         (__lll_timedlock_elision, __lll_lock_elision)
21937         (__lll_unlock_elision, __lll_trylock_elision)
21938         (lll_timedlock_elision, lll_lock_elision)
21939         (lll_unlock_elision, lll_trylock_elision): Add.
21940         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21941         (pthread_mutex_t): Add lock elision support for s390.
21943 2014-05-14  Wilco  <wdijkstr@arm.com>
21945         * sysdeps/arm/fclrexcpt.c: Cleanup.
21946         * sysdeps/arm/fedisblxcpt.c: Cleanup.
21947         * sysdeps/arm/feenablxcpt.c: Cleanup.
21948         * sysdeps/arm/fegetenv.c: Cleanup.
21949         * sysdeps/arm/fegetexcept.c: Cleanup.
21950         * sysdeps/arm/fegetround.c: Cleanup.
21951         * sysdeps/arm/feholdexcpt.c: Cleanup.
21952         * sysdeps/arm/fesetenv.c: Cleanup.
21953         * sysdeps/arm/fesetround.c: Cleanup.
21954         * sysdeps/arm/feupdateenv.c: Cleanup.
21955         * sysdeps/arm/fgetexcptflg.c: Cleanup.
21956         * sysdeps/arm/fraiseexcpt.c: Cleanup.
21957         * sysdeps/arm/fsetexcptflg.c: Cleanup.
21958         * sysdeps/arm/ftestexcept.c: Cleanup.
21959         * sysdeps/arm/get-rounding-mode.h: Cleanup.
21960         * sysdeps/arm/setfpucw.c: Cleanup.
21962 2014-05-09  Will Newton  <will.newton@linaro.org>
21964         * sysdeps/arm/armv7/strcmp.S: New file.
21965         * NEWS: Mention addition of ARMv7 optimized strcmp.
21967 2014-05-08  Roland McGrath  <roland@hack.frob.com>
21969         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21970         look for %.ac rather than %.in.
21972         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21973         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21974         * sysdeps/mach/hurd/configure: Regenerated.
21975         * sysdeps/unix/sysv/linux/configure: Regenerated.
21977         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21979 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21981         [BZ# 16922]
21982         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21983         (LONG_SUB): Ditto.
21984         (PTR_SUB): Ditto.
21986 2014-05-07  Andreas Schwab  <schwab@suse.de>
21988         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21989         when skipping over non-matching result from nscd.
21991 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21993         [BZ #16876]
21994         * nptl/sockperf.c (client): Check socket return value.
21996         [BZ #16877]
21997         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21998         nscd security class.
22000 2014-05-06  Roland McGrath  <roland@hack.frob.com>
22002         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
22003         * sysdeps/arm/unwind.h: ... here.
22005 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
22007         [BZ# 16916]
22008         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
22009         Define.
22011 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22013         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
22014         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
22015         multiarch strncpy for PPC64.
22016         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
22017         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
22018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
22019         multiarch optimizations.
22020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22021         (__libc_ifunc_impl_list): Likewise.
22022         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
22023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
22024         multiarch stpncpy for PPC64.
22025         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
22026         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
22028 2014-05-06  Andreas Schwab  <schwab@suse.de>
22030         [BZ #16912]
22031         * gmon/mcount.c (_MCOUNT_DECL): Use
22032         atomic_compare_and_exchange_bool_acq instead of
22033         catomic_compare_and_exchange_bool_acq.
22035 2014-05-05  Roland McGrath  <roland@hack.frob.com>
22037         * elf/Makefile (others, install-bin): Remove pldd.
22038         (pldd-modules): Variable removed.
22039         ($(objpfx)pldd): Target removed.
22040         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
22041         (others, install-bin): Append pldd here.
22042         ($(objpfx)pldd): New target.
22044         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
22045         to 0, so the first #if test emitted later doesn't see it undefined.
22046         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
22047         * sysdeps/gnu/errlist.c: Regenerated.
22049 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22051         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22052         [libc_hidden_builtin_def]: Define to empty value.
22053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
22054         [libc_hidden_builtin_def]: Likewise.
22055         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
22056         [libc_hidden_builtin_def]: Likewise.
22057         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
22058         [libc_hidden_builtin_def]: Likewise.
22059         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
22060         __redirect_memcpy and define ifunc as default hidden symbol.
22061         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
22062         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
22064 2014-05-04  Adam Conrad  <adconrad@0c3.net>
22066         * locale/iso-4217.def: Reintroduce XDR currency.
22068 2014-05-04  Allan McRae  <allan@archlinux.org>
22070         * po/eo.po: Update Esperanto translation from translation project.
22072 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
22074         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
22075         and FEATURE_INDEX_MAX to 1.
22076         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
22078 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22080         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
22081         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
22082         * iconvdata/big5.c (ONE_DIRECTION): Define.
22083         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
22084         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
22085         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
22086         * iconvdata/cp932.c (ONE_DIRECTION): Define.
22087         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
22088         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
22089         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
22090         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
22091         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
22092         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
22093         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
22094         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
22095         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
22096         * iconvdata/gbk.c (ONE_DIRECTION): Define.
22097         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
22098         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
22099         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
22100         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
22101         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
22102         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
22103         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
22104         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
22105         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
22106         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
22107         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
22108         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
22109         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
22110         * iconvdata/iso646.c (ONE_DIRECTION): Define.
22111         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
22112         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
22113         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
22114         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
22115         * iconvdata/johab.c (ONE_DIRECTION): Define.
22116         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
22117         * iconvdata/sjis.c (ONE_DIRECTION): Define.
22118         * iconvdata/t.61.c (ONE_DIRECTION): Define.
22119         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
22120         * iconvdata/tscii.c (ONE_DIRECTION): Define.
22121         * iconvdata/uhc.c (ONE_DIRECTION): Define.
22122         * iconvdata/unicode.c (ONE_DIRECTION): Define.
22123         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
22124         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
22125         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
22127 2014-05-01  Roland McGrath  <roland@hack.frob.com>
22129         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
22130         (_IO_JUMPS_OFFSET): Define to 0.
22132         * nptl/sysdeps/pthread/bits/libc-lock.h
22133         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22134         (__libc_lock_define_initialized_recursive): Always define using
22135         initializer.  Modern compilers treat uninitialized (implicit zero) and
22136         explicit zero initializers the same (i.e. put the datum in bss).
22138 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22140         * nscd/nscd-client.h: Include <string.h>.
22142 2014-05-01  David S. Miller  <davem@davemloft.net>
22144         [BZ #16885]
22145         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
22146         multiple zero bytes exist at the end of a string.
22147         Reported by Aurelien Jarno <aurelien@aurel32.net>
22149         * string/test-strcmp.c (check): Add explicit test for situations where
22150         there are multiple zero bytes after the first.
22152 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
22154         [BZ #16890]
22155         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
22156         when compiling wprintf.
22157         * stdio-common/tstdiomisc.c (t3): New function.
22158         (main): Call it.
22160 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22162         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
22163         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
22164         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
22165         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
22167 2014-05-01  Steve Ellcey  <sellcey@mips.com>
22169         * stdlib/longlong.h: Updated from GCC.
22171 2014-05-01  Will Newton  <will.newton@linaro.org>
22172             Bernard Ogden  <bernie.ogden@linaro.org>
22174         * NEWS: Update fixed bug list.
22176         [BZ #15119]
22177         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
22179 2014-04-30  David S. Miller  <davem@davemloft.net>
22181         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
22182         (libc_feholdexcept_setround_sparc_ctx): New function.
22183         (libc_fesetenv_sparc_ctx): Likewise.
22184         (libc_feupdateenv_sparc_ctx): Likewise.
22185         (libc_feholdsetround_sparc_ctx): Likewise.
22186         (libc_feholdexcept_setround_ctx): Define.
22187         (libc_feholdexcept_setroundf_ctx): Likewise.
22188         (libc_feholdexcept_setroundl_ctx): Likewise.
22189         (libc_fesetenv_ctx): Likewise.
22190         (libc_fesetenvf_ctx): Likewise.
22191         (libc_fesetenvl_ctx): Likewise.
22192         (libc_feupdateenv_ctx): Likewise.
22193         (libc_feupdateenvf_ctx): Likewise.
22194         (libc_feupdateenvl_ctx): Likewise.
22195         (libc_feresetround_ctx): Likewise.
22196         (libc_feresetroundf_ctx): Likewise.
22197         (libc_feresetroundl_ctx): Likewise.
22198         (libc_feholdsetround_ctx): Likewise.
22199         (libc_feholdsetroundf_ctx): Likewise.
22200         (libc_feholdsetroundl_ctx): Likewise.
22202         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22203         with __USE_GNU instead of XOPEN cpp guards.
22205         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
22206         0.
22208         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
22209         with XOPEN cpp guards.
22211 2014-04-30  Julian Brown  <julian@codesourcery.com>
22213         [BZ #16888]
22214         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
22215         handling.
22217 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
22219         [BZ #9894]
22220         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
22221         Change to 2.6.32.
22222         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
22223         * sysdeps/unix/sysv/linux/configure: Regenerated.
22224         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
22225         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
22226         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
22227         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
22228         * README: Update reference to required Linux kernel version.
22229         * manual/install.texi (Linux): Update reference to required Linux
22230         kernel headers version.
22231         * INSTALL: Regenerated.
22233         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
22234         header inclusion.
22235         [POSIX] (limits.h): Likewise.
22236         [POSIX] (math.h): Likewise.
22237         [POSIX] (sys/wait.h): Likewise.
22238         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
22239         function.
22240         [POSIX] (stddef.h): Do not allow header inclusion.
22242 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22244         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
22246 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
22248         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
22249         Return immediately after lll_futex_wake.
22251 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22253         [BZ #16791]
22254         * nscd/nscd-client.h (datahead_init_common): Initialize entire
22255         structure.
22256         (datahead_init_pos): Call datahead_init_common early.
22257         (datahead_init_neg): Likewise.
22259         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22260         datahead_init_neg): New functions.
22261         * nscd/aicache.c (addhstaiX): Use them.
22262         * nscd/grpcache.c (cache_addgr): Likewise.
22263         * nscd/hstcache.c (cache_addhst): Likewise.
22264         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22265         * nscd/netgroupcache.c (do_notfound): Likewise.
22266         (addgetnetgrentX): Likewise.
22267         (addinnetgrX): Likewise.
22268         * nscd/pwdcache.c (cache_addpw): Likewise.
22269         * nscd/servicescache.c (cache_addserv): Likewise.
22271 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22272             Atsushi Onoe  <atsushi@onoe.org>
22274         [BZ #14308]
22275         [BZ #12994]
22276         [BZ #13651]
22277         * resolv/res_query.c (__libc_res_nsearch): Return if at least
22278         one response is valid.
22279         * resolv/res_send.c (send_dg): Check for validity of other
22280         response if the current response is a referral.
22282 2014-04-29  Steve Ellcey  <sellcey@mips.com>
22284         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22286 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
22288         [BZ #16823]
22289         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22290         Always divide by positive zero when computing -Inf result.
22291         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22292         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22294 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22296         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22297         FPSCR if value do not change.
22298         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22299         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22300         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22301         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22302         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22303         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22304         function.
22306 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
22308         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22309         * sysdeps/unix/sysv/linux/hppa: Move directory from
22310         ports/systeps/unix/sysv/linux/hppa.
22311         * README: Update listing for hppa-*-linux-gnu.
22313 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
22315         [BZ #16754]
22316         * manual/stdio.texi (Hook functions): Fix types of stream hook
22317         functions.
22318         [BZ #16854]
22319         * socket/sys/socket.h: Fix typo in comment.
22321 2014-04-28  Wilco  <wdijkstr@arm.com>
22323         * sysdeps/arm/fenv_private.h: New file.
22324         * sysdeps/arm/math_private.h: New file.
22325         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22327 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
22329         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22330         with __int128_t.
22331         (La_x86_64_retval): Likewise.
22333 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
22335         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22336         fpsr if value didn't change.
22337         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22338         to fpcr if value didn't change.
22339         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22340         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22341         fpsr or fpcr if value didn't change.
22342         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22343         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22344         fpcr if value didn't change.
22345         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22346         to fpsr if value didn't change.
22348 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22350         * nptl/tst-sem3.c: Use test-skeleton.c
22351         (main): Rename to do_test.  Use return instead of
22352         exit.
22353         * nptl/tst-sem4.c: Use test-skeleton.c
22354         (main): Rename to do_test.
22356 2014-04-22  David S. Miller  <davem@davemloft.net>
22358         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22359         (struct sigaction): New struct member __glibc_reserved0, change
22360         type of sa_flags to int.
22362 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
22364         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22365         (COUNT_LEADING_ZEROS_0): Define for AArch64.
22367 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22369         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22370         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22372 2014-04-22  Will Newton  <will.newton@linaro.org>
22373             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
22375         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22376         (__longjmp): Add longjmp and longjmp_target SystemTap
22377         probes.
22378         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22379         (__sigsetjmp): Add setjmp SystemTap probe.
22381 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
22383         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22384         match manual order.
22386 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22388         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22390         * sysdeps/powerpc/fpu/fenv_private.h
22391         (libc_feholdexcept_setroundl_ctx): Define to
22392         libc_feholdexcept_setround_ppc_ctx.
22393         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22394         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22395         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22396         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22398 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22400         * sysdeps/aarch64/math-tests.h: New file.
22402 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
22404         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22405         New.
22406         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22407         Check and set bit_AVX2_Usable.
22408         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22409         macro.
22410         (bit_AVX2): Likewise.
22411         (index_AVX2_Usable): Likewise.
22412         (CPUID_AVX2): Likewise.
22413         (HAS_AVX2): Likewise.
22415 2014-04-17  Will Newton  <will.newton@linaro.org>
22417         * manual/setjmp.texi (System V contexts): Add note that
22418         calling setcontext on a context created by a call to a
22419         signal handler is undefined.  Update text to note that
22420         setcontext from a signal handler is possible but not
22421         recommended.
22423         [BZ #16629]
22424         * stdlib/tst-setcontext.c: Include signal.h.
22425         (main): Check that the signal stack before and
22426         after swapcontext is the same.
22428         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22429         Re-implement to restore registers in user code and avoid
22430         rt_sigreturn system call.
22432 2014-04-17  Wilco  <wdijkstr@arm.com>
22434         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22435         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22436         * math/test-fenv.c: Skip exception trap tests on targets which only
22437         support non-stop mode.
22439 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22440             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22442         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22443         (libc_feholdsetround_aarch64_ctx)
22444         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22445         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22446         (libc_feresetround_ctx, libc_feresetroundf_ctx)
22447         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22448         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22449         (libc_feresetround_noexl_ctx): Define.
22451 2014-04-16  Richard Henderson  <rth@redhat.com>
22453         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22455         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22456         unwind tables.
22458         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22459         const from the non-libc, non-ldso copy.
22461         * sysdeps/alpha/libm-test-ulps: Regenerate.
22463 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
22464             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22466         * sysdeps/aarch64/fpu/math_private.h: New file.
22468 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22470         * sysdeps/aarch64/libm-test-ulps: Regenerate.
22472 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
22474         [BZ #16275]
22475         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22476         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22478         Intel MPX bound registers before _dl_profile_fixup.
22479         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22480         registers after _dl_profile_fixup.  Save and restore bound
22481         registers bnd0/bnd1 when calling _dl_call_pltexit.
22482         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22483         (LR_BND_OFFSET): Likewise.
22484         (LRV_BND0_OFFSET): Likewise.
22485         (LRV_BND1_OFFSET): Likewise.
22487 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22489         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22490         to...
22491         * sysdeps/mach/hurd/i386/tls.h: ... here.
22492         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22493         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22494         fields.
22496 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22498         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22500 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22502         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22504 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22506         [BZ #14770]
22507         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22508         * sysdeps/s390/configure: Regenerate.
22510         [BZ #16824]
22511         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22512         Set round-to-nearest internally to reduce error accumulation.
22514 2014-04-16  Alan Modra  <amodra@gmail.com>
22516         [BZ #16740]
22517         [BZ #16619]
22518         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22519         * math/libm-test.inc (frexp_test_data): Add tests.
22520         * NEWS: Update fixed bug list.
22522 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22524         * benchtests/Makefile: Depend on libraries in build directory.
22525         (bench-math): Separate out math tests.
22526         (bench-pthread): Separate out pthread tests.
22527         (bench): Include math and pthread tests.
22529 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
22531         [BZ #16831]
22532         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22533         _dl_debug_initialize.
22535         * configure.ac: Remove SELinux header check.
22536         * configure: Regenerate.
22537         * nscd/selinux.c (perms): Array of const char* to permission names.
22538         (nscd_request_avc_has_perm): Call security_deny_unknown to find
22539         default policy. Call string_to_security_class and string_to_av_perm to
22540         translate strings. Enforce default policy and call avs_has_perm with
22541         results of translated strings.
22543 2014-04-13  David S. Miller  <davem@davemloft.net>
22545         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22547 2014-04-12  Allan McRae  <allan@archlinux.org>
22549         [BZ #16838]
22550         * manual/string.texi (Collation Functions): Fix qsort argument
22551         order in example.
22552         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22554 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
22556         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22557         Make the test a no-op if there are no exceptions defined.
22559 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22561         * elf/Makefile (tests): make tst-dlopen-aout conditional on
22562         enable-hardcoded-path-in-tests
22564 2014-04-11  Will Newton  <will.newton@linaro.org>
22566         * benchtests/Makefile (extra-objs): Add json-lib.o.
22567         (bench-func): Tidy up JSON output.
22568         * benchtests/bench-skeleton.c: Include json-lib.h.
22569         (main): Use JSON library functions to do output of
22570         benchmark results.
22571         * benchtests/bench-timing-type.c (main): Output the
22572         timing type simply, leaving formatting to the user.
22573         * benchtests/json-lib.c: New file.
22574         * benchtests/json-lib.h: Likewise.
22576 2014-04-11  Torvald Riegel  <triegel@redhat.com>
22578         [BZ #15215]
22579         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22580         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
22581         memory barriers.  Add comments.
22582         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22583         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22584         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22585         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22586         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22587         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22589 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22591         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22592         * sysdeps/s390/s390-64/configure.ac: ... this ...
22593         * sysdeps/s390/configure.ac: ... to here.
22594         * sysdeps/s390/s390-32/configure: Delete file.
22595         * sysdeps/s390/s390-64/configure: Delete file.
22596         * sysdeps/s390/configure: Regenerate.
22598 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
22600         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22602 2014-04-11  Will Newton  <will.newton@linaro.org>
22604         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22605         to zero if it is not defined elsewhere.  (mtrim): Test
22606         the value of MALLOC_DEBUG with #if rather than #ifdef.
22608 2014-04-10 Torvald Riegel  <triegel@redhat.com>
22610         * benchtests/pthread_once-inputs: New file.
22611         * benchtests/pthread_once-source.c: New file.
22612         * benchtests/README: Update documentation.
22614 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
22615             H.J. Lu  <hongjiu.lu@intel.com>
22617         [BZ #16275]
22618         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22619         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22620         * sysdeps/x86_64/configure: Regenerated.
22621         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22622         macro.
22623         (REGISTER_SAVE_RAX): Likewise.
22624         (REGISTER_SAVE_RCX): Likewise.
22625         (REGISTER_SAVE_RDX): Likewise.
22626         (REGISTER_SAVE_RSI): Likewise.
22627         (REGISTER_SAVE_RDI): Likewise.
22628         (REGISTER_SAVE_R8): Likewise.
22629         (REGISTER_SAVE_R9): Likewise.
22630         (REGISTER_SAVE_BND0): Likewise.
22631         (REGISTER_SAVE_BND1): Likewise.
22632         (REGISTER_SAVE_BND2): Likewise.
22633         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
22634         bound registers when calling _dl_fixup.
22636 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22638         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22639         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22640         of its definition.
22641         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22642         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22643         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22644         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22645         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22646         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22647         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22649 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
22651         [BZ #15514]
22652         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22653         pathconf(_PC_NAME_MAX).
22655 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22657         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22658         Remove macro usage.
22659         (__PTHREAD_SPINS): Move definition to ...
22660         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22661         (__PTHREAD_SPINS): ... here.
22662         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22663         (__PTHREAD_SPIN): Likewise.
22664         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22665         (__PTHREAD_SPIN): Likewise.
22666         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22667         (__PTHREAD_SPIN): Likewise.
22668         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22669         (__PTHREAD_SPIN): Likewise.
22670         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22671         (__PTHREAD_SPIN): Likewise.
22672         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22673         (__PTHREAD_SPIN): Likewise.
22674         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22675         (__PTHREAD_SPIN): Likewise.
22676         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22677         (__PTHREAD_SPIN): Likewise.
22678         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22679         (__PTHREAD_SPIN): Likewise.
22680         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22681         (__PTHREAD_SPIN): Likewise.
22682         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22683         (__PTHREAD_SPIN): Likewise.
22684         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22685         (__PTHREAD_SPIN): Likewise.
22687         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22688         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22689         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22690         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22691         imply folder.
22692         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22693         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22694         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22695         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22696         correct imply path.
22697         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22698         strlen symbol for non multi-arch builds.
22699         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22700         missing hidden_def and weak_alias.
22702 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
22704         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22706 2014-04-07  Will Newton  <will.newton@linaro.org>
22708         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22709         and contents.  [!_LIBC] Remove #ifndef and contents.
22710         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
22711         * string/memccpy.c (__memccpy): Use ANSI prototype.
22712         * string/memfrob.c (memfrob): Likewise.
22713         * string/strcoll.c (STRCOLL): Likewise.
22714         * string/strlen.c (strlen): Likewise.
22715         * string/strtok.c (STRTOK): Likewise.
22716         * string/strcat.c: Remove unused #include of memcopy.h.
22717         (strcat): Use ANSI prototype.
22718         * string/strchr.c: Remove unused #include of memcopy.h.
22719         (strchr): Use ANSI prototype.
22720         * string/strcmp.c: Remove unused #include of memcopy.h.
22721         (strcmp): Use ANSI prototype.
22722         * string/strcpy.c: Remove unused #include of memcopy.h.
22723         (strcpy): Use ANSI prototype.
22725 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22727         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22728         * config.make.in (config-extra-cppflags): Set it from
22729         libc_extra_cppflags.
22730         * configure.ac (libc_extra_cflags): Make it accumulate over
22731         configure fragments.
22732         (libc_extra_cppflags): New flag.
22733         * configure. Regenerate.
22734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22735         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22736         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22739         [BZ #16815]
22740         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22741         result for FE_DOWNWARD rounding mode.
22742         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22743         Likewise.
22744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22746 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
22748         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22749         in function argument name.
22751 2014-04-03  David Svoboda  <svoboda@cert.org>
22753         [BZ #5666]
22754         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22755         explicitly.
22757 2014-04-03  Roland McGrath  <roland@hack.frob.com>
22759         * elf/dl-unmap-segments.h: New file.
22760         * sysdeps/generic/ldsodefs.h
22761         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22762         * elf/dl-close.c: Include <dl-unmap-segments.h>.
22763         * elf/dl-fptr.c: Likewise.
22764         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22765         * sysdeps/aarch64/tlsdesc.c: Likewise.
22766         * sysdeps/arm/tlsdesc.c: Likewise.
22767         * sysdeps/i386/tlsdesc.c: Likewise.
22768         * sysdeps/tile/dl-runtime.c: Likewise.
22769         * sysdeps/x86_64/tlsdesc.c: Likewise.
22770         * elf/dl-load.h: New file.
22771         * elf/dl-load.c: Include it.
22772         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22773         Macros moved to dl-load.h.
22774         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22775         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22776         Use _dl_unmap_segments in place of __munmap.
22777         Break out segment-mapping loop into ...
22778         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22780 2014-04-03  Will Newton  <will.newton@linaro.org>
22782         * elf/dl-lookup.c (do_lookup_x): Remove comment
22783         referring to nested function and move variable
22784         declarations down to before first use.
22786 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
22788         [BZ #16799]
22789         [BZ #16800]
22790         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22791         with 0 numerator.
22792         * math/s_catanf.c (__catanf): Likewise.
22793         * math/s_catanh.c (__catanh): Likewise.
22794         * math/s_catanhf.c (__catanhf): Likewise.
22795         * math/s_catanhl.c (__catanhl): Likewise.
22796         * math/s_catanl.c (__catanl): Likewise.
22797         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22798         by positive zero when computing -Inf result.
22799         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22800         (catanh_test): Likewise.
22801         * sysdeps/i386/fpu/libm-test-ulps: Update.
22802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22804         [BZ #16789]
22805         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22806         instead of using underflowing value in computing result.
22807         * math/s_clog10.c (__clog10): Likewise.
22808         * math/s_clog10f.c (__clog10f): Likewise.
22809         * math/s_clog10l.c (__clog10l): Likewise.
22810         * math/s_clogf.c (__clogf): Likewise.
22811         * math/s_clogl.c (__clogl): Likewise.
22812         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22813         (clog10_test): Likewise.
22814         * sysdeps/i386/fpu/libm-test-ulps: Update.
22815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22817 2014-04-02  Alan Modra  <amodra@gmail.com>
22819         [BZ #16739]
22820         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22821         output when value is near a power of two.  Use int64_t for lx and
22822         remove casts.  Use decimal rather than hex exponent constants.
22823         Don't use long double multiplication when double will suffice.
22824         * math/libm-test.inc (nextafter_test_data): Add tests.
22825         * NEWS: Add 16739 and 16786 to bug list.
22827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22829         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22831 2014-04-01  Will Newton  <will.newton@linaro.org>
22833         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22834         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
22836 2014-04-01  Florian Weimer  <fweimer@redhat.com>
22838         [BZ #13347]
22839         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22840         * nptl/tst-setuid2.c: New file.
22841         * nptl/Makefile (xtests): Add tst-setuid2.
22843 2014-04-01  Alan Modra  <amodra@gmail.com>
22845         [BZ #16786]
22846         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22848 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
22850         [BZ #6803]
22851         [BZ #6804]
22852         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22853         set errno as appropriate.
22854         * math/w_scalbf.c (__scalbf): Likewise.
22855         * math/w_scalbl.c (__scalbl): Likewise.
22856         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22857         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22858         * math/libm-test.inc (scalb_test_data): Add errno expectations.
22859         Add more NaN tests.
22861         [BZ #16349]
22862         * math/w_atan2.c: Include <errno.h>.
22863         (__atan2): Set errno for result underflowing to zero.
22864         * math/w_atan2f.c: Include <errno.h>.
22865         (__atan2f): Set errno for result underflowing to zero.
22866         * math/w_atan2l.c: Include <errno.h>.
22867         (__atan2l): Set errno for result underflowing to zero.
22868         * math/auto-libm-test-in: Don't allow missing errno for some atan2
22869         tests.
22870         * math/auto-libm-test-out: Regenerated.
22872 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22874         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22875         Encode instruction correctly in little endian.
22876         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22877         Likewise.
22878         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22879         Likewise.
22880         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22881         Likewise.
22882         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22883         Likewise.
22885 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
22887         [BZ #9894]
22888         * sysdeps/unix/sysv/linux/kernel-features.h
22889         [__sparc__ && !__arch64__ && !__sparc_v9__]
22890         (__ASSUME_SET_ROBUST_LIST): Do not define.
22891         [__sparc__ && !__arch64__ && !__sparc_v9__]
22892         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22893         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22894         Likewise.
22895         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22896         (__ASSUME_FUTEX_LOCK_PI): Undefine.
22897         (__ASSUME_REQUEUE_PI): Likewise.
22898         (__ASSUME_SET_ROBUST_LIST): Likewise.
22899         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22900         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22901         Undefine.
22902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22903         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22904         Likewise.
22905         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22906         Likewise.
22907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22908         Likewise.
22909         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22910         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22911         Undefine.
22912         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22913         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22914         Likewise.
22916         [BZ #16648]
22917         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22918         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22919         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22921 2014-03-31  Will Newton  <will.newton@linaro.org>
22923         * benchtests/Makefile (bench): Add ffs and ffsll to list
22924         of tests.
22925         * benchtests/ffs-inputs: New file.
22926         * benchtests/ffsll-inputs: Likewise.
22928 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
22930         [BZ #16770]
22931         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22932         too large before casting to int.
22933         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22934         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22935         * math/libm-test.inc (scalb_test_data): Add more tests.
22937 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22939         * benchtests/Makefile (DETAILED_OPT): New make option.
22940         (bench-func): Run benchmark program with -d if DETAILED_OPT is
22941         set.
22942         * benchtests/bench-skeleton.c: Include stdbool.h.
22943         (main): Store and print timings per input.
22944         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22945         member to each argument value.
22946         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22947         (_print_arg_data): Initialize per-input timing to 0.
22949         * benchtests/Makefile (timing-type): New binary.
22950         (bench-clean): Also remove bench-timing-type.
22951         (bench): New target for timing-type.
22952         (bench-func): Print output in JSON format.
22953         * benchtests/bench-skeleton.c (main): Print output in JSON
22954         format.
22955         * benchtests/bench-timing-type.c: New file.
22956         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22957         (TIMING_PRINT_STATS): Remove.
22958         * benchtests/scripts/bench.py (_print_arg_data): Store variant
22959         name separately.
22961         * benchtests/bench-modf.c: Remove.
22962         * benchtests/modf-inputs: New inputs file.
22964 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
22966         [BZ #16362]
22967         * math/s_clog10.c (M_PI_LOG10E): New macro.
22968         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22969         imaginary parts are 0.
22970         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22971         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22972         imaginary parts are 0.
22973         * math/s_clog10l.c (M_PI_LOG10El): New macro.
22974         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22975         imaginary parts are 0.
22976         * math/libm-test.inc (clog10_test_data): Update expected results
22977         for when real and imaginary parts are 0.
22979 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22981         * elf/dl-load.c: Finish conversion of __builtin_expect into
22982         __glibc_{un}likely.
22984 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22986         [BZ #16348]
22987         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22988         1+x for argument with exponent below -67.
22989         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22990         Likewise.
22991         * math/auto-libm-test-in: Add more tests of exp.
22992         * math/auto-libm-test-out: Regenerated.
22994 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22996         [BZ #16759]
22997         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22998         (nscd_getnetgrent): Use it.
23000         [BZ #16760]
23001         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
23002         of stpcpy.
23004 2014-03-27  Andi Kleen  <ak@linux.intel.com>
23006         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
23007         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23008         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23009         (lll_robust_unlock): Remove out of line section. Use cfi
23010         intrinsics.
23011         (LLL_STUB_UNWIND_INFO*): Remove.
23012         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
23013         (lll_robust_lock, lll_cond_lock, lll_timedlock)
23014         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
23015         (lll_robust_unlock): Remove out of line section. Use cfi
23016         intrinsics.
23017         (LLL_STUB_UNWIND_INFO*): Remove.
23019 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23021         [BZ #16758]
23022         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
23023         blank values.
23025 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23027         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
23029 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
23031         [BZ #16198]
23032         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
23033         fnstenv.
23034         * math/test-fenv-preserve.c: New file.
23035         * math/Makefile (tests): Add test-fenv-preserve.
23037 2014-03-26  Will Newton <will.newton@linaro.org>
23039         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
23041 2014-03-25  Roland McGrath  <roland@hack.frob.com>
23043         * scripts/versionlist.awk: Partition the version sets and emit all
23044         GLIBC_* (sorted) before all others (sorted).
23046 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
23048         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
23049         GLIBC_2.2.5 version.
23051 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23053         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
23054         calls.
23056         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
23057         previous change.
23059         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23061 2014-03-25  Andreas Schwab  <schwab@suse.de>
23063         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
23064         label to be used after in6ailist is initialized.
23066 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23068         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23069         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23071 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
23073         [BZ #16357]
23074         [BZ #16599]
23075         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
23076         min_plus_half.
23077         (fp_formats): Update initializers.
23078         (init_fp_formats): Initialize new field.
23079         (output_for_one_input_case): Allow underflow for results up to
23080         min_plus_half.
23081         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
23082         * math/auto-libm-test-in: Don't mark some underflows from asin and
23083         atanh as spurious.
23084         * math/auto-libm-test-out: Regenerated.
23085         * sysdeps/i386/fpu/libm-test-ulps: Update.
23086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23088 2014-03-25  Andreas Schwab  <schwab@suse.de>
23090         * libio/Makefile (tst-ftell-partial-wide-ENV)
23091         (tst-ftell-active-handler-ENV): Define.
23093 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
23095         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
23097 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23099         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
23101 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
23103         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
23104         * sysdeps/x86_64/fpu/multiarch/e_exp.c
23105         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
23107 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
23109         [BZ #16634]
23110         * elf/dl-load.c (open_verify): Add mode parameter.
23111         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
23112         (open_path): Change from boolean 'secure' to complete flag 'mode'
23113         (_dl_map_object): Adjust.
23114         * elf/Makefile (tests): Add tst-dlopen-aout.
23115         * elf/tst-dlopen-aout.c: New test.
23117 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
23119         [BZ #16714]
23120         * sysdeps/unix/sysv/linux/s390/bits/stat.h
23121         (struct stat): Rename member pad0 to __glibc_reserved0.
23123         [BZ #16712]
23124         * sysdeps/s390/s390-32/bits/wordsize.h
23125         (__WORDSIZE32_SIZE_ULONG): New define.
23126         * sysdeps/s390/s390-64/bits/wordsize.h
23127         (__WORDSIZE32_SIZE_ULONG): Likewise.
23128         * sysdeps/generic/stdint.h (SIZE_MAX):
23129         Define as UL if __WORDSIZE32_SIZE_ULONG.
23131         [BZ #16713]
23132         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
23133         (__glibc_reserved0): New variable.
23134         (sa_flags): Change type to int.
23136         * posix/Makefile (before-compile): Use += before-compile instead
23137         of a :=.
23139         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23140         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
23142 2014-03-20  Andreas Schwab  <schwab@suse.de>
23144         [BZ #16743]
23145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
23146         non-matching result from nscd.
23148 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23150         * scripts/bench.py: Moved to ...
23151         * benchtests/scripts/bench.py: ... here.
23152         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
23154 2014-03-24  Andreas Schwab  <schwab@suse.de>
23156         [BZ #16002]
23157         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
23158         alloca_account and account alloca use for struct in6ailist.
23160 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
23162         [BZ #16284]
23163         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
23164         rounding mode to recompute results that overflow to infinity or
23165         underflow to zero.
23166         * math/auto-libm-test-in: Don't mark tests as expected to fail for
23167         bug 16284.
23168         * math/auto-libm-test-out: Regenerated.
23169         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
23170         (ccosh_test): Likewise.
23171         (csin_test_data): Use plus_oflow.
23172         (csin_test): Use ALL_RM_TEST.
23173         (csinh_test_data): Use plus_oflow.
23174         (csinh_test): Use ALL_RM_TEST.
23175         * sysdeps/i386/fpu/libm-test-ulps: Update.
23176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23178 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
23180         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
23181         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
23182         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
23184         [BZ #16731]
23185         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
23186         when x - 1 is zero.
23187         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
23188         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
23189         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
23190         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
23191         argument is 1.
23192         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
23193         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
23194         zero.
23195         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
23196         * sysdeps/i386/fpu/libm-test-ulps: Update.
23197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23199 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23201         * scripts/bench.pl: Remove file.
23202         * scripts/bench.py: New benchmark script.
23203         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
23204         * benchtests/README: Mention python dependency.
23205         * scripts/pylintrc: New file.
23206         * scripts/pylint: New file.
23208         * bits/mathdef.h: Use #ifdef instead of #if.
23209         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
23210         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23211         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
23212         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23213         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
23214         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
23216 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23217             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23219         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
23220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
23221         and strpbrk-ppc64 objects.
23222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23223         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
23224         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
23225         multiarch strpbrk for POWER7.
23226         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
23227         multiarch strpbrk for PPC64.
23228         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
23229         ifunc selector.
23230         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
23231         strpbrk for POWER7.
23233 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
23235         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
23236         (atan_test): Likewise.
23237         (atanh_test_data): Use NO_TEST_INLINE for two tests.
23238         (atanh_test): Use ALL_RM_TEST.
23239         (atan2_test_data): Likewise.
23240         (cabs_test): Likewise.
23241         (cacosh_test): Likewise.
23242         (carg_test): Likewise.
23243         (casin_test): Likewise.
23244         (casinh_test): Likewise.
23245         (cbrt_test): Likewise.
23246         (csqrt_test): Likewise.
23247         (erf_test): Likewise.
23248         (erfc_test): Likewise.
23249         (pow10_test): Likewise.
23250         (exp2_test): Likewise.
23251         (hypot_test): Likewise.
23252         (j0_test): Likewise.
23253         (j1_test): Likewise.
23254         (lgamma_test): Likewise.
23255         (gamma_test): Likewise.
23256         (sincos_test): Likewise.
23257         (tanh_test): Likewise.
23258         (y0_test): Likewise.
23259         (y1_test): Likewise.
23260         * sysdeps/i386/fpu/libm-test-ulps: Update.
23261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23263 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23265         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23267         and strcspn-ppc64 objects.
23268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23269         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23270         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23271         multiarch strcspn for POWER7.
23272         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23273         multiarch strcspn for PPC64.
23274         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23275         ifunc selector.
23276         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23277         strcspn for POWER7.
23279 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
23281         * math/gen-libm-test.pl (generate_testfile): Expect only function
23282         name as argument to AUTO_TESTS_* and pass results for all rounding
23283         modes to parse_args.
23284         (parse_auto_input): Separate inputs of automatic tests from
23285         outputs before storing in %auto_tests.
23286         * math/libm-test.inc (acos_test_data): Update call to
23287         AUTO_TESTS_f_f.
23288         (acos_test): Use ALL_RM_TEST.
23289         (acos_tonearest_test_data): Remove.
23290         (acos_test_tonearest): Likewise.
23291         (acos_towardzero_test_data): Likewise.
23292         (acos_test_towardzero): Likewise.
23293         (acos_downward_test_data): Likewise.
23294         (acos_test_downward): Likewise.
23295         (acos_upward_test_data): Likewise.
23296         (acos_test_upward): Likewise.
23297         (acosh_test_data): Update call to AUTO_TESTS_f_f.
23298         (asin_test_data): Likewise.
23299         (asin_test): Use ALL_RM_TEST.
23300         (asin_tonearest_test_data): Remove.
23301         (asin_test_tonearest): Likewise.
23302         (asin_towardzero_test_data): Likewise.
23303         (asin_test_towardzero): Likewise.
23304         (asin_downward_test_data): Likewise.
23305         (asin_test_downward): Likewise.
23306         (asin_upward_test_data): Likewise.
23307         (asin_test_upward): Likewise.
23308         (asinh_test_data): Update call to AUTO_TESTS_f_f.
23309         (atan_test_data): Likewise.
23310         (atanh_test_data): Likewise.
23311         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23312         (cabs_test_data): Update call to AUTO_TESTS_c_f.
23313         (carg_test_data): Likewise.
23314         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23315         (ccos_test_data): Update call to AUTO_TESTS_c_c.
23316         (ccosh_test_data): Likewise.
23317         (cexp_test_data): Likewise.
23318         (clog_test_data): Likewise.
23319         (clog10_test_data): Likewise.
23320         (cos_test_data): Update call to AUTO_TESTS_f_f.
23321         (cos_test): Use ALL_RM_TEST.
23322         (cos_tonearest_test_data): Remove.
23323         (cos_test_tonearest): Likewise.
23324         (cos_towardzero_test_data): Likewise.
23325         (cos_test_towardzero): Likewise.
23326         (cos_downward_test_data): Likewise.
23327         (cos_test_downward): Likewise.
23328         (cos_upward_test_data): Likewise.
23329         (cos_test_upward): Likewise.
23330         (cosh_test_data): Update call to AUTO_TESTS_f_f.
23331         (cosh_test): Use ALL_RM_TEST.
23332         (cosh_tonearest_test_data): Remove.
23333         (cosh_test_tonearest): Likewise.
23334         (cosh_towardzero_test_data): Likewise.
23335         (cosh_test_towardzero): Likewise.
23336         (cosh_downward_test_data): Likewise.
23337         (cosh_test_downward): Likewise.
23338         (cosh_upward_test_data): Likewise.
23339         (cosh_test_upward): Likewise.
23340         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23341         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23342         (ctan_test_data): Likewise.
23343         (ctan_test): Use ALL_RM_TEST.
23344         (ctan_tonearest_test_data): Remove.
23345         (ctan_test_tonearest): Likewise.
23346         (ctan_towardzero_test_data): Likewise.
23347         (ctan_test_towardzero): Likewise.
23348         (ctan_downward_test_data): Likewise.
23349         (ctan_test_downward): Likewise.
23350         (ctan_upward_test_data): Likewise.
23351         (ctan_test_upward): Likewise.
23352         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23353         (ctanh_test): Use ALL_RM_TEST.
23354         (ctanh_tonearest_test_data): Remove.
23355         (ctanh_test_tonearest): Likewise.
23356         (ctanh_towardzero_test_data): Likewise.
23357         (ctanh_test_towardzero): Likewise.
23358         (ctanh_downward_test_data): Likewise.
23359         (ctanh_test_downward): Likewise.
23360         (ctanh_upward_test_data): Likewise.
23361         (ctanh_test_upward): Likewise.
23362         (erf_test_data): Update call to AUTO_TESTS_f_f.
23363         (erfc_test_data): Likewise.
23364         (exp_test_data): Likewise.
23365         (exp_test): Use ALL_RM_TEST.
23366         (exp_tonearest_test_data): Remove.
23367         (exp_test_tonearest): Likewise.
23368         (exp_towardzero_test_data): Likewise.
23369         (exp_test_towardzero): Likewise.
23370         (exp_downward_test_data): Likewise.
23371         (exp_test_downward): Likewise.
23372         (exp_upward_test_data): Likewise.
23373         (exp_test_upward): Likewise.
23374         (exp10_test_data): Update call to AUTO_TESTS_f_f.
23375         (exp10_test): Use ALL_RM_TEST.
23376         (exp10_tonearest_test_data): Remove.
23377         (exp10_test_tonearest): Likewise.
23378         (exp10_towardzero_test_data): Likewise.
23379         (exp10_test_towardzero): Likewise.
23380         (exp10_downward_test_data): Likewise.
23381         (exp10_test_downward): Likewise.
23382         (exp10_upward_test_data): Likewise.
23383         (exp10_test_upward): Likewise.
23384         (exp2_test_data): Update call to AUTO_TESTS_f_f.
23385         (expm1_test_data): Likewise.
23386         (expm1_test): Use ALL_RM_TEST.
23387         (expm1_tonearest_test_data): Remove.
23388         (expm1_test_tonearest): Likewise.
23389         (expm1_towardzero_test_data): Likewise.
23390         (expm1_test_towardzero): Likewise.
23391         (expm1_downward_test_data): Likewise.
23392         (expm1_test_downward): Likewise.
23393         (expm1_upward_test_data): Likewise.
23394         (expm1_test_upward): Likewise.
23395         (fma_test_data): Update call to AUTO_TESTS_fff_f.
23396         (fma_test): Use ALL_RM_TEST.
23397         (fma_towardzero_test_data): Remove.
23398         (fma_test_towardzero): Likewise.
23399         (fma_downward_test_data): Likewise.
23400         (fma_test_downward): Likewise.
23401         (fma_upward_test_data): Likewise.
23402         (fma_test_upward): Likewise.
23403         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23404         (j0_test_data): Update call to AUTO_TESTS_f_f.
23405         (j1_test_data): Likewise.
23406         (jn_test_data): Update call to AUTO_TESTS_if_f.
23407         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23408         (log_test_data): Update call to AUTO_TESTS_f_f.
23409         (log10_test_data): Likewise.
23410         (log1p_test_data): Likewise.
23411         (log2_test_data): Likewise.
23412         (pow_test_data): Update call to AUTO_TESTS_ff_f.
23413         (pow_tonearest_test_data): Likewise.
23414         (sin_test_data): Update call to AUTO_TESTS_f_f.
23415         (sin_test): Use ALL_RM_TEST.
23416         (sin_tonearest_test_data): Remove.
23417         (sin_test_tonearest): Likewise.
23418         (sin_towardzero_test_data): Likewise.
23419         (sin_test_towardzero): Likewise.
23420         (sin_downward_test_data): Likewise.
23421         (sin_test_downward): Likewise.
23422         (sin_upward_test_data): Likewise.
23423         (sin_test_upward): Likewise.
23424         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23425         (sinh_test_data): Update call to AUTO_TESTS_f_f.
23426         (sinh_test): Use ALL_RM_TEST.
23427         (sinh_tonearest_test_data): Remove.
23428         (sinh_test_tonearest): Likewise.
23429         (sinh_towardzero_test_data): Likewise.
23430         (sinh_test_towardzero): Likewise.
23431         (sinh_downward_test_data): Likewise.
23432         (sinh_test_downward): Likewise.
23433         (sinh_upward_test_data): Likewise.
23434         (sinh_test_upward): Likewise.
23435         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23436         (sqrt_test): Use ALL_RM_TEST.
23437         (sqrt_tonearest_test_data): Remove.
23438         (sqrt_test_tonearest): Likewise.
23439         (sqrt_towardzero_test_data): Likewise.
23440         (sqrt_test_towardzero): Likewise.
23441         (sqrt_downward_test_data): Likewise.
23442         (sqrt_test_downward): Likewise.
23443         (sqrt_upward_test_data): Likewise.
23444         (sqrt_test_upward): Likewise.
23445         (tan_test_data): Update call to AUTO_TESTS_f_f.
23446         (tan_test): Use ALL_RM_TEST.
23447         (tan_tonearest_test_data): Remove.
23448         (tan_test_tonearest): Likewise.
23449         (tan_towardzero_test_data): Likewise.
23450         (tan_test_towardzero): Likewise.
23451         (tan_downward_test_data): Likewise.
23452         (tan_test_downward): Likewise.
23453         (tan_upward_test_data): Likewise.
23454         (tan_test_upward): Likewise.
23455         (tanh_test_data): Update call to AUTO_TESTS_f_f.
23456         (tgamma_test_data): Likewise.
23457         (y0_test_data): Likewise.
23458         (y1_test_data): Likewise.
23459         (yn_test_data): Update call to AUTO_TESTS_if_f.
23460         (main): Do not call removed functions.
23462 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23464         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23465         (ldexp_test_data): Remove.
23466         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
23467         scalbn_test_data.
23468         (scalb_test): Use ALL_RM_TEST.
23470 2014-03-19  Andreas Schwab  <schwab@suse.de>
23472         * nscd/nscd.service: Also invalidate netgroup cache on reload.
23474 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23476         [BZ #16649]
23477         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23478         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23479         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23480         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23481         (__ASSUME_PREADV): Undefine.
23482         (__ASSUME_PWRITEV): Likewise.
23484 2014-03-18  Roland McGrath  <roland@hack.frob.com>
23486         * bits/mman-linux.h: Add comment about non-Linux use.
23487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23488         bits/mman-linux.h resting place.
23490         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23491         * bits/mman-linux.h: ... here.
23493 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23495         * conform/conformtest.pl: Add standard definition when calling C
23496         preprocessor on data files.
23497         (checknamespace): Remove unused variable.
23499 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
23501         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23502         minus_oflow, plus_uflow and minus_uflow in expected results.
23503         * math/libm-test.inc (scalbn_test_data): Add more tests of
23504         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
23505         minus_uflow.
23506         (scalbn_test): Use ALL_RM_TEST.
23507         (scalbln_test_data): Add more tests of negative arguments.  Use
23508         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23509         (scalbln_test): Use ALL_RM_TEST.
23511 2014-03-18  Roland McGrath  <roland@hack.frob.com>
23513         * scripts/abilist.awk: Ignore symbols marked with .hidden.
23515 2014-03-18  Will Newton  <will.newton@linaro.org>
23517         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23518         inaccurate comment.
23520 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
23522         * Makerules [!subdir] (check-abi): Exit with error status if a
23523         test failed.
23525 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
23527         * math/libm-test.inc (nearbyint_test_data): Include all tests used
23528         for rint.  Include results for all rounding modes.
23529         (nearbyint_test): Use ALL_RM_TEST.
23530         (rint_test_data): Include all tests used for nearbyint.
23532 2014-03-17  Will Newton  <will.newton@linaro.org>
23534         * nptl/sysdeps/pthread/pthread.h: Revert previous
23535         change.
23537         * sysdeps/generic/ldsodefs.h: Revert previous
23538         change.
23540         * libio/genops.c: Revert previous change.
23541         * libio/libioP.h: Likewise.
23542         * stdio-common/vfprintf.c: Likewise.
23544         * sysdeps/generic/math_private.h: Revert previous
23545         change.
23547         * sysdeps/generic/math_private.h: Check whether
23548         HAVE_RM_CTX is defined with #ifdef rather
23549         than #if.
23551         * argp/argp-fmtstream.h: Check whether
23552         __STRICT_ANSI__ is defined with #ifdef rather
23553         than #if.
23554         * argp/argp.h: Likewise.
23556         * libio/genops.c: Check whether
23557         _IO_JUMPS_OFFSET is defined with #ifdef rather
23558         than #if.
23559         * libio/libioP.h: Likewise.
23560         * stdio-common/vfprintf.c: Likewise.
23562         * sysdeps/generic/ldsodefs.h: Check whether
23563         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23564         than #if.
23566         * nptl/sysdeps/pthread/pthread.h: Check
23567         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23568         its value.
23570 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23572         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23573         setting O_APPEND.
23574         * libio/tst-ftell-active-handler.c (do_append_test): Add a
23575         test case.
23577         [BZ #16680]
23578         * libio/fileops.c (_IO_file_open): Seek to end of file but
23579         don't cache the offset.
23580         (get_file_offset): Remove function.
23581         (do_ftell): Use cached offset when available.
23582         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23583         don't cache the offset.
23584         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23585         case.
23586         (do_one_test): Call it.
23587         (do_ftell_test): Fix up expected old offset for a+ mode.
23588         * libio/wfileops.c (do_ftell_wide): Used cached offset when
23589         available.
23591         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23592         up test status with function return status.
23593         (do_write_test): Likewise.
23594         (do_append_test): Likewise.
23596         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23597         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23598         Remove.
23600 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
23602         * math/gen-libm-test.pl (parse_args): Handle results specified for
23603         each rounding mode separately.
23604         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23605         tests and results from lrint_tonearest_test_data,
23606         lrint_towardzero_test_data, lrint_downward_test_data and
23607         lrint_upward_test_data.
23608         (lrint_test): Use ALL_RM_TEST.
23609         (lrint_tonearest_test_data): Remove.
23610         (lrint_test_tonearest): Likewise.
23611         (lrint_towardzero_test_data): Likewise.
23612         (lrint_test_towardzero): Likewise.
23613         (lrint_downward_test_data): Likewise.
23614         (lrint_test_downward): Likewise.
23615         (lrint_upward_test_data): Likewise.
23616         (lrint_test_upward): Likewise.
23617         (llrint_test_data): Merge in per-rounding-mode tests and results
23618         from llrint_tonearest_test_data, llrint_towardzero_test_data,
23619         llrint_downward_test_data and llrint_upward_test_data.
23620         (llrint_test): Use ALL_RM_TEST.
23621         (llrint_tonearest_test_data): Remove.
23622         (llrint_test_tonearest): Likewise.
23623         (llrint_towardzero_test_data): Likewise.
23624         (llrint_test_towardzero): Likewise.
23625         (llrint_downward_test_data): Likewise.
23626         (llrint_test_downward): Likewise.
23627         (llrint_upward_test_data): Likewise.
23628         (llrint_test_upward): Likewise.
23629         (rint_test_data): Merge in per-rounding-mode tests and results
23630         from rint_tonearest_test_data, rint_towardzero_test_data,
23631         rint_downward_test_data and rint_upward_test_data.  Add
23632         per-rounding-mode results for tests not in those arrays.
23633         (rint_test): Use ALL_RM_TEST.
23634         (rint_tonearest_test_data): Remove.
23635         (rint_test_tonearest): Likewise.
23636         (rint_towardzero_test_data): Likewise.
23637         (rint_test_towardzero): Likewise.
23638         (rint_downward_test_data): Likewise.
23639         (rint_test_downward): Likewise.
23640         (rint_upward_test_data): Likewise.
23641         (rint_test_upward): Likewise.
23642         (main): Don't call removed functions.
23644 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23646         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23647         "Compiled on ..." crapola.  It is anti-useful.
23649 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
23651         * scripts/evaluate-test.sh: Handle fourth argument to determine
23652         whether test run should stop on failure.
23653         * Makeconfig (stop-on-test-failure): New variable.
23654         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23655         $(stop-on-test-failure).
23656         * Makefile (tests): Give a summary of results from testing and
23657         exit with failure status if they include an ERROR or FAIL.
23658         (xtests): Likewise.
23659         * manual/install.texi (Configuring and compiling): Mention
23660         stop-on-test-failure=y.
23661         * INSTALL: Regenerated.
23663 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23665         * scripts/versionlist.awk: New file.
23666         * Makerules [$(build-shared) = yes]
23667         (postclean-generated): Add Versions.def, not Versions.def.v and
23668         Versions.def.v.i.
23669         ($(common-objpfx)Versions.def.v.i): Target removed.
23670         ($(common-objpfx)Versions.def): New target.
23671         ($(common-objpfx)Versions.all): Depend on that rather that
23672         $(common-objpfx)Versions.def.v.
23673         * Versions.def: File removed.
23675         * Makeconfig (+gccwarn): Add -Wundef.
23676         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23677         a dl-sysdep.h breaking its contract.
23678         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23679         * include/stackinfo.h: New file.
23680         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23681         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23682         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23683         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23684         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23685         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23686         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23687         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23688         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23689         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23690         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23691         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23692         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23693         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23694         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23696 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23698         [BZ #16707]
23699         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23700         implementation.
23701         * math/libm-test.inc (round_test_data): Add more tests.
23703         [BZ #16706]
23704         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23705         implementation.
23706         * math/libm-test.inc (nearbyint_test_data): Add more tests.
23708         [BZ #16701]
23709         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23710         implementation.
23711         * math/libm-test.inc (ceil_test_data): Add more tests.
23713         * math/libm-test.inc (trunc_test_data): Add more tests related to
23714         BZ#16414.
23716 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23718         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23719         with #if rather than #ifdef.
23720         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23722 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
23724         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23725         first.  Disable AVX-512 GCC support if assembler doesn't support
23726         it.
23727         * sysdeps/x86_64/configure: Regenerated.
23729 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
23731         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23732         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23733         (__old_pthread_attr_setstack): Likewise.
23734         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23735         [!_STACK_GROWS_DOWN]: Likewise.
23737 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
23739         * config.make.in (have-bash2): Delete.
23740         * configure.ac (libc_cv_have_bash2): Delete.
23741         * configure: Regenerate.
23742         * elf/Makefile (common-ldd-rewrite): Rename to ...
23743         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
23744         (sh-ldd-rewrite): Delete.
23745         (bash-ldd-rewrite): Delete.
23746         (have-bash2): Delete checks.
23747         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23748         ldd-rewrite.
23750         * config.make.in (have-ksh): Delete.
23751         (KSH): Delete.
23752         * configure.ac (libc_cv_have_ksh): Delete.
23753         * configure: Regenerate.
23755         * elf/Makefile: Delete $(have-ksh) check.
23756         ($(objpfx)sotruss): Change KSH to BASH.
23757         * elf/sotruss.ksh: Rename to ...
23758         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
23759         function style to match POSIX.  Drop ksh vim mode setting.
23761         * manual/time.texi (Specifying the Time Zone with TZ): Change
23762         Tuesday to Thursday.
23764         * debug/tst-longjmp_chk2.c: Update header comment.
23765         (stackoverflow_handler): Add comment.  Call assert on pass value.
23767 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
23769         [BZ #16194]
23770         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23771         (HAVE_AVX512_ASM_SUPPORT): Likewise.
23772         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23773         (La_x86_64_vector): Add zmm.
23774         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23775         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23776         ($(objpfx)tst-audit10): New target.
23777         ($(objpfx)tst-audit10.out): Likewise.
23778         (tst-audit10-ENV): New.
23779         (AVX512-CFLAGS): Likewise.
23780         (CFLAGS-tst-audit10.c): Likewise.
23781         (CFLAGS-tst-auditmod10a.c): Likewise.
23782         (CFLAGS-tst-auditmod10b.c): Likewise.
23783         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23784         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23785         * sysdeps/x86_64/configure: Regenerated.
23786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23787         AVX-512 zmm register support.
23788         (_dl_x86_64_save_sse): Likewise.
23789         (_dl_x86_64_restore_sse): Likewise.
23790         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23791         size vector registers.
23792         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23793         (ZMM_SIZE): Likewise.
23794         * sysdeps/x86_64/tst-audit10.c: New file.
23795         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23796         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23798 2014-03-13  Roland McGrath  <roland@hack.frob.com>
23800         * configure.ac (HAVE_EHDR_START): New check.
23801         * configure: Regenerated.
23802         * config.h.in (HAVE_EHDR_START): New #undef.
23803         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23804         assuming the lowest-addressed segment maps the start of the file.
23806 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
23808         * INSTALL: Regenerated.
23810 2014-03-13  Will Newton  <will.newton@linaro.org>
23812         * manual/setjmp.texi (System V contexts): Improve
23813         clarity and grammar of documentation.
23815 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23817         [BZ #16381]
23818         * elf/Makefile (tests): Add tst-pie2.
23819         (tests-pie): Add tst-pie2.
23820         * elf/tst-pie2.c: New file.
23821         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23822         for ET_EXEC.
23823         * elf/rtld.c (map_doit): Load executable as lt_executable.
23824         (dl_main): Likewise.
23826 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
23828         [BZ #16642]
23829         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23830         (__ASSUME_PSELECT): Undefine.
23832 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23834         [BZ #16689]
23835         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23836         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23837         static build.
23838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23839         selector for static builds.
23841 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23843         [BZ #16695]
23844         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23845         key in the buffer.
23847 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23849         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23850         IFUNC selector for static builds.
23852 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
23854         * sysdeps/mips/math_private.h [__mips_hard_float]
23855         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23856         libc_feresetround_mips_ctx.
23857         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23858         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23859         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23861         [BZ #16677]
23862         * math/s_nextafter.c (__nextafter): Do not return value from
23863         overflowing computation.
23864         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23865         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23866         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23867         Likewise.
23868         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23869         Likewise.
23870         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23871         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23873 2014-03-11  Roland McGrath  <roland@hack.frob.com>
23875         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23876         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23877         Move sfi_sp use from the load-multiple (that no longer sets sp) to
23878         the new mov targetting sp.
23880 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23882         [BZ #16683]
23883         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23884         Define it for static builds as well.
23885         (NO_BZERO_IMPL): Likewise.
23887 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23889         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23890         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23891         multiarch strspn for PPC64.
23892         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23893         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23895         (__libc_ifunc_impl_list): Likewise.
23896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23897         multiarch optimizations
23898         * string/strspn.c (strspn): Using macro to redefine symbol name.
23900 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23901             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23903         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23904         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23905         multiarch strncat for PPC64.
23906         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23907         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23909         (__libc_ifunc_impl_list): Likewise.
23910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23911         multiarch optimizations
23913 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23915         [BZ #16639]
23916         * nscd/nscd.service: Make service type forking.
23918 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23920         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23921         sign in non default rounding modes.
23922         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23924 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
23926         * math/libm-test.inc (ALL_RM_TEST): New macro.
23927         (ceil_test): Use ALL_RM_TEST.
23928         (cimag_test): Likewise.
23929         (conj_test): Likewise.
23930         (copysign_test): Likewise.
23931         (cproj_test): Likewise.
23932         (creal_test): Likewise.
23933         (fabs_test): Likewise.
23934         (floor_test): Likewise.
23935         (fmax_test): Likewise.
23936         (fmin_test): Likewise.
23937         (fmod_test): Likewise.
23938         (fpclassify_test): Likewise.
23939         (frexp_test): Likewise.
23940         (ilogb_test): Likewise.
23941         (isfinite_test): Likewise.
23942         (finite_test): Likewise.
23943         (isgreater_test): Likewise.
23944         (isgreaterequal_test): Likewise.
23945         (isinf_test): Likewise.
23946         (isless_test): Likewise.
23947         (islessequal_test): Likewise.
23948         (islessgreater_test): Likewise.
23949         (isnan_test): Likewise.
23950         (isnormal_test): Likewise.
23951         (issignaling_test): Likewise.
23952         (isunordered_test): Likewise.
23953         (logb_test): Likewise.
23954         (logb_downward_test_data): Remove.
23955         (logb_test_downward): Likewise.
23956         (lround_test): Use ALL_RM_TEST.
23957         (llround_test): Likewise.
23958         (modf_test): Likewise.
23959         (nexttoward_test): Likewise.
23960         (remainder_test): Likewise.
23961         (drem_test): Likewise.
23962         (remainder_tonearest_test_data): Likewise.
23963         (remainder_test_tonearest): Likewise.
23964         (drem_test_tonearest): Likewise.
23965         (remainder_towardzero_test_data): Likewise.
23966         (remainder_test_towardzero): Likewise.
23967         (drem_test_towardzero): Likewise.
23968         (remainder_downward_test_data): Likewise.
23969         (remainder_test_downward): Likewise.
23970         (drem_test_downward): Likewise.
23971         (remainder_upward_test_data): Likewise.
23972         (remainder_test_upward): Likewise.
23973         (drem_test_upward): Likewise.
23974         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
23975         (round_test): Use ALL_RM_TEST.
23976         (signbit_test): Likewise.
23977         (trunc_test): Likewise.
23978         (significand_test): Likewise.
23979         (main): Don't call removed functions.
23981 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #16674]
23984         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23985         || __USE_XOPEN2K8].
23986         (ILL_ILLOPN): Likewise.
23987         (ILL_ILLADR): Likewise.
23988         (ILL_ILLTRP): Likewise.
23989         (ILL_PRVOPC): Likewise.
23990         (ILL_PRVREG): Likewise.
23991         (ILL_COPROC): Likewise.
23992         (ILL_BADSTK): Likewise.
23993         (FPE_INTDIV): Likewise.
23994         (FPE_INTOVF): Likewise.
23995         (FPE_FLTDIV): Likewise.
23996         (FPE_FLTOVF): Likewise.
23997         (FPE_FLTUND): Likewise.
23998         (FPE_FLTRES): Likewise.
23999         (FPE_FLTINV): Likewise.
24000         (FPE_FLTSUB): Likewise.
24001         (SEGV_MAPERR): Likewise.
24002         (SEGV_ACCERR): Likewise.
24003         (BUS_ADRALN): Likewise.
24004         (BUS_ADRERR): Likewise.
24005         (BUS_OBJERR): Likewise.
24006         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24007         (TRAP_TRACE): Likewise.
24008         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24009         __USE_XOPEN2K8].
24010         (CLD_KILLED): Likewise.
24011         (CLD_DUMPED): Likewise.
24012         (CLD_TRAPPED): Likewise.
24013         (CLD_STOPPED): Likewise.
24014         (CLD_CONTINUED): Likewise.
24015         (POLL_IN): Likewise.
24016         (POLL_OUT): Likewise.
24017         (POLL_MSG): Likewise.
24018         (POLL_ERR): Likewise.
24019         (POLL_PRI): Likewise.
24020         (POLL_HUP): Likewise.
24021         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
24022         Likewise.
24023         (ILL_ILLOPN): Likewise.
24024         (ILL_ILLADR): Likewise.
24025         (ILL_ILLTRP): Likewise.
24026         (ILL_PRVOPC): Likewise.
24027         (ILL_PRVREG): Likewise.
24028         (ILL_COPROC): Likewise.
24029         (ILL_BADSTK): Likewise.
24030         (FPE_INTDIV): Likewise.
24031         (FPE_INTOVF): Likewise.
24032         (FPE_FLTDIV): Likewise.
24033         (FPE_FLTOVF): Likewise.
24034         (FPE_FLTUND): Likewise.
24035         (FPE_FLTRES): Likewise.
24036         (FPE_FLTINV): Likewise.
24037         (FPE_FLTSUB): Likewise.
24038         (SEGV_MAPERR): Likewise.
24039         (SEGV_ACCERR): Likewise.
24040         (BUS_ADRALN): Likewise.
24041         (BUS_ADRERR): Likewise.
24042         (BUS_OBJERR): Likewise.
24043         (BUS_MCEERR_AR): Likewise.
24044         (BUS_MCEERR_AO): Likewise.
24045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24046         (TRAP_TRACE): Likewise.
24047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24048         __USE_XOPEN2K8].
24049         (CLD_KILLED): Likewise.
24050         (CLD_DUMPED): Likewise.
24051         (CLD_TRAPPED): Likewise.
24052         (CLD_STOPPED): Likewise.
24053         (CLD_CONTINUED): Likewise.
24054         (POLL_IN): Likewise.
24055         (POLL_OUT): Likewise.
24056         (POLL_MSG): Likewise.
24057         (POLL_ERR): Likewise.
24058         (POLL_PRI): Likewise.
24059         (POLL_HUP): Likewise.
24060         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
24061         (ILL_ILLOPN): Likewise.
24062         (ILL_ILLADR): Likewise.
24063         (ILL_ILLTRP): Likewise.
24064         (ILL_PRVOPC): Likewise.
24065         (ILL_PRVREG): Likewise.
24066         (ILL_COPROC): Likewise.
24067         (ILL_BADSTK): Likewise.
24068         (FPE_INTDIV): Likewise.
24069         (FPE_INTOVF): Likewise.
24070         (FPE_FLTDIV): Likewise.
24071         (FPE_FLTOVF): Likewise.
24072         (FPE_FLTUND): Likewise.
24073         (FPE_FLTRES): Likewise.
24074         (FPE_FLTINV): Likewise.
24075         (FPE_FLTSUB): Likewise.
24076         (SEGV_MAPERR): Likewise.
24077         (SEGV_ACCERR): Likewise.
24078         (BUS_ADRALN): Likewise.
24079         (BUS_ADRERR): Likewise.
24080         (BUS_OBJERR): Likewise.
24081         (BUS_MCEERR_AR): Likewise.
24082         (BUS_MCEERR_AO): Likewise.
24083         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24084         (TRAP_TRACE): Likewise.
24085         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24086         __USE_XOPEN2K8].
24087         (CLD_KILLED): Likewise.
24088         (CLD_DUMPED): Likewise.
24089         (CLD_TRAPPED): Likewise.
24090         (CLD_STOPPED): Likewise.
24091         (CLD_CONTINUED): Likewise.
24092         (POLL_IN): Likewise.
24093         (POLL_OUT): Likewise.
24094         (POLL_MSG): Likewise.
24095         (POLL_ERR): Likewise.
24096         (POLL_PRI): Likewise.
24097         (POLL_HUP): Likewise.
24098         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
24099         Likewise.
24100         (ILL_ILLOPN): Likewise.
24101         (ILL_ILLADR): Likewise.
24102         (ILL_ILLTRP): Likewise.
24103         (ILL_PRVOPC): Likewise.
24104         (ILL_PRVREG): Likewise.
24105         (ILL_COPROC): Likewise.
24106         (ILL_BADSTK): Likewise.
24107         (ILL_BADIADDR): Likewise.
24108         (ILL_BREAK): Likewise.
24109         (FPE_INTDIV): Likewise.
24110         (FPE_INTOVF): Likewise.
24111         (FPE_FLTDIV): Likewise.
24112         (FPE_FLTOVF): Likewise.
24113         (FPE_FLTUND): Likewise.
24114         (FPE_FLTRES): Likewise.
24115         (FPE_FLTINV): Likewise.
24116         (FPE_FLTSUB): Likewise.
24117         (FPE_DECOVF): Likewise.
24118         (FPE_DECDIV): Likewise.
24119         (FPE_DECERR): Likewise.
24120         (FPE_INVASC): Likewise.
24121         (FPE_INVDEC): Likewise.
24122         (SEGV_MAPERR): Likewise.
24123         (SEGV_ACCERR): Likewise.
24124         (SEGV_PSTKOVF): Likewise.
24125         (BUS_ADRALN): Likewise.
24126         (BUS_ADRERR): Likewise.
24127         (BUS_OBJERR): Likewise.
24128         (BUS_MCEERR_AR): Likewise.
24129         (BUS_MCEERR_AO): Likewise.
24130         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24131         (TRAP_TRACE): Likewise.
24132         (TRAP_BRANCH): Likewise.
24133         (TRAP_HWBKPT): Likewise.
24134         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24135         __USE_XOPEN2K8].
24136         (CLD_KILLED): Likewise.
24137         (CLD_DUMPED): Likewise.
24138         (CLD_TRAPPED): Likewise.
24139         (CLD_STOPPED): Likewise.
24140         (CLD_CONTINUED): Likewise.
24141         (POLL_IN): Likewise.
24142         (POLL_OUT): Likewise.
24143         (POLL_MSG): Likewise.
24144         (POLL_ERR): Likewise.
24145         (POLL_PRI): Likewise.
24146         (POLL_HUP): Likewise.
24147         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
24148         (ILL_ILLOPN): Likewise.
24149         (ILL_ILLADR): Likewise.
24150         (ILL_ILLTRP): Likewise.
24151         (ILL_PRVOPC): Likewise.
24152         (ILL_PRVREG): Likewise.
24153         (ILL_COPROC): Likewise.
24154         (ILL_BADSTK): Likewise.
24155         (FPE_INTDIV): Likewise.
24156         (FPE_INTOVF): Likewise.
24157         (FPE_FLTDIV): Likewise.
24158         (FPE_FLTOVF): Likewise.
24159         (FPE_FLTUND): Likewise.
24160         (FPE_FLTRES): Likewise.
24161         (FPE_FLTINV): Likewise.
24162         (FPE_FLTSUB): Likewise.
24163         (SEGV_MAPERR): Likewise.
24164         (SEGV_ACCERR): Likewise.
24165         (BUS_ADRALN): Likewise.
24166         (BUS_ADRERR): Likewise.
24167         (BUS_OBJERR): Likewise.
24168         (BUS_MCEERR_AR): Likewise.
24169         (BUS_MCEERR_AO): Likewise.
24170         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24171         (TRAP_TRACE): Likewise.
24172         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24173         __USE_XOPEN2K8].
24174         (CLD_KILLED): Likewise.
24175         (CLD_DUMPED): Likewise.
24176         (CLD_TRAPPED): Likewise.
24177         (CLD_STOPPED): Likewise.
24178         (CLD_CONTINUED): Likewise.
24179         (POLL_IN): Likewise.
24180         (POLL_OUT): Likewise.
24181         (POLL_MSG): Likewise.
24182         (POLL_ERR): Likewise.
24183         (POLL_PRI): Likewise.
24184         (POLL_HUP): Likewise.
24185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
24186         (ILL_ILLOPN): Likewise.
24187         (ILL_ILLADR): Likewise.
24188         (ILL_ILLTRP): Likewise.
24189         (ILL_PRVOPC): Likewise.
24190         (ILL_PRVREG): Likewise.
24191         (ILL_COPROC): Likewise.
24192         (ILL_BADSTK): Likewise.
24193         (FPE_INTDIV): Likewise.
24194         (FPE_INTOVF): Likewise.
24195         (FPE_FLTDIV): Likewise.
24196         (FPE_FLTOVF): Likewise.
24197         (FPE_FLTUND): Likewise.
24198         (FPE_FLTRES): Likewise.
24199         (FPE_FLTINV): Likewise.
24200         (FPE_FLTSUB): Likewise.
24201         (SEGV_MAPERR): Likewise.
24202         (SEGV_ACCERR): Likewise.
24203         (BUS_ADRALN): Likewise.
24204         (BUS_ADRERR): Likewise.
24205         (BUS_OBJERR): Likewise.
24206         (BUS_MCEERR_AR): Likewise.
24207         (BUS_MCEERR_AO): Likewise.
24208         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24209         (TRAP_TRACE): Likewise.
24210         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24211         __USE_XOPEN2K8].
24212         (CLD_KILLED): Likewise.
24213         (CLD_DUMPED): Likewise.
24214         (CLD_TRAPPED): Likewise.
24215         (CLD_STOPPED): Likewise.
24216         (CLD_CONTINUED): Likewise.
24217         (POLL_IN): Likewise.
24218         (POLL_OUT): Likewise.
24219         (POLL_MSG): Likewise.
24220         (POLL_ERR): Likewise.
24221         (POLL_PRI): Likewise.
24222         (POLL_HUP): Likewise.
24223         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
24224         (ILL_ILLOPN): Likewise.
24225         (ILL_ILLADR): Likewise.
24226         (ILL_ILLTRP): Likewise.
24227         (ILL_PRVOPC): Likewise.
24228         (ILL_PRVREG): Likewise.
24229         (ILL_COPROC): Likewise.
24230         (ILL_BADSTK): Likewise.
24231         (FPE_INTDIV): Likewise.
24232         (FPE_INTOVF): Likewise.
24233         (FPE_FLTDIV): Likewise.
24234         (FPE_FLTOVF): Likewise.
24235         (FPE_FLTUND): Likewise.
24236         (FPE_FLTRES): Likewise.
24237         (FPE_FLTINV): Likewise.
24238         (FPE_FLTSUB): Likewise.
24239         (SEGV_MAPERR): Likewise.
24240         (SEGV_ACCERR): Likewise.
24241         (BUS_ADRALN): Likewise.
24242         (BUS_ADRERR): Likewise.
24243         (BUS_OBJERR): Likewise.
24244         (BUS_MCEERR_AR): Likewise.
24245         (BUS_MCEERR_AO): Likewise.
24246         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24247         (TRAP_TRACE): Likewise.
24248         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24249         __USE_XOPEN2K8].
24250         (CLD_KILLED): Likewise.
24251         (CLD_DUMPED): Likewise.
24252         (CLD_TRAPPED): Likewise.
24253         (CLD_STOPPED): Likewise.
24254         (CLD_CONTINUED): Likewise.
24255         (POLL_IN): Likewise.
24256         (POLL_OUT): Likewise.
24257         (POLL_MSG): Likewise.
24258         (POLL_ERR): Likewise.
24259         (POLL_PRI): Likewise.
24260         (POLL_HUP): Likewise.
24261         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24262         (ILL_ILLOPN): Likewise.
24263         (ILL_ILLADR): Likewise.
24264         (ILL_ILLTRP): Likewise.
24265         (ILL_PRVOPC): Likewise.
24266         (ILL_PRVREG): Likewise.
24267         (ILL_COPROC): Likewise.
24268         (ILL_BADSTK): Likewise.
24269         (ILL_DBLFLT): Likewise.
24270         (ILL_HARDWALL): Likewise.
24271         (FPE_INTDIV): Likewise.
24272         (FPE_INTOVF): Likewise.
24273         (FPE_FLTDIV): Likewise.
24274         (FPE_FLTOVF): Likewise.
24275         (FPE_FLTUND): Likewise.
24276         (FPE_FLTRES): Likewise.
24277         (FPE_FLTINV): Likewise.
24278         (FPE_FLTSUB): Likewise.
24279         (SEGV_MAPERR): Likewise.
24280         (SEGV_ACCERR): Likewise.
24281         (BUS_ADRALN): Likewise.
24282         (BUS_ADRERR): Likewise.
24283         (BUS_OBJERR): Likewise.
24284         (BUS_MCEERR_AR): Likewise.
24285         (BUS_MCEERR_AO): Likewise.
24286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24287         (TRAP_TRACE): Likewise.
24288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24289         __USE_XOPEN2K8].
24290         (CLD_KILLED): Likewise.
24291         (CLD_DUMPED): Likewise.
24292         (CLD_TRAPPED): Likewise.
24293         (CLD_STOPPED): Likewise.
24294         (CLD_CONTINUED): Likewise.
24295         (POLL_IN): Likewise.
24296         (POLL_OUT): Likewise.
24297         (POLL_MSG): Likewise.
24298         (POLL_ERR): Likewise.
24299         (POLL_PRI): Likewise.
24300         (POLL_HUP): Likewise.
24301         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24302         (ILL_ILLOPN): Likewise.
24303         (ILL_ILLADR): Likewise.
24304         (ILL_ILLTRP): Likewise.
24305         (ILL_PRVOPC): Likewise.
24306         (ILL_PRVREG): Likewise.
24307         (ILL_COPROC): Likewise.
24308         (ILL_BADSTK): Likewise.
24309         (FPE_INTDIV): Likewise.
24310         (FPE_INTOVF): Likewise.
24311         (FPE_FLTDIV): Likewise.
24312         (FPE_FLTOVF): Likewise.
24313         (FPE_FLTUND): Likewise.
24314         (FPE_FLTRES): Likewise.
24315         (FPE_FLTINV): Likewise.
24316         (FPE_FLTSUB): Likewise.
24317         (SEGV_MAPERR): Likewise.
24318         (SEGV_ACCERR): Likewise.
24319         (BUS_ADRALN): Likewise.
24320         (BUS_ADRERR): Likewise.
24321         (BUS_OBJERR): Likewise.
24322         (BUS_MCEERR_AR): Likewise.
24323         (BUS_MCEERR_AO): Likewise.
24324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24325         (TRAP_TRACE): Likewise.
24326         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24327         __USE_XOPEN2K8].
24328         (CLD_KILLED): Likewise.
24329         (CLD_DUMPED): Likewise.
24330         (CLD_TRAPPED): Likewise.
24331         (CLD_STOPPED): Likewise.
24332         (CLD_CONTINUED): Likewise.
24333         (POLL_IN): Likewise.
24334         (POLL_OUT): Likewise.
24335         (POLL_MSG): Likewise.
24336         (POLL_ERR): Likewise.
24337         (POLL_PRI): Likewise.
24338         (POLL_HUP): Likewise.
24339         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24340         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24342         [BZ #16670]
24343         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24344         before #include of <time.h>.
24345         [!__USE_XOPEN2K] (__need_timespec): Likewise.
24346         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24347         (test-xfail-UNIX98/sched.h/conform): Likewise.
24349 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24351         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24352         error absence of trapping exception support.
24353         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24355 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
24357         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24358         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24359         * timezone/Makefile (testdata): Move definition above include of
24360         Rules.
24361         (test-zones): New variable.
24362         (tests-special): Add zone files.
24363         (build-testdata): Use $(evaluate-test).
24365         * elf/Makefile (tests-special): Rename tests to end with .out.
24366         ($(objpfx)noload-mem): Likewise.
24367         ($(objpfx)tst-leaks1-mem): Likewise.
24368         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24369         * iconv/Makefile (xtests-special): Change test-iconvconfig to
24370         $(objpfx)test-iconvconfig.out.
24371         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
24372         set -e inside subshell and redirect output to file.
24373         * iconvdata/Makefile (generated): Rename tests to end with .out.
24374         Correct type.
24375         (tests-special): Rename tests to end with .out.
24376         ($(objpfx)mtrace-tst-loading): Likewise.
24377         * intl/Makefile (generated): Likewise.
24378         (tests-special): Likewise.
24379         ($(objpfx)mtrace-tst-gettext): Likewise.
24380         * misc/Makefile (generated): Likewise.
24381         (tests-special): Likewise.
24382         ($(objpfx)tst-error1-mem): Likewise.
24383         * nptl/Makefile (tests-special): Likewise.
24384         ($(objpfx)tst-stack3-mem): Likewise.
24385         (generated): Likewise.
24386         * posix/Makefile (generated): Likewise.
24387         (tests-special): Likewise.
24388         (xtests-special): Likewise.
24389         ($(objpfx)tst-fnmatch-mem): Likewise.
24390         ($(objpfx)bug-regex2-mem): Likewise.
24391         ($(objpfx)bug-regex14-mem): Likewise.
24392         ($(objpfx)bug-regex21-mem): Likewise.
24393         ($(objpfx)bug-regex31-mem): Likewise.
24394         ($(objpfx)tst-vfork3-mem): Likewise.
24395         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24396         ($(objpfx)tst-pcre-mem): Likewise.
24397         ($(objpfx)tst-boost-mem): Likewise.
24398         ($(objpfx)bug-ga2-mem): Likewise.
24399         ($(objpfx)bug-glob2-mem): Likewise.
24400         * resolv/Makefile (generate): Likewise.
24401         (tests-special): Likewise.
24402         (xtests-special): Likewise.
24403         (generated): Likewise.
24404         ($(objpfx)mtrace-tst-leaks): Likewise.
24405         ($(objpfx)mtrace-tst-leaks2): Likewise.
24407         * scripts/merge-test-results.sh: New file.
24408         * Makefile (tests-special-notdir): New variable.
24409         (tests): Run merge-test-results.sh.
24410         (xtests): Likewise.
24411         * Rules (tests-special-notdir): New variable.
24412         (xtests-special-notdir): Likewise.
24413         (tests): Run merge-test-results.sh
24414         (xtests): Likewise.
24416         * Makeconfig (test-xfail-name): New variable.
24417         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24418         compute variable name for expected failures.
24419         * conform/Makefile (conformtest-headers-data): New variable.
24420         (conformtest-standards): Likewise.
24421         (conformtest-headers-ISO): Likewise.
24422         (conformtest-headers-ISO99): Likewise.
24423         (conformtest-headers-ISO11): Likewise.
24424         (conformtest-headers-POSIX): Likewise.
24425         (conformtest-headers-XPG3): Likewise.
24426         (conformtest-headers-XPG4): Likewise.
24427         (conformtest-headers-UNIX98): Likewise.
24428         (conformtest-headers-XOPEN2K): Likewise.
24429         (conformtest-headers-POSIX2008): Likewise.
24430         (conformtest-headers-XOPEN2K8): Likewise.
24431         (conformtest-header-list-base): Likewise.
24432         (conformtest-header-list-tests): Likewise.
24433         (conformtest-header-base): Likewise.
24434         (conformtest-header-tests): Likewise.
24435         (tests-special): Add $(conformtest-header-list-tests).  If
24436         [$(fast-check) && !$(cross-compiling)], add
24437         $(conformtest-header-tests) instead of
24438         $(objpfx)run-conformtest.out.
24439         (generated): Add $(conformtest-header-list-base).  If
24440         [$(fast-check) && !$(cross-compiling)], add
24441         $(conformtest-header-base).  Remove previous setting.
24442         ($(conformtest-header-list-tests)): New target.
24443         (test-xfail-run-conformtest): Remove variable.
24444         ($(objpfx)run-conformtest.out): Remove target.
24445         (test-xfail-ISO11/complex.h/conform): New variable.
24446         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24447         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24448         (test-xfail-XPG3/varargs.h/conform): Likewise.
24449         (test-xfail-XPG4/varargs.h/conform): Likewise.
24450         (test-xfail-UNIX98/varargs.h/conform): Likewise.
24451         (test-xfail-XPG4/ndbm.h/conform): Likewise.
24452         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24453         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24454         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24455         (test-xfail-XPG3/fcntl.h/conform): Likewise.
24456         (test-xfail-XPG3/ftw.h/conform): Likewise.
24457         (test-xfail-XPG3/grp.h/conform): Likewise.
24458         (test-xfail-XPG3/langinfo.h/conform): Likewise.
24459         (test-xfail-XPG3/limits.h/conform): Likewise.
24460         (test-xfail-XPG3/pwd.h/conform): Likewise.
24461         (test-xfail-XPG3/search.h/conform): Likewise.
24462         (test-xfail-XPG3/signal.h/conform): Likewise.
24463         (test-xfail-XPG3/stdio.h/conform): Likewise.
24464         (test-xfail-XPG3/stdlib.h/conform): Likewise.
24465         (test-xfail-XPG3/string.h/conform): Likewise.
24466         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24467         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24468         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24469         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24470         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24471         (test-xfail-XPG3/sys/types.h/conform): Likewise.
24472         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24473         (test-xfail-XPG3/termios.h/conform): Likewise.
24474         (test-xfail-XPG3/time.h/conform): Likewise.
24475         (test-xfail-XPG3/unistd.h/conform): Likewise.
24476         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24477         (test-xfail-XPG4/fcntl.h/conform): Likewise.
24478         (test-xfail-XPG4/langinfo.h/conform): Likewise.
24479         (test-xfail-XPG4/netdb.h/conform): Likewise.
24480         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24481         (test-xfail-XPG4/signal.h/conform): Likewise.
24482         (test-xfail-XPG4/stdio.h/conform): Likewise.
24483         (test-xfail-XPG4/stdlib.h/conform): Likewise.
24484         (test-xfail-XPG4/stropts.h/conform): Likewise.
24485         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24486         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24487         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24488         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24489         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24490         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24491         (test-xfail-XPG4/sys/time.h/conform): Likewise.
24492         (test-xfail-XPG4/sys/types.h/conform): Likewise.
24493         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24494         (test-xfail-XPG4/termios.h/conform): Likewise.
24495         (test-xfail-XPG4/ucontext.h/conform): Likewise.
24496         (test-xfail-XPG4/unistd.h/conform): Likewise.
24497         (test-xfail-XPG4/utmpx.h/conform): Likewise.
24498         (test-xfail-POSIX/sched.h/conform): Likewise.
24499         (test-xfail-POSIX/signal.h/conform): Likewise.
24500         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24501         (test-xfail-POSIX/tar.h/conform): Likewise.
24502         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24503         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24504         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24505         (test-xfail-UNIX98/netdb.h/conform): Likewise.
24506         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24507         (test-xfail-UNIX98/sched.h/conform): Likewise.
24508         (test-xfail-UNIX98/signal.h/conform): Likewise.
24509         (test-xfail-UNIX98/stdio.h/conform): Likewise.
24510         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24511         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24512         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24513         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24514         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24515         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24516         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24517         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24518         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24519         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24520         (test-xfail-UNIX98/unistd.h/conform): Likewise.
24521         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24522         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24523         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24524         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24525         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24526         (test-xfail-XOPEN2K/math.h/conform): Likewise.
24527         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24528         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24529         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24530         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24531         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24532         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24533         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24534         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24535         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24536         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24537         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24538         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24539         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24540         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24541         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24542         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24543         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24544         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24545         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24546         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24547         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24548         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24549         (test-xfail-POSIX2008/signal.h/conform): Likewise.
24550         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24551         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24552         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24553         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24554         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24555         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24556         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24557         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24558         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24559         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24560         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24561         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24562         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24563         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24564         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24565         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24566         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24567         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24568         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24569         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24570         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24571         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24572         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24573         (conformtest-cc-flags): Likewise.
24574         ($(conformtest-header-tests): New target.
24575         * conform/check-header-lists.sh: New file.
24576         * conform/run-conformtest.sh: Remove.
24578         * conform/conformtest.pl: Allow ' and \ in values given for
24579         constants.
24580         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24581         inclusion.
24582         [POSIX] (sys/types.h): Likewise.
24583         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24584         inclusion.
24585         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24586         inclusion.
24587         * conform/data/signal.h-data (SIGIO): Remove expectation.
24588         [XPG3] (SIGBUS): Do not expect.
24589         [POSIX || XPG3] (SIGPOLL): Likewise.
24590         [POSIX || XPG3] (SIGPROF): Likewise.
24591         [POSIX || XPG3] (SIGSYS): Likewise.
24592         [XPG3] (SIGTRAP): Likewise.
24593         [POSIX || XPG3] (SIGURG): Likewise.
24594         [POSIX || XPG3] (SIGVTALRM): Likewise.
24595         [POSIX || XPG3] (SIGXCPU): Likewise.
24596         [POSIX || XPG3] (SIGXFSZ): Likewise.
24597         [POSIX] (SA_SIGINFO): Expect.
24598         [XPG3] (siginfo_t): Do not expect type or contents.
24599         [POSIX] (si_pid): Do not expect element.
24600         [POSIX] (si_uid): Likewise.
24601         [POSIX] (si_addr): Likewise.
24602         [POSIX] (si_status): Likewise.
24603         [POSIX] (si_band): Likewise.
24604         [XPG4] (si_value): Likewise.
24605         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24606         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24607         [POSIX || XPG3] (ILL_ILLADR): Likewise.
24608         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24609         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24610         [POSIX || XPG3] (ILL_PRVREG): Likewise.
24611         [POSIX || XPG3] (ILL_COPROC): Likewise.
24612         [POSIX || XPG3] (ILL_BADSTK): Likewise.
24613         [POSIX || XPG3] (FPE_INTDIV): Likewise.
24614         [POSIX || XPG3] (FPE_INTOVF): Likewise.
24615         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24616         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24617         [POSIX || XPG3] (FPE_FLTUND): Likewise.
24618         [POSIX || XPG3] (FPE_FLTRES): Likewise.
24619         [POSIX || XPG3] (FPE_FLTINV): Likewise.
24620         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24621         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24622         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24623         [POSIX || XPG3] (BUS_ADRALN): Likewise.
24624         [POSIX || XPG3] (BUS_ADRERR): Likewise.
24625         [POSIX || XPG3] (BUS_OBJERR): Likewise.
24626         [POSIX || XPG3] (CLD_EXITED): Likewise.
24627         [POSIX || XPG3] (CLD_KILLED): Likewise.
24628         [POSIX || XPG3] (CLD_DUMPED): Likewise.
24629         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24630         [POSIX || XPG3] (CLD_STOPPED): Likewise.
24631         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24632         [POSIX || XPG3] (POLL_IN): Likewise.
24633         [POSIX || XPG3] (POLL_OUT): Likewise.
24634         [POSIX || XPG3] (POLL_MSG): Likewise.
24635         [POSIX || XPG3] (POLL_ERR): Likewise.
24636         [POSIX || XPG3] (POLL_PRI): Likewise.
24637         [POSIX || XPG3] (POLL_HUP): Likewise.
24638         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24639         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24640         (SIG*): Do not allow.
24641         [XPG3] (si_*): Likewise.
24642         [XPG3] (SI_*): Likewise.
24643         [XPG3 || XPG4] (sigev_*): Likewise.
24644         [XPG3 || XPG4] (SIGEV_*): Likewise.
24645         [XPG3 || XPG4] (sival_*): Likewise.
24646         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24647         [POSIX || XPG3] (BUS_*): Likewise.
24648         [POSIX || XPG3] (CLD_*): Likewise.
24649         [POSIX || XPG3] (FPE_*): Likewise.
24650         [POSIX || XPG3] (ILL_*): Likewise.
24651         [POSIX || XPG3] (POLL_*): Likewise.
24652         [POSIX || XPG3] (SEGV_*): Likewise.
24653         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24654         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24655         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24656         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24657         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24658         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24659         Specify type and value.
24660         (TVERSLEN): Likewise.
24661         (REGTYPE): Likewise.
24662         (AREGTYPE): Likewise.
24663         (LNKTYPE): Likewise.
24664         (SYMTYPE): Likewise.
24665         (CHRTYPE): Likewise.
24666         (BLKTYPE): Likewise.
24667         (DIRTYPE): Likewise.
24668         (FIFOTYPE): Likewise.
24669         (CONTTYPE): Likewise.
24670         (TSUID): Likewise.
24671         (TSGID): Likewise.
24672         (TSVTX): Likewise.
24673         (TUREAD): Likewise.
24674         (TUWRITE): Likewise.
24675         (TUEXEC): Likewise.
24676         (TGREAD): Likewise.
24677         (TGWRITE): Likewise.
24678         (TGEXEC): Likewise.
24679         (TOREAD): Likewise.
24680         (TOWRITE): Likewise.
24681         (TOEXEC): Likewise.
24682         [POSIX] (TSVTX): Expect constant.
24684 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
24686         * Makefile (tests): Change dependencies to ....
24687         (tests-special): ... additions to this variable.
24688         (tests): Depend on $(tests-special).
24689         * Makerules (check-abi-list): New variable.
24690         (check-abi): Depend on $(check-abi-list).
24691         [$(subdir) = elf] (tests-special): Add
24692         $(objpfx)check-abi-libc.out.
24693         [$(build-shared) = yes && subdir] (tests-special): Add
24694         $(check-abi-list).
24695         [$(build-shared) = yes && subdir] (tests): Do not depend on
24696         check-abi.
24697         * Rules (tests): Depend on $(tests-special).
24698         (xtests): Depend on $(xtests-special).
24699         * catgets/Makefile (tests): Change dependencies to ....
24700         (tests-special): ... additions to this variable.
24701         * conform/Makefile (tests): Change dependencies to ....
24702         (tests-special): ... additions to this variable.
24703         * elf/Makefile (tests): Change dependencies to ....
24704         (tests-special): ... additions to this variable.
24705         * grp/Makefile (tests): Change dependencies to ....
24706         (tests-special): ... additions to this variable.
24707         * iconv/Makefile (xtests): Change dependencies to ....
24708         (xtests-special): ... additions to this variable.
24709         * iconvdata/Makefile (tests): Change dependencies to ....
24710         (tests-special): ... additions to this variable.
24711         * intl/Makefile (tests): Change dependencies to ....
24712         (tests-special): ... additions to this variable.  Also add
24713         $(objpfx)tst-gettext.out.
24714         * io/Makefile (tests): Change dependencies to ....
24715         (tests-special): ... additions to this variable.
24716         * libio/Makefile (tests): Change dependencies to ....
24717         (tests-special): ... additions to this variable.
24718         * malloc/Makefile (tests): Change dependencies to ....
24719         (tests-special): ... additions to this variable.
24720         * misc/Makefile (tests): Change dependencies to ....
24721         (tests-special): ... additions to this variable.
24722         * nptl/Makefile (tests): Change dependencies to ....
24723         (tests-special): ... additions to this variable.
24724         * nptl_db/Makefile (tests): Change dependencies to ....
24725         (tests-special): ... additions to this variable.
24726         * posix/Makefile (tests): Change dependencies to ....
24727         (tests-special): ... additions to this variable.
24728         (xtests): Change dependencies to ....
24729         (xtests-special): ... additions to this variable.
24730         * resolv/Makefile (tests): Change dependencies to ....
24731         (tests-special): ... additions to this variable.
24732         (xtests): Change dependencies to ....
24733         (xtests-special): ... additions to this variable.
24734         * stdio-common/Makefile (tests): Change dependencies to ....
24735         (tests-special): ... additions to this variable.
24736         (do-tst-unbputc): Remove target.
24737         (do-tst-printf): Likewise.
24738         * stdlib/Makefile (tests): Change dependencies to ....
24739         (tests-special): ... additions to this variable.
24740         * string/Makefile (tests): Change dependencies to ....
24741         (tests-special): ... additions to this variable.
24742         * sysdeps/x86/Makefile (tests): Change dependencies to ....
24743         (tests-special): ... additions to this variable.
24745         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24746         whole file.
24747         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24748         whole file.
24749         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24750         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24752         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24753         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24754         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24755         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24756         * conform/data/libgen.h-data [XPG3]: Likewise.
24757         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24758         * conform/data/ndbm.h-data [XPG3]: Likewise.
24759         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24760         * conform/data/netdb.h-data [XPG3]: Likewise.
24761         * conform/data/netinet/in.h-data [XPG3]: Likewise.
24762         * conform/data/poll.h-data [XPG3]: Likewise.
24763         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24764         * conform/data/strings.h-data [XPG3]: Likewise.
24765         * conform/data/stropts.h-data [XPG3]: Likewise.
24766         * conform/data/sys/mman.h-data [XPG3]: Likewise.
24767         * conform/data/sys/resource.h-data [XPG3]: Likewise.
24768         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24769         Likewise.
24770         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24771         * conform/data/sys/time.h-data [XPG3]: Likewise.
24772         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24773         * conform/data/sys/uio.h-data [XPG3]: Likewise.
24774         * conform/data/sys/un.h-data [XPG3]: Likewise.
24775         * conform/data/syslog.h-data [XPG3]: Likewise.
24776         * conform/data/ucontext.h-data [XPG3]: Likewise.
24777         * conform/data/utmpx.h-data [XPG3]: Likewise.
24778         * conform/data/varargs.h-data [UNIX98]: Enable file.
24780         * manual/Makefile (INSTALL_INFO): Remove variable setting.
24782         * math/libm-test.inc (struct test_f_f_data): Move expected results
24783         into structure for each rounding mode.
24784         (struct test_ff_f_data): Likewise.
24785         (struct test_ff_f_data_nexttoward): Likewise.
24786         (struct test_fi_f_data): Likewise.
24787         (struct test_fl_f_data): Likewise.
24788         (struct test_if_f_data): Likewise.
24789         (struct test_fff_f_data): Likewise.
24790         (struct test_c_f_data): Likewise.
24791         (struct test_f_f1_data): Likewise.
24792         (struct test_fF_f1_data): Likewise.
24793         (struct test_ffI_f1_data): Likewise.
24794         (struct test_c_c_data): Likewise.
24795         (struct test_cc_c_data): Likewise.
24796         (struct test_f_i_data): Likewise.
24797         (struct test_ff_i_data): Likewise.
24798         (struct test_f_l_data): Likewise.
24799         (struct test_f_L_data): Likewise.
24800         (struct test_fFF_11_data): Likewise.
24801         (RM_): New macro.
24802         (RM_FE_DOWNWARD): Likewise.
24803         (RM_FE_TONEAREST): Likewise.
24804         (RM_FE_TOWARDZERO): Likewise.
24805         (RM_FE_UPWARD): Likewise.
24806         (RUN_TEST_LOOP_f_f): Update references to expected results.
24807         (RUN_TEST_LOOP_2_f): Likewise.
24808         (RUN_TEST_LOOP_fff_f): Likewise.
24809         (RUN_TEST_LOOP_c_f): Likewise.
24810         (RUN_TEST_LOOP_f_f1): Likewise.
24811         (RUN_TEST_LOOP_fF_f1): Likewise.
24812         (RUN_TEST_LOOP_fI_f1): Likewise.
24813         (RUN_TEST_LOOP_ffI_f1): Likewise.
24814         (RUN_TEST_LOOP_c_c): Likewise.
24815         (RUN_TEST_LOOP_cc_c): Likewise.
24816         (RUN_TEST_LOOP_f_i): Likewise.
24817         (RUN_TEST_LOOP_f_i_tg): Likewise.
24818         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24819         (RUN_TEST_LOOP_f_b): Likewise.
24820         (RUN_TEST_LOOP_f_b_tg): Likewise.
24821         (RUN_TEST_LOOP_f_l): Likewise.
24822         (RUN_TEST_LOOP_f_L): Likewise.
24823         (RUN_TEST_LOOP_fFF_11): Likewise.
24824         * math/gen-libm-test.pl (parse_args): Output four copies of
24825         expected results for each test.
24827         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24828         (__ASSUME_UTIMES): Remove.
24829         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24830         (__ASSUME_UTIMES): Likewise.
24832         * math/gen-auto-libm-tests.c: Update comment on output format.
24833         (output_for_one_input_case): Generate before-rounding and
24834         after-rounding information as conditions on output flags not
24835         floating-point format.
24836         * math/auto-libm-test-out: Regenerated.
24837         * math/gen-libm-test.pl (cond_value): New function.
24838         (or_cond_value): Use cond_value.
24839         (generate_testfile): Handle conditional exceptions.
24841 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
24843         * math/libm-test.inc (max_valid_error): New variable.
24844         (init_max_error): Take new argument specifying whether function
24845         results are exactly determined.  Set max_valid_error and bound
24846         other variables for errors based on this argument.
24847         (set_max_error): Do not record results above max_valid_error.
24848         (check_float_internal): Only accept errors of up to 0.5ulps if
24849         also at most max_valid_error.
24850         (START): Take new argument EXACT and pass it to init_max_error.
24851         (acos_test): Update call to START.
24852         (acos_test_tonearest): Likewise.
24853         (acos_test_towardzero): Likewise.
24854         (acos_test_downward): Likewise.
24855         (acos_test_upward): Likewise.
24856         (acosh_test): Likewise.
24857         (asin_test): Likewise.
24858         (asin_test_tonearest): Likewise.
24859         (asin_test_towardzero): Likewise.
24860         (asin_test_downward): Likewise.
24861         (asin_test_upward): Likewise.
24862         (asinh_test): Likewise.
24863         (atan_test): Likewise.
24864         (atanh_test): Likewise.
24865         (atan2_test): Likewise.
24866         (cabs_test): Likewise.
24867         (cacos_test): Likewise.
24868         (cacosh_test): Likewise.
24869         (carg_test): Likewise.
24870         (casin_test): Likewise.
24871         (casinh_test): Likewise.
24872         (catan_test): Likewise.
24873         (catanh_test): Likewise.
24874         (cbrt_test): Likewise.
24875         (ccos_test): Likewise.
24876         (ccosh_test): Likewise.
24877         (ceil_test): Likewise.
24878         (cexp_test): Likewise.
24879         (cimag_test): Likewise.
24880         (clog_test): Likewise.
24881         (clog10_test): Likewise.
24882         (conj_test): Likewise.
24883         (copysign_test): Likewise.
24884         (cos_test): Likewise.
24885         (cos_test_tonearest): Likewise.
24886         (cos_test_towardzero): Likewise.
24887         (cos_test_downward): Likewise.
24888         (cos_test_upward): Likewise.
24889         (cosh_test): Likewise.
24890         (cosh_test_tonearest): Likewise.
24891         (cosh_test_towardzero): Likewise.
24892         (cosh_test_downward): Likewise.
24893         (cosh_test_upward): Likewise.
24894         (cpow_test): Likewise.
24895         (cproj_test): Likewise.
24896         (creal_test): Likewise.
24897         (csin_test): Likewise.
24898         (csinh_test): Likewise.
24899         (csqrt_test): Likewise.
24900         (ctan_test): Likewise.
24901         (ctan_test_tonearest): Likewise.
24902         (ctan_test_towardzero): Likewise.
24903         (ctan_test_downward): Likewise.
24904         (ctan_test_upward): Likewise.
24905         (ctanh_test): Likewise.
24906         (ctanh_test_tonearest): Likewise.
24907         (ctanh_test_towardzero): Likewise.
24908         (ctanh_test_downward): Likewise.
24909         (ctanh_test_upward): Likewise.
24910         (erf_test): Likewise.
24911         (erfc_test): Likewise.
24912         (exp_test): Likewise.
24913         (exp_test_tonearest): Likewise.
24914         (exp_test_towardzero): Likewise.
24915         (exp_test_downward): Likewise.
24916         (exp_test_upward): Likewise.
24917         (exp10_test): Likewise.
24918         (exp10_test_tonearest): Likewise.
24919         (exp10_test_towardzero): Likewise.
24920         (exp10_test_downward): Likewise.
24921         (exp10_test_upward): Likewise.
24922         (pow10_test): Likewise.
24923         (exp2_test): Likewise.
24924         (expm1_test): Likewise.
24925         (expm1_test_tonearest): Likewise.
24926         (expm1_test_towardzero): Likewise.
24927         (expm1_test_downward): Likewise.
24928         (expm1_test_upward): Likewise.
24929         (fabs_test): Likewise.
24930         (fdim_test): Likewise.
24931         (floor_test): Likewise.
24932         (fma_test): Likewise.
24933         (fma_test_towardzero): Likewise.
24934         (fma_test_downward): Likewise.
24935         (fma_test_upward): Likewise.
24936         (fmax_test): Likewise.
24937         (fmin_test): Likewise.
24938         (fmod_test): Likewise.
24939         (fpclassify_test): Likewise.
24940         (frexp_test): Likewise.
24941         (hypot_test): Likewise.
24942         (ilogb_test): Likewise.
24943         (isfinite_test): Likewise.
24944         (finite_test): Likewise.
24945         (isgreater_test): Likewise.
24946         (isgreaterequal_test): Likewise.
24947         (isinf_test): Likewise.
24948         (isless_test): Likewise.
24949         (islessequal_test): Likewise.
24950         (islessgreater_test): Likewise.
24951         (isnan_test): Likewise.
24952         (isnormal_test): Likewise.
24953         (issignaling_test): Likewise.
24954         (isunordered_test): Likewise.
24955         (j0_test): Likewise.
24956         (j1_test): Likewise.
24957         (jn_test): Likewise.
24958         (ldexp_test): Likewise.
24959         (lgamma_test): Likewise.
24960         (gamma_test): Likewise.
24961         (lrint_test): Likewise.
24962         (lrint_test_tonearest): Likewise.
24963         (lrint_test_towardzero): Likewise.
24964         (lrint_test_downward): Likewise.
24965         (lrint_test_upward): Likewise.
24966         (llrint_test): Likewise.
24967         (llrint_test_tonearest): Likewise.
24968         (llrint_test_towardzero): Likewise.
24969         (llrint_test_downward): Likewise.
24970         (llrint_test_upward): Likewise.
24971         (log_test): Likewise.
24972         (log10_test): Likewise.
24973         (log1p_test): Likewise.
24974         (log2_test): Likewise.
24975         (logb_test): Likewise.
24976         (logb_test_downward): Likewise.
24977         (lround_test): Likewise.
24978         (llround_test): Likewise.
24979         (modf_test): Likewise.
24980         (nearbyint_test): Likewise.
24981         (nextafter_test): Likewise.
24982         (nexttoward_test): Likewise.
24983         (pow_test): Likewise.
24984         (pow_test_tonearest): Likewise.
24985         (pow_test_towardzero): Likewise.
24986         (pow_test_downward): Likewise.
24987         (pow_test_upward): Likewise.
24988         (remainder_test): Likewise.
24989         (drem_test): Likewise.
24990         (remainder_test_tonearest): Likewise.
24991         (drem_test_tonearest): Likewise.
24992         (remainder_test_towardzero): Likewise.
24993         (drem_test_towardzero): Likewise.
24994         (remainder_test_downward): Likewise.
24995         (drem_test_downward): Likewise.
24996         (remainder_test_upward): Likewise.
24997         (drem_test_upward): Likewise.
24998         (remquo_test): Likewise.
24999         (rint_test): Likewise.
25000         (rint_test_tonearest): Likewise.
25001         (rint_test_towardzero): Likewise.
25002         (rint_test_downward): Likewise.
25003         (rint_test_upward): Likewise.
25004         (round_test): Likewise.
25005         (scalb_test): Likewise.
25006         (scalbn_test): Likewise.
25007         (scalbln_test): Likewise.
25008         (signbit_test): Likewise.
25009         (sin_test): Likewise.
25010         (sin_test_tonearest): Likewise.
25011         (sin_test_towardzero): Likewise.
25012         (sin_test_downward): Likewise.
25013         (sin_test_upward): Likewise.
25014         (sincos_test): Likewise.
25015         (sinh_test): Likewise.
25016         (sinh_test_tonearest): Likewise.
25017         (sinh_test_towardzero): Likewise.
25018         (sinh_test_downward): Likewise.
25019         (sinh_test_upward): Likewise.
25020         (sqrt_test): Likewise.
25021         (sqrt_test_tonearest): Likewise.
25022         (sqrt_test_towardzero): Likewise.
25023         (sqrt_test_downward): Likewise.
25024         (sqrt_test_upward): Likewise.
25025         (tan_test): Likewise.
25026         (tan_test_tonearest): Likewise.
25027         (tan_test_towardzero): Likewise.
25028         (tan_test_downward): Likewise.
25029         (tan_test_upward): Likewise.
25030         (tanh_test): Likewise.
25031         (tgamma_test): Likewise.
25032         (trunc_test): Likewise.
25033         (y0_test): Likewise.
25034         (y1_test): Likewise.
25035         (yn_test): Likewise.
25036         (significand_test): Likewise.
25038         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
25039         individual tests in comment.
25040         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
25041         (prev_max_error): New variable.
25042         (prev_real_max_error): Likewise.
25043         (prev_imag_max_error): Likewise.
25044         (compare_ulp_data): Don't refer to test names in comment.
25045         (find_test_ulps): Remove function.
25046         (find_function_ulps): Likewise.
25047         (find_complex_function_ulps): Likewise.
25048         (init_max_error): Take function name as argument.  Look up ulps
25049         for that function.
25050         (print_ulps): Remove function.
25051         (print_max_error): Use prev_max_error instead of calling
25052         find_function_ulps.
25053         (print_complex_max_error): Use prev_real_max_error and
25054         prev_imag_max_error instead of calling find_complex_function_ulps.
25055         (check_float_internal): Take max_ulp parameter instead of calling
25056         find_test_ulps.  Don't call print_ulps.
25057         (check_float): Update call to check_float_internal.
25058         (check_complex): Update calls to check_float_internal.
25059         (START): Pass argument to init_max_error.
25060         * math/gen-libm-test.pl (%results): Don't include "kind"
25061         information.
25062         (parse_ulps): Don't handle ulps of individual tests.
25063         (print_ulps_file): Likewise.
25064         (output_ulps): Likewise.
25065         * math/README.libm-test: Update.
25066         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
25067         individual tests.
25068         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
25069         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
25070         * sysdeps/arm/libm-test-ulps: Likewise.
25071         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
25072         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
25073         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
25074         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
25075         * sysdeps/microblaze/libm-test-ulps: Likewise.
25076         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25077         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25078         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25079         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
25080         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25081         * sysdeps/sh/libm-test-ulps: Likewise.
25082         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25083         * sysdeps/tile/libm-test-ulps: Likewise.
25084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25086 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
25088         * math/libm-test.inc (print_complex_max_error): Check separately
25089         whether real and imaginary errors are within allowed range and
25090         pass 0 to print_complex_function_ulps instead of value within
25091         allowed range.
25093 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25095         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
25096         formatting.
25097         (get_handles_fopen): Likewise.
25098         (do_write_test): Likewise.
25100         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
25102         * libio/fileops.c (do_ftell): Use cached offset when
25103         available.
25104         * libio/iofwide.c (do_ftell_wide): Likewise.
25105         * libio/iofdopen.c (_IO_new_fdopen): Don't use
25106         _IO_file_attach.
25107         * libio/wfileops.c (_IO_fwide): Don't cache offset.
25109         [BZ #16532]
25110         * libio/libioP.h (get_file_offset): New function.
25111         * libio/fileops.c (get_file_offset): Likewise.
25112         (do_ftell): Likewise.
25113         (_IO_new_file_seekoff): Split out ftell logic.
25114         * libio/wfileops.c (do_ftell_wide): Likewise.
25115         (_IO_wfile_seekoff): Split out ftell logic.
25116         * libio/tst-ftell-active-handler.c: New test case.
25117         * libio/Makefile (tests): Add it.
25119 2014-03-03  Roland McGrath  <roland@hack.frob.com>
25121         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
25122         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
25124 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25126         [BZ #16639]
25127         * nscd/connections.c (nscd_init): Call do_exit.
25128         (start_threads): Call do_exit and notify_parent.
25129         (begin_drop_privileges): Call do_exit.
25130         (finish_drop_privileges): Likewise.
25131         * nscd/selinux.c (preserve_capabilities): Likewise.
25132         (install_real_capabilities): Likewise.
25133         (nscd_selinux_enabled): Likewise.
25134         (avc_create_thread): Likewise.
25135         (avc_alloc_lock): Likewise.
25136         (nscd_avc_init): Likewise.
25137         * nscd/nscd.c (parent_fd): New static variable.
25138         (main): Create a pipe between parent and child processes.
25139         Skip closing parent_fd.
25140         (monitor_child): New function.
25141         (do_exit): Likewise.
25142         (notify_parent): Likewise.
25143         * nscd/nscd.h (notify_parent): Likewise.
25144         (do_exit): Likewise.
25146 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
25148         * malloc/malloc.c (__libc_calloc): Revert last change.
25150 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25154 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25156         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
25157         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
25158         implementation.
25159         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25160         (__libc_ifunc_impl_list): Likewise.
25161         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
25162         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
25163         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
25164         * string/strrchr.c: Define STRRCHR.
25166 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
25168         * benchtest/bench-strtok.c (simple_strtok): Delete.
25169         (strtok_string): Use as benchmark.
25170         * string/strtok (STRTOK): New macro.
25172 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
25174         * manual/threads.texi: Add header and standard comments to all
25175         functions.
25177         * elf/dl-lookup.c (check_match): New function.
25178         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
25179         (do_lookup_x): Remove nested function check_match. Use non-nested
25180         function check_match.
25182 2014-02-28  Roland McGrath  <roland@hack.frob.com>
25184         * csu/Makefile (generated, before-compile): Use += rather than =.
25185         * catgets/Makefile (generated, generated-dirs): Likewise.
25186         * debug/Makefile (generated): Likewise.
25187         * dlfcn/Makefile (generated): Likewise.
25188         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
25189         * iconvdata/Makefile (before-compile, generated): Likewise.
25190         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
25191         * libio/Makefile (generated): Likewise.
25192         * malloc/Makefile (generated): Likewise.
25193         * manual/Makefile (generated, generated-dirs): Likewise.
25194         * misc/Makefile (generated): Likewise.
25195         * posix/Makefile (generated): Likewise.
25196         * resolv/Makefile (generated): Likewise.
25197         * sunrpc/Makefile (generated, generated-dirs): Likewise.
25198         * timezone/Makefile (generated, generated-dirs): Likewise.
25200         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
25202 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25204         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
25205         power8 implementation.
25206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
25207         file: POWER8 llround ifunc implementation.
25208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
25209         (__lllround): Add POWER8 implementation.
25210         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
25211         POWER8 llround implementation.
25213         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
25214         power8 implementation.
25215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
25216         file: POWER8 llrint ifunc implementation.
25217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
25218         Add POWER8 implementation.
25219         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
25220         POWER8 llrint implementation.
25222         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
25223         power8 implementation.
25224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
25225         file: POWER8 finite ifunc implementation.
25226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
25227         Add POWER8 implementation.
25228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
25229         Likewise.
25230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
25231         POWER8 finite implementation.
25232         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
25234         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
25235         power8 implementation.
25236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
25237         file: POWER8 isinf ifunc implementation.
25238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
25239         POWER8 implementation.
25240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
25241         Likewise.
25242         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
25243         isinf implementation.
25244         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
25246         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
25247         (INIT_ARCH): Add hwcap2 initialization.
25248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
25249         power8 implementation.
25250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25251         file: POWER8 isnan ifunc implementation.
25252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25253         POWER8 implementation.
25254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25255         Likewise.
25256         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25257         isnan implementation.
25258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25260 2014-02-27  Joey Ye  <joey.ye@arm.com>
25262         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25263         (_FP_NANFRAC_Q): Set to zero.
25265 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25267         [BZ #16623]
25268         * math/auto-libm-test-in: New test inputs.
25269         * math/auto-libm-test-out: Regenerate.
25270         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25271         and DA.
25272         (__cos): Likewise.
25273         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25275 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
25277         * scripts/evaluate-test.sh: Take new argument indicating whether
25278         failure is expected.
25279         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25280         indicating whether failure is expected.
25281         * conform/Makefile (test-xfail-run-conformtest): New variable.
25282         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25283         level.
25284         * posix/Makefile (test-xfail-annexc): New variable.
25285         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25287 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
25289         * argp/Makefile: Include Makeconfig immediately after defining
25290         subdir.
25291         * assert/Makefile: Likewise.
25292         * benchtests/Makefile: Likewise.
25293         * catgets/Makefile: Likewise.
25294         * conform/Makefile: Likewise.
25295         * crypt/Makefile: Likewise.
25296         * csu/Makefile: Likewise.
25297         (all): Remove target.
25298         * ctype/Makefile: Include Makeconfig immediately after defining
25299         subdir.
25300         * debug/Makefile: Likewise.
25301         * dirent/Makefile: Likewise.
25302         * dlfcn/Makefile: Likewise.
25303         * gmon/Makefile: Likewise.
25304         * gnulib/Makefile: Likewise.
25305         * grp/Makefile: Likewise.
25306         * gshadow/Makefile: Likewise.
25307         * hesiod/Makefile: Likewise.
25308         * hurd/Makefile: Likewise.
25309         (all): Remove target.
25310         * iconvdata/Makefile: Include Makeconfig immediately after
25311         defining subdir.
25312         * inet/Makefile: Likewise.
25313         * intl/Makefile: Likewise.
25314         * io/Makefile: Likewise.
25315         * libio/Makefile: Likewise.
25316         (all): Remove target.
25317         * locale/Makefile: Include Makeconfig immediately after defining
25318         subdir.
25319         * login/Makefile: Likewise.
25320         * mach/Makefile: Likewise.
25321         (all): Remove target.
25322         * malloc/Makefile: Include Makeconfig immediately after defining
25323         subdir.
25324         (all): Remove target.
25325         * manual/Makefile: Include Makeconfig immediately after defining
25326         subdir.
25327         * math/Makefile: Likewise.
25328         * misc/Makefile: Likewise.
25329         * nis/Makefile: Likewise.
25330         * nss/Makefile: Likewise.
25331         * po/Makefile: Likewise.
25332         (all): Remove target.
25333         * posix/Makefile: Include Makeconfig immediately after defining
25334         subdir.
25335         * pwd/Makefile: Likewise.
25336         * resolv/Makefile: Likewise.
25337         * resource/Makefile: Likewise.
25338         * rt/Makefile: Likewise.
25339         * setjmp/Makefile: Likewise.
25340         * shadow/Makefile: Likewise.
25341         * signal/Makefile: Likewise.
25342         * socket/Makefile: Likewise.
25343         * soft-fp/Makefile: Likewise.
25344         * stdio-common/Makefile: Likewise.
25345         * stdlib/Makefile: Likewise.
25346         * streams/Makefile: Likewise.
25347         * string/Makefile: Likewise.
25348         * sunrpc/Makefile: Likewise.
25349         (all): Remove target.
25350         * sysvipc/Makefile: Include Makeconfig immediately after defining
25351         subdir.
25352         * termios/Makefile: Likewise.
25353         * time/Makefile: Likewise.
25354         * timezone/Makefile: Likewise.
25355         (all): Remove target.
25356         * wcsmbs/Makefile: Include Makeconfig immediately after defining
25357         subdir.
25358         * wctype/Makefile: Likewise.
25360 2014-02-26  Steve Ellcey  <sellcey@mips.com>
25362         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25363         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25364         (libc_feholdexcept_setround_mips): Ditto.
25365         (libc_feholdsetround): New.
25366         (libc_feholdsetroundf): New.
25367         (libc_feholdsetroundl): New.
25368         (libc_feupdateenv_test_mips): New.
25369         (libc_feupdateenv_test): New.
25370         (libc_feupdateenv_testf): New.
25371         (libc_feupdateenv_testl): New.
25372         (libc_feresetround): New.
25373         (libc_feresetroundf): New.
25374         (libc_feresetroundl): New.
25375         (libc_fetestexcept_mips): New.
25376         (libc_fetestexcept): New.
25377         (libc_fetestexceptf): New.
25378         (libc_fetestexceptl): New.
25379         (HAVE_RM_CTX): New.
25380         (libc_feholdexcept_setround_mips_ctx): New.
25381         (libc_feholdexcept_setround_ctx): New.
25382         (libc_feholdexcept_setroundf_ctx): New.
25383         (libc_feholdexcept_setroundl_ctx): New.
25384         (libc_fesetenv_mips_ctx): New.
25385         (libc_fesetenv_ctx): New.
25386         (libc_fesetenv_ctxf): New.
25387         (libc_fesetenv_ctxl): New.
25388         (libc_feupdateenv_mips_ctx): New.
25389         (libc_feupdateenv_ctx): New.
25390         (libc_feupdateenvf_ctx): New.
25391         (libc_feupdateenvl_ctx): New.
25392         (libc_feholdsetround_mips_ctx): New.
25393         (libc_feholdsetround_ctx): New.
25394         (libc_feholdsetroundf_ctx): New.
25395         (libc_feholdsetroundl_ctx): New.
25396         (libc_feresetround_mips_ctx): New.
25397         (libc_feresetround_ctx): New.
25398         (libc_feresetroundf_ctx): New.
25399         (libc_feresetroundl_ctx): New.
25401 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
25403         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25405         * manual/ipc.texi: New file.
25406         * manual/Makefile (chapters): Add ipc.
25407         * manual/job.texi: Add "Inter-Process Communication" to next.
25408         * manual/process.texi: Add "Inter-Process Communication" to prev.
25410 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25412         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25414 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
25416         * malloc/malloc.c (__libc_calloc): Simplify implementation.
25418         * manual/arith.texi: Fix spaces after sentences.
25419         * manual/charset.texi: Likewise.
25420         * manual/errno.texi: Likewise.
25421         * manual/install.texi: Likewise.
25422         * manual/llio.texi: Likewise.
25423         * manual/locale.texi: Likewise.
25424         * manual/maint.texi: Likewise.
25425         * manual/math.texi: Likewise.
25426         * manual/memory.texi: Likewise.
25427         * manual/message.texi: Likewise.
25428         * manual/probes.texi: Likewise.
25429         * manual/resource.texi: Likewise.
25430         * manual/signal.texi: Likewise.
25431         * manual/socket.texi: Likewise.
25432         * manual/stdio.texi: Likewise.
25433         * manual/string.texi: Likewise.
25434         * manual/time.texi: Likewise.
25435         * manual/users.texi: Likewise.
25437 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
25439         [BZ #16632]
25440         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25441         _DEFAULT_SOURCE is defined.
25443 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
25444             Carlos O'Donell  <carlos@redhat.com>
25446         [BZ #16613]
25447         * elf/dl-tls.c (_dl_count_modids): New function.
25448         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25449         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25450         audit library and increment generation counter.
25451         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25452         * elf/tst-audit9.c: New file.
25453         * elf/tst-auditmod9a.c: New file.
25454         * elf/tst-auditmod9b.c: New file.
25455         * elf/Makefile: Add rules to build and run tst-audit9.
25457 2014-02-25  Florian Weimer  <fweimer@redhat.com>
25459         [BZ #15347]
25460         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25462 2014-02-25  Will Newton  <will.newton@linaro.org>
25464         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25465         (__longjmp): Restore sp and lr before restoring callee
25466         saved registers.  Add longjmp and longjmp_target
25467         SystemTap probe point.
25468         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25469         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25470         Define to zero to match jmpbuf layout.
25471         * sysdeps/arm/setjmp.S: Include stap-probe.h.
25472         (__sigsetjmp): Save sp and lr before saving callee
25473         saved registers.  Add setjmp SystemTap probe point.
25475 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25479 2014-02-24  Andreas Schwab  <schwab@suse.de>
25481         [BZ #15804]
25482         * elf/pldd.c (wait_for_ptrace_stop): New function.
25483         (main): Call it after attaching.
25485 2014-02-22  Roland McGrath  <roland@hack.frob.com>
25487         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25488         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25489         Versions files is now verboten.
25490         * hurd/Versions (libc: GLIBC_2.0):
25491         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25492         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25493         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25494         * mach/Versions: Likewise.
25496         * csu/Versions: Remove unused %include.
25497         * resolv/Versions: Likewise.
25499 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
25501         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25502         ($(objpfx)check-local-headers.out): Likewise.
25503         ($(objpfx)begin-end-check.out): Likewise.
25504         * Makerules (check-abi-%.out): Likewise.
25505         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25506         ($(objpfx)test2.cat): Likewise.
25507         ($(objpfx)de/libc.cat): Likewise.
25508         ($(objpfx)test-gencat.out): Likewise.
25509         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25510         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25511         ($(objpfx)noload-mem): Likewise.
25512         ($(objpfx)tst-pathopt.out): Likewise.
25513         ($(objpfx)tst-rtld-load-self.out): Likewise.
25514         ($(objpfx)tst-array1-cmp.out): Likewise.
25515         ($(objpfx)tst-array1-static-cmp.out): Likewise.
25516         ($(objpfx)tst-array2-cmp.out): Likewise.
25517         ($(objpfx)tst-array3-cmp.out): Likewise.
25518         ($(objpfx)tst-array4-cmp.out): Likewise.
25519         ($(objpfx)tst-array5-cmp.out): Likewise.
25520         ($(objpfx)tst-array5-static-cmp.out): Likewise.
25521         ($(objpfx)check-textrel.out): Likewise.
25522         ($(objpfx)check-execstack.out): Likewise.
25523         ($(objpfx)check-localplt.out): Likewise.
25524         ($(objpfx)order2-cmp.out): Likewise.
25525         ($(objpfx)tst-leaks1-mem): Likewise.
25526         ($(objpfx)tst-leaks1-static-mem): Likewise.
25527         ($(objpfx)tst-initorder-cmp.out): Likewise.
25528         ($(objpfx)tst-initorder2-cmp.out): Likewise.
25529         ($(objpfx)tst-unused-dep.out): Likewise.
25530         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25531         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25532         * iconv/Makefile (test-iconvconfig): Likewise.
25533         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25534         ($(objpfx)iconv-test.out): Likewise.
25535         ($(objpfx)tst-tables.out): Likewise.
25536         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25537         ($(objpfx)tst-gettext.out): Likewise.
25538         ($(objpfx)tst-translit.out): Likewise.
25539         ($(objpfx)tst-gettext2.out): Likewise.
25540         ($(objpfx)tst-gettext4.out): Likewise.
25541         ($(objpfx)tst-gettext6.out): Likewise.
25542         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25543         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25544         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25545         ($(objpfx)tst-fopenloc-mem.out): Likewise.
25546         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25547         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25548         * posix/Makefile ($(objpfx)globtest.out): Likewise.
25549         ($(objpfx)wordexp-tst.out): Likewise.
25550         ($(objpfx)annexc.out): Likewise.
25551         ($(objpfx)tst-fnmatch-mem): Likewise.
25552         ($(objpfx)bug-regex2-mem): Likewise.
25553         ($(objpfx)bug-regex14-mem): Likewise.
25554         ($(objpfx)bug-regex21-mem): Likewise.
25555         ($(objpfx)bug-regex31-mem): Likewise.
25556         ($(objpfx)tst-vfork3-mem): Likewise.
25557         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25558         ($(objpfx)tst-pcre-mem): Likewise.
25559         ($(objpfx)tst-boost-mem): Likewise.
25560         ($(objpfx)tst-getconf.out): Likewise.
25561         ($(objpfx)bug-ga2-mem): Likewise.
25562         ($(objpfx)bug-glob2-mem): Likewise.
25563         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25564         ($(objpfx)mtrace-tst-leaks2): Likewise.
25565         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25566         ($(objpfx)tst-printf.out): Likewise.
25567         ($(objpfx)tst-setvbuf1.out): Likewise.
25568         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25569         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25570         ($(objpfx)tst-fmtmsg.out): Likewise.
25571         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25572         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25574         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25575         * bits/sigaction.h [__USE_MISC]: Likewise.
25576         * bits/waitstatus.h: Update #endif comments.
25577         * ctype/ctype.h: Likewise.
25578         * dirent/dirent.h: Likewise.
25579         [__USE_MISC]: Remove redundant conditionals.
25580         * grp/grp.h: Update #endif comments.
25581         [__USE_GNU]: Remove redundant conditionals.
25582         [__USE_MISC]: Likewise.
25583         * inet/netinet/in.h [__USE_GNU]: Likewise.
25584         * io/sys/stat.h [__USE_MISC]: Likewise.
25585         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25586         * libio/bits/stdio.h: Update #endif comments.
25587         [__USE_MISC]: Remove redundant conditionals.
25588         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25589         * libio/stdio.h: Update #endif comments.
25590         [__USE_MISC]: Remove redundant conditionals.
25591         * math/bits/math-finite.h [__USE_MISC]: Likewise.
25592         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25593         * math/math.h: Update #else and #endif comments.
25594         [__USE_MISC]: Remove redundant conditionals.
25595         * misc/sys/uio.h: Update #endif comments.
25596         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25597         * posix/glob.h [__USE_MISC]: Likewise.
25598         * posix/sys/types.h: Update #endif comments.
25599         [__USE_MISC]: Remove redundant conditionals.
25600         * posix/sys/wait.h: Update #endif comments.
25601         [__USE_MISC]: Remove redundant conditionals.
25602         * posix/unistd.h: Update #endif comments.
25603         [__USE_MISC]: Remove redundant conditionals.
25604         * pwd/pwd.h [__USE_GNU]: Likewise.
25605         [__USE_MISC]: Likewise.
25606         * resolv/netdb.h [__USE_GNU]: Likewise.
25607         * signal/signal.h: Update #endif comments.
25608         [__USE_MISC]: Remove redundant conditionals.
25609         * stdlib/stdlib.h: Update #else and #endif comments.
25610         [__USE_MISC]: Remove redundant conditionals.
25611         [__USE_GNU]: Likewise.
25612         * string/bits/string2.h [__USE_MISC]: Likewise.
25613         * string/string.h: Update #endif comments.
25614         [__USE_MISC]: Remove redundant conditionals.
25615         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25616         Likewise.
25617         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25618         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25619         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25620         Likewise.
25621         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25622         Likewise.
25623         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25624         comments.
25625         [__USE_MISC]: Remove redundant conditionals.
25626         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25627         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25628         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25629         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25630         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25631         Likewise.
25632         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25633         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25634         Likewise.
25635         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25636         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25637         Likewise.
25638         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25639         Likewise.
25640         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25641         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25642         Likewise.
25643         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25644         Likewise.
25645         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25646         * sysdeps/x86/bits/string.h: Update #endif comments.
25647         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25648         conditionals.
25649         * time/sys/time.h: Update #endif comments.
25650         * time/time.h: Likewise.
25651         [__USE_MISC]: Remove redundant conditionals.
25653 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
25655         [BZ #16600]
25656         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25658 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
25660         * Versions.def (librt): Add GLIBC_2.17.
25662 2014-02-21  Adam Conrad  <adconrad@0c3.net>
25664         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25665         synonym for _SYS_AUXV_H to allow direct inclusion.
25666         * sysdeps/sparc/bits/hwcap.h: Likewise.
25667         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25668         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25669         * sysdeps/sparc/sysdep.h: Likewise.
25671 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25673         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25675 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25677         * benchtests/bench-strrchr.c: Print length instead of position.
25679 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
25681         [BZ #16611]
25682         * sysdeps/unix/sysv/linux/kernel-features.h
25683         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25684         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25685         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25686         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25687         Likewise.
25688         [__i386__ || __powerpc__ || __sh__ || __sparc__]
25689         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25690         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25691         (__ASSUME_SENDMMSG): Define instead of using previous
25692         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25693         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25694         (__ASSUME_SENDMMSG_SYSCALL): Define.
25695         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25696         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25697         Likewise.
25698         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25700         Likewise.
25701         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25702         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25703         Likewise.
25704         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25705         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25706         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25707         [__ASSUME_SENDMMSG]: Change conditionals to
25708         [__ASSUME_SENDMMSG_SOCKETCALL].
25709         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25710         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25711         Define.
25712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25713         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25714         Likewise.
25715         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25716         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25717         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25718         [!__ASSUME_SENDMMSG]: Change conditional to
25719         [!__ASSUME_SENDMMSG_SOCKETCALL].
25720         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25721         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25722         Define.
25724         [BZ #16610]
25725         * sysdeps/unix/sysv/linux/kernel-features.h
25726         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25727         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25728         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25729         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25730         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25731         [__i386__ || __sparc__]
25732         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25733         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25734         (__ASSUME_RECVMMSG): Define instead of using previous
25735         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25736         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25737         (__ASSUME_RECVMMSG_SYSCALL): Define.
25738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25739         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25740         Likewise.
25741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25742         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25743         Likewise.
25744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25745         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25746         Likewise.
25747         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25748         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25749         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25750         [__ASSUME_RECVMMSG]: Change condition to
25751         [__ASSUME_RECVMMSG_SOCKETCALL].
25752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25753         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25754         Define.
25755         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25757         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25758         Likewise.
25759         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25760         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25761         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25762         [!__ASSUME_RECVMMSG]: Change condition to
25763         [!__ASSUME_RECVMMSG_SOCKETCALL].
25764         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25765         (__ASSUME_RECVMMSG_SYSCALL): Define.
25767         [BZ #16609]
25768         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25769         __powerpc__ || __s390__ || __sh__ || __sparc__]
25770         (__ASSUME_SOCKETCALL): Define.
25771         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25772         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25773         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25774         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25775         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25776         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25777         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25778         (__ASSUME_ACCEPT4): Define instead of using previous
25779         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25780         __powerpc__ || __sparc__ || __s390__)] condition.
25781         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25782         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25783         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25784         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25785         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25786         [!__ASSUME_ACCEPT4]: Change condition to
25787         [!__ASSUME_ACCEPT4_SOCKETCALL].
25788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25789         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
25790         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25791         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25792         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25793         __ASSUME_ACCEPT4_SYSCALL.
25794         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25795         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25796         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25797         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25798         __ASSUME_ACCEPT4_SYSCALL.
25799         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25800         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25801         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25802         [__ASSUME_ACCEPT4]: Change condition to
25803         [__ASSUME_ACCEPT4_SOCKETCALL].
25804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25805         (__ASSUME_SOCKETCALL): Define.
25806         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25807         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25808         (__ASSUME_SOCKETCALL): Define.
25809         (__ASSUME_ACCEPT4): Remove.
25810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25811         Define.
25812         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25813         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25814         Likewise.
25815         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25816         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25818         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25819         macro.
25820         (HWCAP_ARM_LPAE): Likewise.
25821         (HWCAP_ARM_EVTSTRM): Likewise.
25822         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25823         Add vpfd32, lpae and evtstrm.
25824         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25825         Increase to 22.
25827 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
25829         * math/auto-libm-test-in: Add tests of clog10.
25830         * math/auto-libm-test-out: Regenerated.
25831         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25832         * sysdeps/i386/fpu/libm-test-ulps: Update.
25833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25835 2014-02-18  Andreas Schwab  <schwab@suse.de>
25837         [BZ #16574]
25838         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25839         Store non-zero if the second buffer was newly allocated.
25840         (send_dg): Likewise.
25841         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25842         to send_vc and send_dg.
25843         (res_nsend): Pass NULL for ansp2_malloced.
25844         * resolv/res_query.c (__libc_res_nquery): Add parameter
25845         answerp2_malloced and pass it down to __libc_res_nsend.
25846         (res_nquery): Pass additional NULL to __libc_res_nquery.
25847         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25848         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
25849         second answer buffer if answerp2_malloced was set.
25850         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25851         (__libc_res_nquerydomain): Add parameter
25852         answerp2_malloced and pass it down to __libc_res_nquery.
25853         (res_nquerydomain): Pass additional NULL to
25854         __libc_res_nquerydomain.
25855         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25856         additional NULL to __libc_res_nsend and __libc_res_nquery.
25857         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25858         additional NULL to __libc_res_nsearch.
25859         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
25860         parameter of __libc_res_nsearch to check for separately allocated
25861         second buffer.
25862         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25863         __libc_res_nquery.
25864         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25865         additional NULL to __libc_res_nquery.
25866         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25867         __libc_res_nsearch.
25868         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25869         * include/resolv.h: Update prototypes of __libc_res_nquery,
25870         __libc_res_nsearch, __libc_res_nsend.
25872 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
25874         * math/auto-libm-test-in: Add tests of fma.
25875         * math/auto-libm-test-out: Regenerated.
25876         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25877         (fma_towardzero_test_data): Likewise.
25878         (fma_downward_test_data): Likewise.
25879         (fma_upward_test_data): Likewise.
25880         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25881         mpc_mode.
25882         (rounding_modes): Add values for new field.
25883         (func_calc_method): Add value mpfr_fff_f.
25884         (func_calc_desc): Add mpfr_fff_f union field.
25885         (test_function): Add field exact_args.
25886         (FUNC): Add macro argument EXACT_ARGS.
25887         (FUNC_mpfr_f_f): Update call to FUNC.
25888         (FUNC_mpfr_f_f): Likewise.
25889         (FUNC_mpfr_ff_f): Likewise.
25890         (FUNC_mpfr_if_f): Likewise.
25891         (FUNC_mpc_c_f): Likewise.
25892         (FUNC_mpc_c_c): Likewise.
25893         (test_functions): Add fma.  Update calls to FUNC.
25894         (handle_input_arg): Add argument exact_args.
25895         (add_test): Update call to handle_input_arg.
25896         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
25897         (output_for_one_input_case): Update call to calc_generic_results.
25898         Recalculate exact zero results in each rounding mode.
25900         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25901         non-negative before setting low bit.
25902         * math/auto-libm-test-in: Mark one asin test possibly having
25903         spurious underflow.
25904         * math/auto-libm-test-out: Regenerated.
25905         * sysdeps/i386/fpu/libm-test-ulps: Update.
25906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25908 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
25910         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25911         * sysdeps/unix/sysv/linux/microblaze: Move directory from
25912         ports/sysdeps/unix/sysv/linux/microblaze.
25913         * README: Add missing listing for microblaze*-*-linux-gnu.
25915 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
25917         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25918         duplicate code
25920 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
25922         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25923         * sysdeps/unix/sysv/linux/ia64: Move directory from
25924         ports/sysdeps/unix/sysv/linux/ia64.
25925         * README: Update listing for ia64-*-linux-gnu.
25927 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
25928             Joseph Myers  <joseph@codesourcery.com>
25930         * Makeconfig (test-name): New variable.
25931         (evaluate-test): Likewise.
25932         * Makerules (do-test-clean): Remove .test-result files.
25933         (common-mostlyclean): Likewise.
25934         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25935         * scripts/evaluate-test.sh: New file.
25937 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
25939         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25940         separate $(objpfx)tst-fopenloc-cmp.out and
25941         $(objpfx)tst-fopenloc-mem.out targets.
25942         (tests): Update dependencies.
25943         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25944         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25945         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25946         (tst-rxspencer-no-utf8-ARGS): New variable.
25947         (tst-rxspencer-no-utf8-ENV): Likewise.
25948         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25949         instead of $(objpfx)tst-rxspencer-mem.
25950         ($(objpfx)tst-rxspencer-mem): Change target to
25951         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
25952         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25953         * posix/tst-rxspencer-no-utf8.c: New file.
25955         * elf/Makefile ($(objpfx)order.out): Remove rule.
25956         [$(run-built-tests) = yes] (tests): Depend on
25957         $(objpfx)order-cmp.out.
25958         ($(objpfx)order-cmp.out): New rule.
25959         [$(run-built-tests) = yes] (tests): Depend on
25960         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25961         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25962         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25963         $(objpfx)tst-array5-static-cmp.out.
25964         ($(objpfx)tst-array1.out): Remove rule.
25965         ($(objpfx)tst-array1-cmp.out): New rule.
25966         ($(objpfx)tst-array1-static.out): Remove rule.
25967         ($(objpfx)tst-array1-static-cmp.out): New rule.
25968         ($(objpfx)tst-array2.out): Remove rule.
25969         ($(objpfx)tst-array2-cmp.out): New rule.
25970         ($(objpfx)tst-array3.out): Remove rule.
25971         ($(objpfx)tst-array3-cmp.out): New rule.
25972         ($(objpfx)tst-array4.out): Remove rule.
25973         ($(objpfx)tst-array4-cmp.out): New rule.
25974         ($(objpfx)tst-array5.out): Remove rule.
25975         ($(objpfx)tst-array5-cmp.out): New rule.
25976         ($(objpfx)tst-array5-static.out): Remove rule.
25977         ($(objpfx)tst-array5-static-cmp.out): New rule.
25978         [$(run-built-tests) = yes] (tests): Depend on
25979         $(objpfx)order2-cmp.out.
25980         ($(objpfx)order2.out): Remove rule.
25981         ($(objpfx)order2-cmp.out): New rule.
25982         ($(objpfx)tst-initorder.out): Remove rule.
25983         [$(run-built-tests) = yes] (tests): Depend on
25984         $(objpfx)tst-initorder-cmp.out.
25985         ($(objpfx)tst-initorder-cmp.out): New rule.
25986         ($(objpfx)tst-initorder2.out): Remove rule.
25987         [$(run-built-tests) = yes] (tests): Depend on
25988         $(objpfx)tst-initorder2-cmp.out.
25989         ($(objpfx)tst-initorder2-cmp.out): New rule.
25990         [$(run-built-tests) = yes] (tests): Depend on
25991         $(objpfx)tst-unused-dep-cmp.out.
25992         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25993         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25994         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25995         on $(objpfx)tst-setvbuf1-cmp.out.
25996         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25997         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25998         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25999         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
26000         ($(objpfx)tst-svc.out): Remove rule.
26001         ($(objpfx)tst-svc-cmp.out): New rule.
26003 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
26005         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
26006         * ctype/ctype.h [__USE_MISC]: Likewise.
26007         * dirent/dirent.h [__USE_MISC]: Likewise.
26008         * grp/grp.h [__USE_MISC]: Likewise.
26009         * io/fcntl.h [__USE_MISC]: Likewise.
26010         * io/sys/stat.h [__USE_MISC]: Likewise.
26011         * libio/stdio.h [__USE_MISC]: Likewise.
26012         * posix/unistd.h [__USE_MISC]: Likewise.
26013         * pwd/pwd.h [__USE_MISC]: Likewise.
26014         * stdlib.h [__USE_MISC]: Likewise.
26015         * string/bits/string2.h [__USE_MISC]: Likewise.
26016         * string/string.h [__USE_MISC]: Likewise.
26017         * time/time.h [__USE_MISC]: Likewise.
26019 2014-02-13  Andreas Schwab  <schwab@suse.de>
26021         [BZ #16574]
26022         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
26023         second answer buffer if it was separately allocated.
26025 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
26027         * sysdeps/mips/math-tests.h: Include <features.h>.
26028         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26029         (ROUNDING_TESTS_long_double): Do not define.
26030         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
26031         (EXCEPTION_TESTS_long_double): Likewise.
26032         * sysdeps/mips/mips64/libm-test-ulps: Update.
26034         * include/features.h (__USE_BSD): Remove macro definitions.
26035         (__USE_SVID): Likewise.
26036         (_BSD_SOURCE): Likewise.
26037         (_SVID_SOURCE): Likewise.
26038         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
26039         from definition of _DEFAULT_SOURCE.
26040         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
26041         [_DEFAULT_SOURCE].
26042         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
26043         * bits/mman.h [__USE_BSD]: Likewise.
26044         * bits/termios.h [__USE_BSD]: Likewise.
26045         * bits/waitstatus.h [__USE_BSD]: Likewise.
26046         * ctype/ctype.h [__USE_SVID]: Likewise.
26047         * dirent/dirent.h [__USE_BSD]: Likewise.
26048         * grp/grp.h [__USE_SVID]: Likewise.
26049         [__USE_BSD]: Likewise.
26050         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
26051         * io/fcntl.h [__USE_BSD]: Likewise.
26052         * io/ftw.h [__USE_BSD]: Likewise.
26053         * io/sys/stat.h [__USE_BSD]: Likewise.
26054         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
26055         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
26056         * libio/stdio.h [__USE_SVID]: Likewise.
26057         [__USE_BSD]: Likewise.
26058         * math/math.h [__USE_SVID]: Likewise.
26059         [__USE_BSD]: Likewise.
26060         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
26061         * misc/bits/syslog.h [__USE_BSD]: Likewise.
26062         * misc/search.h [__USE_SVID]: Likewise.
26063         * misc/sys/mman.h [__USE_BSD]: Likewise.
26064         * misc/sys/syslog.h [__USE_BSD]: Likewise.
26065         * misc/sys/uio.h [__USE_BSD]: Likewise.
26066         * posix/bits/unistd.h [__USE_BSD]: Likewise.
26067         * posix/glob.h [__USE_BSD]: Likewise.
26068         * posix/regex.h [__USE_BSD]: Likewise.
26069         * posix/sys/types.h [__USE_BSD]: Likewise.
26070         [__USE_SVID]: Likewise.
26071         * posix/sys/utsname.h [__USE_SVID]: Likewise.
26072         * posix/sys/wait.h [__USE_BSD]: Likewise.
26073         [__USE_SVID]: Likewise.
26074         * posix/unistd.h [__USE_BSD]: Likewise.
26075         [__USE_SVID]: Likewise.
26076         * pwd/pwd.h [__USE_SVID]: Likewise.
26077         * resolv/netdb.h [__USE_BSD]: Likewise.
26078         * setjmp/setjmp.h [__USE_BSD]: Likewise.
26079         * signal/signal.h [__USE_BSD]: Likewise.
26080         [__USE_SVID]: Likewise.
26081         * socket/sys/socket.h [__USE_BSD]: Likewise.
26082         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
26083         * stdlib/stdlib.h [__USE_BSD]: Likewise.
26084         [__USE_SVID]: Likewise.
26085         * string/bits/string2.h [__USE_BSD]: Likewise.
26086         [__USE_SVID]: Likewise.
26087         * string/bits/string3.h [__USE_BSD]: Likewise.
26088         * string/endian.h [__USE_BSD]: Likewise.
26089         * string/string.h [__USE_SVID]: Likewise.
26090         [__USE_BSD]: Likewise.
26091         * string/strings.h [__USE_BSD]: Likewise.
26092         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
26093         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
26094         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
26095         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
26096         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
26097         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
26098         Likewise.
26099         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
26100         Likewise.
26101         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
26102         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
26103         Likewise.
26104         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
26105         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
26106         Likewise.
26107         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
26108         Likewise.
26109         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
26110         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
26111         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
26112         Likewise.
26113         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
26114         Likewise.
26115         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
26116         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
26117         * termios/termios.h [__USE_BSD]: Likewise.
26118         * time/sys/time.h [__USE_BSD]: Likewise.
26119         * time/time.h [__USE_BSD]: Likewise.
26120         [__USE_SVID]: Likewise.
26122         * Makefile (subdir_targets): Remove subdir_lint.out.
26124         * stdio-common/Makefile (do-tst-unbputc): Remove target.
26125         (do-tst-printf): Likewise.
26126         (tests): Depend directly on $(objpfx)tst-unbputc.out and
26127         $(objpfx)tst-printf.out.
26129         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
26131         * Makerules (check-abi-%): Change target to
26132         $(objpfx)check-abi-%.out.
26133         (check-abi target): Update dependencies.
26134         (check-abi-pattern variable): Redirect output of diff to $@.
26135         (check-abi variable): Likewise.
26136         * elf/Makefile (check-abi): Update dependencies.
26138         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
26139         unused.
26140         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
26141         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
26142         subnormal range.
26143         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
26144         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
26145         value has largest subnormal exponent.
26146         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
26147         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
26148         * sysdeps/aarch64/soft-fp/sfp-machine.h
26149         (_FP_TININESS_AFTER_ROUNDING): New macro.
26150         * sysdeps/alpha/soft-fp/sfp-machine.h
26151         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26152         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26153         Likewise.
26154         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
26155         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26156         * sysdeps/mips/soft-fp/sfp-machine.h
26157         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26158         * sysdeps/powerpc/soft-fp/sfp-machine.h
26159         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26160         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26161         Likewise.
26162         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26163         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26164         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26165         (_FP_TININESS_AFTER_ROUNDING): Likewise.
26166         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
26167         Likewise.
26169 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
26171         [BZ #16545]
26172         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
26173         model 1.
26175 2014-02-12  Richard Henderson  <rth@redhat.com>
26177         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
26178         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
26179         * sysdeps/unix/sysv/linux/alpha: Move directory from
26180         ports/sysdeps/unix/sysv/linux/alpha.
26181         * README: Update listing for alpha-*-linux-gnu.
26183 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
26185         * include/features.h: Update comment documenting feature test
26186         macros.
26187         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
26188         _DEFAULT_SOURCE.
26189         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
26190         (_SVID_SOURCE): Likewise.
26191         (_DEFAULT_SOURCE): Update description of default features.
26192         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
26193         with _GNU_SOURCE.
26194         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
26195         (S_ISVTX): Likewise.
26196         * manual/math.texi (Mathematical Constants): Likewise.
26197         * manual/signal.texi (Interrupted Primitives): Likewise.
26198         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
26199         * math/test-matherr.c (_SVID_SOURCE): Do not define.
26200         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
26201         Don't refer to _SVID_SOURCE in warning text.
26203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26205         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
26206         already defined.
26207         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
26208         * sysdeps/mips/dl-lookup.c: Remove.
26209         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
26211 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
26213         [BZ #16447]
26214         * math/auto-libm-test-in: Add testcase for expl.
26215         * math/auto-libm-test-out: Regenerate.
26216         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
26217         calculation of unsafe.
26218         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
26220 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
26222         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
26223         * sysdeps/unix/sysv/linux/aarch64: Move directory from
26224         ports/sysdeps/unix/sysv/linux/aarch64.
26225         * README: Update listing for aarch64*-*-linux-gnu.
26227 2014-02-11  Will Newton  <will.newton@linaro.org>
26229         * manual/probes.texi (Mathematical Function Probes): Use
26230         "triggered" instead of "hit".
26232         * manual/probes.texi (Internal Probes): Add documentation
26233         of setjmp, longjmp and longjmp_target probes.
26235         * include/stap-probe.h: Add comment about probe argument
26236         format.
26238         * malloc/mtrace.c (attribute_hidden): Remove unused macro
26239         definition.  (tr_where, tr_freehook, tr_mallochook,
26240         tr_reallochook, tr_memalignhook): Use ANSI protoype.
26242 2014-02-11  David S. Miller  <davem@davemloft.net>
26244         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
26245         processing int_tests.
26247 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
26249         * sysdeps/mips: Move directory from ports/sysdeps/mips.
26250         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26251         * sysdeps/unix/sysv/linux/mips: Move directory from
26252         ports/sysdeps/unix/sysv/linux/mips.
26253         * README: Update listing for mips-*-linux-gnu and
26254         mips64-*-linux-gnu.
26256 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
26258         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26259         * sysdeps/unix/sysv/linux/m68k: Move directory from
26260         ports/sysdeps/unix/sysv/linux/m68k.
26261         * README: Update listing for m68k-*-linux-gnu.
26263 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
26265         * sysdeps/tile: Move directory from ports/sysdeps/tile.
26266         * sysdeps/unix/sysv/linux/generic: Move directory from
26267         ports/sysdeps/unix/sysv/linux/generic.
26268         * sysdeps/unix/sysv/linux/tile: Move directory from
26269         ports/sysdeps/unix/sysv/linux/tile.
26270         * README: Update listing for tile*-*-linux-gnu.
26272 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
26274         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26275         __builtin_expect.
26276         * benchtests/bench-memmem.c (simple_memmem): Likewise.
26277         * catgets/open_catalog.c (__open_catalog): Likewise.
26278         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26279         * debug/confstr_chk.c: Likewise.
26280         * debug/fread_chk.c (__fread_chk): Likewise.
26281         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26282         * debug/getgroups_chk.c: Likewise.
26283         * debug/mbsnrtowcs_chk.c: Likewise.
26284         * debug/mbsrtowcs_chk.c: Likewise.
26285         * debug/mbstowcs_chk.c: Likewise.
26286         * debug/memcpy_chk.c: Likewise.
26287         * debug/memmove_chk.c: Likewise.
26288         * debug/mempcpy_chk.c: Likewise.
26289         * debug/memset_chk.c: Likewise.
26290         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26291         * debug/strcat_chk.c (__strcat_chk): Likewise.
26292         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26293         * debug/strncat_chk.c (__strncat_chk): Likewise.
26294         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26295         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26296         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26297         * debug/wcpncpy_chk.c: Likewise.
26298         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26299         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26300         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26301         * debug/wcsncpy_chk.c: Likewise.
26302         * debug/wcsnrtombs_chk.c: Likewise.
26303         * debug/wcsrtombs_chk.c: Likewise.
26304         * debug/wcstombs_chk.c: Likewise.
26305         * debug/wmemcpy_chk.c: Likewise.
26306         * debug/wmemmove_chk.c: Likewise.
26307         * debug/wmempcpy_chk.c: Likewise.
26308         * debug/wmemset_chk.c: Likewise.
26309         * dirent/scandirat.c (SCANDIRAT): Likewise.
26310         * dlfcn/dladdr1.c (dladdr1): Likewise.
26311         * dlfcn/dladdr.c (dladdr): Likewise.
26312         * dlfcn/dlclose.c (dlclose_doit): Likewise.
26313         * dlfcn/dlerror.c (__dlerror): Likewise.
26314         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26315         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26316         * dlfcn/dlopen.c (dlopen_doit): Likewise.
26317         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26318         * dlfcn/dlsym.c (dlsym_doit): Likewise.
26319         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26320         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26321         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26322         Likewise.
26323         * elf/dl-conflict.c: Likewise.
26324         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26325         * elf/dl-dst.h: Likewise.
26326         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26327         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26328         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26329         * elf/dl-init.c (call_init, _dl_init): Likewise.
26330         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26331         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26332         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26333         Likewise.
26334         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26335         Likewise.
26336         * elf/dl-minimal.c (__libc_memalign): Likewise.
26337         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26338         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26339         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26340         * elf/dl-sym.c (do_sym): Likewise.
26341         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26342         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26343         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26344         * elf/dl-writev.h (_dl_writev): Likewise.
26345         * elf/ldconfig.c (search_dir): Likewise.
26346         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26347         (dl_main): Likewise.
26348         * elf/setup-vdso.h (setup_vdso): Likewise.
26349         * grp/compat-initgroups.c (compat_call): Likewise.
26350         * grp/fgetgrent.c (fgetgrent): Likewise.
26351         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26352         * grp/putgrent.c (putgrent): Likewise.
26353         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26354         Likewise.
26355         * hurd/hurdinit.c: Likewise.
26356         * iconvdata/8bit-gap.c (struct): Likewise.
26357         * iconvdata/ansi_x3.110.c : Likewise.
26358         * iconvdata/big5.c : Likewise.
26359         * iconvdata/big5hkscs.c : Likewise.
26360         * iconvdata/cp1255.c: Likewise.
26361         * iconvdata/cp1258.c : Likewise.
26362         * iconvdata/cp932.c : Likewise.
26363         * iconvdata/euc-cn.c: Likewise.
26364         * iconvdata/euc-jisx0213.c : Likewise.
26365         * iconvdata/euc-jp.c: Likewise.
26366         * iconvdata/euc-jp-ms.c : Likewise.
26367         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26368         * iconvdata/gb18030.c : Likewise.
26369         * iconvdata/gbbig5.c (const): Likewise.
26370         * iconvdata/gbgbk.c: Likewise.
26371         * iconvdata/gbk.c : Likewise.
26372         * iconvdata/ibm1364.c : Likewise.
26373         * iconvdata/ibm930.c : Likewise.
26374         * iconvdata/ibm932.c: Likewise.
26375         * iconvdata/ibm933.c : Likewise.
26376         * iconvdata/ibm935.c : Likewise.
26377         * iconvdata/ibm937.c : Likewise.
26378         * iconvdata/ibm939.c : Likewise.
26379         * iconvdata/ibm943.c: Likewise.
26380         * iconvdata/iso_11548-1.c: Likewise.
26381         * iconvdata/iso-2022-cn.c : Likewise.
26382         * iconvdata/iso-2022-cn-ext.c : Likewise.
26383         * iconvdata/iso-2022-jp-3.c: Likewise.
26384         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26385         * iconvdata/iso-2022-kr.c : Likewise.
26386         * iconvdata/iso646.c (gconv_end): Likewise.
26387         * iconvdata/iso_6937-2.c : Likewise.
26388         * iconvdata/iso_6937.c : Likewise.
26389         * iconvdata/iso8859-1.c: Likewise.
26390         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26391         * iconvdata/shift_jisx0213.c : Likewise.
26392         * iconvdata/sjis.c : Likewise.
26393         * iconvdata/t.61.c : Likewise.
26394         * iconvdata/tcvn5712-1.c : Likewise.
26395         * iconvdata/tscii.c: Likewise.
26396         * iconvdata/uhc.c : Likewise.
26397         * iconvdata/unicode.c (gconv_end): Likewise.
26398         * iconvdata/utf-16.c (gconv_end): Likewise.
26399         * iconvdata/utf-32.c (gconv_end): Likewise.
26400         * iconvdata/utf-7.c (base64): Likewise.
26401         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26402         * iconv/gconv_close.c (__gconv_close): Likewise.
26403         * iconv/gconv_open.c (__gconv_open): Likewise.
26404         * iconv/gconv_simple.c (internal_ucs4_loop_single)
26405         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26406         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26407         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26408         (ucs4le_internal_loop_single): Likewise.
26409         * iconv/iconv.c (iconv): Likewise.
26410         * iconv/iconv_close.c: Likewise.
26411         * iconv/loop.c (SINGLE): Likewise.
26412         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26413         * include/atomic.h: Likewise.
26414         * inet/inet6_option.c (option_alloc): Likewise.
26415         * intl/bindtextdom.c (set_binding_values): Likewise.
26416         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26417         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26418         * intl/localealias.c (read_alias_file): Likewise.
26419         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26420         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26421         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26422         * libio/fmemopen.c (fmemopen): Likewise.
26423         * libio/iofgets.c (_IO_fgets): Likewise.
26424         * libio/iofgets_u.c (fgets_unlocked): Likewise.
26425         * libio/iofgetws.c (fgetws): Likewise.
26426         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26427         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26428         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26429         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26430         * locale/findlocale.c (_nl_find_locale): Likewise.
26431         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26432         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26433         Likewise.
26434         * locale/setlocale.c (setlocale): Likewise.
26435         * login/programs/pt_chown.c (main): Likewise.
26436         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26437         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26438         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26439         (mmap, mmap64, mremap, munmap): Likewise.
26440         * math/e_exp2l.c: Likewise.
26441         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26442         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26443         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26444         * math/s_catan.c (__catan): Likewise.
26445         * math/s_catanf.c (__catanf): Likewise.
26446         * math/s_catanh.c (__catanh): Likewise.
26447         * math/s_catanhf.c (__catanhf): Likewise.
26448         * math/s_catanhl.c (__catanhl): Likewise.
26449         * math/s_catanl.c (__catanl): Likewise.
26450         * math/s_ccosh.c (__ccosh): Likewise.
26451         * math/s_ccoshf.c (__ccoshf): Likewise.
26452         * math/s_ccoshl.c (__ccoshl): Likewise.
26453         * math/s_cexp.c (__cexp): Likewise.
26454         * math/s_cexpf.c (__cexpf): Likewise.
26455         * math/s_cexpl.c (__cexpl): Likewise.
26456         * math/s_clog10.c (__clog10): Likewise.
26457         * math/s_clog10f.c (__clog10f): Likewise.
26458         * math/s_clog10l.c (__clog10l): Likewise.
26459         * math/s_clog.c (__clog): Likewise.
26460         * math/s_clogf.c (__clogf): Likewise.
26461         * math/s_clogl.c (__clogl): Likewise.
26462         * math/s_csin.c (__csin): Likewise.
26463         * math/s_csinf.c (__csinf): Likewise.
26464         * math/s_csinh.c (__csinh): Likewise.
26465         * math/s_csinhf.c (__csinhf): Likewise.
26466         * math/s_csinhl.c (__csinhl): Likewise.
26467         * math/s_csinl.c (__csinl): Likewise.
26468         * math/s_csqrt.c (__csqrt): Likewise.
26469         * math/s_csqrtf.c (__csqrtf): Likewise.
26470         * math/s_csqrtl.c (__csqrtl): Likewise.
26471         * math/s_ctan.c (__ctan): Likewise.
26472         * math/s_ctanf.c (__ctanf): Likewise.
26473         * math/s_ctanh.c (__ctanh): Likewise.
26474         * math/s_ctanhf.c (__ctanhf): Likewise.
26475         * math/s_ctanhl.c (__ctanhl): Likewise.
26476         * math/s_ctanl.c (__ctanl): Likewise.
26477         * math/w_pow.c: Likewise.
26478         * math/w_powf.c: Likewise.
26479         * math/w_powl.c: Likewise.
26480         * math/w_scalb.c (sysv_scalb): Likewise.
26481         * math/w_scalbf.c (sysv_scalbf): Likewise.
26482         * math/w_scalbl.c (sysv_scalbl): Likewise.
26483         * misc/error.c (error_tail): Likewise.
26484         * misc/pselect.c (__pselect): Likewise.
26485         * nis/nis_callback.c (__nis_create_callback): Likewise.
26486         * nis/nis_call.c (__nisfind_server): Likewise.
26487         * nis/nis_creategroup.c (nis_creategroup): Likewise.
26488         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26489         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26490         * nis/nis_getservlist.c (nis_getservlist): Likewise.
26491         * nis/nis_lookup.c (nis_lookup): Likewise.
26492         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26493         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26494         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26495         * nis/nis_xdr.c (xdr_endpoint): Likewise.
26496         * nis/nss_compat/compat-grp.c (getgrent_next_file)
26497         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26498         * nis/nss_compat/compat-initgroups.c (add_group)
26499         (internal_getgrent_r): Likewise.
26500         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26501         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26502         * nis/nss_compat/compat-spwd.c (getspent_next_file)
26503         (internal_getspnam_r): Likewise.
26504         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26505         (_nss_nis_getaliasbyname_r): Likewise.
26506         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26507         (_nss_nis_getntohost_r): Likewise.
26508         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26509         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26510         (_nss_nis_getgrgid_r): Likewise.
26511         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26512         (internal_nis_gethostent_r, internal_gethostbyname2_r)
26513         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26514         (_nss_nis_gethostbyname4_r): Likewise.
26515         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26516         (initgroups_netid): Likewise.
26517         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26518         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26519         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26520         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26521         (_nss_nis_getprotobynumber_r): Likewise.
26522         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26523         (_nss_nis_getsecretkey): Likewise.
26524         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26525         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26526         (_nss_nis_getpwuid_r): Likewise.
26527         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26528         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26529         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26530         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26531         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26532         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26533         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26534         Likewise.
26535         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26536         (_nss_nisplus_getntohost_r): Likewise.
26537         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26538         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26539         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26540         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26541         Likewise.
26542         * nis/nss_nisplus/nisplus-initgroups.c
26543         (_nss_nisplus_initgroups_dyn): Likewise.
26544         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26545         (_nss_nisplus_getnetbyaddr_r): Likewise.
26546         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26547         (_nss_nisplus_getprotobynumber_r): Likewise.
26548         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26549         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26550         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26551         Likewise.
26552         * nis/nss_nisplus/nisplus-service.c
26553         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26554         (_nss_nisplus_getservbyport_r): Likewise.
26555         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26556         (_nss_nisplus_getspnam_r): Likewise.
26557         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26558         Likewise.
26559         * nscd/aicache.c (addhstaiX): Likewise.
26560         * nscd/cache.c (cache_search, prune_cache): Likewise.
26561         * nscd/connections.c (register_traced_file, send_ro_fd)
26562         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26563         (main_loop_epoll): Likewise.
26564         * nscd/grpcache.c (addgrbyX): Likewise.
26565         * nscd/hstcache.c (addhstbyX): Likewise.
26566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26567         * nscd/mem.c (gc, mempool_alloc): Likewise.
26568         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26569         (addinnetgrX): Likewise.
26570         * nscd/nscd-client.h (__nscd_acquire_maplock)
26571         (__nscd_drop_map_ref): Likewise.
26572         * nscd/nscd_getai.c (__nscd_getai): Likewise.
26573         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26574         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26575         Likewise.
26576         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26577         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26578         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26579         (__nscd_get_map_ref): Likewise.
26580         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26581         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26582         Likewise.
26583         * nscd/pwdcache.c (addpwbyX): Likewise.
26584         * nscd/selinux.c (preserve_capabilities): Likewise.
26585         * nscd/servicescache.c (addservbyX): Likewise.
26586         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26587         * posix/fnmatch.c (fnmatch): Likewise.
26588         * posix/getopt.c (_getopt_internal_r): Likewise.
26589         * posix/glob.c (glob, glob_in_dir): Likewise.
26590         * posix/wordexp.c (exec_comm_child): Likewise.
26591         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26592         (getanswer_r, gaih_getanswer_slice): Likewise.
26593         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26594         * resolv/res_init.c: Likewise.
26595         * resolv/res_mkquery.c (res_nmkquery): Likewise.
26596         * resolv/res_query.c (__libc_res_nquery): Likewise.
26597         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26598         Likewise.
26599         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26600         * stdio-common/perror.c (perror): Likewise.
26601         * stdio-common/printf_fp.c (___printf_fp): Likewise.
26602         * stdio-common/tmpnam.c (tmpnam): Likewise.
26603         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26604         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26605         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26606         Likewise.
26607         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26608         * stdlib/putenv.c (putenv): Likewise.
26609         * stdlib/setenv.c (__add_to_environ): Likewise.
26610         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26611         * stdlib/strtol_l.c (INTERNAL): Likewise.
26612         * string/memmem.c (memmem): Likewise.
26613         * string/strerror.c (strerror): Likewise.
26614         * string/strnlen.c (__strnlen): Likewise.
26615         * string/test-memmem.c (simple_memmem): Likewise.
26616         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26617         * sunrpc/pm_getport.c (__get_socket): Likewise.
26618         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26619         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26620         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26621         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26622         Likewise.
26623         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26624         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26625         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26626         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26627         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26628         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26629         Likewise.
26630         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26631         Likewise.
26632         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26633         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26634         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26635         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26636         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26638         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26639         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26640         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26641         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26642         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26643         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26644         Likewise.
26645         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26646         Likewise.
26647         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26648         Likewise.
26649         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26650         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26651         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26652         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26653         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26654         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26655         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26656         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26658         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26659         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26661         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26662         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26663         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26664         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26665         Likewise.
26666         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26667         Likewise.
26668         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26669         Likewise.
26670         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26671         Likewise.
26672         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26674         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26675         Likewise.
26676         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26677         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26678         * sysdeps/posix/opendir.c (__opendirat): Likewise.
26679         * sysdeps/posix/sleep.c: Likewise.
26680         * sysdeps/posix/tempname.c: Likewise.
26681         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26682         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26683         Likewise.
26684         * sysdeps/powerpc/powerpc32/dl-machine.h
26685         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26686         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26687         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26688         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26689         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26690         Likewise.
26691         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26692         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26693         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26694         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26695         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26696         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26697         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26698         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26699         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26700         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26701         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26702         (elf_machine_lazy_rel): Likewise.
26703         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26704         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26705         (elf_machine_lazy_rel): Likewise.
26706         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26707         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26708         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26709         * sysdeps/unix/grantpt.c (grantpt): Likewise.
26710         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26711         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26712         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26713         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26714         Likewise.
26715         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26716         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26717         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26718         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26719         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26720         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26721         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26722         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26723         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26724         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26725         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26726         Likewise.
26727         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26728         (__posix_fallocate64_l64): Likewise.
26729         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26730         (posix_fallocate): Likewise.
26731         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26732         Likewise.
26733         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26734         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26735         (getifaddrs_internal): Likewise.
26736         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26737         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26738         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26739         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26740         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26741         (__posix_fallocate64_l64): Likewise.
26742         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26743         Likewise.
26744         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26746         (__get_clockfreq): Likewise.
26747         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26748         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26749         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26752         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26753         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26754         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26755         Likewise.
26756         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26757         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26758         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26759         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26760         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26761         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26762         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26763         Likewise.
26764         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26765         (posix_fallocate): Likewise.
26766         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26767         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26768         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26769         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26770         (elf_machine_rela, elf_machine_rela_relative)
26771         (elf_machine_lazy_rel): Likewise.
26772         * time/asctime.c (asctime_internal): Likewise.
26773         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26774         * time/tzset.c (__tzset_parse_tz): Likewise.
26775         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26776         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26777         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26778         * wcsmbs/wcsmbsload.h: Likewise.
26780         [BZ #15894]
26781         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26783         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26784         (arena_get2): Remove THREAD_STATS conditionals.
26785         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26786         (__malloc_stats, int): Likewise.
26788 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
26790         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26791         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
26793         * manual/setjmp.texi: Fix typos/grammar errors.
26795         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26796         Only return early when n is <= 0.  Delete unused return statement.
26798         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26799         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26800         * debug/tst-longjmp_chk3.c: New file.
26802         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26803         (test_main): Replace code with set_fortify_handler call.
26804         * debug/test-strcpy_chk.c: Likewise.
26805         * debug/tst-chk1.c: Likewise.
26806         * debug/tst-longjmp_chk.c: Likewise.
26807         * test-skeleton.c: Include fcntl.h & paths.h
26808         (set_fortify_handler): Define.
26810         * debug/tst-longjmp_chk.c: Add header comment and include
26811         ../test-skeleton.c.
26812         (do_test): Mark static.
26813         (TEST_FUNCTION): Define.
26815         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26816         (IP_PMTUDISC_INTERFACE): Likewise.
26817         (IP_MULTICAST_IF): Likewise.
26818         (IP_MULTICAST_TTL): Likewise.
26819         (IP_MULTICAST_LOOP): Likewise.
26820         (IP_ADD_MEMBERSHIP): Likewise.
26821         (IP_DROP_MEMBERSHIP): Likewise.
26822         (IP_UNBLOCK_SOURCE): Likewise.
26823         (IP_BLOCK_SOURCE): Likewise.
26824         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26825         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26826         (IP_MSFILTER): Likewise.
26827         (MCAST_JOIN_GROUP): Likewise.
26828         (MCAST_BLOCK_SOURCE): Likewise.
26829         (MCAST_UNBLOCK_SOURCE): Likewise.
26830         (MCAST_LEAVE_GROUP): Likewise.
26831         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26832         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26833         (MCAST_MSFILTER): Likewise.
26834         (IP_MULTICAST_ALL): Likewise.
26835         (IP_UNICAST_IF): Likewise.
26837         * timezone/Makefile: Delete $(have-ksh) check.
26838         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26839         * timezone/tzselect.ksh: Add +x mode bits.
26841         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26842         (ANON_INODE_FS_MAGIC): Likewise.
26843         (BDEVFS_MAGIC): Likewise.
26844         (BINFMTFS_MAGIC): Likewise.
26845         (BTRFS_TEST_MAGIC): Likewise.
26846         (CRAMFS_MAGIC_WEND): Likewise.
26847         (DEBUGFS_MAGIC): Likewise.
26848         (ECRYPTFS_SUPER_MAGIC): Likewise.
26849         (EXT3_SUPER_MAGIC): Likewise.
26850         (EXT4_SUPER_MAGIC): Likewise.
26851         (FUTEXFS_SUPER_MAGIC): Likewise.
26852         (HOSTFS_SUPER_MAGIC): Likewise.
26853         (HUGETLBFS_MAGIC): Likewise.
26854         (MINIX3_SUPER_MAGIC): Likewise.
26855         (MTD_INODE_FS_MAGIC): Likewise.
26856         (NILFS_SUPER_MAGIC): Likewise.
26857         (OPENPROM_SUPER_MAGIC): Likewise.
26858         (PIPEFS_MAGIC): Likewise.
26859         (PSTOREFS_MAGIC): Likewise.
26860         (QNX6_SUPER_MAGIC): Likewise.
26861         (RAMFS_MAGIC): Likewise.
26862         (REISERFS_SUPER_MAGIC_STRING): Likewise.
26863         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26864         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26865         (SECURITYFS_MAGIC): Likewise.
26866         (SELINUX_MAGIC): Likewise.
26867         (SMACK_MAGIC): Likewise.
26868         (SOCKFS_MAGIC): Likewise.
26869         (SQUASHFS_MAGIC): Likewise.
26870         (STACK_END_MAGIC): Likewise.
26871         (TMPFS_MAGIC): Likewise.
26872         (USBDEVICE_SUPER_MAGIC): Likewise.
26873         (V9FS_MAGIC): Likewise.
26874         (XENFS_SUPER_MAGIC): Likewise.
26875         (CRAMFS_MAGIC): Fix typo in comment.
26876         (EXT2_SUPER_MAGIC): Update comment.
26877         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26879 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
26881         * sysdeps/arm: Move directory from ports/sysdeps/arm.
26882         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26883         * sysdeps/unix/sysv/linux/arm: Move directory from
26884         ports/sysdeps/unix/sysv/linux/arm.
26885         * README: Update listing for arm-*-linux-gnueabi.
26887         * README: Remove mention of am33.
26889 2014-02-07  Roland McGrath  <roland@hack.frob.com>
26891         * bits/sigset.h (__sigemptyset): Use a statement expression rather
26892         than the comma operator, to avoid "rhs of comma has no effect"
26893         compiler warnings.
26894         (__sigfillset, __sigandset, __sigorset): Likewise.
26895         * include/signal.h (__sigemptyset): Likewise.
26896         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26898 2014-02-07  Allan McRae  <allan@archlinux.org>
26900         * version.h (RELEASE): Set to "development".
26901         (VERSION): Set to "2.19.90"
26902         * NEWS: Add 2.20 section.
26904 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
26906         [BZ #16529]
26907         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26909 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26911         * manual/contrib.texi: Update entry for Carlos O'Donell,
26912         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26914 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
26916         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26918         * sysdeps/unix/sysv/linux/kernel-features.h
26919         [__LINUX_KERNEL_VERSION >= 0x020621]
26920         (__ASSUME_PROC_PID_TASK_COMM): Define.
26922 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26924         [BZ #16398]
26925         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26926         conversion when destination buffer does not have enough space.
26927         * libio/tst-ftell-partial-wide.c: New test case.
26928         * libio/Makefile (tests): Add tst-ftell-partial-wide.
26930         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26931         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
26932         Leonard and Allan McRae.
26934 2014-02-04  David S. Miller  <davem@davemloft.net>
26936         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26937         32-bit.
26939 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26942         New file
26943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26944         New file
26945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26946         New file.
26947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26948         New file.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26950         New file.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26952         New file.
26953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26954         New file.
26955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26956         New file.
26957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26958         New file.
26959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26960         New file.
26961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26962         New file.
26963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26964         New file.
26965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26966         New file.
26968 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26970         * nptl/shlib-versions: Change powerpc*le start to 2.17.
26971         * shlib-versions: Likewise.
26973 2014-02-04  Roland McGrath  <roland@hack.frob.com>
26974             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26976         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26977         (abilist-pattern): New variable, set to %-le.abilist.
26979         * Makerules (abilist-pattern): New variable.
26980         (vpath): Use $(abilist-pattern) in place of %.abilist.
26981         (check-abi-% pattern rule): Likewise.
26982         (check-abi, update-abi): Likewise.
26984 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26986         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26988 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26990         * manual/startup.texi: Add next, previous, and top entries for
26991         the `Program Arguments' and `Environment Variables' nodes.
26993 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26995         * manual/macros.texi: Add comments before MTASC-safety macros.
26997         * manual/users.texi: Document MTASC-safety properties.
26999         * manual/threads.texi (pthread_key_create, pthread_key_delete)
27000         (pthread_getspecific, pthread_setspecific): Format with
27001         @deftypefun, and add @safety note.
27002         * manual/signal.texi: Move comments that analyze the above
27003         functions to their home place.
27005 2014-02-03  Allan McRae  <allan@archlinux.org>
27007         * po/sl.po: Update Slovenian translation from translation project.
27009 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
27011         * manual/time.texi (timegm): Add missing blank after @c.
27012         Reported by Joseph Myers <joseph@codesourcery.com>.
27014 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
27016         * manual/check-safety.sh: New.
27017         * manual/Makefile ($(objpfx)stamp-summary): Run it.
27019         * manual/terminal.texi: Document MTASC-safety properties.
27021         * manual/filesys.texi: Document MTASC-safety properties.
27023         * manual/errno.texi: Document MTASC-safety properties.
27025         * manual/intro.texi: Document safety identifiers and
27026         conditionals.
27028         * manual/string.texi (wcstok): Fix prototype.
27029         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
27031         * manual/time.texi: Document MTASC-safety properties.
27033         * manual/string.texi: Document MTASC-safety properties.
27035         * manual/threads.texi: Document MTASC-safety properties.
27037         * manual/stdio.texi: Document MTASC-safety properties.
27039         * manual/syslog.texi: Document MTASC-safety properties.
27041         * manual/sysinfo.texi: Document MTASC-safety properties.
27043         * manual/startup.texi: Document MTASC-safety properties.
27045         * manual/socket.texi: Document MTASC-safety properties.
27047         * manual/signal.texi: Document MTASC-safety properties.
27049 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
27051         * manual/setjmp.texi: Document MTASC-safety properties.
27053         * manual/search.texi: Document MTASC-safety properties.
27055         * manual/resource.texi: Document MTASC-safety properties.
27057         * manual/process.texi: Document MTASC-safety properties.
27059         * manual/platform.texi: Document MTASC-safety properties.
27061         * manual/pipe.texi: Document MTASC-safety properties.
27063         * manual/pattern.texi: Document MTASC-safety properties.
27065         * manual/message.texi: Document MTASC-safety properties.
27067         [BZ #12751]
27068         * manual/memory.texi: Document MTASC-safety properties.
27070         * manual/math.texi: Document MTASC-safety properties.
27072         * manual/locale.texi: Document MTASC-safety properties.
27074         * manual/llio.texi: Document MTASC-safety properties.
27076         * manual/libdl.texi: New.
27078         * manual/lang.texi: Document MTASC-safety properties.
27080         * manual/job.texi: Document MTASC-safety properties.
27082         * manual/getopt.texi: Document MTASC-safety properties.
27084         * manual/ctype.texi: Document MTASC-safety properties.
27086 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
27088         [BZ #16046]
27089         * csu/libc-tls.c (static_map): Remove variable.
27090         (__libc_setup_tls): Use main executable's link map for TLS data.
27091         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
27092         casing for LM_ID_BASE and GL(dl_nns).
27093         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
27094         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
27095         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
27096         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
27097         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
27098         member.
27099         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
27100         l_phnum members.
27102 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
27104         * manual/debug.texi: Document MTASC-safety properties.
27106 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
27108         [BZ #16510]
27109         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
27110         of __x86_64__ when disabling x87 inline functions.
27112 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
27114         * manual/charset.texi: Document MTASC-safety properties.
27116         * manual/crypt.texi: Document MTASC-safety properties.
27118         * manual/conf.texi: Document MTASC-safety properties.
27120         * manual/arith.texi: Document MTASC-safety properties.
27122         * manual/argp.texi: Document MTASC-safety properties.
27124         * manual/macros.texi: Introduce macros to document multi
27125         thread, asynchronous signal and asynchronous cancellation
27126         safety properties.
27127         * manual/intro.texi: Introduce the properties themselves.
27129 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27131         * sysdeps/sh/sh4/Makefile: New file.
27133 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
27135         * math/gen-libm-test.pl ($srcdir): New variable.
27136         ($auto_input): Use it.
27138 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27140         [BZ #16506]
27141         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
27142         access beyond array bounds when parsing netgroups file.
27144         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
27145         the old buffer before realloc.
27147 2014-01-27  Allan McRae  <allan@archlinux.org>
27149         * po/fr.po: Update French translation from translation project.
27151 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27153         * sysdeps/sh/libm-test-ulps: Regenerate.
27155 2014-01-24  David S. Miller  <davem@davemloft.net>
27157         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
27159 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27161         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
27162         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
27164 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
27166         [BZ #16474]
27167         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
27168         string pointers after reallocation.
27170 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27172         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
27173         __SH4A__ instead of __SH_FPU_ANY__.
27175 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27177         * sysdeps/sh/fpu_control.h: New file.
27178         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
27179         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
27180         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
27181         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
27182         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
27183         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
27184         * sysdeps/sh/sys/ucontext.h: Remove.
27185         * sysdeps/sh/sys: Remove directory.
27187 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27189         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
27190         s390/sys/ucontext.h.
27191         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
27192         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
27194 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
27196         [BZ #15605]
27197         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
27199 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27201         [BZ#16431]
27202         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27203         Adjust the vDSO correctly for internal calls.
27204         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
27206 2014-01-20  Allan McRae  <allan@archlinux.org>
27208         * po/ca.po: Update Catalan translation from translation project.
27210 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
27212         * sysdeps/s390/sotruss-lib.c: New file.
27214 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27216         [BZ#16430]
27217         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
27218         (__GI___gettimeofday): Alias for a different internal symbol to avoid
27219         local calls issues by not having a PLT stub required for IFUNC calls.
27220         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
27222 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
27224         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
27225         * math/test-fpucw-static.c: Likewise.
27227 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27229         [BZ #16453]
27230         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
27232 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27234         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
27235         implementation for powerpc.
27237 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
27239         [BZ #14782]
27240         * sysdeps/posix/system.c (__libc_system): Do not enable
27241         asynchronous cancellation.
27243 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27245         [BZ #16427]
27246         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
27247         handling only for numbers special also in the IEEE case.
27249 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27253 2014-01-11  Allan McRae  <allan@archlinux.org>
27255         * po/bg.po: Update Bulgarian translation from translation project.
27257         * po/de.po: Update German translation from translation project.
27259 2014-01-10  Roland McGrath  <roland@hack.frob.com>
27261         * sysdeps/generic/gcc-compat.h: New file.
27263 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27265         * benchtests/asin-inputs: Correct slow inputs.
27266         * benchtests/acos-inputs: Likewise.
27268 2014-01-10  Allan McRae  <allan@archlinux.org>
27270         * po:sv.po: Update Swedish translation from translation project.
27272         * po/vi.po: Update Vietnamese translation from translation project.
27274         * po/eo.po: Update Esperanto translation from translation project.
27276         * po/cs.po: Update Czech translation from translation project.
27278         * po/nl.po: Update Dutch translation from translation project.
27280         * po/pl.po: Update Polish translation from translation project.
27282         * po/ru.po: Update Russian translation from translation project.
27284         * po/uk.po: Update Ukrainian translation from translation project.
27286 2014-01-08  Brooks Moses  <bmoses@google.com>
27288         * elf/dl-load.c: Fix comment typo.
27290 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
27292         * po/header.pot: Rename to...
27293         * po/pot.header: ... this.
27294         * po/Makefile: Use pot.header.
27296 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
27297             Maxim Kuvyrkov  <maxim@kugelworks.com>
27299         [BZ #16394]
27300         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27301         SRC and DEST against LEN.
27303 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27305         [BZ #16414]
27306         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27307         implementation.
27308         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27310 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27314 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
27316         [BZ #16408]
27317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27318         for large positive arguments.
27320 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
27322         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27324         * math/auto-libm-test-in: Mark various tests with
27325         xfail-rounding:ldbl-128ibm.
27326         * math/auto-libm-test-out: Regenerated.
27328         [BZ #16407]
27329         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27330         Increase overflow threshold.
27332 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
27334         [BZ #14286]
27335         * stdio-common/vfprintf.c: Check for integer overflow.
27337 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27339         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27340         the first argument and return value of __tls_get_addr_internal.
27342 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27344         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27345         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27347 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27349         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27350         * sysdeps/s390/rtld-global-offsets.sym: New file.
27351         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27352         GLIBC_2.19 symbol.
27353         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27354         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27355         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27356         ... this.
27357         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27358         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27359         ... this.
27360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27361         Regenerate.
27362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27363         Regenerate.
27364         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27365         halfs of GPRs for high_gprs contexts.
27366         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27367         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
27368         field.
27369         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27370         uc_flags field.
27371         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27372         64 bit versions:
27373         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27374         for high GPRs (uc_high_gprs) and for future extensions
27375         (__reserved).
27376         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27377         for future extensions (__reserved).
27378         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27379         64 bit versions:
27380         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27381         SC_HIGHGPRS offset definition.
27382         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27383         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27385         * Versions.def: Add GLIBC_2.19 for libpthread.
27386         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27387         siglongjmp for libpthread with GLIBC_2.19 symver.
27388         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27389         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27390         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27391         * sysdeps/s390/__longjmp.c: New file.
27392         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27393         * sysdeps/s390/longjmp.c: New file.
27394         * sysdeps/s390/setjmp.S: New file.
27395         * sysdeps/s390/sigjmp.S: New file.
27396         * sysdeps/s390/v1-longjmp.c: New file.
27397         * sysdeps/s390/v1-setjmp.h: New file.
27398         * sysdeps/s390/v1-sigjmp.c: New file.
27399         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27400         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27401         GLIBC_2.19 version.
27402         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27403         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27404         versioned symbols for ____longjmp_chk.
27405         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27406         Likewise.
27407         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27408         Regenerate.
27409         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27410         Regenerate.
27411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27412         Regenerate.
27413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27414         Regenerate.
27415         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27416         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27417         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27418         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27419         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27420         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27421         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27422         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27423         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27424         * sysdeps/s390/rtld-__longjmp.c: New file.
27425         * sysdeps/s390/rtld-setjmp.S: New file.
27427 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
27429         [BZ #16400]
27430         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27431         Return -__logl (x) for small positive arguments without evaluating
27432         a polynomial.
27434 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
27436         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27437         Rename to ...
27438         (__ptrace_peeksiginfo_args): ... this.
27439         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27440         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27441         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27443 2014-01-06  Allan McRae  <allan@archlinux.org>
27445         * inet/netinet/in.h: Fix typo in comment.
27447 2014-01-05  Andreas Jaeger  <aj@suse.de>
27449         * sysdeps/i386/fpu/libm-test-ulps: Update.
27451 2014-01-05  Allan McRae  <allan@archlinux.org>
27453         * po/libc.pot: Regenerated.
27455         * malloc/memusagestat.c: Fix gettext call formatting.
27457 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
27459         * nscd/nscd.c: Improve usage() output.
27461 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
27463         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27464         * sysdeps/unix/sysv/linux/configure: Regenerated.
27465         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27466         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27468 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27470         [BZ #16390]
27471         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27472         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27474 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27476         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27477         extra tokens at end of #undef directive.
27478         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27479         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27480         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27482 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27484         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27486         * math/auto-libm-test-in: Mark various tests with
27487         xfail-rounding:ldbl-128ibm.
27488         * math/auto-libm-test-out: Regenerated.
27490 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
27492         [BZ #16386]
27493         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27494         numbers with subnormal high part when calculating exponent.
27496         [BZ #16385]
27497         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27498         fabs.
27500         [BZ #16384]
27501         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27502         M_LN2l.
27503         (__ieee754_acoshl): Use __log1pl not __log1p.
27505 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
27507         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27508         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27509         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27510         (grow_heap, heap_trim, _int_new_arena, get_free_list)
27511         (reused_arena, arena_get2): Convert to GNU style.
27512         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27513         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27514         (memalign_check, __malloc_set_state): Likewise.
27515         * malloc/mallocbug.c (main): Likewise.
27516         * malloc/malloc.c (__malloc_assert, malloc_init_state)
27517         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27518         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27519         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27520         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27521         (__posix_memalign, malloc_info): Likewise.
27522         * malloc/malloc.h: Likewise.
27523         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27524         (mallochook, memalignhook, reallochook, mabort): Likewise.
27525         * malloc/mcheck.h: Likewise.
27526         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27527         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27528         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27529         * malloc/morecore.c (__default_morecore): Likewise.
27530         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27531         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27532         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27533         (print_and_abort): Likewise.
27534         * malloc/obstack.h: Likewise.
27535         * malloc/set-freeres.c (__libc_freeres): Likewise.
27536         * malloc/tst-mallocstate.c (main): Likewise.
27537         * malloc/tst-mtrace.c (main): Likewise.
27538         * malloc/tst-realloc.c (do_test): Likewise.
27540 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27542         [BZ #16366]
27543         * nscd/netgroupcache.c (do_notfound): New function.
27544         (addgetnetgrentX): Use it.
27546         [BZ # 16365]
27547         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27548         NSS_STATUS_NOTFOUND.
27550 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
27552         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27555 2014-01-01  Allan McRae  <allan@archlinux.org>
27557         * scripts/update-copyrights: Update configure input file suffix.
27559         * NEWS: Update copyright year.
27560         * catgets/gencat.c: Likewise.
27561         * csu/version.c: Likewise.
27562         * debug/catchsegv.sh: Likewise.
27563         * debug/pcprofiledump.c: Likewise.
27564         * debug/xtrace.sh: Likewise.
27565         * elf/ldconfig.c: Likewise.
27566         * elf/ldd.bash.in: Likewise.
27567         * elf/pldd.c: Likewise.
27568         * elf/sotruss.ksh: Likewise.
27569         * elf/sprof.c: Likewise.
27570         * iconv/iconv_prog.c: Likewise.
27571         * iconv/iconvconfig.c: Likewise.
27572         * locale/programs/locale.c: Likewise.
27573         * locale/programs/localedef.c: Likewise.
27574         * login/programs/pt_chown.c: Likewise.
27575         * malloc/memusage.sh: Likewise.
27576         * malloc/memusagestat.c: Likewise.
27577         * malloc/mtrace.pl: Likewise.
27578         * manual/libc.texinfo: Likewise.
27579         * nscd/nscd.c: Likewise.
27580         * nss/getent.c: Likewise.
27581         * nss/makedb.c: Likewise.
27582         * posix/getconf.c: Likewise.
27583         * scripts/test-installation.pl: Likewise.
27585         * All files with FSF copyright notices: Update copyright dates
27586         using scripts/update-copyrights.
27587         * intl/plural.c: Regenerated.
27588         * locale/programs/charmap-kw.h: Likewise.
27589         * locale/programs/locfile-kw.h: Likewise.
27591 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
27593         * sysdeps/unix/sysv/linux/configure: Regenerated.
27594         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27595         the linux/fanotify.h header.
27596         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27597         HAVE_LINUX_FANOTIFY_H is defined.
27599 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27601         * benchtests/cos-inputs: New inputs.
27602         * benchtests/sin-inputs: Likewise.
27604         * benchtests/atan-inputs: New inputs. Fix name of multiple
27605         precision fallback inputs.
27607         * benchtests/atanh-inputs: New inputs.
27608         * benchtests/tanh-inputs: Likewise.
27610         * benchtests/acosh-inputs: New inputs.
27611         * benchtests/asinh-inputs: Likewise.
27613         * benchtests/cosh-inputs: New inputs.
27614         * benchtests/sinh-inputs: Likewise.
27616         * benchtests/acos-inputs: Add more inputs.
27617         * benchtests/asin-inputs: Likewise.
27619 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
27621         [BZ #16375]
27622         * manual/arith.texi: Fix spelling.
27623         * manual/charset.texi: Likewise.
27624         * manual/errno.texi: Likewise.
27625         * manual/filesys.texi: Likewise.
27626         * manual/lang.texi: Likewise.
27627         * manual/llio.texi: Likewise.
27628         * manual/locale.texi: Likewise.
27629         * manual/message.texi: Likewise.
27630         * manual/resource.texi: Likewise.
27631         * manual/search.texi: Likewise.
27632         * manual/setjmp.texi: Likewise.
27633         * manual/stdio.texi: Likewise.
27634         * manual/string.texi: Likewise.
27635         * manual/sysinfo.texi: Likewise.
27636         * manual/time.texi: Likewise.
27638 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
27640         * po/sl.po: New file.
27642 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
27644         * .gitignore: Add core/.gdbinit/.gdb_history.
27646 2013-12-27  Allan McRae  <allan@archlinux.org>
27648         [BZ #16369]
27649         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27650         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27652 2013-12-24  Brooks Moses  <bmoses@google.com>
27654         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27655         all compilers that claim C++98 compliance, not just GCC.
27656         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27657         Likewise.
27659 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
27661         * NEWS: Restore accidentally deleted bug-fix entries.
27663 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
27664             Ondřej Bílka  <neleai@seznam.cz>
27666         [BZ #15073]
27667         * malloc/malloc.c (_int_free): Perform sanity check only if we
27668         have_lock.
27670 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
27672         [BZ #12986]
27673         * manual/stdio.texi (String Input Conversions): Clarify that character
27674         classes are not supported.
27676 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27680 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
27682         [BZ #16337]
27683         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27684         Calculate results for small negative arguments directly rather
27685         than using reflection formula with special underflow handling.
27687         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27688         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27689         sysdeps/unix/bsd/bsd4.4/syscalls.list.
27690         (fchflags): Likewise.
27691         (revoke): Likewise.
27692         (setlogin): Likewise.
27693         (sigaltstack): Likewise.
27694         (wait4): Likewise.
27695         (sigblock): Remove.
27696         (sigsetmask): Likewise.
27697         (wait3): Likewise.
27698         (waitpid): Likewise.
27699         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27700         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27701         file.
27702         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27703         * sysdeps/unix/bsd/Makefile: ... here.
27704         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27705         * sysdeps/unix/bsd/Versions: ... here.
27706         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27707         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27708         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27709         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27710         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27711         * sysdeps/unix/bsd/sigblock.c: ... here.
27712         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27713         * sysdeps/unix/bsd/sigsetmask.c: ... here.
27714         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27715         * sysdeps/unix/bsd/sigvec.c: ... here.
27716         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27717         * sysdeps/unix/bsd/tcdrain.c: ... here.
27718         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27719         * sysdeps/unix/bsd/tcgetattr.c: ... here.
27720         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27721         * sysdeps/unix/bsd/tcsetattr.c: ... here.
27722         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27723         * sysdeps/unix/bsd/wait.c: ... here.
27724         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27725         * sysdeps/unix/bsd/wait3.c: ... here.
27726         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27727         * sysdeps/unix/bsd/waitpid.c: ... here.
27729 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #16356]
27732         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27733         round-to-nearest for [!USE_AS_EXPM1L].
27734         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27735         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
27736         more tests of exp and exp10.  Expect some exp10 tests to miss
27737         exceptions or fail in directed rounding modes.
27738         * math/auto-libm-test-out: Regenerated.
27739         * math/libm-test.inc (exp10_tonearest_test_data): New array.
27740         (exp10_test_tonearest): New function.
27741         (exp10_towardzero_test_data): New array.
27742         (exp10_test_towardzero): New function.
27743         (exp10_downward_test_data): New array.
27744         (exp10_test_downward): New function.
27745         (exp10_upward_test_data): New array.
27746         (exp10_test_upward): New function.
27747         (main): Call the new functions.
27748         * sysdeps/i386/fpu/libm-test-ulps: Update.
27749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27751 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
27753         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27754         asinh, atan, atan2, atanh, cbrt, cos and cosh.
27755         * math/auto-libm-test-out: Regenerated.
27756         * math/libm-test.inc (acosh_test_data): Add more tests.
27757         (atanh_test_data): Likewise.
27758         (ceil_test_data): Likewise.
27759         (copysign_test_data): Likewise.
27760         * sysdeps/i386/fpu/libm-test-ulps: Update.
27761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27763         * timezone/checktab.awk: Update from tzcode 2013i.
27764         * timezone/private.h: Likewise.
27765         * timezone/scheck.c: Likewise.
27766         * timezone/tzfile.h: Likewise.
27767         * timezone/tzselect.ksh: Likewise.
27768         * timezone/zdump.c: Likewise.
27769         * timezone/zic.c: Likewise.
27771         * math/auto-libm-test-in: Add tests of cpow.
27772         * math/auto-libm-test-out: Regenerated.
27773         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27774         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27775         mpc_cc_c.
27776         (func_calc_desc): Add mpc_cc_c union field.
27777         (test_functions): Add cpow.
27778         (special_fill_2pi): New function.
27779         (special_real_inputs): Add 2pi.
27780         (calc_generic_results): Handle mpc_cc_c.
27781         * sysdeps/i386/fpu/libm-test-ulps: Update.
27782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27784         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27785         csqrt, ctan and ctanh.
27786         * math/auto-libm-test-out: Regenerated.
27787         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27788         (TEST_COND_x86): Likewise.
27789         (ccos_test_data): Use AUTO_TESTS_c_c.
27790         (ccosh_test_data): Likewise.
27791         (cexp_test_data): Likewise.
27792         (clog_test_data): Likewise.
27793         (csqrt_test_data): Likewise.
27794         (ctan_test_data): Likewise.
27795         (ctan_tonearest_test_data): Likewise.
27796         (ctan_towardzero_test_data): Likewise.
27797         (ctan_downward_test_data): Likewise.
27798         (ctan_upward_test_data): Likewise.
27799         (ctanh_test_data): Likewise.
27800         (ctanh_tonearest_test_data): Likewise.
27801         (ctanh_towardzero_test_data): Likewise.
27802         (ctanh_downward_test_data): Likewise.
27803         (ctanh_upward_test_data): Likewise.
27804         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27805         mpc_c_c.
27806         (func_calc_desc): Add mpc_c_c union field.
27807         (FUNC_mpc_c_c): New macro.
27808         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27809         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27810         ctanh.
27811         (special_fill_min_subnorm_p120): New function.
27812         (special_real_inputs): Add min_subnorm_p120.
27813         (calc_generic_results): Handle mpc_c_c.
27814         * sysdeps/i386/fpu/libm-test-ulps: Update.
27815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27817 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27819         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27820         (do_sin_slow): New functions.
27821         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27822         (cslow2, csloww1, csloww2): Use the new functions.
27824         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27825         Use M to change sign of result instead of X.  Assume X is
27826         positive.
27827         (csloww1): Likewise.
27828         (__sin): Adjust.
27829         (__cos): Adjust.
27831         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27832         arguments A and DA.
27833         (__sin): Adjust.
27834         (__cos): Likewise.
27836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27837         (__cos): Likewise.
27838         (sloww1): Don't adjust sign of DX.
27839         (csloww1): Likewise.
27840         (sloww2): Use X directly and don't adjust sign of DX.
27841         (csloww2): Likewise.
27843 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27845         * math/auto-libm-test-in: Add tests of cabs and carg.
27846         * math/auto-libm-test-out: Regenerated.
27847         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27848         (carg_test_data): Likewise.
27849         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27850         mpc_c_f.
27851         (func_calc_desc): Add mpc_c_f union field.
27852         (test_functions): Add cabs and carg.
27853         (calc_generic_results): Handle mpc_c_f.
27855         * sysdeps/powerpc/powerpc32/libgcc-compat.S
27856         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27857         as a macro and a compat symbol.
27858         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27859         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27860         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27861         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27862         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27863         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27864         not use .hidden.
27865         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27866         Likewise.
27867         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27868         Likewise.
27869         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27870         Likewise.
27871         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27872         Likewise.
27873         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27874         Likewise.
27875         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27876         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27877         from GLIBC_2.3.2.
27879 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27883 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27885         * manual/texinfo.tex: Update to version 2013-11-26.10 with
27886         trailing whitespace removed.
27887         * scripts/config.guess: Update to version 2013-11-29.
27888         * scripts/config.sub: Update to version 2013-10-01.
27890         * math/auto-libm-test-in: Add tests of sincos.
27891         * math/auto-libm-test-out: Regenerated.
27892         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27893         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27894         mpfr_f_11.
27895         (func_calc_desc): Add mpfr_f_11 union field.
27896         (test_functions): Add sincos.
27897         (calc_generic_results): Handle mpfr_f_11.
27898         * sysdeps/i386/fpu/libm-test-ulps: Update.
27899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27901 2013-12-19  Andreas Schwab  <schwab@suse.de>
27903         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27904         CALL_MCOUNT.
27905         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27906         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27907         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27909 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27911         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27912         * sysdeps/i386/fpu/libm-test-ulps: Update.
27913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27915         [BZ #16293]
27916         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27917         round-to-nearest mode when using frndint.
27918         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27919         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27920         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27921         Likewise.
27922         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
27923         sinh test to fail.
27924         * math/auto-libm-test-out: Regenerated.
27925         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27926         (TEST_COND_x86): Likewise.
27927         (expm1_tonearest_test_data): New array.
27928         (expm1_test_tonearest): New function.
27929         (expm1_towardzero_test_data): New array.
27930         (expm1_test_towardzero): New function.
27931         (expm1_downward_test_data): New array.
27932         (expm1_test_downward): New function.
27933         (expm1_upward_test_data): New array.
27934         (expm1_test_upward): New function.
27935         (main): Run the new test functions.
27936         * sysdeps/i386/fpu/libm-test-ulps: Update.
27937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939         * include/features.h: Update comment documenting feature test
27940         macros.  Mention _DEFAULT_SOURCE in comment.
27941         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27942         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27943         _BSD_SOURCE and _SVID_SOURCE.
27944         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27945         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27946         !_SVID_SOURCE]: Likewise.
27947         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27948         (__USE_POSIX_IMPLICITLY): Define.
27949         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27950         (_POSIX_SOURCE): Undefine and redefine.
27951         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27952         (_POSIX_C_SOURCE): Likewise.
27953         * manual/creature.texi (_DEFAULT_SOURCE): Document.
27954         (Feature Test Macros): Update documentation of default features.
27956 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27958         * benchtests/Makefile: Add bench-strtok.
27959         * benchtests/bench-strtok.c: New file: strtok benchtest.
27961 2013-12-19  Allan McRae  <allan@archlinux.org>
27963         * manual/install.texi: Suppress menu for plain text output.
27964         * INSTALL: Regenerated.
27966 2013-12-18  Brooks Moses  <bmoses@google.com>
27968         [BZ #15846]
27969         * misc/getauxval.c: Include errno.h.
27970         (__getauxval): Set errno to ENOENT if the requested type is not
27971         found.
27972         * misc/sys/auxv.h (getauxval): Document that it may set errno;
27973         don't declare with __attribute_const__.
27974         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27975         * manual/startup.texi: Document that getauxval sets errno.
27977 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27979         * math/auto-libm-test-in: Add tests of jn and yn.
27980         * math/auto-libm-test-out: Regenerated.
27981         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27982         (yn_test_data): Likewise.
27983         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27984         mpfr_if_f.
27985         (func_calc_desc): Add mpfr_if_f union field.
27986         (FUNC_mpfr_if_f): New macro.
27987         (test_functions): Add jn and yn.
27988         (calc_generic_results): Assert type of second input for
27989         mpfr_ff_f.  Handle mpfr_if_f.
27990         (output_for_one_input_case): Disable all checking for arguments
27991         fitting floating-point types in case of an integer argument.
27992         * sysdeps/i386/fpu/libm-test-ulps: Update.
27993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27996         Don't expect fegetround reference in libm.so.
27998 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
28000         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
28001         $(config-cflags-nofma).
28003 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
28005         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
28006         * math/auto-libm-test-out: Regenerated.
28008         [BZ #16338]
28009         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
28010         to determine exponent and adjust argument to have exponent of -1.
28011         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
28012         log2.
28013         * math/auto-libm-test-out: Regenerated.
28014         * sysdeps/i386/fpu/libm-test-ulps: Update.
28015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28017 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
28019         * manual/probes.texi: Remove cases when per-thread arenas are
28020         disabled.
28022 2013-12-18  Andreas Schwab  <schwab@suse.de>
28024         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
28025         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
28026         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
28027         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
28028         * sysdeps/i386/i686/multiarch/Makefile: Update.
28029         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
28031 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28033         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
28034         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
28036 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
28038         [BZ #15968]
28039         Support TZ transition times < 00:00:00.
28040         This is needed for version-3 tz-format files; it supports time
28041         stamps past 2037 for America/Godthab (the only entry in the tz
28042         database for which this change is relevant).
28043         * manual/time.texi (TZ Variable): Document transition times
28044         from -167:59:59 through -00:00:01.
28045         * time/tzset.c (tz_rule): Time of day is now signed.
28046         (__tzset_parse_tz): Parse negative time of day.
28048         Document TZ transition times >= 25:00:00.
28049         * manual/time.texi (TZ Variable): Document transition times from
28050         25:00:00 through 167:59:59.  These are already supported, and this
28051         support will help with version-3 tz-format files.
28053         * manual/time.texi (TZ Variable): Modernize North America example
28054         to reflect current (i.e., 2007-and-later) daylight saving rules.
28056         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
28058 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28060         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
28061         * sysdeps/unix/bsd/bits/stat.h: Likewise.
28062         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
28063         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28064         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
28065         * sysdeps/unix/bsd/bsdstat.h: Likewise.
28066         * sysdeps/unix/bsd/clock.c: Likewise.
28067         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
28068         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
28069         * sysdeps/unix/bsd/init-posix.c: Likewise.
28070         * sysdeps/unix/bsd/poll.c: Likewise.
28071         * sysdeps/unix/bsd/ptsname.c: Likewise.
28072         * sysdeps/unix/bsd/seekdir.c: Likewise.
28073         * sysdeps/unix/bsd/setegid.c: Likewise.
28074         * sysdeps/unix/bsd/seteuid.c: Likewise.
28075         * sysdeps/unix/bsd/setgid.c: Likewise.
28076         * sysdeps/unix/bsd/setrgid.c: Likewise.
28077         * sysdeps/unix/bsd/setruid.c: Likewise.
28078         * sysdeps/unix/bsd/setsid.c: Likewise.
28079         * sysdeps/unix/bsd/setuid.c: Likewise.
28080         * sysdeps/unix/bsd/sigaction.c: Likewise.
28081         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
28082         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
28083         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
28084         * sysdeps/unix/bsd/telldir.c: Likewise.
28085         * sysdeps/unix/bsd/times.c: Likewise.
28086         * sysdeps/unix/bsd/usleep.c: Likewise.
28088         * misc/Makefile (install-lib): Remove libbsd-compat.a.
28089         ($(objpfx)libbsd-compat.a): Remove rule.
28091         * include/features.h (__FAVOR_BSD): Do not define.
28092         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
28093         features conflicting with POSIX.
28094         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
28095         (_BSD_SOURCE): Remove description of not being a subset of other
28096         feature test macros.
28097         * manual/job.texi (getpgrp): Do not document BSD version.
28098         (getpgid): Do not document by reference to BSD getpgrp.
28099         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
28100         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
28101         * signal/signal.h [__FAVOR_BSD]: Likewise.
28102         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
28103         instead of making contents conditional on [__FAVOR_BSD].
28104         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
28106 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28110 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
28112         [BZ #16314]
28113         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
28114         values below 2**-450, not 2**-500.
28115         * math/auto-libm-test-in: Don't allow spurious underflow from
28116         hypot.
28117         * math/auto-libm-test-out: Regenerated.
28119         [BZ #16316]
28120         [BZ #16330]
28121         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
28122         values of ha and hb and sort them after adjusting subnormal
28123         arguments.
28124         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
28125         Likewise.
28126         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
28127         values of ea and eb and sort them after adjusting subnormal
28128         arguments.
28129         * math/auto-libm-test-in: Do not expect some hypot tests of
28130         subnormals to fail.  Add more hypot tests.
28131         * math/auto-libm-test-out: Regenerated.
28133 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28135         [BZ #13304]
28136         * sysdeps/sh/s_fma.c: New file.
28137         * sysdeps/sh/s_fmaf.c: New file.
28138         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
28139         version.
28140         * sysdeps/sh/Implies: Add sh/soft-fp.
28142 2013-12-16  Roland McGrath  <roland@hack.frob.com>
28144         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
28145         level of indirection to members `objname', `errstring', `malloced'.
28146         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
28147         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
28148         it as the __longjmp argument (just pass 1 instead).
28149         (_dl_catch_error): Initialize C with argument pointers and address of
28150         volatile local ERRCODE rather than copying values out of C at return.
28152 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
28154         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
28155         * math/auto-libm-test-out: Regenerated.
28156         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
28157         (hypot_test_data): Likewise.
28158         (pow_test_data): Likewise.
28159         (pow_tonearest_test_data): Likewise.
28160         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28161         mpfr_ff_f.
28162         (func_calc_desc): Add mpfr_ff_f union field.
28163         (FUNC_mpfr_ff_f): New macro.
28164         (test_functions): Add atan2, hypot and pow.
28165         (special_fill_min): New function.
28166         (special_fill_minus_min): Likewise.
28167         (special_fill_min_subnorm): Likewise.
28168         (special_fill_minus_min_subnorm): Likewise.
28169         (special_real_inputs): Add min, -min, min_subnorm and
28170         -min_subnorm.
28171         (calc_generic_results): Handle mpfr_ff_f.
28172         * sysdeps/i386/fpu/libm-test-ulps: Update.
28173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28175 2013-12-16  Will Newton  <will.newton@linaro.org>
28177         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
28178         (Aligned Memory Blocks): Add documentation for aligned_alloc
28179         and suggest it as an alternative to posix_memalign.
28180         (Hooks for Malloc): Document __memalign_hook is also called
28181         for aligned_alloc.  (Summary of Malloc): Add summary for
28182         aligned alloc.  Document __memalign_hook is also called
28183         for aligned_alloc.
28185 2013-12-16  Will Newton  <will.newton@linaro.org>
28187         * manual/memory.texi (Malloc Examples): Clarify default
28188         alignment documentation.  Suggest posix_memalign rather
28189         than memalign or valloc.
28190         (Aligned Memory Blocks): Remove suggestion to use memalign
28191         or valloc.  Remove obsolete comment about BSD.
28192         Document memalign errno values and mark the function obsolete.
28193         Document posix_memalign returned error codes.  Mark valloc
28194         as obsolete.  (Hooks for Malloc): __memalign_hook is also
28195         called for posix_memalign and valloc.
28196         (Summary of Malloc): Add posix_memalign to function summary.
28197         __memalign_hook is also called for posix_memalign and valloc.
28199 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28201         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
28202         TAYLOR_SIN.
28203         (__sin): Adjust.
28204         (__cos): Likewise.
28205         (sloww): Use mynumber union.  Expand ternary operator into
28206         if-else statements.
28207         (cslow): use mynumber union.
28209 2013-12-16  Allan McRae  <allan@archlinux.org>
28211         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
28212         * configure: Regenerated.
28214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
28216         [BZ #14120]
28217         * configure.ac: Added --enable-maintainer-mode. Check for
28218         autoconf when enabled.
28219         * configure: Regenerated.
28221         * nscd/nscd.service: New file.
28222         * nscd/nscd.tmpfiles: New file.
28224 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
28226         [BZ #12100]
28227         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
28228         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
28229         * sysdeps/x86_64/multiarch/strstr.c: ... here.
28230         (strstr): Add __strstr_sse2_unaligned ifunc.
28231         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
28232         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
28233         (strcasestr): Remove __strcasestr_sse42 ifunc.
28234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
28235         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28238 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28240         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
28241         * sysdeps/sh/bits/fenv.h: ... here.
28242         * sysdeps/sh/sh4/fpu/bits: Remove directory.
28244 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28246         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
28248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
28249         hypotf multiarch implementations.
28250         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28251         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28252         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28253         multiarch hypot for PPC64.
28254         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28255         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28256         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28257         multiarch hypotf for PPC64.
28259         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28260         modff multiarch implementations.
28261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28264         multiarch modf for PPC64.
28265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28268         multiarch modff for PPC64.
28270         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28271         and logl multiarch implementations.
28272         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28275         multiarch logb for PPC64.
28276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28279         multiarch logb for PPC64.
28280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28283         multiarch logb for PPC64.
28285         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28286         isinff multiarch implementation.
28287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28288         file.
28289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28291         multiarch isinf for PPC64.
28292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28293         file.
28294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28295         multiarch isinff for PPC64.
28297         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28298         finitef multiarch implementation.
28299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28300         file.
28301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28302         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28303         multiarch finite for PPC64.
28304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28305         file.
28306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28307         multiarch finitef for PPC64.
28309         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28310         lrint multiarch implementation.
28311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28312         file.
28313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28315         multiarch llrint for PPC64.
28316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28317         multiarch lrint for PPC64.
28319         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28320         copysignf multiarch implementation.
28321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28322         file.
28323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28324         file.
28325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28326         multiarch copysign for PPC64.
28327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28328         multiarch copysignf for PPC64.
28330         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28331         multiarch implementation.
28332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28333         file.
28334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28335         file.
28336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28337         file.
28338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28339         file.
28340         multiarch llround for PPC64.
28341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28342         multiarch trunc for PPC64.
28343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28344         multiarch truncf for PPC64.
28346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28347         multiarch implementation.
28348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28349         file.
28350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28351         file.
28352         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28353         file.
28354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28355         file.
28356         multiarch llround for PPC64.
28357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28358         multiarch round for PPC64.
28359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28360         multiarch roundf for PPC64.
28362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28363         multiarch implementation.
28364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28365         file.
28366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28367         file.
28368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28369         file.
28370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28371         file.
28372         multiarch llround for PPC64.
28373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28374         multiarch floor for PPC64.
28375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28376         multiarch floorf for PPC64.
28378         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28379         multiarch implementation.
28380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28381         file.
28382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28383         file.
28384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28385         file.
28386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28387         file.
28388         multiarch llround for PPC64.
28389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28390         multiarch ceil for PPC64.
28391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28392         multiarch ceilf for PPC64.
28394         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28395         multiarch implementation.
28396         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28397         file.
28398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28399         file.
28400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28401         file.
28402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28403         multiarch llround for PPC64.
28404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28405         multiarch lround for PPC64.
28407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28408         multiarch implementation.
28409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28412         file.
28413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28415         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28416         multiarch isnan for PPC64.
28417         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28418         multiarch isnanf for PPC64.
28420         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28421         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28422         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28423         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28424         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28427         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28428         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28429         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28430         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28432         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28433         multiarch implementations.
28434         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28435         (__libc_ifunc_impl_list): Likewise.
28436         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28437         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28438         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28439         multiarch stpcpy for PPC64.
28441         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28442         multiarch implementations.
28443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28444         (__libc_ifunc_impl_list): Likewise.
28445         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28446         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28447         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28448         multiarch strcpy for PPC64.
28450         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28451         redefine function name.
28452         (_wordcopy_fwd_dest_aligned): Likewise.
28453         (_wordcopy_bwd_aligned): Likewise.
28454         (_wordcopy_bwd_dest_aligned): Likewise.
28455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28456         multiarch implementations.
28457         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28458         (__libc_ifunc_impl_list): Likewise.
28459         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28460         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28461         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28462         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28463         multiarch wcscpy for PPC64.
28465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28466         multiarch implementations.
28467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28468         (__libc_ifunc_impl_list): Likewise.
28469         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28470         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28471         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28472         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28473         multiarch wcscpy for PPC64.
28475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28476         multiarch implementations.
28477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28478         (__libc_ifunc_impl_list): Likewise.
28479         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28480         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28481         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28482         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28483         multiarch wcsrchr for PPC64.
28485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28486         multiarch implementations.
28487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28488         (__libc_ifunc_impl_list): Likewise.
28489         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28490         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28491         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28492         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28493         multiarch wcschr for PPC64.
28495         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28496         multiarch implementations.
28497         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28498         (__libc_ifunc_impl_list): Likewise.
28499         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28500         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28501         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28502         multiarch strchrnul for PPC64.
28504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28505         implementations.
28506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28507         (__libc_ifunc_impl_list): Likewise.
28508         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28509         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28510         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28511         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28512         strchr for PPC64.
28514         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28515         implementations.
28516         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28517         (__libc_ifunc_impl_list): Likewise.
28518         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28519         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28520         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28521         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28522         strncmp for PPC64.
28524         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28525         multiarch implementations.
28526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28527         (__libc_ifunc_impl_list): Likewise.
28528         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28529         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28530         strncasecmp for PPC64.
28531         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28532         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28533         multiarch strncasecmp_l for PPC64.
28535         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28536         multiarch implementations.
28537         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28538         (__libc_ifunc_impl_list): Likewise.
28539         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28540         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28541         multiarch strcasecmp for PPC64.
28542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28543         file.
28544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28545         multiarch strcasecmp_l for PPC64.
28547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28548         implementations.
28549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28550         (__libc_ifunc_impl_list): Likewise.
28551         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28552         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28553         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28554         strnlen for PPC64.
28556         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28557         implementations.
28558         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28559         (__libc_ifunc_impl_list): Likewise.
28560         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28561         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28562         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28563         strlen for PPC64.
28565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28566         implementations.
28567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28568         (__libc_ifunc_impl_list): Likewise.
28569         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28570         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28571         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28572         rawmemrchr for PPC64.
28574         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28575         implementation.
28576         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28577         (__libc_ifunc_impl_list): Likewise.
28578         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28579         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28580         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28581         memrchr for PPC64.
28583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28584         implementation.
28585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28586         (__libc_ifunc_impl_list): Likewise.
28587         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28588         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28589         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28590         memchr for PPC64.
28592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28593         implementation.
28594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28595         (__libc_ifunc_impl_list): Likewise.
28596         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28597         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28598         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28599         mempcpy for PPC64.
28601         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28602         avoid cretion of __bzero symbol.
28603         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28604         Likewise.
28605         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28606         Likewise.
28607         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28608         Likewise.
28609         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28610         multiarch implementations.
28611         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28612         (__libc_ifunc_impl_list): Likewise.
28613         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28614         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28615         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28616         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28617         bzero for PPC32.
28618         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28619         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28620         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28621         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28622         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28623         memset for PPC64.
28624         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28626         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28628         implementations.
28629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28630         (__libc_ifunc_impl_list): Likewise.
28631         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28632         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28633         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28634         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28635         memcmp for PPC64.
28637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28638         multiarch for POWER/PPC64.
28639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28640         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28641         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28642         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28643         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28644         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28645         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28646         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28647         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28648         memcpy for PPC64.
28650         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28651         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28652         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28653         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28654         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28655         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28656         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28657         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28658         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28659         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28660         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28661         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28662         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28663         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28664         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28673 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28675         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28677 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28679         * benchtests/Makefile (bench): Add exp2 and log2.
28680         (LDLIBS-bench-exp2): Add -lm.
28681         (LDLIBS-bench-log2): Likewise.
28682         * benchtests/exp2-inputs: New inputs file.
28683         * benchtests/log2-inputs: New inputs file.
28684         * benchtests/log-inputs: Add new inputs.
28685         * benchtests/tan-inputs: Likewise.
28687 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28689         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28690         definition...
28691         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28692         (csloww2): ... from here.
28694         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28695         instead of structures.
28696         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28697         (POLYNOMIAL): Likewise.
28698         (TAYLOR_SLOW): Likewise.
28699         (__sin): Likewise.
28700         (__cos): Likewise.
28701         (slow1): Likewise.
28702         (slow2): Likewise.
28703         (sloww): Likewise.
28704         (sloww1); Likewise.
28705         (sloww2): Likewise.
28706         (bsloww1): Likewise.
28707         (bsloww2): Likewise.
28708         (cslow2): Likewise.
28709         (csloww): Likewise.
28710         (csloww1): Likewise.
28711         (csloww2): Likewise.
28713 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
28715         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28716         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28717         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28718         * malloc/hooks.c (realloc_check): Likewise.
28720         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28721         * malloc/arena.c: Remove PER_THREAD conditional.
28722         [!PER_THREAD]: Remove code.
28723         (ptmalloc_unlock_all2): Likewise.
28724         (ptmalloc_init): Likewise.
28725         (_int_new_arena): Likewise.
28726         (arena_get2): Likewise.
28727         * malloc/hooks.c (__malloc_get_state): Likewise.
28728         (__malloc_set_state): Likewise.
28729         * malloc/malloc.c: Likewise.
28730         (struct malloc_state): Likewise.
28731         (struct malloc_par): Likewise.
28732         (__libc_realloc): Likewise.
28733         (__libc_mallopt): Likewise.
28735 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28737         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28739 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
28741         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28742         macro to a function.  Check for zero perturb_byte.
28743         (_int_malloc, _int_free): Remove zero perturb_byte checks.
28745         * malloc/malloc.c: (force_reg): Remove.
28746         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28747         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28748         force_reg by atomic_forced_read.
28749         * malloc/arena.c (ptmalloc_init): Likewise.
28750         * malloc/hooks.c (top_check): Likewise.
28752 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28756 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
28758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28760 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
28762         * math/auto-libm-test-in: Add tests of lgamma.
28763         * math/auto-libm-test-out: Regenerated.
28764         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28765         (M_LOG_2_SQRT_PIl): Likewise.
28766         (lgamma_test_data): Use AUTO_TESTS_f_f1.
28767         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28768         mpfr_f_f1.
28769         (func_calc_desc): Add mpfr_f_f1 union field.
28770         (ARGS1): New macro.
28771         (ARGS2): Likewise.
28772         (ARGS3): Likewise.
28773         (ARGS4): Likewise.
28774         (RET1): Likewise.
28775         (RET2): Likewise.
28776         (CALC): Likewise.
28777         (FUNC): Likewise.
28778         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28779         (test_functions): Add lgamma.
28780         (calc_generic_results): Handle mpfr_f_f1.
28781         * sysdeps/i386/fpu/libm-test-ulps: Update.
28782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28784 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28786         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28787         __mpn_add_n for PowerPC64/POWER7.
28788         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28789         __mpn_sub_n for PowerPC64/POWER7.
28791         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28792         __mpn_addmul_1 for PowerPC64.
28793         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28794         __mpn_submul_1 for PowerPC64.
28795         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28796         for PowerPC64.
28797         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28798         for PowerPC64.
28800 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
28802         [BZ #15089]
28803         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28805 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28807         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28809         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28810         add multiarch folders.
28811         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28812         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28813         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28814         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28815         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28816         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28817         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28818         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28819         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28820         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28821         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28830         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28832         New file.
28833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28834         New file.
28835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28836         multiarch __ieee754_hypot for PowerPC32.
28837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28838         New file.
28839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28840         New file.
28841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28842         multiarch __ieee754_hypotf for PowerPC32.
28844         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28845         long_double_symbol only if __logbl is defined.
28846         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28847         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28848         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28849         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28851         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28852         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28853         path for implementation.
28854         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28855         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28857         logb, and logbl multiarch implementations for PowerPC32.
28858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28859         file.
28860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28861         file.
28862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28863         multiarch logb for PowerPC32.
28864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28865         file.
28866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28867         file.
28868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28869         multiarch logbf for PowerPC32.
28870         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28872         file.
28873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28874         multiarch logbl implementation for PowerPC32.
28876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28877         and modff multiarch implementations.
28878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28879         New file.
28880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28881         New file.
28882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28883         multiarch modf for PowerPC32.
28884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28885         New file.
28886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28887         New file.
28888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28889         multiarch modff for PowerPC32.
28891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28892         and lrintf multiarch implementations.
28893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28894         New file.
28895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28896         New file.
28897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28898         multiarch lrint for PowerPC32.
28899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28900         file: multiarch lrintf for PowerPC32.
28902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28903         and lroundf multiarch implementations.
28904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28905         New file.
28906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28907         New file.
28908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28909         New file.
28910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28911         multiarch lround for PowerPC32.
28912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28913         file: multiarch lroundf for PowerPC32.
28915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28916         copysign and copysignf multiarch implementations.
28917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28918         New file.
28919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28920         New file.
28921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28922         file: multiarch copysign for PowerPC32.
28923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28924         file: multiarch copysignf for PowerPC32.
28926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28927         and truncf multiarch implementations.
28928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28929         New file.
28930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28931         file.
28932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28933         multiarch trunc for PowerPC32.
28934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28935         New file.
28936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28937         New file.
28938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28939         multiarch truncf for PowerPC32.
28941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28942         and roundf multiarch implementations.
28943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28944         New file.
28945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28946         file.
28947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28948         multiarch round for PowerPC32.
28949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28950         New file.
28951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28952         New file.
28953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28954         multiarch roundf for PowerPC32.
28956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28957         and floorf multiarch implementations.
28958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28959         New file.
28960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28961         file.
28962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28963         multiarch floor for PowerPC32.
28964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28965         New file.
28966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28967         New file.
28968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28969         multiarch floorf for PowerPC32.
28971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28972         and ceilf multiarch implementations.
28973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28974         New file.
28975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28976         file.
28977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28978         multiarch ceil for PowerPC32.
28979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28980         New file.
28981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28982         file.
28983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28984         multiarch ceilf for PowerPC32.
28986         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28987         is defined.
28988         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28989         FINITEF is defined.
28990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28991         and finitef multiarch implementations.
28992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28993         New file.
28994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28995         file.
28996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28997         multiarch finite for PowerPC32.
28998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28999         New file.
29000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
29001         file: multiarch finitef for PowerPC32.
29003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
29004         and isinff multiarch implementations.
29005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
29006         file.
29007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
29008         file.
29009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
29010         multiarch isinf for PowerPC32.
29011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
29012         New file.
29013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
29014         multiarch isinff for PowerPC32.
29016         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
29017         alias when __isnan is defined.
29018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
29019         and isnanf multiarch implementations.
29020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
29021         file.
29022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
29023         file.
29024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
29025         file.
29026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
29027         file.
29028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
29029         multiarch isnan for PowerPC32.
29030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
29031         New file.
29032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
29033         New file.
29034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
29035         multiarch isnanf for PowerPC32.
29037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
29038         and sqrtf multiarch implementations.
29039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
29040         file.
29041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
29042         file.
29043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
29044         multiarch sqrt for PowerPC32.
29045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
29046         file.
29047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
29048         file.
29049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
29050         multiarch sqrtf for PowerPC32.
29052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
29053         and llroundf multiarch implementations.
29054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
29055         New file.
29056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
29057         New file.
29058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
29059         New file.
29060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
29061         file: multiarch llround for PowerPC32.
29062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
29063         file: multiarch llroundf for PowerPC32.
29065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
29066         multiarch PowerPC32 fpu implementations.
29067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
29068         New file.
29069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
29070         New file.
29071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
29072         multiarch llrint for PowerPC32.
29073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
29074         New file.
29075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
29076         New file.
29077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
29078         file.
29080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
29082         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
29083         file.
29084         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
29085         file.
29086         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
29087         file.
29088         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
29089         multiarch wordcopy for PPC32.
29090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29091         wordcopy objects.
29092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29093         (__libc_ifunc_impl_list): Likewise.
29094         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
29095         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
29096         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
29097         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
29098         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
29099         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
29101         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
29102         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
29103         file.
29104         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
29105         file.
29106         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
29107         file.
29108         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
29109         multiarch wcscpy for PPC32.
29110         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
29111         multiarch objects.
29112         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29113         (__libc_ifunc_impl_list): Likewise.
29114         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29115         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29116         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
29117         sysdeps/powerpc/power6/wcscpy.c.
29119         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
29120         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
29121         file.
29122         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
29123         file.
29124         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
29125         file.
29126         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
29127         multiarch wcsrchr for PPC32.
29128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29129         multiarch objects.
29130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29131         (__libc_ifunc_impl_list): Likewise.
29132         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
29133         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
29134         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
29135         sysdeps/powerpc/power6/wcsrchr.c.
29137         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
29138         file.
29139         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
29140         file.
29141         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
29142         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
29143         multiarch wcschr for PPc32.
29144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
29145         multiarch objects.
29146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29147         (__libc_ifunc_impl_list): Likewise.
29148         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
29149         * sysdeps/powerpc/power6/wcschr.c: ... to here.
29150         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
29151         sysdeps/powerpc/power6/wcschr.c.
29153         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
29154         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
29155         file.
29156         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
29157         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
29158         file: multiarch strchr for PPC32.
29159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
29160         multiarch objects.
29161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29162         (__libc_ifunc_impl_list): Likewise.
29164         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
29165         name.
29166         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
29167         file.
29168         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
29169         file.
29170         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
29171         multiarch strchrnul for PPC32.
29172         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
29173         multiarch objects.
29174         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29175         (__libc_ifunc_impl_list): Likewise.
29177         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
29178         file.
29179         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
29180         multiarch strncasecmp for PPC32.
29181         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
29182         file.
29183         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
29184         multiarch strncasecmp_l for PPC32.
29185         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
29186         strncasecmp multiarch objects.
29187         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29188         (__libc_ifunc_impl_list): Likewise.
29190         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
29191         file.
29192         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
29193         multiarch strncasecmp for PPC32.
29194         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29195         New file.
29196         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
29197         multiarch strcasecmp_l for PPC32.
29198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
29199         multiarch objects.
29200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29201         (__libc_ifunc_impl_list): Likewise.
29203         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
29204         file.
29205         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
29206         file.
29207         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
29208         multiarch strncmp for PPC32.
29209         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
29210         multiarch objects.
29211         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29212         (__libc_ifunc_impl_list): Likewise.
29214         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
29215         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
29216         file.
29217         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
29218         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
29219         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
29220         multiarch objects.
29221         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29222         (__libc_ifunc_impl_list): Likewise.
29224         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29225         file.
29226         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
29227         file.
29228         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
29229         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
29230         multiarch objects.
29231         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29232         (__libc_ifunc_impl_list): Likewise.
29234         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
29235         file.
29236         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
29237         file.
29238         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
29239         multiarch rawmemchr for PPC32.
29240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
29241         multiarch objects.
29242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29243         (__libc_ifunc_impl_list): Likewise.
29245         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
29246         file.
29247         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
29248         file.
29249         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
29250         file: memrchr multiarch for PPC32.
29251         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29252         multiarch objects.
29253         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29254         (__libc_ifunc_impl_list): Likewise.
29256         * string/memchr.c (__memchr): Using macro to redefine symbol name.
29257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29258         file.
29259         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29260         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29261         multiarch memchr for PPC32.
29262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29263         multiarch objects.
29264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29265         (__libc_ifunc_impl_list): Likewise.
29267         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29268         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29269         file.
29270         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29271         file.
29272         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29273         file: multiarch mempcpy for PPC32.
29274         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29275         multiarch objects.
29276         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29277         (__libc_ifunc_impl_list): Likewise.
29279         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29280         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29281         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29282         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29283         multiarch bzero for PPC32.
29284         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29285         file.
29286         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29287         file.
29288         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29289         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29290         file: multiarch memset for PPC32.
29291         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29292         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29293         memset multiarch objects.
29294         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29295         (__libc_ifunc_impl_list): Likewise.
29297         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29298         file.
29299         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29300         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29301         memcmp for PPC32.
29302         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29303         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29304         multiarch objects.
29305         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29306         (__libc_ifunc_impl_list): Likewise.
29308         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29309         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29310         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29311         file.
29312         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29313         file.
29314         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29315         file.
29316         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29317         multiarch memcpy for PPC32.
29318         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29319         multiarch objects.
29320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29321         (__libc_ifunc_impl_list): Likewise.
29323         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29324         support multiarch for POWER/PPC32.
29325         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29326         Likewise.
29327         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29329         Implies file to make multiarch folder appers before the fpu and
29330         default folder for power4 configuration.
29332 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29334         * scripts/bench.pl: Append volatile keyword to type.
29336 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29338         * sysdeps/sh/sotruss-lib.c: New file.
29339         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29341 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29345 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
29347         [BZ #6810]
29348         * math/w_tgamma.c: Include <errno.h>.
29349         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
29350         * math/w_tgammaf.c: Include <errno.h>.
29351         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
29352         * math/w_tgammal.c: Include <errno.h>.
29353         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
29354         * math/auto-libm-test-in: Do not allow missing errno on tgamma
29355         underflow.  Add more tgamma tests.
29356         * math/auto-libm-test-out: Regenerated.
29357         * sysdeps/i386/fpu/libm-test-ulps: Update.
29358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29360         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29361         sin, sinh, tan, tanh, tgamma, y0 and y1.
29362         * math/auto-libm-test-out: Regenerated.
29363         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29364         (TEST_COND_x86): Likewise.
29365         (M_E2l): Remove macro.
29366         (M_E3l): Likewise.
29367         (M_2_SQRT_PIl): Likewise.
29368         (M_SQRT_PIl): Likewise.
29369         (M_1_DIV_El): Likewise.
29370         (log_test_data): Use AUTO_TESTS_f_f.
29371         (log10_test_data): Likewise.
29372         (log1p_test_data): Likewise.
29373         (log2_test_data): Likewise.
29374         (sin_test_data): Likewise.
29375         (sin_tonearest_test_data): Likewise.
29376         (sin_towardzero_test_data): Likewise.
29377         (sin_downward_test_data): Likewise.
29378         (sin_upward_test_data): Likewise.
29379         (sinh_test_data): Likewise.
29380         (sinh_tonearest_test_data): Likewise.
29381         (sinh_towardzero_test_data): Likewise.
29382         (sinh_downward_test_data): Likewise.
29383         (sinh_upward_test_data): Likewise.
29384         (tan_test_data): Likewise.
29385         (tan_tonearest_test_data): Likewise.
29386         (tan_towardzero_test_data): Likewise.
29387         (tan_downward_test_data): Likewise.
29388         (tan_upward_test_data): Likewise.
29389         (tanh_test_data): Likewise.
29390         (tgamma_test_data): Likewise.
29391         (y0_test_data): Likewise.
29392         (y1_test_data): Likewise.
29393         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29394         (special_real_inputs): Add pi/4.
29395         * sysdeps/i386/fpu/libm-test-ulps: Update.
29396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29398 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29400         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29401         "longjmp_target" static probes.
29402         (__longjmp): Rename to __longjmp_symbol.
29403         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29404         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29405         on which longjmp to generate.
29406         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29407         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29408         probe.
29409         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29410         (__sigjmp_save): Rename to __sigjmp_save_symbol.
29411         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29412         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29413         and __sigjmp_save_symbol based on which sigsetjmp to generated.
29414         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29416         __longjmp_symbol based on which __longjmp to generate.
29417         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29418         probe.
29419         (setjmp): Rename to setjmp_symbol.
29420         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29421         (_setjmp): Rename to _setjmp_symbol.
29422         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29423         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29424         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29425         which setjmp to generate.
29426         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29427         "longjmp_target" static probes.
29429 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29431         * benchtests/README: Add note about output arguments.
29432         * benchtests/bench-sincos.c: Remove file.
29433         * benchtests/sincos-inputs: New file.
29434         * scripts/bench.pl: Identify output arguments and define
29435         static variables for them.
29437         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29439         [BZ #15941]
29440         * Makefile (INSTALL): Add install-plain.texi as the primary
29441         dependency.
29442         * manual/install-plain.texi: New file.
29443         * manual/install.texi: Include node directive only for
29444         non-plaintext output.
29446 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
29448         * stdlib/longlong.h: Update from GCC.
29450         [BZ #6807]
29451         [BZ #15901]
29452         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29453         * math/w_j0f.c (y0f): Likewise.
29454         * math/w_j0l.c (__y0l): Likewise.
29455         * math/w_j1.c (y1): Likewise.
29456         * math/w_j1f.c (y1f): Likewise.
29457         * math/w_j1l.c (__y1l): Likewise
29458         * math/w_jn.c (yn): Likewise.
29459         * math/w_jnf.c (ynf): Likewise.
29460         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29461         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
29462         value for Bessel function domain errors outside _SVID_ mode.
29463         Adjust sign of return value for yn (negative integer, 0).
29464         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29465         by zero in return for negative x and set sign appropriately for
29466         negative n.
29467         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29468         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29469         * math/libm-test.inc (y0_test_data): Add more tests and adjust
29470         expectations in error cases.
29471         (y1_test_data): Likewise.
29472         (yn_test_data): Likewise.
29473         * sysdeps/i386/fpu/libm-test-ulps: Update.
29474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29476 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29478         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29479         "64" to "64-v1".  Add "64-v2".
29480         (abi-64-options): Rename to ...
29481         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
29482         (abi-64-condition): Rename to ...
29483         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
29484         (abi-64-ld-soname): Rename to ...
29485         (abi-64-v1-ld-soname): ... this.
29486         (abi-64-v2-options): Define.
29487         (abi-64-v2-condition): Likewise.
29488         (abi-64-v2-ld-soname): Likewise.
29489         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29490         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29495 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29496             Alan Modra  <amodra@gmail.com>
29498         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29499         New versions for use with the ELFv2 ABI.
29500         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29501         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29502         declaration.
29503         (struct La_ppc64v2_retval): Likewise.
29504         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29505         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29506         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29507         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29508         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29509         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29510         Do not save or restore CR.
29511         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29512         (_dl_profile_resolve): Do no save or restore CR.  Support extended
29513         return values for ELFv2 ABI.  Fix location of FPR return registers.
29514         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29515         updated values for _CALL_ELF == 2.
29516         (La_regs, La_retval, int_retval): Likewise.
29518 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29520         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29521         (FRAME_MIN_SIZE_PARM): Likewise.
29522         (FRAME_BACKCHAIN): Likewise.
29523         (FRAME_CR_SAVE): Likewise.
29524         (FRAME_LR_SAVE): Likewise.
29525         (FRAME_TOC_SAVE): Likewise.
29526         (FRAME_PARM_SAVE): Likewise.
29527         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29528         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29529         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29530         (call_mcount_parm_offset): New macro.
29531         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29532         (PROF): Use symbolic stack frame offsets.
29533         (TAIL_CALL_SYSCALL_ERROR): Likewise.
29534         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29535         Redefine in terms of FRAME_MIN_SIZE.
29536         (_dl_runtime_resolve): Use symbolic stack frame offsets.
29537         (_dl_profile_resolve): Likewise.  Update comment.
29538         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29539         symbols stack frame offsets.
29540         (__sigsetjmp): Likewise.
29541         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29542         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29543         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29544         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29547         (FRAME_BACKCHAIN): Remove.
29548         (FRAME_CR_SAVE): Likewise.
29549         (FRAME_LR_SAVE): Likewise.
29550         (FRAME_COMPILER_DW): Likewise.
29551         (FRAME_LINKER_DW): Likewise.
29552         (FRAME_TOC_SAVE): Likewise.
29553         (FRAME_PARM_SAVE): Likewise.
29554         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29555         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29556         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29558         (CHECK_SP): Use symbolic stack frame offsets.
29559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29560         zone" instead of caller's parameter save area for temp storage.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29562         Likewise.  Also, use symbolic stack frame offsets.
29563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29564         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29565         our own stack frame instead of the caller's.
29566         (__socket): Use symbolic stack frame offsets.
29568 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29569             Alan Modra  <amodra@gmail.com>
29571         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29572         Define.
29573         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29574         (PPC64_LOCAL_ENTRY_OFFSET): Define.
29575         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29576         New function.
29577         (elf_machine_fixup_plt): Call it.
29578         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
29579         reloc arguments.
29580         (elf_machine_rela): Update call to elf_machine_plt_conflict.
29581         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29582         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29583         r2 before calling target.
29585 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29586             Alan Modra  <amodra@gmail.com>
29588         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29589         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29590         versions of macros to support ELFv2 ABI.
29591         (LOCALENTRY): New macro.
29592         (ENTRY, EALIGN): Use it.
29593         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29594         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29595         fall through into ENTRY entry point.
29596         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29597         Only define if _CALL_ELF != 2.
29599         (elf_machine_matches_host): Verify ABI version matches.
29600         (RTLD_START): Use LOCALENTRY.
29601         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29602         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29603         (PLT_ENTRY_WORDS): New macro.
29604         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29605         (elf_machine_runtime_setup): Support ELFv2 ABI.
29606         (elf_machine_fixup_plt): Likewise.
29607         (elf_machine_plt_conflict): Likewise.
29608         (resolve_ifunc): Likewise.
29609         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29610         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29611         Likewise.
29612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29613         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29615         (makecontext): Support ELFv2 ABI.
29616         * elf/elf.h (EF_PPC64_ABI): Define.
29618 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29620         * sysdeps/powerpc/powerpc64/sysdep.h
29621         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29622         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29623         (ENTRY) [ASSEMBLER]: ... but instead here ...
29624         (EALIGN) [ASSEMBLER]: ... and here.
29625         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29626         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29627         (ENTRY_2) [!ASSEMBLER]: Use it.
29628         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29629         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
29630         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29631         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29632         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29634         Use PPC64_LOAD_FUNCPTR.
29636         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29638 2013-12-04  Alan Modra  <amodra@gmail.com>
29640         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29641         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29642         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29643         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29646         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29647         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29648         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29649         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29650         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29652 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29655         (__makecontext): Fix incorrect CFI when backtracing out of
29656         context created via makecontext.
29657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29658         (__setcontext): Fix incorrect CFI during switch to new context.
29659         (__novec_setcontext): Likewise.
29661 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
29663         [BZ #4772]
29664         * time/strptime_l.c (__strptime_internal): Allow modifiers
29665         in strptime.
29666         * time/tst-strptime.c (day_tests): Add testcase.
29668 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29670         * scripts/bench.pl: Skip over blank lines.
29672 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
29674         [BZ #926]
29675         * manual/time.texi (Calendar Time): Clarify what timezone functions
29676         use.
29678 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29682 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
29684         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29685         implementation.
29686         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29687         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29688         * debug/memset_chk.c (__memset_chk): Likewise.
29689         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29690         * debug/strncpy_chk.c: Likewise.
29692 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
29694         [BZ #15268]
29695         [BZ #15425]
29696         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29697         (__ieee754_exp): For possibly underflowing results, check size of
29698         result and force underflow exception if required.
29699         * math/auto-libm-test-in: Add more tests of exp.
29700         * math/auto-libm-test-out: Regenerated.
29701         * sysdeps/i386/fpu/libm-test-ulps: Update.
29702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29704         [BZ #16283]
29705         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29706         * math/w_exp2f.c (__exp2f): Likewise.
29707         * math/w_exp2l.c (__exp2l): Likewise.
29708         * math/auto-libm-test-in: Do not allow missing errno on exp2
29709         underflow.
29710         * math/auto-libm-test-out: Regenerated.
29712 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
29714         [BZ #16274]
29715         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29716         handle filename validation.
29717         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29718         (do_open): Delete.
29720 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
29722         [BZ #6786]
29723         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29724         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29725         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29726         <float.h>.
29727         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29728         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29729         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29730         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29731         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29732         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29733         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29734         * math/auto-libm-test-in: Don't allow missing errno from erfc.
29735         Add more erfc tests.
29736         * math/auto-libm-test-out: Regenerated.
29737         * sysdeps/i386/fpu/libm-test-ulps: Update.
29738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29740         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29741         exp2, expm1, j0 and j1.
29742         * math/auto-libm-test-out: Regenerated.
29743         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29744         (erfc_test_data): Likewise.
29745         (exp_test_data): Likewise.
29746         (exp_tonearest_test_data): Likewise.
29747         (exp_towardzero_test_data): Likewise.
29748         (exp_downward_test_data): Likewise.
29749         (exp_upward_test_data): Likewise.
29750         (exp10_test_data): Likewise.
29751         (exp2_test_data): Likewise.
29752         (expm1_test_data): Likewise.
29753         (j0_test_data): Likewise.
29754         (j1_test_data): Likewise.
29755         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29756         (input_flag_type): Add flag_xfail_rounding.
29757         (input_flags): Add xfail-rounding.
29758         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29759         (output_for_one_input_case): Handle flag_xfail_rounding.
29760         * sysdeps/i386/fpu/libm-test-ulps: Update.
29761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29763 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
29765         [BZ #16289]
29766         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29767         division by 0.
29769 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29771         [BZ #16195]
29772         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29773         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29774         (STAP_PROBE0): New macro.
29775         (STAP_PROBE1): Likewise.
29776         (STAP_PROBE2): Likewise.
29777         (STAP_PROBE3): Likewise.
29778         (STAP_PROBE4): Likewise.
29780 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
29782         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29784 2013-12-02  Steve Ellcey  <sellcey@mips.com>
29786         * benchtests/Makefile (bench): Add sqrt.
29787         (LDLIBS-bench-sqrt): New.
29788         * benchtests/sqrt-input: New.
29790 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
29792         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29793         (GAIH_EAI): Likewise.
29794         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29795         (gaih_inet): Likewise.
29796         (getaddrinfo): Don't use GAIH_EAI.
29798         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29799         (struct gaih): Remove definition.
29801 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29803         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29804         Use HERRNOP directly.
29806 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29810 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
29812         * math/gen-auto-libm-tests.c (test_functions): Add more
29813         single-argument functions.
29814         (special_fill_pi_2): New function.
29815         (special_fill_minus_pi_2): Likewise.
29816         (special_fill_pi_6): Likewise.
29817         (special_fill_minus_pi_6): Likewise.
29818         (special_fill_pi_3): Likewise.
29819         (special_fill_2pi_3): Likewise.
29820         (special_fill_e): Likewise.
29821         (special_fill_1_e): Likewise.
29822         (special_fill_e_minus_1): Likewise.
29823         (special_real_inputs): Add more special inputs.
29824         (output_for_one_input_case): Do not require ERANGE on underflow to
29825         zero if round-to-nearest result does not underflow to zero, unless
29826         exact results required.
29827         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29828         atan, atanh, cbrt, cos and cosh.
29829         * math/auto-libm-test-out: Regenerated.
29830         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29831         (acos_tonearest_test_data): Likewise.
29832         (acos_towardzero_test_data): Likewise.
29833         (acos_downward_test_data): Likewise.
29834         (acos_upward_test_data): Likewise.
29835         (acosh_test_data): Likewise.
29836         (asin_test_data): Likewise.
29837         (asin_tonearest_test_data): Likewise.
29838         (asin_towardzero_test_data): Likewise.
29839         (asin_upward_test_data): Likewise.
29840         (asinh_test_data): Likewise.
29841         (atan_test_data): Likewise.
29842         (atanh_test_data): Likewise.
29843         (cbrt_test_data): Likewise.
29844         (cos_test_data): Likewise.
29845         (cos_tonearest_test_data): Likewise.
29846         (cos_towardzero_test_data): Likewise.
29847         (cos_downward_test_data): Likewise.
29848         (cos_upward_test_data): Likewise.
29849         (cosh_test_data): Likewise.
29850         (cosh_tonearest_test_data): Likewise.
29851         (cosh_towardzero_test_data): Likewise.
29852         (cosh_downward_test_data): Likewise.
29853         (cosh_upward_test_data): Likewise.
29854         * sysdeps/i386/fpu/libm-test-ulps: Update.
29855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
29859         [BZ #6787]
29860         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29861         * math/w_exp10f.c (__exp10f): Likewise.
29862         * math/w_exp10l.c (__exp10l): Likewise.
29863         * math/libm-test.inc (exp10_test_data): Add more tests and expect
29864         errno settings in existing tests.
29866         [BZ #14032]
29867         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29868         precision control set to double precision.
29869         * sysdeps/i386/fpu/w_sqrt.c: New file.
29870         * math/auto-libm-test-in: Add more tests.
29871         * math/auto-libm-test-out: Update.
29873         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29874         (sqrt_test_tonearest): New function.
29875         (sqrt_towardzero_test_data): New variable.
29876         (sqrt_test_towardzero): New function.
29877         (sqrt_downward_test_data): New variable.
29878         (sqrt_test_downward): New function.
29879         (sqrt_upward_test_data): New variable.
29880         (sqrt_test_upward): New function.
29881         (main): Call the new functions.
29883         * math/gen-auto-libm-tests.c: New file.
29884         * math/auto-libm-test-in: Likewise.
29885         * math/auto-libm-test-out: New generated file.
29886         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29887         variables.
29888         (%beautify): Add generated representations of zero.
29889         (top level): Set $auto_input and call parse_auto_input.
29890         (beautify): Remove trailing "f" from hex float constants.
29891         (parse_args): Handle XFAIL_TEST.
29892         (convert_condition): New function.
29893         (or_value): Likewise.
29894         (or_cond_value): Likewise.
29895         (generate_testfile): Handle AUTO_TESTS_* lines.
29896         (parse_auto_input): New function.
29897         * math/libm-test.inc (XFAIL_TEST): New macro.
29898         (ERRNO_UNCHANGED): Update value.
29899         (ERRNO_EDOM): Likewise.
29900         (ERRNO_ERANGE): Likewise.
29901         (IGNORE_RESULT): Likewise.
29902         (TEST_COND_flt_32): New macro.
29903         (TEST_COND_dbl_64): Likewise.
29904         (TEST_COND_ldbl_96_intel): Likewise.
29905         (TEST_COND_ldbl_96_m68k): Likewise.
29906         (TEST_COND_ldbl_128): Likewise.
29907         (TEST_COND_ldbl_128ibm): Likewise.
29908         (TEST_COND_long32): Likewise.
29909         (TEST_COND_long64): Likewise.
29910         (TEST_COND_before_rounding): Likewise.
29911         (TEST_COND_after_rounding): Likewise.
29912         (enable_test): Handle XFAIL_TEST flag.
29913         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29914         with finite results.
29915         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29916         auto-libm-test-out.
29918 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29919             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29921         [BZ #16214]
29922         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29923         __tls_get_addr_internal instead of __tls_get_offset in order to
29924         avoid GOT pointer dependency.  Make rtld export
29925         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29926         __tls_get_addr since we are a __tls_get_offset platform.
29927         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29928         GOT pointer being set up before.
29929         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29931 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
29933         * manual/math.texi (Errors in Math Functions): Document accuracy
29934         goals.
29936         [BZ #15004]
29937         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29938         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29939         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29940         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29941         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29942         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29943         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29944         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29945         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29946         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29947         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29948         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29949         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29950         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29951         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29952         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29954         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29955         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29956         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29957         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29958         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29959         Likewise.
29960         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29961         Likewise.
29962         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29963         Likewise.
29964         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29966         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29967         atomic-feupdateenv and flt-rounds.
29968         * sysdeps/powerpc/nofpu/Versions (libc): Add
29969         __atomic_feholdexcept, __atomic_feclearexcept,
29970         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29971         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29972         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29973         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29974         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29975         here.
29976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29977         Update.
29979         * manual/arith.texi (FP Exceptions): Document that exceptions may
29980         not be raised when matherr is used.
29981         (Math Error Reporting): Document overflow in directed rounding
29982         modes.  Document that errno may not be set when finite values are
29983         returned on overflow.  Document intent to set errno on underflow
29984         only for underflow to zero.
29986         [BZ #16271]
29987         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29988         round-to-nearest then adjust result for other rounding modes.
29989         * include/fenv.h (fegetround): Use libm_hidden_proto.
29990         * math/fegetround.c (fegetround): Use libm_hidden_def.
29991         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29992         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29993         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29994         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29995         Likewise.
29996         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29997         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29998         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29999         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
30001 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30003         [BZ #16077]
30004         * nss/Versions (libnss_files): Add
30005         _nss_files_gethostbyname3_r.
30006         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
30007         New function.
30008         (HOST_DB_LOOKUP): Remove macro.
30009         (_nss_files_gethostbyname_r): Implement function without the
30010         HOST_DB_LOOKUP macro.
30011         (_nss_files_gethostbyname2_r): Likewise.
30013 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
30015         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
30017 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
30019         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
30020         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
30021         warning.
30023 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30025         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
30026         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
30027         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30028         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30029         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
30030         __fe_nomask_env_priv and attribute_hidden.
30031         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
30032         (libc_feupdateenv_test_ppc): Likewise.
30033         (libc_feresetround_ppc): Likewise.
30034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30035         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
30036         compat_symbol macro.
30037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30038         (__fe_nomask_env): Likewise.
30039         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
30041 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30043         * string/Makefile: Remove ifunc tests.
30044         * string/test-string.h: Define TEST_IFUNC.
30045         * string/test-bcopy-ifunc.c: Remove.
30046         * string/test-bzero-ifunc.c: Likewise.
30047         * string/test-memccpy-ifunc.c: Likewise.
30048         * string/test-memchr-ifunc.c: Likewise.
30049         * string/test-memcmp-ifunc.c: Likewise.
30050         * string/test-memcpy-ifunc.c: Likewise.
30051         * string/test-memmem-ifunc.c: Likewise.
30052         * string/test-memmove-ifunc.c: Likewise.
30053         * string/test-mempcpy-ifunc.c: Likewise.
30054         * string/test-memrchr-ifunc.c: Likewise.
30055         * string/test-memset-ifunc.c: Likewise.
30056         * string/test-rawmemchr-ifunc.c: Likewise.
30057         * string/test-stpcpy-ifunc.c: Likewise.
30058         * string/test-stpncpy-ifunc.c: Likewise.
30059         * string/test-strcasecmp-ifunc.c: Likewise.
30060         * string/test-strcasestr-ifunc.c: Likewise.
30061         * string/test-strcat-ifunc.c: Likewise.
30062         * string/test-strchr-ifunc.c: Likewise.
30063         * string/test-strchrnul-ifunc.c: Likewise.
30064         * string/test-strcmp-ifunc.c: Likewise.
30065         * string/test-strcpy-ifunc.c: Likewise.
30066         * string/test-strcspn-ifunc.c: Likewise.
30067         * string/test-strlen-ifunc.c: Likewise.
30068         * string/test-strncasecmp-ifunc.c: Likewise.
30069         * string/test-strncat-ifunc.c: Likewise.
30070         * string/test-strncmp-ifunc.c: Likewise.
30071         * string/test-strncpy-ifunc.c: Likewise.
30072         * string/test-strnlen-ifunc.c: Likewise.
30073         * string/test-strpbrk-ifunc.c: Likewise.
30074         * string/test-strrchr-ifunc.c: Likewise.
30075         * string/test-strspn-ifunc.c: Likewise.
30076         * string/test-strstr-ifunc.c: Likewise.
30078 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30080         * benchtests/Makefile: Remove ifunc tests.
30081         * benchtests/bench-string.h: Define TEST_IFUNC.
30082         * benchtests/bench-bcopy-ifunc.c: Remove.
30083         * benchtests/bench-bzero-ifunc.c: Likewise.
30084         * benchtests/bench-memccpy-ifunc.c: Likewise.
30085         * benchtests/bench-memchr-ifunc.c: Likewise.
30086         * benchtests/bench-memcmp-ifunc.c: Likewise.
30087         * benchtests/bench-memcpy-ifunc.c: Likewise.
30088         * benchtests/bench-memmem-ifunc.c: Likewise.
30089         * benchtests/bench-memmove-ifunc.c: Likewise.
30090         * benchtests/bench-mempcpy-ifunc.c: Likewise.
30091         * benchtests/bench-memrchr-ifunc.c: Likewise.
30092         * benchtests/bench-memset-ifunc.c: Likewise.
30093         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
30094         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
30095         * benchtests/bench-stpcpy-ifunc.c: Likewise.
30096         * benchtests/bench-stpncpy-ifunc.c: Likewise.
30097         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
30098         * benchtests/bench-strcasestr-ifunc.c: Likewise.
30099         * benchtests/bench-strcat-ifunc.c: Likewise.
30100         * benchtests/bench-strchr-ifunc.c: Likewise.
30101         * benchtests/bench-strchrnul-ifunc.c: Likewise.
30102         * benchtests/bench-strcmp-ifunc.c: Likewise.
30103         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
30104         * benchtests/bench-strcpy-ifunc.c: Likewise.
30105         * benchtests/bench-strcspn-ifunc.c: Likewise.
30106         * benchtests/bench-strlen-ifunc.c: Likewise.
30107         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
30108         * benchtests/bench-strncat-ifunc.c: Likewise.
30109         * benchtests/bench-strncmp-ifunc.c: Likewise.
30110         * benchtests/bench-strncpy-ifunc.c: Likewise.
30111         * benchtests/bench-strnlen-ifunc.c: Likewise.
30112         * benchtests/bench-strpbrk-ifunc.c: Likewise.
30113         * benchtests/bench-strrchr-ifunc.c: Likewise.
30114         * benchtests/bench-strsep-ifunc.c: Likewise.
30115         * benchtests/bench-strspn-ifunc.c: Likewise.
30116         * benchtests/bench-strstr-ifunc.c: Likewise.
30118 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30120         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
30122 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
30124         * resolv/netdb.h: Use __glibc_reserved instead __unused.
30125         * rt/aio.h: Likewise.
30126         * sysdeps/gnu/bits/utmp.h: Likewise.
30127         * sysdeps/gnu/bits/utmpx.h: Likewise.
30128         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30129         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
30130         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
30131         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
30132         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
30133         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
30134         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
30135         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
30136         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
30137         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
30138         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
30139         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
30140         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
30141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
30142         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30143         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
30144         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
30145         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
30146         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
30147         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
30148         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
30149         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
30150         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
30151         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30152         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
30153         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30154         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
30155         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
30156         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
30157         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
30158         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
30159         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
30160         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
30161         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
30162         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
30163         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
30164         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
30165         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
30166         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
30167         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
30168         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
30169         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
30171 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
30173         [BZ #16245]
30174         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
30175         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
30177 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
30179         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
30180         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
30181         Likewise.
30183 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30185         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
30186         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
30187         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
30188         (__fesetround): Remove define.
30189         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
30190         rounding and exceptions handling.
30191         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
30192         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
30193         (__fe_nomask_env): Likewise.
30194         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
30195         __fegetround instead of fegetround.
30196         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
30197         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
30199 2013-11-21  Roland McGrath  <roland@hack.frob.com>
30201         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
30202         it's there.
30204         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
30206 2013-11-21  Meador Inge  <meadori@codesourcery.com>
30208         [BZ #11157]
30209         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
30210         (encrypt_r): Likewise.
30211         * malloc/obstack.h (obstack_free): Likewise.
30212         * posix/unistd.h (encrypt): Likewise.
30214 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
30216         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
30217         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
30218         DL_CALL_DT_FINI() that call the functions directly.
30219         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
30220         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
30221         * elf/dl-fini.c: Likewise.
30223 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
30225         * malloc/hooks.c (memalign_check): Add alignment rounding.
30226         * malloc/malloc.c (_mid_memalign): New function.
30227         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
30228         Implement by calling _mid_memalign.
30229         * manual/probes.texi (Memory Allocation Probes): Remove
30230         memory_valloc_retry and memory_pvalloc_retry.
30232 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30234         * locale/programs/locarchive.c (open_archive): Add const
30235         qualifier to ARCHIVEFNAME and copy default fname to
30236         DEFAULT_FNAME.
30238         [BZ #15601]
30239         * libio/tst-widetext.input: Rename Oriya to Odia.
30240         * locale/iso-639.def: Likewise.
30242         * manual/probes.texi (Mathematical Function Probes): Add
30243         documentation for sin, cos, asin and acos probes.
30244         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
30245         (__sin32): Add slowasin probe.
30246         (__cos32): Add slowacos probe.
30247         (__mpsin): Add slowsin probe.
30248         (__mpcos): Add slowcos probe.
30250 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
30252         [BZ #15483]
30253         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30254         thread-local __sim_exceptions_thread and global
30255         __sim_exceptions_global.
30256         (__sim_disabled_exceptions): Change to thread-local
30257         __sim_disabled_exceptions_thread and global
30258         __sim_disabled_exceptions_global.
30259         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30260         and global __sim_round_mode_global.
30261         (__simulate_exceptions): Use thread-local floating-point state and
30262         set global state from it as needed.
30263         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30264         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30265         __sim_round_mode_thread.
30266         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30267         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30268         and global __sim_exceptions_global.
30269         (__sim_disabled_exceptions): Change to thread-local
30270         __sim_disabled_exceptions_thread and global
30271         __sim_disabled_exceptions_global.
30272         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30273         and global __sim_round_mode_global.
30274         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30275         (SIM_SET_GLOBAL): Likewise.
30276         * sysdeps/powerpc/soft-fp/sfp-machine.h
30277         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30278         __sim_round_mode_thread.
30279         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30280         __sim_disabled_exceptions_thread.
30281         (__sim_exceptions): Change to __sim_exceptions_thread.
30282         (__sim_disabled_exceptions): Change to
30283         __sim_disabled_exceptions_thread.
30284         (__sim_round_mode): Change to __sim_round_mode_thread.
30285         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30286         thread-local floating-point state and set global state from it as
30287         needed.
30288         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30289         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30290         (__sim_disabled_exceptions): Remove extern declaration.
30291         (feenableexcept): Use thread-local floating-point state and set
30292         global state from it as needed.
30293         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30294         extern declaration.
30295         (__sim_disabled_exceptions): Likewise.
30296         (__sim_round_mode): Likewise.
30297         (__fegetenv): Use thread-local floating-point state.
30298         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30299         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30300         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30301         floating-point state and set global state from it as needed.
30302         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30303         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30304         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30305         Likewise.
30306         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30307         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30308         Likewise.
30309         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30310         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30311         Use __sim_round_mode_thread.
30312         * math/test-fenv-tls.c: New file.
30313         * math/Makefile (tests): Add test-fenv-tls.
30314         ($(objpfx)test-fenv-tls): Depend on
30315         $(common-objpfx)nptl/libpthread.so.
30317 2013-11-19  Andreas Schwab  <schwab@suse.de>
30319         * locale/programs/locale.c (show_info): Decode wordarray elements.
30320         * locale/categories.def (LC_MONETARY): Add element for
30321         _NL_MONETARY_CRNCYSTR.
30322         * locale/C-monetary.c (conversion_rate): New variable.
30323         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30324         element.
30326 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
30328         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30329         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30331 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30333         * elf/Makefile (tst-auxv): New test.
30334         * elf/tst-auxv.c: New
30335         * elf/rtld.c (dl_main): Adjust AT_EXECFN
30337 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
30339         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30340         (hidden_proto): Caller changed.
30341         (hidden_tls_proto): New macro.
30342         (libc_hidden_tls_proto): Likewise.
30343         (rtld_hidden_tls_proto): Likewise.
30344         (libm_hidden_tls_proto): Likewise.
30345         (libresolv_hidden_tls_proto): Likewise.
30346         (librt_hidden_tls_proto): Likewise.
30347         (libdl_hidden_tls_proto): Likewise.
30348         (libnss_files_hidden_tls_proto): Likewise.
30349         (libnsl_hidden_tls_proto): Likewise.
30350         (libnss_nisplus_hidden_tls_proto): Likewise.
30351         (libutil_hidden_tls_proto): Likewise.
30353 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
30355         [BZ #10253]
30356         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30357         (decompose_rpath): Defer expansion to fillin_rpath.
30358         (_dl_init_paths): Pass linkmap to fillin_rpath.
30360 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30362         * benchtests/Makefile: Add strsep.
30363         * benchtests/bench-strsep.c: New file: strsep benchtest.
30364         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30366 2013-11-18  Andreas Schwab  <schwab@suse.de>
30368         * locale/programs/locale.c (show_info) [case byte]: Check for
30369         '\377' instead of '\177'.
30370         * locale/C-monetary.c (not_available): Always use "\377".
30371         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30372         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
30373         detect unavailable sign_posn locale elements.
30374         * locale/localeconv.c (__localeconv): For grouping and
30375         mon_grouping handle "\177" and "\377" like no grouping.
30376         (INT_ELEM): New macro.  Use it to set all numeric members.
30377         * locale/programs/ld-monetary.c (monetary_read)
30378         <tok_mon_grouping>: Normalize single -1 to the empty string.
30379         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30380         Likewise.
30382 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
30384         [BZ #16055]
30385         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30386         when we match (nil).
30387         * stdio-common/tst-sscanf.c (struct test): Add testcase.
30389 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
30391         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30392         (NO_TEST_INLINE): Update value.
30393         (ERRNO_UNCHANGED): Likewise.
30394         (ERRNO_EDOM): Likewise.
30395         (ERRNO_ERANGE): Likewise.
30396         (IGNORE_RESULT): Likewise.
30397         (check_float_internal): Check signs of NaN results if
30398         TEST_NAN_SIGN used.
30399         (check_complex): Pass TEST_NAN_SIGN flag through to second
30400         check_float_internal call.
30401         (copysign_test_data): Add tests with quiet NaNs as second
30402         argument.  Use TEST_NAN_SIGN.
30403         (fabs_test_data): Add test of negative quiet NaN argument.  Use
30404         TEST_NAN_SIGN.
30405         (signbit_test_data): Add tests of quiet NaN argument.
30406         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30408         * math/gen-libm-test.pl (show_exceptions): Take extra argument
30409         $ignore_result.
30410         (parse_args): Handle function results specified as IGNORE.
30411         * math/libm-test.inc (IGNORE_RESULT): New macro.
30412         (check_float_internal): Do not check numerical result if flag
30413         IGNORE_RESULT set.
30414         (check_complex): Pass through IGNORE_RESULT to second
30415         check_float_internal call.
30416         (check_int): Do not check numerical result if flag IGNORE_RESULT
30417         set.
30418         (check_long): Likewise.
30419         (check_bool): Likewise.
30420         (check_longlong): Likewise.
30421         (lrint_test_data): Add tests of infinite and NaN arguments.
30422         (lrint_tonearest_test_data): Likewise.
30423         (lrint_towardzero_test_data): Likewise.
30424         (lrint_downward_test_data): Likewise.
30425         (lrint_upward_test_data): Likewise.
30426         (llrint_test_data): Likewise.
30427         (llrint_tonearest_test_data): Likewise.
30428         (llrint_towardzero_test_data): Likewise.
30429         (llrint_downward_test_data): Likewise.
30430         (llrint_upward_test_data): Likewise.
30431         (lround_test_data): Likewise.
30432         (llround_test_data): Likewise.
30434         * math/libm-test.inc (NO_TEST_INLINE): New macro.
30435         (ERRNO_UNCHANGED): Update value.
30436         (ERRNO_EDOM): Likewise.
30437         (ERRNO_ERANGE): Likewise.
30438         (NO_TEST_INLINE_FLOAT): New macro.
30439         (NO_TEST_INLINE_DOUBLE): Likewise.
30440         (enable_test): New function.
30441         (RUN_TEST_f_f): Check enable_test before running test.
30442         (RUN_TEST_2_f): Likewise.
30443         (RUN_TEST_fff_f): Likewise.
30444         (RUN_TEST_c_f): Likewise.
30445         (RUN_TEST_f_f1): Likewise.
30446         (RUN_TEST_fF_f1): Likewise.
30447         (RUN_TEST_fI_f1): Likewise.
30448         (RUN_TEST_ffI_f1): Likewise.
30449         (RUN_TEST_c_c): Likewise.
30450         (RUN_TEST_cc_c): Likewise.
30451         (RUN_TEST_f_i): Likewise.
30452         (RUN_TEST_f_i_tg): Likewise.
30453         (RUN_TEST_ff_i_tg): Likewise.
30454         (RUN_TEST_f_b): Likewise.
30455         (RUN_TEST_f_b_tg): Likewise.
30456         (RUN_TEST_f_l): Likewise.
30457         (RUN_TEST_f_L): Likewise.
30458         (RUN_TEST_fFF_11): Likewise.
30459         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30460         conditionals.
30461         (cosh_test_data): Likewise.
30462         (exp_test_data): Likewise.
30463         (expm1_test_data): Likewise.
30464         (hypot_test_data): Likewise.
30465         (pow_test_data): Likewise.
30466         (sinh_test_data): Likewise.
30467         (tanh_test_data): Likewise.
30468         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30469         flags argument.
30471         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30472         tests with quiet NaN input and output.
30473         (acosh_test_data): Likewise.
30474         (asin_test_data): Likewise.
30475         (asinh_test_data): Likewise.
30476         (atan_test_data): Likewise.
30477         (atanh_test_data): Likewise.
30478         (atan2_test_data): Likewise.
30479         (cbrt_test_data): Likewise.
30480         (cos_test_data): Likewise.
30481         (cosh_test_data): Likewise.
30482         (erf_test_data): Likewise.
30483         (erfc_test_data): Likewise.
30484         (exp_test_data): Likewise.
30485         (exp10_test_data): Likewise.
30486         (exp2_test_data): Likewise.
30487         (expm1_test_data): Likewise.
30488         (hypot_test_data): Likewise.
30489         (j0_test_data): Likewise.
30490         (j1_test_data): Likewise.
30491         (jn_test_data): Likewise.
30492         (lgamma_test_data): Likewise.
30493         (log_test_data): Likewise.
30494         (log10_test_data): Likewise.
30495         (log1p_test_data): Likewise.
30496         (log2_test_data): Likewise.
30497         (pow_test_data): Likewise.
30498         (scalb_test_data): Likewise.
30499         (sin_test_data): Likewise.
30500         (sincos_test_data): Likewise.
30501         (sinh_test_data): Likewise.
30502         (tan_test_data): Likewise.
30503         (tanh_test_data): Likewise.
30504         (tgamma_test_data): Likewise.
30505         (y0_test_data): Likewise.
30506         (y1_test_data): Likewise.
30507         (yn_test_data): Likewise.
30509         [BZ #16167]
30510         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30511         argument being NaN and avoid computations with second argument in
30512         that case.
30513         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30514         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30515         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30517 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
30519         * locale/iso-639.def: Add Chitwani Tharu (the).
30521 2013-11-14  Andreas Schwab  <schwab@suse.de>
30523         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30524         word instead of empty string.
30526 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30529         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30531         (__fe_nomask_env): Likewise.
30533 2013-11-13  Steve Ellcey  <sellcey@mips.com>
30535         * benchtests/bench-timing.h: Include time.h.
30537 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
30539         [BZ #15997]
30540         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30541         to 3.4.0 for x32.
30542         * sysdeps/unix/sysv/linux/configure: Regenerated.
30544 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
30546         [BZ #16151]
30547         * stdlib/strtod_l.c (round_and_return): Do not consider
30548         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30549         exponent one less than half the least subnormal exponent.
30550         * stdlib/test-strtod-round-data: Add more tests.
30551         * stdlib/tst-strtod-round.c (tests): Regenerated.
30553 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30555         [BZ #14143]
30556         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30557         (__fe_mask_env): Likewise.
30558         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30559         libm_hidden_proto and add function prototype.
30560         (__fe_mask_env): Add function prototype.
30561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30562         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30564         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30566         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30568 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30570         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30571         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30573 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30575         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30576         of htab_find_slot().
30578 2013-11-11  David S. Miller  <davem@davemloft.net>
30580         [BZ #16150]
30581         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30582         symbol in the non-vis3 case in static builds.
30583         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30584         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30585         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30586         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30588 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
30590         [BZ #387]
30591         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30592         it is empty.
30594 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30596         * benchtests/Makefile: Add bench-strtod.
30597         * benchtests/bench-strtod.c: New file: strtod benchtest
30599 2013-11-11  Andreas Schwab  <schwab@suse.de>
30601         [BZ #16153]
30602         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30603         terminating NUL in key length.
30605 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30607         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30608         Add artificial ODP entry for vDSO symbol for PPC64.
30609         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30610         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30612 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
30614         [BZ #15374]
30615         * nss/getent.c (services_keys): Recognize services starting with digit.
30617 2013-11-06  David S. Miller  <davem@davemloft.net>
30619         [BZ #15985]
30620         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30621         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30623 2013-11-06  Will Newton  <will.newton@linaro.org>
30625         * manual/memory.texi (Malloc Examples): Remove register
30626         keyword from examples.
30628 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
30630         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30632 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
30634         [BZ #6981]
30635         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30636         depending on [__GCC_IEC_559 > 0].
30637         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30638         depending on [__GCC_IEC_559_COMPLEX > 0].
30640 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
30642         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30643         to iso-639.def.
30645 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
30647         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30649 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
30651         [BZ #16112]
30652         * malloc/malloc (malloc_info): Do not handle first bin as
30653         special case.
30655 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
30657         * locale/iso-639.def: Add Central Nahuatl (nhn).
30659 2013-11-01  Bruno Haible  <bruno@clisp.org>
30661         [BZ #7003]
30662         * manual/math.texi (BSD Random): Specify range upper bound as
30663         in POSIX.
30665 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
30667         * locale/iso-639.def: Add Meadow Mari (mhr).
30669 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
30671         [BZ #14752], [BZ #15763]
30672         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30673         Validate name.
30674         * rt/tst_shm.c: Add test for escaping directory.
30676 2013-10-31  Andreas Schwab  <schwab@suse.de>
30678         [BZ #15917]
30679         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30680         followed by 'x' as part of digit sequence.
30681         * stdio-common/tst-sscanf.c (double_tests2): New tests.
30683 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30685         [BZ #16037]
30686         * configure.ac: allow GNU Make 4.0 and greater.
30687         * configure: Regenerated.
30689 2013-10-30  Will Newton  <will.newton@linaro.org>
30691         [BZ #16038]
30692         * malloc/hooks.c (memalign_check): Limit alignment to the
30693         maximum representable power of two.
30694         * malloc/malloc.c (__libc_memalign): Likewise.
30695         * malloc/tst-memalign.c (do_test): Add test for very
30696         large alignment values.
30697         * malloc/tst-posix_memalign.c (do_test): Likewise.
30699 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
30701         [BZ #11087]
30702         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30703         (munmap_chunk): Likewise.
30704         (mremap_chunk): Likewise.
30706 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
30708         [BZ #15799]
30709         * stdlib/div.c (div): Remove obsolete code.
30710         * stdlib/ldiv.c (ldiv): Likewise.
30711         * stdlib/lldiv.c (lldiv): Likewise.
30713 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30715         [BZ #16071]
30716         * nss/nss_files/files-XXX.c (get_contents_ret): New
30717         enumerator.
30718         (get_contents): New function.
30719         (internal_getent): Use it.  Expand size of LINEBUFLEN.
30721 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
30723         * configure.in: Moved to ...
30724         * configure.ac: ... here. Change reference to configure.in
30725         to configure.ac.
30726         * sysdeps/arm/preconfigure.ac: ... here.
30727         configure.in to configure.ac.
30728         * sysdeps/gnu/configure.in: Moved to ...
30729         * sysdeps/gnu/configure.ac: ... here.
30730         * sysdeps/i386/configure.in: Moved to ...
30731         * sysdeps/i386/configure.ac: ... here.
30732         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30733         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30734         * sysdeps/mach/configure.in: Moved to ...
30735         * sysdeps/mach/configure.ac: ... here.
30736         * sysdeps/mach/hurd/configure.in: Moved to ...
30737         * sysdeps/mach/hurd/configure.ac: ... here.
30738         * sysdeps/powerpc/configure.in: Moved to ...
30739         * sysdeps/powerpc/configure.ac: ... here.
30740         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30741         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30742         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30743         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30744         * sysdeps/s390/s390-32/configure.in: Moved to ...
30745         * sysdeps/s390/s390-32/configure.ac: ... here.
30746         * sysdeps/s390/s390-64/configure.in: Moved to ...
30747         * sysdeps/s390/s390-64/configure.ac: ... here.
30748         * sysdeps/sh/configure.in: Moved to ...
30749         * sysdeps/sh/configure.ac: ... here.
30750         * sysdeps/sparc/configure.in: Moved to ...
30751         * sysdeps/sparc/configure.ac: ... here.
30752         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30753         * sysdeps/unix/sysv/linux/configure.ac: ... here.
30754         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30755         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30756         * sysdeps/x86_64/configure.in: Moved to ...
30757         * sysdeps/x86_64/configure.ac: ... here.
30758         * sysdeps/x86_64/preconfigure.in: Moved to ...
30759         * sysdeps/x86_64/preconfigure.ac: ... here.
30760         * aclocal.m4: Change reference to configure.in to configure.ac.
30761         * config.h.in: Likewise.
30762         * manual/install.texi: Likewise.
30763         * manual/maint.texi: Likewise.
30764         * Makefile: Likewise.
30765         * malloc/Makefile: Likewise.
30766         * nscd/Makefile: Likewise.
30767         * Makeconfig: Change reference to configure.in and
30768         preconfigure.in to configure.ac and preconfigure.ac
30769         respectively.
30770         * INSTALL: Regenerated.
30771         * configure: Likewise.
30772         * sysdeps/gnu/configure: Likewise.
30773         * sysdeps/i386/configure: Likewise.
30774         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30775         * sysdeps/mach/configure: Likewise.
30776         * sysdeps/mach/hurd/configure: Likewise.
30777         * sysdeps/powerpc/configure: Likewise.
30778         * sysdeps/powerpc/powerpc32/configure: Likewise.
30779         * sysdeps/powerpc/powerpc64/configure: Likewise.
30780         * sysdeps/s390/s390-32/configure: Likewise.
30781         * sysdeps/s390/s390-64/configure: Likewise.
30782         * sysdeps/sh/configure: Likewise.
30783         * sysdeps/sparc/configure: Likewise.
30784         * sysdeps/unix/sysv/linux/configure: Likewise.
30785         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30786         * sysdeps/x86_64/configure: Likewise.
30787         * sysdeps/x86_64/preconfigure: Likewise.
30789 2013-10-29  Andreas Schwab  <schwab@suse.de>
30791         * stdio-common/Makefile (tst-swscanf-ENV): Define.
30793 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30795         * benchtests/pow-inputs: Add new inputs.
30797         * benchtests/exp-inputs: Add new inputs.
30799         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30800         conditional check for return value.
30801         (__cos32): Likewise.
30803 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30805         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30806         to provide a boost for large inputs with word alignment.
30807         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30808         implementation based on optimized PPC64 strcpy.
30809         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30810         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30811         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30812         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30814 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30816         [BZ #2801]
30817         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30819 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30821         [BZ #14876]
30822         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30823         * time/tst-strptime.c (day_tests): Add testcase.
30825 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30827         [BZ #14029]
30828         * manual/pattern.texi: Acknowledge that fnmatch can fail.
30830 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
30832         [BZ #16074]
30833         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30834         MAP_FAILED on error.
30836 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30838         [BZ #16072]
30839         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30840         heap for large requests.
30842 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
30844         [BZ #9954]
30845         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30846         result if the result has no associated interface.
30847         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30848         interface for all 127.X.Y.Z addresses.
30850 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
30852         * locale/iso-639.def: Add Ligurian (lij)
30854 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
30856         [BZ #15825]
30857         * sunrpc/rpc_main.c: Document rpcgen -5.
30859 2013-10-19  Michael Stahl  <mstahl@redhat.com>
30861         * elf/rtld.c (do_preload): Print the reason why preloading failed.
30863 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
30865         [BZ #10278]
30866         * posix/glob.c: Match only directories when trailing slash is present.
30867         * posix/tst-gnuglob.c (my_opendir): Do not open files.
30868         (main): Add testcase.
30870 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
30872         [BZ #15670]
30873         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30875 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
30877         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30878         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30879         AUTH_DES and cindex for FIPS 140-2.
30880         (DES Encryption): Add cindex FIPS 46-3.
30882         * locale/locarchive.h (struct locarhandle): Add fname.
30883         * locale/programs/localedef.c (main): Pass ARGV[remaining]
30884         if an optional argument was specified to --list-archive,
30885         otherwise NULL.
30886         * locale/programs/locarchive.c (show_archive_content): Take new
30887         argument fname and pass it via ah.fname to open_archive.
30888         * locale/programs/localedef.h: Update decl.
30889         (open_archive): If AH->fname is non-null, open that file
30890         rather than the default file name, and don't ignore ENOENT.
30891         (create_archive): Set AH.fname to NULL.
30892         (delete_locales_from_archive): Likewise.
30893         (add_locales_to_archive): Likewise.
30894         * locale/programs/locfile.c (write_all_categories): Likewise.
30896 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
30897             Aldy Hernandez  <aldyh@redhat.com>
30899         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30900         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30901         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30902         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30903         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30904         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30905         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30906         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30907         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30909         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30910         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30911         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30912         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30913         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30914         Likewise.
30915         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30916         Likewise.
30917         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30918         Likewise.
30919         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30920         Likewise.
30921         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30922         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30923         Likewise.
30924         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30925         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30926         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30927         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30928         Likewise.
30929         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30930         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30931         * sysdeps/powerpc/preconfigure: Likewise.
30932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30933         Likewise.
30934         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30935         Replace contents of file by #include of <fenv_libc.h>.
30936         * sysdeps/powerpc/soft-fp/sfp-machine.h
30937         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30938         and <sys/prctl.h>.
30939         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30940         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30941         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30942         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30943         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30944         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30945         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30946         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30947         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30948         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30949         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30950         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30952         Allow copysignl PLT reference to be missing.
30954 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
30955             Joseph Myers  <joseph@codesourcery.com
30957         [BZ #15948]
30958         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30959         single character.
30960         (add_to_tablewc): Assert sequence of wide characters is nonempty.
30962 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30964         * elf/tst-tls-dlinfo.c: Don't include tls.h.
30965         * elf/tst-tls1.c: Likewise.
30966         * elf/tst-tls10.h: Likewise.
30967         * elf/tst-tls14.c: Likewise.
30968         * elf/tst-tls2.c: Likewise.
30969         * elf/tst-tls3.c: Likewise.
30970         * elf/tst-tls4.c: Likewise.
30971         * elf/tst-tls5.c: Likewise.
30972         * elf/tst-tls6.c: Likewise.
30973         * elf/tst-tls7.c: Likewise.
30974         * elf/tst-tls8.c: Likewise.
30975         * elf/tst-tls9.c: Likewise.
30976         * elf/tst-tlsmod1.c: Likewise.
30977         * elf/tst-tlsmod13.c: Likewise.
30978         * elf/tst-tlsmod13a.c: Likewise.
30979         * elf/tst-tlsmod14a.c: Likewise.
30980         * elf/tst-tlsmod16a.c: Likewise.
30981         * elf/tst-tlsmod16b.c: Likewise.
30982         * elf/tst-tlsmod2.c: Likewise.
30983         * elf/tst-tlsmod3.c: Likewise.
30984         * elf/tst-tlsmod4.c: Likewise.
30985         * elf/tst-tlsmod5.c: Likewise.
30986         * elf/tst-tlsmod6.c: Likewise.
30988 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30990         [BZ #12486]
30991         * malloc/malloc.c: remove checks for statistics.
30993 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30995         [BZ #15277]
30996         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30997         * inet/tst-network.c: Add testcase.
30999 2013-10-17  Andreas Schwab  <schwab@suse.de>
31001         [BZ #15218]
31002         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
31003         to determine canonical name.
31005 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
31007         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
31008         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
31009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31010         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31012         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31013         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31014         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31015         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31016         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31017         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31018         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31019         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31020         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31021         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31022         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31023         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31024         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31025         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
31026         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31027         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31028         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31030         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
31031         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
31032         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31033         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31034         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
31035         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31036         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
31037         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31038         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31039         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
31040         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31041         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
31042         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
31043         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31044         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
31045         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
31046         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31047         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
31048         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
31049         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
31050         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
31051         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
31052         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31053         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
31054         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
31055         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
31056         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
31057         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
31058         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31059         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
31060         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
31061         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31062         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
31063         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31064         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
31066 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
31068         [BZ #16041]
31069         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
31070         make result into a quiet NaN.
31072 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
31074         * soft-fp/adddf3.c: Fix horizontal whitespace.
31075         * soft-fp/addsf3.c: Likewise.
31076         * soft-fp/addtf3.c: Likewise.
31077         * soft-fp/divdf3.c: Likewise.
31078         * soft-fp/divsf3.c: Likewise.
31079         * soft-fp/divtf3.c: Likewise.
31080         * soft-fp/double.h: Likewise.
31081         * soft-fp/eqdf2.c: Likewise.
31082         * soft-fp/eqsf2.c: Likewise.
31083         * soft-fp/eqtf2.c: Likewise.
31084         * soft-fp/extenddftf2.c: Likewise.
31085         * soft-fp/extended.h: Likewise.
31086         * soft-fp/extendsfdf2.c: Likewise.
31087         * soft-fp/extendsftf2.c: Likewise.
31088         * soft-fp/extendxftf2.c: Likewise.
31089         * soft-fp/fixdfdi.c: Likewise.
31090         * soft-fp/fixdfsi.c: Likewise.
31091         * soft-fp/fixdfti.c: Likewise.
31092         * soft-fp/fixsfdi.c: Likewise.
31093         * soft-fp/fixsfsi.c: Likewise.
31094         * soft-fp/fixsfti.c: Likewise.
31095         * soft-fp/fixtfdi.c: Likewise.
31096         * soft-fp/fixtfsi.c: Likewise.
31097         * soft-fp/fixtfti.c: Likewise.
31098         * soft-fp/fixunsdfdi.c: Likewise.
31099         * soft-fp/fixunsdfsi.c: Likewise.
31100         * soft-fp/fixunsdfti.c: Likewise.
31101         * soft-fp/fixunssfdi.c: Likewise.
31102         * soft-fp/fixunssfsi.c: Likewise.
31103         * soft-fp/fixunssfti.c: Likewise.
31104         * soft-fp/fixunstfdi.c: Likewise.
31105         * soft-fp/fixunstfsi.c: Likewise.
31106         * soft-fp/fixunstfti.c: Likewise.
31107         * soft-fp/floatdidf.c: Likewise.
31108         * soft-fp/floatdisf.c: Likewise.
31109         * soft-fp/floatditf.c: Likewise.
31110         * soft-fp/floatsidf.c: Likewise.
31111         * soft-fp/floatsisf.c: Likewise.
31112         * soft-fp/floatsitf.c: Likewise.
31113         * soft-fp/floattidf.c: Likewise.
31114         * soft-fp/floattisf.c: Likewise.
31115         * soft-fp/floattitf.c: Likewise.
31116         * soft-fp/floatundidf.c: Likewise.
31117         * soft-fp/floatundisf.c: Likewise.
31118         * soft-fp/floatunditf.c: Likewise.
31119         * soft-fp/floatunsidf.c: Likewise.
31120         * soft-fp/floatunsisf.c: Likewise.
31121         * soft-fp/floatunsitf.c: Likewise.
31122         * soft-fp/floatuntidf.c: Likewise.
31123         * soft-fp/floatuntisf.c: Likewise.
31124         * soft-fp/floatuntitf.c: Likewise.
31125         * soft-fp/fmadf4.c: Likewise.
31126         * soft-fp/fmasf4.c: Likewise.
31127         * soft-fp/fmatf4.c: Likewise.
31128         * soft-fp/gedf2.c: Likewise.
31129         * soft-fp/gesf2.c: Likewise.
31130         * soft-fp/getf2.c: Likewise.
31131         * soft-fp/ledf2.c: Likewise.
31132         * soft-fp/lesf2.c: Likewise.
31133         * soft-fp/letf2.c: Likewise.
31134         * soft-fp/muldf3.c: Likewise.
31135         * soft-fp/mulsf3.c: Likewise.
31136         * soft-fp/multf3.c: Likewise.
31137         * soft-fp/negdf2.c: Likewise.
31138         * soft-fp/negsf2.c: Likewise.
31139         * soft-fp/negtf2.c: Likewise.
31140         * soft-fp/op-1.h: Likewise.
31141         * soft-fp/op-2.h: Likewise.
31142         * soft-fp/op-4.h: Likewise.
31143         * soft-fp/op-8.h: Likewise.
31144         * soft-fp/op-common.h: Likewise.
31145         * soft-fp/quad.h: Likewise.
31146         * soft-fp/single.h: Likewise.
31147         * soft-fp/soft-fp.h: Likewise.
31148         * soft-fp/sqrtdf2.c: Likewise.
31149         * soft-fp/sqrtsf2.c: Likewise.
31150         * soft-fp/sqrttf2.c: Likewise.
31151         * soft-fp/subdf3.c: Likewise.
31152         * soft-fp/subsf3.c: Likewise.
31153         * soft-fp/subtf3.c: Likewise.
31154         * soft-fp/truncdfsf2.c: Likewise.
31155         * soft-fp/trunctfdf2.c: Likewise.
31156         * soft-fp/trunctfsf2.c: Likewise.
31157         * soft-fp/trunctfxf2.c: Likewise.
31158         * soft-fp/unorddf2.c: Likewise.
31159         * soft-fp/unordsf2.c: Likewise.
31160         * soft-fp/unordtf2.c: Likewise.
31162 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
31164         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
31165         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
31167 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
31169         * elf/dl-libc.c: Clear initfini list after freeing.
31171 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
31173         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
31174         * soft-fp/addsf3.c: Likewise.
31175         * soft-fp/addtf3.c: Likewise.
31176         * soft-fp/divdf3.c: Likewise.
31177         * soft-fp/divsf3.c: Likewise.
31178         * soft-fp/divtf3.c: Likewise.
31179         * soft-fp/double.h: Likewise.
31180         * soft-fp/eqdf2.c: Likewise.
31181         * soft-fp/eqsf2.c: Likewise.
31182         * soft-fp/eqtf2.c: Likewise.
31183         * soft-fp/extenddftf2.c: Likewise.
31184         * soft-fp/extended.h: Likewise.
31185         * soft-fp/extendsfdf2.c: Likewise.
31186         * soft-fp/extendsftf2.c: Likewise.
31187         * soft-fp/extendxftf2.c: Likewise.
31188         * soft-fp/fixdfdi.c: Likewise.
31189         * soft-fp/fixdfsi.c: Likewise.
31190         * soft-fp/fixdfti.c: Likewise.
31191         * soft-fp/fixsfdi.c: Likewise.
31192         * soft-fp/fixsfsi.c: Likewise.
31193         * soft-fp/fixsfti.c: Likewise.
31194         * soft-fp/fixtfdi.c: Likewise.
31195         * soft-fp/fixtfsi.c: Likewise.
31196         * soft-fp/fixtfti.c: Likewise.
31197         * soft-fp/fixunsdfdi.c: Likewise.
31198         * soft-fp/fixunsdfsi.c: Likewise.
31199         * soft-fp/fixunsdfti.c: Likewise.
31200         * soft-fp/fixunssfdi.c: Likewise.
31201         * soft-fp/fixunssfsi.c: Likewise.
31202         * soft-fp/fixunssfti.c: Likewise.
31203         * soft-fp/fixunstfdi.c: Likewise.
31204         * soft-fp/fixunstfsi.c: Likewise.
31205         * soft-fp/fixunstfti.c: Likewise.
31206         * soft-fp/floatdidf.c: Likewise.
31207         * soft-fp/floatdisf.c: Likewise.
31208         * soft-fp/floatditf.c: Likewise.
31209         * soft-fp/floatsidf.c: Likewise.
31210         * soft-fp/floatsisf.c: Likewise.
31211         * soft-fp/floatsitf.c: Likewise.
31212         * soft-fp/floattidf.c: Likewise.
31213         * soft-fp/floattisf.c: Likewise.
31214         * soft-fp/floattitf.c: Likewise.
31215         * soft-fp/floatundidf.c: Likewise.
31216         * soft-fp/floatundisf.c: Likewise.
31217         * soft-fp/floatunsidf.c: Likewise.
31218         * soft-fp/floatunsisf.c: Likewise.
31219         * soft-fp/floatuntidf.c: Likewise.
31220         * soft-fp/floatuntisf.c: Likewise.
31221         * soft-fp/floatuntitf.c: Likewise.
31222         * soft-fp/fmadf4.c: Likewise.
31223         * soft-fp/fmasf4.c: Likewise.
31224         * soft-fp/fmatf4.c: Likewise.
31225         * soft-fp/gedf2.c: Likewise.
31226         * soft-fp/gesf2.c: Likewise.
31227         * soft-fp/getf2.c: Likewise.
31228         * soft-fp/ledf2.c: Likewise.
31229         * soft-fp/lesf2.c: Likewise.
31230         * soft-fp/letf2.c: Likewise.
31231         * soft-fp/muldf3.c: Likewise.
31232         * soft-fp/mulsf3.c: Likewise.
31233         * soft-fp/multf3.c: Likewise.
31234         * soft-fp/negdf2.c: Likewise.
31235         * soft-fp/negsf2.c: Likewise.
31236         * soft-fp/negtf2.c: Likewise.
31237         * soft-fp/op-1.h: Likewise.
31238         * soft-fp/op-2.h: Likewise.
31239         * soft-fp/op-4.h: Likewise.
31240         * soft-fp/op-8.h: Likewise.
31241         * soft-fp/op-common.h: Likewise.
31242         * soft-fp/quad.h: Likewise.
31243         * soft-fp/single.h: Likewise.
31244         * soft-fp/soft-fp.h: Likewise.
31245         * soft-fp/sqrtdf2.c: Likewise.
31246         * soft-fp/sqrtsf2.c: Likewise.
31247         * soft-fp/sqrttf2.c: Likewise.
31248         * soft-fp/subdf3.c: Likewise.
31249         * soft-fp/subsf3.c: Likewise.
31250         * soft-fp/subtf3.c: Likewise.
31251         * soft-fp/truncdfsf2.c: Likewise.
31252         * soft-fp/trunctfdf2.c: Likewise.
31253         * soft-fp/trunctfsf2.c: Likewise.
31254         * soft-fp/trunctfxf2.c: Likewise.
31255         * soft-fp/unorddf2.c: Likewise.
31256         * soft-fp/unordsf2.c: Likewise.
31257         * soft-fp/unordtf2.c: Likewise.
31259 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
31261         [BZ #15672]
31262         * misc/error.c (error_tail): Fix possible buffer overflow.
31264 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
31266         [BZ #13028]
31267         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31268         address.
31270 2013-10-14  P. J. McDermott  <pj@pehjota.net>
31272         [BZ #832]
31273         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
31274         testing pipefail option.
31276 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31278         * soft-fp/double.h: Indent preprocessor directives inside #if.
31279         * soft-fp/extended.h: Likewise.
31280         * soft-fp/op-2.h: Likewise.
31281         * soft-fp/op-4.h: Likewise.
31282         * soft-fp/op-common.h: Likewise.
31283         * soft-fp/quad.h: Likewise.
31284         * soft-fp/single.h: Likewise.
31285         * soft-fp/soft-fp.h: Likewise.
31287 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
31289         * iconv/iconv_prog.c: Fix typos.
31290         * stdio-common/psiginfo-data.h: Likewise.
31292 2013-10-12   Reuben Thomas <rrt@sc3d.org>
31294         [BZ #15764]
31295         * locale/setlocale.c: Fix typo.
31297 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31299         [BZ #16036]
31300         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31301         signaling NaN arguments.
31302         * soft-fp/unordsf2.c (__unordsf2): Likewise.
31303         * soft-fp/unordtf2.c (__unordtf2): Likewise.
31305         [BZ #14910]
31306         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31307         unordered operands.
31308         * soft-fp/gesf2.c (__gesf2): Likewise.
31309         * soft-fp/getf2.c (__getf2): Likewise.
31310         * soft-fp/ledf2.c (__ledf2): Likewise.
31311         * soft-fp/lesf2.c (__lesf2): Likewise.
31312         * soft-fp/letf2.c (__letf2): Likewise.
31314         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31315         * soft-fp/eqsf2.c (__eqsf2): Likewise.
31316         * soft-fp/eqtf2.c (__eqtf2): Likewise.
31317         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31318         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31319         * soft-fp/fixdfti.c (__fixdfti): Likewise.
31320         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31321         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31322         * soft-fp/fixsfti.c (__fixsfti): Likewise.
31323         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31324         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31325         * soft-fp/fixtfti.c (__fixtfti): Likewise.
31326         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31327         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31328         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31329         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31330         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31331         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31332         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31333         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31334         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31335         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31336         * soft-fp/floatdisf.c (__floatdisf): Likewise.
31337         * soft-fp/floatsisf.c (__floatsisf): Likewise.
31338         * soft-fp/floattidf.c (__floattidf): Likewise.
31339         * soft-fp/floattisf.c (__floattisf): Likewise.
31340         * soft-fp/floattitf.c (__floattitf): Likewise.
31341         * soft-fp/floatundidf.c (__floatundidf): Likewise.
31342         * soft-fp/floatundisf.c (__floatundisf): Likewise.
31343         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31344         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31345         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31346         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31347         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31348         * soft-fp/gesf2.c (__gesf2): Likewise.
31349         * soft-fp/getf2.c (__getf2): Likewise.
31350         * soft-fp/ledf2.c (__ledf2): Likewise.
31351         * soft-fp/lesf2.c (__lesf2): Likewise.
31352         * soft-fp/letf2.c (__letf2): Likewise.
31354         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31355         Undefine and redefine.
31356         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31357         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31358         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31359         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31360         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31361         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31362         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31363         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31364         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31365         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31366         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31367         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31368         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31369         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31370         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31372         [BZ #16032]
31373         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31374         without decrementing exponent if mantissa >= that for the
31375         denominator, not >.
31376         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31377         denominator, not >.  Decrement exponent in < case instead of
31378         incrementing in >= case.
31379         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31380         without decrementing exponent if mantissa >= that for the
31381         denominator, not >.
31383         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31384         computing saturated result for unsigned overflow.
31386 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31387             Jeff Law  <law@redhat.com>
31389         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31390         (atan2Mp): Add systemtap probe marker.
31391         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31392         (__ieee754_log): Add systemtap probe marker.
31393         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31394         (atanMp): Add systemtap probe marker.
31395         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31396         (tanMp): Add systemtap probe marker.
31397         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31398         (__slowexp): Add systemtap probe marker.
31399         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31400         (__slowpow): Add systemtap probe marker.
31401         * manual/probes.texi: Document probes.
31403 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
31405         [BZ #15362]
31406         * libio/fileops.c (_IO_new_file_write): Return count of bytes
31407         written.
31408         (_IO_new_file_xsputn): Don't return EOF if nothing has been
31409         written.
31410         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31411         written to buffer but not flushed.
31412         * libio/iofwrite_u.c:  Likewise.
31413         * libio/iopadn.c:  Return bytes returned even if EOF was
31414         encountered.
31415         * libio/iowpadn.c:  Likewise.
31416         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31417         if _IO_padn does not write the whole buffer.
31418         [!COMPILE_WPRINTF] (PAD): Likewise.
31420 2013-10-10  David S. Miller  <davem@davemloft.net>
31422         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31423         directory block.
31425 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31427         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
31428         instead of FSF address.
31429         * soft-fp/fixdfti.c: Likewise.
31430         * soft-fp/fixsfti.c: Likewise.
31431         * soft-fp/fixtfti.c: Likewise.
31432         * soft-fp/fixunsdfti.c: Likewise.
31433         * soft-fp/fixunssfti.c: Likewise.
31434         * soft-fp/fixunstfti.c: Likewise.
31435         * soft-fp/floattidf.c: Likewise.
31436         * soft-fp/floattisf.c: Likewise.
31437         * soft-fp/floattitf.c: Likewise.
31438         * soft-fp/floatuntidf.c: Likewise.
31439         * soft-fp/floatuntisf.c: Likewise.
31440         * soft-fp/floatuntitf.c: Likewise.
31441         * soft-fp/trunctfxf2.c: Likewise.
31443         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
31444         * soft-fp/fixdfti.c: Likewise.
31445         * soft-fp/fixsfti.c: Likewise.
31446         * soft-fp/fixtfti.c: Likewise.
31447         * soft-fp/fixunsdfti.c: Likewise.
31448         * soft-fp/fixunssfti.c: Likewise.
31449         * soft-fp/fixunstfti.c: Likewise.
31450         * soft-fp/floattidf.c: Likewise.
31451         * soft-fp/floattisf.c: Likewise.
31452         * soft-fp/floattitf.c: Likewise.
31453         * soft-fp/floatuntidf.c: Likewise.
31454         * soft-fp/floatuntisf.c: Likewise.
31455         * soft-fp/floatuntitf.c: Likewise.
31456         * soft-fp/trunctfxf2.c: Likewise.
31458 2013-10-10  David S. Miller  <davem@davemloft.net>
31460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31462 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
31464         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31465         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31466         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31467         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31468         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31469         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31470         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31472         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31473         for NaNs before doing comparisons on argument.
31474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31475         Likewise.
31477 2013-10-10  Will Newton  <will.newton@linaro.org>
31479         * malloc/hooks.c (memalign_check): Ensure the value of bytes
31480         passed to _int_memalign does not overflow.
31482 2013-10-10  Torvald Riegel  <triegel@redhat.com>
31484         * scripts/bench.pl: Add include-sources directive.
31485         * benchtests/README: Update documentation.
31487 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31489         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31490         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31491         instead of FP_INIT_ROUNDMODE.
31492         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31493         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31495         [BZ #16034]
31496         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
31497         copy class of input value.
31498         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
31499         not handle exceptions.
31500         * soft-fp/negsf2.c (__negsf2): Likewise.
31501         * soft-fp/negtf2.c (__negtf2): Likewise.
31502         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31504 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
31506         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31507         semicolon.  From Linux kernel.
31509 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
31511         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31513 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
31515         [BZ #156]
31516         * manual/socket.texi: Added statement about buffer
31517         for gethostbyname2_r.
31519 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
31521         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31522         Use .p2align directive instead, throughout.
31523         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31524         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31525         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31526         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31528         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31529         * sysdeps/x86_64/strchr.S: Likewise.
31530         * sysdeps/x86_64/strrchr.S: Likewise.
31532 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31534         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31536         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31538         * sysdeps/generic/math_private.h (__mpsin1): Remove
31539         declaration.
31540         (__mpcos1): Likewise.
31541         (__mpsin): New argument __range_reduce.
31542         (__mpcos): Likewise.
31543         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31544         (slow): Use __mpsin and __mpcos.
31545         (slow1): Likewise.
31546         (slow2): Likewise.
31547         (sloww): Likewise.
31548         (sloww1): Likewise.
31549         (sloww2): Likewise.
31550         (bsloww): Likewise.
31551         (bsloww1): Likewise.
31552         (bsloww2): Likewise.
31553         (cslow2): Likewise.
31554         (csloww): Likewise.
31555         (csloww1): Likewise.
31556         (csloww2): Likewise.
31557         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31558         range_reduce.  Merge in __mpsin1.
31559         (__mpcos): Likewise.
31560         (__mpsin1): Remove.
31561         (__mpcos1): Likewise.
31563 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
31565         * locale/loadlocale.c (_nl_intern_locale_data): Use
31566         LOCFILE_ALIGNED_P.
31567         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31568         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31569         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31570         obstack data is appropriately aligned.
31571         (obstack_int32_grow_fast): Likewise.
31572         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31573         * locale/programs/locfile.c (add_locale_uint32): Likewise.
31574         (add_locale_uint32_array): Likewise.
31576 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31578         * benchtests/Makefile: Remove ARGLIST and RET variables.
31579         ($(objpfx)bench-%.c): Pass only function name to the script.
31580         * benchtests/README: Update documentation.
31581         * benchtests/acos-inputs: Add new directives.
31582         * benchtests/acosh-inputs: Likewise.
31583         * benchtests/asin-inputs: Likewise.
31584         * benchtests/asinh-inputs: Likewise.
31585         * benchtests/atan-inputs: Likewise.
31586         * benchtests/atanh-inputs: Likewise.
31587         * benchtests/cos-inputs: Likewise.
31588         * benchtests/cosh-inputs: Likewise.
31589         * benchtests/exp-inputs: Likewise.
31590         * benchtests/log-inputs: Likewise.
31591         * benchtests/pow-inputs: Likewise.
31592         * benchtests/rint-inputs: Likewise.
31593         * benchtests/sin-inputs: Likewise.
31594         * benchtests/sinh-inputs: Likewise.
31595         * benchtests/tan-inputs: Likewise.
31596         * benchtests/tanh-inputs: Likewise.
31597         * scripts/bench.pl: Add support for new directives.
31599 2013-10-07  Alan Modra  <amodra@gmail.com>
31601         * README: Fix careless merge.
31603 2013-10-05  Alan Modra  <amodra@gmail.com>
31605         * NEWS: Mention powerpc64le support and bugs fixed.
31606         * README: Both big-endian and little-endian powerpc64 supported.
31608 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31610         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31611         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31612         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31613         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31615 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
31617         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31618         match prototype.
31620 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
31622         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31623         Move -mhard-float appending from
31624         ports/sysdeps/powerpc/powerpc32/Makefile.
31625         [$(with-fp) = yes] (ASFLAGS): Likewise.
31626         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31627         * sysdeps/powerpc/nofpu: Move directory from
31628         ports/sysdeps/powerpc/nofpu.
31629         * sysdeps/powerpc/soft-fp: Move directory from
31630         ports/sysdeps/powerpc/soft-fp.
31631         * sysdeps/powerpc/powerpc32/405: Move directory from
31632         ports/sysdeps/powerpc/powerpc32/405.
31633         * sysdeps/powerpc/powerpc32/440: Move directory from
31634         ports/sysdeps/powerpc/powerpc32/440.
31635         * sysdeps/powerpc/powerpc32/464: Move directory from
31636         ports/sysdeps/powerpc/powerpc32/464.
31637         * sysdeps/powerpc/powerpc32/476: Move directory from
31638         ports/sysdeps/powerpc/powerpc32/476.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31640         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31642         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31644         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31646         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31648         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31649         * README: Update for powerpc-*-linux-gnu software floating point
31650         support in libc.
31652         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31653         case to powerpc/powerpc32*.
31654         * sysdeps/unix/sysv/linux/configure: Regenerated.
31656         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31657         (_FPU_MASK_OM): Define as 0x04.
31658         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31659         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31660         0x00c10080.
31661         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31662         0x0000003c.
31663         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31666         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31667         getcontext_e500.
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31669         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31670         setcontext_e500.
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31672         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31673         and setcontext_e500.
31675 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
31677         * locale/iso-3166.def: Update iso-1366.def and related occurrences
31679 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31681         * manual/threads.texi (Default Thread Attributes): Fix typo.
31683 2013-10-04  Will Newton  <will.newton@linaro.org>
31685         * malloc/Makefile: Add tst-memalign.
31686         * malloc/tst-memalign.c: New file.
31688         * malloc/tst-posix_memalign.c: Add comments.
31689         (do_test): Add comments and call free on all potentially
31690         allocated pointers. Add space after cast.
31692         * malloc/tst-pvalloc.c: Add comments.
31693         (do_test): Add comments and call free on all potentially
31694         allocated pointers. Remove duplicate check for NULL pointer.
31695         Add space after cast.
31697         * malloc/tst-valloc.c: Add comments.
31698         (do_test): Add comments and call free on all potentially
31699         allocated pointers. Remove duplicate check for NULL pointer.
31700         Add space after cast.
31702 2013-10-04  Alan Modra  <amodra@gmail.com>
31704         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31705         Use stdint types in rather than __attribute__((mode())).
31706         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31708 2013-10-04  Alan Modra  <amodra@gmail.com>
31710         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31711         Correct handling of unaligned relocs for little-endian.
31712         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31714 2013-10-04  Alan Modra  <amodra@gmail.com>
31716         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31717         * configure: Regenerate.
31718         * nptl/shlib-versions: Powerpc*le starts at 2.18.
31719         * shlib-versions: Likewise.
31721 2013-10-04  Alan Modra  <amodra@gmail.com>
31723         * string/tester.c (test_memrchr): Increment reported test cycle.
31725 2013-10-04  Alan Modra  <amodra@gmail.com>
31727         * string/test-memcpy.c (do_one_test): When reporting errors, print
31728         string address and don't overrun end of string.
31730 2013-10-04  Alan Modra  <amodra@gmail.com>
31732         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31733         insrdi.  Make better use of reg selection to speed exit slightly.
31734         Schedule entry path a little better.  Remove useless "are we done"
31735         checks on entry to main loop.  Handle wrapping around zero address.
31736         Correct main loop count.  Handle single left-over word from main
31737         loop inline rather than by using loop_small.  Remove extra word
31738         case in loop_small caused by wrong loop count.  Add little-endian
31739         support.
31740         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
31742         cache hint.
31743         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31744         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31745         support.  Avoid rlwimi.
31746         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31748 2013-10-04  Alan Modra  <amodra@gmail.com>
31750         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31751         insrdi.  Formatting.
31752         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31753         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31754         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31755         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31756         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31757         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31759 2013-10-04  Alan Modra  <amodra@gmail.com>
31761         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31763         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31764         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31765         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31766         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31767         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31768         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31769         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
31770         use of regs.  Use power7 mtocrf.  Tidy function tails.
31772 2013-10-04  Alan Modra  <amodra@gmail.com>
31774         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31775         Formatting.  Consistently use rXXX register defines or rN defines.
31776         Use early exit labels that avoid restoring unused non-volatile regs.
31777         Make cr field use more consistent with rWORDn compares.  Rename
31778         regs used as shift registers for unaligned loop, using rN defines
31779         for short lifetime/multiple use regs.
31780         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
31782         addi 1,1,64 to pop stack frame.  Simplify return value code.
31783         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31785 2013-10-04  Alan Modra  <amodra@gmail.com>
31787         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31788         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
31789         rather than rlwimi.
31790         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31791         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31792         little-endian support.  Correct typos.
31793         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
31794         rather than rlwimi.
31795         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
31796         in loop and entry code to keep "and." results.
31797         (strchr): Add little-endian support.  Comment.  Move cntlzd
31798         earlier in tail.
31799         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31801 2013-10-04  Alan Modra  <amodra@gmail.com>
31803         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31804         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31805         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31806         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31808 2013-10-04  Alan Modra  <amodra@gmail.com>
31810         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31811         (rTMP): Define as r11.
31812         (strcmp): Add little-endian support.  Optimise tail.
31813         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31814         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31815         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31816         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31817         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31818         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31819         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31821 2013-10-04  Alan Modra  <amodra@gmail.com>
31823         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31824         little-endian support.  Remove unnecessary "are we done" tests.
31825         Handle "s" wrapping around zero and extremely large "size".
31826         Correct main loop count.  Handle single left-over word from main
31827         loop inline rather than by using small_loop.  Correct comments.
31828         Delete "zero" tail, use "end_max" instead.
31829         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31831 2013-10-04  Alan Modra  <amodra@gmail.com>
31833         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31834         support.  Don't branch over align.
31835         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31836         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31837         support.  Rearrange tmp reg use to suit.  Comment.
31838         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31840 2013-10-04  Alan Modra  <amodra@gmail.com>
31842         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31844 2013-10-04  Alan Modra  <amodra@gmail.com>
31846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31847         conditional form of branch and link when obtaining pc.
31848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31850 2013-10-04  Alan Modra  <amodra@gmail.com>
31852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31853         HIWORD/LOWORD.
31854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31857 2013-10-04  Alan Modra  <amodra@gmail.com>
31859         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31860         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31861         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31862         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31863         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31864         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31865         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31866         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31867         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31868         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31870 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31871             Alistair Popple <alistair@ozlabs.au.ibm.com>
31872             Alan Modra <amodra@gmail.com>
31874         [BZ #15723]
31875         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31876         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31877         _dl_hwcap access for little-endian.
31878         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
31879         destroy vmx regs when saving unaligned.
31880         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31881         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
31882         destroy vmx regs when saving unaligned.
31884 2013-10-04  Alan Modra  <amodra@gmail.com>
31886         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31887         Don't use a union to pack hi/low value.
31889 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31891         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31892         for little-endian.
31893         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31894         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31895         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31896         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31897         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31899 2013-10-04  Alan Modra  <amodra@gmail.com>
31901         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31902         constants to usual value for .cst8 section, and remove redundant
31903         high address load.
31904         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31905         constant for 0x1p52.  Load little-endian words of double from
31906         correct stack offsets.
31908 2013-10-04  Alan Modra  <amodra@gmail.com>
31910         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31911         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31912         words of double from correct stack offsets.
31913         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31914         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31915         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31916         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31918         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31920         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31921         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31922         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31925         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31926         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31927         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31928         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31929         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31931 2013-10-04  Alan Modra  <amodra@gmail.com>
31933         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31934         64-bit int/double union.
31935         (_FPU_SETCW): Likewise.
31936         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31937         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31939 2013-10-04  Alan Modra  <amodra@gmail.com>
31941         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31942         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31944 2013-10-04  Alan Modra  <amodra@gmail.com>
31946         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31947         use vector int constants.
31948         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31950 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31952         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31953         array with long long.
31954         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31955         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31956         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31957         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31958         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31959         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31960         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31961         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31962         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31963         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31964         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31965         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31966         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31968 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31970         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31971         (__signbit): Likewise.  Correct for little-endian.
31972         (__signbitl): Call __signbit.
31973         (lrint): Correct for little-endian.
31974         (lrintf): Call lrint.
31976 2013-10-04  Alan Modra  <amodra@gmail.com>
31978         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31979         union 32-bit int array member with 64-bit int array.
31980         (t515, tm256): Double rather than long double.
31981         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31983 2013-10-04  Alan Modra  <amodra@gmail.com>
31985         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31986         Delete.
31987         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31988         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31989         version of math_ldbl.h.
31991 2013-10-04  Alan Modra  <amodra@gmail.com>
31993         [BZ #15734], [BZ #15735]
31994         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31995         all uses of ieee875 long double macros and unions.  Simplify test
31996         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31997         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31998         normalize after ldbl_extract_mantissa, and don't add hidden bit
31999         already handled.  Don't treat low word of ieee854 mantissa like
32000         low word of IBM long double and mask off bit when testing for
32001         zero.
32002         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
32003         all uses of ieee875 long double macros and unions.  Simplify tests
32004         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
32005         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
32006         two1022, instead use their values.  Recognise that tests for large
32007         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
32008         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
32009         Rewrite all uses of ieee875 long double macros and unions.  Simplify
32010         test for 0.0L and nan.  Correct negation.
32011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
32012         ieee875 long double macros and unions.  Correct output for large
32013         magnitude x.  Correct absolute value calculation.
32014         (__erfcl): Likewise.
32015         * math/libm-test.inc: Add tests for errors discovered in IBM long
32016         double versions of fmodl, remainderl, erfl and erfcl.
32018 2013-10-04  Alan Modra  <amodra@gmail.com>
32020         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
32021         all uses of ieee854 long double macros and unions.  Simplify tests
32022         for long doubles that are fully specified by the high double.
32023         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
32024         Likewise.
32025         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
32026         Remove dead code too.
32027         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
32028         (__ieee754_ynl): Likewise.
32029         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
32030         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
32031         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
32032         Remove dead code too.
32033         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
32034         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
32035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
32036         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
32037         Simplify.
32038         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
32039         Simplify.
32040         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
32041         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
32042         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
32043         Comment on variable precision.
32044         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
32045         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32046         Likewise.
32047         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32048         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
32049         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
32050         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
32051         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
32053 2013-10-04  Alan Modra  <amodra@gmail.com>
32055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
32056         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
32057         all uses of ieee854 long double macros and unions.
32058         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
32059         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
32060         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
32061         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
32062         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
32063         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32064         Likewise.
32065         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
32066         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32067         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
32068         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32069         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
32070         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
32071         Simplify sign and nan test too.
32072         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
32073         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
32074         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
32075         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
32076         Likewise.
32077         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32078         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
32079         Likewise.
32080         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32081         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
32082         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
32083         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
32084         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
32085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
32087 2013-10-04  Alan Modra  <amodra@gmail.com>
32089         * stdio-common/printf_size.c (__printf_size): Don't use
32090         union ieee854_long_double in fpnum union.
32091         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
32092         signbit macro to retrieve sign from long double.
32093         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
32094         retrieve sign from long double.
32095         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
32096         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
32097         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
32098         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32099         * math/test-misc.c (main): Don't use union ieee854_long_double.
32101 2013-10-04  Alan Modra  <amodra@gmail.com>
32103         [BZ #15680]
32104         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
32105         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
32106         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
32107         calculation.  Remove unnecessary test for denormal exponent.
32108         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
32109         Correct handling of denormals.  Avoid undefined shift behaviour.
32110         Correct normalisation of low mantissa when low double is denormal.
32111         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
32112         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
32113         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
32114         Correct normalisation of low mantissa.  Test for overflow of high
32115         mantissa and normalise.
32116         (ldbl_nearbyint): Use more readable constant for two52.
32117         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
32118         (__mpn_construct_long_double): Fix test for overflow of high
32119         mantissa and correct normalisation.  Avoid undefined shift.
32121 2013-10-04  Alan Modra  <amodra@gmail.com>
32123         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32124         (union ibm_extended_long_double): Define as an array of ieee754_double.
32125         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
32126         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
32127         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
32128         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
32129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32130         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
32131         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32132         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32133         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
32134         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
32135         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
32137 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
32139         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
32140         page size instead of calling getpagesize.
32142         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
32143         (LOCFILE_ALIGN_MASK): Likewise.
32144         (LOCFILE_ALIGN_UP): Likewise.
32145         (LOCFILE_ALIGNED_P): Likewise.
32146         * locale/programs/ld-collate.c (collate_output): Use the new
32147         macros instead of __alignof__ (int32_t).
32148         * locale/weight.h (findidx): Likewise.
32150 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
32152         [BZ #431]
32153         * manual/string.texi: Fix strncat and wcsncat.
32155 2013-10-03  Brooks Moses  <bmoses@google.com>
32157         [BZ #15915]
32158         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
32159         * Makerules: ...here, and adjust associated comments.
32161 2013-10-02  Will Newton  <will.newton@linaro.org>
32163         * malloc/Makefile: Add tst-pvalloc.
32164         * malloc/tst-pvalloc.c: New file.
32166 2013-10-02  Will Newton  <will.newton@linaro.org>
32168         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
32169         improve test coverage.
32171 2013-10-02  Will Newton  <will.newton@linaro.org>
32173         * malloc/Makefile: Add tst-posix_memalign.
32174         * malloc/tst-posix_memalign.c: New file.
32176 2013-10-01  Eric Blake  <eblake@redhat.com>
32178         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
32179         Use __THROWNL rather than __THROW on static functions.
32181 2013-09-30  Petr Machata  <pmachata@redhat.com>
32183         * elf/elf.h (R_AARCH64_ABS16): New macro.
32184         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
32185         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
32186         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
32187         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
32188         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
32189         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
32190         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
32191         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
32192         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
32193         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
32194         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
32195         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
32196         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
32197         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
32198         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
32199         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
32200         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
32201         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
32202         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
32203         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
32204         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
32205         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
32206         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
32207         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
32208         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
32209         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
32210         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
32211         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
32212         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
32213         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
32214         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
32215         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
32216         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
32217         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
32218         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
32219         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
32220         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
32221         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
32222         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
32223         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
32224         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
32225         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
32226         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
32227         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
32228         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
32229         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
32230         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
32231         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
32232         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
32233         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
32234         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
32235         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
32236         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
32237         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
32238         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
32239         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
32240         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
32241         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
32242         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
32243         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
32244         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
32245         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
32246         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
32247         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
32248         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
32249         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
32250         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32251         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32252         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32253         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32254         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32255         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32256         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32257         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32258         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32259         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32260         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32261         (R_AARCH64_TLSDESC_LDR): Likewise.
32262         (R_AARCH64_TLSDESC_ADD): Likewise.
32263         (R_AARCH64_TLSDESC_CALL): Likewise.
32265 2013-09-30  Andreas Schwab  <schwab@suse.de>
32267         [BZ #15048]
32268         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32269         the nss database lookup.
32270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32273 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
32275         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32277 2013-09-28  P. J. McDermott  <pj@pehjota.net>
32279         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32280         ${Bash-specific parameter/pattern/string} parameter expansion.
32281         * sysdeps/unix/make-syscalls.sh: Likewise.
32283 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32285         * sysdeps/sh/stackguard-macros.h: New file.
32287 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
32289         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32290         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32291         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32292         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32293         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32294         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32296 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32298         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32299         Fix thread ID register.
32301 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
32303         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32304         [POSIX || UNIX98]: Require rather than permitting all symbols from
32305         <time.h>.
32306         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32307         element of struct sched_param.
32308         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32309         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32310         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32311         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32312         constant.
32314 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
32316         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32317         argument calculation.
32319 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32321         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32322         Expect macro.
32323         [POSIX] (pthread_attr_t): Do not require type.
32324         [POSIX] (pthread_cond_t): Likewise.
32325         [POSIX] (pthread_condattr_t): Likewise.
32326         [POSIX] (pthread_key_t): Likewise.
32327         [POSIX] (pthread_mutex_t): Likewise.
32328         [POSIX] (pthread_mutexattr_t): Likewise.
32329         [POSIX] (pthread_once_t): Likewise.
32330         [POSIX] (pthread_t): Likewise.
32331         [POSIX-based standards] (pthread_atfork): Expect function.
32333 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32334             Richard Sandiford  <richard@codesourcery.com>
32336         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32337         (swap_endianness_p): New extern variable.
32338         (set_big_endian): New inline function.
32339         (maybe_swap_uint32): Likewise.
32340         (maybe_swap_uint32_array): Likewise.
32341         (maybe_swap_uint32_obstack): Likewise.
32342         * locale/programs/locfile.c: Include <stdbool.h>.
32343         (swap_endianness_p): New variable.
32344         (add_locale_uint32): Call maybe_swap_uint32.
32345         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32346         (write_locale_data): Call maybe_swap_uint32_array.
32347         * locale/programs/ld-collate.c (obstack_int32_grow): Call
32348         maybe_swap_uint32.
32349         (obstack_int32_grow_fast): Likewise.
32350         (output_weightwc): Call maybe_swap_uint32_obstack.
32351         (collate_output): Likewise.
32352         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32353         (OPT_LITTLE_ENDIAN): Likewise.
32354         (options): Add --little-endian and --big-endian options.
32355         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32356         * locale/programs/locarchive.c: Include "locfile.h".
32357         (GET): New macro.
32358         (SET): Likewise.
32359         (INC): Likewise.
32360         (create_archive): Use the new macros to access fields of
32361         structures directly mapped from or written to locale archives.
32362         (oldlocrecentcmp): Likewise.
32363         (enlarge_archive): Likewise.
32364         (insert_name): Likewise.
32365         (add_alias): Likewise.
32366         (add_locale): Likewise.
32367         (delete_locales_from_archive): Likewise.
32368         (show_archive_content): Likewise.
32369         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
32370         locale data.
32372 2013-09-24  Roland McGrath  <roland@hack.frob.com>
32374         * manual/freemanuals.texi: Updated from (newly) canonical copy at
32375         http://www.gnu.org/doc/freemanuals.texi.
32376         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32378 2013-09-24  Will Newton  <will.newton@linaro.org>
32380         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32381         macro.
32383 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
32385         * locale/hashval.h (compute_hashval): Interpret bytes of key as
32386         unsigned char.
32388 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
32390         * manual/threads.texi (POSIX Threads): Fix a typo.
32392 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32394         [BZ #14547]
32395         * string/tst-strcoll-overflow.c: New test case.
32396         * string/Makefile (xtests): Add tst-strcoll-overflow.
32397         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32398         cache if string sizes may cause integer overflow.
32400         [BZ #14547]
32401         * string/strcoll_l.c (coll_seq): New members rule, idx,
32402         save_idx and back_us.
32403         (get_next_seq_nocache): New function.
32404         (do_compare_nocache): New function.
32405         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32406         when malloc fails.
32408 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
32410         [BZ #15754]
32411         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32412         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32413         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32415         [BZ #15754]
32416         * elf/Makefile (tests): Add tst-ptrguard1.
32417         (tests-static): Add tst-ptrguard1-static.
32418         (tst-ptrguard1-ARGS): Define.
32419         (tst-ptrguard1-static-ARGS): Define.
32420         * elf/tst-ptrguard1.c: New file.
32421         * elf/tst-ptrguard1-static.c: New file.
32422         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32423         * sysdeps/i386/stackguard-macros.h: Likewise.
32424         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32425         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32426         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32427         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32428         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32429         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32431 2013-09-23  Hector Marco  <hecmargi@upv.es>
32432             Ismael Ripoll  <iripoll@disca.upv.es>
32433             Carlos O'Donell  <carlos@redhat.com>
32435         [BZ #15754]
32436         * sysdeps/generic/stackguard-macros.h: Define
32437         __pointer_chk_guard_local and POINTER_CHK_GUARD.
32438         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32439         Define __pointer_chk_guard_local.
32440         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32441         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32443 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
32445         [BZ #15859]
32446         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32448 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
32450         * include/string.h (__ffs): Declare as hidden.
32451         * string/ffs.c (__ffs): Define as hidden.
32452         * sysdeps/i386/ffs.c (__ffs): Likewise.
32453         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32454         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32455         * sysdeps/s390/ffs.c (__ffs): Likewise.
32456         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32458 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
32460         * NEWS: Mention malloc probes.
32462         * malloc/arena.c (new_heap): New memory_heap_new probe.
32463         (grow_heap): New memory_heap_more probe.
32464         (shrink_heap): New memory_heap_less probe.
32465         (heap_trim): New memory_heap_free probe.
32466         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32467         (systrim): New memory_sbrk_less probe.
32468         * manual/probes.texi: Document them.
32470         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32471         * manual/probes.texi: Document it.
32473         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32474         (__libc_realloc): Add memory_realloc_retry probe.
32475         (__libc_memalign): Add memory_memalign_retry probe.
32476         (__libc_valloc): Add memory_valloc_retry probe.
32477         (__libc_pvalloc): Add memory_pvalloc_retry probe.
32478         (__libc_calloc): Add memory_calloc_retry probe.
32479         * manual/probes.texi: Document them.
32481         * malloc/arena.c (get_free_list): Add probe
32482         memory_arena_reuse_free_list.
32483         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32484         and memory_arena_reuse.
32485         (arena_get2) [!PER_THREAD]: Likewise.
32486         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32487         memory_arena_reuse_realloc.
32488         * manual/probes.texi: Document them.
32490         * malloc/malloc.c (__libc_free): Add
32491         memory_mallopt_free_dyn_thresholds probe.
32492         (__libc_mallopt): Add multiple memory_mallopt probes.
32493         * manual/probes.texi: Document them.
32495         * malloc/malloc.c: Include stap-probe.h.
32496         (__libc_mallopt): Add memory_mallopt probe.
32497         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32498         * manual/probes.texi: New.
32499         * manual/Makefile (chapters): Add probes.
32500         * manual/threads.texi: Set next node.
32502 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
32504         [BZ #15963, #13985]
32505         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32506         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32507         Add `Chinese' to `nan' entry name.
32509 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32511         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32512         (POLYNOMIAL): Likewise.
32513         (TAYLOR_SINCOS): Likewise.
32514         (TAYLOR_SLOW): Likewise.
32515         (__sin): Use TAYLOR_SINCOS.
32516         (__cos): Likewise.
32517         (slow): Use TAYLOR_SLOW.
32518         (sloww): Likewise.
32519         (bsloww): Likewise.
32520         (csloww): Likewise.
32522 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32524         * stdlib/strtod_l.c: Fix buffer overrun.
32526 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32528         * benchtests/Makefile (bench): Add sincos.
32529         * benchtests/bench-sincos.c: New file.
32531         * math/libm-test.inc (cos_test_data): New test inputs.
32532         (sin_test_data): Likewise.
32534         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32535         macro.
32536         (__sin): Use it.
32537         (__cos): Likewise.
32538         (slow1): Likewise.
32539         (slow2): Likewise.
32540         (sloww1): Likewise.
32541         (sloww2): Likewise.
32542         (bsloww1): Likewise.
32543         (bsloww2): Likewise.
32544         (cslow2): Likewise.
32545         (csloww1): Likewise.
32546         (csloww2): Likewise.
32548         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32549         function.
32550         (__sin): Use it.
32551         (__cos): Likewise.
32553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32554         gotos.
32555         (__cos): Likewise.
32557 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
32559         * config.h.in (HAVE_MIPS_NAN2008): New macro.
32560         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32561         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32562         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32563         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32564         * elf/cache.c (print_entry): Handle the new cache flags.
32566 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
32567             Aldy Hernandez  <aldyh@redhat.com>
32569         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32570         Change condition to [_SOFT_FLOAT].
32571         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32574         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32576         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32578         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32579         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32580         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32583         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32586         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32587         declaration.
32589 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
32591         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32592         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32593         (__longjmp): Use LOAD_GP to load saved GPRs.
32594         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32595         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32596         (__sigsetjmp): Use SAVE_GP to save GPRs.
32598         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32599         Do not append -msoft-float.
32600         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32602 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32604         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32606 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
32608         [BZ #15966]
32609         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32610         (_FPU_GETCW): Use initial "__" on variable and field names but not
32611         on macro parameter name.
32612         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
32613         parentheses around reference to macro parameter.
32615 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
32617         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32618         prototype.
32619         (ctype_startup): Use uint32_t in cast and sizeof for
32620         ctype->charnames.
32622 2013-09-11  Jia Liu  <proljc@gmail.com>
32624         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32625         __daddr_t_defined.
32626         [__FreeBSD__]: Likewise.
32628 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
32630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32631         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32632         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32633         (strchr): Remove __strchr_sse42 ifunc selection.
32634         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32635         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32637 2013-09-11  Will Newton  <will.newton@linaro.org>
32639         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32640         parameter to RES. Remove hardcoded 1000 value.
32641         * benchtests/bench-skeleton.c (main): Pass RES parameter
32642         to TIMING_INIT and multiply result by 1000.
32644 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32648 2013-09-11  Andreas Schwab  <schwab@suse.de>
32650         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32651         if not defined.
32652         (O_TMPFILE) [__USE_GNU]: Define.
32653         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32654         Define.
32656 2013-09-11  Will Newton  <will.newton@linaro.org>
32658         [BZ #15857]
32659         * malloc/malloc.c (__libc_memalign): Check the value of bytes
32660         does not overflow.
32662 2013-09-11  Will Newton  <will.newton@linaro.org>
32664         [BZ #15856]
32665         * malloc/malloc.c (__libc_valloc): Check the value of bytes
32666         does not overflow.
32668 2013-09-11  Will Newton  <will.newton@linaro.org>
32670         [BZ #15855]
32671         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32672         does not overflow.
32674 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
32676         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32677         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32678         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32679         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32680         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32682 2013-09-10  Allan McRae  <allan@archlinux.org>
32684         [BZ #15748]
32685         * manual/arith.texi (Parsing of Floats): Clarify
32686         cross-reference.
32688         [BZ #15849]
32689         * manual/install.texi (Running make install): Mention
32690         --enable-pt-chown.
32691         * INSTALL: Regenerated.
32693 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
32695         * csu/init-first.c (_init): Remove the !SHARED condition around
32696         FPU control word initialization.
32697         * elf/dl-support.c (_dl_fpu_control): New variable.
32698         (_dl_aux_init) <AT_FPUCW>: Initialize it.
32699         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32700         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32701         * math/test-fpucw-static.c: New file.
32702         * math/test-fpucw-ieee.c: New file.
32703         * math/test-fpucw-ieee-static.c: New file.
32704         * math/Makefile (tests): Add `test-fpucw-ieee' and
32705         `$(tests-static)'.
32706         (tests-static): New variable.
32707         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32708         dependency to...
32709         [($(build-shared),yes)]
32710         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32711         ... this.
32712         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32713         New dependency.
32715 2013-09-09  Allan McRae  <allan@archlinux.org>
32717         [BZ #15939]
32718         * manual/string.texi (Collation Functions): Fix typo in
32719         strcoll example.
32720         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32722         [BZ #15893]
32723         * stdlib/isomac.c (get_null_defines): Fix memory leak.
32725         [BZ #15892]
32726         * libio/memstream.c (open_memstream): Fix memory leak.
32727         * libio/wmemstream.c (open_wmemstream): Likewise.
32729         [BZ #15895]
32730         * nscd/netgroupcache.c: Fix nesting of ifdefs.
32732 2013-09-09  Will Newton  <will.newton@linaro.org>
32734         * malloc/Makefile: Add tst-realloc to tests.
32735         * malloc/tst-realloc.c: New file.
32737 2013-09-09  Allan McRae  <allan@archlinux.org>
32739         [BZ #15844]
32740         * COPYING: Update from GNU website to fix FSF address.
32741         * COPYING.LIB: Likewise.
32743 2013-09-06  David S. Miller  <davem@davemloft.net>
32745         * po/zh_TW.po: Update Chinese (traditional) translation from
32746         translation project.
32748 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
32749             Joseph Myers  <joseph@codesourcery.com>
32751         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32752         "localeinfo.h".
32753         (obstack_chunk_alloc): New macro.
32754         (obstack_chunk_free): Likewise.
32755         (record_offset): New function.
32756         (init_locale_data): Likewise.
32757         (align_locale_data): Likewise.
32758         (add_locale_empty): Likewise.
32759         (add_locale_raw_data): Likewise.
32760         (add_locale_raw_obstack): Likewise.
32761         (add_locale_string): Likewise.
32762         (add_locale_wstring): Likewise.
32763         (add_locale_uint32): Likewise.
32764         (add_locale_uint32_array): Likewise.
32765         (add_locale_char): Likewise.
32766         (start_locale_structure): Likewise.
32767         (end_locale_structure): Likewise.
32768         (start_locale_prelude): Likewise.
32769         (end_locale_prelude): Likewise.
32770         (write_locale_data): Take locale_file structure rather than an
32771         iovec.
32772         * locale/programs/locfile.h: Include "obstack.h".
32773         (struct locale_file): Change to store locale file contents instead
32774         of header.
32775         (init_locale_data): New prototype.
32776         (align_locale_data): Likewise.
32777         (add_locale_empty): Likewise.
32778         (add_locale_raw_data): Likewise.
32779         (add_locale_raw_obstack): Likewise.
32780         (add_locale_string): Likewise.
32781         (add_locale_wstring): Likewise.
32782         (add_locale_uint32): Likewise.
32783         (add_locale_uint32_array): Likewise.
32784         (add_locale_char): Likewise.
32785         (start_locale_structure): Likewise.
32786         (end_locale_structure): Likewise.
32787         (start_locale_prelude): Likewise.
32788         (end_locale_prelude): Likewise.
32789         (write_locale_data): Update prototype.
32790         * locale/programs/3level.h (struct TABLE): Remove result field.
32791         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32792         Use new locale_file interface.
32793         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32794         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32795         * locale/programs/ld-address.c (address_output): Use new
32796         locale_file interface.
32797         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32798         NO_ADD_LOCALE.
32799         (collate_finish): Don't call collseq_table_finalize.
32800         (collate_output): Use new locale_file interface.
32801         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32802         in file.
32803         (NO_FINALIZE): Change to NO_ADD_LOCALE.
32804         (TABLE): Move defines earlier in file.
32805         (ELEMENT): Likewise.
32806         (DEFAULT): Likewise.
32807         (wctrans_table_add): Move macro and inline function earlier in
32808         file.
32809         (struct wctype_table): Move type earlier in file.
32810         (add_locale_wctype_table): New static prototype.
32811         (struct locale_ctype_t): Use logical types instead of struct iovec
32812         pointers for members.
32813         (ctype_output): Use new locale_file interface.
32814         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
32815         new locale_file interface.
32816         (allocate_arrays): Update for use of new locale_file interface.
32817         * locale/programs/ld-identification.c (identification_output): Use
32818         new locale_file interface.
32819         * locale/programs/ld-measurement.c (measurement_output): Likewise.
32820         * locale/programs/ld-messages.c (messages_output): Likewise.
32821         * locale/programs/ld-monetary.c (monetary_output): Likewise.
32822         * locale/programs/ld-name.c (name_output): Likewise.
32823         * locale/programs/ld-numeric.c (numeric_output): Likewise.
32824         * locale/programs/ld-paper.c (paper_output): Likewise.
32825         * locale/programs/ld-telephone.c (telephone_output): Likewise.
32826         * locale/programs/ld-time.c (time_output): Likewise.
32828 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32830         * benchtests/Makefile: Add memrchr benchmark.
32831         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32832         benchmark as memrchr.
32833         * benchtests/bench-memrchr-ifunc.c: New file.
32834         * benchtests/bench-memrchr.c: New file.
32836 2013-09-06   Will Newton  <will.newton@linaro.org>
32838         * benchtests/Makefile (string-bench): Add memcpy.
32840 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
32841             Cong Wang  <amwang@redhat.com>
32843         [BZ #15850]
32844         * sysdeps/unix/sysv/linux/bits/in.h
32845         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32846         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32847         before __USE_KERNEL_IPV6_DEFS uses.
32848         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32849         IPPROTO_BEETPH.
32850         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32851         sockaddr_in6, or ipv6_mreq.
32853 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32855         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32856         memory access for final bytes in some large inputs.
32857         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32859 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32861         * string/test-memrchr.c: New file.
32862         * string/test-memrchr-ifunc.c: New file.
32863         * string/Makefile: Add new memrchr testcase.
32865 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
32867         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32868         fanotify_init returns EPERM.
32870 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
32872         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32873         errors.
32874         (top level): Treat second token from macro or constant entries for
32875         allowed headers as allowed.
32876         * include/complex.h: Condition internal declarations on
32877         [!_ISOMAC].
32878         * include/fenv.h: Condition include of <stdbool.h> and internal
32879         declarations on [!_ISOMAC].
32881 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
32883         [BZ #15923]
32884         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32886 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
32888         * configure.in (--enable-versioning): Remove configure option.
32889         (libc_cv_asm_symver_directive): Remove configure test.
32890         (libc_cv_ld_version_script_option): Likewise.
32891         (VERSIONING): Remove variable and AC_SUBST.
32892         (DO_VERSIONING): Remove AC_DEFINE.
32893         * configure: Regenerated.
32894         * config.h.in (DO_VERSIONING): Remove macro.
32895         * Makerules [$(versioning) = yes]: Change conditionals to
32896         [$(build-shared) = yes].
32897         * config.make.in (versioning): Remove variable.
32898         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32899         [$(build-shared) = yes].
32900         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32901         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32902         * elf/Makefile [$(versioning) = yes]: Change conditionals to
32903         [$(build-shared) = yes].
32904         * extra-lib.mk [$(versioning) = yes]: Likewise.
32905         * hurd/Makefile [$(versioning) = yes]: Likewise.
32906         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32907         [SHARED].
32908         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32909         [SHARED].
32910         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32911         [SHARED && !NO_HIDDEN].
32912         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32913         [SHARED].
32914         [SHARED && DO_VERSIONING]: Likewise..
32915         * libio/Makefile [$(versioning) = yes]: Change conditionals to
32916         [$(build-shared) = yes].
32917         * manual/install.texi (--disable-versioning): Remove
32918         documentation.
32919         * INSTALL: Regenerated.
32920         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32921         to [SHARED].
32922         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32923         [$(build-shared) = yes].
32924         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32925         * sysdeps/i386/i686/multiarch/strstr-c.c
32926         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32927         [SHARED && !NO_HIDDEN].
32928         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32929         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32930         * sysdeps/powerpc/powerpc32/dl-machine.c
32931         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32932         * sysdeps/powerpc/powerpc32/sysdep.h
32933         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32934         to [SHARED && PIC && !NO_HIDDEN].
32935         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32936         conditional to [SHARED].
32938 2013-09-04   Will Newton  <will.newton@linaro.org>
32940         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32941         * benchtests/bench-string.h: Include bench-timing.h instead
32942         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32943         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32944         call to HP_TIMING_DIFF_INIT.
32945         * benchtests/bench-memccpy.c: Use bench-timing.h macros
32946         instead of hp-timing.h macros.
32947         * benchtests/bench-memchr.c: Likewise.
32948         * benchtests/bench-memcmp.c: Likewise.
32949         * benchtests/bench-memcpy.c: Likewise.
32950         * benchtests/bench-memmem.c: Likewise.
32951         * benchtests/bench-memmove.c: Likewise.
32952         * benchtests/bench-memset.c: Likewise.
32953         * benchtests/bench-rawmemchr.c: Likewise.
32954         * benchtests/bench-strcasecmp.c: Likewise.
32955         * benchtests/bench-strcasestr.c: Likewise.
32956         * benchtests/bench-strcat.c: Likewise.
32957         * benchtests/bench-strchr.c: Likewise.
32958         * benchtests/bench-strcmp.c: Likewise.
32959         * benchtests/bench-strcpy.c: Likewise.
32960         * benchtests/bench-strcpy_chk.c: Likewise.
32961         * benchtests/bench-strlen.c: Likewise.
32962         * benchtests/bench-strncasecmp.c: Likewise.
32963         * benchtests/bench-strncat.c: Likewise.
32964         * benchtests/bench-strncmp.c: Likewise.
32965         * benchtests/bench-strncpy.c: Likewise.
32966         * benchtests/bench-strnlen.c: Likewise.
32967         * benchtests/bench-strpbrk.c: Likewise.
32968         * benchtests/bench-strrchr.c: Likewise.
32969         * benchtests/bench-strspn.c: Likewise.
32970         * benchtests/bench-strstr.c: Likewise.
32972 2013-09-04  Will Newton  <will.newton@linaro.org>
32974         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32976 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32978         [BZ #15427]
32979         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32980         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32981         * math/libm-test.inc (lgamma_test_data): Add more tests.
32982         * sysdeps/i386/fpu/libm-test-ulps: Update.
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32985 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32987         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32989         Add ifunc.
32990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32991         Add strcmp-sse2-unaligned
32992         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32994 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32996         * Versions.def (libc): Add GLIBC_2.19.
32998 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
33000         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
33001         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
33003 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
33005         [BZ #14155]
33006         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
33007         intermediate calculations in recurrence.
33008         (__ieee754_ynf): Likewise.
33009         * math/libm-test.inc (jn_test_data): Do not allow spurious
33010         underflow exception.  Add more tests.
33011         (yn_test_data): Add more tests.
33012         * sysdeps/i386/fpu/libm-test-ulps: Update.
33013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33015 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
33017         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
33019 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
33021         * csu/init-first.c: Fix then/than typos.
33022         * locale/programs/ld-collate.c: Likewise.
33023         * locale/programs/linereader.h: Likewise.
33024         * manual/charset.texi: Likewise.
33025         * manual/filesys.texi: Likewise.
33026         * manual/stdio.texi: Likewise.
33027         * manual/string.texi: Likewise.
33028         * stdlib/fmtmsg.c: Likewise.
33029         * sysdeps/i386/stpncpy.S: Likewise.
33030         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33031         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33033         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33035 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
33037         * elf/dl-open.c: Fix typos.
33038         * iconvdata/gbbig5.c: Likewise.
33039         * iconvdata/iso-2022-jp.c: Likewise.
33040         * iconv/gconv_int.h: Likewise.
33041         * iconv/loop.c: Likewise.
33042         * nis/rpcsvc/nis.h: Likewise.
33043         * resolv/ns_name.c: Likewise.
33044         * stdio-common/vfscanf.c: Likewise.
33045         * streams/stropts.h: Likewise.
33046         * sunrpc/rpc_thread.c: Likewise.
33047         * sysdeps/i386/strpbrk.S: Likewise.
33048         * sysdeps/ieee754/k_standard.c: Likewise.
33049         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33050         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33051         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
33052         * sysdeps/mach/hurd/profil.c: Likewise.
33053         * sysdeps/s390/dl-procinfo.h: Likewise.
33054         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
33055         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
33056         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
33057         * sysdeps/x86_64/dl-trampoline.S: Likewise.
33058         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
33060 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
33062         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
33063         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
33065 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
33067         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
33068         aix specific files.
33069         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
33070         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
33071         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
33072         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
33073         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
33074         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
33075         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
33076         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
33078 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
33079             Roland McGrath  <roland@hack.frob.com>
33081         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
33082         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
33084 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33086         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
33087         __executable_start symbol instead of _start.
33089 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
33091         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
33092         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
33093         Move macros to...
33094         * sysdeps/gnu/ldsodefs.h: ... this new file.
33096         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
33097         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
33098         instead of ELFOSABI_LINUX.
33100         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
33101         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
33102         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
33103         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
33104         Likewise.
33105         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
33106         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
33107         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
33108         Likewise.
33109         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33110         (ibm_extended_long_double): Add ieee_nan member.
33111         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
33112         (do_test): New function.
33114         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
33115         TEST_TRUNC.
33116         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
33117         functions, renamed from truncdfsf_test, trunctfsf_test,
33118         trunctfdf_test.
33119         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
33120         functions.
33121         (do_test): Run all these.
33123 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
33125         * argp/argp-help.c: Fix typos.
33126         * argp/argp-parse.c: Likewise.
33127         * debug/backtracesyms.c: Likewise.
33128         * elf/elf.h: Likewise.
33129         * malloc/malloc.c: Likewise.
33130         * nis/nis_print.c: Likewise.
33131         * resolv/res_comp.c: Likewise.
33132         * stdlib/stdlib.h: Likewise.
33133         * sunrpc/clnt_tcp.c: Likewise.
33134         * sunrpc/clnt_udp.c: Likewise.
33135         * sunrpc/clnt_unix.c: Likewise.
33136         * sysdeps/unix/bsd/ptsname.c: Likewise.
33137         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
33138         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
33139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
33140         Likewise.
33141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
33142         Likewise.
33143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
33144         Likewise.
33145         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
33147 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33149         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
33150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33152 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
33154         [BZ #15897]
33155         * dlfcn/Makefile (tests): Add bug-dl-leaf.
33156         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
33157         ($(objpfx)bug-dl-leaf): New rule.
33158         ($(objpfx)bug-dl-leaf.so): Likewise.
33159         ($(objpfx)bug-dl-leaf.out): Likewise.
33160         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
33161         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
33162         * dlfcn/bug-dl-leaf.c: New test.
33163         * dlfcn/bug-dl-leaf-lib.c: Likewise.
33164         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
33165         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
33166         (dlclose): Likewise.
33167         (dlmopen): Likewise.
33169 2013-08-27  Roland McGrath  <roland@hack.frob.com>
33171         * include/netdb.h [!_ISOMAC]:
33172         Don't include <tls.h>.
33173         (h_errno, __libc_h_errno): Move declaration and macros out of
33174         [_LIBC_REENTRANT].
33176         * include/resolv.h [_RESOLV_H_]:
33177         Don't include <tls.h>.
33178         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
33179         * resolv/res_libc.c: Don't include <tls.h>.
33180         (_res): Use __attribute__ ((nocommon)) in place of
33181         __attribute__ ((section (".bss"))).
33183         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
33184         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
33186         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
33188         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
33189         only under [SIOCGIFCONF && SIOCGIFNETMASK].
33191         * resolv/res_mkquery.c: Include <sys/time.h>.
33193         * inet/ifreq.c: Moved to ...
33194         * sysdeps/unix/ifreq.c: ... here.
33195         * inet/ifreq.c: New file, true stub version.
33197         * socket/sa_len.c: New file.
33198         * socket/Makefile (aux): Add it.
33199         * sysdeps/unix/sysv/linux/Makefile
33200         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
33201         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
33202         and #include <socket/sa_len.c>.
33203         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
33204         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
33206         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
33207         * bits/socket.h: ... here.
33209         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
33210         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
33211         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
33213 2013-08-27  Andreas Schwab  <schwab@suse.de>
33215         [BZ #15736]
33216         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
33217         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
33218         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
33219         * string/test-strcasecmp.c (test_main): Run tests in several
33220         locales.
33221         * string/test-strncasecmp.c (test_main): Likewise.
33223         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
33224         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
33225         to __strcasecmp_nonascii and __strncasecmp_nonascii.
33226         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
33227         (__strncasecmp_ssse3) [PIC]: Likewise.
33229 2013-08-26  Roland McGrath  <roland@hack.frob.com>
33231         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
33233         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
33234         instead of explicitly declaring xdecrypt.
33235         * nis/nss_nis/nis-publickey.c: Likewise.
33237 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33239         [BZ #15890]
33240         * nscd/aicache.c: Include res_hconf.h.
33241         (addhstaiX): Initialize res_hconf.
33243 2013-08-26  Andreas Schwab  <schwab@suse.de>
33245         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
33246         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
33248 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33250         * nscd/aicache.c (addhstaiX): Fix indentation.
33252 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
33254         * configure.ac: Quote $build_pt_chown test.
33255         * configure: Regenerated.
33257 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
33259         [BZ #15532]
33260         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33261         * math/s_cexpf.c (__cexpf): Likewise.
33262         * math/s_cexpl.c (__cexpl): Likewise.
33263         * math/libm-test.inc (cexp_test_data): Correct expected return
33264         value for NaN + i0.  Add another test.
33266 2013-08-22  David S. Miller  <davem@davemloft.net>
33268         * po/ca.po: Update Catalan translation from translation project.
33269         * po/uk.po: Add Ukrainian translations from translation project.
33271 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
33273         [BZ #15797]
33274         * math/s_fdim.c (__fdim): Check for infinite arguments if result
33275         is infinite, not alongside NaN test.
33276         * math/s_fdimf.c (__fdimf): Likewise.
33277         * math/s_fdiml.c (__fdiml): Likewise.
33278         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
33279         errno is unchanged.
33281 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
33283         * argp/argp-help.c: Fix typos.
33284         * crypt/speeds.c: Likewise.
33285         * csu/check_fds.c: Likewise.
33286         * elf/dl-load.c: Likewise.
33287         * elf/dl-open.c: Likewise.
33288         * elf/reldep3.c: Likewise.
33289         * elf/reldep.c: Likewise.
33290         * elf/sprof.c: Likewise.
33291         * iconv/iconv_charmap.c: Likewise.
33292         * iconv/skeleton.c: Likewise.
33293         * iconv/strtab.c: Likewise.
33294         * io/lockf64.c: Likewise.
33295         * libio/libioP.h: Likewise.
33296         * resolv/gai_notify.c: Likewise.
33297         * resolv/ns_name.c: Likewise.
33298         * resolv/ns_samedomain.c: Likewise.
33299         * resolv/res_send.c: Likewise.
33300         * stdlib/random.c: Likewise.
33301         * sunrpc/rpc/xdr.h: Likewise.
33302         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33303         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33304         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33305         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33306         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33307         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33308         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33309         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33310         * sysdeps/mach/hurd/check_fds.c: Likewise.
33311         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33312         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33313         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33315         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33316         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33317         * sysdeps/pthread/aio_notify.c: Likewise.
33318         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33319         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33320         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33321         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33322         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33324 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33326         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33327         version if bit_Slow_SSE4_2 is set.
33328         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33329         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33331 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33333         [BZ #15867]
33334         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33335         trampoline stack frame information.
33336         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33337         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33338         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33339         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33340         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33341         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33342         (_libc_vdso_platform_setup): Initialize the signal trampolines.
33343         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33344         sa_flags value.
33345         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33346         interrupting a syscall and set with option SA_SIGINFO.
33348 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33350         [BZ #15531]
33351         * math/s_cproj.c (__cproj): Only return an infinity if one part of
33352         argument is infinite.
33353         * math/s_cprojf.c (__cprojf): Likewise.
33354         * math/s_cprojl.c (__cprojl): Likewise.
33355         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33356         * math/libm-test.inc (cproj_test_data): Add more tests.
33358         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33360         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33361         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33362         size.  Use __ffs to determine corresponding shift.
33364 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33365             Roland McGrath  <roland@hack.frob.com>
33367         * Makefile (INSTALL): Remove trailing blank lines from output of
33368         makeinfo.
33370 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33372         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33373         Align 32 bit compat elf_greg to 8 bytes.
33375 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
33377         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33379 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33381         * string/strcoll_l.c (coll_seq): New structure.
33382         (get_next_seq_cached): New function.
33383         (get_next_seq): New function.
33384         (do_compare): New function.
33385         (STRCOLL): Use GNU style definition.  Simplify implementation
33386         by using get_next_seq, get_next_seq_cached and do_compare.
33388 2013-08-16  Florian Weimer  <fweimer@redhat.com>
33390         [BZ #14699]
33391         CVE-2013-4237
33392         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33393         member.
33394         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33395         member.
33396         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33397         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33398         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
33399         conditional.
33400         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33401         GETDENTS_64BIT_ALIGNED.
33402         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33403         * manual/filesys.texi (Reading/Closing Directory): Document
33404         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
33405         strongly.
33406         * manual/conf.texi (Limits for Files): Add portability note to
33407         NAME_MAX, PATH_MAX.
33408         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33410 2013-08-13  Andreas Schwab  <schwab@suse.de>
33412         [BZ #15749]
33413         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33414         of fabs.
33415         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33416         LDBL_MAX_EXP >= 16384]: Add tests for it.
33418 2013-08-12  David S. Miller  <davem@davemloft.net>
33420         * version.h (RELEASE): Set to "development".
33421         (VERSION): Set to "2.18.90".
33422         * NEWS: Add 2.19 section.
33424 2013-08-03  David S. Miller  <davem@davemloft.net>
33426         * po/ko.po: Update Korean translation from translation project.
33428 2013-08-01  David S. Miller  <davem@davemloft.net>
33430         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
33431         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33432         Bilka.
33434 2013-07-30  David S. Miller  <davem@davemloft.net>
33436         * po/fr.po: Update French translation from translation project.
33438 2013-07-28  David S. Miller  <davem@davemloft.net>
33440         * po/cs.po: Update Czech translation from translation project.
33442         * po/sv.po: Update Swedish translation from translation project.
33444 2013-07-27  David S. Miller  <davem@davemloft.net>
33446         * po/eo.po: Update Esperanto translation from translation project.
33448         * po/vi.po: Update Vietnamese translation from translation project.
33450         * po/de.po: Update German translation from translation project.
33452 2013-07-26  David S. Miller  <davem@davemloft.net>
33454         * po/bg.po: Update Bulgarian translation from translation project.
33456         * po/nl.po: Update Dutch translation from translation project.
33457         * po/pl.po: Update Polish translation from translation project.
33458         * po/ru.po: Update Russian translation from translation project.
33460 2013-07-24  David S. Miller  <davem@davemloft.net>
33462         * po/libc.pot: Update.
33464 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33466         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33467         variable page size.
33468         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33469         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33470         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33472 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33474         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33476 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33477             Andreas Schwab  <schwab@suse.de>
33478             Roland McGrath  <roland@hack.frob.com>
33479             Joseph Myers  <joseph@codesourcery.com>
33480             Carlos O'Donell  <carlos@redhat.com>
33482         [BZ #15755]
33483         * config.h.in: Define HAVE_PT_CHOWN.
33484         * config.make.in (build-pt-chown): New variable.
33485         * configure.in (--enable-pt_chown): New configure option.
33486         * configure: Regenerate.
33487         * login/Makefile: Include Makeconfig.  Build pt_chown only if
33488         build-pt-chown is enabled.
33489         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33490         pt_chown to fix pty ownership.
33491         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33492         CLOSE_ALL_FDS.
33493         * manual/install.texi (Configuring and compiling): Mention
33494         --enable-pt_chown. Add @findex for grantpt.
33495         * INSTALL: Regenerate.
33497 2013-07-20  David S. Miller  <davem@davemloft.net>
33499         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33500         difference between 32-bit and 64-bit.
33502 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
33504         [BZ #15711]
33505         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33506         Avoid system header dependency with -ffreestanding.
33507         ($(objpfx)bits/syscall%d): Likewise.
33509 2013-07-13  David S. Miller  <davem@davemloft.net>
33511         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33512         underflows from atanl/atan2l due to bug 15319.
33513         (casinh_test_data): Likewise.
33515 2013-07-07  David S. Miller  <davem@davemloft.net>
33517         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33519 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
33521         * sysdeps/i386/fpu/libm-test-ulps: Update.
33522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33524 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33526         * configure.in (--enable-lock-elision): Fix message text.
33527         * INSTALL: Regenerate.
33528         * configure: Regenerate.
33530 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33532         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33534 2013-07-03  Andreas Jaeger  <aj@suse.de>
33536         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33537         define.
33538         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33539         (ptrace_peeksiginfo_args): Add.
33540         (__ptrace_peeksiginfo_flags): Add.
33541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33543         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33545 2013-07-03  Allan McRae  <allan@archlinux.org>
33547         * sysdeps/i386/fpu/libm-test-ulps: Update.
33549 2013-07-02  David S. Miller  <davem@davemloft.net>
33551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33553 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
33555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33557 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
33559         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33562 2013-07-02  Andi Kleen <ak@linux.intel.com>
33564         * config.h.in (ENABLE_LOCK_ELISION): Add.
33565         * configure.in (--enable-lock-elision): Add option.
33566         * manual/install.texi: Document --enable lock elision.
33567         * configure: Regenerate
33568         * INSTALL: Regenerate.
33570 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
33572         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33573         SSE4.2 strcasecmp for libc.a.
33574         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33576 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
33578         [BZ #13304]
33579         * soft-fp/op-common.h (_FP_FMA): New macro.
33580         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33581         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
33582         (_FP_MUL_MEAT_1_imm): ... here.
33583         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
33584         (_FP_MUL_MEAT_1_wide): ... here.
33585         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
33586         (_FP_MUL_MEAT_1_hard): ... here.
33587         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33588         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
33589         (_FP_MUL_MEAT_2_wide): ... here.
33590         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
33591         (_FP_MUL_MEAT_2_wide_3mul): ... here.
33592         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
33593         (_FP_MUL_MEAT_2_gmp): ... here.
33594         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33595         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
33596         (_FP_MUL_MEAT_4_wide): ... here.
33597         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
33598         (_FP_MUL_MEAT_4_gmp): ... here.
33599         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33600         (_FP_WFRACBITS_DW_S): Likewise.
33601         (_FP_WFRACXBITS_DW_S): Likewise.
33602         (_FP_HIGHBIT_DW_S): Likewise.
33603         (FP_FMA_S): Likewise.
33604         (_FP_FRAC_HIGH_DW_S): Likewise.
33605         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33606         (_FP_WFRACBITS_DW_D): Likewise.
33607         (_FP_WFRACXBITS_DW_D): Likewise.
33608         (_FP_HIGHBIT_DW_D): Likewise.
33609         (FP_FMA_D): Likewise.
33610         (_FP_FRAC_HIGH_DW_D): Likewise.
33611         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33612         (_FP_WFRACBITS_DW_E): Likewise.
33613         (_FP_WFRACXBITS_DW_E): Likewise.
33614         (_FP_HIGHBIT_DW_E): Likewise.
33615         (FP_FMA_E): Likewise.
33616         (_FP_FRAC_HIGH_DW_E): Likewise.
33617         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33618         (_FP_WFRACBITS_DW_Q): Likewise.
33619         (_FP_WFRACXBITS_DW_Q): Likewise.
33620         (_FP_HIGHBIT_DW_Q): Likewise.
33621         (FP_FMA_Q): Likewise.
33622         (_FP_FRAC_HIGH_DW_Q): Likewise.
33623         * soft-fp/fmasf4.c: New file.
33624         * soft-fp/fmadf4.c: Likewise.
33625         * soft-fp/fmatf4.c: Likewise.
33627 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33629         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33630         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33631         Silvermont.
33632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33633         macro.
33634         (index_Slow_SSE4_2): Likewise.
33635         (index_Prefer_PMINUB_for_stringop): Likewise.
33636         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33637         bit_Slow_SSE4_2 is set.
33638         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33639         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33641 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33643         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33644         rtld_global._dl_hwcap2.
33645         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33646         POWER8.
33647         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33648         POWER8 feature descriptions defined in _dl_hwcap2.
33649         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33650         string handling for POWER8 feature bits.
33651         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33652         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33653         _dl_powerpc_cap_flags.
33654         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33655         * sysdeps/powerpc/rtld-global-offsets.sym
33656         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33657         _dl_hwcap2 in the rtld_global_ro structure.
33659 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33661         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33662         hardware capabilities in support of AT_HWCAP2.
33663         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33664         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33665         GLRO(dl_hwcap2).
33666         (_dl_show_auxv): Add support for calling _dl_procinfo to display
33667         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
33668         explicitly the unknown a_type display mechanism is used.
33669         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33670         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33671         struct member.
33672         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33673         to macro prototype for AT_HWCAP2 support.
33674         * sysdeps/i386/dl-procinfo.h: Likewise.
33675         * sysdeps/s390/dl-procinfo.h: Likewise.
33676         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33677         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
33678         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
33679         return -1 for unknown a_type display fallback.
33680         * sysdeps/sparc/dl-procinfo.h: Likewise.
33681         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33682         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33684 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
33686         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33687         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33689 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
33691         [BZ #12492]
33692         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33693         mprotect making __stack_prot writable.
33695 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
33696             Joseph Myers  <joseph@codesourcery.com>
33698         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33699         as being properly aligned.
33701 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
33703         * dlfcn/modstatic5.c: New file.
33704         * dlfcn/tststatic5.c: New file.
33705         * dlfcn/Makefile (tests): Add tststatic5.
33706         (tests-static): Likewise.
33707         (modules-names): Add modstatic5.
33708         (tststatic5-ENV): New variable.
33709         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33711         [BZ #15022]
33712         * elf/dl-support.c (_dl_main_map): New variable.
33713         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33714         (_dl_nns, _dl_load_adds): Set to 1.
33715         (_dl_initial_searchlist): Refer to _dl_main_map.
33716         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33717         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33718         call to _dl_get_origin.
33719         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33720         around call_map.
33721         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33722         * dlfcn/modstatic3.c: New file.
33723         * dlfcn/tststatic3.c: New file.
33724         * dlfcn/tststatic4.c: New file.
33725         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33726         (tests-static): Likewise.
33727         (modules-names): Add modstatic3.
33728         (tststatic3-ENV, tststatic4-ENV): New variables.
33729         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33730         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33732 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
33734         * configure.in (CC): Require GCC version 4.4 or later.
33735         * configure: Regenerated.
33736         * manual/install.texi (Tools for Compilation): Update GCC version
33737         requirement.
33738         * INSTALL: Regenerated.
33740 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33742         [BZ #15674]
33743         * string/test-memcmp.c (check2): New.
33744         (main): Call check2.
33746         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33748 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
33750         [BZ #15022]
33751         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33752         over to...
33753         (dl_open_worker) [!SHARED]: ... here.
33755 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33757         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33759 2013-06-25  Richard Henderson  <rth@redhat.com>
33761         * locale/programs/locarchive.c: Include <libc-internal.h>
33763 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
33765         * manual/texinfo.tex: Update to version 2013-06-21.17, with
33766         trailing whitespace removed.
33768 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
33770         [BZ #10283]
33771         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33772         * locale/programs/locarchive.c: Include libc-mmap.h.
33773         (prepare_address_space): Take two new outputs (the mmap base and len).
33774         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
33775         values.
33776         (create_archive): Declare new mmap base and len values for
33777         prepare_address_space, and store the result in ah.
33778         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33779         (enlarge_archive): If ah->mmap_base is not NULL, use that and
33780         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33781         Declare new mmap base and len values for
33782         prepare_address_space, and store the result in new_ah.
33783         (open_archive): Declare new mmap base and len values for
33784         prepare_address_space, and store the result in ah.
33785         (close_archive): If ah->mmap_base is not NULL, use that and
33786         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33787         * sysdeps/generic/libc-mmap.h: New file.
33789 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
33791         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33792         (ALIGN_UP): Likewise.
33793         (PTR_ALIGN_DOWN): Likewise.
33794         (PTR_ALIGN_UP): Likewise.
33796 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33798         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33799         entry mapped to PPC_PLATFORM_POWER8.
33800         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33801         POWER8.
33802         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33803         (_dl_string_platform): Add case for exporting platform position for
33804         POWER8.
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33806         search path to sysdeps/powerpc/powerpc32/power8 directory.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33808         search path to sysdeps/powerpc/powerpc64/power8 directory.
33809         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33810         power7 directories.
33811         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33812         power7 directories.
33814 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33816         * INSTALL: Regenerate.
33818         * nscd/connections.c (nscd_init): Fix comment.
33820 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
33822         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33824         [BZ #15667]
33825         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33826         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33828 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
33830         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33831         DL_DST_REQ_STATIC.
33832         (DL_DST_REQ_STATIC): Remove macro.
33834 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
33836         [BZ #7006]
33837         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33838         with a shift of 0 bits.
33840 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
33842         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33843         $(tststatic-ENV).
33845 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33847         [BZ #15655]
33848         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33850 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33852         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33853         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33854         accepts -fno-tree-loop-distribute-patterns.
33855         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33856         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33857         recursive call.
33858         * string/memset.c (memset): Likewise.
33859         * string/test-memmove.c (simple_memmove): Disable loop transformation
33860         to library calls.
33861         * string/test-memset.c (simple_memset): Likewise.
33862         * benchtests/bench-memmove.c (simple_memmove): Likewise.
33863         * benchtests/bench-memset.c (simple_memset): Likewise.
33864         * configure: Regenerated.
33866 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
33868         * math/test-misc.c (main): Ignore fesetround failure when failures
33869         of subsequent rounding tests would be ignored.
33871         [BZ #15654]
33872         * math/fedisblxcpt.c (fedisableexcept): Return 0.
33873         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33874         * math/fegetenv.c (__fegetenv): Return 0.
33875         * math/fegetexcept.c (fegetexcept): Return 0.
33876         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33877         FE_TONEAREST.
33878         * math/feholdexcpt.c (feholdexcept): Return 0.
33879         * math/fesetenv.c (__fesetenv): Return 0.
33880         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33881         argument FE_TONEAREST.
33882         * math/feupdateenv.c (__feupdateenv): Return 0.
33883         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33885 2013-06-18  Roland McGrath  <roland@hack.frob.com>
33887         * elf/rtld-Rules (rtld-compile-command.S): New variable.
33888         (rtld-compile-command.s, rtld-compile-command.c): New variables.
33889         ($(objpfx)rtld-%.os rules): Use them.
33891 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33893         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33894         fields.
33896 2013-06-17  Roland McGrath  <roland@hack.frob.com>
33898         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33899         length of target pattern, then descending length of dependency pattern.
33900         * configure.in (AWK): Require gawk 3.1.2 or newer.
33901         * manual/install.texi (Tools for Compilation): Say that we do.
33902         * configure: Regenerated.
33904         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33905         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33906         * scripts/sysd-rules.awk: ... this new script.
33907         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33908         than a glob-style pattern.
33910 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
33912         * math/test-misc.c (main): Do not treat incorrectly rounded
33913         conversions as failure unless ROUNDING_TESTS passes.
33915 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #15631]
33918         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33919         restore exception state around main square root computation, then
33920         check for inexactness explicitly.
33922         * math/libm-test.inc (fma_test_data): Add another test.
33924 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33926         * manual/threads.texi (Non-POSIX Extensions): New document
33927         node.  Document pthread_getattr_default_np and
33928         pthread_setattr_default_np.
33930         * Versions.def (libpthread): Add GLIBC_2.18.
33931         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33933         Likewise.
33934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33935         Likewise.
33936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33937         Likewise.
33938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33939         Likewise.
33940         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33941         Likewise.
33942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33943         Likewise.
33944         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33945         Likewise.
33946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33947         Likewise.
33948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33949         Likewise.
33951 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33954         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33956 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33957             H.J. Lu  <hjl.tools@gmail.com>
33959         [BZ #15627]
33960         * sysdeps/x86_64/rtld-memset.c: Remove file.
33961         * sysdeps/x86_64/rtld-memset.S: New file.
33963 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
33965         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33966         (test_in_one_mode): Take arguments for whether the rounding mode
33967         is supported for each floating-point type.
33968         (do_test): Pass new arguments to test_in_one_mode using
33969         ROUNDING_TESTS.
33971 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33973         * posix/tst-waitid.c (do_test): Distinguish different instances of
33974         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
33975         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33976         before entering the kernel for waitpid.
33978 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33980         * NEWS: Fix note on clock function precision.  Text by Roland
33981         McGrath.
33983 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33985         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33986         it into place only when and if the sanity check passes.
33988 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33990         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33991         output for whether conversion result is exact.  Take argument
33992         indicating whether type is IBM long double.
33993         (round_for_all): Change need_exact field to ibm_ld.
33994         * stdlib/tst-strtod-round.c (struct exactness): New type.
33995         (struct test): Change bool ld_ok field to struct exactness exact.
33996         (TEST): Update all definitions for change to field.
33997         (tests): Regenerate array contents.
33998         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33999         field value.  Check for IBM long double here.
34000         (do_test): Update calls to test_in_one_mode.
34002 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
34004         [BZ #12515]
34005         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
34006         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
34008 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34010         [BZ #15605]
34011         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
34012         generated by the compiler on loop optimizations.
34013         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
34014         general definitions.
34016 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
34018         * math/bug-nextafter.c: Include <math-tests.h>.
34019         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34020         the relevant type.
34021         * math/bug-nexttoward.c: Include <math-tests.h>.
34022         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34023         the relevant type.
34024         * math/test-misc.c: Include <math-tests.h>.
34025         (main): Only test for exceptions if EXCEPTION_TESTS is true for
34026         the relevant type.
34028 2013-06-12  Andreas Jaeger  <aj@suse.de>
34030         * po/ia.po: Update Interlingua translation from translation
34031         project.
34033 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34035         * include/fenv.h: Include stdbool.h.
34036         (struct rm_ctx): New structure.
34037         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
34038         Define macro.
34039         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
34040         (SET_RESTORE_ROUNDF): Likewise.
34041         (SET_RESTORE_ROUNDL): Likewise.
34042         (SET_RESTORE_ROUND_NOEX): Likewise.
34043         (SET_RESTORE_ROUND_NOEXF): Likewise.
34044         (SET_RESTORE_ROUND_NOEXL): Likewise.
34045         (SET_RESTORE_ROUND_53BIT): Likewise.
34046         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
34047         (libc_feresetround_noexf_ctx): Likewise.
34048         (libc_feresetround_noexl_ctx): Likewise.
34049         (libc_feholdsetround_53bit_ctx): Likewise.
34050         (libc_feresetround_53bit_ctx): Likewise.
34051         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
34052         (libc_feholdexcept_setround_sse_ctx): New function.
34053         (libc_fesetenv_sse_ctx): Likewise.
34054         (libc_feupdateenv_sse_ctx): Likewise.
34055         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
34056         (libc_feholdexcept_setround_387_ctx): Likewise.
34057         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
34058         (libc_feholdsetround_387_prec_ctx): Likewise.
34059         (libc_feholdsetround_387_ctx): Likewise.
34060         (libc_feholdsetround_387_53bit_ctx): Likewise.
34061         (libc_feholdsetround_sse_ctx): Likewise.
34062         (libc_feresetround_sse_ctx): Likewise.
34063         (libc_feresetround_387_ctx): Likewise.
34064         (libc_feupdateenv_387_ctx): Likewise.
34065         (libc_feholdexcept_setroundf_ctx): Define macro.
34066         (libc_fesetenvf_ctx): Likewise.
34067         (libc_feupdateenvf_ctx): Likewise.
34068         (libc_feholdsetroundf_ctx): Likewise.
34069         (libc_feresetroundf_ctx): Likewise.
34070         (libc_feholdexcept_setround_ctx): Likewise.
34071         (libc_fesetenv_ctx): Likewise.
34072         (libc_feupdateenv_ctx): Likewise.
34073         (libc_feholdsetround_ctx): Likewise.
34074         (libc_feresetround_ctx): Likewise.
34075         (libc_feholdexcept_setroundl_ctx): Likewise.
34076         (libc_feupdateenvl_ctx): Likewise.
34077         (libc_feholdsetroundl_ctx): Likewise.
34078         (libc_feresetroundl_ctx): Likewise.
34079         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
34080         (libc_feresetround_53bit_ctx): Likewise.
34082 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34084         * locale/iso-639.def: Convert to UTF-8.
34086 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
34088         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
34089         (EXCEPTION_TESTS_double): Likewise.
34090         (EXCEPTION_TESTS_long_double): Likewise.
34091         (EXCEPTION_TESTS): Likewise.
34092         * math/libm-test.inc (test_exceptions): Only test exceptions if
34093         EXCEPTION_TESTS (FLOAT).
34095 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34097         * benchtests/Makefile (string-bench): Add strcpy_chk and
34098         stpcpy_chk.
34099         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
34100         * benchtests/bench-stpcpy_chk.c: New file.
34101         * benchtests/bench-strcpy_chk-ifunc.c: New file.
34102         * benchtests/bench-strcpy_chk.c: New file.
34103         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
34104         code.
34105         (do_test): Likewise.
34107 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34109         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
34110         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
34111         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
34112         with tabs where appropriate.
34113         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
34114         dl-procinfo.h.
34115         [PPC_PLATFORM_PPC440]: Likewise.
34116         [PPC_PLATFORM_PPC464]: Likewise.
34117         [PPC_PLATFORM_PPC476]: Likewise.
34118         (_dl_string_platform): Add support for detecting ppc405, ppc440,
34119         ppc464, and ppc476 platform strings merging from ports/
34120         dl-procinfo.h.
34122 2013-06-11  Andreas Schwab  <schwab@suse.de>
34124         [BZ #14991]
34125         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
34126         (from_ucs4_idx): Regenerate.
34127         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
34128         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
34129         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
34130         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
34131         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
34132         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
34133         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
34134         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
34135         from FROM_LOOP and TO_LOOP specific macros.
34136         (BODY): Handle combining characters.
34137         * iconvdata/BIG5HKSCS.irreversible: Update.
34138         * iconvdata/BIG5HKSCS.precomposed: New file.
34139         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
34140         characters.
34141         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
34143 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34145         * include/sys/time.h: Fix indentation and add copyright header.
34147         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
34148         (do_test): Likewise.
34149         * string/test-memchr.c (do_one_test): Likewise.
34150         (do_test): Likewise.
34151         * string/test-memcmp.c (do_one_test): Likewise.
34152         (do_test): Likewise.
34153         * string/test-memcpy.c (do_one_test): Likewise.
34154         (do_test): Likewise.
34155         * string/test-memmem.c (do_one_test): Likewise.
34156         (do_test): Likewise.
34157         (do_random_tests): Likewise.
34158         * string/test-memmove.c (do_one_test): Likewise.
34159         (do_test): Likewise.
34160         * string/test-memset.c (do_one_test): Likewise.
34161         (do_test): Likewise.
34162         * string/test-rawmemchr.c (do_one_test): Likewise.
34163         (do_test): Likewise.
34164         * string/test-strcasecmp.c (do_one_test): Likewise.
34165         (do_test): Likewise.
34166         * string/test-strcasestr.c (do_one_test): Likewise.
34167         (do_test): Likewise.
34168         * string/test-strcat.c (do_one_test): Likewise.
34169         (do_test): Likewise.
34170         * string/test-strchr.c (do_one_test): Likewise.
34171         (do_test): Likewise.
34172         * string/test-strcmp.c (do_one_test): Likewise.
34173         (do_test): Likewise.
34174         * string/test-strcpy.c (do_one_test): Likewise.
34175         (do_test): Likewise.
34176         * string/test-string.h: Likewise.
34177         (test_init): Likewise.
34178         * string/test-strlen.c (do_one_test): Likewise.
34179         (do_test): Likewise.
34180         * string/test-strncasecmp.c (do_one_test): Likewise.
34181         (do_test): Likewise.
34182         * string/test-strncat.c (do_one_test): Likewise.
34183         (do_test): Likewise.
34184         * string/test-strncmp.c (do_one_test): Likewise.
34185         (do_test_limit): Likewise.
34186         (do_test): Likewise.
34187         * string/test-strncpy.c (do_one_test): Likewise.
34188         (do_test): Likewise.
34189         * string/test-strnlen.c (do_one_test): Likewise.
34190         (do_test): Likewise.
34191         * string/test-strpbrk.c (do_one_test): Likewise.
34192         (do_test): Likewise.
34193         * string/test-strrchr.c (do_one_test): Likewise.
34194         (do_test): Likewise.
34195         * string/test-strspn.c (do_one_test): Likewise.
34196         (do_test): Likewise.
34197         * string/test-strstr.c (do_one_test): Likewise.
34198         (do_test): Likewise.
34200         * benchtests/Makefile (string-bench): Add string benchmarks.
34201         * benchtests/bench-bcopy-ifunc.c: New file.
34202         * benchtests/bench-bcopy.c: New file.
34203         * benchtests/bench-bzero-ifunc.c: New file.
34204         * benchtests/bench-bzero.c: New file.
34205         * benchtests/bench-memccpy-ifunc.c: New file.
34206         * benchtests/bench-memccpy.c: New file.
34207         * benchtests/bench-memchr-ifunc.c: New file.
34208         * benchtests/bench-memchr.c: New file.
34209         * benchtests/bench-memcmp-ifunc.c: New file.
34210         * benchtests/bench-memcmp.c: New file.
34211         * benchtests/bench-memmem-ifunc.c: New file.
34212         * benchtests/bench-memmem.c: New file.
34213         * benchtests/bench-memmove-ifunc.c: New file.
34214         * benchtests/bench-memmove.c: New file.
34215         * benchtests/bench-mempcpy-ifunc.c: New file.
34216         * benchtests/bench-mempcpy.c: New file.
34217         * benchtests/bench-memset-ifunc.c: New file.
34218         * benchtests/bench-memset.c: New file.
34219         * benchtests/bench-rawmemchr-ifunc.c: New file.
34220         * benchtests/bench-rawmemchr.c: New file.
34221         * benchtests/bench-stpcpy-ifunc.c: New file.
34222         * benchtests/bench-stpcpy.c: New file.
34223         * benchtests/bench-stpncpy-ifunc.c: New file.
34224         * benchtests/bench-stpncpy.c: New file.
34225         * benchtests/bench-strcasecmp-ifunc.c: New file.
34226         * benchtests/bench-strcasecmp.c: New file.
34227         * benchtests/bench-strcasestr-ifunc.c: New file.
34228         * benchtests/bench-strcasestr.c: New file.
34229         * benchtests/bench-strcat-ifunc.c: New file.
34230         * benchtests/bench-strcat.c: New file.
34231         * benchtests/bench-strchr-ifunc.c: New file.
34232         * benchtests/bench-strchr.c: New file.
34233         * benchtests/bench-strchrnul-ifunc.c: New file.
34234         * benchtests/bench-strchrnul.c: New file.
34235         * benchtests/bench-strcmp-ifunc.c: New file.
34236         * benchtests/bench-strcmp.c: New file.
34237         * benchtests/bench-strcpy-ifunc.c: New file.
34238         * benchtests/bench-strcpy.c: New file.
34239         * benchtests/bench-strcspn-ifunc.c: New file.
34240         * benchtests/bench-strcspn.c: New file.
34241         * benchtests/bench-strlen-ifunc.c: New file.
34242         * benchtests/bench-strlen.c: New file.
34243         * benchtests/bench-strncasecmp-ifunc.c: New file.
34244         * benchtests/bench-strncasecmp.c: New file.
34245         * benchtests/bench-strncat-ifunc.c: New file.
34246         * benchtests/bench-strncat.c: New file.
34247         * benchtests/bench-strncmp-ifunc.c: New file.
34248         * benchtests/bench-strncmp.c: New file.
34249         * benchtests/bench-strncpy-ifunc.c: New file.
34250         * benchtests/bench-strncpy.c: New file.
34251         * benchtests/bench-strnlen-ifunc.c: New file.
34252         * benchtests/bench-strnlen.c: New file.
34253         * benchtests/bench-strpbrk-ifunc.c: New file.
34254         * benchtests/bench-strpbrk.c: New file.
34255         * benchtests/bench-strrchr-ifunc.c: New file.
34256         * benchtests/bench-strrchr.c: New file.
34257         * benchtests/bench-strspn-ifunc.c: New file.
34258         * benchtests/bench-strspn.c: New file.
34259         * benchtests/bench-strstr-ifunc.c: New file.
34260         * benchtests/bench-strstr.c: New file.
34262         * benchtests/Makefile: Disable parallel execution of targets.
34263         (string-bench): Add memcpy.
34264         (benchset): New variable to store a list of benchmark sets.
34265         (bench-func): Renamed from bench.
34266         (bench-set): New target.
34267         (bench): Depend on bench-func and bench-set.
34268         * benchtests/README: Add section on benchmark sets.
34269         * benchtests/bench-memcpy-ifunc.c: New file.
34270         * benchtests/bench-memcpy.c: New file.
34271         * benchtests/bench-string.h: New file.
34273 2013-06-11  Andreas Schwab  <schwab@suse.de>
34275         [BZ #15577]
34276         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34277         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34278         values in the triple.
34279         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34280         terminator in the group key.
34282 2013-06-11  Andreas Jaeger  <aj@suse.de>
34284         * po/zh_TW.po: Update Chinese (traditional) translation from
34285         translation project.
34287 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34289         * include/time.h (__clock_gettime): Add libc_hidden_proto.
34290         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34291         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
34292         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34293         (clock_getcpuclockid): Likewise.
34294         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34295         Add weak_alias and libc_hidden_def.
34296         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34297         * rt/clock_gettime.c (clock_gettime): Rename to
34298         __clock_gettime.  Add weak_alias and libc_hidden_def.
34299         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34300         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34301         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
34302         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34303         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34304         Likewise.
34305         * rt/clock_settime.c (clock_settime): Rename to
34306         __clock_settime.  Add weak_alias and libc_hidden_def.
34307         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34309 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
34311         * mach/err_boot.sub: Remove trailing whitespace.
34312         * mach/err_ipc.sub: Likewise.
34313         * mach/err_mach.sub: Likewise.
34315         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34316         (ROUNDING_TESTS_double): Likewise.
34317         (ROUNDING_TESTS_long_double): Likewise.
34318         (ROUNDING_TESTS): Likewise.
34319         * math/libm-test.inc: Include <math-tests.h>.
34320         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34321         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34322         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34323         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34325 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34327         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34328         of assigning.
34330 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
34332         * sysdeps/gnu/errlist.awk: Do not generate space at end of
34333         otherwise empty TRANS lines.
34334         * sysdeps/gnu/errlist.c: Regenerated.
34336         * catgets/gencat.c (error_print): Use (void) in function
34337         definition.
34338         * crypt/crypt_util.c (__init_des): Likewise.
34339         * crypt/speeds.c (Stop): Likewise.
34340         (main): Likewise.
34341         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34342         * inet/ruserpass.c (token): Likewise.
34343         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34344         * intl/localealias.c (extend_alias_table): Likewise.
34345         * intl/plural-exp.c (init_germanic_plural): Likewise.
34346         * libio/fcloseall.c (__fcloseall): Likewise.
34347         * libio/genops.c (_IO_flush_all): Likewise.
34348         (_IO_flush_all_linebuffered): Likewise.
34349         (_IO_cleanup): Likewise.
34350         (_IO_iter_begin): Likewise.
34351         (_IO_iter_end): Likewise.
34352         (_IO_list_lock): Likewise.
34353         (_IO_list_unlock): Likewise.
34354         (_IO_list_resetlock): Likewise.
34355         * libio/getchar.c (getchar): Likewise.
34356         * libio/getchar_u.c (getchar_unlocked): Likewise.
34357         * libio/getwchar.c (getwchar): Likewise.
34358         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34359         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34360         * login/getpt.c (__getpt): Likewise.
34361         * login/tst-utmp.c (main): Likewise.
34362         * malloc/hooks.c (__malloc_check_init): Likewise.
34363         * malloc/malloc.c (__malloc_stats): Likewise.
34364         * malloc/mtrace.c (tr_break): Likewise.
34365         (mtrace): Likewise.
34366         (muntrace): Likewise.
34367         * misc/fstab.c (endfsent): Likewise.
34368         * misc/getclktck.c (__getclktck): Likewise.
34369         * misc/getdtsz.c (__getdtablesize): Likewise.
34370         * misc/gethostid.c (gethostid): Likewise.
34371         * misc/getpagesize.c (__getpagesize): Likewise.
34372         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34373         (__get_nprocs): Likewise.
34374         (__get_phys_pages): Likewise.
34375         (__get_avphys_pages): Likewise.
34376         * misc/getttyent.c (getttyent): Likewise.
34377         (setttyent): Likewise.
34378         (endttyent): Likewise.
34379         * misc/getusershell.c (getusershell): Likewise.
34380         (endusershell): Likewise.
34381         (setusershell): Likewise.
34382         (initshells): Likewise.
34383         * misc/hsearch.c (__hdestroy): Likewise.
34384         * misc/sync.c (sync): Likewise.
34385         * misc/syslog.c (closelog_internal): Likewise.
34386         (closelog): Likewise.
34387         * misc/ttyslot.c (ttyslot): Likewise.
34388         * misc/vhangup.c (vhangup): Likewise.
34389         * posix/fork.c (__fork): Likewise.
34390         * posix/getegid.c (__getegid): Likewise.
34391         * posix/geteuid.c (__geteuid): Likewise.
34392         * posix/getgid.c (__getgid): Likewise.
34393         * posix/getpid.c (__getpid): Likewise.
34394         * posix/getppid.c (__getppid): Likewise.
34395         * posix/getuid.c (__getuid): Likewise.
34396         * posix/pause.c (pause): Likewise.
34397         * posix/setpgrp.c (setpgrp): Likewise.
34398         * posix/setsid.c (__setsid): Likewise.
34399         * posix/test-vfork.c (noop): Likewise.
34400         * resolv/gethnamaddr.c (_endhtent): Likewise.
34401         (_gethtent): Likewise.
34402         (ht_endhostent): Likewise.
34403         (gethostent): Likewise.
34404         (dns_service): Likewise.
34405         * stdlib/drand48.c (drand48): Likewise.
34406         * stdlib/lrand48.c (lrand48): Likewise.
34407         * stdlib/mrand48.c (mrand48): Likewise.
34408         * stdlib/rand.c (rand): Likewise.
34409         * stdlib/random.c (__random): Likewise.
34410         * stdlib/setenv.c (clearenv): Likewise.
34411         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34412         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34413         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34414         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34415         (__get_nprocs): Likewise.
34416         (__get_phys_pages): Likewise.
34417         (__get_avphys_pages): Likewise.
34418         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34419         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34420         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34421         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34422         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34423         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34424         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34425         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34426         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34427         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34428         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34429         * sysdeps/mach/hurd/sync.c (sync): Likewise.
34430         * sysdeps/posix/clock.c (clock): Likewise.
34431         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34432         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34433         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34434         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34435         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34436         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34437         (__get_nprocs_conf): Likewise.
34438         (__get_phys_pages): Likewise.
34439         (__get_avphys_pages): Likewise.
34440         * time/clock.c (clock): Likewise.
34441         * time/tzset.c (__tzname_max): Likewise.
34443 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
34445         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34446         (__bswap_32): Do not use "register".
34447         * crypt/crypt.c (_ufc_doit_r): Likewise.
34448         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34449         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34450         * gmon/gmon.c (__monstartup): Likewise.
34451         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34452         * hurd/hurdmalloc.c (more_memory): Likewise.
34453         (malloc): Likewise.
34454         (free): Likewise.
34455         (realloc): Likewise.
34456         (malloc_fork_prepare): Likewise.
34457         (malloc_fork_parent): Likewise.
34458         (malloc_fork_child): Likewise.
34459         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34460         (_svcauth_des): Likewise.
34461         * inet/inet_lnaof.c (inet_lnaof): Likewise.
34462         * inet/inet_net.c (inet_network): Likewise.
34463         * inet/inet_netof.c (inet_netof): Likewise.
34464         * inet/rcmd.c (__validuser2_sa): Likewise.
34465         * io/fts.c (fts_open): Likewise.
34466         (fts_load): Likewise.
34467         (fts_close): Likewise.
34468         (fts_read): Likewise.
34469         (fts_children): Likewise.
34470         (fts_build): Likewise.
34471         (fts_stat): Likewise.
34472         (fts_sort): Likewise.
34473         (fts_alloc): Likewise.
34474         (fts_lfree): Likewise.
34475         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34476         (_IO_file_xsgetn): Likewise.
34477         (_IO_file_xsgetn_mmap): Likewise.
34478         * libio/iofopncook.c (_IO_cookie_read): Likewise.
34479         (_IO_cookie_write): Likewise.
34480         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34481         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34482         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34483         * malloc/obstack.c (_obstack_begin): Likewise.
34484         (_obstack_begin_1): Likewise.
34485         (_obstack_newchunk): Likewise.
34486         (_obstack_allocated_p): Likewise.
34487         (obstack_free): Likewise.
34488         (_obstack_memory_used): Likewise.
34489         * misc/getttyent.c (getttynam): Likewise.
34490         (getttyent): Likewise.
34491         (skip): Likewise.
34492         (value): Likewise.
34493         * misc/getusershell.c (initshells): Likewise.
34494         * misc/syslog.c (__vsyslog_chk): Likewise.
34495         * misc/ttyslot.c (ttyslot): Likewise.
34496         * nis/nis_hash.c (__nis_hash): Likewise.
34497         * posix/fnmatch_loop.c (FCT): Likewise.
34498         * posix/getconf.c (print_all): Likewise.
34499         (main): Likewise.
34500         * posix/getopt.c (exchange): Likewise.
34501         * posix/glob.c (globfree): Likewise.
34502         (prefix_array): Likewise.
34503         (__glob_pattern_type): Likewise.
34504         * resolv/arpa/nameser.h (NS_GET16): Likewise.
34505         (NS_GET32): Likewise.
34506         (NS_PUT16): Likewise.
34507         (NS_PUT32): Likewise.
34508         * resolv/gethnamaddr.c (getanswer): Likewise.
34509         (gethostbyname2): Likewise.
34510         (gethostbyaddr): Likewise.
34511         (_gethtent): Likewise.
34512         (_gethtbyname2): Likewise.
34513         (_gethtbyaddr): Likewise.
34514         * resolv/ns_print.c (dst_s_get_int16): Likewise.
34515         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34516         * resolv/res_init.c (__res_vinit): Likewise.
34517         (net_mask): Likewise.
34518         * resolv/res_mkquery.c (outchar): Likewise.
34519         (PRINT): Likewise.
34520         * stdio-common/printf_fp.c (outchar): Likewise.
34521         (PRINT): Likewise.
34522         * stdio-common/printf_fphex.c (outchar): Likewise.
34523         (PRINT): Likewise.
34524         * stdio-common/printf_size.c (outchar): Likewise.
34525         (PRINT): Likewise.
34526         * stdio-common/test_rdwr.c (main): Likewise.
34527         * stdio-common/tfformat.c (matches): Likewise.
34528         * stdio-common/vfprintf.c (outchar): Likewise.
34529         (printf_unknown): Likewise.
34530         (buffered_vfprintf): Likewise.
34531         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34532         * stdio-common/xbug.c (AppendToBuffer): Likewise.
34533         (ReadFile): Likewise.
34534         * stdlib/qsort.c (SWAP): Likewise.
34535         (_quicksort): Likewise.
34536         * stdlib/setenv.c (__add_to_environ): Likewise.
34537         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34538         * stdlib/strtol_l.c (__strtol_l): Likewise.
34539         * stdlib/tst-strtod.c (main): Likewise.
34540         * stdlib/tst-strtol.c (main): Likewise.
34541         * stdlib/tst-strtoll.c (main): Likewise.
34542         * string/bits/string2.h (__strcmp_cc): Likewise.
34543         (__strcmp_cg): Likewise.
34544         (__strcspn_c1): Likewise.
34545         (__strcspn_c2): Likewise.
34546         (__strcspn_c3): Likewise.
34547         (__strspn_c1): Likewise.
34548         (__strspn_c2): Likewise.
34549         (__strspn_c3): Likewise.
34550         (__strsep_1c): Likewise.
34551         (__strsep_2c): Likewise.
34552         (__strsep_3c): Likewise.
34553         * string/memccpy.c (__memccpy): Likewise.
34554         * string/stpcpy.c (__stpcpy): Likewise.
34555         * string/strcmp.c (strcmp): Likewise.
34556         * string/strrchr.c (strrchr): Likewise.
34557         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34558         Likewise.
34559         * sysdeps/mach/hurd/getcwd.c
34560         (_hurd_canonicalize_directory_name_internal): Likewise.
34561         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34562         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34563         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34564         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34565         Likewise, in both definitions.
34566         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34567         definitions.
34568         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34569         64] (__bswap_64): Likewise.
34570         * time/test_time.c (main): Likewise.
34571         * time/tzfile.c (__tzfile_read): Likewise.
34572         (__tzfile_compute): Likewise.
34573         * time/tzset.c (__tzset_parse_tz): Likewise.
34574         (tzset_internal): Likewise.
34575         (compute_change): Likewise.
34576         * wcsmbs/wcscat.c (__wcscat): Likewise.
34577         * wcsmbs/wcschr.c (wcschr): Likewise.
34578         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34579         * wcsmbs/wcscspn.c (wcscspn): Likewise.
34580         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34581         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34582         * wcsmbs/wcsspn.c (wcsspn): Likewise.
34583         * wcsmbs/wcsstr.c (wcsstr): Likewise.
34584         * wcsmbs/wmemchr.c (wmemchr): Likewise.
34585         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34586         * wcsmbs/wmemset.c (wmemset): Likewise.
34588 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
34590         * scripts/config.guess: Update to version 2013-05-16.
34591         * scripts/config.sub: Update to version 2013-04-24.
34592         * scripts/install-sh: Update to version 2011-11-20.07.
34593         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34594         * scripts/move-if-change: Update to version 2012-01-06 07:23.
34596 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
34598         * debug/fgetws_u_chk.c: Fix leading whitespaces.
34599         * elf/sln.c: Likewise.
34600         * hurd/hurd/ioctl.h: Likewise.
34601         * hurd/hurdmalloc.c: Likewise.
34602         * hurd/xattr.c: Likewise.
34603         * include/shlib-compat.h: Likewise.
34604         * inet/ruserpass.c: Likewise.
34605         * libio/iofgets_u.c: Likewise.
34606         * libio/iofgetws_u.c: Likewise.
34607         * locale/programs/ld-identification.c: Likewise.
34608         * locale/programs/ld-time.c: Likewise.
34609         * mach/msg-destroy.c: Likewise.
34610         * nss/nss_files/files-netgrp.c: Likewise.
34611         * resolv/res_data.c: Likewise.
34612         * soft-fp/op-1.h: Likewise.
34613         * soft-fp/op-2.h: Likewise.
34614         * soft-fp/op-4.h: Likewise.
34615         * soft-fp/op-common.h: Likewise.
34616         * stdio-common/printf_fphex.c: Likewise.
34617         * stdlib/strtod_l.c: Likewise.
34618         * sunrpc/rpc/clnt.h: Likewise.
34619         * sysdeps/generic/framestate.c: Likewise.
34620         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34621         * sysdeps/i386/bsd-setjmp.S: Likewise.
34622         * sysdeps/i386/__longjmp.S: Likewise.
34623         * sysdeps/i386/setjmp.S: Likewise.
34624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34625         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34626         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34627         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34628         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34629         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34630         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34631         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34632         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34633         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34634         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34635         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34636         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34637         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34638         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34639         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34640         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34641         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34642         * sysdeps/ieee754/support.c: Likewise.
34643         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34644         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34645         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34646         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34647         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34648         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34649         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34650         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34651         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34652         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34653         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34654         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34655         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34656         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34657         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34658         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34659         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34662 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
34664         * posix/transbug.c: Remove executable mode.
34666 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
34668         * crypt/speeds.c: Remove trailing whitespace.
34669         * dlfcn/default.c: Likewise.
34670         * elf/ifuncdep2.c: Likewise.
34671         * elf/ifuncmain1.c: Likewise.
34672         * elf/ifuncmain1vis.c: Likewise.
34673         * elf/testobj.h: Likewise.
34674         * elf/tst-stackguard1.c: Likewise.
34675         * gmon/sys/gmon.h: Likewise.
34676         * hurd/hurdmsg.c: Likewise.
34677         * hurd/new-fd.c: Likewise.
34678         * hurd/ports-get.c: Likewise.
34679         * iconvdata/ibm1008_420.c: Likewise.
34680         * inet/tst-getni1.c: Likewise.
34681         * inet/tst-getni2.c: Likewise.
34682         * libio/ioungetc.c: Likewise.
34683         * libio/wfiledoalloc.c: Likewise.
34684         * manual/libm-err-tab.pl: Likewise.
34685         * math/w_dremf.c: Likewise.
34686         * misc/ftruncate.c: Likewise.
34687         * posix/bug-glob2.c: Likewise.
34688         * posix/tst-pcre.c: Likewise.
34689         * posix/wait4.c: Likewise.
34690         * resolv/README: Likewise.
34691         * resolv/res_debug.h: Likewise.
34692         * resolv/tst-inet_ntop.c: Likewise.
34693         * setjmp/bug269-setjmp.c: Likewise.
34694         * soft-fp/extended.h: Likewise.
34695         * soft-fp/op-1.h: Likewise.
34696         * soft-fp/op-2.h: Likewise.
34697         * soft-fp/op-4.h: Likewise.
34698         * soft-fp/op-8.h: Likewise.
34699         * soft-fp/testit.c: Likewise.
34700         * stdio-common/bug16.c: Likewise.
34701         * stdlib/random.c: Likewise.
34702         * sunrpc/rpcsvc/rquota.x: Likewise.
34703         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34704         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34705         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34706         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34707         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34708         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34709         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34710         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34711         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34712         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34713         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34714         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34715         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34716         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34717         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34718         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34719         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34720         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34721         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34723         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34724         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34725         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34726         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34727         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34728         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34729         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34730         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34731         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34732         * sysdeps/ieee754/s_lib_version.c: Likewise.
34733         * sysdeps/mach/hurd/check_fds.c: Likewise.
34734         * sysdeps/mach/hurd/getsockname.c: Likewise.
34735         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34736         * sysdeps/mach/hurd/recvfrom.c: Likewise.
34737         * sysdeps/powerpc/bits/link.h: Likewise.
34738         * sysdeps/powerpc/dl-procinfo.c: Likewise.
34739         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34740         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34741         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34742         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34743         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34744         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34745         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34746         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34747         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34748         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34749         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34750         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34751         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34752         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34753         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34754         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34755         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34756         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34757         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34758         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34759         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34760         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34761         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34762         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34763         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34764         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34765         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34766         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34767         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34768         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34769         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34770         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34771         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34772         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34773         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34774         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34775         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34776         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34777         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34778         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34779         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34780         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34781         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34782         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34783         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34784         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34785         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34786         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34787         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34788         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34789         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34790         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34791         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34792         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34793         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34794         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34795         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34796         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34797         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34798         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34799         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34800         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34801         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34802         * sysdeps/powerpc/sysdep.h: Likewise.
34803         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34804         * sysdeps/s390/s390-64/sub_n.S: Likewise.
34805         * sysdeps/sh/dl-trampoline.S: Likewise.
34806         * sysdeps/sh/memset.S: Likewise.
34807         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34808         * sysdeps/sh/strlen.S: Likewise.
34809         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34810         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34811         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34812         * sysdeps/sparc/sparc32/rem.S: Likewise.
34813         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34814         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34815         * sysdeps/sparc/sparc32/strchr.S: Likewise.
34816         * sysdeps/sparc/sparc32/udiv.S: Likewise.
34817         * sysdeps/sparc/sparc32/urem.S: Likewise.
34818         * sysdeps/sparc/sparc64/add_n.S: Likewise.
34819         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34820         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34821         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34822         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34823         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34824         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34825         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34826         * sysdeps/unix/bsd/times.c: Likewise.
34827         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34828         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34832         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34833         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34834         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34835         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34836         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34837         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34838         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34839         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34840         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34841         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34842         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34843         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34844         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34845         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34846         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34847         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34848         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34849         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34850         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34851         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34852         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34853         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34854         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34855         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34856         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34857         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34858         * sysdeps/x86_64/strcspn.S: Likewise.
34860 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34862         * locale/C-translit.h: Revert #include <stdint.h> because this is a
34863         generated file.  Regenerate properly from gen-translit.pl.
34864         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
34865         locale/C-translit.h.
34867 2013-06-05  Andreas Schwab  <schwab@suse.de>
34869         [BZ #15100]
34870         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34871         week as 6 instead of -1.
34872         * time/tst-strptime.c (day_tests): Add test case.
34874 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34876         * sysdeps/generic/math_private.h
34877         (libc_feholdexcept_setround_53bit): Replace with
34878         libc_feholdsetround_53bit.
34879         (libc_feupdateenv_53bit): Replace with
34880         libc_feresetround_53bit.
34881         (SET_RESTORE_ROUND_53BIT): Adjust.
34883 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34885         * string/test-strchrnul.c: Add copyright header.
34887         * posix/tst-getaddrinfo4.c: Increase test timeout.
34889 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
34891         [BZ #15536]
34892         * math/libm-test.inc (MAX_EXP): Remove
34893         (MIN_EXP): Define.
34894         (ulp): Use MIN_EXP - MANT_DIG.
34895         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34897 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
34899         * po/be.po: Revert last change.
34900         * po/zh_CN.po: Likewise.
34901         * po/header.pot: Likewise.
34903 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
34905         * Makefile ($(common-objpfx)linkobj/libc.so): Define
34906         link-libc-deps to empty as target-specific variable.
34907         * Makerules (link-libc-args): New variable.
34908         (libc-for-link): Likewise.
34909         (link-libc-deps): Likewise.
34910         (lib%.so): Depend on $(link-libc-deps).  Link with
34911         $(link-libc-args).
34912         (build-module): Link with $(link-libc-args).
34913         (build-module-asneeded): Likewise.
34914         (build-module-helper-objlist): Filter out $(link-libc-deps) from
34915         list of objects.
34916         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34917         target-specific variable.
34918         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34919         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34920         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34921         libc.
34922         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34923         libc and ld.so.
34924         ($(objpfx)libpcprofile.so): Likewise.
34925         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34926         libc_nonshared.a.
34927         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34928         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34929         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34930         $(link-libc-deps).
34931         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34932         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34933         * login/Makefile ($(objpfx)libutil.so): Likewise.
34934         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34935         * math/Makefile ($(objpfx)libm.so): Likewise.
34936         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34937         $(objpfx)libnsl.so): Define libc-for-link as target-specific
34938         variable instead of depending directly on libc.
34939         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34940         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34941         $(link-libc-deps).
34942         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34943         libc.
34944         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34945         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34946         ($(objpfx)libanl.so): Likewise.
34947         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34948         ld.so.
34949         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34950         $(link-libc-deps).
34951         * sysdeps/i386/fpu/Makefile: Remove file.
34952         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34953         ($(objpfx)libm.so): Remove dependency on ld.so.
34955 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
34957         [BZ # 15553]
34958         * nis/yp_xdr.c (XDRMAXNAME): Define.
34959         (XDRMAXRECORD): Define.
34960         (xdr_domainname): Use XDRMAXNAME.
34961         (xdr_mapname): Likewise.
34962         (xdr_peername): Likewise.
34963         (xdr_keydat): Use XDRMAXRECORD.
34964         (xdr_valdat): Likewise.
34966 2013-05-30  Jeff Law  <law@redhat.com>
34968         [BZ #14256]
34969         * manual/errno.texi (ESTALE): Update to account for more than
34970         just NFS file systems.
34971         * sysdeps/gnu/errlist.c: Regenerated.
34973 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34975         [BZ #15465]
34976         * elf/Makefile (tests): Add tst-null-argv.
34977         (modules-names):  Add tst-null-argv-lib.
34978         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34979         (tst-null-argv-ENV): Set environment for tst-null-argv.
34980         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34981         (RTLD_PROGNAME): New macro.
34982         * elf/tst-null-argv.c: New test case.
34983         * elf/tst-null-argv-lib.c: Library for test case.
34984         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34985         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34986         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34987         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34988         * elf/dl-init.c (call_init): Likewise.
34989         (_dl_init): Likewise.
34990         * elf/dl-load.c (print_search_path): Likewise.
34991         (_dl_map_object): Likewise.
34992         * elf/dl-lookup.c (do_lookup_x): Likewise.
34993         (add_dependency): Likewise.
34994         (_dl_lookup_symbol_x): Likewise.
34995         (_dl_debug_bindings): Likewise.
34996         * elf/dl-open.c (_dl_show_scope): Likewise.
34997         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34998         * elf/dl-version.c (match_symbol): Likewise.
34999         (_dl_check_map_versions): Likewise.
35000         * elf/rtld.c (dl_main): Likewise.
35001         (print_unresolved): Use RTLD_PROGNAME.
35002         (print_missing_version): Likewise.
35003         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
35004         (elf_machine_rela): Likewise.
35005         * sysdeps/powerpc/powerpc32/dl-machine.c
35006         (__process_machine_rela): Likewise.
35007         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35008         Likewise.
35009         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
35010         Likewise.
35011         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
35012         Likewise.
35013         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
35015         Likewise.
35016         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
35017         Likewise.
35018         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35020 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
35022         * po/be.po: Add descriptive title.
35023         * po/zh_CN.po: Likewise.
35024         * po/header.pot: Likewise.
35026 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
35028         * locale/programs/locarchive.c (create_archive): Inlucde fname in
35029         error message.
35030         (enlarge_archive): Likewise.
35032 2013-05-28  Ben North  <ben@redfrontdoor.org>
35034         * manual/arith.texi (frexp): It is the magnitude of the return
35035         value which lies in [0.5, 1), not the return value itself.
35037 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35039         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35041 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
35043         * stdio-common/bug26.c (main): Correct fscanf template.
35045         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
35046         declare _dl_skip_args.
35048         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
35049         Don't declare.
35051         * manual/platform.texi: Add missing @end deftypefun.
35053 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #15529]
35056         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
35057         bit of mantissa of 2^16382.
35058         * math/libm-test.inc (hypot_test_data): Add more tests.
35060         * math/libm-test.inc: Add drem and pow10 to list of tested
35061         functions.
35062         (pow10_test): New function.
35063         (drem_test): Likewise.
35064         (drem_test_tonearest): Likewise.
35065         (drem_test_towardzero): Likewise.
35066         (drem_test_downward): Likewise.
35067         (drem_test_upward): Likewise.
35068         (main): Call the new functions.
35070         * math/libm-test.inc (finite_test_data): Remove.
35071         (finite_test): Run tests from isfinite_test_data.
35072         (gamma_test_data): Remove.
35073         (gamma_test): Run tests from lgamma_test_data.
35074         * sysdeps/i386/fpu/libm-test-ulps: Update.
35075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35077 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35079         * manual/platform.texi: Add PowerPC PPR function set documentation.
35080         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
35081         implementation.
35083 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
35085         * math/libm-test.inc (MAX_EXP): Define.
35086         (ULPDIFF): Define.
35087         (ulp): New function.
35088         (check_float_internal): Use ULPDIFF.
35089         (cpow_test): Disable failing test.
35090         (check_ulp): Test ulp() implemetnation.
35091         (main): Call check_ulp before starting tests.
35093 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
35095         * math/gen-libm-test.pl (generate_testfile): Do not handle
35096         START_DATA and END_DATA.
35097         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
35098         END_DATA.
35099         (acos_tonearest_test_data): Likewise.
35100         (acos_towardzero_test_data): Likewise.
35101         (acos_downward_test_data): Likewise.
35102         (acos_upward_test_data): Likewise.
35103         (acosh_test_data): Likewise.
35104         (asin_test_data): Likewise.
35105         (asin_tonearest_test_data): Likewise.
35106         (asin_towardzero_test_data): Likewise.
35107         (asin_downward_test_data): Likewise.
35108         (asin_upward_test_data): Likewise.
35109         (asinh_test_data): Likewise.
35110         (atan_test_data): Likewise.
35111         (atanh_test_data): Likewise.
35112         (atan2_test_data): Likewise.
35113         (cabs_test_data): Likewise.
35114         (cacos_test_data): Likewise.
35115         (cacosh_test_data): Likewise.
35116         (carg_test_data): Likewise.
35117         (casin_test_data): Likewise.
35118         (casinh_test_data): Likewise.
35119         (catan_test_data): Likewise.
35120         (catanh_test_data): Likewise.
35121         (cbrt_test_data): Likewise.
35122         (ccos_test_data): Likewise.
35123         (ccosh_test_data): Likewise.
35124         (ceil_test_data): Likewise.
35125         (cexp_test_data): Likewise.
35126         (cimag_test_data): Likewise.
35127         (clog_test_data): Likewise.
35128         (clog10_test_data): Likewise.
35129         (conj_test_data): Likewise.
35130         (copysign_test_data): Likewise.
35131         (cos_test_data): Likewise.
35132         (cos_tonearest_test_data): Likewise.
35133         (cos_towardzero_test_data): Likewise.
35134         (cos_downward_test_data): Likewise.
35135         (cos_upward_test_data): Likewise.
35136         (cosh_test_data): Likewise.
35137         (cosh_tonearest_test_data): Likewise.
35138         (cosh_towardzero_test_data): Likewise.
35139         (cosh_downward_test_data): Likewise.
35140         (cosh_upward_test_data): Likewise.
35141         (cpow_test_data): Likewise.
35142         (cproj_test_data): Likewise.
35143         (creal_test_data): Likewise.
35144         (csin_test_data): Likewise.
35145         (csinh_test_data): Likewise.
35146         (csqrt_test_data): Likewise.
35147         (ctan_test_data): Likewise.
35148         (ctan_tonearest_test_data): Likewise.
35149         (ctan_towardzero_test_data): Likewise.
35150         (ctan_downward_test_data): Likewise.
35151         (ctan_upward_test_data): Likewise.
35152         (ctanh_test_data): Likewise.
35153         (ctanh_tonearest_test_data): Likewise.
35154         (ctanh_towardzero_test_data): Likewise.
35155         (ctanh_downward_test_data): Likewise.
35156         (ctanh_upward_test_data): Likewise.
35157         (erf_test_data): Likewise.
35158         (erfc_test_data): Likewise.
35159         (exp_test_data): Likewise.
35160         (exp_tonearest_test_data): Likewise.
35161         (exp_towardzero_test_data): Likewise.
35162         (exp_downward_test_data): Likewise.
35163         (exp_upward_test_data): Likewise.
35164         (exp10_test_data): Likewise.
35165         (exp2_test_data): Likewise.
35166         (expm1_test_data): Likewise.
35167         (fabs_test_data): Likewise.
35168         (fdim_test_data): Likewise.
35169         (finite_test_data): Likewise.
35170         (floor_test_data): Likewise.
35171         (fma_test_data): Likewise.
35172         (fma_towardzero_test_data): Likewise.
35173         (fma_downward_test_data): Likewise.
35174         (fma_upward_test_data): Likewise.
35175         (fmax_test_data): Likewise.
35176         (fmin_test_data): Likewise.
35177         (fmod_test_data): Likewise.
35178         (fpclassify_test_data): Likewise.
35179         (frexp_test_data): Likewise.
35180         (gamma_test_data): Likewise.
35181         (hypot_test_data): Likewise.
35182         (ilogb_test_data): Likewise.
35183         (isfinite_test_data): Likewise.
35184         (isgreater_test_data): Likewise.
35185         (isgreaterequal_test_data): Likewise.
35186         (isinf_test_data): Likewise.
35187         (isless_test_data): Likewise.
35188         (islessequal_test_data): Likewise.
35189         (islessgreater_test_data): Likewise.
35190         (isnan_test_data): Likewise.
35191         (isnormal_test_data): Likewise.
35192         (issignaling_test_data): Likewise.
35193         (isunordered_test_data): Likewise.
35194         (j0_test_data): Likewise.
35195         (j1_test_data): Likewise.
35196         (jn_test_data): Likewise.
35197         (ldexp_test_data): Likewise.
35198         (lgamma_test_data): Likewise.
35199         (lrint_test_data): Likewise.
35200         (lrint_tonearest_test_data): Likewise.
35201         (lrint_towardzero_test_data): Likewise.
35202         (lrint_downward_test_data): Likewise.
35203         (lrint_upward_test_data): Likewise.
35204         (llrint_test_data): Likewise.
35205         (llrint_tonearest_test_data): Likewise.
35206         (llrint_towardzero_test_data): Likewise.
35207         (llrint_downward_test_data): Likewise.
35208         (llrint_upward_test_data): Likewise.
35209         (log_test_data): Likewise.
35210         (log10_test_data): Likewise.
35211         (log1p_test_data): Likewise.
35212         (log2_test_data): Likewise.
35213         (logb_test_data): Likewise.
35214         (logb_downward_test_data): Likewise.
35215         (lround_test_data): Likewise.
35216         (llround_test_data): Likewise.
35217         (modf_test_data): Likewise.
35218         (nearbyint_test_data): Likewise.
35219         (nextafter_test_data): Likewise.
35220         (nexttoward_test_data): Likewise.
35221         (pow_test_data): Likewise.
35222         (pow_tonearest_test_data): Likewise.
35223         (pow_towardzero_test_data): Likewise.
35224         (pow_downward_test_data): Likewise.
35225         (pow_upward_test_data): Likewise.
35226         (remainder_test_data): Likewise.
35227         (remainder_tonearest_test_data): Likewise.
35228         (remainder_towardzero_test_data): Likewise.
35229         (remainder_downward_test_data): Likewise.
35230         (remainder_upward_test_data): Likewise.
35231         (remquo_test_data): Likewise.
35232         (rint_test_data): Likewise.
35233         (rint_tonearest_test_data): Likewise.
35234         (rint_towardzero_test_data): Likewise.
35235         (rint_downward_test_data): Likewise.
35236         (rint_upward_test_data): Likewise.
35237         (round_test_data): Likewise.
35238         (scalb_test_data): Likewise.
35239         (scalbn_test_data): Likewise.
35240         (scalbln_test_data): Likewise.
35241         (signbit_test_data): Likewise.
35242         (sin_test_data): Likewise.
35243         (sin_tonearest_test_data): Likewise.
35244         (sin_towardzero_test_data): Likewise.
35245         (sin_downward_test_data): Likewise.
35246         (sin_upward_test_data): Likewise.
35247         (sincos_test_data): Likewise.
35248         (sinh_test_data): Likewise.
35249         (sinh_tonearest_test_data): Likewise.
35250         (sinh_towardzero_test_data): Likewise.
35251         (sinh_downward_test_data): Likewise.
35252         (sinh_upward_test_data): Likewise.
35253         (sqrt_test_data): Likewise.
35254         (tan_test_data): Likewise.
35255         (tan_tonearest_test_data): Likewise.
35256         (tan_towardzero_test_data): Likewise.
35257         (tan_downward_test_data): Likewise.
35258         (tan_upward_test_data): Likewise.
35259         (tanh_test_data): Likewise.
35260         (tgamma_test_data): Likewise.
35261         (trunc_test_data): Likewise.
35262         (y0_test_data): Likewise.
35263         (y1_test_data): Likewise.
35264         (yn_test_data): Likewise.
35265         (significand_test_data): Likewise.
35267         * math/gen-libm-test.pl (@functions): Remove variable.
35268         (generate_testfile): Don't handle START and END lines.
35269         * math/libm-test.inc (START): New macro.
35270         (END): Likewise.
35271         (END_COMPLEX): Likewise.
35272         (acos_test): Use END macro without arguments.
35273         (acos_test_tonearest): Likewise.
35274         (acos_test_towardzero): Likewise.
35275         (acos_test_downward): Likewise.
35276         (acos_test_upward): Likewise.
35277         (acosh_test): Likewise.
35278         (asin_test): Likewise.
35279         (asin_test_tonearest): Likewise.
35280         (asin_test_towardzero): Likewise.
35281         (asin_test_downward): Likewise.
35282         (asin_test_upward): Likewise.
35283         (asinh_test): Likewise.
35284         (atan_test): Likewise.
35285         (atanh_test): Likewise.
35286         (atan2_test): Likewise.
35287         (cabs_test): Likewise.
35288         (cacos_test): Use END_COMPLEX macro without arguments.
35289         (cacosh_test): Likewise.
35290         (carg_test): Use END macro without arguments.
35291         (casin_test): Use END_COMPLEX macro without arguments.
35292         (casinh_test): Likewise.
35293         (catan_test): Likewise.
35294         (catanh_test): Likewise.
35295         (cbrt_test): Use END macro without arguments.
35296         (ccos_test): Use END_COMPLEX macro without arguments.
35297         (ccosh_test): Likewise.
35298         (ceil_test): Use END macro without arguments.
35299         (cexp_test): Use END_COMPLEX macro without arguments.
35300         (cimag_test): Use END macro without arguments.
35301         (clog_test): Use END_COMPLEX macro without arguments.
35302         (clog10_test): Likewise.
35303         (conj_test): Likewise.
35304         (copysign_test): Use END macro without arguments.
35305         (cos_test): Likewise.
35306         (cos_test_tonearest): Likewise.
35307         (cos_test_towardzero): Likewise.
35308         (cos_test_downward): Likewise.
35309         (cos_test_upward): Likewise.
35310         (cosh_test): Likewise.
35311         (cosh_test_tonearest): Likewise.
35312         (cosh_test_towardzero): Likewise.
35313         (cosh_test_downward): Likewise.
35314         (cosh_test_upward): Likewise.
35315         (cpow_test): Use END_COMPLEX macro without arguments.
35316         (cproj_test): Likewise.
35317         (creal_test): Use END macro without arguments.
35318         (csin_test): Use END_COMPLEX macro without arguments.
35319         (csinh_test): Likewise.
35320         (csqrt_test): Likewise.
35321         (ctan_test): Likewise.
35322         (ctan_test_tonearest): Likewise.
35323         (ctan_test_towardzero): Likewise.
35324         (ctan_test_downward): Likewise.
35325         (ctan_test_upward): Likewise.
35326         (ctanh_test): Likewise.
35327         (ctanh_test_tonearest): Likewise.
35328         (ctanh_test_towardzero): Likewise.
35329         (ctanh_test_downward): Likewise.
35330         (ctanh_test_upward): Likewise.
35331         (erf_test): Use END macro without arguments.
35332         (erfc_test): Likewise.
35333         (exp_test): Likewise.
35334         (exp_test_tonearest): Likewise.
35335         (exp_test_towardzero): Likewise.
35336         (exp_test_downward): Likewise.
35337         (exp_test_upward): Likewise.
35338         (exp10_test): Likewise.
35339         (exp2_test): Likewise.
35340         (expm1_test): Likewise.
35341         (fabs_test): Likewise.
35342         (fdim_test): Likewise.
35343         (finite_test): Likewise.
35344         (floor_test): Likewise.
35345         (fma_test): Likewise.
35346         (fma_test_towardzero): Likewise.
35347         (fma_test_downward): Likewise.
35348         (fma_test_upward): Likewise.
35349         (fmax_test): Likewise.
35350         (fmin_test): Likewise.
35351         (fmod_test): Likewise.
35352         (fpclassify_test): Likewise.
35353         (frexp_test): Likewise.
35354         (gamma_test): Likewise.
35355         (hypot_test): Likewise.
35356         (ilogb_test): Likewise.
35357         (isfinite_test): Likewise.
35358         (isgreater_test): Likewise.
35359         (isgreaterequal_test): Likewise.
35360         (isinf_test): Likewise.
35361         (isless_test): Likewise.
35362         (islessequal_test): Likewise.
35363         (islessgreater_test): Likewise.
35364         (isnan_test): Likewise.
35365         (isnormal_test): Likewise.
35366         (issignaling_test): Likewise.
35367         (isunordered_test): Likewise.
35368         (j0_test): Likewise.
35369         (j1_test): Likewise.
35370         (jn_test): Likewise.
35371         (ldexp_test): Likewise.
35372         (lgamma_test): Likewise.
35373         (lrint_test): Likewise.
35374         (lrint_test_tonearest): Likewise.
35375         (lrint_test_towardzero): Likewise.
35376         (lrint_test_downward): Likewise.
35377         (lrint_test_upward): Likewise.
35378         (llrint_test): Likewise.
35379         (llrint_test_tonearest): Likewise.
35380         (llrint_test_towardzero): Likewise.
35381         (llrint_test_downward): Likewise.
35382         (llrint_test_upward): Likewise.
35383         (log_test): Likewise.
35384         (log10_test): Likewise.
35385         (log1p_test): Likewise.
35386         (log2_test): Likewise.
35387         (logb_test): Likewise.
35388         (logb_test_downward): Likewise.
35389         (lround_test): Likewise.
35390         (llround_test): Likewise.
35391         (modf_test): Likewise.
35392         (nearbyint_test): Likewise.
35393         (nextafter_test): Likewise.
35394         (nexttoward_test): Likewise.
35395         (pow_test): Likewise.
35396         (pow_test_tonearest): Likewise.
35397         (pow_test_towardzero): Likewise.
35398         (pow_test_downward): Likewise.
35399         (pow_test_upward): Likewise.
35400         (remainder_test): Likewise.
35401         (remainder_test_tonearest): Likewise.
35402         (remainder_test_towardzero): Likewise.
35403         (remainder_test_downward): Likewise.
35404         (remainder_test_upward): Likewise.
35405         (remquo_test): Likewise.
35406         (rint_test): Likewise.
35407         (rint_test_tonearest): Likewise.
35408         (rint_test_towardzero): Likewise.
35409         (rint_test_downward): Likewise.
35410         (rint_test_upward): Likewise.
35411         (round_test): Likewise.
35412         (scalb_test): Likewise.
35413         (scalbn_test): Likewise.
35414         (scalbln_test): Likewise.
35415         (signbit_test): Likewise.
35416         (sin_test): Likewise.
35417         (sin_test_tonearest): Likewise.
35418         (sin_test_towardzero): Likewise.
35419         (sin_test_downward): Likewise.
35420         (sin_test_upward): Likewise.
35421         (sincos_test): Likewise.
35422         (sinh_test): Likewise.
35423         (sinh_test_tonearest): Likewise.
35424         (sinh_test_towardzero): Likewise.
35425         (sinh_test_downward): Likewise.
35426         (sinh_test_upward): Likewise.
35427         (sqrt_test): Likewise.
35428         (tan_test): Likewise.
35429         (tan_test_tonearest): Likewise.
35430         (tan_test_towardzero): Likewise.
35431         (tan_test_downward): Likewise.
35432         (tan_test_upward): Likewise.
35433         (tanh_test): Likewise.
35434         (tgamma_test): Likewise.
35435         (trunc_test): Likewise.
35436         (y0_test): Likewise.
35437         (y1_test): Likewise.
35438         (yn_test): Likewise.
35439         (significand_test): Likewise.
35441 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
35443         [BZ #15381]
35444         * libio/genops.c (_IO_no_init): Initialize wide struct info.
35446 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35448         [BZ #14894]
35449         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35450         __ppc_mdoio and __ppc_mdoom.
35451         * manual/platform.texi: Document new functions __ppc_yield,
35452         __ppc_mdoio and __ppc_mdoom.
35454 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
35456         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35457         (main): Mention "tls" pseudo-hwcap is legacy.
35458         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35460 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
35462         * math/gen-libm-test.pl (parse_args): Output only string of
35463         arguments as text for test name, not full call or descriptions of
35464         tests for extra outputs.
35465         (generate_testfile): Do not pass function name to parse_args.
35466         Generate this_func variable from START.
35467         * math/libm-test.inc (struct test_f_f_data): Rename test_name
35468         field to arg_str.
35469         (struct test_ff_f_data): Likewise.
35470         (test_ff_f_data_nexttoward): Likewise.
35471         (struct test_fi_f_data): Likewise.
35472         (struct test_fl_f_data): Likewise.
35473         (struct test_if_f_data): Likewise.
35474         (struct test_fff_f_data): Likewise.
35475         (struct test_c_f_data): Likewise.
35476         (struct test_f_f1_data): Likewise.  Remove field extra_name.
35477         (struct test_fF_f1_data): Likewise.
35478         (struct test_ffI_f1_data): Likewise.
35479         (struct test_c_c_data): Rename test_name field to arg_str.
35480         (struct test_cc_c_data): Likewise.
35481         (struct test_f_i_data): Likewise.
35482         (struct test_ff_i_data): Likewise.
35483         (struct test_f_l_data): Likewise.
35484         (struct test_f_L_data): Likewise.
35485         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
35486         and extra2_name.
35487         (COMMON_TEST_SETUP): New macro.
35488         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35489         (COMMON_TEST_CLEANUP): Likewise.
35490         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35491         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
35492         macros.
35493         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35494         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
35495         macros.
35496         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35497         (RUN_TEST_fff_f): Take argument string.  Call new setup and
35498         cleanup macros.
35499         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35500         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
35501         macros.
35502         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35503         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
35504         macros.
35505         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35506         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
35507         cleanup macros.
35508         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35509         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
35510         cleanup macros.
35511         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35512         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
35513         cleanup macros.
35514         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35515         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
35516         macros.
35517         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35518         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
35519         macros.
35520         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35521         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
35522         macros.
35523         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35524         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
35525         cleanup macros.
35526         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35527         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
35528         cleanup macros.
35529         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35530         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
35531         macros.
35532         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35533         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
35534         cleanup macros.
35535         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35536         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
35537         macros.
35538         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35539         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
35540         macros.
35541         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35542         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
35543         cleanup macros.
35544         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35546 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
35548         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35549         to _sifields.sigfault.
35550         (si_addr_lsb): Define new macro.
35551         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35552         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35553         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35555 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
35557         [BZ #15441]
35558         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35559         returns -1.
35560         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35561         null return -1.
35562         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35563         loading the domain.
35565 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
35567         * math/gen-libm-test.pl (parse_args): Do not include expected
35568         result in test name.
35569         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35570         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35571         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35572         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35573         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35576 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35578         * benchtests/Makefile: Sort function entries.
35580         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35581         tanh, asinh, acosh, atanh.
35582         * benchtests/acos-inputs: New file.
35583         * benchtests/acosh-inputs: New file.
35584         * benchtests/asin-inputs: New file.
35585         * benchtests/asinh-inputs: New file.
35586         * benchtests/atanh-inputs: New file.
35587         * benchtests/cosh-inputs: New file.
35588         * benchtests/log-inputs: New file.
35589         * benchtests/sinh-inputs: New file.
35590         * benchtests/tanh-inputs: New file.
35592 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
35594         [BZ #15339]
35595         * posix/tst-getaddrinfo4.c: New test.
35596         * posix/Makefile (tests): Add it.
35598 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35600         [BZ #15339]
35601         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35602         when no services were used.
35603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35604         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35606 2013-05-21  Andreas Schwab  <schwab@suse.de>
35608         [BZ #15014]
35609         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35610         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35611         successful.
35612         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35613         redundant variable declarations and reallocation of buffer when
35614         parsing as IPv6 address.  Always set NSS status when called from
35615         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
35616         buffer too small.  Correct computation of needed size.
35617         * nss/Makefile (tests): Add test-digits-dots.
35618         * nss/test-digits-dots.c: New test.
35620 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35622         * benchtests/Makefile: Remove instructions for adding
35623         benchmark tests.
35624         * benchtests/README: New file to explain how to execute and
35625         enhance the benchmark tests.
35627 2013-05-21  Andreas Schwab  <schwab@suse.de>
35629         [BZ #15493]
35630         * setjmp/Makefile (tests): Add tst-sigsetjmp.
35631         * setjmp/tst-sigsetjmp.c: New test.
35633 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
35635         * sysdeps/x86_64/memset.S (memset): New implementation.
35636         (__bzero): Likewise.
35637         (__memset_tail): New function.
35639 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
35641         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35642         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35643         __memcpy_sse2_unaligned ifunc selection.
35644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35645         Add memcpy-sse2-unaligned.S.
35646         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35647         Add: __memcpy_sse2_unaligned.
35649 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
35651         [BZ #15490]
35652         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35653         math_force_eval before restoring floating-point envrionment.
35654         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35655         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35656         Likewise.
35657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35658         <math_private.h>.
35659         (__nearbyintl): Use math_force_eval before restoring
35660         floating-point environment.
35661         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35663         * math/gen-libm-test.pl (special_functions): Remove.
35664         (parse_args): Don't handle TEST_extra.  Handle functions with no
35665         return value.
35666         * math/libm-test.inc (struct test_sincos_data): Replace with
35667         struct test_fFF_11_data.
35668         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35669         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35670         (sincos_test_data): Change element type to struct
35671         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
35672         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35673         RUN_TEST_LOOP_sincos.
35674         * math/README.libm-test: Don't mention special handling of
35675         individual functions.
35676         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35677         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35678         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35679         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35680         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35683         * math/gen-libm-test.pl (get_variable): Remove function.
35684         (parse_args): Don't show pointer parameters to call in test
35685         names.  Use "extra output N" in test names for extra outputs
35686         rather than naming variables.
35688 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
35690         [BZ #15488]
35691         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35692         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35693         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35694         double tests.
35695         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35696         disable.
35697         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35698         check_long_double.
35700         * math/gen-libm-test.pl (@tests): Remove variable.
35701         ($count): Likewise.
35702         (new_test): Remove function.
35703         (show_exceptions): New function.
35704         (special_functions): Use show_exceptions instead of new_test.
35705         (parse_args): Likewise.
35706         (generate_testfile): Pass only function name in generated call to
35707         print_max_error or print_complex_max_error.
35708         (get_ulps): Do not handle complex tests specially.
35709         (output_test): Rename to ...
35710         (get_all_ulps_for_test): ... this.  Return a string rather than
35711         printing to a file.  Require ulps to be present.
35712         (output_ulps): Generate arrays rather than #defines.
35713         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35714         (struct ulp_data): New type.
35715         (BUILD_COMPLEX_ULP): Remove macro.
35716         (compare_ulp_data): New function.
35717         (find_ulps): Likewise.
35718         (find_test_ulps): Likewise.
35719         (find_function_ulps): Likewise.
35720         (find_complex_function_ulps): Likewise.
35721         (print_max_error): Determine allowed ulps using
35722         find_function_ulps.
35723         (print_complex_max_error): Determine allowed ulps using
35724         find_complex_function_ulps.
35725         (check_float_internal): Determine max ulps using find_test_ulps.
35726         (check_float): Do not take max_ulp parameter.  Update call to
35727         check_float_internal.
35728         (check_complex): Likewise.
35729         (check_int): Do not take max_ulp parameter.
35730         (check_long): Likewise.
35731         (check_bool): Likewise.
35732         (check_longlong): Likewise.
35733         (struct test_f_f_data): Remove max_ulp field.
35734         (struct test_ff_f_data): Likewise.
35735         (struct test_ff_f_data_nexttoward): Likewise.
35736         (struct test_fi_f_data): Likewise.
35737         (struct test_fl_f_data): Likewise.
35738         (struct test_if_f_data): Likewise.
35739         (struct test_fff_f_data): Likewise.
35740         (struct test_c_f_data): Likewise.
35741         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35742         (struct test_fF_f1_data): Likewise.
35743         (struct test_ffI_f1_data): Likewise.
35744         (struct test_c_c_data): Remove max_ulp field.
35745         (struct test_cc_c_data): Likewise.
35746         (struct test_f_i_data): Likewise.
35747         (struct test_ff_i_data): Likewise.
35748         (struct test_f_l_data): Likewise.
35749         (struct test_f_L_data): Likewise.
35750         (struct test_sincos_data): Likewise.
35751         (RUN_TEST_f_f): Do not handle ulps.
35752         (RUN_TEST_LOOP_f_f): Likewise.
35753         (RUN_TEST_2_f): Likewise.
35754         (RUN_TEST_LOOP_2_f): Likewise.
35755         (RUN_TEST_fff_f): Likewise.
35756         (RUN_TEST_LOOP_fff_f): Likewise.
35757         (RUN_TEST_c_f): Likewise.
35758         (RUN_TEST_LOOP_c_f): Likewise.
35759         (RUN_TEST_f_f1): Likewise.
35760         (RUN_TEST_LOOP_f_f1): Likewise.
35761         (RUN_TEST_fF_f1): Likewise.
35762         (RUN_TEST_LOOP_fF_f1): Likewise.
35763         (RUN_TEST_fI_f1): Likewise.
35764         (RUN_TEST_LOOP_fI_f1): Likewise.
35765         (RUN_TEST_ffI_f1): Likewise.
35766         (RUN_TEST_LOOP_ffI_f1): Likewise.
35767         (RUN_TEST_c_c): Likewise.
35768         (RUN_TEST_LOOP_c_c): Likewise.
35769         (RUN_TEST_cc_c): Likewise.
35770         (RUN_TEST_LOOP_cc_c): Likewise.
35771         (RUN_TEST_f_i): Likewise.
35772         (RUN_TEST_LOOP_f_i): Likewise.
35773         (RUN_TEST_f_i_tg): Likewise.
35774         (RUN_TEST_LOOP_f_i_tg): Likewise.
35775         (RUN_TEST_ff_i_tg): Likewise.
35776         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35777         (RUN_TEST_f_b): Likewise.
35778         (RUN_TEST_LOOP_f_b): Likewise.
35779         (RUN_TEST_f_b_tg): Likewise.
35780         (RUN_TEST_LOOP_f_b_tg): Likewise.
35781         (RUN_TEST_f_l): Likewise.
35782         (RUN_TEST_LOOP_f_l): Likewise.
35783         (RUN_TEST_f_L): Likewise.
35784         (RUN_TEST_LOOP_f_L): Likewise.
35785         (RUN_TEST_sincos): Likewise.
35786         (RUN_TEST_LOOP_sincos): Likewise.
35788 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
35790         [BZ #15480]
35791         [BZ #15485]
35792         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35793         main case of finite arguments, set rounding mode to FE_TONEAREST
35794         and discard exceptions.
35795         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35796         exceptions.
35797         (remainder_tonearest_test_data): New variable.
35798         (remainder_test_tonearest): New function.
35799         (remainder_towardzero_test_data): New variable.
35800         (remainder_test_towardzero): New function.
35801         (remainder_downward_test_data): New variable.
35802         (remainder_test_downward): New function.
35803         (remainder_upward_test_data): New variable.
35804         (remainder_test_upward): New function.
35805         (main): Call the new test functions.
35807         * math/libm-test.inc (struct test_f_f1_data): Remove field
35808         extra_init.
35809         (struct test_fF_f1_data): Likewise.
35810         (struct test_ffI_f1_data): Likewise.
35811         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
35812         based on value of EXTRA_EXPECTED.
35813         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35814         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
35815         EXTRA_VAR based on value of EXTRA_EXPECTED.
35816         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35817         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
35818         EXTRA_VAR based on value of EXTRA_EXPECTED.
35819         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35820         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
35821         EXTRA_VAR based on value of EXTRA_EXPECTED.
35822         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35823         * math/gen-libm-test.pl (parse_args): Don't output initializers
35824         for extra output values.
35826         * math/libm-test.inc (check_int): Expect result to be exactly
35827         equal to expected value and do not handle ulps.
35828         (check_long): Likewise.
35829         (check_longlong): Likewise.
35831         * math/libm-test.inc (ceil_test_data): Test for "inexact"
35832         exceptions.
35833         (cimag_test_data): Likewise.
35834         (conj_test_data): Likewise.
35835         (copysign_test_data): Likewise.
35836         (cproj_test_data): Likewise.
35837         (creal_test_data): Likewise.
35838         (fabs_test_data): Likewise.
35839         (fdim_test_data): Likewise.
35840         (finite_test_data): Likewise.
35841         (floor_test_data): Likewise.
35842         (fmax_test_data): Likewise.
35843         (fmin_test_data): Likewise.
35844         (fmod_test_data): Likewise.
35845         (fpclassify_test_data): Likewise.
35846         (frexp_test_data): Likewise.
35847         (ilogb_test_data): Likewise.
35848         (isfinite_test_data): Likewise.
35849         (isgreater_test_data): Likewise.
35850         (isgreaterequal_test_data): Likewise.
35851         (isinf_test_data): Likewise.
35852         (isless_test_data): Likewise.
35853         (islessequal_test_data): Likewise.
35854         (islessgreater_test_data): Likewise.
35855         (isnan_test_data): Likewise.
35856         (isnormal_test_data): Likewise.
35857         (issignaling_test_data): Likewise.
35858         (isunordered_test_data): Likewise.
35859         (ldexp_test_data): Likewise.
35860         (lrint_test_data): Likewise.
35861         (lrint_test_data) [TEST_FLOAT]: Disable one test.
35862         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35863         (lrint_tonearest_test_data): Test for "inexact" exceptions.
35864         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35865         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35866         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35867         test input.
35868         (lrint_towardzero_test_data): Test for "inexact" exceptions.
35869         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35870         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35871         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35872         that test input.
35873         (lrint_downward_test_data): Test for "inexact" exceptions.
35874         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35875         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35876         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35877         test input.
35878         (lrint_upward_test_data): Test for "inexact" exceptions.
35879         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35880         test input.
35881         (llrint_test_data): Test for "inexact" exceptions.
35882         (llrint_test_data) [TEST_FLOAT]: Disable one test.
35883         (llrint_tonearest_test_data): Test for "inexact" exceptions.
35884         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35885         (llrint_towardzero_test_data): Test for "inexact" exceptions.
35886         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35887         (llrint_downward_test_data): Test for "inexact" exceptions.
35888         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35889         (llrint_upward_test_data): Test for "inexact" exceptions.
35890         (logb_test_data): Likewise.
35891         (logb_downward_test_data): Likewise.
35892         (nextafter_test_data): Likewise.
35893         (nexttoward_test_data): Likewise.
35894         (remainder_test_data): Likewise.
35895         (remquo_test_data): Likewise.
35896         (scalbn_test_data): Likewise.
35897         (scalbln_test_data): Likewise.
35898         (signbit_test_data): Likewise.
35899         (sqrt_test_data): Likewise.
35900         (significand_test_data): Likewise.
35902 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35904         [BZ #15424]
35905         * benchtests/bench-modf.c (struct args): Mark arg0 as
35906         volatile.
35907         * scripts/bench.pl: Mark members of struct args as volatile.
35909 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35911         [BZ # 15497]
35912         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35913         negative infinity on POWER6 or lower.
35914         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35916 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35918         [BZ #15442]
35919         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35920         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35921         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35922         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35923         (_FP_SETQNAN): New macro.
35924         (_FP_SETQNAN_SEMIRAW): Likewise.
35925         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35926         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35927         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35928         (FP_EXTEND): Use _FP_FRAC_SNANP.
35929         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35930         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35931         into account.
35932         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35933         New macro.
35934         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35935         Likewise.
35937 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35939         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35940         with DIVIDE_BY_ZERO_EXCEPTION.
35941         (gamma_test_data): Likewise.
35942         (lgamma_test_data): Likewise.
35943         (log_test_data): Likewise.
35944         (log10_test_data): Likewise.
35945         (log2_test_data): Likewise.
35946         (tgamma_test_data): Likewise.
35948         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35949         (acos_test_tonearest): Likewise.
35950         (acos_test_towardzero): Likewise.
35951         (acos_test_downward): Likewise.
35952         (acos_test_upward): Likewise.
35953         (acosh_test): Likewise.
35954         (asin_test): Likewise.
35955         (asin_test_tonearest): Likewise.
35956         (asin_test_towardzero): Likewise.
35957         (asin_test_downward): Likewise.
35958         (asin_test_upward): Likewise.
35959         (asinh_test): Likewise.
35960         (atan_test): Likewise.
35961         (atanh_test): Likewise.
35962         (atan2_test): Likewise.
35963         (cabs_test): Likewise.
35964         (cacos_test): Likewise.
35965         (cacosh_test): Likewise.
35966         (casin_test): Likewise.
35967         (casinh_test): Likewise.
35968         (catan_test): Likewise.
35969         (catanh_test): Likewise.
35970         (cbrt_test): Likewise.
35971         (ccos_test): Likewise.
35972         (ccosh_test): Likewise.
35973         (cexp_test): Likewise.
35974         (clog_test): Likewise.
35975         (clog10_test): Likewise.
35976         (cos_test): Likewise.
35977         (cos_test_tonearest): Likewise.
35978         (cos_test_towardzero): Likewise.
35979         (cos_test_downward): Likewise.
35980         (cos_test_upward): Likewise.
35981         (cosh_test): Likewise.
35982         (cosh_test_tonearest): Likewise.
35983         (cosh_test_towardzero): Likewise.
35984         (cosh_test_downward): Likewise.
35985         (cosh_test_upward): Likewise.
35986         (cpow_test): Likewise.
35987         (csin_test): Likewise.
35988         (csinh_test): Likewise.
35989         (csqrt_test): Likewise.
35990         (ctan_test): Likewise.
35991         (ctan_test_tonearest): Likewise.
35992         (ctan_test_towardzero): Likewise.
35993         (ctan_test_downward): Likewise.
35994         (ctan_test_upward): Likewise.
35995         (ctanh_test): Likewise.
35996         (ctanh_test_tonearest): Likewise.
35997         (ctanh_test_towardzero): Likewise.
35998         (ctanh_test_downward): Likewise.
35999         (ctanh_test_upward): Likewise.
36000         (erf_test): Likewise.
36001         (erfc_test): Likewise.
36002         (exp_test): Likewise.
36003         (exp_test_tonearest): Likewise.
36004         (exp_test_towardzero): Likewise.
36005         (exp_test_downward): Likewise.
36006         (exp_test_upward): Likewise.
36007         (exp10_test): Likewise.
36008         (exp2_test): Likewise.
36009         (expm1_test): Likewise.
36010         (fmod_test): Likewise.
36011         (gamma_test): Likewise.
36012         (hypot_test): Likewise.
36013         (j0_test): Likewise.
36014         (j1_test): Likewise.
36015         (jn_test): Likewise.
36016         (lgamma_test): Likewise.
36017         (log_test): Likewise.
36018         (log10_test): Likewise.
36019         (log1p_test): Likewise.
36020         (log2_test): Likewise.
36021         (logb_test_downward): Likewise.
36022         (pow_test): Likewise.
36023         (pow_test_tonearest): Likewise.
36024         (pow_test_towardzero): Likewise.
36025         (pow_test_downward): Likewise.
36026         (pow_test_upward): Likewise.
36027         (remainder_test): Likewise.
36028         (remquo_test): Likewise.
36029         (sin_test): Likewise.
36030         (sin_test_tonearest): Likewise.
36031         (sin_test_towardzero): Likewise.
36032         (sin_test_downward): Likewise.
36033         (sin_test_upward): Likewise.
36034         (sincos_test): Likewise.
36035         (sinh_test): Likewise.
36036         (sinh_test_tonearest): Likewise.
36037         (sinh_test_towardzero): Likewise.
36038         (sinh_test_downward): Likewise.
36039         (sinh_test_upward): Likewise.
36040         (sqrt_test): Likewise.
36041         (tan_test): Likewise.
36042         (tan_test_tonearest): Likewise.
36043         (tan_test_towardzero): Likewise.
36044         (tan_test_downward): Likewise.
36045         (tan_test_upward): Likewise.
36046         (tanh_test): Likewise.
36047         (tgamma_test): Likewise.
36048         (y0_test): Likewise.
36049         (y1_test): Likewise.
36050         (yn_test): Likewise.
36052         * math/gen-libm-test.pl (adjust_arg): Remove function.
36053         (special_function): Remove argument $in_func.  Only handle
36054         generating output for tables of tests, not inside functions.
36055         (parse_args): Likewise.
36056         (generate_testfile): Remove variable $in_func.  Update call to
36057         parse_args.
36058         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
36059         (MINUS_ZERO_INIT): Rename macro to minus_zero.
36060         (PLUS_INFTY_INIT): Rename macro to plus_infty.
36061         (MINUS_INFTY_INIT): Rename macro to minus_infty.
36062         (QNAN_VALUE_INIT): Rename macro to qnan_value.
36063         (MAX_VALUE_INIT): Rename macro to max_value.
36064         (MIN_VALUE_INIT): Rename macro to min_value.
36065         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
36066         (plus_zero): Remove variable.
36067         (minus_zero): Likewise.
36068         (plus_infty): Likewise.
36069         (minus_infty): Likewise.
36070         (qnan_value): Likewise.
36071         (max_value): Likewise.
36072         (min_value): Likewise.
36073         (min_subnorm_value): Likewise.
36075 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36077         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
36078         uint64_t or uint32_t usage.
36079         * crypt/sha256-block.c: Likewise.
36080         * crypt/sha256-crypt.c: Likewise.
36081         * crypt/sha256.c: Likewise.
36082         * crypt/sha512-block.c: Likewise.
36083         * crypt/sha512-crypt.c: Likewise.
36084         * crypt/sha512.c: Likewise.
36085         * debug/backtrace-tst.c: Likewise.
36086         * debug/pcprofiledump.c: Likewise.
36087         * elf/cache.c: Likewise.
36088         * elf/dl-cache.c: Likewise.
36089         * elf/dl-misc.c: Likewise.
36090         * elf/dl-profile.c: Likewise.
36091         * elf/dl-support.c: Likewise.
36092         * elf/ldconfig.c: Likewise.
36093         * elf/sprof.c: Likewise.
36094         * iconv/dummy-repertoire.c: Likewise.
36095         * iconv/iconv_charmap.c: Likewise.
36096         * iconv/skeleton.c: Likewise.
36097         * iconvdata/8bit-generic.c: Likewise.
36098         * iconvdata/cp737.h: Likewise.
36099         * iconvdata/cp775.h: Likewise.
36100         * iconvdata/ibm1008.h: Likewise.
36101         * iconvdata/ibm1025.h: Likewise.
36102         * iconvdata/ibm1046.h: Likewise.
36103         * iconvdata/ibm1097.h: Likewise.
36104         * iconvdata/ibm1112.h: Likewise.
36105         * iconvdata/ibm1122.h: Likewise.
36106         * iconvdata/ibm1123.h: Likewise.
36107         * iconvdata/ibm1124.h: Likewise.
36108         * iconvdata/ibm1129.h: Likewise.
36109         * iconvdata/ibm1130.h: Likewise.
36110         * iconvdata/ibm1132.h: Likewise.
36111         * iconvdata/ibm1133.h: Likewise.
36112         * iconvdata/ibm1137.h: Likewise.
36113         * iconvdata/ibm1140.h: Likewise.
36114         * iconvdata/ibm1141.h: Likewise.
36115         * iconvdata/ibm1142.h: Likewise.
36116         * iconvdata/ibm1143.h: Likewise.
36117         * iconvdata/ibm1144.h: Likewise.
36118         * iconvdata/ibm1145.h: Likewise.
36119         * iconvdata/ibm1146.h: Likewise.
36120         * iconvdata/ibm1147.h: Likewise.
36121         * iconvdata/ibm1148.h: Likewise.
36122         * iconvdata/ibm1149.h: Likewise.
36123         * iconvdata/ibm1153.h: Likewise.
36124         * iconvdata/ibm1154.h: Likewise.
36125         * iconvdata/ibm1155.h: Likewise.
36126         * iconvdata/ibm1156.h: Likewise.
36127         * iconvdata/ibm1157.h: Likewise.
36128         * iconvdata/ibm1158.h: Likewise.
36129         * iconvdata/ibm1160.h: Likewise.
36130         * iconvdata/ibm1161.h: Likewise.
36131         * iconvdata/ibm1162.h: Likewise.
36132         * iconvdata/ibm1163.h: Likewise.
36133         * iconvdata/ibm1164.h: Likewise.
36134         * iconvdata/ibm1166.h: Likewise.
36135         * iconvdata/ibm1167.h: Likewise.
36136         * iconvdata/ibm12712.h: Likewise.
36137         * iconvdata/ibm1390.h: Likewise.
36138         * iconvdata/ibm1399.h: Likewise.
36139         * iconvdata/ibm16804.h: Likewise.
36140         * iconvdata/ibm4517.h: Likewise.
36141         * iconvdata/ibm4899.h: Likewise.
36142         * iconvdata/ibm4909.h: Likewise.
36143         * iconvdata/ibm4971.h: Likewise.
36144         * iconvdata/ibm5347.h: Likewise.
36145         * iconvdata/ibm803.h: Likewise.
36146         * iconvdata/ibm856.h: Likewise.
36147         * iconvdata/ibm901.h: Likewise.
36148         * iconvdata/ibm902.h: Likewise.
36149         * iconvdata/ibm9030.h: Likewise.
36150         * iconvdata/ibm9066.h: Likewise.
36151         * iconvdata/ibm921.h: Likewise.
36152         * iconvdata/ibm922.h: Likewise.
36153         * iconvdata/ibm9448.h: Likewise.
36154         * iconvdata/isiri-3342.h: Likewise.
36155         * iconvdata/jis0201.h: Likewise.
36156         * include/link.h: Likewise.
36157         * include/netdb.h: Likewise.
36158         * inet/check_native.c: Likewise.
36159         * inet/check_pf.c: Likewise.
36160         * inet/getipv4sourcefilter.c: Likewise.
36161         * inet/getnameinfo.c: Likewise.
36162         * inet/getsourcefilter.c: Likewise.
36163         * inet/htonl.c: Likewise.
36164         * inet/setipv4sourcefilter.c: Likewise.
36165         * inet/setsourcefilter.c: Likewise.
36166         * inet/test-inet6_opt.c: Likewise.
36167         * inet/tst-network.c: Likewise.
36168         * locale/C-collate.c: Likewise.
36169         * locale/C-ctype.c: Likewise.
36170         * locale/C-time.c: Likewise.
36171         * locale/C-translit.h: Likewise.
36172         * locale/loadarchive.c: Likewise.
36173         * locale/programs/3level.h: Likewise.
36174         * locale/programs/charmap.c: Likewise.
36175         * locale/programs/charmap.h: Likewise.
36176         * locale/programs/ld-address.c: Likewise.
36177         * locale/programs/ld-collate.c: Likewise.
36178         * locale/programs/ld-ctype.c: Likewise.
36179         * locale/programs/ld-identification.c: Likewise.
36180         * locale/programs/ld-measurement.c: Likewise.
36181         * locale/programs/ld-messages.c: Likewise.
36182         * locale/programs/ld-monetary.c: Likewise.
36183         * locale/programs/ld-name.c: Likewise.
36184         * locale/programs/ld-numeric.c: Likewise.
36185         * locale/programs/ld-paper.c: Likewise.
36186         * locale/programs/ld-telephone.c: Likewise.
36187         * locale/programs/ld-time.c: Likewise.
36188         * locale/programs/linereader.c: Likewise.
36189         * locale/programs/locale.c: Likewise.
36190         * locale/programs/locarchive.c: Likewise.
36191         * locale/programs/locfile.h: Likewise.
36192         * locale/programs/repertoire.c: Likewise.
36193         * locale/programs/simple-hash.c: Likewise.
36194         * locale/programs/simple-hash.h: Likewise.
36195         * malloc/memusage.c: Likewise.
36196         * malloc/memusagestat.c: Likewise.
36197         * nis/nis_defaults.c: Likewise.
36198         * nis/nis_hash.c: Likewise.
36199         * nis/nis_print.c: Likewise.
36200         * nis/nis_xdr.c: Likewise.
36201         * nscd/connections.c: Likewise.
36202         * nscd/hstcache.c: Likewise.
36203         * nscd/nscd_gethst_r.c: Likewise.
36204         * nscd/nscd_getserv_r.c: Likewise.
36205         * nscd/nscd_helper.c: Likewise.
36206         * nscd/servicescache.c: Likewise.
36207         * nss/makedb.c: Likewise.
36208         * nss/nss_db/db-XXX.c: Likewise.
36209         * nss/nss_db/db-initgroups.c: Likewise.
36210         * nss/nss_db/db-netgrp.c: Likewise.
36211         * nss/nss_files/files-network.c: Likewise.
36212         * nss/nss_files/files-parse.c: Likewise.
36213         * posix/bug-regex5.c: Likewise.
36214         * posix/fnmatch_loop.c: Likewise.
36215         * posix/regcomp.c: Likewise.
36216         * posix/regexec.c: Likewise.
36217         * posix/tst-rfc3484-2.c: Likewise.
36218         * posix/tst-rfc3484-3.c: Likewise.
36219         * posix/tst-rfc3484.c: Likewise.
36220         * resolv/nss_dns/dns-canon.c: Likewise.
36221         * resolv/nss_dns/dns-network.c: Likewise.
36222         * resolv/res_init.c: Likewise.
36223         * resolv/res_mkquery.c: Likewise.
36224         * resolv/tst-aton.c: Likewise.
36225         * stdlib/cxa_atexit.c: Likewise.
36226         * stdlib/cxa_finalize.c: Likewise.
36227         * stdlib/gen-fpioconst.c: Likewise.
36228         * stdlib/strtol_l.c: Likewise.
36229         * string/tst-endian.c: Likewise.
36230         * sunrpc/auth_des.c: Likewise.
36231         * sunrpc/clnt_udp.c: Likewise.
36232         * sunrpc/rtime.c: Likewise.
36233         * sunrpc/svcauth_des.c: Likewise.
36234         * sunrpc/xdr.c: Likewise.
36235         * sunrpc/xdr_intXX_t.c: Likewise.
36236         * sunrpc/xdr_rec.c: Likewise.
36237         * sysdeps/generic/ldconfig.h: Likewise.
36238         * sysdeps/generic/ldsodefs.h: Likewise.
36239         * sysdeps/generic/memusage.h: Likewise.
36240         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
36241         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
36242         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
36243         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
36244         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36245         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
36246         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
36247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
36248         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36249         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36250         * sysdeps/posix/getaddrinfo.c: Likewise.
36251         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36252         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36253         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36254         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36255         * sysdeps/powerpc/test-gettimebase.c: Likewise.
36256         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36257         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36258         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36259         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36260         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36261         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36262         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36263         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36264         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36265         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36266         * sysdeps/x86_64/dl-tls.h: Likewise.
36267         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36268         * time/alt_digit.c: Likewise.
36269         * time/era.c: Likewise.
36270         * wcsmbs/tst-c16c32-1.c: Likewise.
36272 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36274         * math/libm-test.inc (struct test_sincos_data): New type.
36275         (RUN_TEST_LOOP_sincos): New macro.
36276         (sincos_test_data): New variable.
36277         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36279 2013-05-16  Richard Henderson  <rth@redhat.com>
36281         * math/atest-exp2.c (LIMB64): New macro.
36282         (CONSTSZ): New macro.
36283         (mp_exp1, mp_exp_m1, mp_log2): New variables.
36284         (hexdig): Move ...
36285         (print_mpn_fp): ... to function scope.
36286         (read_mpn_hex): Remove.
36287         (get_log2): Remove.
36288         (exp2_mpn): Use mp_log2.
36289         (main): Use mp_exp1.
36291 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36293         * math/libm-test.inc: Remove comment about not testing "inexact"
36294         exceptions.
36295         (INEXACT_EXCEPTION): New macro.
36296         (NO_INEXACT_EXCEPTION): Likewise.
36297         (INVALID_EXCEPTION_OK): Update value.
36298         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36299         (OVERFLOW_EXCEPTION_OK): Likewise.
36300         (UNDERFLOW_EXCEPTION_OK): Likewise.
36301         (IGNORE_ZERO_INF_SIGN): Likewise.
36302         (ERRNO_UNCHANGED): Likewise.
36303         (ERRNO_EDOM): Likewise.
36304         (ERRNO_ERANGE): Likewise.
36305         (test_exceptions): Handle testing "inexact" exceptions.
36306         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36307         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36308         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36309         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36310         INEXACT_EXCEPTION.
36311         (rint_towardzero_test_data): Likewise.
36312         (rint_downward_test_data): Likewise.
36313         (rint_upward_test_data): Likewise.
36315         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36316         with OVERFLOW_EXCEPTION.
36317         (exp10_test_data): Likewise.
36318         (exp2_test_data): Likewise.
36319         (expm1_test_data): Likewise.
36320         (lgamma_test_data): Likewise.
36321         (pow_test_data): Likewise.
36322         (tgamma_test_data): Likewise.
36323         (yn_test_data): Remove duplicate test of overflow.
36325         * math/libm-test.inc (struct test_cc_c_data): New type.
36326         (RUN_TEST_LOOP_cc_c): New macro.
36327         (cpow_test_data): New variable.
36328         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36330         * math/libm-test.inc (struct test_f_L_data): New type.
36331         (RUN_TEST_LOOP_f_L): New macro.
36332         (llrint_test_data): New variable.
36333         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36334         (llrint_tonearest_test_data): New variable.
36335         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36336         (llrint_towardzero_test_data): New variable.
36337         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36338         (llrint_downward_test_data): New variable.
36339         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36340         (llrint_upward_test_data): New variable.
36341         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36342         (llround_test_data): New variable.
36343         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36345 2013-05-13  Peter Collingbourne  <pcc@google.com>
36347         * math/atest-exp2.c (get_log2): Remove const attribute.
36349 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36351         * math/libm-test.inc (struct test_f_l_data): New type.
36352         (RUN_TEST_LOOP_f_l): New macro.
36353         (lrint_test_data): New variable.
36354         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36355         (lrint_tonearest_test_data): New variable.
36356         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36357         (lrint_towardzero_test_data): New variable.
36358         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36359         (lrint_downward_test_data): New variable.
36360         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36361         (lrint_upward_test_data): New variable.
36362         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36363         (lround_test_data): New variable.
36364         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36366 2013-05-15  Peter Collingbourne  <pcc@google.com>
36368         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36369         (EXTRACT_WORDS64) Use where appropriate.
36370         (INSERT_WORDS64) Likewise.
36372         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36373         constraints with x constraints.
36374         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36376         * malloc/obstack.c (_obstack_compat): Add initializer.
36378 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36380         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36381         si_trapno and add si_addr_lsb to _sifields.sigfault.
36382         (si_trapno): Remove macro.
36383         (si_addr_lsb): Define new macro.
36384         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36386 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36388         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36389         instead of TEST_f_l.
36390         (llrint_test_tonearest): Likewise.
36391         (llrint_test_towardzero): Likewise.
36392         (llrint_test_downward): Likewise.
36393         (llrint_test_upward): Likewise.
36394         (llround_test): Likewise.
36396         * math/libm-test.inc (struct test_f_i_data): Add comment.
36397         (RUN_TEST_LOOP_f_b): New macro.
36398         (RUN_TEST_LOOP_f_b_tg): Likewise.
36399         (finite_test_data): New variable.
36400         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36401         (isfinite_test_data): New variable.
36402         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36403         (isinf_test_data): New variable.
36404         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36405         (isnan_test_data): New variable.
36406         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36407         (isnormal_test_data): New variable.
36408         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36409         (issignaling_test_data): New variable.
36410         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36411         (signbit_test_data): New variable.
36412         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36414         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36415         with INVALID_EXCEPTION.
36416         (acosh_test_data): Likewise.
36417         (asin_test_data): Likewise.
36418         (atanh_test_data): Likewise.
36419         (fmod_test_data): Likewise.
36420         (log_test_data): Likewise.
36421         (log10_test_data): Likewise.
36422         (log2_test_data): Likewise.
36423         (pow_test_data): Likewise.
36424         (sqrt_test_data): Likewise.
36425         (y0_test_data): Likewise.
36426         (y1_test_data): Likewise.
36427         (yn_test_data): Likewise.
36429         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36430         function contents.
36432         * math/libm-test.inc (struct test_ff_i_data): New type.
36433         (RUN_TEST_LOOP_ff_i_tg): New macro.
36434         (isgreater_test_data): New variable.
36435         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36436         (isgreaterequal_test_data): New variable.
36437         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36438         (isless_test_data): New variable.
36439         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36440         (islessequal_test_data): New variable.
36441         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36442         (islessgreater_test_data): New variable.
36443         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36444         (isunordered_test_data): New variable.
36445         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36447 2013-05-14  David S. Miller  <davem@davemloft.net>
36449         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36451 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
36453         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36455         * math/libm-test.inc (struct test_fF_f1_data): Change type of
36456         extra_test to int.
36457         (struct test_f_i_data): Change type of max_ulp to int.
36459         * math/libm-test.inc (test_ffI_f1_data): New type.
36460         (RUN_TEST_LOOP_ffI_f1): New macro.
36461         (remquo_test_data): New variable.
36462         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36464         * setjmp/tst-setjmp-fp.c: New file.
36465         * setjmp/Makefile (tests): Add tst-setjmp-fp.
36466         (link-libm): New variable.
36467         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36469         * math/libm-test.inc (struct test_f_i_data): New type.
36470         (RUN_TEST_LOOP_f_i): New macro.
36471         (RUN_TEST_LOOP_f_i_tg): Likewise.
36472         (fpclassify_test_data): New variable.
36473         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36474         (ilogb_test_data): New variable.
36475         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36477         * math/libm-test.inc (scalbln_test): Correct function name in END
36478         call.
36480         * math/libm-test.inc (struct test_f_f1_data): Add comment.
36481         (RUN_TEST_LOOP_fI_f1): New macro.
36482         (frexp_test_data): New variable.
36483         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36485         * math/libm-test.inc (struct test_fF_f1_data): New type.
36486         (RUN_TEST_LOOP_fF_f1): New macro.
36487         (modf_test_data): New variable.
36488         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36490         * math/libm-test.inc (struct test_f_f1_data): New type.
36491         (RUN_TEST_LOOP_f_f1): New macro.
36492         (gamma_test_data): New variable.
36493         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36494         (lgamma_test_data): New variable.
36495         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36497 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
36499         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36500         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36501         (main): Comment "tls" pseudo-hwcap.
36503 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
36505         * math/libm-test.inc (struct test_fl_f_data): New type.
36506         (RUN_TEST_LOOP_fl_f): New variable.
36507         (scalbln_test_data): New variable.
36508         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36510         * math/libm-test.inc (struct test_fi_f_data): New type.
36511         (RUN_TEST_LOOP_fi_f): New macro.
36512         (ldexp_test_data): New variable.
36513         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36514         (scalbn_test_data): New variable.
36515         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36517         * math/libm-test.inc (struct test_c_f_data): New type.
36518         (RUN_TEST_LOOP_c_f): New macro.
36519         (cabs_test_data): New variable.
36520         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36521         (carg_test_data): New variable.
36522         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36523         (cimag_test_data): New variable.
36524         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36525         (creal_test_data): New variable.
36526         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36528         * math/libm-test.inc (struct test_if_f_data): New type.
36529         (RUN_TEST_LOOP_if_f): New macro.
36530         (jn_test_data): New variable.
36531         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36532         (yn_test_data): New variable.
36533         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36535         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36537 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36539         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36540         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36542 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36544         * benchtests/Makefile (CPPFLAGS-nonlib): Add
36545         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36546         (bench-deps): Add bench-timing.h.
36547         * benchtests-bench-skeleton.c: Include bench-timing.h.
36548         (main): Use TIMING_* macros instead of clock_gettime.
36549         * benchtests/bench-timing.h: New file.
36551         [BZ #14582]
36552         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36553         Renamed from _LIB_VERSION.
36554         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36556 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
36558         * math/libm-test.inc (struct test_fff_f_data): New type.
36559         (RUN_TEST_LOOP_fff_f): New macro.
36560         (fma_test_data): New variable.
36561         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36562         (fma_towardzero_test_data): New variable.
36563         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36564         (fma_downward_test_data): New variable.
36565         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36566         (fma_upward_test_data): New variable.
36567         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36569         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36570         (struct test_c_c_data): New type.
36571         (RUN_TEST_LOOP_c_c): New macro.
36572         (cacos_test_data): New variable.
36573         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36574         (cacosh_test_data): New variable.
36575         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36576         (casin_test_data): New variable.
36577         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36578         (casinh_test_data): New variable.
36579         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36580         (catan_test_data): New variable.
36581         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36582         (catanh_test_data): New variable.
36583         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36584         (ccos_test_data): New variable.
36585         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36586         (ccosh_test_data): New variable.
36587         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36588         (cexp_test_data): New variable.
36589         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36590         (clog_test_data): New variable.
36591         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36592         (clog10_test_data): New variable.
36593         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36594         (conj_test_data): New variable.
36595         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36596         (cproj_test_data): New variable.
36597         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36598         (csin_test_data): New variable.
36599         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36600         (csinh_test_data): New variable.
36601         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36602         (csqrt_test_data): New variable.
36603         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36604         (ctan_test_data): New variable.
36605         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36606         (ctan_tonearest_test_data): New variable.
36607         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36608         (ctan_towardzero_test_data): New variable.
36609         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36610         (ctan_downward_test_data): New variable.
36611         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36612         (ctan_upward_test_data): New variable.
36613         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36614         (ctanh_test_data): New variable.
36615         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36616         (ctanh_tonearest_test_data): New variable.
36617         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36618         (ctanh_towardzero_test_data): New variable.
36619         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36620         (ctanh_downward_test_data): New variable.
36621         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36622         (ctanh_upward_test_data): New variable.
36623         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36624         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36625         of BUILD_COMPLEX.
36627         * math/libm-test.inc (struct test_ff_f_data): New type.
36628         (struct test_ff_f_data_nexttoward): Likewise.
36629         (RUN_TEST_LOOP_2_f): New macro.
36630         (RUN_TEST_LOOP_ff_f): Likewise.
36631         (atan2_test_data): New variable.
36632         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36633         (copysign_test_data): New variable.
36634         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36635         (fdim_test_data): New variable.
36636         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36637         (fmax_test_data): New variable.
36638         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36639         (fmin_test_data): New variable.
36640         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36641         (fmod_test_data): New variable.
36642         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36643         (hypot_test_data): New variable.
36644         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36645         (nextafter_test_data): New variable.
36646         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36647         (nexttoward_test_data): New variable.
36648         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36649         (pow_test_data): New variable.
36650         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36651         (pow_tonearest_test_data): New variable.
36652         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36653         (pow_towardzero_test_data): New variable.
36654         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36655         (pow_downward_test_data): New variable.
36656         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36657         (pow_upward_test_data): New variable.
36658         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36659         (remainder_test_data): New variable.
36660         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36661         (scalb_test_data): New variable.
36662         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36663         * sysdeps/i386/fpu/libm-test-ulps: Update.
36665 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
36667         * math/libm-test.inc (fma_test): Use max_value instead of local
36668         variable fltmax.
36669         (nextafter_test): Likewise.
36671         * math/libm-test.inc (acos_towardzero_test_data): New variable.
36672         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36673         (acos_downward_test_data): New variable.
36674         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36675         (acos_upward_test_data): New variable.
36676         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36677         (acosh_test_data): New variable.
36678         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36679         (asin_test_data): New variable.
36680         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36681         (asin_tonearest_test_data): New variable.
36682         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36683         (asin_towardzero_test_data): New variable.
36684         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36685         (asin_downward_test_data): New variable.
36686         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36687         (asin_upward_test_data): New variable.
36688         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36689         (asinh_test_data): New variable.
36690         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36691         (atan_test_data): New variable.
36692         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36693         (atanh_test_data): New variable.
36694         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36695         (cbrt_test_data): New variable.
36696         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36697         (ceil_test_data): New variable.
36698         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36699         (cos_test_data): New variable.
36700         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36701         (cos_tonearest_test_data): New variable.
36702         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36703         (cos_towardzero_test_data): New variable.
36704         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36705         (cos_downward_test_data): New variable.
36706         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36707         (cos_upward_test_data): New variable.
36708         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36709         (cosh_test_data): New variable.
36710         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36711         (cosh_tonearest_test_data): New variable.
36712         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36713         (cosh_towardzero_test_data): New variable.
36714         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36715         (cosh_downward_test_data): New variable.
36716         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36717         (cosh_upward_test_data): New variable.
36718         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36719         (erf_test_data): New variable.
36720         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36721         (erfc_test_data): New variable.
36722         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36723         (exp_test_data): New variable.
36724         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36725         (exp_tonearest_test_data): New variable.
36726         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36727         (exp_towardzero_test_data): New variable.
36728         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36729         (exp_downward_test_data): New variable.
36730         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36731         (exp_upward_test_data): New variable.
36732         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36733         (exp10_test_data): New variable.
36734         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36735         (exp2_test_data): New variable.
36736         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36737         (expm1_test_data): New variable.
36738         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36739         (fabs_test_data): New variable.
36740         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36741         (floor_test_data): New variable.
36742         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36743         (j0_test_data): New variable.
36744         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36745         (j1_test_data): New variable.
36746         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36747         (log_test_data): New variable.
36748         (log_test): Run tests with RUN_TEST_LOOP_f_f.
36749         (log10_test_data): New variable.
36750         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36751         (log1p_test_data): New variable.
36752         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36753         (log2_test_data): New variable.
36754         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36755         (logb_test_data): New variable.
36756         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36757         (logb_downward_test_data): New variable.
36758         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36759         (nearbyint_test_data): New variable.
36760         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36761         (rint_test_data): New variable.
36762         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36763         (rint_tonearest_test_data): New variable.
36764         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36765         (rint_towardzero_test_data): New variable.
36766         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36767         (rint_downward_test_data): New variable.
36768         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36769         (rint_upward_test_data): New variable.
36770         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36771         (round_test_data): New variable.
36772         (round_test): Run tests with RUN_TEST_LOOP_f_f.
36773         (sin_test_data): New variable.
36774         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36775         (sin_tonearest_test_data): New variable.
36776         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36777         (sin_towardzero_test_data): New variable.
36778         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36779         (sin_downward_test_data): New variable.
36780         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36781         (sin_upward_test_data): New variable.
36782         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36783         (sinh_test_data): New variable.
36784         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36785         (sinh_tonearest_test_data): New variable.
36786         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36787         (sinh_towardzero_test_data): New variable.
36788         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36789         (sinh_downward_test_data): New variable.
36790         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36791         (sinh_upward_test_data): New variable.
36792         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36793         (sqrt_test_data): New variable.
36794         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36795         (tan_test_data): New variable.
36796         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36797         (tan_tonearest_test_data): New variable.
36798         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36799         (tan_towardzero_test_data): New variable.
36800         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36801         (tan_downward_test_data): New variable.
36802         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36803         (tan_upward_test_data): New variable.
36804         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36805         (tanh_test_data): New variable.
36806         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36807         (tgamma_test_data): New variable.
36808         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36809         (trunc_test_data): New variable.
36810         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36811         (y0_test_data): New variable.
36812         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36813         (y1_test_data): New variable.
36814         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36815         (significand_test_data): New variable.
36816         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36818 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
36820         [BZ #12387]
36821         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36823 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36825         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36827 2013-05-10  Andreas Jaeger  <aj@suse.de>
36829         [BZ #15448]
36830         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36831         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36833 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
36835         * math/gen-libm-test.pl (adjust_arg): New function.
36836         (special_functions): Handle generating output in both functions
36837         and arrays.
36838         (parse_args): Likewise.
36839         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
36840         $in_func argument to parse_args.
36841         * math/libm-test.inc (struct test_f_f_data): New type.
36842         (IF_ROUND_INIT_): New macro.
36843         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36844         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36845         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36846         (IF_ROUND_INIT_FE_UPWARD): Likewise.
36847         (ROUND_RESTORE_): Likewise.
36848         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36849         (ROUND_RESTORE_FE_TONEAREST): Likewise.
36850         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36851         (ROUND_RESTORE_FE_UPWARD): Likewise.
36852         (RUN_TEST_LOOP_f_f): New macro.
36853         (acos_test_data): New variable.
36854         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36855         (acos_tonearest_test_data): New variable.
36856         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36858 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36860         * benchtests/bench-skeleton.c (startup): Fix coding style.
36862 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
36864         [BZ #6809]
36865         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36866         negative infinity argument.
36867         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36868         negative infinity argument.
36869         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36870         negative infinity argument.
36871         * math/libm-test.inc (tgamma_test): Expect errno to be set for
36872         domain errors.
36874 2013-05-10  Florian Weimer  <fweimer@redhat.com>
36876         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36877         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36878         * iconv/iconv_prog.c (main): Likewise.
36879         * locale/programs/charmap-dir.c (charmap_readdir)
36880         (fopen_uncompressed): Likewise.
36881         * locale/programs/locfile.c (siblings_uncached)
36882         (write_locale_data): Use lstat64 instead of lstat.
36883         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36884         stat.
36886 2013-05-10  Andreas Jaeger  <aj@suse.de>
36888         [BZ #15395]
36889         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36890         localization.
36891         Include <locale.h>.
36893 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
36895         * elf/dl-close.c (_dl_close_worker): Add comments.
36897 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
36899         [BZ #15359]
36900         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36901         high part of pi/2.
36902         (__ieee754_rem_pio2l): Update comments.
36904         [BZ #15429]
36905         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36906         high part of pi/2.
36907         (__ieee754_rem_pio2l): Update comments.
36909         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36910         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36912         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36913         M_PI_4l.
36915         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36916         (M_PI_34_LOG10El): Likewise.
36917         (M_PI2_LOG10El): Likewise.
36918         (M_PI4_LOG10El): Likewise.
36919         (M_PI_LOG10El): Likewise.
36921 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36925 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
36927         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36928         (MINUS_ZERO_INIT): Likewise.
36929         (PLUS_INFTY_INIT): Likewise.
36930         (MINUS_INFTY_INIT): Likewise.
36931         (QNAN_VALUE_INIT): Likewise.
36932         (MAX_VALUE_INIT): Likewise.
36933         (MIN_VALUE_INIT): Likewise.
36934         (MIN_SUBNORM_VALUE_INIT): Likewise.
36935         (plus_zero): Initialize with PLUS_ZERO_INIT.
36936         (minus_zero): Initialize with MINUS_ZERO_INIT.
36937         (plus_infty): Initialize with PLUS_INFTY_INIT.
36938         (minus_infty): Initialize with MINUS_INFTY_INIT.
36939         (qnan_value): Initialize with QNAN_VALUE_INIT.
36940         (max_value): Initialize with MAX_VALUE_INIT.
36941         (min_value): Initialize with MIN_VALUE_INIT.
36942         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36944         * math/libm-test.inc (RUN_TEST_if_f): New macro.
36945         (jn_test): Use TEST_if_f instead of TEST_ff_f.
36946         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36947         (yn_test): Use TEST_if_f instead of TEST_ff_f.
36949         * math/libm-test.inc (RUN_TEST_f_f): New macro.
36950         (RUN_TEST_2_f): Likewise.
36951         (RUN_TEST_ff_f): Likewise.
36952         (RUN_TEST_fi_f): Likewise.
36953         (RUN_TEST_fl_f): Likewise.
36954         (RUN_TEST_fff_f): Likewise.
36955         (RUN_TEST_c_f): Likewise.
36956         (RUN_TEST_f_f1): Likewise.
36957         (RUN_TEST_fF_f1): Likewise.
36958         (RUN_TEST_fI_f1): Likewise.
36959         (RUN_TEST_ffI_f1): Likewise.
36960         (RUN_TEST_c_c): Likewise.
36961         (RUN_TEST_cc_c): Likewise.
36962         (RUN_TEST_f_i): Likewise.
36963         (RUN_TEST_f_i_tg): Likewise.
36964         (RUN_TEST_ff_i_tg): Likewise.
36965         (RUN_TEST_f_b): Likewise.
36966         (RUN_TEST_f_b_tg): Likewise.
36967         (RUN_TEST_f_l): Likewise.
36968         (RUN_TEST_f_L): Likewise.
36969         (RUN_TEST_sincos): Likewise.
36970         * math/gen-libm-test.pl (new_test): Take new argument to indicate
36971         whether to show exceptions.  Do not include ");\n" in return
36972         value.
36973         (special_functions): Output call to RUN_TEST_sincos instead of
36974         check_float calls.  Update calls to new_test.
36975         (parse_args): Output call to single RUN_TEST_* macro instead of
36976         check_* calls and other assignments.  Update calls to new_test.
36978         [BZ #2546]
36979         [BZ #2560]
36980         [BZ #5159]
36981         [BZ #15426]
36982         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36983         input to result for tgamma overflow.
36984         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36985         (gamma_coeff): New variable.
36986         (NCOEFF): New macro.
36987         (gamma_positive): New function.
36988         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36989         underflow here.  Use gamma_positive instead of exp (lgamma) for
36990         other arguments.
36991         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36992         (gamma_coeff): New variable.
36993         (NCOEFF): New macro.
36994         (gammaf_positive): New function.
36995         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36996         underflow here.  Use gamma_positive instead of exp (lgamma) for
36997         other arguments.
36998         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36999         (gamma_coeff): New variable.
37000         (NCOEFF): New macro.
37001         (gammal_positive): New function.
37002         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
37003         underflow here.  Use gamma_positive instead of exp (lgamma) for
37004         other arguments.
37005         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
37006         (gamma_coeff): New variable.
37007         (NCOEFF): New macro.
37008         (gammal_positive): New function.
37009         (__ieee754_gammal_r): Handle positive infinity, overflow and
37010         underflow here.  Handle NaN the same as positive infinity.  Remove
37011         check x < 0xffffffff for negative integers.  Use gamma_positive
37012         instead of exp (lgamma) for other arguments.
37013         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
37014         (gamma_coeff): New variable.
37015         (NCOEFF): New macro.
37016         (gammal_positive): New function.
37017         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
37018         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
37019         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
37020         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
37022         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
37023         * sysdeps/generic/math_private.h (__gamma_productf): New
37024         prototype.
37025         (__gamma_product): Likewise.
37026         (__gamma_productl): Likewise.
37027         * math/Makefile (libm-calls): Add gamma_product.
37028         * math/libm-test.inc (tgamma_test): Add more tests.
37029         * sysdeps/i386/fpu/libm-test-ulps: Update.
37030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37032 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
37034         * benchtests/bench-skeleton.c (main): Preheat CPU.
37036 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
37038         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
37040 2013-05-07  Roland McGrath  <roland@hack.frob.com>
37042         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
37043         and _dl_skip_args_internal.
37045 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
37047         * manual/message.texi (Message Translation): Talk about users.
37048         Message to key mapping impacts design.
37050 2013-05-06  Roland McGrath  <roland@hack.frob.com>
37052         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
37054         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
37056         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
37057         * sysdeps/wordsize-64/glob64.c: ... here.
37059         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
37060         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
37061         New macros.
37063         * debug/getlogin_r_chk.c: Moved to ...
37064         * login/getlogin_r_chk.c: ... here.
37065         * debug/Makefile (routines): Move getlogin_r_chk to ...
37066         * login/Makefile (routines): ... here.
37067         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
37068         * login/Versions (libc: GLIBC_2.4): ... here.
37070         * io/poll.c (__poll): Renamed from poll.
37071         Add libc_hidden_def.
37072         (poll): Define as weak alias.
37074         * debug/ptsname_r_chk.c: Moved to ...
37075         * login/ptsname_r_chk.c: ... here.
37076         * debug/Makefile (routines): Move ptsname_r_chk to ...
37077         * login/Makefile (routines): ... here.
37078         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
37079         * login/Versions (libc: GLIBC_2.4): ... here.
37081         * posix/getlogin.c: Moved to ...
37082         * login/getlogin.c: ... here.
37083         * posix/getlogin_r.c: Moved to ...
37084         * login/getlogin_r.c: ... here.
37085         * posix/getlogin_r.c: Moved to ...
37086         * login/getlogin_r.c: ... here.
37087         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
37088         * login/Makefile (routines): ... here.
37089         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
37090         * login/Versions (libc: GLIBC_2.0): ... here.
37092         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
37093         (setrlimit): Define as weak alias.
37095         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
37096         Call __ names for open, ftruncate, and close.
37097         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
37098         (truncate): Define as weak alias.
37100 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
37102         * math/gen-libm-test.pl (parse_args): Initialize x before each
37103         test of frexp, modf and remquo.
37105         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
37106         test signgam value.
37108 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37110         [BZ #15418]
37111         [BZ #15419]
37112         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
37113         internal tests.
37114         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37116 2013-05-06  Roland McGrath  <roland@hack.frob.com>
37118         * elf/dl-writev.h: New file.
37119         * elf/dl-misc.c: Include it.
37120         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
37121         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
37123 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
37125         * math/libm-test.inc (noXFails): Remove variable.
37126         (noXPasses): Likewise.
37127         (BUILD_COMPLEX_INT): Remove macro.
37128         (print_screen): Remove xfail argument.
37129         (print_screen_max_error): Likewise.
37130         (update_stats): Likewise.
37131         (print_max_error): Likewise.  Update calls to other affected
37132         functions.
37133         (print_complex_max_error): Likewise.
37134         (test_single_exception): Update calls to print_screen.
37135         (test_single_errno): Likewise.
37136         (check_float_internal): Remove xfail argument.  Update calls to
37137         other affected functions.
37138         (check_float): Likewise.
37139         (check_complex): Likewise.
37140         (check_int): Likewise.
37141         (check_long): Likewise.
37142         (check_bool): Likewise.
37143         (check_longlong): Likewise.
37144         (main): Don't print noXFails and noXPasses.
37145         * math/gen-libm-test.pl (top level): Don't mention expected
37146         failure handling in comment.
37147         (new_test): Don't handle expected failures.
37148         (parse_args): Don't mention expected failure handling in comment.
37149         (generate_testfile): Don't handle expected failures.
37150         (parse_ulps): Likewise.
37151         (print_ulps_file): Likewise.
37152         (get_failure): Remove function.
37153         (output_test): Don't handle expected failures.
37154         * make/README.libm-test: Don't mention expected failure handling.
37156         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
37157         (minus_zero): Likewise.
37158         (plus_infty): Likewise.
37159         (minus_infty): Likewise.
37160         (qnan_value): Likewise.
37161         (max_value): Likewise.
37162         (min_value): Likewise.
37163         (min_subnorm_value): Likewise.
37164         (initialize): Do not initialize those variables dynamically.
37166 2013-05-03  Roland McGrath  <roland@hack.frob.com>
37168         * io/open.c (__open_2): Moved to ...
37169         * io/open_2.c: ... this new file.
37170         * io/open64.c (__open64_2): Moved to ...
37171         * io/open64_2.c: ... this new file.
37172         * io/openat.c (__openat_2): Moved to ...
37173         * io/openat_2.c: ... this new file.
37174         * io/openat64.c (__openat64_2): Moved to ...
37175         * io/openat64_2.c: ... this new file.
37176         * io/Makefile (routines): Add them.
37177         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
37178         * sysdeps/unix/sysv/linux/open_2.c: File removed.
37179         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
37180         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
37181         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
37182         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
37183         (__openat64): Add hidden_ver.
37184         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
37185         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
37187         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
37188         Separately conditionalize setting of GLRO(dl_sysinfo) so
37189         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
37190         as well, but the actual setting is only under [NEED_DL_SYSINFO].
37192 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37194         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
37195         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
37196         definition.
37197         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
37198         * sysdeps/unix/sysv/linux/powerpc/init-first.c
37199         (_libc_vdso_platform_setup): Add __vdso_time initialization.
37200         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
37201         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
37203 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
37205         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
37206         test signgam value.
37208         * math/libm-test.inc (hypot_test): Do not use
37209         IGNORE_ZERO_INF_SIGN.
37211 2013-05-03  Andreas Jaeger  <aj@suse.de>
37213         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
37214         Linux 3.9.
37215         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
37216         (PF_MAX): Adjust for VSOCK change.
37218 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37222 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
37224         [BZ #15264]
37225         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
37226         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
37227         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
37229 2013-05-02  David S. Miller  <davem@davemloft.net>
37231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37233 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
37235         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
37237 2013-05-01  Roland McGrath  <roland@hack.frob.com>
37239         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
37241 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
37243         [BZ #14952]
37244         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
37245         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37246         Use __attribute__ ((__gnu_inline__)).
37247         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
37248         Don't use __attribute__ ((__gnu_inline__)).
37250 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
37252         [BZ #15423]
37253         * math/s_catan.c (__catan): Handle small real or imaginary part of
37254         input specially to avoid spurious underflow.
37255         * math/s_catanf.c (__catanf): Likewise.
37256         * math/s_catanh.c (__catanh): Likewise.
37257         * math/s_catanhf.c (__catanhf): Likewise.
37258         * math/s_catanhl.c (__catanhl): Likewise.
37259         * math/s_catanl.c (__catanl): Likewise.
37260         * math/libm-test.inc (catan_test): Add more tests.
37261         (catanh_test): Likewise.
37262         * sysdeps/i386/fpu/libm-test-ulps: Update.
37263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37265 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37269 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
37271         [BZ #15416]
37272         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37273         accurately for denominator in atan2.
37274         * math/s_catanf.c (__catanf): Likewise.
37275         * math/s_catanh.c (__catanh): Likewise.
37276         * math/s_catanhf.c (__catanhf): Likewise.
37277         * math/s_catanhl.c (__catanhl): Likewise.
37278         * math/s_catanl.c (__catanl): Likewise.
37279         * math/libm-test.inc (catan_test): Add more tests.
37280         (catanh_test): Likewise.
37281         * sysdeps/i386/fpu/libm-test-ulps: Update.
37282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37284 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37286         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37288         * benchtests/Makefile (bench): Remove slow benchmarks.
37289         * benchtests/atan-inputs: Add slow benchmark inputs.
37290         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37291         (BENCH_FUNC): Accept variant offset.
37292         (VARIANT): Define.
37293         * benchtests/bench-skeleton.c (main): Run benchmark for each
37294         variant.
37295         * benchtests/cos-inputs: Add slow benchmark inputs.
37296         * benchtests/exp-inputs: Likewise.
37297         * benchtests/pow-inputs: Likewise.
37298         * benchtests/sin-inputs: Likewise.
37299         * benchtests/slowatan-inputs: Remove.
37300         * benchtests/slowatan.c: Remove.
37301         * benchtests/slowcos-inputs: Remove.
37302         * benchtests/slowcos.c: Remove.
37303         * benchtests/slowexp-inputs: Remove.
37304         * benchtests/slowexp.c: Remove.
37305         * benchtests/slowpow-inputs: Remove.
37306         * benchtests/slowpow.c: Remove.
37307         * benchtests/slowsin-inputs: Remove.
37308         * benchtests/slowsin.c: Remove.
37309         * benchtests/slowtan-inputs: Remove.
37310         * benchtests/slowtan.c: Remove.
37311         * benchtests/tan-inputs: Add slow benchmark inputs.
37312         * scripts/bench.pl: Parse comments and directives.
37314         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
37315         in CPPFLAGS.
37316         ($(objpfx)bench-%.c): Remove *-ITER.
37317         * benchtests/bench-modf.c: Remove definition of ITER.
37318         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37319         (main): Loop for DURATION seconds instead of fixed number of
37320         iterations.
37321         * scripts/bench.pl: Don't expect iterations in parameters.
37323 2013-04-29  Roland McGrath  <roland@hack.frob.com>
37325         * io/fchdir.c (__fchdir): Renamed from fchdir.
37326         (fchdir): Define as weak alias.
37328 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37330         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37331         (ERRNO_EDOM): Likewise.
37332         (ERRNO_ERANGE): Likewise.
37333         (noErrnoTests): New variable.
37334         (init_max_error): Set errno to 0.
37335         (test_single_errno): New function.
37336         (test_errno): Likewise.
37337         (check_float_internal): Call test_errno.  Set errno to 0.
37338         (check_complex): Refer to errno tests in comment.
37339         (check_int): Call test_errno.  Set errno to 0.
37340         (check_long): Likewise.
37341         (check_bool): Likewise.
37342         (check_longlong): Likewise.
37343         (cos_test): Use ERRNO_* flags for errno tests instead of
37344         check_int.
37345         (expm1_test): Likewise.
37346         (fmod_test): Likewise.
37347         (ilogb_test): Likewise.
37348         (lgamma_test): Likewise.
37349         (pow_test): Likewise.
37350         (remainder_test): Likewise.
37351         (sin_test): Likewise.
37352         (tan_test): Likewise.
37353         (yn_test): Likewise.
37354         (initialize): Set errno to 0.
37355         (main): Print number of errno tests.
37356         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37358 2013-04-29  Andreas Jaeger  <aj@suse.de>
37360         [BZ #15084]
37361         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37362         and RES_USEVC.
37364         [BZ #15085]
37365         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37366         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37367         unimplemented.
37369         [BZ #15380]
37370         * stdlib/random.c (__initstate): Return NULL if
37371         __initstate fails.
37373         [BZ #15086]
37374         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37375         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37376         RES_SNGLKUPREOP.
37378 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37382 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37384         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37385         of individual tests.
37386         (casin_test): Likewise.
37387         (casinh_test): Likewise.
37389 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
37391         [BZ #15409]
37392         * math/s_catan.c (__catan): Handle arguments with large real or
37393         imaginary part separately without squaring.
37394         * math/s_catanf.c (__catanf): Likewise.
37395         * math/s_catanh.c (__catanh): Likewise.
37396         * math/s_catanhf.c (__catanhf): Likewise.
37397         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37398         and redefine.
37399         (__catanhl): Handle arguments with large real or imaginary part
37400         separately without squaring.
37401         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37402         and redefine.
37403         (__catanl): Handle arguments with large real or imaginary part
37404         separately without squaring.
37405         * math/libm-test.inc (catan_test): Add more tests.
37406         (catanh_test): Likewise.
37407         * sysdeps/i386/fpu/libm-test-ulps: Update.
37408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37410 2013-04-27  Andreas Jaeger  <aj@suse.de>
37412         [BZ #15007]
37413         * stdlib/stdlib.h: Update guards for qecvt.
37414         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37415         <stdlib.h>.
37417 2013-04-27  Allan McRae  <allan@archlinux.org>
37419         * sysdeps/i386/fpu/libm-test-ulps: Update.
37421 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
37423         [BZ #15406]
37424         * math/s_catan.c: Include <float.h>.
37425         (__catan): Ensure underflow exception occurs for underflowed
37426         result.
37427         * math/s_catanf.c: Include <float.h>.
37428         (__catanf): Ensure underflow exception occurs for underflowed
37429         result.
37430         * math/s_catanh.c: Include <float.h>.
37431         (__catanh): Ensure underflow exception occurs for underflowed
37432         result.
37433         * math/s_catanhf.c: Include <float.h>.
37434         (__catanhf): Ensure underflow exception occurs for underflowed
37435         result.
37436         * math/s_catanhl.c: Include <float.h>.
37437         (__catanhl): Ensure underflow exception occurs for underflowed
37438         result.
37439         * math/s_catanl.c: Include <float.h>.
37440         (__catanl): Ensure underflow exception occurs for underflowed
37441         result.
37442         * math/libm-test.inc (catan_test): Add more tests.
37443         (catanh_test): Likewise.
37445         [BZ #15405]
37446         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37447         underflowed result.
37448         * math/s_ccoshf.c (__ccoshf): Likewise.
37449         * math/s_ccoshl.c (__ccoshl): Likewise.
37450         * math/s_csin.c (__csin): Likewise.
37451         * math/s_csinf.c (__csinf): Likewise.
37452         * math/s_csinh.c (__csinh): Likewise.
37453         * math/s_csinhf.c (__csinhf): Likewise.
37454         * math/s_csinhl.c (__csinhl): Likewise.
37455         * math/s_csinl.c (__csinl): Likewise.
37456         * math/libm-test.inc (ccos_test): Add more tests.
37457         (ccosh_test): Likewise.
37458         (csin_test): Likewise.
37459         (csinh_test): Likewise.
37461 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37463         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37464         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37465         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37466         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37467         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37468         powerpc/power5+/fpu folders.
37469         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37472 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37474         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37476 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
37478         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37479         additions to variable.
37480         [$(config-machine) = x86_64] (modules-names): Likewise.
37481         ($(objpfx)tst-audit3): Remove dependency.
37482         ($(objpfx)tst-audit3.out): Likewise.
37483         ($(objpfx)tst-audit4): Likewise.
37484         ($(objpfx)tst-audit4.out): Likewise.
37485         ($(objpfx)tst-audit5): Likewise.
37486         ($(objpfx)tst-audit5.out): Likewise.
37487         ($(objpfx)tst-audit6): Likewise.
37488         ($(objpfx)tst-audit6.out): Likewise.
37489         ($(objpfx)tst-audit7): Likewise.
37490         ($(objpfx)tst-audit7.out): Likewise.
37491         (tst-audit3-ENV): Remove variable.
37492         (tst-audit4-ENV): Likewise.
37493         (tst-audit5-ENV): Likewise.
37494         (tst-audit6-ENV): Likewise.
37495         (tst-audit7-ENV): Likewise.
37496         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37497         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37498         addition to variable.
37499         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37500         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37501         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37502         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37503         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37504         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37505         tst-audit3, tst-audit4 and tst-audit5.
37506         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37507         tst-audit6 and tst-audit7.
37508         [$(subdir) = elf] (modules-names): Add audit modules for those
37509         tests.
37510         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37511         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37512         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37513         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37514         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37515         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37516         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37517         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37518         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37519         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37520         [$(subdir) = elf] (tst-audit3-ENV): New variable.
37521         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37522         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37523         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37524         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37525         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37526         Likewise.
37527         [$(subdir) = elf && $(config-cflags-avx) = yes]
37528         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37529         [$(subdir) = elf && $(config-cflags-avx) = yes]
37530         (CFLAGS-tst-auditmod4a.c): Likewise.
37531         [$(subdir) = elf && $(config-cflags-avx) = yes]
37532         (CFLAGS-tst-auditmod4b.c): Likewise.
37533         [$(subdir) = elf && $(config-cflags-avx) = yes]
37534         (CFLAGS-tst-auditmod6b.c): Likewise.
37535         [$(subdir) = elf && $(config-cflags-avx) = yes]
37536         (CFLAGS-tst-auditmod6c.c): Likewise.
37537         [$(subdir) = elf && $(config-cflags-avx) = yes]
37538         (CFLAGS-tst-auditmod7b.c): Likewise.
37539         * elf/tst-audit3.c: Move to ...
37540         * sysdeps/x86_64/tst-audit3.c: ... here.
37541         * elf/tst-audit4.c: Move to ...
37542         * sysdeps/x86_64/tst-audit4.c: ... here.
37543         * elf/tst-audit5.c: Move to ...
37544         * sysdeps/x86_64/tst-audit5.c: ... here.
37545         * elf/tst-audit6.c: Move to ...
37546         * sysdeps/x86_64/tst-audit6.c: ... here.
37547         * elf/tst-audit7.c: Move to ...
37548         * sysdeps/x86_64/tst-audit7.c: ... here.
37549         * elf/tst-auditmod3a.c: Move to ...
37550         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37551         * elf/tst-auditmod3b.c: Move to ...
37552         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37553         * elf/tst-auditmod4a.c: Move to ...
37554         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37555         * elf/tst-auditmod4b.c: Move to ...
37556         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37557         * elf/tst-auditmod5a.c: Move to ...
37558         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37559         * elf/tst-auditmod5b.c: Move to ...
37560         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37561         * elf/tst-auditmod6a.c: Move to ...
37562         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37563         * elf/tst-auditmod6b.c: Move to ...
37564         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37565         * elf/tst-auditmod6c.c: Move to ...
37566         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37567         * elf/tst-auditmod7a.c: Move to ...
37568         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37569         * elf/tst-auditmod7b.c: Move to ...
37570         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37572 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
37574         [BZ #15366]
37575         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37576         define unconditionally.
37577         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37578         define unconditionally.
37579         (INT8_C, INT16_C, etc.): Likewise.
37581 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
37583         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37584         __ehdr_start with hidden visibility.
37586         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37588 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
37590         * math/libm-test.inc (cos_test): Use accurate hex constants.
37591         (sincost_test): Likewise.
37593 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
37595         * math/libm-test.inc (catan_test): Add more tests.
37596         (catanh_test): Likewise.
37598         * math/s_catanf.c (__catanf): Use suffixed floating-point
37599         constants.
37600         * math/s_catanhf.c (__catanhf): Likewise.
37601         * math/s_catanhl.c (__catanhl): Likewise.
37602         * math/s_catanl.c (__catanl): Likewise.
37604         [BZ #15394]
37605         * math/s_catan.c (__catan): Calculate imaginary part of result
37606         with log1p not log unless computing log of number close to 0.
37607         * math/s_catanf.c (__catanf): Likewise.
37608         * math/s_catanl.c (__catanl): Likewise.
37609         * math/s_catanh.c (__catanh): Calculate real part of result with
37610         log1p not log unless computing log of number close to 0.
37611         * math/s_catanhf.c (__catanhf): Likewise.
37612         * math/s_catanhl.c (__catanhl): Likewise.
37613         * math/libm-test.inc (catan_test): Add more tests.
37614         (catanh_test): Likewise.
37615         * sysdeps/i386/fpu/libm-test-ulps: Update.
37616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37618 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         * benchtests/Makefile: Mention files in which fast and slow
37621         paths of math functions are implemented.
37623 2013-04-23  Roland McGrath  <roland@hack.frob.com>
37625         * sysdeps/posix/timespec_get.c: New file.
37627 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37629         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37630         POWER.
37631         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37632         for POWER.
37633         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37634         powerpc/power5/fpu folders.
37635         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37636         * benchtests/Makefile: Add modf testcase.
37637         * benchtests/bench-modf.c: New file: Benchmark test for mo
37639 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37641         [BZ #14888]
37642         * time/Makefile (tests): Add tst-strptime-whitespace.
37643         * time/strptime_l.c (get_number): Use ISSPACE.
37644         (__strptime_internal): Likewise.
37645         * time/tst-strptime-whitespace.c: New test case.
37647 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
37649         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37650         member.
37651         (_nss_files_init): Set it here.
37653 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
37655         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37656         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37657         unsigned.
37659 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
37661         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37663 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37666         size just once.
37668 2013-04-21  David S. Miller  <davem@davemloft.net>
37670         * po/ru.po: Update Russion translation from translation project.
37672 2013-04-17  Adam Conrad  <adconrad@0c3.net>
37674         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37675         and setfsgid.
37677 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
37679         * configure.in: Remove i386 configure warning. Remove i386 case.
37680         * configure: Regenerate.
37681         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37682         Add example to error message.
37683         * sysdeps/i386/configure: Regenerate.
37685 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37687         * benchtests/Makefile (bench): Add cos, tan, slowcos and
37688         slowtan.
37689         * benchtests/cos-inputs: New file.
37690         * benchtests/slowcos-inputs: New file.
37691         * benchtests/slowcos.c: New file.
37692         * benchtests/slowtan-inputs: New file.
37693         * benchtests/slowtan.c: New file.
37694         * benchtests/tan-inputs: New file.
37696 2013-04-16  Roland McGrath  <roland@hack.frob.com>
37698         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37699         considered kosher.
37701 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37703         * benchtests/Makefile: Include cppflags-iterator.mk to add
37704         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37706         * Makefile.in (bench-clean): New target.
37707         * benchtests/Makefile (bench-clean): Likewise.
37709 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
37711         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37713 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
37715         * stdio-common/tstdiomisc.c: Fix coding-style violation.
37717 2013-04-15  Andreas Schwab  <schwab@suse.de>
37719         * nscd/grpcache.c (cache_addgr): Properly check for short write.
37720         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37721         * nscd/pwdcache.c (cache_addpw): Likewise.
37722         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
37723         more than recsize.
37725 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37727         * benchtests/Makefile (bench): Write all output to
37728         bench-out.tmp together.
37730 2013-04-15  Andreas Schwab  <schwab@suse.de>
37732         * nscd/nscd.c (main): Don't fork again after closing files.
37734 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37736         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37738         * benchtests/Rules (bench-deps): Collect dependencies into a
37739         single variable.  Add Makefile to dependencies.
37740         ($(objpfx)bench-%.c): Depend on bench-deps.
37742 2013-04-12  Roland McGrath  <roland@hack.frob.com>
37743             Xavier Roche  <roche+kml2@exalead.com>
37745         [BZ #15361]
37746         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37747         just that it's a file descriptor.
37748         * manual/llio.texi (Synchronizing AIO Operations): Update description
37749         for EBADF error from aio_fsync.
37751 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37753         * Rules (bench): Move target definition...
37754         * benchtests/Makefile: ... here.
37756 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
37758         * math/libm-test.inc (cos_test): Fix PI/2 test.
37759         (sincos_test): Likewise.
37760         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37761         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37763 2013-04-11  Andreas Schwab  <schwab@suse.de>
37765         [BZ #13988]
37766         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37767         accept exponent character only when digits were seen.
37768         * stdio-common/Makefile (tests): Add bug26.
37769         * stdio-common/bug26.c: New file.
37771         [BZ #14293]
37772         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37773         non-freeable.
37775 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37777         * Makeconfig (rtld-prefix): Define built linker prefix.
37778         * Rules (run-bench): Use it.
37779         * math/Makefile (run-regen-ulps): Likewise.
37781         * Rules (bench): Remove eval.
37783 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37784             Roland McGrath  <roland@hack.frob.com>
37785             Ondrej Bilka  <neleai@seznam.cz>
37787         [BZ #15346]
37788         * time/getdate.c: Include ctype.h and alloca.h.
37789         (__getdate_r): Trim leading and trailing spaces of input.
37790         * time/tst-getdate.c (tests): Add tests with leading and
37791         trailing spaces.
37793 2013-04-08  Roland McGrath  <roland@hack.frob.com>
37795         [BZ #14280]
37796         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37797         when computing value.
37799 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37801         * math/README.libm-test (How can I generate "libm-test-ulps"?):
37802         Use testrun.sh to run libm tests.
37804         [BZ #15309]
37805         * elf/dl-open.c (dl_open_worker): memset all of seen array.
37807 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
37809         [BZ #15264]
37810         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37812 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37814         * Makefile.in (regen-ulps): New target.
37815         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37816         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37817         [ifneq (no,$(PERL)] (regen-ulps): New target.
37818         [ifeq (no,$(PERL)] (regen-ulps): New target.
37819         * math/libm-test.inc (ulps_file_name): Define.
37820         (output_dir): New variable.
37821         (options): Add "output-dir" option.
37822         (parse_opt): Handle 'o' case.
37823         (main): If output_dir is non-NULL use it as a prefix
37824         otherwise use "".
37825         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37827 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37829         [BZ #10060, #10062]
37830         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37831         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37832         fail configure if __sync_val_compare_and_swap is not inlined.
37833         * sysdeps/i386/configure: Regenerate.
37834         * configure.in: Build for i686 when configured for i386.
37835         * configure: Regenerate.
37836         * README: Remove i386 reference.
37838 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37840         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37841         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37843 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37845         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37846         (lmsnanval): New variables.
37847         (F): Add conversion tests.
37848         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37849         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37851         * stdio-common/tstdiomisc.c (F): Properly collect individual
37852         tests' results.
37854         [BZ #14686, #15336]
37855         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37856         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37857         Instead, use input NaN values or generate a qNaN by arithmetic
37858         operation.  Also fix bugs to comply with the standard.
37859         * math/libm-test.inc (remainder_test): Add more tests.
37861         [BZ #15335, #15342]
37862         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37863         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37864         input NaN values or generate a qNaN by arithmetic operation.
37866         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37867         unreachable code.
37869         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37870         definitions.
37872 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
37874         [BZ #14478]
37875         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37876         underflowed result.
37877         * math/s_cexpf.c (__cexpf): Likewise.
37878         * math/s_cexpl.c (__cexpl): Likewise.
37879         * math/libm-test.inc (cexp_test): Add more tests.
37881 2013-04-03  Andreas Schwab  <schwab@suse.de>
37883         [BZ #15330]
37884         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37885         order arrays from heap if bigger than alloca cutoff.
37887 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
37889         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37890         (SNAN_TESTS_double): Refer to GCC PR56831.
37891         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37892         GCC PR56828.
37894 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37896         * Rules (bench): Move bench.out after the run is complete.
37898         * Rules (bench): Echo currently running benchmark.
37900         * benchtests/Makefile (bench): Add atan and slowatan.
37901         * benchtests/atan-inputs: New file.
37902         * benchtests/slowatan-inputs: New file.
37903         * benchtests/slowatan.c: New file.
37905         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37907         its value.
37909         [BZ #15305]
37910         * sysdeps/unix/sysv/linux/kernel-features.h
37911         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37912         __ASSUME_XFS_RESTRICTED_CHOWN.
37913         * sysdeps/unix/sysv/linux/pathconf.c
37914         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37915         Save and restore errno.
37917 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
37919         [BZ #15327]
37920         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37921         arguments using __kernel_casinh.
37922         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37923         arguments using __kernel_casinhf.
37924         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37925         arguments using __kernel_casinhl.
37926         * math/libm-test.inc (cacosh_test): Add more tests.
37927         * sysdeps/i386/fpu/libm-test-ulps: Update.
37928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37930 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37932         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37933         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37935         * bench/Makefile (bench): Add sin and slowsin.
37936         * benchtests/sin-inputs: New file.
37937         * benchtests/slowsin-inputs: New file.
37938         * benchtests/slowsin.c: New file.
37940         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37941         (bench): Add slowexp and slowpow.
37942         (exp-ITER): Increase iterations.
37943         (pow-ITER): Likewise.
37944         * benchtests/exp-inputs: Change input.
37945         * benchtests/pow-inputs: Likewise.
37946         * benchtests/slowexp-inputs: New file.
37947         * benchtests/slowexp.c: New file.
37948         * benchtests/slowpow-inputs: New file.
37949         * benchtests/slowpow.c: New file.
37951 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37953         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37954         instructions.
37955         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37956         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37957         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37958         * benchtests/Makefile: Add rint benchtest.
37959         * benchtests/rint-inputs: Input for rint benchtest.
37961 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37963         * Versions.def (libm): Add GLIBC_2.18.
37964         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37965         hidden libm prototypes.
37966         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37967         * math/Makefile (libm-calls): Add s_issignaling.
37968         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37969         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
37970         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37971         declaration.
37972         * math/math.h [__USE_GNU] (issignaling): New macro.
37973         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37974         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37975         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37976         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37977         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37979         * manual/arith.texi (issignaling): New section.
37980         * manual/libm-err-tab.pl (@all_functions): Update comment.
37981         * math/gen-libm-test.pl (parse_args): Apply special handling for
37982         issignaling.
37983         * math/libm-test.inc (print_float, issignaling_test): New
37984         functions.
37985         (check_float_internal): Add issignaling checks.
37986         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37987         default definition.
37988         * sysdeps/powerpc/math-tests.h: New file.
37989         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37990         tests.
37991         * math/test-snan.c (TEST_FUNC): Likewise.
37993 2013-03-30  David S. Miller  <davem@davemloft.net>
37995         * po/de.po: Update from translation team.
37997 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37999         [BZ #10357]
38000         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38001         imaginary part less than 1.0 and real part less than 0.5
38002         specially.
38003         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38004         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38005         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
38006         (cacos_test): Add more tests.
38007         (casin_test): Likewise.
38008         (casinh_test): Likewise.
38009         * sysdeps/i386/fpu/libm-test-ulps: Update.
38010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38012 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38014         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
38015         ONE with its value.
38017         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
38018         (__pow_mp): Replace ONE and MONE with their values.
38019         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38020         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
38021         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38022         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
38023         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38024         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38026         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
38028         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
38029         (__pow_mp): Replace ZERO and MZERO with their values.
38030         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38031         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38034         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38035         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
38036         (__sqr): Likewise.
38038         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
38040         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
38042 2013-03-28  Roland McGrath  <roland@hack.frob.com>
38044         * include/stdlib.h [!SHARED] (__call_tls_dtors):
38045         Declare with __attribute__ ((weak)).
38046         * stdlib/exit.c (__libc_atexit) [!SHARED]:
38047         Call __call_tls_dtors only if it's not NULL.
38049 2013-03-28  Roland McGrath  <roland@hack.frob.com>
38051         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
38052         didn't do it already, then set _dl_phdr and _dl_phnum based on the
38053         magic __ehdr_start linker symbol if it's defined.
38054         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
38055         them up here if it was already done.
38057         * elf/dl-support.c (_dl_phdr): Make pointer to const.
38058         (_dl_aux_init): Use const in cast when setting it.
38059         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
38060         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
38061         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
38063         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
38064         Declare them here.
38065         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
38066         * csu/libc-tls.c: Nor here.
38067         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
38069         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
38070         (__libc_message): Never call vsyslog.
38072 2013-03-28  Alan Modra  <amodra@gmail.com>
38074         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
38075         Define as empty.
38076         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
38077         Likewise.
38079 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38081         [BZ #15214]
38082         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
38083         underflow.
38084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38086 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38088         [BZ #15304]
38089         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
38090         Don't add gid passed as argument.
38092         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
38094 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
38096         [BZ #15307]
38097         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38098         imaginary part between 1.0 and 1.5 and real part less than 0.5
38099         specially.
38100         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38101         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38102         * math/libm-test.inc (cacos_test): Add more tests.
38103         (casin_test): Likewise.
38104         (casinh_test): Likewise.
38105         * sysdeps/i386/fpu/libm-test-ulps: Update.
38106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38108 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38110         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
38111         constants.
38112         (norm): Likewise.
38113         (denorm): Likewise.
38114         (__dbl_mp): Likewise.
38115         (add_magnitudes): Likewise.
38116         (sub_magnitudes): Likewise.
38117         (__add): Likewise.
38118         (__sub): Likewise.
38119         (__mul): Likewise.
38120         (__sqr): Likewise.
38121         (__inv): Likewise.
38122         (__dvd): Likewise.
38124         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
38125         commented code.
38126         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
38127         (__dubcos): Likewise.
38128         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
38129         (__ieee754_acos): Likewise.
38130         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
38131         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
38132         (__exp1): Likewise.
38133         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
38134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
38135         (log1): Likewise.
38136         (my_log2): Likewise.
38137         (checkint): Likewise.
38138         * sysdeps/ieee754/dbl-64/e_remainder.c
38139         (__ieee754_remainder): Likewise.
38140         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
38141         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
38142         (bsloww): Likewise.
38143         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38145         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38146         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
38147         MANTISSA_STORE_T to store computations on mantissa.  Use
38148         macros for rounding and division.
38149         (denorm): Likewise.
38150         (__dbl_mp): Likewise.
38151         (add_magnitudes): Likewise.
38152         (sub_magnitudes): Likewise.
38153         (__mul): Likewise.
38154         (__sqr): Likewise.
38155         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
38156         powers of two in terms of TWOPOW macro.
38157         (mp_no): Make type of mantissa as MANTISSA_T.
38158         [!RADIXI]: Define RADIXI.
38159         [!TWO52]: Define TWO52.
38160         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38162 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38164         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
38165         llroundl symbol when building for PPC32.
38167 2013-03-24  Mark H Weaver  <mhw@netris.org>
38169         * manual/arith.texi (Normalization Functions): Fix prototypes for
38170         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
38172 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38174         [BZ #13889]
38175         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
38176         high value to check if expl overflow.
38177         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
38178         to check for underflow and overflow.
38179         * math/libm-test.inc: Add exp test.
38181 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
38183         [BZ #11120]
38184         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
38185         with NOT_IN_libc.
38187 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38189         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
38190         symbol.
38192 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
38194         * math/gen-libm-test.pl (parse_args, special_functions): Properly
38195         wrap blocks consisting of several statements.
38197         * sysdeps/generic/math-tests.h: New file.
38198         * sysdeps/i386/fpu/math-tests.h: Likewise.
38199         * math/test-snan.c: Include it.
38200         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
38202 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
38204         [BZ #15285]
38205         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
38206         (__ieee754_j0l): Do not improve calculations using cos of twice
38207         input for inputs above LDBL_MAX / 2.0L.
38208         (__ieee754_y0l): Likewise.
38209         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
38210         (__ieee754_j1l): Do not improve calculations using cos of twice
38211         input for inputs above LDBL_MAX / 2.0L.
38212         (__ieee754_y1l): Likewise.
38213         * math/libm-test.inc (j0_test): Add another test.
38214         (j1_test): Likewise.
38215         (y0_test): Likewise.
38216         (y1_test): Likewise.
38217         * sysdeps/i386/fpu/libm-test-ulps: Update.
38219 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38221         * Rules ($(objpfx)bench-%.c): Include code from a C source
38222         file.
38224 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
38226         [BZ #15287]
38227         * math/k_casinh.c (__kernel_casinh): Handle arguments with
38228         imaginary part 1.0 and real part less than 0.5 specially.
38229         * math/k_casinhf.c (__kernel_casinhf): Likewise.
38230         * math/k_casinhl.c (__kernel_casinhl): Likewise.
38231         * math/libm-test.inc (cacos_test): Add more tests.
38232         (casin_test): Likewise.
38233         (casinh_test): Likewise.
38234         * sysdeps/i386/fpu/libm-test-ulps: Update.
38235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38237 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38239         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
38240         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
38242 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
38244         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
38245         * config.make.in (config-cflags-sse4): Remove variable.
38246         (config-cflags-avx): Likewise.
38247         (config-cflags-sse2avx): Likewise.
38248         (config-cflags-novzeroupper): Likewise.
38249         (config-asflags-i686): Likewise.
38250         (have-mfma4): Likewise.
38251         (have-as-vis3): Likewise.
38252         (MIG): Likewise.
38253         * configure.in (MIG): Do not AC_SUBST.
38254         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38255         (libc_cv_cc_sse4): Do not AC_SUBST.
38256         (libc_cv_cc_avx): Likewise.
38257         (libc_cv_cc_sse2avx): Likewise.
38258         (libc_cv_cc_novzeroupper): Likewise.
38259         (libc_cv_cc_fma4): Likewise.
38260         (libc_cv_as_i686): Likewise.
38261         (libc_cv_sparc_as_vis3): Likewise.
38262         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38263         LIBC_CONFIG_VAR.
38264         (config-asflags-i686): Likewise.
38265         (config-cflags-avx): Likewise.
38266         (config-cflags-sse2avx): Likewise.
38267         (have-mfma4): Likewise.
38268         (config-cflags-novzeroupper): Likewise.
38269         * sysdeps/mach/configure.in (MIG): Likewise.
38270         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38271         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38272         LIBC_CONFIG_VAR.
38273         (config-cflags-avx): Likewise.
38274         (config-cflags-sse2avx): Likewise.
38275         (have-mfma4): Likewise.
38276         (config-cflags-novzeroupper): Likewise.
38277         * configure: Regenerated.
38278         * sysdeps/i386/configure: Likewise.
38279         * sysdeps/mach/configure: Likewise.
38280         * sysdeps/sparc/configure: Likewise.
38281         * sysdeps/x86_64/configure: Likewise.
38283 2013-03-20  Roland McGrath  <roland@hack.frob.com>
38285         [BZ #14812]
38286         * locale/programs/localedef.c (options): Put N_ translation marker
38287         on argument names, not just descriptions.
38289 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38291         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38293 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
38295         [BZ #14176]
38296         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38298 2013-03-19  Roland McGrath  <roland@hack.frob.com>
38300         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38301         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38302         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38303         [!BEFORE_ABORT] (before_abort): New function.
38304         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38305         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38306         (writev_for_fatal): New function.
38307         (WRITEV_FOR_FATAL): New macro; call that.
38308         (backtrace_and_maps): New function.
38309         (BEFORE_ABORT): New macro; call that.
38310         (struct str_list): Type removed.
38311         (__libc_message, __libc_fatal): Functions removed.
38312         Include <sysdeps/posix/libc_fatal.c> instead.
38314 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
38316         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38317         constants.
38318         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38319         double constants.
38321 2013-03-19  Andreas Schwab  <schwab@suse.de>
38323         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38324         * sysdeps/gnu/configure: Regenerate.
38326         * configure.in: Substitute libc_cv_rtlddir.
38327         * configure: Regenerate.
38328         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38329         * Makeconfig (rtlddir, inst_rtlddir): New variables.
38330         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38331         * elf/Makefile (install-others, CFLAGS-interp.c)
38332         (ldso_install, common-ldd-rewrite): Likewise.
38333         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38334         $(inst_slibdir)/$(rtld-installed-name).
38335         * scripts/rellns-sh: Add -p option.
38336         * Makerules (make-shlib-link): Use rellns-sh to get relative name
38337         for source.
38339 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38341         * manual/nptl.texi: Renamed to ...
38342         * manual/threads.texi: ... this.
38343         * manual/Makefile (chapters): Update.
38345 2013-03-18  Roland McGrath  <roland@hack.frob.com>
38347         [BZ #14812]
38348         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38349         on argument names, not just descriptions.
38350         * malloc/memusagestat.c (options): Likewise.
38351         * nss/getent.c (options): Likewise.
38353 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
38355         [BZ #14812]
38356         * iconv/iconv_prog.c (options): Put N_ translation marker
38357         on argument names, not just descriptions.
38358         * iconv/iconvconfig.c (options): Likewise.
38360 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
38362         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38363         implementation which is faster on all x86_64 architectures.
38364         Tested on AMD, Intel Nehalem, SNB, IVB.
38365         * sysdeps/x86_64/strnlen.S: Likewise.
38367         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38368         Remove all multiarch strlen and strnlen versions.
38369         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38370         Remove strlen and strnlen related parts.
38372         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38373         Inline strlen part.
38374         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38376         * sysdeps/x86_64/multiarch/strlen.S: Remove.
38377         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38378         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38379         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38380         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38381         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38383 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
38385         * manual/memory.texi (Malloc Tunable Parameters):
38386         Sort parameters alphabetically. Add comments for missing entries.
38388 2013-03-17  David S. Miller  <davem@davemloft.net>
38390         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38392 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
38394         [BZ #15283]
38395         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38396         for arguments at most half maximum finite value.
38397         * math/libm-test.inc (j0_test): Add more tests.
38398         (j1_test): Likewise.
38399         (y0_test): Likewise.
38400         (y1_test): Likewise.
38401         * sysdeps/i386/fpu/libm-test-ulps: Update.
38402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38404         [BZ #14155]
38405         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38406         1 / x and functions P and Q for arguments above 0x1p256L.
38407         (__ieee754_y0l): Likewise.
38408         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38409         (__ieee754_y1l): Likewise.
38410         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38411         (j1_test): Likewise.
38412         (y0_test): Likewise.
38413         (y1_test): Likewise.
38415 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
38417         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38418         variable.
38420 2013-03-15  Roland McGrath  <roland@hack.frob.com>
38422         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38423         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38424         zero since it's initialized to EXEC_PAGESIZE.
38426         * sysdeps/unix/sysv/linux/ldsodefs.h
38427         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38428         * sysdeps/generic/ldsodefs.h: ... here.
38430 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
38432         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38434         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38435         math/test-snan.c.
38436         * math/test-snan.c: Renamed from
38437         sysdeps/powerpc/fpu/test-powerpc-snan.c.
38438         * math/Makefile (tests): Add test-snan.
38439         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38440         test-powerpc-snan.
38442         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38443         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
38444         functions.
38445         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
38446         __builtin_nan family of functions.
38447         * math/libm-test.inc (initialize): Initialize qnan_value with
38448         __builtin_nan family of functions.
38449         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38450         Remove variables.
38451         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38452         Remove functions.
38453         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
38454         storage class.  Initialize qNaN_var and sNaN_var with
38455         __builtin_nan and __builtin_nans families of functions,
38456         respectively.
38458         * math/libm-test.inc (acosh_test): Also test with qNaN input.
38459         (sqrt_test): Remove duplicate test with qNaN input.
38460         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38461         (round_test, signbit_test, significand_test): Note missing +/-Inf
38462         as well as qNaN tests.
38464         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38465         qNaN_var.  Fix a few strings, too.
38466         * math/libm-test.inc (nan_value): Rename to qnan_value.
38467         * math/gen-libm-test.pl (%beautify): Adjust to that.
38468         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38469         * math/test-misc.c (main): Likewise.
38470         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38471         to __qnan_bytes, and __qnan_union, respectively.
38472         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38473         Likewise.
38474         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38475         and lqnanval, respectively.
38476         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38477         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38478         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38479         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38481         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38482         * math/test-misc.c (main) [__x86_64__]: Enable test for long
38483         doubles.
38485         * math/test-misc.c (main): Fix copy'n'pastos.
38486         * misc/tst-efgcvt.c (special): Likewise.
38488         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38489         Remove declarations.
38491 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38493         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38494         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38495         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38496         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38498 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38500         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38501         macro to return vdso values correctly in IFUNC implementations.
38502         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38503         Optimization by using IFUNC.
38505 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38506             Richard Henderson  <rth@redhat.com>
38507             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38509         * Makefile.in (bench): New target.
38510         * NEWS: Mention the benchmark framework.
38511         * Rules (bench): Likewise.
38512         (binaries-bench): Generate binaries for functions to
38513         benchmark.
38514         * benchtests/Makefile: New makefile for benchmark tests.
38515         * benchtests/bench-skeleton.c: New skeleton file for benchmark
38516         programs.
38517         * benchtests/exp-inputs: New input file for EXP function.
38518         * benchtests/pow-inputs: New input file for POW function.
38519         * scripts/bench.pl: New script to generate source files for
38520         benchmark programs.
38522 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38524         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38525         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38526         computations on mantissa.  Use macros for rounding and
38527         division.
38528         (denorm): Likewise.
38529         (__dbl_mp): Likewise.
38530         (add_magnitudes): Likewise.
38531         (sub_magnitudes): Likewise.
38532         (__mul): Likewise.
38533         (__sqr): Likewise.
38534         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
38535         powers of two in terms of TWOPOW macro.
38536         (mp_no): Make type of mantissa as MANTISSA_T.
38537         [!RADIXI]: Define RADIXI.
38538         [!TWO52]: Define TWO52.
38539         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38541         * manual/nptl.texi (cindex): Modify threads to pthreads.
38543 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
38545         * sysdeps/x86_64/preconfigure: Regenerated.
38547 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
38549         [BZ #14155]
38550         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38551         0x1p28 and above.
38552         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38553         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38554         0x1p28 and above.
38555         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38556         * math/libm-test.inc (j0_test): Do not allow one spurious
38557         underflow exception.
38558         (y1_test): Likewise.
38560 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38562         * manual/Makefile (chapters): Add nptl.
38563         * manual/debug.texi (Debugging Support): Add link to Threads
38564         chapter.
38565         * manual/nptl.texi: New file.
38567         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38569 2013-03-14  Petr Baudis  <pasky@ucw.cz>
38571         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38572         for non-NULL pointer before the memory validity test. Pointed
38573         out by Holger Brunck <holger.brunck@keymile.com>.
38575 2013-03-13  Andreas Schwab  <schwab@suse.de>
38577         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38578         instead of .os.
38580 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
38582         * timezone/zic.c: Update from tzcode 2013b.
38584 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
38586         * manual/install.texi (Configuring and compiling):
38587         Mention i686 and i586.
38588         * INSTALL: Regenerate.
38590 2013-03-12  Roland McGrath  <roland@hack.frob.com>
38592         * sysdeps/init_array/elf-init.c: New file.
38593         * csu/elf-init.c
38594         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38595         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38597         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38598         __gmon_start__ as global, but as static with a .preinit_array pointer.
38599         * sysdeps/init_array/gmon-start.c: New file.  Use that.
38600         * sysdeps/init_array/crti.S: New file, empty except for comments.
38601         * sysdeps/init_array/crtn.S: Likewise.
38603 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
38605         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38606         definining bcopy.
38607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38608         Remove Prefer_SSE_for_memop.
38609         * sysdeps/x86_64/multiarch/init-arch.h: Remove
38610         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38611         HAS_PREFER_SSE_FOR_MEMOP.
38612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38613         memset-x86-64.
38614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38615         Remove bzero, memset ifunc support.
38616         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38617         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38618         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38619         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38621 2013-03-11  Andreas Schwab  <schwab@suse.de>
38623         [BZ #15234]
38624         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38625         by SHLIB_COMPAT.
38626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38627         (GLIBC_2.16): Remove pthread_atfork.
38629 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38631         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38632         (ptestcases.h): Likewise.
38634 2013-03-08  Roland McGrath  <roland@hack.frob.com>
38636         * Makeconfig ($(common-objpfx)config.status): Depend on
38637         sysdeps/*/preconfigure{,.in} too.
38639 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
38641         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38642         (__free_hook): Use void * instead of __malloc_ptr_t.
38643         (__malloc_hook): Likewise.
38644         (__realloc_hook): Likewise.
38645         (__memalign_hook): Likewise.
38646         (__after_morecore_hook): Likewise.
38647         * malloc/arena.c (save_malloc_hook): Likewise.
38648         (save_free_hook): Likewise.
38649         * malloc/hooks.c (malloc_hook_ini): Likewise.
38650         (realloc_hook_ini): Likewise.
38651         (memalign_hook_ini): Likewise.
38652         * malloc/malloc.c (malloc_hook_ini): Likewise.
38653         (realloc_hook_ini): Likewise.
38654         (memalign_hook_ini): Likewise.
38655         (__free_hook): Likewise.
38656         (__malloc_hook): Likewise.
38657         (__realloc_hook): Likewise.
38658         (__memalign_hook): Likewise.
38659         (__libc_malloc): Likewise.
38660         (__libc_free): Likewise.
38661         (__libc_realloc): Likewise.
38662         (__libc_memalign): Likewise.
38663         (__libc_valloc): Likewise.
38664         (__libc_pvalloc): Likewise.
38665         (__libc_calloc): Likewise.
38666         (__posix_memalign): Likewise.
38667         * malloc/morecore.c (__sbrk): Likewise.
38668         (__default_morecore): Likewise.
38670         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38672         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38673         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38674         __malloc_ptrdiff_t.
38676         * malloc/malloc.h (__malloc_size_t): Remove macro.
38677         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38678         __malloc_size_t.
38679         (old_memalign_hook): Likewise.
38680         (old_realloc_hook): Likewise.
38681         (struct hdr): Likewise.
38682         (flood): Likewise.
38683         (mallochook): Likewise.
38684         (memalignhook): Likewise.
38685         (reallochook): Likewise.
38686         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38687         (tr_old_realloc_hook): Likewise.
38688         (tr_old_memalign_hook): Likewise.
38689         (tr_mallochook): Likewise.
38690         (tr_reallochook): Likewise.
38691         (tr_memalignhook): Likewise.
38693 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38695         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38696         default_ldbl_pack and using as default implementation.
38697         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38698         implementation.
38699         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38700         redundant definition.
38701         (ldbl_insert_mantissa): Likewise.
38702         (ldbl_canonicalize): Likewise.
38703         (ldbl_nearbyint): Likewise.
38704         (ldbl_pack): Rename to ldbl_pack_ppc.
38705         (ldbl_unpack): Rename to ldbl_unpack_ppc.
38706         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38707         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38709 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38711         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38712         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38713         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38714         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38715         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38716         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38717         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38718         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38720 2013-03-07  Andreas Jaeger  <aj@suse.de>
38722         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38723         bits/mman-linux.h.
38725 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38727         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38728         Include mpa.h and declare __MPEXP.
38729         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38730         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38731         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38732         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38733         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38734         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38735         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38737         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38738         (__slowpow): Use long double EXPL and LOGL functions to
38739         compute POW.
38740         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38741         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38742         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38743         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38744         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38745         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38747         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38748         intermediate variable to calculate exponent.
38749         (__sqr): Likewise.
38750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38751         Likewise.
38752         (__sqr): Likewise.
38754         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38755         [!NO__SQR]: Define __sqr.
38756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38757         and NO__SQR.  Remove all code except __mul and __sqr.  Include
38758         sysdeps/ieee754/dbl-64/mpa.c.
38759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38761         [BZ #12723]
38762         * posix/Makefile (tests): Add tst-pathconf.
38763         * posix/tst-pathconf.c: New test case.
38764         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38765         _PC_PIPE_BUF.
38766         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38768 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
38770         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38772 2013-03-06  Andreas Jaeger  <aj@suse.de>
38774         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38775         definition via __MAP_ANONYMOUS.
38777         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38778         it's not part of Linux headers.
38780         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38781         (MAP_HUGE_MASK): Define.
38783         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38784         Define.
38785         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38786         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38787         Define.
38788         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38789         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38790         Define.
38791         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38792         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38793         Define.
38794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38796         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38797         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38798         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38799         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38800         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38801         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38804         Handle f2fs.
38806         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38807         Handle f2fs and efivarfs.
38809         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38810         f2fs.
38812         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38813         (EFIVARFS_MAGIC): Add.
38814         (F2FS_LINK_MAX): Add.
38816 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38818         * stdio-common/vfprintf.c: Replace __builtin_expect with
38819         __glibc_unlikely.
38821 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
38823         [BZ #13550]
38824         * sysdeps/generic/bp-sym.h: Remove file.
38825         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38826         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38827         <bp-sym.h> and <bp-asm.h>.
38828         (__longjmp): Don't use BP_SYM.
38829         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38830         and <bp-asm.h>.
38831         (memcpy): Don't use BP_SYM.
38832         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38833         <bp-sym.h> and <bp-asm.h>.
38834         (memcpy): Don't use BP_SYM.
38835         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38836         <bp-asm.h>.
38837         (memcpy): Don't use BP_SYM.
38838         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38839         <bp-asm.h>.
38840         (memset): Don't use BP_SYM.
38841         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38842         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38843         (__bzero): Don't use BP_SYM.
38844         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38845         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38846         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38847         <bp-sym.h> and <bp-asm.h>.
38848         (memcmp): Don't use BP_SYM.  Remove comment about bounded
38849         pointers.
38850         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38851         <bp-sym.h> and <bp-asm.h>.
38852         (memcpy): Don't use BP_SYM.
38853         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38854         <bp-sym.h> and <bp-asm.h>.
38855         (memset): Don't use BP_SYM.
38856         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38857         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38858         (__bzero): Don't use BP_SYM.
38859         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38860         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38861         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38862         <bp-sym.h> and <bp-asm.h>.
38863         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38864         pointers.
38865         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38866         <bp-sym.h> and <bp-asm.h>.
38867         (memcpy): Don't use BP_SYM.
38868         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38869         <bp-sym.h> and <bp-asm.h>.
38870         (memset): Don't use BP_SYM.
38871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38873         (__bzero): Don't use BP_SYM.
38874         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38875         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38876         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38877         <bp-sym.h> and <bp-asm.h>.
38878         (__memchr): Don't use BP_SYM.
38879         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38880         <bp-sym.h> and <bp-asm.h>.
38881         (memcmp): Don't use BP_SYM.  Remove comment about bounded
38882         pointers.
38883         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38884         <bp-sym.h> and <bp-asm.h>.
38885         (memcpy): Don't use BP_SYM.
38886         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38887         <bp-sym.h> and <bp-asm.h>.
38888         (__mempcpy): Don't use BP_SYM.
38889         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38890         <bp-sym.h> and <bp-asm.h>.
38891         (__memrchr): Don't use BP_SYM.
38892         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38893         <bp-sym.h> and <bp-asm.h>.
38894         (memset): Don't use BP_SYM.
38895         (__bzero): Likewise.
38896         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38897         <bp-sym.h> and <bp-asm.h>.
38898         (__rawmemchr): Don't use BP_SYM.
38899         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38900         <bp-sym.h> and <bp-asm.h>.
38901         (__STRCMP): Don't use BP_SYM.
38902         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38903         <bp-sym.h> and <bp-asm.h>.
38904         (strchr): Don't use BP_SYM.
38905         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38906         <bp-sym.h> and <bp-asm.h>.
38907         (__strchrnul): Don't use BP_SYM.
38908         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38909         <bp-sym.h> and <bp-asm.h>.
38910         (strlen): Don't use BP_SYM.
38911         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38912         <bp-sym.h> and <bp-asm.h>.
38913         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38914         pointers.
38915         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38916         <bp-sym.h> and <bp-asm.h>.
38917         (__strnlen): Don't use BP_SYM.
38918         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38919         <bp-sym.h> and <bp-asm.h>.
38920         (__GI__setjmp): Don't use BP_SYM.
38921         (_setjmp): Likewise.
38922         (__sigsetjmp): Likewise.
38923         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38924         (L(start_addresses)): Don't use BP_SYM.
38925         (_start): Likewise.
38926         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38927         <bp-asm.h>.
38928         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38929         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38930         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38931         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38932         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38933         <bp-asm.h>.
38934         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38935         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
38936         about bounded pointers.
38937         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38938         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38939         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38940         <bp-asm.h>.
38941         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38942         about bounded pointers.  Remove GKM FIXME comments.
38943         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38944         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38945         <bp-asm.h>.
38946         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38947         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
38948         Remove GKM FIXME comments.
38949         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38950         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38951         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38952         <bp-asm.h>.
38953         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38954         about bounded pointers.  Remove GKM FIXME comment.
38955         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38956         and <bp-asm.h>.
38957         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38958         pointers.
38959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38960         <bp-sym.h> and <bp-asm.h>.
38961         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38963         <bp-sym.h> and <bp-asm.h>.
38964         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38965         comment.
38967 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38969         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38970         call free(NULL).
38972 2013-03-05  David S. Miller  <davem@davemloft.net>
38974         * po/es.po: Update from translation team.
38976 2013-03-05  Andreas Jaeger  <aj@suse.de>
38978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38979         <bits/mman-linux.h>.
38980         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38981         is fine.
38982         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38983         <bits/mman-linux.h> to end of file.
38984         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38985         is fine.
38986         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38987         <bits/mman-linux.h> to end of file.
38988         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38989         is fine.
38990         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38991         <bits/mman-linux.h> to end of file.
38993         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38994         (MCL_CURRENT, MCL_FUTURE): Define here.
38996 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38998         [BZ #15232]
38999         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
39000         attribute_hidden.
39001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39003 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39005         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
39006         fourth parameter needed for rt_sigprocmask syscall.
39007         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39008         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
39009         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
39010         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
39011         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
39012         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
39014 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
39016         [BZ #13550]
39017         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
39018         comment about bounded pointers.
39019         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
39020         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
39022 2013-03-04  Andreas Jaeger  <aj@suse.de>
39024         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
39025         common definitions.
39027         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
39028         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
39029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
39030         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
39031         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
39032         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
39034 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39036         [BZ #15055]
39037         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39038         __ieee754_sqrl instead of __sqrl.
39040 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
39042         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
39043         * sysdeps/powerpc/fpu_control.h: ... here.
39044         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
39045         * sysdeps/powerpc/bits/fenvinline.h: ... here.
39046         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
39047         * sysdeps/powerpc/bits/mathinline.h: ... here.
39049 2013-03-01  Roland McGrath  <roland@hack.frob.com>
39051         * elf/dl-hwcaps.c (_dl_important_hwcaps):
39052         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
39053         to just [NEED_DL_SYSINFO_DSO].
39054         * elf/dl-support.c: Likewise.
39055         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39056         * elf/rtld.c (dl_main): Likewise.
39057         * elf/setup-vdso.h (setup_vdso): Likewise.
39058         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
39059         * sysdeps/unix/sysv/linux/dl-sysdep.c
39060         (_dl_discover_osversion): Likewise.
39062 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
39064         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
39065         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39067 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39069         * NEWS: Mention libm performance improvements and non-x86 PI
39070         futex support.
39072         * csu/libc-start.c (__pthread_initialize_minimal): Change
39073         function arguments.
39074         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
39076 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
39078         [BZ #13550]
39079         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
39080         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
39081         <bp-sym.h> and <bp-asm.h>.
39082         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39083         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
39084         and <bp-asm.h>.
39085         (memcpy): Don't use BP_SYM.
39086         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
39087         <bp-asm.h>.
39088         (__mpn_add_n): Don't use BP_SYM.
39089         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
39090         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
39091         and <bp-asm.h>.
39092         (__mpn_addmul_1): Don't use BP_SYM.
39093         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39094         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
39095         <bp-sym.h>.
39096         (_setjmp): Don't use BP_SYM.
39097         (__novmx_setjmp): Likewise.
39098         (__GI__setjmp): Likewise.
39099         (__vmx_setjmp): Likewise.
39100         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
39101         <bp-sym.h>.
39102         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
39103         (__bzero): Don't use BP_SYM.
39104         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
39105         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
39106         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
39107         <bp-sym.h> and <bp-asm.h>.
39108         (memcpy): Don't use BP_SYM.
39109         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
39110         <bp-sym.h> and <bp-asm.h>.
39111         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39112         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
39113         <bp-sym.h> and <bp-asm.h>.
39114         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
39115         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
39116         <bp-asm.h>.
39117         (__mpn_lshift): Don't use BP_SYM.
39118         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39119         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
39120         <bp-asm.h>.
39121         (memset): Don't use BP_SYM.
39122         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
39123         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
39124         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
39125         <bp-asm.h>.
39126         (__mpn_mul_1): Don't use BP_SYM.
39127         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39128         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
39129         <bp-sym.h> and <bp-asm.h>.
39130         (memcmp): Don't use BP_SYM.
39131         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
39132         <bp-sym.h> and <bp-asm.h>.
39133         (memcpy): Don't use BP_SYM.
39134         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
39135         <bp-sym.h> and <bp-asm.h>.
39136         (memset): Don't use BP_SYM.
39137         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
39138         <bp-sym.h> and <bp-asm.h>.
39139         (strncmp): Don't use BP_SYM.
39140         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
39141         <bp-sym.h> and <bp-asm.h>.
39142         (memcpy): Don't use BP_SYM.
39143         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
39144         <bp-sym.h> and <bp-asm.h>.
39145         (memset): Don't use BP_SYM.
39146         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
39147         <bp-sym.h> and <bp-asm.h>.
39148         (__memchr): Don't use BP_SYM.
39149         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
39150         <bp-sym.h> and <bp-asm.h>.
39151         (memcmp): Don't use BP_SYM.
39152         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
39153         <bp-sym.h> and <bp-asm.h>.
39154         (memcpy): Don't use BP_SYM.
39155         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
39156         <bp-sym.h> and <bp-asm.h>.
39157         (__mempcpy): Don't use BP_SYM.
39158         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
39159         <bp-sym.h> and <bp-asm.h>.
39160         (__memrchr): Don't use BP_SYM.
39161         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
39162         <bp-sym.h> and <bp-asm.h>.
39163         (memset): Don't use BP_SYM.
39164         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
39165         <bp-sym.h> and <bp-asm.h>.
39166         (__rawmemchr): Don't use BP_SYM.
39167         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
39168         <bp-sym.h> and <bp-asm.h>.
39169         (__STRCMP): Don't use BP_SYM.
39170         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
39171         <bp-sym.h> and <bp-asm.h>.
39172         (strchr): Don't use BP_SYM.
39173         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
39174         <bp-sym.h> and <bp-asm.h>.
39175         (__strchrnul): Don't use BP_SYM.
39176         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
39177         <bp-sym.h> and <bp-asm.h>.
39178         (strlen): Don't use BP_SYM.
39179         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
39180         <bp-sym.h> and <bp-asm.h>.
39181         (strncmp): Don't use BP_SYM.
39182         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
39183         <bp-sym.h> and <bp-asm.h>.
39184         (__strnlen): Don't use BP_SYM.
39185         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
39186         <bp-asm.h>.
39187         (__mpn_rshift): Don't use BP_SYM.
39188         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39189         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
39190         <bp-sym.h> and <bp-asm.h>.
39191         (__sigsetjmp): Don't use BP_SYM.
39192         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
39193         (L(start_addresses)): Don't use BP_SYM.
39194         (_start): Likewise.
39195         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
39196         <bp-asm.h>.
39197         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
39198         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39199         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39200         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
39201         <bp-asm.h>.
39202         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
39203         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39204         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39205         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
39206         <bp-asm.h>.
39207         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
39208         comments.
39209         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39210         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
39211         <bp-asm.h>.
39212         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
39213         FIXME comments.
39214         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39215         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
39216         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
39217         <bp-asm.h>.
39218         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
39219         comment.
39220         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
39221         and <bp-asm.h>.
39222         (strncmp): Don't use BP_SYM,
39223         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
39224         <bp-asm.h>.
39225         (__mpn_sub_n): Don't use BP_SYM.
39226         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39227         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
39228         and <bp-asm.h>.
39229         (__mpn_submul_1): Don't use BP_SYM.
39230         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
39232         <bp-sym.h> and <bp-asm.h>.
39233         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
39234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
39235         <bp-sym.h> and <bp-asm.h>.
39236         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
39237         comment.
39239 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
39242         Use ZK to minimize writes to Z.
39243         (sub_magnitudes): Simplify code a bit.
39244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
39245         Use ZK to minimize writes to Z.
39246         (sub_magnitudes): Simplify code a bit.
39248 2013-02-27  Roland McGrath  <roland@hack.frob.com>
39250         * csu/gmon-start.c: Add special exception to license text.
39252 2013-02-27  Richard Henderson  <rth@redhat.com>
39254         * scripts/config.guess: Update from config.git.
39255         * scripts/config.sub: Likewise.
39257 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39259         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39261         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39263         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39265         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39267         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39269 2013-02-26  Roland McGrath  <roland@hack.frob.com>
39271         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39272         [$(build-shared = yes].
39274 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39276         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39277         (__mul): Reduce iterations for calculating mantissa.
39279         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39280         MPTWO.
39281         (__mpranred): Likewise.
39283         [BZ #15160]
39284         * malloc/memusagestat.c (main): Draw graphs for heap and stack
39285         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39287 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
39289         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39290         Define __attribute__.
39292 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39294         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39295         unused.
39296         * posix/regex_internal.h (__attribute): Remove.
39297         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39298         (re_string_context_at): Likewise.
39299         (bitset_not): Use __attribute__ and mark function as possibly
39300         unused.
39301         (bitset_merge): Likewise.
39302         (bitset_mask): Likewise.
39303         (re_string_char_size_at): Likewise.
39304         (re_string_wchar_at): Likewise.
39305         (re_string_elem_size_at): Likewise.
39307 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39309         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39310         code.
39311         (cc32): Likewise.
39313         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39314         (__acr): Likewise.
39315         (__cpy): Likewise.
39316         (norm): Likewise.
39317         (denorm): Likewise.
39318         (__dbl_mp): Likewise.
39319         (add_magnitudes): Likewise.
39320         (sub_magnitudes): Likewise.
39321         (__mul): Likewise.
39322         (__inv): Likewise.
39324         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39325         style.
39327         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39328         style.
39330         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39331         code.
39333         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39334         up changes with default code.
39335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39336         Likewise.
39338 2013-02-24  Allan McRae  <allan@archlinux.org>
39340         * manual/socket.texi (The Internet Namespace): Order menu items
39341         to match that in the file.
39343         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39344         node listing of the info page menu.
39346 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
39348         [BZ #13550]
39349         * sysdeps/i386/bp-asm.h: Remove file.
39350         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39351         (PARMS): Do not use macros from bp-asm.h.
39352         (S1): Likewise.
39353         (S2): Likewise.
39354         (SIZE): Likewise.
39355         (__mpn_add_n): Do not use BP_SYM
39356         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39357         "bp-asm.h".
39358         (PARMS): Do not use macros from bp-asm.h.
39359         (S1): Likewise.
39360         (SIZE): Likewise.
39361         (__mpn_addmul_1): Do not use BP_SYM
39362         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39363         "bp-asm.h".
39364         (PARMS): Do not use macros from bp-asm.h.
39365         (SIGMSK): Likewise.
39366         (_setjmp): Likewise.  Do not use BP_SYM.
39367         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39368         "bp-asm.h".
39369         (PARMS): Do not use macros from bp-asm.h.
39370         (SIGMSK): Likewise.
39371         (setjmp): Likewise.  Do not use BP_SYM.
39372         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39373         "bp-asm.h".
39374         (PARMS): Do not use macros from bp-asm.h.
39375         (__frexp): Do not use BP_SYM.
39376         (frexp): Likewise.
39377         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39378         "bp-asm.h".
39379         (PARMS): Do not use macros from bp-asm.h.
39380         (__frexpf): Do not use BP_SYM.
39381         (frexpf): Likewise.
39382         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39383         "bp-asm.h".
39384         (PARMS): Do not use macros from bp-asm.h.
39385         (__frexpl): Do not use BP_SYM.
39386         (frexpl): Likewise.
39387         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39388         "bp-asm.h".
39389         (PARMS): Do not use macros from bp-asm.h.
39390         (__remquo): Do not use BP_SYM.
39391         (remquo): Likewise.
39392         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39393         "bp-asm.h".
39394         (PARMS): Do not use macros from bp-asm.h.
39395         (__remquof): Do not use BP_SYM.
39396         (remquof): Likewise.
39397         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39398         "bp-asm.h".
39399         (PARMS): Do not use macros from bp-asm.h.
39400         (__remquol): Do not use BP_SYM.
39401         (remquol): Likewise.
39402         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39403         "bp-asm.h".
39404         (PARMS): Do not use macros from bp-asm.h.
39405         (DEST): Likewise.
39406         (SRC): Likewise.
39407         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
39408         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39409         "bp-asm.h".
39410         (PARMS): Do not use macros from bp-asm.h.
39411         (strlen): Do not use BP_SYM.
39412         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39413         "bp-asm.h".
39414         (PARMS): Do not use macros from bp-asm.h.
39415         (S1): Likewise.
39416         (S2): Likewise.
39417         (SIZE): Likewise.
39418         (__mpn_add_n): Do not use BP_SYM.
39419         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39420         "bp-asm.h".
39421         (PARMS): Do not use macros from bp-asm.h.
39422         (S1): Likewise.
39423         (SIZE): Likewise.
39424         (__mpn_addmul_1): Do not use BP_SYM.
39425         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39426         weak_alias.
39427         (bzero): Likewise.
39428         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39429         "bp-asm.h".
39430         (PARMS): Do not use macros from bp-asm.h.
39431         (S): Likewise.
39432         (SIZE): Likewise.
39433         (__mpn_lshift): Do not use BP_SYM.
39434         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39435         "bp-asm.h".
39436         (PARMS): Do not use macros from bp-asm.h.
39437         (DEST): Likewise.
39438         (SRC): Likewise.
39439         (LEN): Likewise.
39440         (memcpy): Likewise.  Do not use BP_SYM.
39441         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39442         libc_hidden_def and weak_alias.
39443         (mempcpy): Do not use BP_SYM in weak_alias.
39444         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39445         "bp-asm.h".
39446         (PARMS): Do not use macros from bp-asm.h.
39447         (DEST): Likewise.
39448         (LEN): Likewise.
39449         [!BZERO_P] (CHR): Likewise.
39450         (memset): Likewise.  Do not use BP_SYM.
39451         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39452         "bp-asm.h".
39453         (PARMS): Do not use macros from bp-asm.h.
39454         (S1): Likewise.
39455         (SIZE): Likewise.
39456         (__mpn_mul_1): Do not use BP_SYM.
39457         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39458         "bp-asm.h".
39459         (PARMS): Do not use macros from bp-asm.h.
39460         (S): Likewise.
39461         (SIZE): Likewise.
39462         (__mpn_rshift): Do not use BP_SYM.
39463         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39464         "bp-asm.h".
39465         (PARMS): Do not use macros from bp-asm.h.
39466         (STR): Likewise.
39467         (CHR): Likewise.
39468         (strchr): Likewise.  Do not use BP_SYM.
39469         (index): Do not use BP_SYM in weak_alias.
39470         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39471         "bp-asm.h".
39472         (PARMS): Do not use macros from bp-asm.h.
39473         (DEST): Likewise.
39474         (SRC): Likewise.
39475         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
39476         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39477         "bp-asm.h".
39478         (PARMS): Do not use macros from bp-asm.h.
39479         (strlen): Do not use BP_SYM.
39480         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39481         "bp-asm.h".
39482         (PARMS): Do not use macros from bp-asm.h.
39483         (S1): Likewise.
39484         (S2): Likewise.
39485         (SIZE): Likewise.
39486         (__mpn_sub_n): Do not use BP_SYM.
39487         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39488         "bp-asm.h".
39489         (PARMS): Do not use macros from bp-asm.h.
39490         (S1): Likewise.
39491         (SIZE): Likewise.
39492         (__mpn_submul_1): Do not use BP_SYM.
39493         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39494         "bp-asm.h".
39495         (PARMS): Do not use macros from bp-asm.h.
39496         (S1): Likewise.
39497         (S2): Likewise.
39498         (SIZE): Likewise.
39499         (__mpn_add_n): Do not use BP_SYM.
39500         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39501         weak_alias.
39502         (bzero): Likewise.
39503         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39504         "bp-asm.h".
39505         (PARMS): Do not use macros from bp-asm.h.
39506         (BLK2): Likewise.
39507         (LEN): Likewise.
39508         (memcmp): Do not use BP_SYM.
39509         (bcmp): Do not use BP_SYM in weak_alias.
39510         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39511         "bp-asm.h".
39512         (PARMS): Do not use macros from bp-asm.h.
39513         (DEST): Likewise.
39514         (SRC): Likewise.
39515         (LEN): Likewise.
39516         (memcpy): Likewise.  Do not use BP_SYM.
39517         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39518         "bp-asm.h".
39519         (PARMS): Do not use macros from bp-asm.h.
39520         (DEST): Likewise.
39521         (SRC): Likewise.
39522         (LEN): Likewise.
39523         (memmove): Likewise.  Do not use BP_SYM.
39524         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39525         "bp-asm.h".
39526         (PARMS): Do not use macros from bp-asm.h.
39527         (DEST): Likewise.
39528         (SRC): Likewise.
39529         (LEN): Likewise.
39530         (__mempcpy): Likewise.  Do not use BP_SYM.
39531         (mempcpy): Do not use BP_SYM in weak_alias.
39532         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39533         "bp-asm.h".
39534         (PARMS): Do not use macros from bp-asm.h.
39535         (DEST): Likewise.
39536         (LEN): Likewise.
39537         [!BZERO_P] (CHR): Likewise.
39538         (memset): Likewise.  Do not use BP_SYM.
39539         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39540         "bp-asm.h".
39541         (PARMS): Do not use macros from bp-asm.h.
39542         (STR2): Likewise.
39543         (strcmp): Do not use BP_SYM.
39544         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39545         "bp-asm.h".
39546         (PARMS): Do not use macros from bp-asm.h.
39547         (STR): Likewise.
39548         (DELIM): Likewise.
39549         [USE_AS_STRTOK_R] (SAVE): Likewise.
39550         (FUNCTION): Likewise.  Do not use BP_SYM.
39551         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39552         aliases.
39553         (strtok_r): Likewise.
39554         (__GI___strtok_r): Likewise.
39555         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39556         (PARMS): Do not use macros from bp-asm.h.
39557         (S): Likewise.
39558         (SIZE): Likewise.
39559         (__mpn_lshift): Do not use BP_SYM.
39560         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39561         (PARMS): Do not use macros from bp-asm.h.
39562         (STR): Likewise.
39563         (CHR): Likewise.
39564         (__memchr): Do not use BP_SYM.
39565         (memchr): Do not use BP_SYM in weak_alias.
39566         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39567         (PARMS): Do not use macros from bp-asm.h.
39568         (BLK2): Likewise.
39569         (LEN): Likewise.
39570         (memcmp): Do not use BP_SYM.
39571         (bcmp): Do not use BP_SYM in weak_alias.
39572         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39573         (PARMS): Do not use macros from bp-asm.h.
39574         (S1): Likewise.
39575         (SIZE): Likewise.
39576         (__mpn_mul_1): Do not use BP_SYM.
39577         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39578         "bp-asm.h".
39579         (PARMS): Do not use macros from bp-asm.h.
39580         (STR): Likewise.
39581         (CHR): Likewise.
39582         (__rawmemchr): Do not use BP_SYM.
39583         (rawmemchr): Do not use BP_SYM in weak_alias.
39584         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39585         (PARMS): Do not use macros from bp-asm.h.
39586         (S): Likewise.
39587         (SIZE): Likewise.
39588         (__mpn_rshift): Do not use BP_SYM.
39589         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39590         (PARMS): Do not use macros from bp-asm.h.
39591         (SIGMSK): Likewise.
39592         (__sigsetjmp): Likewise.  Do not use BP_SYM.
39593         * sysdeps/i386/start.S: Do not include "bp-sym.h".
39594         (_start): Do not use BP_SYM.
39595         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39596         (PARMS): Do not use macros from bp-asm.h.
39597         (DEST): Likewise.
39598         (SRC): Likewise.
39599         (__stpcpy): Likewise.  Do not use BP_SYM.
39600         (stpcpy): Do not use BP_SYM in weak_alias.
39601         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39602         "bp-asm.h".
39603         (PARMS): Do not use macros from bp-asm.h.
39604         (DEST): Likewise.
39605         (SRC): Likewise.
39606         (LEN): Likewise.
39607         (__stpncpy): Likewise.  Do not use BP_SYM.
39608         (stpncpy): Do not use BP_SYM in weak_alias.
39609         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39610         (PARMS): Do not use macros from bp-asm.h.
39611         (STR): Likewise.
39612         (CHR): Likewise.
39613         (strchr): Likewise.  Do not use BP_SYM.
39614         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39615         "bp-asm.h".
39616         (PARMS): Do not use macros from bp-asm.h.
39617         (STR): Likewise.
39618         (CHR): Likewise.
39619         (__strchrnul): Likewise.  Do not use BP_SYM.
39620         (strchrnul): Do not use BP_SYM in weak_alias.
39621         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39622         "bp-asm.h".
39623         (PARMS): Do not use macros from bp-asm.h.
39624         (STOP): Likewise.
39625         (strcspn): Do not use BP_SYM.
39626         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39627         "bp-asm.h".
39628         (PARMS): Do not use macros from bp-asm.h.
39629         (STR): Likewise.
39630         (STOP): Likewise.
39631         (strpbrk): Likewise.  Do not use BP_SYM.
39632         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39633         "bp-asm.h".
39634         (PARMS): Do not use macros from bp-asm.h.
39635         (STR): Likewise.
39636         (CHR): Likewise.
39637         (strrchr): Likewise.  Do not use BP_SYM.
39638         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39639         (PARMS): Do not use macros from bp-asm.h.
39640         (SKIP): Likewise.
39641         (strspn): Do not use BP_SYM.
39642         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39643         (PARMS): Do not use macros from bp-asm.h.
39644         (STR): Likewise.
39645         (DELIM): Likewise.
39646         (SAVE): Likewise.
39647         (FUNCTION): Likewise.  Do not use BP_SYM.
39648         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39649         aliases.
39650         (strtok_r): Likewise.
39651         (__GI___strtok_r): Likewise.
39652         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39653         (PARMS): Do not use macros from bp-asm.h.
39654         (S1): Likewise.
39655         (S2): Likewise.
39656         (SIZE): Likewise.
39657         (__mpn_sub_n): Do not use BP_SYM.
39658         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39659         "bp-asm.h".
39660         (PARMS): Do not use macros from bp-asm.h.
39661         (S1): Likewise.
39662         (SIZE): Likewise.
39663         (__mpn_submul_1): Do not use BP_SYM.
39664         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39665         <bp-sym.h>.
39666         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39667         and <bp-asm.h>.
39668         (PARMS): Do not use macros from bp-asm.h.
39669         (FLAGS): Likewise.
39670         (PTID): Likewise.
39671         (TLS): Likewise.
39672         (CTID): Likewise.
39673         (__clone): Do not use BP_SYM.
39674         (clone): Do not use BP_SYM in weak_alias.
39675         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39676         and <bp-asm.h>.
39677         (PARMS): Do not use macros from bp-asm.h.
39678         (LEN): Likewise.
39679         (__mmap64): Do not use BP_SYM.
39680         (mmap64): Do not use BP_SYM in weak_alias.
39681         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39682         <bp-sym.h> and <bp-asm.h>.
39683         (PARMS): Do not use macros from bp-asm.h.
39684         (__posix_fadvise64_l64): Do not use BP_SYM.
39685         * sysdeps/unix/sysv/linux/i386/semtimedop.S
39686         (PARMS): Do not use macros from bp-asm.h.
39687         (NSOPS): Likewise.
39688         (semtimedop): Do not use BP_SYM.
39689         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39690         and <bp-asm.h>.
39692 2013-02-21  Allan McRae  <allan@archlinux.org>
39694         * manual/message.texi (Charset conversion in gettext):
39695         Move @end statement to beginning of line.
39697 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39700         static.
39701         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39702         Likewise.
39704         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39705         (denorm): Likewise.
39706         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39709 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39711         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39712         tail-call to the resolved function if pltexit isn't needed.
39714 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39716         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39717         or Y being zero as being unlikely.
39718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39719         Likewise.
39721 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
39723         * manual/nss.texi (System Databases and Name Service Switch):
39724         Remove frobnicate @pxref.
39726 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
39728         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39729         __attribute__ ((unused)) to __attribute__ ((__unused__)).
39731 2013-02-20  Petr Machata  <pmachata@redhat.com>
39733         * elf/elf.h (R_ARM_TARGET1): New macro.
39734         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39735         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39736         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39737         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39738         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39739         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39740         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39741         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39742         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39743         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39744         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39745         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39746         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39747         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39748         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39749         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39750         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39751         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39752         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39753         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39754         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39755         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39756         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39757         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39758         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39759         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39760         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39761         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39762         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39763         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39764         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39765         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39766         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39767         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39768         (R_ARM_THM_GOT_BREL12): Likewise.
39769         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39770         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39771         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39772         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39773         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39774         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39775         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39776         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39777         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39779 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
39781         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39782         __attribute_used__ to __attribute__ ((unused)).
39784 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39786         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39787         powerpc mpa.c.
39788         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39789         comment formatting.
39790         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39792 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
39794         [BZ #13550]
39795         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39796         Remove macro.
39797         (ENTER): Remove both macro definitions.
39798         (LEAVE): Likewise.
39799         (CHECK_BOUNDS_LOW): Likewise.
39800         (CHECK_BOUNDS_HIGH): Likewise.
39801         (CHECK_BOUNDS_BOTH): Likewise.
39802         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39803         (RETURN_BOUNDED_POINTER): Likewise.
39804         (RETURN_NULL_BOUNDED_POINTER): Likewise.
39805         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39806         (POP_ERRNO_LOCATION_RETURN): Likewise.
39807         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39808         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39809         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39810         macros.
39811         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39812         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39813         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39814         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39815         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39816         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39817         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39818         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39819         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39820         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39821         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39822         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39823         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39824         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39825         removed macros.
39826         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39827         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39828         macros.
39829         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39830         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39831         * sysdeps/i386/i586/memset.S (memset): Likewise.
39832         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39833         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39834         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39835         macros.
39836         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39837         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39838         Change uses of L(2) to L(out).
39839         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39840         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39841         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39842         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39843         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39844         removed macros.
39845         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39846         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39847         macros.
39848         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39849         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39850         (RETURN): Do not use macro LEAVE.
39851         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39852         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39853         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39854         * sysdeps/i386/i686/memset.S (memset): Likewise.
39855         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39856         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39857         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39858         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39859         Likewise.
39860         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39861         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
39862         L(1_2) and L(1_3) into L(1).
39863         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39864         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39865         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39866         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39867         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39868         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39869         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39870         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39871         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39872         macros.
39873         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39874         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39875         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39876         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39877         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39878         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39879         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39880         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39881         * sysdeps/i386/strcspn.S (strcspn): Likewise.
39882         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39883         * sysdeps/i386/strrchr.S (strrchr): Likewise.
39884         * sysdeps/i386/strspn.S (strspn): Likewise.
39885         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39886         conditional code.
39887         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39888         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39889         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39890         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
39891         L(1_3) into L(1_1).
39892         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39893         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39894         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39895         macros.
39896         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39898 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
39900         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39901         macro.
39903 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39905         * math/atest-exp.c (exp_mpn): Remove ROUND.
39906         * math/atest-exp2.c (exp_mpn): Likewise.
39907         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39909         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39910         * stdlib/tst-tls-atexit-lib.c: Likewise.
39911         * stdlib/tst-tls-atexit.c: Likewise.
39913 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39915         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39916         and __attribute_alloc_size__.
39918 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39920         * include/programs/xmalloc.h: Change __attribute_alloc_size to
39921         __attribute_alloc_size__.
39922         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39923         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39925 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39927         * include/programs/xmalloc.h: New file.
39928         * catgets/gencat.c: Include it.
39929         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39930         * elf/pldd.c: Likewise.
39931         * iconv/iconv_charmap.c: Likewise.
39932         * iconv/iconvconfig.c: Likewise.
39933         * iconv/strtab.c: Likewise.
39934         * locale/programs/locale.c: Likewise.
39935         * locale/programs/localedef.h: Likewise.
39936         * locale/programs/simple-hash.c: Likewise.
39937         * nscd/nscd.h: Likewise.
39938         * nss/makedb.c: Likewise.
39939         * sysdeps/generic/ldconfig.h: Likewise.
39941 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39943         * Versions.def: Add GLIBC_2.18.
39944         * include/link.h (struct link_map): New member l_tls_dtor_count.
39945         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39946         (__call_tls_dtors): Likewise.
39947         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39948         __cxa_thread_atexit_impl.
39949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39950         Likewise.
39951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39952         Likewise.
39953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39954         Likewise.
39955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39956         Likewise.
39957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39959         Likewise.
39960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39961         Likewise.
39962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39964         Likewise.
39965         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39966         (tests): Add test case tst-tls-atexit.
39967         (modules-names): Add shared library for tst-tls-atexit.
39968         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39969         (GLIBC_PRIVATE): Add __call_tls_dtors.
39970         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39971         for libstdc++.
39972         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39973         * stdlib/tst-tls-atexit.c: New test case.
39974         * stdlib/tst-tls-atexit-lib.c: New test case.
39976         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39978         * elf/Versions (ld): Add _dl_find_dso_for_object.
39979         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39980         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39981         (dl_open_worker): Use _dl_find_dso_for_object.
39982         * elf/dl-sym.c (do_sym): Likewise.
39983         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39985 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39987         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39988         Syntactic changes only.
39989         (_dl_runtime_profile): Do a tail-call to the resolved function.
39991 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39993         [BZ #13550]
39994         * sysdeps/x86_64/bp-asm.h: Remove file.
39995         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39996         <bp-sym.h> and <bp-asm.h>.
39997         (__clone): Do not use BP_SYM.
39998         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39999         <bp-sym.h> and <bp-asm.h>.
40000         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40001         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
40002         "bp-asm.h".
40003         (_setjmp): Do not use BP_SYM.
40004         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
40005         "bp-asm.h".
40006         (setjmp): Do not use BP_SYM.
40007         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
40008         libc_hidden_def.
40009         (mempcpy): Do not use BP_SYM in weak_alias.
40010         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
40011         "bp-asm.h".
40012         (strchr): Do not use BP_SYM.
40013         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
40014         "bp-asm.h".
40015         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
40016         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
40017         (_start): Do not use BP_SYM.
40018         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
40019         "bp-asm.h".
40020         (strcat): Do not use BP_SYM.
40021         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
40022         "bp-asm.h".
40023         (STRCMP): Do not use BP_SYM.
40024         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
40025         "bp-asm.h".
40026         (STRCPY): Do not use BP_SYM.
40027         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
40028         "bp-asm.h".
40029         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
40030         "bp-asm.h".
40031         (FUNCTION): Do not use BP_SYM.
40032         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
40033         weak_alias.
40034         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
40036 2013-02-17  Andreas Jaeger  <aj@suse.de>
40038         * time/Versions: Sort entries.
40039         * string/Versions: Likewise.
40040         * resolv/Versions: Likewise.
40041         * posix/Versions: Likewise.
40042         * iconv/Versions: Likewise.
40043         * elf/Versions: Likewise.
40044         * wcsmbs/Versions: Likewise.
40046 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40048         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
40049         loop termination condition.
40051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
40052         variable to calculate EZ.
40053         (__sqr): Likewise.
40055         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
40056         the lower precision input.
40058 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
40060         [BZ #13550]
40061         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
40062         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
40063         (run-via-rtld-prefix): Do not handle %-bp tests.
40064         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
40065         (all-object-suffixes): Remove .ob.
40066         (bppfx): Remove variable.
40067         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
40068         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
40069         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
40070         [$(build-bounded) = yes] (libtype.ob): Likewise.
40071         * Makerules (elide-routines.ob): Remove variable.
40072         (do-tests-clean): Do not handle *-bp.out.
40073         (common-mostlyclean): Do not handle *-bp and *-bp.out.
40074         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
40075         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
40076         (tests): Do not include $(tests-bp.out).
40077         (xtests): Do not include $(xtests-bp.out).
40078         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
40079         [$(build-bounded) = yes] ($(addprefix
40080         $(objpfx),$(binaries-bounded))): Remove rule.
40081         ($(objpfx)%-bp.out): Remove rule.
40082         * config.make.in (build-bounded): Remove variable.
40083         * crypt/Makefile [$(build-bounded) = yes]
40084         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
40085         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
40086         append to variable.
40087         [$(build-bounded) = yes] (install-lib): Likewise.
40088         [$(build-bounded) = yes] (generated): Likewise.
40089         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
40090         Remove rule.
40091         * intl/Makefile [$(build-bounded) = yes]
40092         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
40093         * math/Makefile [$(build-bounded) = yes]
40094         ($(tests:%=$(objpfx)%-bp): Likewise.
40095         * misc/Makefile [$(build-bounded) = yes]
40096         ($(objpfx)tst-tsearch-bp): Likewise.
40097         * nptl/Makeconfig (bounded-thread-library): Remove variable.
40098         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
40099         Remove dependency.
40100         * string/Makefile (o-objects.ob): Remove variable.
40101         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
40102         (CFLAGS-.ob): Remove variable.
40103         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
40104         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
40105         both definitions of variable.
40106         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
40107         (ASFLAGS-.ob): Remove variable.
40109 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
40111         [BZ #13550]
40112         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
40113         Remove __BOUNDED_POINTERS__ from condition.
40114         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
40115         * string/bits/string2.h [!__NO_STRING_INLINES &&
40116         !__BOUNDED_POINTERS__]: Likewise.
40117         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
40118         Likewise.
40119         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
40120         Remove conditional code.
40121         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
40122         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
40123         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
40124         condition.
40126         [BZ #13550]
40127         * csu/libc-start.c: Do not include <bp-sym.h>.
40128         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
40129         * elf/dl-open.c: Do not include <bp-sym.h>.
40130         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
40131         * math/fegetenv.c: Do not include <bp-sym.h>.
40132         (fegetenv): Do not use BP_SYM in versioned symbols.
40133         * nptl/sysdeps/pthread/bits/libc-lockP.h
40134         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
40135         <bp-sym.h>.
40136         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40137         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
40138         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40139         (__pthread_mutex_destroy): Likewise.
40140         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40141         (__pthread_mutex_lock): Likewise.
40142         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40143         (__pthread_mutex_trylock): Likewise.
40144         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40145         (__pthread_mutex_unlock): Likewise.
40146         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40147         (__pthread_mutexattr_init): Likewise.
40148         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40149         (__pthread_mutexattr_destroy): Likewise.
40150         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40151         (__pthread_mutexattr_settype): Likewise.
40152         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40153         (__pthread_rwlock_init): Likewise.
40154         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40155         (__pthread_rwlock_destroy): Likewise.
40156         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40157         (__pthread_rwlock_rdlock): Likewise.
40158         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40159         (__pthread_rwlock_tryrdlock): Likewise.
40160         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40161         (__pthread_rwlock_wrlock): Likewise.
40162         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40163         (__pthread_rwlock_trywrlock): Likewise.
40164         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40165         (__pthread_rwlock_unlock): Likewise.
40166         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40167         (__pthread_key_create): Likewise.
40168         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40169         (__pthread_setspecific): Likewise.
40170         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40171         (__pthread_getspecific): Likewise.
40172         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
40173         Likewise.
40174         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40175         (_pthread_cleanup_push_defer): Likewise.
40176         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40177         (_pthread_cleanup_pop_restore): Likewise.
40178         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
40179         (pthread_setcancelstate): Likewise.
40180         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
40181         <bp-sym.h>.
40182         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
40183         (memchr): Do not use BP_SYM in weak_alias.
40184         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
40185         (fegetenv): Do not use BP_SYM in versioned symbols.
40186         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
40187         (fesetenv): Do not use BP_SYM in versioned symbols.
40188         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40189         (feupdateenv): Do not use BP_SYM in versioned symbols.
40190         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40191         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40192         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
40193         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
40194         (open64): Do not use BP_SYM in weak_alias.
40195         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
40196         (fegetenv): Do not use BP_SYM in versioned symbols.
40197         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
40198         (fesetenv): Do not use BP_SYM in versioned symbols.
40199         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
40200         (feupdateenv): Do not use BP_SYM in versioned symbols.
40201         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
40202         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
40203         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
40204         (feraiseexcept): Do not use BP_SYM in versioned symbols.
40205         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
40206         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
40207         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
40208         <bp-sym.h>.
40209         (__libc_start_main): Do not use BP_SYM.
40211 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40213         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
40214         redundant return line.
40215         (norm): Likewise.
40216         (denorm): Likewise.
40217         (dbl_mp): Likewise.
40218         (sub_magnitudes): Likewise.
40219         (__add): Likewise.
40220         (__sub): Likewise.
40221         (__mul): Likewise.
40222         (__inv): Likewise.
40223         (__dvd): Likewise.
40224         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
40225         (norm): Likewise.
40226         (denorm): Likewise.
40227         (dbl_mp): Likewise.
40228         (sub_magnitudes): Likewise.
40229         (__add): Likewise.
40230         (__sub): Likewise.
40231         (__mul): Likewise.
40232         (__inv): Likewise.
40233         (__dvd): Likewise.
40235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
40236         instead of __mul.
40237         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40238         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
40239         (cc32): Likewise.
40241         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
40242         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
40243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
40244         of __mul for squares.
40245         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
40246         function
40247         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
40248         Likewise.
40249         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
40250         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40252 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
40254         [BZ #13550]
40255         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40256         code.
40257         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40258         prototype or function definition.  Rename ubp_* variables and
40259         parameters.  Remove argv definitions conditional on
40260         [__BOUNDED_POINTERS__].
40261         * debug/backtrace.c (__backtrace): Do not use __unbounded.
40262         * elf/dl-runtime.c (_dl_fixup): Likewise.
40263         * include/set-hooks.h (RUN_HOOK): Likewise.
40264         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40265         definition.
40266         * string/strcpy.c (strcpy): Do not use __unbounded.
40267         * sysdeps/generic/frame.h (struct layout): Likewise.
40268         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40269         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40270         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40271         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40272         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40273         (__backtrace): Likewise.
40274         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40275         use __ptrvalue.
40276         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40277         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40278         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40279         Likewise.
40280         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40281         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40282         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40283         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40284         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40285         Do not use __unbounded.
40286         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40287         Rename __unboundedrlimits parameter to rlimits in prototype.
40288         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40289         Do not use __unbounded.
40290         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40291         not use __ptrvalue.
40292         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40293         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40294         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40295         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40296         __ptrvalue or __unbounded.
40297         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40298         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40299         use __unbounded.
40300         (__new_msgctl): Do not use __ptrvalue.
40301         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40302         __unbounded.
40303         (__libc_msgrcv): Do not use __ptrvalue.
40304         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40305         startup_info): Do not use __unbounded.
40306         (__libc_start_main): Likewise.  Rename ubp_* variables and
40307         parameters.  Remove argv definitions conditional on
40308         [__BOUNDED_POINTERS__].
40309         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40310         __ptrvalue.
40311         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40312         use __unbounded.
40313         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40314         or __ptrvalue.
40315         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40316         use __unbounded.
40317         (__new_shmctl): Do not use __ptrvalue.
40318         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40319         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40320         Likewise.
40321         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40322         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40323         (__libc_sigaction): Likewise.
40324         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40325         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40326         Likewise.
40327         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40329 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
40331         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40333         * string/mempcpy.c: Implement by calling memcpy.
40335 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40337         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40339         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40340         evaluation.
40342         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40343         values in the mantissa.
40345         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40346         minimize writes to Z.
40347         (sub_magnitudes): Simplify code a bit.
40349 2013-02-12  Roland McGrath  <roland@hack.frob.com>
40351         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40352         from the message.  The linker prefixes all warnings with that already.
40354 2013-02-12  Andreas Schwab  <schwab@suse.de>
40356         [BZ #15078]
40357         * posix/regexec.c (extend_buffers): Add parameter min_len.
40358         (check_matching): Pass minimum needed length.
40359         (clean_state_log_if_needed): Likewise.
40360         (get_subexp): Likewise.
40361         * posix/Makefile (tests): Add bug-regex34.
40362         (bug-regex34-ENV): Define.
40363         * posix/bug-regex34.c: New file.
40365         [BZ #11561]
40366         * posix/regcomp.c (parse_bracket_exp): When looking up collating
40367         elements compare against the byte sequence of it, not its name.
40368         * posix/Makefile (tests): Add bug-regex35.
40369         (bug-regex35-ENV): Define.
40370         * posix/bug-regex35.c: New file.
40372 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40374         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
40375         comment.
40376         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40377         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40378         (CHECK_EOL): Add undef.
40380 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
40382         * bits/stdlib-bsearch.h: New file.
40383         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40384         * stdlib/stdlib.h: Likewise.
40386 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40388         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40389         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40390         declaration.
40391         * manual/search.texi (Array Search Function): Add missing const in
40392         lfind prototype.
40393         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40394         declaration to use rlim_t.
40395         (Basic Scheduling Functions): Remove erroneous const from
40396         sched_getparam prototype.  Remove erroneous * from
40397         sched_get_priority_max and sched_get_priority_min prototypes.
40398         (Resource Usage): Fix summary @comment on vtimes to refer to
40399         sys/vtimes.h rather than vtimes.h.
40400         Add missing *s in vtimes prototype.
40401         (Limits on Resources): Fix ulimit prototype to return long int.
40402         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40403         prototypes to use long int rather than double.
40404         (BSD Random): Fix initstate and setstate to use char *, not void *.
40405         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40406         prototype to make second argument 'struct aiocb64 *const[]'.
40407         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40408         (Status of AIO Operations): Remove erroneous const in aio_return and
40409         aio_return64 prototypes.
40410         (Synchronizing I/O): Fix sync prototype to return void.
40411         * manual/startup.texi (Suboptions): Remove an erroneous const in
40412         getsubopt prototype.
40413         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40414         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40415         use size_t rather than int.
40416         (Scanning All Users): Likewise for getpwent_r.
40417         (Setting Groups): Add missing const to setgroups prototype.
40418         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40419         * manual/socket.texi (Host Names): Fix gethostbyaddr and
40420         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40421         'const void *' rather than 'const char *'.
40422         (Host Address Functions): Likewise for inet_ntop.
40423         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40424         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40425         ssize_t for return value.
40426         (Sending Data): Likewise for send, sendto, sendmsg.
40427         (Socket Option Functions): Add a missing const in setsockopt prototype.
40428         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40429         use wchar_t for the argument.
40430         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40431         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40432         take no arguments.
40433         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40434         double/float/long double for second argument.
40435         Fix return types of significand, significandf, significandl.
40436         * manual/filesys.texi (Setting Permissions): Use mode_t for second
40437         argument in fchmod prototype.
40438         (File Owner): Use uid_t and gid_t in fchown prototype.
40439         (File Times): Add const to utimes, futimes, and lutimes prototypes.
40440         (Making Special Files): Use mode_t and dev_t in mknod prototype.
40441         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40442         use 'const struct dirent **' as argument types to CMP function pointer
40443         argument.
40444         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40445         (File Times): Fix summary magic @comment for struct utimbuf and utime
40446         to refer to utime.h, not time.h.
40447         * manual/string.texi (Argz Functions): Add missing const in
40448         argz_extract and argz_next prototypes.
40449         (Finding Tokens in a String): Likewise for basename.
40450         (String/Array Comparison): Fix typo in wcscasecmp prototype.
40451         (Copying and Concatenation): Fix typo in wmemmove prototype.
40452         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40453         (Signal Stack): Remove erroneous const in sigstack prototype.
40454         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40455         prototype.
40456         (Simple Calendar Time): Likewise for stime.
40457         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40458         prototype.
40459         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40460         say sys/sysctl.h instead.
40461         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40462         and vsyslog prototypes.
40464 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40466         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40467         Remove.
40469 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40471         * misc/sys/mman.h: Fix typo in mremap comment.
40473 2013-02-08  Roland McGrath  <roland@hack.frob.com>
40475         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40476         the '\0' terminator.
40478 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
40480         [BZ #13550]
40481         * debug/segfault.c: Don't include <bp-checks.h>.
40482         * sysdeps/generic/bp-checks.h: Remove file.
40483         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40484         (__GETDENTS): Don't use CHECK_N.
40485         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40486         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40487         (__getgroups): Don't use CHECK_N.
40488         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40489         (setgroups): Don't use CHECK_N.
40490         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40491         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40492         (__libc_msgrcv): Don't use CHECK_N.
40493         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40494         (__libc_msgsnd): Don't use CHECK_N.
40495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40496         <bp-checks.h>.
40497         (__libc_pread): Don't use CHECK_N.
40498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40499         include <bp-checks.h>.
40500         (__libc_pread64): Don't use CHECK_N.
40501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40502         include <bp-checks.h>.
40503         (__libc_pwrite): Don't use CHECK_N.
40504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40505         include <bp-checks.h>.
40506         (__libc_pwrite64): Don't use CHECK_N.
40507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40508         <bp-checks.h>.
40509         (__libc_pread): Don't use CHECK_N.
40510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40511         include <bp-checks.h>.
40512         (__libc_pread64): Don't use CHECK_N.
40513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40514         include <bp-checks.h>.
40515         (__libc_pwrite): Don't use CHECK_N.
40516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40517         include <bp-checks.h>.
40518         (__libc_pwrite64): Don't use CHECK_N.
40519         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40520         (do_pread): Don't use CHECK_N.
40521         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40522         (do_pread64): Don't use CHECK_N.
40523         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40524         (do_pwrite): Don't use CHECK_N.
40525         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40526         (do_pwrite64): Don't use CHECK_N.
40527         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40528         (__libc_readv): Don't use CHECK_N.
40529         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40530         (semop): Don't use CHECK_N.
40531         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40532         <bp-checks.h>.
40533         (semtimedop): Don't use CHECK_N.
40534         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40535         (__libc_pread): Don't use CHECK_N.
40536         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40537         <bp-checks.h>.
40538         (__libc_pread64): Don't use CHECK_N.
40539         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40540         <bp-checks.h>.
40541         (__libc_pwrite): Don't use CHECK_N.
40542         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40543         <bp-checks.h>.
40544         (__libc_pwrite64): Don't use CHECK_N.
40545         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40546         <bp-checks.h>.
40547         (__libc_msgrcv): Don't use CHECK_N.
40548         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40549         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
40550         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40551         (__libc_writev): Don't use CHECK_N.
40553 2013-02-08  Roland McGrath  <roland@hack.frob.com>
40555         * string/strcpy.c: Removed unused variable.
40557         * Makeconfig (+sysdep-includes): Define with := rather than =.
40558         Use an existing include/ subdir of each sysdeps dir before it.
40560 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40562         * nscd/connection.c (register_traced_file): Comment function.
40563         [HAVE_INOTIFY] (union __inev): Define.
40564         [HAVE_INOTIFY] (inotify_check_files): New function.
40565         [HAVE_INOTIFY] (clear_db_cache): Likewise.
40566         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40567         clear_db_cache.
40568         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40570 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40572         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40573         loaded if not already and that a failure is permanent.
40575 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40577         [BZ #15006]
40578         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40579         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40581 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
40583         [BZ #13550]
40584         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40585         (CHECK_1_NULL_OK): Likewise.
40586         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40587         (__fxstat): Do not use CHECK_1.
40588         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40589         <bp-checks.h>.
40590         (___fxstat64): Do not use CHECK_1.
40591         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40592         <bp-checks.h>.
40593         (__fxstatat): Do not use CHECK_1.
40594         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40595         <bp-checks.h>.
40596         (__fxstatat64): Do not use CHECK_1.
40597         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40598         <bp-checks.h>.
40599         (__fxstat): Do not use CHECK_1.
40600         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40601         <bp-checks.h>.
40602         (__fxstatat): Do not use CHECK_1.
40603         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40604         <bp-checks.h>.
40605         (__getresgid): Do not use CHECK_1.
40606         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40607         <bp-checks.h>.
40608         (__getresuid): Do not use CHECK_1.
40609         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40610         <bp-checks.h>.
40611         (__lxstat): Do not use CHECK_1.
40612         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40613         <bp-checks.h>.
40614         (__old_msgctl): Do not use CHECK_1.
40615         (__new_msgctl): Likewise.
40616         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40617         <bp-checks.h>.
40618         (__new_setrlimit): Do not use CHECK_1.
40619         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40620         <bp-checks.h>.
40621         (__old_shmctl): Do not use CHECK_1.
40622         (__new_shmctl): Likewise.
40623         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40624         <bp-checks.h>.
40625         (__xstat): Do not use CHECK_1.
40626         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40627         (__lxstat): Do not use CHECK_1.
40628         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40629         <bp-checks.h>.
40630         (___lxstat64): Do not use CHECK_1.
40631         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40632         (__old_msgctl): Do not use CHECK_1.
40633         (__new_msgctl): Likewise.
40634         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40635         <bp-checks.h>.
40636         (__gettimeofday): Do not use CHECK_1.
40637         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40638         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40640         <bp-checks.h>.
40641         (__gettimeofday): Do not use CHECK_1.
40642         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40643         (__old_shmctl): Do not use CHECK_1_NULL_OK.
40644         (__new_shmctl): Do not use CHECK_1.
40645         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40646         <bp-checks.h>.
40647         (do_sigtimedwait): Do not use CHECK_1.
40648         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40649         <bp-checks.h>.
40650         (do_sigwaitinfo): Do not use CHECK_1.
40651         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40652         <bp-checks.h>.
40653         (msgctl): Do not use CHECK_1.
40654         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40655         <bp-checks.h>.
40656         (shmctl): Do not use CHECK_1.
40657         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40658         (ustat): Do not use CHECK_1.
40659         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40660         <bp-checks.h>.
40661         (__fxstat): Do not use CHECK_1.
40662         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40663         <bp-checks.h>.
40664         (__fxstatat): Do not use CHECK_1.
40665         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40666         <bp-checks.h>.
40667         (__lxstat): Do not use CHECK_1.
40668         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40669         <bp-checks.h>.
40670         (__xstat): Do not use CHECK_1.
40671         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40672         (__xstat): Do not use CHECK_1.
40673         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40674         (___xstat64): Do not use CHECK_1.
40676         [BZ #13550]
40677         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40678         definitions.
40679         (CHECK_BOUNDS_HIGH): Likewise.
40680         * string/strcpy.c: Do not include <bp-checks.h>.
40681         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40683 2013-02-07  Roland McGrath  <roland@hack.frob.com>
40685         * nscd/nscd-client.h (__nscd_drop_map_ref):
40686         Add __attribute__ ((unused)).
40687         * nis/nss-nisplus.h (niserr2nss): Likewise.
40689         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40690         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40692         * csu/libc-tls.c (init_static_tls, init_slotinfo):
40693         Remove inline keyword.
40694         * include/rounding-mode.h (round_away): Likewise.
40695         * libio/wfileops.c (adjust_wide_data): Likewise.
40696         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40697         (__m128i_strloadu_tolower): Likewise.
40698         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40699         (__m128i_strloadu_tolower): Likewise.
40700         * time/mktime.c (ydhms_diff): Likewise.
40701         * locale/elem-hash.h (elem_hash): Likewise.
40702         * locale/setlocale.c (setdata): Likewise.
40703         * posix/regex_internal.h (re_string_char_size_at): Likewise.
40704         (re_string_wchar_at): Likewise.
40705         (bitset_not, bitset_merge, bitset_mask): Likewise.
40706         [!(__GNUC__ > 3)] (inline): Remove macro.
40707         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40708         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40709         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40710         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40711         * string/memcmp.c (memcmp_bytes): Likewise.
40712         * locale/programs/locarchive.c (compute_hashval): Likewise.
40713         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40714         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40715         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40716         * nss/getent.c (print_rpc, print_protocols): Likewise.
40717         (print_passwd, print_group, print_aliases): Likewise.
40718         * nis/nss-nisplus.h (niserr2nss): Likewise.
40719         * nscd/connections.c (restart_p): Likewise.
40720         Change return type to bool.
40722 2013-02-05  Roland McGrath  <roland@hack.frob.com>
40724         * Makeconfig (all-Depend-files): Add existing
40725         $(sorted-subdirs:=/Depend) files.
40726         (all-subdirs): Remove nss.
40727         * sysdeps/unix/inet/Subdirs: Add it here instead.
40728         * hesiod/Depend: New file.
40730         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40731         instead of calling alloca.
40733         * io/lseek.c (__lseek): Rename to __libc_lseek.
40734         Define __lseek as an alias.
40736         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40738 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
40740         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40741         else clause and remove check for non-standard endianness.
40743 2013-02-04  David S. Miller  <davem@davemloft.net>
40745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40747 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
40749         [BZ #13550]
40750         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40751         (__ubp_memchr): Remove prototype.
40752         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40753         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40754         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40755         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40756         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40757         Remove alias.
40758         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40759         (__ubp_memchr): Likewise.
40760         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40761         (__ubp_memchr): Likewise.
40762         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40763         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40764         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40765         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40766         CHECK_STRING.
40767         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40768         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40769         (__getcwd): Do not use CHECK_STRING.
40770         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40771         <bp-checks.h>.
40772         (__real_chown): Do not use CHECK_STRING.
40773         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40774         <bp-checks.h>.
40775         (fchownat): Do not use CHECK_STRING.
40776         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40777         CHECK_STRING.
40778         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40779         <bp-checks.h>.
40780         (__lchown): Do not use CHECK_STRING.
40781         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40782         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40783         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40784         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40786         include <bp-checks.h>.
40787         (truncate64): Do not use CHECK_STRING.
40788         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40789         <bp-checks.h>.
40790         (__real_chown): Do not use CHECK_STRING.
40791         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40792         <bp-checks.h>.
40793         (__lchown): Do not use CHECK_STRING.
40794         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40795         <bp-checks.h>.
40796         (__chown): Do not use CHECK_STRING.
40797         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40798         <bp-checks.h>.
40799         (truncate64): Do not use CHECK_STRING.
40800         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40801         Likewise.
40802         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40803         (__xmknod): Do not use CHECK_STRING.
40804         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40805         <bp-checks.h>.
40806         (__xmknodat): Do not use CHECK_STRING.
40807         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40808         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40810 2013-02-04  Andreas Schwab  <schwab@suse.de>
40812         [BZ #14142]
40813         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40814         * include/netdb.h: Likewise for h_errno.
40815         * elf/tst-stackguard1.c: Include <tls.h>.
40817 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
40819         * elf/link.h (struct link_map): Extend the l_addr comment.
40820         * include/link.h (struct link_map): Likewise.
40822 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
40824         [BZ #13550]
40825         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40826         (BOUNDED_1): Remove macro.
40827         * debug/backtrace.c: Don't include <bp-checks.h>.
40828         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40829         (__backtrace): Likewise.
40830         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40831         <bp-checks.h>.
40832         (__backtrace): Don't use BOUNDED_1.
40833         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40834         <bp-checks.h>.
40835         (__backtrace): Don't use BOUNDED_1.
40836         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40837         (__backtrace): Don't use BOUNDED_1.
40838         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40839         (shmat): Don't use BOUNDED_N.
40841 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
40843         [BZ #13550]
40844         * sysdeps/generic/bp-start.h: Remove file.
40845         * csu/libc-start.c: Don't include <bp-start.h>.
40846         (LIBC_START_MAIN): Set up __environ directly instead of using
40847         INIT_ARGV_and_ENVIRON.
40848         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40849         <bp-start.h>.
40851         [BZ #13550]
40852         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40853         definitions.
40854         (CHECK_FCNTL): Likewise.
40855         (CHECK_N_PAGES): Likewise.
40857         [BZ #13550]
40858         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40859         definitions.
40860         (CHECK_SIGSET_NULL_OK): Likewise.
40861         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40862         <bp-checks.h>.
40863         (sigpending): Don't use CHECK_SIGSET.
40864         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40865         <bp-checks.h>.
40866         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40867         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40868         <bp-checks.h>.
40869         (do_sigsuspend): Don't use CHECK_SIGSET.
40870         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40871         use CHECK_SIGSET.
40872         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40873         (do_sigwait): Don't use CHECK_SIGSET.
40874         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40875         use CHECK_SIGSET.
40876         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40877         include <bp-checks.h>.
40878         (sigpending): Don't use CHECK_SIGSET.
40879         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40880         include <bp-checks.h>.
40881         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40882         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40883         <bp-checks.h>.
40884         (sigpending): Don't use CHECK_SIGSET.
40885         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40886         <bp-checks.h>.
40887         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40889         [BZ #13550]
40890         * sysdeps/generic/bp-semctl.h: Remove file.
40891         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40892         <bp-checks.h> and <bp-semctl.h>.
40893         (__old_semctl): Don't use CHECK_SEMCTL.
40894         (__new_semctl): Likewise.
40895         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40896         and <bp-semctl.h>.
40897         (__old_semctl): Don't use CHECK_SEMCTL.
40898         (__new_semctl): Likewise.
40899         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40900         <bp-checks.h> and <bp-semctl.h>.
40901         (__old_semctl): Don't use CHECK_SEMCTL.
40902         (__new_semctl): Likewise.
40903         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40904         <bp-checks.h> and <bp-semctl.h>.
40905         (semctl): Don't use CHECK_SEMCTL.
40907         [BZ #13550]
40908         * Makerules (elide-bp-thunks): Remove variable.
40909         (elide-routines.oS): Don't use $(elide-bp-thunks).
40910         (elide-routines.os): Likewise.
40911         (elide-routines.o): Likewise.
40912         (elide-routines.op): Likewise.
40913         (elide-routines.og): Likewise.
40914         (objects): Don't use $(bp-thunks).
40915         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40916         include.
40917         (common-generated): Do not add s-proto-bp.d.
40918         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40919         (int): Likewise.
40920         (typ): Likewise.
40921         Do not generate makefile rules for bounded-pointer thunks.
40922         * sysdeps/generic/bp-thunks.h: Remove file.
40923         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40924         * sysdeps/unix/s-proto-bp.S: Likewise.
40926         [BZ #15062]
40927         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40928         parts of result separately when argument is not close to line from
40929         -i to i and one part of argument is small.
40930         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40931         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40932         * math/libm-test.inc (cacos_test): Add more tests.
40933         (casin_test): Likewise.
40934         (casinh_test): Likewise.
40935         * sysdeps/i386/fpu/libm-test-ulps: Update.
40936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40938 2013-01-31  David S. Miller  <davem@davemloft.net>
40940         * po/de.po: Update from translation team.
40942 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
40944         * time/tzfile.c: Include stdint.h for SIZE_MAX.
40946 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
40948         * configure.in (_AC_PROG_CC_C89): New definition.
40949         * configure: Regenerate.
40951         * configure.in (AC_PROG_CPP): New definition.
40952         * configure: Regenerate.
40954 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40956         * debug/tst-backtrace.h: New file.
40957         * debug/tst-backtrace2.c: Include tst-backtrace.h.
40958         (ret): Remove variable.
40959         (x): Likewise.
40960         (FAIL): Remove macro.
40961         (NO_INLINE): Likewise.
40962         (fn1): Use match function instead of strstr.
40963         * debug/tst-backtrace3.c: Include tst-backtrace.h.
40964         (ret): Remove variable.
40965         (x): Likewise.
40966         (FAIL): Remove macro.
40967         (NO_INLINE): Likewise.
40968         (fn): Use match function instead of strstr.
40969         * debug/tst-backtrace4.c: Include tst-backtrace.h.
40970         (ret): Remove variable.
40971         (x): Likewise.
40972         (FAIL): Remove macro.
40973         (NO_INLINE): Likewise.
40974         (handle_signal): Use match function instead of strstr.
40975         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40976         (ret): Remove variable.
40977         (x): Likewise.
40978         (FAIL): Remove macro.
40979         (NO_INLINE): Likewise.
40980         (handle_signal): Use match function instead of strstr.
40982 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40984         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40986 2013-01-23  David S. Miller  <davem@davemloft.net>
40988         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40989         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40990         argument of CAS if possible.
40991         * sysdeps/sparc/sparc64/bits/atomic.h
40992         (__arch_compare_and_exchange_val_32_acq): Likewise.
40993         (__arch_compare_and_exchange_val_64_acq): Likewise.
40995 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40997         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40998         * sysdeps/posix/ulimit.c: ... this.
40999         Include <limits.h>.
41000         * sysdeps/unix/bsd/ulimit.c: Remove file.
41002 2013-01-23  Adam Conrad  <adconrad@0c3.net>
41004         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
41005         (LDFLAGS-tst-array5): Likewise.
41007 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
41009         [BZ #15036]
41010         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
41011         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
41012         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
41013         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
41015 2013-01-21  David S. Miller  <davem@davemloft.net>
41017         * sysdeps/sparc/backtrace.c: New file.
41018         * sysdeps/sparc/sparc32/backtrace.h: New file.
41019         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
41020         * sysdeps/sparc/sparc64/backtrace.h: New file.
41021         * sysdeps/sparc/sparc64/backtrace.c: Delete.
41022         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
41023         -funwind-tables.
41025 2013-01-21  Andreas Schwab  <schwab@suse.de>
41027         [BZ #15020]
41028         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
41029         closed its stdout.
41031 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
41033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
41034         "mpa2.h".
41035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41037 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
41038             Mark Mitchell  <mark@codesourcery.com>
41039             Tom de Vries  <tom@codesourcery.com>
41040             Paul Pluzhnikov  <ppluzhnikov@google.com>
41042         * debug/tst-backtrace2.c: New file.
41043         * debug/tst-backtrace3.c: Likewise.
41044         * debug/tst-backtrace4.c: Likewise.
41045         * debug/tst-backtrace5.c: Likewise.
41046         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
41047         (CFLAGS-tst-backtrace3.c): Likewise.
41048         (CFLAGS-tst-backtrace4.c): Likewise.
41049         (CFLAGS-tst-backtrace5.c): Likewise.
41050         (LDFLAGS-tst-backtrace2): Likewise.
41051         (LDFLAGS-tst-backtrace3): Likewise.
41052         (LDFLAGS-tst-backtrace4): Likewise.
41053         (LDFLAGS-tst-backtrace5): Likewise.
41054         (tests): Add new tests tst-backtrace2, tst-backtrace3,
41055         tst-backtrace4 and tst-backtrace5.
41057 2013-01-18  Anton Blanchard  <anton@samba.org>
41058             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41060         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
41061         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
41062         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
41063         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
41064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41065         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
41066         "+r" and remove output regs list as redundant.  Add explicit inline
41067         asm to specify register of return val to work around compiler codegen
41068         bug.  Remove (int) cast on return value.  Add return type parameter to
41069         use in macro so that this macro does not truncate return value for
41070         64-bit values.
41071         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
41072         pass to INTERNAL_VSYSCALL_NCS.
41073         (INLINE_VSYSCALL): Add 'long int' as return type to
41074         INTERNAL_VSYSCALL_NCS macro invocation.
41075         (INTERNAL_VSYSCALL): Add 'long int' as return type to
41076         INTERNAL_VSYSCALL_NCS macro invocation.
41077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41079 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41081         [BZ #14496]
41082         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
41083         Fix application of SIMD FP exception mask.
41085         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
41086         mp_no from a power of two.
41087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
41088         __mpexp_twomm1.  Use __pow_mp.
41090         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
41091         multiplication.
41093 2013-01-17  David S. Miller  <davem@davemloft.net>
41095         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41097 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
41099         [BZ #15023]
41100         * include/complex.h: Condition contents on [!_COMPLEX_H].
41101         (__kernel_casinhf): New prototype.
41102         (__kernel_casinh): Likewise.
41103         (__kernel_casinhl): Likewise.
41104         * math/Makefile (libm_calls): Add k_casinh.
41105         * math/k_casinh.c: New file.
41106         * math/k_casinhf.c: Likewise.
41107         * math/k_casinhl.c: Likewise.
41108         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
41109         finite nonzero arguments.
41110         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
41111         finite nonzero arguments.
41112         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
41113         finite nonzero arguments.
41114         * math/s_casinh.c: Do not include <float.h>.
41115         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
41116         * math/s_casinhf.c: Do not include <float.h>.
41117         (__casinhf): Move code for finite nonzero arguments to
41118         k_casinhf.c.
41119         * math/s_casinhl.c: Do not include <float.h>.
41120         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
41121         redefine.
41122         (__casinhl): Move code for finite nonzero arguments to
41123         k_casinhl.c.
41124         * math/libm-test.inc (cacos_test): Add more tests.
41125         * sysdeps/i386/fpu/libm-test-ulps: Update.
41126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41128 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
41130         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
41131         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
41132         [!HAVE_MREMAP]: Remove [defined linux] case.
41133         * malloc/arena.c: Do not include <malloc-sysdep.h>.
41135 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41137         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
41139 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
41141         * elf/elf.h (R_386_SIZE32): New relocation.
41142         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
41143         R_386_SIZE32.
41144         (elf_machine_rela): Likewise.
41145         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41146         R_X86_64_SIZE64 and R_X86_64_SIZE32.
41148 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
41150         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
41151         (FP_FAST_FMA): Do not define.
41152         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
41153         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
41154         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
41155         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
41156         !_SOFT_FLOAT]: Likewise.
41157         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
41158         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
41159         value.
41160         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
41161         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
41162         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
41163         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
41164         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
41165         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
41166         file.
41168 2013-01-16  Andreas Schwab  <schwab@suse.de>
41170         [BZ #14327]
41171         * include/stdlib.h (__mktemp): Add declaration.
41172         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
41173         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
41175 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41177         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
41178         definitions.
41179         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41180         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
41181         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
41182         definitions here.
41183         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
41184         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
41185         definitions.
41186         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
41187         and ONE.
41188         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
41189         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
41190         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
41191         definitions.
41192         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
41193         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
41194         definitions.
41195         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41197         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
41199 2013-01-15  David S. Miller  <davem@davemloft.net>
41201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41202         trunc{,f} to libm-sysdep_routes.
41203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
41205         file.
41206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
41207         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
41208         file.
41209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
41210         file.
41211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
41212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
41213         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
41214         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
41215         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
41216         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
41217         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
41218         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
41220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41221         nearbyint{,f} to libm-sysdep_routes.
41222         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
41224         New file.
41225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
41226         file.
41227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
41228         New file.
41229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
41230         file.
41231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
41232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
41233         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
41234         file.
41235         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
41236         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
41237         file.
41238         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
41239         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
41240         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
41242         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
41243         libc_feholdexcept and libc_fesetenv.
41245 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
41247         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
41249 2013-01-14  David S. Miller  <davem@davemloft.net>
41251         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41252         (SPARC_ASM_VIS2_IFUNC): Likewise.
41253         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41255         use of 'siam' instruction.
41256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41257         Likewise.
41258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41259         Likewise.
41260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41261         Likewise.
41262         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41263         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41264         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41265         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41267         file.
41268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41269         file.
41270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41271         file.
41272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41273         file.
41274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41276         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41277         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41279         new VIS2 routines.
41280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41283         Likewise.
41284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41285         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41287         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41289         routines to libm-sysdep_routines.
41290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41293         fdim/fdimf to libm-sysdep_routines.
41294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41295         file.
41296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41298         file.
41299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41302         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41303         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41304         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41305         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41307 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41309         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41310         to optimize copies.
41312         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41317         local variable MPTWO.
41318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41319         Likewise.
41321 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41323         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41324         GLOB_NOESCAPE.
41326 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41328         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41330 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41332         * manual/pattern.texi (glob_t): Document gl_flags.
41333         (glob64_t): Likewise.
41335 2013-01-11  David S. Miller  <davem@davemloft.net>
41337         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41338         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41339         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
41340         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41341         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41342         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41343         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41344         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41345         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41346         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41347         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41348         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41349         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41351         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41352         sparc V9 rather than using V8 code.
41353         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41354         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41356         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41357         Move to...
41358         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41359         Here.
41361 2013-01-11  Roland McGrath  <roland@hack.frob.com>
41363         [BZ #14941]
41364         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41365         not in the main loop.
41366         * configure: Regenerated.
41368 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
41370         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41371         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41372         to just #else.
41373         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
41374         [!__GLIBC_HAVE_LONG_LONG] case.
41375         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41376         condition to just #else.
41377         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41378         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41379         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41380         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41381         unconditional.
41382         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41383         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41384         #elif condition to just #else.
41385         * sysdeps/unix/sysv/linux/sys/sysmacros.h
41386         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41387         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41388         #elif condition to just #else.
41390 2013-01-11  Steve Ellcey  <sellcey@mips.com>
41392         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41393         (EF_MIPS_ARCH_64): Fix value.
41394         (EF_MIPS_ARCH_32R2): New.
41395         (EF_MIPS_ARCH_64R2): New.
41397 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
41399         * Makeconfig (+link-pie-before-libc): New.
41400         (+link-pie-after-libc): Likewise.
41401         (+link-pie-tests): Likewise.
41402         (+link-pie): Rewritten.
41403         (link-before-libc): Remove $(config-LDFLAGS).
41404         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41405         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41406         (config-LDFLAGS): Renamed to ...
41407         (rtld-LDFLAGS): This.
41408         (rtld-tests-LDFLAGS): New macro.
41409         (link-libc-rpath-link): Likewise.
41410         (link-libc-tests-rpath-link): Likewise.
41411         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41412         (link-libc): Prepand $(link-libc-rpath-link).
41413         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41414         (test-program-prefix): New macro.
41415         (test-via-rtld-prefix): Likewise.
41416         (test-program-cmd): Likewise.
41417         (host-test-program-cmd): Likewise.
41418         * Makefile ($(common-objpfx)testrun.sh): Replace
41419         $(run-program-prefix) with $(test-program-prefix).
41420         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41421         $(rtld-LDFLAGS).
41422         ($(common-objpfx)shlib.lds): Likewise.
41423         (build-module-helper): Likewise.
41424         ($(common-objpfx)format.lds): Likewise.
41425         * Rules (binaries-pie-tests): New.
41426         (binaries-pie-notests): Likewise.
41427         (binaries-pie): Rewritten.
41428         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41429         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41430         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41431         (make-test-out): Replace $(host-built-program-cmd) with
41432         $(host-test-program-cmd).
41433         * config.make.in (build-hardcoded-path-in-tests): New variable.
41434         * configure.in (--enable-hardcoded-path-in-tests): New configure
41435         option.
41436         (hardcoded_path_in_tests): New AC_SUBST.
41437         * configure: Regenerated.
41438         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41439         $(built-program-cmd) with $(test-program-cmd).
41440         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41441         (test_program_cmd): This.
41442         * elf/Makefile ($(objpfx)order.out): Run test with
41443         $(test-program-prefix).
41444         ($(objpfx)order2.out): Likewise.
41445         ($(objpfx)tst-initorder.out): Likewise.
41446         ($(objpfx)tst-initorder2.out): Likewise.
41447         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41448         $(test-program-cmd).
41449         ($(objpfx)tst-array1-static.out): Likewise.
41450         ($(objpfx)tst-array2.out): Likewise.
41451         ($(objpfx)tst-array3.out): Likewise.
41452         ($(objpfx)tst-array4.out): Likewise.
41453         ($(objpfx)tst-array5.out): Likewise.
41454         ($(objpfx)tst-array5-static.out): Likewise.
41455         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41456         $(test-program-cmd).
41457         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41458         $(run-program-prefix) with $(test-program-prefix).
41459         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41460         (test_program_prefix): This.
41461         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41462         $(run-program-prefix) with $(test-program-prefix).
41463         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41464         (test_program_prefix): This.
41465         * iconvdata/tst-tables.sh: Likewise.
41466         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41467         $(run-program-prefix) with $(test-program-prefix).
41468         ($(objpfx)tst-translit.out): Likewise.
41469         ($(objpfx)tst-gettext2.out): Likewise.
41470         ($(objpfx)tst-gettext4.out): Likewise.
41471         ($(objpfx)tst-gettext6.out): Likewise.
41472         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41473         (test_program_prefix): This.
41474         * intl/tst-gettext2.sh: Likewise.
41475         * intl/tst-gettext4.sh  Likewise.
41476         * intl/tst-gettext6.sh: Likewise.
41477         * intl/tst-translit.sh: Likewise.
41478         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41479         with $(test-program-cmd).
41480         * libio/Makefile ($(objpfx)test-freopen.out): Replace
41481         $(run-program-prefix) with $(test-program-prefix).
41482         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41483         (test_program_prefix): This.
41484         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41485         $(run-program-prefix) with $(test-program-prefix).
41486         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41487         (test_program_prefix): This.
41488         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41489         * posix/Makefile ($(objpfx)globtest.out): Replace
41490         $(run-via-rtld-prefix) and $(test-wrapper) with
41491         $(test-program-prefix) and $(test-via-rtld-prefix).
41492         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41493         $(test-program-prefix).
41494         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41495         $(host-test-program-cmd).
41496         (tst-spawn-ARGS): Likewise.
41497         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41498         $(test-program-prefix).
41499         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41500         (test_via_rtld_prefix): This.
41501         (test_wrapper): Renamed to ...
41502         (test_program_prefix): This.
41503         (run_program_prefix): Replaced by test_program_prefix.
41504         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41505         (test_program_prefix): This.
41506         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41507         with $(host-test-program-cmd).
41508         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41509         $(run-program-prefix) with $(test-program-prefix).
41510         ($(objpfx)tst-printf.out): Likewise.
41511         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41512         $(test-program-cmd).
41513         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41514         (test_program_prefix): This.
41515         * stdio-common/tst-unbputc.sh: Likewise.
41516         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41517         $(run-program-prefix) with $(test-program-prefix).
41518         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41519         (test_program_prefix): This.
41520         * string/Makefile ($(objpfx)tst-svc.out):  Replace
41521         $(built-program-cmd) with $(test-program-cmd).
41523 2013-01-11  Andreas Jaeger  <aj@suse.de>
41525         [BZ #15003]
41526         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41527         value. Sync with Linux 3.7.
41529 2013-01-10  David S. Miller  <davem@davemloft.net>
41531         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41532         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41533         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41535 2013-01-10  Roland McGrath  <roland@hack.frob.com>
41537         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41538         never set.
41539         * configure: Regenerated.
41541 2013-01-10  David S. Miller  <davem@davemloft.net>
41543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41544         sparc V9 rather than using V8 code.
41545         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41546         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41548 2013-01-10  Roland McGrath  <roland@hack.frob.com>
41550         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41551         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41552         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41553         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41554         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41555         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41556         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41557         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41558         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41559         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41560         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41561         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41562         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41563         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41564         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41565         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41566         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41567         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41568         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41569         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41570         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41571         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41572         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41573         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41574         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41575         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41576         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41578 2013-01-10  David S. Miller  <davem@davemloft.net>
41580         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41582 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
41584         * posix/Makefile (tests-static): New variable.
41585         (tests): Add $(tests-static).
41586         (tst-exec-static-ARGS): New variable.
41587         (tst-spawn-static-ARGS): Likewise.
41588         * posix/tst-exec-static.c: New file.
41589         * posix/tst-spawn-static.c: Likewise.
41590         * posix/tst-exec.c: Support run directly.
41591         * posix/tst-spawn.c: Likewise.
41593 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
41595         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41596         long.
41597         * math/bits/mathcalls.h (llrint): Likewise.
41598         (llround): Likewise.
41599         * stdlib/stdlib.h (struct drand48_data): Likewise.
41600         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41601         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41602         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41603         Likewise.
41604         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41605         Likewise.
41606         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41607         (elf_greg_t): Likewise.
41608         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41609         (__jmp_buf): Likewise.
41610         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41611         definitions.
41612         (llrint): Likewise, for all definitions.
41613         (llrintl): Likewise.
41615         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41616         Remove [__GNUC__] condition.
41617         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41618         condition to just [__USE_ISOC99].
41619         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41621 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
41623         [BZ #14200]
41624         * sysdeps/unix/sysv/linux/x86/bits/environments.h
41625         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41626         defined.
41627         (_POSIX_V6_ILP32_OFF32): Likewise.
41628         (_XBS5_ILP32_OFF32): Likewise.
41629         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41630         (__ILP32_OFFBIG_LDFLAGS): Likewise.
41632 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41634         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41636         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41637         doubles __mpexp_twomm1.  Adjust usage.
41638         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41639         Remove.
41641 2013-01-10  Andreas Schwab  <schwab@suse.de>
41643         [BZ #14964]
41644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41645         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41647 2013-01-09  David S. Miller  <davem@davemloft.net>
41649         [BZ #15003]
41650         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41651         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41652         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41653         (TCP_FASTOPEN): Define.
41654         (tcp_repair_opt): New structure.
41655         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41656         enum values.
41657         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41658         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41659         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41660         (tcp_cookie_transactions): New structure.
41662 2013-01-09  Anton Blanchard  <anton@samba.org>
41664         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41665         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41666         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41667         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41669 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
41671         * include/features.h (__USE_ANSI): Remove.
41673 2013-01-09  Roland McGrath  <roland@hack.frob.com>
41675         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41677         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41679 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41681         * sysdeps/s390/fpu/libm-test-ulps: Update.
41683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41685         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41686         (__acr): Likewise.
41687         (__cpy): Likewise.
41688         (norm): Likewise.
41689         (denorm): Likewise.
41690         (__mp_dbl): Likewise.
41691         (__dbl_mp): Likewise.
41692         (add_magnitudes): Likewise.
41693         (sub_magnitudes): Likewise.
41694         (__add): Likewise.
41695         (__sub): Likewise.
41696         (__mul): Likewise.
41697         (__inv): Likewise.
41698         (__dvd): Likewise.
41699         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41700         (__acr): Likewise.
41701         (__cpy): Likewise.
41702         (norm): Likewise.
41703         (denorm): Likewise.
41704         (__mp_dbl): Likewise.
41705         (__dbl_mp): Likewise.
41706         (add_magnitudes): Likewise.
41707         (sub_magnitudes): Likewise.
41708         (__add): Likewise.
41709         (__sub): Likewise.
41710         (__mul): Likewise.
41711         (__inv): Likewise.
41712         (__dvd): Likewise.
41713         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41714         (__acr): Likewise.
41715         (__cpy): Likewise.
41716         (norm): Likewise.
41717         (denorm): Likewise.
41718         (__mp_dbl): Likewise.
41719         (__dbl_mp): Likewise.
41720         (add_magnitudes): Likewise.
41721         (sub_magnitudes): Likewise.
41722         (__add): Likewise.
41723         (__sub): Likewise.
41724         (__mul): Likewise.
41725         (__inv): Likewise.
41726         (__dvd): Likewise.
41728 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
41730         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41731         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41732         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41733         2 && __USE_EXTERN_INLINES]: Likewise.
41735 2013-01-08  Andreas Jaeger  <aj@suse.de>
41737         [BZ# 14985]
41738         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41739         Remove.
41740         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41741         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41743 2013-01-07  Anton Blanchard  <anton@samba.org>
41745         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41746         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41747         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41748         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41749         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41750         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41751         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41752         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41753         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41754         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41755         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41756         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41757         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41758         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41759         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41760         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41761         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41762         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41763         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41764         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41765         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41766         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41767         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41768         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41769         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41770         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41771         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41772         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41774         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41775         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41776         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41777         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41778         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41779         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41780         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41782         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41783         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41785         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41786         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41787         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41789 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
41791         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41792         (__MALLOC_PMT): Likewise.
41793         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41794         [__GNUC__], only on [_LIBC].
41795         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41796         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41797         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41798         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41799         forward declaration.
41800         (realloc_hook_ini): Likewise.
41801         (memalign_hook_ini): Likewise.
41802         (__libc_memalign): Do not use __MALLOC_PMT in variable
41803         declaration.
41804         (__libc_valloc): Likewise.
41805         (__libc_pvalloc): Likewise.
41806         (__libc_calloc): Likewise.
41807         (__posix_memalign): Likewise.
41809         [BZ #14996]
41810         * math/s_casinh.c: Include <float.h>.
41811         (__casinh): Do not do computation with squaring and square root
41812         for large arguments.
41813         * math/s_casinhf.c: Include <float.h>.
41814         (__casinhf): Do not do computation with squaring and square root
41815         for large arguments.
41816         * math/s_casinhl.c: Include <float.h>.
41817         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41818         (__casinhl): Do not do computation with squaring and square root
41819         for large arguments.
41820         * math/libm-test.inc (casin_test): Add more tests.
41821         (casinh_test): Likewise.
41822         * sysdeps/i386/fpu/libm-test-ulps: Update.
41823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41825 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
41827         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41828         (__x86_64_raw_data_cache_size): Likewise.
41829         (__x86_64_data_cache_size_half): Likewise.
41830         (__x86_64_raw_data_cache_size_half): Likewise.
41831         (__x86_64_shared_cache_size): Likewise.
41832         (__x86_64_raw_shared_cache_size): Likewise.
41833         (__x86_64_shared_cache_size_half): Likewise.
41834         (__x86_64_raw_shared_cache_size_half): Likewise.
41835         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41836         to ...
41837         (__x86_data_cache_size): This.
41838         (__x86_64_raw_data_cache_size): Renamed to ...
41839         (__x86_raw_data_cache_size): This.
41840         (__x86_64_data_cache_size_half): Renamed to ...
41841         (__x86_data_cache_size_half): This.
41842         (__x86_64_raw_data_cache_size_half): Renamed to ...
41843         (__x86_raw_data_cache_size_half): This.
41844         (__x86_64_shared_cache_size): Renamed to ...
41845         (__x86_shared_cache_size): This.
41846         (__x86_64_raw_shared_cache_size): Renamed to ...
41847         (__x86_raw_shared_cache_size): This.
41848         (__x86_64_shared_cache_size_half): Renamed to ...
41849         (__x86_shared_cache_size_half): This.
41850         (__x86_64_raw_shared_cache_size_half): Renamed to ...
41851         (__x86_raw_shared_cache_size_half): This.
41852         * sysdeps/x86_64/memcpy.S: Updated.
41853         * sysdeps/x86_64/memset.S: Likewise.
41854         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41855         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41858 2013-01-04  David S. Miller  <davem@davemloft.net>
41860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41862 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
41864         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41865         1 to avoid redefinition warning.
41866         (__USE_GNU): Don't define.
41867         (init_signaling_nan): Protoize.
41869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41871 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41873         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41875         (__cpymn): Likewise.
41876         (norm): Remove commented code.
41877         (denorm): Likewise.
41878         (__mp_dbl): Likewise.
41879         (__inv): Likewise.
41880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41881         (__cpymn): Likewise.
41882         (norm): Remove commented code.
41883         (denorm): Likewise.
41884         (__mp_dbl): Likewise.
41885         (__inv): Likewise.
41887         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41888         mp_no value for 1.0 and 2.0.
41889         (norm): Use RADIXI instead of radixi.d.
41890         (denorm): Likewise.
41891         (__mul): Use 0.0 instead of zero.d.
41892         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41893         mp_no value for 1.0 and 2.0.
41894         (norm): Use RADIXI instead of radixi.d.
41895         (denorm): Likewise.
41896         (__mul): Use 0.0 instead of zero.d.
41898 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
41900         [BZ #14994]
41901         * math/s_casinh.c (__casinh): Reduce finite argument to first
41902         quadrant then set signs of results at the end.
41903         * math/s_casinhf.c (__casinhf): Likewise.
41904         * math/s_casinhl.c (__casinhl): Likewise.
41905         * math/libm-test.inc (casin_test): Add more tests.
41906         (casinh_test): Likewise.
41907         * sysdeps/i386/fpu/libm-test-ulps: Update.
41908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41910 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41912         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41914         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41916         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41917         declarations.
41918         (denorm): Likewise.
41919         (__mp_dbl): Likewise.
41920         (__inv): Likewise.
41922         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41923         and adjust the header comment.
41925         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41926         variable name from declaration.
41928 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
41930         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41931         Initialize COMMON_CPUID_INDEX_7 element.
41932         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41933         (CPUID_RTM): Likewise.
41934         (HAS_RTM): Likewise.
41935         (COMMON_CPUID_INDEX_7): New enum.
41937 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
41939         [BZ #14981]
41940         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41941         size is zero, record memory as freed.
41943 2013-01-03  Andreas Jaeger  <aj@suse.de>
41945         * po/ia.po: Add new Interlingua translation.
41947 2012-01-03  Allan McRae  <allan@archlinux.org>
41949         * locale/programs/localedef.c: Fix description of '--posix' flag.
41951 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
41953         * NEWS: Update dates in second copyright notice.
41954         * README: Update copyright dates in example.
41955         * manual/libc.texinfo: Update copyright dates.
41956         * scripts/test-installation.pl: Update copyright date in --version
41957         output.
41959         * hurd/ctty-input.c: Fix copyright notice formatting.
41960         * hurd/ctty-output.c: Likewise.
41961         * hurd/dtable.c: Likewise.
41962         * hurd/hurd-raise.c: Likewise.
41963         * hurd/hurdprio.c: Likewise.
41964         * hurd/msgportdemux.c: Likewise.
41965         * misc/sys/file.h: Likewise.
41966         * misc/sys/ioctl.h: Likewise.
41967         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41968         * sysdeps/mach/hurd/chdir.c: Likewise.
41969         * sysdeps/mach/hurd/fchdir.c: Likewise.
41970         * sysdeps/mach/hurd/rename.c: Likewise.
41971         * sysdeps/mach/hurd/rmdir.c: Likewise.
41972         * sysdeps/mach/hurd/seekdir.c: Likewise.
41973         * sysdeps/mach/hurd/setsid.c: Likewise.
41974         * sysdeps/posix/wait3.c: Likewise.
41976         * All files with FSF copyright notices: Update copyright dates
41977         using scripts/update-copyrights.
41978         * intl/plural.c: Regenerated.
41979         * locale/programs/charmap-kw.h: Likewise.
41980         * locale/programs/locfile-kw.h: Likewise.
41982 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41985         four values.
41987         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41988         calculation loop and add branch prediction.
41990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41991         check access beyond bounds of m1np.
41993         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41994         MPTWO.
41995         (__inv): Remove local variable MPTWO to use the global
41996         constant.
41997         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41998         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41999         variable MPTWO.
42000         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
42001         MP3HALFS static const.
42003 2013-01-01  David S. Miller  <davem@davemloft.net>
42005         * po/ca.po: Update from translation team.
42007 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
42009         * scripts/update-copyrights: New file.
42010         * Makeconfig: Reformat copyright notice.
42011         * ctype/ctype.h: Likewise.
42012         * debug/swprintf_chk.c: Likewise.
42013         * elf/dl-cache.c: Likewise.
42014         * elf/dl-debug.c: Likewise.
42015         * elf/dl-object.c: Likewise.
42016         * grp/initgroups.c: Likewise.
42017         * hurd/Makefile: Likewise.
42018         * hurd/hurd/signal.h: Likewise.
42019         * hurd/hurdfault.c: Likewise.
42020         * hurd/hurdioctl.c: Likewise.
42021         * hurd/hurdlookup.c: Likewise.
42022         * hurd/intr-msg.c: Likewise.
42023         * iconv/gconv_open.c: Likewise.
42024         * libio/swprintf.c: Likewise.
42025         * locale/lc-ctype.c: Likewise.
42026         * locale/nl_langinfo.c: Likewise.
42027         * mach/Machrules: Likewise.
42028         * mach/Makefile: Likewise.
42029         * malloc/obstack.h: Likewise.
42030         * manual/Makefile: Likewise.
42031         * manual/tsort.awk: Likewise.
42032         * misc/bits/stab.def: Likewise.
42033         * nis/nis_print_group_entry.c: Likewise.
42034         * nis/nis_table.c: Likewise.
42035         * nis/nss_compat/compat-pwd.c: Likewise.
42036         * nis/nss_compat/compat-spwd.c: Likewise.
42037         * po/Makefile: Likewise.
42038         * posix/fnmatch.c: Likewise.
42039         * posix/regex.h: Likewise.
42040         * resolv/Makefile: Likewise.
42041         * resolv/nss_dns/dns-network.c: Likewise.
42042         * resolv/res_hconf.c: Likewise.
42043         * scripts/gen-sorted.awk: Likewise.
42044         * soft-fp/soft-fp.h: Likewise.
42045         * stdio-common/printf.h: Likewise.
42046         * stdlib/monetary.h: Likewise.
42047         * stdlib/random.c: Likewise.
42048         * stdlib/random_r.c: Likewise.
42049         * sysdeps/generic/Makefile: Likewise.
42050         * sysdeps/gnu/Makefile: Likewise.
42051         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42053         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42056         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42058         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
42059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42061         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42062         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42063         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42064         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42065         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
42066         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42067         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42068         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42069         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42070         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42071         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42072         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42073         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42074         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42075         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
42076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
42077         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42078         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
42079         * sysdeps/mach/hurd/errnos.awk: Likewise.
42080         * sysdeps/mach/hurd/fork.c: Likewise.
42081         * sysdeps/mach/hurd/getcwd.c: Likewise.
42082         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
42083         * sysdeps/mach/hurd/mmap.c: Likewise.
42084         * sysdeps/mach/hurd/utimes.c: Likewise.
42085         * sysdeps/mach/hurd/xmknod.c: Likewise.
42086         * sysdeps/posix/profil.c: Likewise.
42087         * sysdeps/posix/readdir_r.c: Likewise.
42088         * sysdeps/powerpc/bits/mathdef.h: Likewise.
42089         * sysdeps/powerpc/bits/setjmp.h: Likewise.
42090         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
42091         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
42092         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42093         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
42094         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
42095         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42097         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
42098         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
42099         * sysdeps/pthread/lio_listio.c: Likewise.
42100         * sysdeps/sparc/dl-procinfo.h: Likewise.
42101         * sysdeps/unix/i386/sysdep.S: Likewise.
42102         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
42103         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
42104         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
42105         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42107         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
42108         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
42109         * sysdeps/unix/sysv/linux/speed.c: Likewise.
42110         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
42111         * sysdeps/wordsize-32/divdi3.c: Likewise.
42112         * time/sys/time.h: Likewise.
42113         * wcsmbs/Makefile: Likewise.
42115 2013-01-01  David S. Miller  <davem@davemloft.net>
42117         * po/fr.po: Update from translation team.
42119         * catgets/gencat.c: Update copyright year.
42120         * csu/version.c: Likewise.
42121         * debug/catchsegv.sh: Likewise.
42122         * debug/pcprofiledump.c: Likewise.
42123         * debug/xtrace.sh: Likewise.
42124         * elf/ldconfig.c: Likewise.
42125         * elf/ldd.bash.in: Likewise.
42126         * elf/pldd.c: Likewise.
42127         * elf/sotruss.ksh: Likewise.
42128         * elf/sprof.c: Likewise.
42129         * iconv/iconv_prog.c: Likewise.
42130         * iconv/iconvconfig.c: Likewise.
42131         * locale/programs/locale.c: Likewise.
42132         * locale/programs/localedef.c: Likewise.
42133         * login/programs/pt_chown.c: Likewise.
42134         * malloc/memusage.sh: Likewise.
42135         * malloc/memusagestat.c: Likewise.
42136         * malloc/mtrace.pl: Likewise.
42137         * nscd/nscd.c: Likewise.
42138         * nss/getent.c: Likewise.
42139         * nss/makedb.c: Likewise.
42140         * posix/getconf.c: Likewise.
42142 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42144         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
42145         numbers.
42147 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
42149         * math/bits/mathcalls.h (modf): Use __nonnull.
42151 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42153         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
42154         (split): Use macro CN instead of the bare value.
42155         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
42156         could be used.
42157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
42158         instead of the bare value.
42159         (power1): Likewise.
42161 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42163         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
42164         __ATAN_TWOM.
42165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42167         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
42168         their values.
42169         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42170         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
42171         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
42172         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42174 2012-12-28  Andreas Jaeger  <aj@suse.de>
42176         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
42177         values are from Linux 3.7.
42179         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
42180         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
42182 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42184         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
42185         TRUE case.
42187         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
42188         (norm): Likewise.
42189         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
42190         variables with preprocessor constants.
42191         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42192         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42193         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42195 2012-12-27  Bruno Haible  <bruno@clisp.org>
42197         [BZ #14317]
42198         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
42199         only if needed.
42201 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42203         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
42204         and use variable directly.
42205         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
42207         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
42208         MPONE.
42209         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
42210         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
42211         variable MPONE.
42212         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
42213         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
42214         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
42215         include directive.  Remove local variable MPONE.
42216         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
42217         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
42218         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42220 2012-12-25  David S. Miller  <davem@davemloft.net>
42222         * version.h (RELEASE): Set to "development".
42223         (VERSION): Set to "2.17.90".
42224         * NEWS: Add 2.18 section.
42226 2012-12-21  David S. Miller  <davem@davemloft.net>
42228         * po/hr.po: Update from translation team.
42230 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42232         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
42234 2012-12-19  Steve Ellcey  <sellcey@mips.com>
42236         * NEWS:  Mention new memcpy for MIPS.
42238 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42240         * manual/contrib.texi (Contributors): Spelling correction.
42242 2012-12-15  David S. Miller  <davem@davemloft.net>
42244         * po/ru.po: Update from translation team.
42246 2012-12-13  David S. Miller  <davem@davemloft.net>
42248         * NEWS: Mention IFUNC testsuite enhancements.
42250         * po/pl.po: Update from translation team.
42251         * po/bg.po: Likewise.
42253         * manual/contrib.texi (Contributors): Update entries for Hongjiu
42254         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
42256 2012-12-11  David S. Miller  <davem@davemloft.net>
42258         * po/sv.po: Update from translation team.
42260         * po/vi.po: Update from translation team.
42262         * po/cs.po: Update from translation team.
42264         * po/de.po: Update from translation team.
42265         * po/eo.po: Likewise.
42266         * po/nl.po: Likewise.
42268 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42270         [BZ #14246]
42271         * manual/argp.texi (Argp Helper Functions): Move node to follow
42272         Argp Parsing State.
42274         [BZ #14872]
42275         * manual/conf.texi (Limits on File System Capacity): Mention if
42276         terminating null is included in the max size.
42278 2012-12-10  Andreas Jaeger  <aj@suse.de>
42280         * po/cs.po: Update from translation team.
42282 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42284         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42285         void pointer and cast to uintptr_t.
42286         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42287         path.
42288         * sysdeps/s390/s390-64/memcpy.S: Likewise.
42289         * sysdeps/s390/s390-64/memset.S: Likewise.
42291 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
42293         [BZ #14833]
42294         * menual/message.texi (Message Translation): Fix typos.
42295         (Helper programs for gettext): Likewise.
42297 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
42299         [BZ #14898]
42300         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42301         Change to -1.
42303 2012-12-07  David S. Miller  <davem@davemloft.net>
42305         * po/libc.pot: Update.
42307 2012-12-07  Richard Henderson  <rth@redhat.com>
42309         [BZ #10114]
42310         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42311         normal/normal case to before the switch.
42312         (_FP_DIV): Likewise.
42314 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
42315             Mike Frysinger  <vapier@gentoo.org>
42317         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42318         check for __NR_fadvise64_64.
42320 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
42322         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42323         0, not just to plain "0" as a statement.
42324         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42325         with cw.
42327 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
42329         * NEWS: Use sourceware.org in Bugzilla URL.
42331 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42334         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42336         * stdio-common/tst-put-error.c (do_test): Add newline to the
42337         padded test to ensure flush.
42339 2012-12-05  Jeff Law  <law@redhat.com>
42341         * sunrpc/etc.rpc (fedfs_admin): Add entry.
42343 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
42345         * README: Don't refer to ports add-on as distributed separately.
42346         Mention AArch64 in list of systems supported in the ports add-on.
42348         * LICENSES: Add more non-FSF copyright and license notices.
42350         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42351         ((unused)).
42353         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42355         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42356         10000 as width of padded output.
42358 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42360         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42362         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42363         variable LX with __attribute__ ((unused)).
42364         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42365         Likewise.
42366         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42367         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42368         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42369         with __attribute__ ((unused)).
42371 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
42373         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42375 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42377         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42378         (CFLAGS-nldbl-acos.c): New variable.
42379         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42380         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42381         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42382         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42383         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42384         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42385         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42386         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42387         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42388         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42389         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42390         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42391         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42392         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42393         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42394         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42395         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42396         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42397         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42398         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42399         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42400         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42401         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42402         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42403         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42404         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42405         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42406         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42407         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42408         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42409         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42410         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42411         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42412         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42413         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42414         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42415         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42416         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42417         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42418         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42419         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42420         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42421         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42422         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42423         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42424         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42425         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42426         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42427         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42428         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42429         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42430         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42431         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42432         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42433         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42434         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42435         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42436         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42437         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42438         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42439         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42440         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42441         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42442         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42443         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42444         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42445         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42446         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42447         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42448         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42449         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42450         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42451         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42452         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42453         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42454         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42455         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42456         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42457         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42458         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42459         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42460         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42461         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42462         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42463         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42464         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42465         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42466         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42467         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42468         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42469         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42470         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42471         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42472         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42473         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42474         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42475         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42478         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42480         [BZ #14914]
42481         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42482         whole low double instead of just low 47 bits when splitting values
42483         into two parts.
42485 2012-12-03  Allan McRae  <allan@archlinux.org>
42487         * manual/stdio.texi (Predefined Printf Handlers): Remove
42488         @hsep and @vsep usage.
42490 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
42492         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42493         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42495 2012-12-03  Jeff Law  <law@redhat.com>
42497         * time/sys/time.h (settimeofday): Do not mark TV argument
42498         as __nonnull.
42500 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
42502         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42503         when currently writing and seek to current position when not.
42504         * libio/Makefile (tests): Remove bug-fclose1.
42505         * libio/bug-fclose1.c: Delete.
42507 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
42509         * manual/arith.texi (feenableexcept): Fix typo.
42510         (fedisableexcept): Likewise.
42512 2012-11-30  Roland McGrath  <roland@hack.frob.com>
42514         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42515         second, differently-typed declaration, rather than a cast.
42517 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42519         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42520         * include/rpc/svc.h: ... here.
42522 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
42524         [BZ #13013]
42525         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42526         depending n and resplen2 to catch cases where answer
42527         equals answerp2.
42529 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
42531         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42532         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42534 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
42536         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42538 2012-11-29  Roland McGrath  <roland@hack.frob.com>
42540         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42542 2012-11-28  Jeff Law  <law@redhat.com>
42544         [BZ #13761]
42545         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42546         dataset_temporary.  Track alloca usage into alloca_used.
42547         If dataset is large allocate and release it via malloc/free.
42549 2012-06-04  Florian Weimer  <fweimer@redhat.com>
42551         [BZ #14197]
42552         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42554 2012-11-28  David S. Miller  <davem@davemloft.net>
42556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42558 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
42560         [BZ #14803]
42561         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42562         of pi/2 rounded to nearest to 64 bits.
42563         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42564         nearest to 64 bits.
42565         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42566         bits.
42568 2012-11-28  Jeff Law <law@redhat.com>
42569             Martin Osvald <mosvald@redhat.com>
42571         [BZ #14889]
42572         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42573         * sunrpc/svc.c: Include time.h.
42574         (__svc_accept_failed): New function.
42575         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42576         any reason other than EINTR, call __svc_accept_failed.
42577         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42578         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42580 2012-11-28  Andreas Schwab  <schwab@suse.de>
42582         * scripts/abilist.awk: Also handle indirect functions in .opd
42583         section.
42585 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
42587         [BZ #13881]
42588         * sysdeps/x86/fpu/powl_helper.c: New file.
42589         * sysdeps/x86/fpu/Makefile: Likewise.
42590         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42591         (p3): New object.
42592         (__ieee754_powl): Use __powl_helper for finite arguments except
42593         integer exponents below 8.
42594         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42595         (p3): New object.
42596         (__ieee754_powl): Use __powl_helper for finite arguments except
42597         integer exponents below 8.
42598         * math/libm-test.inc (pow_test): Add more tests and enable some
42599         previously disabled tests.
42600         * sysdeps/i386/fpu/libm-test-ulps: Update.
42601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42603 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42604             Carlos O'Donell  <carlos_odonell@mentor.com>
42606         * nss/makedb.c (is_prime): Assert that input is odd and greater
42607         than 4.  Note that fact in a comment too.
42608         (next_prime): Add 4 to input.
42610 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42612         [BZ #11741]
42613         * libio/Makefile (tests): Add test case tst-fwrite-error.
42614         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42615         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42616         * libio/tst-fwrite-error.c: New test case.
42618 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
42620         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42621         before casting to void *.
42622         * include/libc-internal.h (__pointer_type): New macro.
42623         (__integer_if_pointer_type_sub): Likewise.
42624         (__integer_if_pointer_type): Likewise.
42625         (cast_to_integer): Likewise.
42626         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42627         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42628         before casting to atomic64_t.
42629         (atomic_exchange_acq): Likewise.
42630         (__arch_exchange_and_add_body): Likewise.
42631         (__arch_add_body): Likewise.
42632         (atomic_add_negative): Likewise.
42633         (atomic_add_zero): Likewise.
42635 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
42637         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42638         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42639         (add_fdes): Likewise.
42640         (linear_search_fdes): Likewise.
42641         (binary_search_unencoded_fdes): Likewise.
42643 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
42645         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42647 2012-11-24  Adam Conrad  <adconrad@0c3.net>
42649         * configure.in: Autodetect C++ header directories.
42650         * configure: Regenerated.
42652 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
42654         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42656 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
42658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42660 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
42662         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42663         LDBL_MANT_DIG == 106]: Disable some tests.
42664         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42665         Likewise.
42666         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42667         Likewise.
42669         [BZ #14871]
42670         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42671         input for small inputs.  Return +/- pi/2 for large inputs.
42672         * math/libm-test.inc (atan_test): Add more tests.
42674         * sysdeps/generic/unwind-dw2-fde-glibc.c
42675         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42676         __attribute__ ((unused)).
42678         [BZ #14645]
42679         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42680         x * y if x and y are nonzero and z is zero.
42682         [BZ #14811]
42683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42684         nonzero exponents with absolute value below 0x1p-117 to +/-
42685         0x1p-117.
42687         [BZ #14869]
42688         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42689         up arguments below 2**-450, not just those below 2**-500.
42690         * math/libm-test.inc (hypot_test): Add another test.
42692         [BZ #14868]
42693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42694         Return a+b for ratio over 2**120, not 2**60.
42695         * math/libm-test.inc (hypot_test): Add another test.
42697         * math/libm-test.inc (clog_test): Use
42698         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42699         (clog10_test): Likewise.
42701         [BZ #6778]
42702         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42704 2012-11-22  Andreas Schwab  <schwab@suse.de>
42706         * sysdeps/i386/fpu/libm-test-ulps: Update.
42708 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
42710         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42711         printf output with newline.
42713 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
42715         [BZ #14865]
42716         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42717         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42718         -z nodlopen, -z initfirst and -z execstack support.
42719         * configure: Regenerated.
42721         * elf/elf.h (DF_1_NODIRECT): New macro.
42722         (DF_1_IGNMULDEF): Likewise.
42723         (DF_1_NOKSYMS): Likewise.
42724         (DF_1_NOHDR): Likewise.
42725         (DF_1_EDITED): Likewise.
42726         (DF_1_NORELOC): Likewise.
42727         (DF_1_SYMINTPOSE): Likewise.
42728         (DF_1_GLOBAUDIT): Likewise.
42729         (DF_1_SINGLETON): Likewise.
42730         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42731         DT_1_SUPPORTED_MASK bits.
42732         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42734 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
42736         * sysdeps/unix/make-syscalls.sh: Document prefixes.
42738 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
42740         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42741         macro.
42743         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42744         (sendmmsg): Move declarations...
42745         * socket/sys/socket.h: ... here.
42746         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42747         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42748         include it from...
42749         * socket/recvmmsg.c: ... this new file.
42750         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42751         (sendmmsg): Rename to __sendmmsg, create weak alias and make
42752         definition of __sendmmsg hidden.
42753         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42754         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42755         Move ENOSYS stub into and include it from...
42756         * socket/sendmmsg.c: ... this new file.
42757         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42758         (sysdep_routines): Move recvmmsg and sendmmsg...
42759         * socket/Makefile (routines): ... here.
42760         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42761         (GLIBC_PRIVATE): Add __sendmmsg.
42762         * include/sys/socket.h (__sendmmsg): Add declarations.
42763         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42764         sendmmsg.
42766 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
42768         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42769         variable I1 with __attribute__ ((unused)).
42770         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42772 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
42774         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42775         DUMMY variables with __attribute__ ((unused)).
42777         * bits/byteswap.h: Include <bits/types.h>.
42778         (__bswap_64): Use __uint64_t instead of unsigned long long int.
42780 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42782         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42783         string_t.  Do not manually set errno.
42784         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42785         length with __strnlen.  Make sure to both set errno and return it on
42786         failure.
42788 2012-11-19  David S. Miller  <davem@davemloft.net>
42790         With help from Joseph Myers.
42791         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42792         very large arguments properly.
42793         * math/libm-test.inc (atan_test): New tests.
42794         (atan2_test): New tests.
42795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42796         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42798 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
42800         [BZ #14856]
42801         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42802         Define to 3.
42804         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42805         [POSIX] (EADDRNOTAVAIL): Likewise.
42806         [POSIX] (EAFNOSUPPORT): Likewise.
42807         [POSIX] (EALREADY): Likewise.
42808         [POSIX] (ECONNABORTED): Likewise.
42809         [POSIX] (ECONNREFUSED): Likewise.
42810         [POSIX] (ECONNRESET): Likewise.
42811         [POSIX] (EDESTADDRREQ): Likewise.
42812         [POSIX] (EDQUOT): Likewise.
42813         [POSIX] (EHOSTUNREACH): Likewise.
42814         [POSIX] (EIDRM): Likewise.
42815         [POSIX] (EISCONN): Likewise.
42816         [POSIX] (ELOOP): Likewise.
42817         [POSIX] (EMULTIHOP): Likewise.
42818         [POSIX] (ENETDOWN): Likewise.
42819         [POSIX] (ENETUNREACH): Likewise.
42820         [POSIX] (ENOBUFS): Likewise.
42821         [POSIX] (ENODATA): Likewise.
42822         [POSIX] (ENOLINK): Likewise.
42823         [POSIX] (ENOMSG): Likewise.
42824         [POSIX] (ENOPROTOOPT): Likewise.
42825         [POSIX] (ENOSR): Likewise.
42826         [POSIX] (ENOSTR): Likewise.
42827         [POSIX] (ENOTCONN): Likewise.
42828         [POSIX] (ENOTSOCK): Likewise.
42829         [POSIX] (EOPNOTSUPP): Likewise.
42830         [POSIX] (EOVERFLOW): Likewise.
42831         [POSIX] (EPROTO): Likewise.
42832         [POSIX] (EPROTONOSUPPORT): Likewise.
42833         [POSIX] (EPROTOTYPE): Likewise.
42834         [POSIX] (ESTALE): Likewise.
42835         [POSIX] (ETIME): Likewise.
42836         [POSIX] (ETXTBSY): Likewise.
42837         [POSIX] (EWOULDBLOCK): Likewise.
42838         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42839         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42840         [POSIX] (SEEK_CUR): Likewise.
42841         [POSIX] (SEEK_END): Likewise.
42842         [POSIX || UNIX98] (mode_t): Do not require.
42843         [POSIX] (off_t): Likewise.
42844         [POSIX] (pid_t): Likewise.
42845         [POSIX] (sys/stat.h): Do not allow header.
42846         [POSIX] (unistd.h): Likewise.
42847         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42848         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42849         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42850         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42851         require.
42852         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42853         sigevent): Specify elements.
42854         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42855         entry.
42856         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42857         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42859         * conform/data/cpio.h-data [POSIX]: Disable whole file.
42860         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42861         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42862         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42863         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42864         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42865         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42866         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42867         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42868         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42869         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42870         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42871         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42872         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42873         Likewise.
42874         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42875         Likewise.
42876         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42877         Likewise.
42878         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42879         Likewise.
42880         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42881         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42882         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42883         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42884         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42885         Specify lower bound on value.
42886         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42887         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42888         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42889         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42890         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42891         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42892         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42893         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42894         value.
42895         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42896         as optional.
42897         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42898         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42899         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42900         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42901         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42902         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42903         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42904         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42905         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42906         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42907         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42908         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42909         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42910         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42911         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42912         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42913         entry.
42914         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42915         optional.
42916         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42917         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42918         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42919         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42920         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42921         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42922         Likewise.
42923         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42924         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42925         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42926         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42927         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
42928         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42929         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42930         as optional.
42931         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42932         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42933         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42934         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42935         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42936         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42937         specify as optional.
42938         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42939         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42940         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42941         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42942         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42943         [XPG3] (NL_LANGMAX): Likewise.
42944         [POSIX || XPG3] (NL_MSGMAX): Likewise.
42945         [POSIX || XPG3] (NL_NMAX): Likewise.
42946         [POSIX || XPG3] (NL_SETMAX): Likewise.
42947         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42948         [XPG3] (NZERO): Likewise.
42949         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42950         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42951         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42952         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42953         (REG_ERANGE): Expect.
42954         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42955         optional-constant.
42956         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42957         Use (void) in prototype.
42958         [POSIX] (*_t): Allow.
42959         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42960         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42961         (WRDE_BADVAL): Expect.
42963         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42964         expect.
42965         [XPG3 || XPG4] (O_RSYNC): Likewise.
42966         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42967         Likewise.
42968         [XPG3 || XPG4] (pthread_sigmask): Likewise.
42969         [XPG3 || XPG4] (sigqueue): Likewise.
42970         [XPG3 || XPG4] (sigtimedwait): Likewise.
42971         [XPG3 || XPG4] (sigwaitinfo): Likewise.
42972         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42973         [XPG3 || XPG4] (vsnprintf): Likewise.
42974         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42975         Likewise.
42976         [XPG3 || XPG4] (blksize_t): Likewise.
42977         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42978         Likewise.
42979         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42980         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42981         [XPG3 || XPG4] (struct itimerspec): Likewise.
42982         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42983         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42984         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42985         [XPG3 || XPG4] (clockid_t): Likewise.
42986         [XPG3 || XPG4] (timer_t): Likewise.
42987         [XPG3 || XPG4] (clock_getres): Likewise.
42988         [XPG3 || XPG4] (clock_gettime): Likewise.
42989         [XPG3 || XPG4] (clock_settime): Likewise.
42990         [XPG3 || XPG4] (nanosleep): Likewise.
42991         [XPG3 || XPG4] (timer_create): Likewise.
42992         [XPG3 || XPG4] (timer_delete): Likewise.
42993         [XPG3 || XPG4] (timer_gettime): Likewise.
42994         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42995         [XPG3 || XPG4] (timer_settime): Likewise.
42996         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42997         [XPG3 || XPG4] (getlogin_r): Likewise.
42998         [XPG3 || XPG4] (pread): Likewise.
42999         [XPG3 || XPG4] (pthread_atfork): Likewise.
43000         [XPG3 || XPG4] (pwrite): Likewise.
43002         [BZ #14835]
43003         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
43004         <bits/siginfo.h>.
43006 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
43008         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
43009         finalizing MALLSTREAM.
43011         * sysdeps/mach/hurd/syncfs.c: New file.
43013 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43015         [BZ #14719]
43016         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
43017         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
43018         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
43019         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
43020         (_nss_dns_gethostbyname4_r): Likewise.
43021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
43022         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
43024 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
43026         [BZ #13763]
43027         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
43029 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
43031         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
43032         * elf/cache.c (print_entry): Print ",AArch64" for
43033         FLAG_AARCH64_LIB64
43035         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
43036         * elf/cache.c (print_entry): Print ",hard-float" for
43037         FLAG_ARM_LIBHF.
43039 2012-11-18  David S. Miller  <davem@davemloft.net>
43041         With help from Joseph Myers.
43042         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
43043         cutoff to 2**-13.
43044         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
43045         cutoff to 2**-25.
43046         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
43047         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
43048         small.
43049         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
43050         * math/libm-test.inc (y0_test): New tests.
43051         (y1_test): New tests.
43052         * sysdeps/i386/fpu/libm-test-ulps: Update.
43053         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43056 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
43058         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
43059         64-bit targets.
43060         * configure: Regenerated.
43062 2012-11-17  David S. Miller  <davem@davemloft.net>
43064         [BZ #14811]
43065         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
43066         nonzero exponents with absolute value below 0x1p-128 to +/-
43067         0x1p-128.
43069 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
43071         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
43073         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
43075         * posix/getconf-speclist.c: New file.
43076         * posix/posix-envs.def: Likewise.
43077         * posix/confstr.c (START_ENV_GROUP): New macro.
43078         (END_ENV_GROUP): Likewise.
43079         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43080         (KNOWN_PRESENT_ENV_STRING): Likewise.
43081         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43082         (UNKNOWN_ENVIRONMENT): Likewise.
43083         (confstr): Include posix-envs.def instead of handling
43084         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
43085         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
43086         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
43087         (END_ENV_GROUP): Likewise.
43088         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
43089         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
43090         (UNKNOWN_ENVIRONMENT): Likewise.
43091         (__sysconf): Include posix-envs.def instead of handling associated
43092         cases directly here.
43093         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
43094         preprocessing getconf-speclist.c rather than running getconf or
43095         generating empty file.
43097 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
43099         * scripts/check-local-headers.sh: Ignore 'mach' headers.
43101 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
43103         [BZ #14672]
43104         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
43106 2012-11-16  David S. Miller  <davem@davemloft.net>
43108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
43109         smaller than LDBL_EPSILON/2.0L, just return xm1.
43111 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
43113         * elf/tst-array1.c (init): Set constructor priority to 1000.
43114         (fini): Set destructor priority to 1000.
43115         * elf/tst-array2dep.c: Likewise.
43117 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43119         [BZ #11741]
43120         * libio/fileops.c (_IO_new_file_write): Correctly return error.
43121         (_IO_new_file_xsputn): Also return EOF if none of the input
43122         data was written when overflow failed.
43123         * libio/iopadn.c (_IO_padn): Likewise.
43124         * libio/iowpadn.c (_IO_wpadn): Likewise.
43125         * stdio-common/tst-put-error.c: Add copyright notice.
43126         (do_test): Add case for printing padded string.
43127         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
43128         _IO_padn returned error.
43129         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
43130         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
43131         return EOF.
43133 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43135         * libio/libioP.h: Add comment note that the references to C++
43136         bits are now obsolete.
43138 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43140         * math/libm-test.inc (check_complex): Use asprintf.
43142 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
43144         * debug/pcprofiledump.c (print_version): Update copyright year.
43145         * malloc/memusagestat.c (print_version): Likewise.
43147 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
43149         [BZ #14831]
43150         * elf/Makefile (tests): Add tst-audit8.
43151         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
43152         ($(objpfx)tst-audit8.out): New target.
43153         (tst-audit8-ENV): New variable.
43154         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
43155         audit if l_reloc_result is NULL.
43156         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
43157         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
43158         * elf/tst-audit8.c: New file.
43160 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43162         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
43163         * misc/Makefile (CFLAGS-select.c): Define.
43164         * posix/Makefile (CFLAGS-pause.c): Define.
43166 2012-11-13  David S. Miller  <davem@davemloft.net>
43168         * crypt/Makefile: Move test targets after toplevel Rules
43169         inclusion.  Grab any necessary sysdep routines when linking.
43170         * crypt/md5.c (md5_process_block): Remove define, we will always
43171         name it __md5_process_block.
43172         (md5_finish_ctx): Update md5_process_block call.
43173         (md5_stream): Likewise.
43174         (md5_process_bytes): Likewise.
43175         (md5_process_block): Rename to __md5_process_block and move to ...
43176         * crypt/md5-block.c: ... here.
43177         * crypt/sha256.c (sha256_process_block): Move to ...
43178         * crypt/sha256-block.c: ... here.
43179         * crypt/sha512.c (sha512_process_block): Move to ...
43180         * crypt/sha512-block.c: ... here.
43181         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
43182         path.
43183         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
43184         * sysdeps/sparc/sparc64/multiarch/Makefile
43185         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
43186         crypt subdir.
43187         (localedef-aux): Add md5 crypto assembler when in locale subdir.
43188         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
43189         multiarch changes.
43190         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
43191         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
43192         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
43193         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
43194         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
43195         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
43196         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
43197         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
43198         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
43199         file.
43200         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
43201         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
43202         file.
43203         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
43205 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
43207         * timezone/tzselect.ksh: Update from tzcode git revision
43208         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
43209         * timezone/zdump.c: Likewise.
43210         * timezone/zic.c: Likewise.
43211         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
43212         in TZVERSION setting, not $(PKGVERSION).
43213         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
43214         REPORT_BUGS_TO settings.
43216         [BZ #14838]
43217         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
43218         macro.
43220 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43222         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
43223         detection to immediately after _FP_ROUND().
43224         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
43225         bits are 0.
43227 2012-11-11  David S. Miller  <davem@davemloft.net>
43229         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
43230         inttypes.h
43231         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
43232         __close rather than their public counterparts.
43234 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
43236         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
43237         file.
43238         [UNIX98] (sem_timedwait): Do not expect.
43239         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
43240         [XPG4 || UNIX98] (sockatmark): Do not expect.
43241         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
43242         (clock_getcpuclockid): Do not expect.
43243         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
43244         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
43245         Do not expect.
43246         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
43247         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
43248         [UNIX98] (vwscanf): Likewise.
43249         [UNIX98] (vswscanf): Likewise.
43251 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
43253         * timezone/version.h: Remove file.
43254         * timezone/README: Do not refer to version.h.
43255         * timezone/Makefile ($(objpfx)zic.o): New dependency on
43256         $(objpfx)version.h.
43257         ($(objpfx)zdump.o): Likewise.
43258         ($(objpfx)version.h): New target.
43260         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43261         2012i.
43262         * timezone/README: Don't mention modification to tzselect.ksh.
43263         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43264         work on unmodified tzselect.ksh.  Substitute version numbers in
43265         tzselect.ksh.
43267         * Makefile (format-me): Remove.
43268         (INSTALL): Adjust indentation.  Use commands directly instead of
43269         using $(format-me).
43271         * aclocal.m4 (ACX_PKGVERSION): New macro.
43272         (ACX_BUGURL): Likewise.
43273         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43274         (PKGVERSION): New AC_DEFINE_UNQUOTED.
43275         (REPORT_BUGS_TO): Likewise.
43276         * configure: Regenerated.
43277         * config.h.in (PKGVERSION): New macro.
43278         (REPORT_BUGS_TO): Likewise.
43279         * config.make.in (PKGVERSION): New variable.
43280         (PKGVERSION_TEXI): Likewise.
43281         (REPORT_BUGS_TO): Likewise.
43282         (REPORT_BUGS_TEXI): Likewise.
43283         * Makefile (format-me): Use -I$(common-objpfx)manual.
43284         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43285         ($(common-objpfx)manual/%): New target.
43286         (manual/%): Remove target.
43287         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43288         (print_version): Use PKGVERSION.
43289         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43290         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43291         and REPORT_BUGS_TO.
43292         ($(objpfx)xtrace): Likewise.
43293         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43294         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43295         (print_version): Use PKGVERSION.
43296         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43297         (do_version): Use PKGVERSION.
43298         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43299         REPORT_BUGS_TO.
43300         (common-ldd-rewrite): Likewise.
43301         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43302         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43303         (print_version): Use PKGVERSION.
43304         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43305         * elf/pldd.c (argp_program_bug_address): Remove variable.
43306         (more_help): New function.
43307         (argp): Use more_help.
43308         (print_version): Use PKGVERSION.
43309         * elf/sln.c (main): Use PKGVERSION.
43310         (usage): Use REPORT_BUGS_TO.
43311         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43312         (top level): Use PKGVERSION.
43313         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43314         (print_version): Use PKGVERSION.
43315         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43316         (print_version): Use PKGVERSION.
43317         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43318         (print_version): Use PKGVERSION.
43319         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43320         (print_version): Use PKGVERSION.
43321         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43322         (print_version): Use PKGVERSION.
43323         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43324         (print_version): Use PKGVERSION.
43325         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43326         and BUGURL.
43327         ($(objpfx)memusage): Likewise.
43328         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43329         (do_version): Use PKGVERSION.
43330         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43331         (print_version): Use PKGVERSION.
43332         * malloc/mtrace.pl ($PACKAGE): Remove variable.
43333         ($PKGVERSION): New variable.
43334         ($REPORT_BUGS_TO): Likewise.
43335         (usage): Use $REPORT_BUGS_TO.
43336         (top level): Use $PKGVERSION.
43337         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43338         ($(objpfx)pkgvers.texi): New rule.
43339         ($(objpfx)stamp-pkgvers): Likewise.
43340         * manual/install.texi: Include pkgvers.texi.
43341         (--with-pkgversion): Document new configure option.
43342         (--with-bugurl): Likewise.
43343         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43344         than necessarily for this particular distribution.  Use
43345         REPORT_BUGS_TO for where to report bugs.
43346         * INSTALL: Regenerated.
43347         * manual/libc.texinfo: Include pkgvers.texi.
43348         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43349         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43350         (print_version): Use PKGVERSION.
43351         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43352         (print_version): Use PKGVERSION.
43353         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43354         (print_version): Use PKGVERSION.
43355         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43356         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43357         macro.
43358         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43359         (print_version): Use PKGVERSION.
43360         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43361         (print_version): Use PKGVERSION.
43362         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43363         and PKGVERSION.
43365         * timezone/checktab.awk: Update from tzcode 2012i.
43366         * timezone/ialloc.c: Likewise.
43367         * timezone/private.h: Likewise.
43368         * timezone/scheck.c: Likewise.
43369         * timezone/tzfile.h: Likewise.
43370         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43371         (TZVERSION): Hardcode tzcode version number.
43372         * timezone/zdump.c: Update from tzcode 2012i.
43373         * timezone/zic.c: Likewise.
43374         * timezone/version.h: New file.
43375         * timezone/README: Describe version.h.  Update upstream location.
43377         [BZ #14824]
43378         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43379         (mktemp): Enable declaration.
43380         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43381         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43382         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43383         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43384         Likewise.
43385         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43386         Likewise.
43387         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43388         Likewise.
43389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43390         Likewise.
43391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43392         Likewise.
43393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43394         Likewise.
43396         [BZ #14821]
43397         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43398         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
43399         for copies of such integer values.
43400         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43401         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43403 2012-11-09  Andreas Jaeger  <aj@suse.de>
43405         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43406         definitions and declarations that are provided by
43407         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43409 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43411         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43412         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43413         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43414         definition.
43416 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43418         * elf/elf.h: Update comment before AArch64 relocations.
43420 2012-11-07  David S. Miller  <davem@davemloft.net>
43422         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43423         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43424         (__start_context): Declare.
43425         (__makecontext_ret): Delete.
43426         (__makecontext): Hook up __start_context instead of
43427         __makecontext_ret.
43428         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43429         (sysdep_routines): Add __start_context when in stdlib.
43431 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43433         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43434         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43435         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
43436         hardcoded "nm".
43437         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
43438         (READELF): New variable.  Use it instead of hardcoded "readelf".
43440 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43442         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43443         * sysdeps/x86/Makefile: Here.
43444         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43445         * sysdeps/x86/tst-xmmymm.sh: This.
43447 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43449         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43450         expectations.
43451         [UNIX98] (pthread_barrier_t): Do not expect.
43452         [UNIX98] (pthread_barrierattr_t): Likewise.
43453         [UNIX98] (pthread_spinlock_t): Likewise.
43454         [UNIX98] (pthread_barrier_destroy): Likewise.
43455         [UNIX98] (pthread_barrier_init): Likewise.
43456         [UNIX98] (pthread_barrier_wait): Likewise.
43457         [UNIX98] (pthread_barrierattr_destroy): Likewise.
43458         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43459         [UNIX98] (pthread_barrierattr_init): Likewise.
43460         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43461         [UNIX98] (pthread_getcpuclockid): Likewise.
43462         [UNIX98] (pthread_mutex_timedlock): Likewise.
43463         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43464         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43465         [UNIX98] (pthread_sigmask): Likewise.
43466         [UNIX98] (pthread_spin_destroy): Likewise.
43467         [UNIX98] (pthread_spin_init): Likewise.
43468         [UNIX98] (pthread_spin_lock): Likewise.
43469         [UNIX98] (pthread_spin_trylock): Likewise.
43470         [UNIX98] (pthread_spin_unlock): Likewise.
43471         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43472         Do not expect.
43473         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43474         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43475         [XPG3 || XPG4] (pthread_cond_t): Likewise.
43476         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43477         [XPG3 || XPG4] (pthread_key_t): Likewise.
43478         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43479         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43480         [XPG3 || XPG4] (pthread_once_t): Likewise.
43481         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43482         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43483         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43484         [XPG3 || XPG4] (pthread_t): Likewise.
43486         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43487         not expect.
43488         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43490         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43491         Change function return type to int.
43493         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43494         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43495         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43496         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43497         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43498         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43499         [!POSIX] (posix_madvise): Likewise.
43500         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43501         && !UNIX98].
43502         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43503         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43504         (mode_t): Likewise.
43505         (posix_mem_offset): Likewise.
43506         (posix_typed_mem_get_info): Likewise.
43507         (posix_typed_mem_open): Likewise.
43509         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43510         Change condition to [XOPEN2K8].
43512         * conform/conformtest.pl: Preprocess allow-header data with -x c
43513         instead of from stdin.
43514         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43515         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43516         [C99-based standards] (cerfc): Likewise.
43517         [C99-based standards] (cexp2): Likewise.
43518         [C99-based standards] (cexpm1): Likewise.
43519         [C99-based standards] (clog10): Likewise.
43520         [C99-based standards] (clog1p): Likewise.
43521         [C99-based standards] (clog2): Likewise.
43522         [C99-based standards] (clgamma): Likewise.
43523         [C99-based standards] (ctgamma): Likewise.
43524         [C99-based standards] (cerff): Likewise.
43525         [C99-based standards] (cerfcf): Likewise.
43526         [C99-based standards] (cexp2f): Likewise.
43527         [C99-based standards] (cexpm1f): Likewise.
43528         [C99-based standards] (clog10f): Likewise.
43529         [C99-based standards] (clog1pf): Likewise.
43530         [C99-based standards] (clog2f): Likewise.
43531         [C99-based standards] (clgammaf): Likewise.
43532         [C99-based standards] (ctgammaf): Likewise.
43533         [C99-based standards] (cerfl): Likewise.
43534         [C99-based standards] (cerfcl): Likewise.
43535         [C99-based standards] (cexp2l): Likewise.
43536         [C99-based standards] (cexpm1l): Likewise.
43537         [C99-based standards] (clog10l): Likewise.
43538         [C99-based standards] (clog1pl): Likewise.
43539         [C99-based standards] (clog2l): Likewise.
43540         [C99-based standards] (clgammal): Likewise.
43541         [C99-based standards] (ctgammal): Likewise.
43542         * conform/data/inttypes.h-data [C99-based standards]: Include
43543         stdint.h-data.  Remove all expectations for stdint.h contents.
43544         [C99-based standards] (PRI*): Do not allow.
43545         [C99-based standards] (SCN*): Likewise.
43546         [C99-based standards] (*_t): Likewise.
43547         [C99-based-standards] (PRId8): Expect macro.
43548         [C99-based-standards] (PRIi8): Likewise.
43549         [C99-based-standards] (PRIo8): Likewise.
43550         [C99-based-standards] (PRIu8): Likewise.
43551         [C99-based-standards] (PRIx8): Likewise.
43552         [C99-based-standards] (PRIX8): Likewise.
43553         [C99-based-standards] (SCNd8): Likewise.
43554         [C99-based-standards] (SCNi8): Likewise.
43555         [C99-based-standards] (SCNo8): Likewise.
43556         [C99-based-standards] (SCNu8): Likewise.
43557         [C99-based-standards] (SCNx8): Likewise.
43558         [C99-based-standards] (PRIdLEAST8): Likewise.
43559         [C99-based-standards] (PRIiLEAST8): Likewise.
43560         [C99-based-standards] (PRIoLEAST8): Likewise.
43561         [C99-based-standards] (PRIuLEAST8): Likewise.
43562         [C99-based-standards] (PRIxLEAST8): Likewise.
43563         [C99-based-standards] (PRIXLEAST8): Likewise.
43564         [C99-based-standards] (SCNdLEAST8): Likewise.
43565         [C99-based-standards] (SCNiLEAST8): Likewise.
43566         [C99-based-standards] (SCNoLEAST8): Likewise.
43567         [C99-based-standards] (SCNuLEAST8): Likewise.
43568         [C99-based-standards] (SCNxLEAST8): Likewise.
43569         [C99-based-standards] (PRIdFAST8): Likewise.
43570         [C99-based-standards] (PRIiFAST8): Likewise.
43571         [C99-based-standards] (PRIoFAST8): Likewise.
43572         [C99-based-standards] (PRIuFAST8): Likewise.
43573         [C99-based-standards] (PRIxFAST8): Likewise.
43574         [C99-based-standards] (PRIXFAST8): Likewise.
43575         [C99-based-standards] (SCNdFAST8): Likewise.
43576         [C99-based-standards] (SCNiFAST8): Likewise.
43577         [C99-based-standards] (SCNoFAST8): Likewise.
43578         [C99-based-standards] (SCNuFAST8): Likewise.
43579         [C99-based-standards] (SCNxFAST8): Likewise.
43580         [C99-based-standards] (PRId16): Likewise.
43581         [C99-based-standards] (PRIi16): Likewise.
43582         [C99-based-standards] (PRIo16): Likewise.
43583         [C99-based-standards] (PRIu16): Likewise.
43584         [C99-based-standards] (PRIx16): Likewise.
43585         [C99-based-standards] (PRIX16): Likewise.
43586         [C99-based-standards] (SCNd16): Likewise.
43587         [C99-based-standards] (SCNi16): Likewise.
43588         [C99-based-standards] (SCNo16): Likewise.
43589         [C99-based-standards] (SCNu16): Likewise.
43590         [C99-based-standards] (SCNx16): Likewise.
43591         [C99-based-standards] (PRIdLEAST16): Likewise.
43592         [C99-based-standards] (PRIiLEAST16): Likewise.
43593         [C99-based-standards] (PRIoLEAST16): Likewise.
43594         [C99-based-standards] (PRIuLEAST16): Likewise.
43595         [C99-based-standards] (PRIxLEAST16): Likewise.
43596         [C99-based-standards] (PRIXLEAST16): Likewise.
43597         [C99-based-standards] (SCNdLEAST16): Likewise.
43598         [C99-based-standards] (SCNiLEAST16): Likewise.
43599         [C99-based-standards] (SCNoLEAST16): Likewise.
43600         [C99-based-standards] (SCNuLEAST16): Likewise.
43601         [C99-based-standards] (SCNxLEAST16): Likewise.
43602         [C99-based-standards] (PRIdFAST16): Likewise.
43603         [C99-based-standards] (PRIiFAST16): Likewise.
43604         [C99-based-standards] (PRIoFAST16): Likewise.
43605         [C99-based-standards] (PRIuFAST16): Likewise.
43606         [C99-based-standards] (PRIxFAST16): Likewise.
43607         [C99-based-standards] (PRIXFAST16): Likewise.
43608         [C99-based-standards] (SCNdFAST16): Likewise.
43609         [C99-based-standards] (SCNiFAST16): Likewise.
43610         [C99-based-standards] (SCNoFAST16): Likewise.
43611         [C99-based-standards] (SCNuFAST16): Likewise.
43612         [C99-based-standards] (SCNxFAST16): Likewise.
43613         [C99-based-standards] (PRId32): Likewise.
43614         [C99-based-standards] (PRIi32): Likewise.
43615         [C99-based-standards] (PRIo32): Likewise.
43616         [C99-based-standards] (PRIu32): Likewise.
43617         [C99-based-standards] (PRIx32): Likewise.
43618         [C99-based-standards] (PRIX32): Likewise.
43619         [C99-based-standards] (SCNd32): Likewise.
43620         [C99-based-standards] (SCNi32): Likewise.
43621         [C99-based-standards] (SCNo32): Likewise.
43622         [C99-based-standards] (SCNu32): Likewise.
43623         [C99-based-standards] (SCNx32): Likewise.
43624         [C99-based-standards] (PRIdLEAST32): Likewise.
43625         [C99-based-standards] (PRIiLEAST32): Likewise.
43626         [C99-based-standards] (PRIoLEAST32): Likewise.
43627         [C99-based-standards] (PRIuLEAST32): Likewise.
43628         [C99-based-standards] (PRIxLEAST32): Likewise.
43629         [C99-based-standards] (PRIXLEAST32): Likewise.
43630         [C99-based-standards] (SCNdLEAST32): Likewise.
43631         [C99-based-standards] (SCNiLEAST32): Likewise.
43632         [C99-based-standards] (SCNoLEAST32): Likewise.
43633         [C99-based-standards] (SCNuLEAST32): Likewise.
43634         [C99-based-standards] (SCNxLEAST32): Likewise.
43635         [C99-based-standards] (PRIdFAST32): Likewise.
43636         [C99-based-standards] (PRIiFAST32): Likewise.
43637         [C99-based-standards] (PRIoFAST32): Likewise.
43638         [C99-based-standards] (PRIuFAST32): Likewise.
43639         [C99-based-standards] (PRIxFAST32): Likewise.
43640         [C99-based-standards] (PRIXFAST32): Likewise.
43641         [C99-based-standards] (SCNdFAST32): Likewise.
43642         [C99-based-standards] (SCNiFAST32): Likewise.
43643         [C99-based-standards] (SCNoFAST32): Likewise.
43644         [C99-based-standards] (SCNuFAST32): Likewise.
43645         [C99-based-standards] (SCNxFAST32): Likewise.
43646         [C99-based-standards] (PRId64): Likewise.
43647         [C99-based-standards] (PRIi64): Likewise.
43648         [C99-based-standards] (PRIo64): Likewise.
43649         [C99-based-standards] (PRIu64): Likewise.
43650         [C99-based-standards] (PRIx64): Likewise.
43651         [C99-based-standards] (PRIX64): Likewise.
43652         [C99-based-standards] (SCNd64): Likewise.
43653         [C99-based-standards] (SCNi64): Likewise.
43654         [C99-based-standards] (SCNo64): Likewise.
43655         [C99-based-standards] (SCNu64): Likewise.
43656         [C99-based-standards] (SCNx64): Likewise.
43657         [C99-based-standards] (PRIdLEAST64): Likewise.
43658         [C99-based-standards] (PRIiLEAST64): Likewise.
43659         [C99-based-standards] (PRIoLEAST64): Likewise.
43660         [C99-based-standards] (PRIuLEAST64): Likewise.
43661         [C99-based-standards] (PRIxLEAST64): Likewise.
43662         [C99-based-standards] (PRIXLEAST64): Likewise.
43663         [C99-based-standards] (SCNdLEAST64): Likewise.
43664         [C99-based-standards] (SCNiLEAST64): Likewise.
43665         [C99-based-standards] (SCNoLEAST64): Likewise.
43666         [C99-based-standards] (SCNuLEAST64): Likewise.
43667         [C99-based-standards] (SCNxLEAST64): Likewise.
43668         [C99-based-standards] (PRIdFAST64): Likewise.
43669         [C99-based-standards] (PRIiFAST64): Likewise.
43670         [C99-based-standards] (PRIoFAST64): Likewise.
43671         [C99-based-standards] (PRIuFAST64): Likewise.
43672         [C99-based-standards] (PRIxFAST64): Likewise.
43673         [C99-based-standards] (PRIXFAST64): Likewise.
43674         [C99-based-standards] (SCNdFAST64): Likewise.
43675         [C99-based-standards] (SCNiFAST64): Likewise.
43676         [C99-based-standards] (SCNoFAST64): Likewise.
43677         [C99-based-standards] (SCNuFAST64): Likewise.
43678         [C99-based-standards] (SCNxFAST64): Likewise.
43679         [C99-based-standards] (PRIdMAX): Likewise.
43680         [C99-based-standards] (PRIiMAX): Likewise.
43681         [C99-based-standards] (PRIoMAX): Likewise.
43682         [C99-based-standards] (PRIuMAX): Likewise.
43683         [C99-based-standards] (PRIxMAX): Likewise.
43684         [C99-based-standards] (PRIXMAX): Likewise.
43685         [C99-based-standards] (SCNdMAX): Likewise.
43686         [C99-based-standards] (SCNiMAX): Likewise.
43687         [C99-based-standards] (SCNoMAX): Likewise.
43688         [C99-based-standards] (SCNuMAX): Likewise.
43689         [C99-based-standards] (SCNxMAX): Likewise.
43690         [C99-based-standards] (PRIdPTR): Likewise.
43691         [C99-based-standards] (PRIiPTR): Likewise.
43692         [C99-based-standards] (PRIoPTR): Likewise.
43693         [C99-based-standards] (PRIuPTR): Likewise.
43694         [C99-based-standards] (PRIxPTR): Likewise.
43695         [C99-based-standards] (PRIXPTR): Likewise.
43696         [C99-based-standards] (SCNdPTR): Likewise.
43697         [C99-based-standards] (SCNiPTR): Likewise.
43698         [C99-based-standards] (SCNoPTR): Likewise.
43699         [C99-based-standards] (SCNuPTR): Likewise.
43700         [C99-based-standards] (SCNxPTR): Likewise.
43701         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43702         allow.
43703         * conform/data/stdint.h-data: Update comments to clarify
43704         requirements.
43705         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
43706         type.
43707         [C99-based standards] (INT8_MAX): Likewise.
43708         [C99-based standards] (INT16_MIN): Likewise.
43709         [C99-based standards] (INT16_MAX): Likewise.
43710         [C99-based standards] (INT32_MIN): Likewise.
43711         [C99-based standards] (INT32_MAX): Likewise.
43712         [C99-based standards] (INT64_MIN): Likewise.
43713         [C99-based standards] (INT64_MAX): Likewise.
43714         [C99-based standards] (UINT8_MAX): Likewise.
43715         [C99-based standards] (UINT16_MAX): Likewise.
43716         [C99-based standards] (UINT32_MAX): Likewise.
43717         [C99-based standards] (UINT64_MAX): Likewise.
43718         [C99-based standards] (INT_LEAST8_MIN): Likewise.
43719         [C99-based standards] (INT_LEAST8_MAX): Likewise.
43720         [C99-based standards] (INT_LEAST16_MIN): Likewise.
43721         [C99-based standards] (INT_LEAST16_MAX): Likewise.
43722         [C99-based standards] (INT_LEAST32_MIN): Likewise.
43723         [C99-based standards] (INT_LEAST32_MAX): Likewise.
43724         [C99-based standards] (INT_LEAST64_MIN): Likewise.
43725         [C99-based standards] (INT_LEAST64_MAX): Likewise.
43726         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43727         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43728         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43729         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43730         [C99-based standards] (INT_FAST8_MIN): Likewise.
43731         [C99-based standards] (INT_FAST8_MAX): Likewise.
43732         [C99-based standards] (INT_FAST16_MIN): Likewise.
43733         [C99-based standards] (INT_FAST16_MAX): Likewise.
43734         [C99-based standards] (INT_FAST32_MIN): Likewise.
43735         [C99-based standards] (INT_FAST32_MAX): Likewise.
43736         [C99-based standards] (INT_FAST64_MIN): Likewise.
43737         [C99-based standards] (INT_FAST64_MAX): Likewise.
43738         [C99-based standards] (UINT_FAST8_MAX): Likewise.
43739         [C99-based standards] (UINT_FAST16_MAX): Likewise.
43740         [C99-based standards] (UINT_FAST32_MAX): Likewise.
43741         [C99-based standards] (UINT_FAST64_MAX): Likewise.
43742         [C99-based standards] (INTPTR_MIN): Likewise.
43743         [C99-based standards] (INTPTR_MAX): Likewise.
43744         [C99-based standards] (UINTPTR_MAX): Likewise.
43745         [C99-based standards] (INTMAX_MIN): Likewise.
43746         [C99-based standards] (INTMAX_MAX): Likewise.
43747         [C99-based standards] (UINTMAX_MAX): Likewise.
43748         [C99-based standards] (PTRDIFF_MIN): Likewise.
43749         [C99-based standards] (PTRDIFF_MAX): Likewise.
43750         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43751         [C99-based standards] (SIZE_MAX): Likewise.
43752         [C99-based standards] (WCHAR_MAX): Likewise.
43753         [C99-based standards] (WINT_MAX): Likewise.
43754         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
43755         constraint on value.
43756         [C99-based standards] (WCHAR_MIN): Likewise.
43757         [C99-based standards] (WINT_MIN): Likewise.
43758         [C99-based standards] (*_t): Allow.
43759         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43760         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43761         Include math.h-data and complex.h-data.  Remove all expectations
43762         of math.h and complex.h contents.
43763         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43764         at end of line.
43765         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43766         (struct tm): Expect tag.
43767         [C99-based-standards] (wcstof): Expect function.
43768         [C99-based-standards] (wcstold): Likewise.
43769         [C99-based-standards] (wcstoll): Likewise.
43770         [C99-based-standards] (wcstoull): Likewise.
43771         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43772         macro-int-constant.  Specify type.
43773         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
43774         constraint on value.
43775         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43776         Specify type.
43777         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43778         Specify value.
43779         [ISO C standards]: Do not allow headers.
43780         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43781         wcs[abcdefghijklmnopqrstuvwxyz]*.
43782         [ISO C standards] (*_t): Do not allow.
43783         * conform/data/wctype.h-data [C99-based standards] (iswblank):
43784         Expect function.
43785         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43786         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43787         Specify type.
43788         [ISO C standards]: Do not allow headers.
43789         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43790         is[abcdefghijklmnopqrstuvwxyz]*.
43791         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43792         to[abcdefghijklmnopqrstuvwxyz]*.
43793         [ISO C standards] (*_t): Do not allow.
43794         * conform/data/stdalign.h-data: New file.
43795         * conform/data/stdbool.h-data: Likewise.
43796         * conform/data/stdnoreturn.h-data: Likewise.
43798 2012-11-07  Roland McGrath  <roland@hack.frob.com>
43800         [BZ #14815]
43801         * manual/filesys.texi (Directory Entries): Typo fix.
43802         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43804 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43806         * elf/elf.h (EM_AARCH64): New macro.
43807         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43808         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43809         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43810         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43811         (R_AARCH64_TLSDESC): Likewise.
43812         (NT_ARM_TLS): Likewise.
43813         (NT_ARM_HW_BREAK): Likewise.
43814         (NT_ARM_HW_WATCH): Likewise.
43816 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43818         [BZ #14811]
43819         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43820         (__ieee754_powl): Saturate nonzero exponents with absolute value
43821         below 0x1p-79 to +/- 0x1p-79.
43822         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43823         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43824         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43825         nonzero exponents with absolute value below 0x1p-32 to +/-
43826         0x1p-32.
43827         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43828         (__ieee754_powl): Saturate nonzero exponents with absolute value
43829         below 0x1p-79 to +/- 0x1p-79.
43830         * math/libm-test.inc (pow_test): Add more tests.
43832 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43834         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43835         _dl_s390_cap_flags with kernel. Increase string length.
43836         (_dl_s390_platforms): Add z196 and zEC12.
43838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43840         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43841         Change XOPEN21K to XOPEN2K.
43843 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
43845         * string/memmove.c: Use memcpy when possible.
43847 2012-11-06  Andreas Jaeger  <aj@suse.de>
43849         * po/eo.po: Update from translation team.
43851 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
43853         [BZ #14793]
43854         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43855         exponent and small x and y exponents, scale x or y up.  Increase
43856         by 2 the exponent used in scaling up.
43857         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43859         * math/libm-test.inc (fma_test): Add more tests.
43860         (fma_test_towardzero): Likewise.
43861         (fma_test_downward): Likewise.
43862         (fma_test_upward): Likewise.
43864 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
43866         [BZ #14805]
43867         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43868         fenv_t *.
43870         [BZ #14801]
43871         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43872         namespace for names of struct fields.
43873         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43874         fenv_t fields.
43875         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43876         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43878 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43880         [BZ #3665]
43881         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43883 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
43885         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43886         PTR_DEMANGLE.
43888         [BZ #5246]
43889         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43890         PTR_DEMANGLE.
43892 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
43894         [BZ #14797]
43895         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43896         definitely overflow as x * y not x * y + z.
43897         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43898         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43899         * math/libm-test.inc (fma_test): Add more tests.
43900         (fma_test_towardzero): Likewise.
43901         (fma_test_downward): Likewise.
43902         (fma_test_upward): Likewise.
43904 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
43906         [BZ #157]
43908         * include/stub-tag.h: Remove file.
43909         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43910         '#include' of it.
43911         * manual/maint.texi (Porting): Don't reference it.
43912         * Makerules ($(objpfx)stubs): Likewise.
43913         * dirent/closedir.c: Don't include <stub-tag.h>.
43914         * dirent/dirfd.c: Likewise.
43915         * dirent/fdopendir.c: Likewise.
43916         * dirent/getdents.c: Likewise.
43917         * dirent/getdents64.c: Likewise.
43918         * dirent/opendir.c: Likewise.
43919         * dirent/readdir.c: Likewise.
43920         * dirent/readdir64.c: Likewise.
43921         * dirent/readdir64_r.c: Likewise.
43922         * dirent/readdir_r.c: Likewise.
43923         * dirent/rewinddir.c: Likewise.
43924         * dirent/seekdir.c: Likewise.
43925         * dirent/telldir.c: Likewise.
43926         * gmon/profil.c: Likewise.
43927         * grp/setgroups.c: Likewise.
43928         * inet/if_index.c: Likewise.
43929         * io/access.c: Likewise.
43930         * io/chdir.c: Likewise.
43931         * io/chmod.c: Likewise.
43932         * io/chown.c: Likewise.
43933         * io/close.c: Likewise.
43934         * io/dup.c: Likewise.
43935         * io/dup2.c: Likewise.
43936         * io/dup3.c: Likewise.
43937         * io/euidaccess.c: Likewise.
43938         * io/faccessat.c: Likewise.
43939         * io/fchdir.c: Likewise.
43940         * io/fchmod.c: Likewise.
43941         * io/fchmodat.c: Likewise.
43942         * io/fchown.c: Likewise.
43943         * io/fchownat.c: Likewise.
43944         * io/fcntl.c: Likewise.
43945         * io/flock.c: Likewise.
43946         * io/fstatfs.c: Likewise.
43947         * io/fstatfs64.c: Likewise.
43948         * io/fstatvfs.c: Likewise.
43949         * io/fstatvfs64.c: Likewise.
43950         * io/futimens.c: Likewise.
43951         * io/fxstat.c: Likewise.
43952         * io/fxstat64.c: Likewise.
43953         * io/fxstatat.c: Likewise.
43954         * io/fxstatat64.c: Likewise.
43955         * io/getcwd.c: Likewise.
43956         * io/isatty.c: Likewise.
43957         * io/lchmod.c: Likewise.
43958         * io/lchown.c: Likewise.
43959         * io/link.c: Likewise.
43960         * io/linkat.c: Likewise.
43961         * io/lseek.c: Likewise.
43962         * io/lseek64.c: Likewise.
43963         * io/lxstat64.c: Likewise.
43964         * io/mkdir.c: Likewise.
43965         * io/mkdirat.c: Likewise.
43966         * io/mkfifo.c: Likewise.
43967         * io/mkfifoat.c: Likewise.
43968         * io/open.c: Likewise.
43969         * io/open64.c: Likewise.
43970         * io/openat.c: Likewise.
43971         * io/openat64.c: Likewise.
43972         * io/pipe.c: Likewise.
43973         * io/pipe2.c: Likewise.
43974         * io/poll.c: Likewise.
43975         * io/posix_fadvise.c: Likewise.
43976         * io/posix_fadvise64.c: Likewise.
43977         * io/posix_fallocate.c: Likewise.
43978         * io/posix_fallocate64.c: Likewise.
43979         * io/read.c: Likewise.
43980         * io/readlink.c: Likewise.
43981         * io/readlinkat.c: Likewise.
43982         * io/rmdir.c: Likewise.
43983         * io/sendfile.c: Likewise.
43984         * io/sendfile64.c: Likewise.
43985         * io/statfs.c: Likewise.
43986         * io/statfs64.c: Likewise.
43987         * io/statvfs.c: Likewise.
43988         * io/statvfs64.c: Likewise.
43989         * io/symlink.c: Likewise.
43990         * io/symlinkat.c: Likewise.
43991         * io/ttyname.c: Likewise.
43992         * io/ttyname_r.c: Likewise.
43993         * io/umask.c: Likewise.
43994         * io/unlink.c: Likewise.
43995         * io/unlinkat.c: Likewise.
43996         * io/utime.c: Likewise.
43997         * io/utimensat.c: Likewise.
43998         * io/write.c: Likewise.
43999         * io/xmknod.c: Likewise.
44000         * io/xmknodat.c: Likewise.
44001         * io/xstat.c: Likewise.
44002         * io/xstat64.c: Likewise.
44003         * login/getpt.c: Likewise.
44004         * login/grantpt.c: Likewise.
44005         * login/unlockpt.c: Likewise.
44006         * math/e_acoshl.c: Likewise.
44007         * math/e_acosl.c: Likewise.
44008         * math/e_asinl.c: Likewise.
44009         * math/e_atan2l.c: Likewise.
44010         * math/e_atanhl.c: Likewise.
44011         * math/e_coshl.c: Likewise.
44012         * math/e_expl.c: Likewise.
44013         * math/e_fmodl.c: Likewise.
44014         * math/e_gammal_r.c: Likewise.
44015         * math/e_hypotl.c: Likewise.
44016         * math/e_j0l.c: Likewise.
44017         * math/e_j1l.c: Likewise.
44018         * math/e_jnl.c: Likewise.
44019         * math/e_lgammal_r.c: Likewise.
44020         * math/e_log10l.c: Likewise.
44021         * math/e_log2l.c: Likewise.
44022         * math/e_logl.c: Likewise.
44023         * math/e_powl.c: Likewise.
44024         * math/e_rem_pio2l.c: Likewise.
44025         * math/e_sinhl.c: Likewise.
44026         * math/e_sqrtl.c: Likewise.
44027         * math/fclrexcpt.c: Likewise.
44028         * math/fedisblxcpt.c: Likewise.
44029         * math/feenablxcpt.c: Likewise.
44030         * math/fegetenv.c: Likewise.
44031         * math/fegetexcept.c: Likewise.
44032         * math/fegetround.c: Likewise.
44033         * math/feholdexcpt.c: Likewise.
44034         * math/fesetenv.c: Likewise.
44035         * math/fesetround.c: Likewise.
44036         * math/feupdateenv.c: Likewise.
44037         * math/fgetexcptflg.c: Likewise.
44038         * math/fraiseexcpt.c: Likewise.
44039         * math/fsetexcptflg.c: Likewise.
44040         * math/ftestexcept.c: Likewise.
44041         * math/k_cosl.c: Likewise.
44042         * math/k_rem_pio2l.c: Likewise.
44043         * math/k_sinl.c: Likewise.
44044         * math/k_tanl.c: Likewise.
44045         * math/s_asinhl.c: Likewise.
44046         * math/s_atanl.c: Likewise.
44047         * math/s_cbrtl.c: Likewise.
44048         * math/s_erfl.c: Likewise.
44049         * math/s_expm1l.c: Likewise.
44050         * math/s_log1pl.c: Likewise.
44051         * math/s_tanhl.c: Likewise.
44052         * misc/acct.c: Likewise.
44053         * misc/brk.c: Likewise.
44054         * misc/chflags.c: Likewise.
44055         * misc/chroot.c: Likewise.
44056         * misc/fchflags.c: Likewise.
44057         * misc/fgetxattr.c: Likewise.
44058         * misc/flistxattr.c: Likewise.
44059         * misc/fremovexattr.c: Likewise.
44060         * misc/fsetxattr.c: Likewise.
44061         * misc/fsync.c: Likewise.
44062         * misc/ftruncate.c: Likewise.
44063         * misc/futimes.c: Likewise.
44064         * misc/futimesat.c: Likewise.
44065         * misc/getdomain.c: Likewise.
44066         * misc/getdtsz.c: Likewise.
44067         * misc/gethostid.c: Likewise.
44068         * misc/gethostname.c: Likewise.
44069         * misc/getloadavg.c: Likewise.
44070         * misc/getpagesize.c: Likewise.
44071         * misc/getsysstats.c: Likewise.
44072         * misc/getxattr.c: Likewise.
44073         * misc/gtty.c: Likewise.
44074         * misc/ioctl.c: Likewise.
44075         * misc/lgetxattr.c: Likewise.
44076         * misc/listxattr.c: Likewise.
44077         * misc/llistxattr.c: Likewise.
44078         * misc/lremovexattr.c: Likewise.
44079         * misc/lsetxattr.c: Likewise.
44080         * misc/lutimes.c: Likewise.
44081         * misc/madvise.c: Likewise.
44082         * misc/mincore.c: Likewise.
44083         * misc/mlock.c: Likewise.
44084         * misc/mlockall.c: Likewise.
44085         * misc/mmap.c: Likewise.
44086         * misc/mprotect.c: Likewise.
44087         * misc/msync.c: Likewise.
44088         * misc/munlock.c: Likewise.
44089         * misc/munlockall.c: Likewise.
44090         * misc/munmap.c: Likewise.
44091         * misc/preadv.c: Likewise.
44092         * misc/preadv64.c: Likewise.
44093         * misc/ptrace.c: Likewise.
44094         * misc/pwritev.c: Likewise.
44095         * misc/pwritev64.c: Likewise.
44096         * misc/readv.c: Likewise.
44097         * misc/reboot.c: Likewise.
44098         * misc/remap_file_pages.c: Likewise.
44099         * misc/removexattr.c: Likewise.
44100         * misc/revoke.c: Likewise.
44101         * misc/select.c: Likewise.
44102         * misc/setdomain.c: Likewise.
44103         * misc/setegid.c: Likewise.
44104         * misc/seteuid.c: Likewise.
44105         * misc/sethostid.c: Likewise.
44106         * misc/sethostname.c: Likewise.
44107         * misc/setregid.c: Likewise.
44108         * misc/setreuid.c: Likewise.
44109         * misc/setxattr.c: Likewise.
44110         * misc/sstk.c: Likewise.
44111         * misc/stty.c: Likewise.
44112         * misc/swapoff.c: Likewise.
44113         * misc/swapon.c: Likewise.
44114         * misc/sync.c: Likewise.
44115         * misc/syncfs.c: Likewise.
44116         * misc/syscall.c: Likewise.
44117         * misc/truncate.c: Likewise.
44118         * misc/ualarm.c: Likewise.
44119         * misc/usleep.c: Likewise.
44120         * misc/ustat.c: Likewise.
44121         * misc/utimes.c: Likewise.
44122         * misc/vhangup.c: Likewise.
44123         * misc/writev.c: Likewise.
44124         * posix/_exit.c: Likewise.
44125         * posix/alarm.c: Likewise.
44126         * posix/execve.c: Likewise.
44127         * posix/fexecve.c: Likewise.
44128         * posix/fork.c: Likewise.
44129         * posix/fpathconf.c: Likewise.
44130         * posix/getaddrinfo.c: Likewise.
44131         * posix/getegid.c: Likewise.
44132         * posix/geteuid.c: Likewise.
44133         * posix/getgid.c: Likewise.
44134         * posix/getgroups.c: Likewise.
44135         * posix/getlogin.c: Likewise.
44136         * posix/getlogin_r.c: Likewise.
44137         * posix/getpgid.c: Likewise.
44138         * posix/getpid.c: Likewise.
44139         * posix/getppid.c: Likewise.
44140         * posix/getresgid.c: Likewise.
44141         * posix/getresuid.c: Likewise.
44142         * posix/getsid.c: Likewise.
44143         * posix/getuid.c: Likewise.
44144         * posix/glob64.c: Likewise.
44145         * posix/nanosleep.c: Likewise.
44146         * posix/pathconf.c: Likewise.
44147         * posix/pause.c: Likewise.
44148         * posix/posix_madvise.c: Likewise.
44149         * posix/pread.c: Likewise.
44150         * posix/pread64.c: Likewise.
44151         * posix/pwrite.c: Likewise.
44152         * posix/pwrite64.c: Likewise.
44153         * posix/sched_getaffinity.c: Likewise.
44154         * posix/sched_getp.c: Likewise.
44155         * posix/sched_gets.c: Likewise.
44156         * posix/sched_primax.c: Likewise.
44157         * posix/sched_primin.c: Likewise.
44158         * posix/sched_rr_gi.c: Likewise.
44159         * posix/sched_setaffinity.c: Likewise.
44160         * posix/sched_setp.c: Likewise.
44161         * posix/sched_sets.c: Likewise.
44162         * posix/sched_yield.c: Likewise.
44163         * posix/setgid.c: Likewise.
44164         * posix/setlogin.c: Likewise.
44165         * posix/setpgid.c: Likewise.
44166         * posix/setresgid.c: Likewise.
44167         * posix/setresuid.c: Likewise.
44168         * posix/setsid.c: Likewise.
44169         * posix/setuid.c: Likewise.
44170         * posix/sleep.c: Likewise.
44171         * posix/spawni.c: Likewise.
44172         * posix/sysconf.c: Likewise.
44173         * posix/times.c: Likewise.
44174         * posix/wait.c: Likewise.
44175         * posix/wait3.c: Likewise.
44176         * posix/wait4.c: Likewise.
44177         * posix/waitpid.c: Likewise.
44178         * resolv/gai_sigqueue.c: Likewise.
44179         * resource/getpriority.c: Likewise.
44180         * resource/getrlimit.c: Likewise.
44181         * resource/getrusage.c: Likewise.
44182         * resource/nice.c: Likewise.
44183         * resource/setpriority.c: Likewise.
44184         * resource/setrlimit.c: Likewise.
44185         * resource/ulimit.c: Likewise.
44186         * rt/aio_cancel.c: Likewise.
44187         * rt/aio_fsync.c: Likewise.
44188         * rt/aio_read.c: Likewise.
44189         * rt/aio_sigqueue.c: Likewise.
44190         * rt/aio_suspend.c: Likewise.
44191         * rt/aio_write.c: Likewise.
44192         * rt/clock_getres.c: Likewise.
44193         * rt/clock_gettime.c: Likewise.
44194         * rt/clock_nanosleep.c: Likewise.
44195         * rt/clock_settime.c: Likewise.
44196         * rt/lio_listio.c: Likewise.
44197         * rt/mq_close.c: Likewise.
44198         * rt/mq_getattr.c: Likewise.
44199         * rt/mq_notify.c: Likewise.
44200         * rt/mq_open.c: Likewise.
44201         * rt/mq_receive.c: Likewise.
44202         * rt/mq_send.c: Likewise.
44203         * rt/mq_setattr.c: Likewise.
44204         * rt/mq_timedreceive.c: Likewise.
44205         * rt/mq_timedsend.c: Likewise.
44206         * rt/mq_unlink.c: Likewise.
44207         * rt/shm_open.c: Likewise.
44208         * rt/shm_unlink.c: Likewise.
44209         * rt/timer_create.c: Likewise.
44210         * rt/timer_delete.c: Likewise.
44211         * rt/timer_getoverr.c: Likewise.
44212         * rt/timer_gettime.c: Likewise.
44213         * rt/timer_settime.c: Likewise.
44214         * setjmp/__longjmp.c: Likewise.
44215         * setjmp/setjmp.c: Likewise.
44216         * signal/kill.c: Likewise.
44217         * signal/killpg.c: Likewise.
44218         * signal/raise.c: Likewise.
44219         * signal/sigaction.c: Likewise.
44220         * signal/sigaltstack.c: Likewise.
44221         * signal/sigblock.c: Likewise.
44222         * signal/sigignore.c: Likewise.
44223         * signal/sigintr.c: Likewise.
44224         * signal/signal.c: Likewise.
44225         * signal/sigpause.c: Likewise.
44226         * signal/sigpending.c: Likewise.
44227         * signal/sigqueue.c: Likewise.
44228         * signal/sigreturn.c: Likewise.
44229         * signal/sigset.c: Likewise.
44230         * signal/sigsetmask.c: Likewise.
44231         * signal/sigstack.c: Likewise.
44232         * signal/sigsuspend.c: Likewise.
44233         * signal/sigtimedwait.c: Likewise.
44234         * signal/sigvec.c: Likewise.
44235         * signal/sigwait.c: Likewise.
44236         * signal/sigwaitinfo.c: Likewise.
44237         * signal/sysv_signal.c: Likewise.
44238         * socket/accept.c: Likewise.
44239         * socket/accept4.c: Likewise.
44240         * socket/bind.c: Likewise.
44241         * socket/connect.c: Likewise.
44242         * socket/getpeername.c: Likewise.
44243         * socket/getsockname.c: Likewise.
44244         * socket/getsockopt.c: Likewise.
44245         * socket/isfdtype.c: Likewise.
44246         * socket/listen.c: Likewise.
44247         * socket/recv.c: Likewise.
44248         * socket/recvfrom.c: Likewise.
44249         * socket/recvmsg.c: Likewise.
44250         * socket/send.c: Likewise.
44251         * socket/sendmsg.c: Likewise.
44252         * socket/sendto.c: Likewise.
44253         * socket/setsockopt.c: Likewise.
44254         * socket/shutdown.c: Likewise.
44255         * socket/sockatmark.c: Likewise.
44256         * socket/socket.c: Likewise.
44257         * socket/socketpair.c: Likewise.
44258         * stdio-common/ctermid.c: Likewise.
44259         * stdio-common/cuserid.c: Likewise.
44260         * stdio-common/remove.c: Likewise.
44261         * stdio-common/rename.c: Likewise.
44262         * stdio-common/renameat.c: Likewise.
44263         * stdio-common/tempname.c: Likewise.
44264         * stdlib/getcontext.c: Likewise.
44265         * stdlib/makecontext.c: Likewise.
44266         * stdlib/setcontext.c: Likewise.
44267         * stdlib/swapcontext.c: Likewise.
44268         * stdlib/system.c: Likewise.
44269         * streams/fattach.c: Likewise.
44270         * streams/fdetach.c: Likewise.
44271         * streams/getmsg.c: Likewise.
44272         * streams/getpmsg.c: Likewise.
44273         * streams/putmsg.c: Likewise.
44274         * streams/putpmsg.c: Likewise.
44275         * sysdeps/unix/bsd/getpt.c: Likewise.
44276         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44277         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44278         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44280         Likewise.
44281         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44282         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44283         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44284         * sysvipc/msgctl.c: Likewise.
44285         * sysvipc/msgget.c: Likewise.
44286         * sysvipc/msgrcv.c: Likewise.
44287         * sysvipc/msgsnd.c: Likewise.
44288         * sysvipc/semctl.c: Likewise.
44289         * sysvipc/semget.c: Likewise.
44290         * sysvipc/semop.c: Likewise.
44291         * sysvipc/semtimedop.c: Likewise.
44292         * sysvipc/shmat.c: Likewise.
44293         * sysvipc/shmctl.c: Likewise.
44294         * sysvipc/shmdt.c: Likewise.
44295         * sysvipc/shmget.c: Likewise.
44296         * termios/tcdrain.c: Likewise.
44297         * termios/tcflow.c: Likewise.
44298         * termios/tcflush.c: Likewise.
44299         * termios/tcgetattr.c: Likewise.
44300         * termios/tcgetpgrp.c: Likewise.
44301         * termios/tcsendbrk.c: Likewise.
44302         * termios/tcsetattr.c: Likewise.
44303         * termios/tcsetpgrp.c: Likewise.
44304         * time/adjtime.c: Likewise.
44305         * time/clock.c: Likewise.
44306         * time/getitimer.c: Likewise.
44307         * time/gettimeofday.c: Likewise.
44308         * time/setitimer.c: Likewise.
44309         * time/settimeofday.c: Likewise.
44310         * time/stime.c: Likewise.
44311         * time/time.c: Likewise.
44313 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
44315         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44316         /usr/old/bin.
44318         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44319         instead of spaces.
44320         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44322 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
44324         [BZ #14796]
44325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44326         FE_TONEAREST before applying Dekker multiplication and Knuth
44327         addition.  Clear inexact exceptions and check for exact zero
44328         results afterwards.
44329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44330         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44331         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44332         * math/libm-test.inc (fma_test): Add more tests.
44333         (fma_test_towardzero): Likewise.
44334         (fma_test_downward): Likewise.
44335         (fma_test_upward): Likewise.
44336         * sysdeps/generic/math_private.h (default_libc_fesetround): New
44337         function.
44338         (libc_fesetround): New macro.
44339         (libc_fesetroundf): Likewise.
44340         (libc_fesetroundl): Likewise.
44341         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44342         function.
44343         (libc_fesetround_387): Likewise.
44344         (libc_fesetroundf): New macro.
44345         (libc_fesetround): Likewise.
44346         (libc_fesetroundl): Likewise.
44347         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44348         function.
44349         (libc_fesetroundf): New macro.
44350         (libc_fesetround): Likewise.
44351         (libc_fesetroundl): Likewise.
44352         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44353         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44354         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44355         libm_hidden_ver.
44356         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44357         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44358         libm_hidden_def.
44359         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44360         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44361         libm_hidden_ver.
44362         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44363         libm_hidden_def.
44365         [BZ #3439]
44366         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44367         integer constant usable in #if and use that to give value to enum
44368         constant.
44369         (FE_DIVBYZERO): Likewise.
44370         (FE_UNDERFLOW): Likewise.
44371         (FE_OVERFLOW): Likewise.
44372         (FE_INVALID): Likewise.
44373         (FE_INVALID_SNAN): Likewise.
44374         (FE_INVALID_ISI): Likewise.
44375         (FE_INVALID_IDI): Likewise.
44376         (FE_INVALID_ZDZ): Likewise.
44377         (FE_INVALID_IMZ): Likewise.
44378         (FE_INVALID_COMPARE): Likewise.
44379         (FE_INVALID_SOFTWARE): Likewise.
44380         (FE_INVALID_SQRT): Likewise.
44381         (FE_INVALID_INTEGER_CONVERSION): Likewise.
44382         (FE_TONEAREST): Likewise.
44383         (FE_TOWARDZERO): Likewise.
44384         (FE_UPWARD): Likewise.
44385         (FE_DOWNWARD): Likewise.
44386         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44387         (FE_DIVBYZERO): Likewise.
44388         (FE_OVERFLOW): Likewise.
44389         (FE_UNDERFLOW): Likewise.
44390         (FE_INEXACT): Likewise.
44391         (FE_TONEAREST): Likewise.
44392         (FE_DOWNWARD): Likewise.
44393         (FE_UPWARD): Likewise.
44394         (FE_TOWARDZERO): Likewise.
44395         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44396         (FE_UNDERFLOW): Likewise.
44397         (FE_OVERFLOW): Likewise.
44398         (FE_DIVBYZERO): Likewise.
44399         (FE_INVALID): Likewise.
44400         (FE_TONEAREST): Likewise.
44401         (FE_TOWARDZERO): Likewise.
44402         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44403         (FE_OVERFLOW): Likewise.
44404         (FE_UNDERFLOW): Likewise.
44405         (FE_DIVBYZERO): Likewise.
44406         (FE_INEXACT): Likewise.
44407         (FE_TONEAREST): Likewise.
44408         (FE_TOWARDZERO): Likewise.
44409         (FE_UPWARD): Likewise.
44410         (FE_DOWNWARD): Likewise.
44411         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44412         (FE_DIVBYZERO): Likewise.
44413         (FE_OVERFLOW): Likewise.
44414         (FE_UNDERFLOW): Likewise.
44415         (FE_INEXACT): Likewise.
44416         (FE_TONEAREST): Likewise.
44417         (FE_DOWNWARD): Likewise.
44418         (FE_UPWARD): Likewise.
44419         (FE_TOWARDZERO): Likewise.
44421 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
44423         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44425 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
44427         * scripts/cross-test-ssh.sh (command): Use newlines to separate
44428         commands.  Quote $PWD.
44429         (blacklist_exports): Don't use remove_newlines.  Replace "declare
44430         -x" by "export".
44431         (remove_newlines): Remove.
44433 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
44435         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44436         * stdlib/stdlib.h (atof): Moved to ...
44437         * include/bits/stdlib-float.h: Here.  New file.
44438         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44439         * stdlib/bits/stdlib-float.h: New file.
44440         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44441         -mno-sse -mno-mmx.
44442         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44443         <xmmintrin.h>.
44445 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44447         * conform/conformtest.pl (@headers): Add fenv.h.
44448         * conform/data/fenv.h-data: New file.
44449         * include/fenv.h [_ISOMAC]: Disable all contents of file except
44450         include of <math/fenv.h>.
44452         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44453         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44454         && !UNIX98].  Enables tests for XOPEN2K8.
44455         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44456         POSIX2008]: Likewise.
44458         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44459         (struct rusage): Do not expect type or its members.
44461         [BZ #3439]
44462         * math/math.h (FP_NAN): Define macro to integer constant usable in
44463         #if and use that to give value to enum constant.
44464         (FP_INFINITE): Likewise.
44465         (FP_ZERO): Likewise.
44466         (FP_SUBNORMAL): Likewise.
44467         (FP_NORMAL): Likewise.
44469 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
44471         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44472         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44473         arguments.
44475 2012-11-02  Roland McGrath  <roland@hack.frob.com>
44477         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44478         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44479         autoconf-time if not.
44480         * configure.in: Remove AC_PREREQ.
44482 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44484         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44485         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44486         of the internal implementation.
44488 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44490         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44491         except include of <misc/sys/syslog.h>.
44493 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44496         function returns with a NULL context exit with zero.
44498 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44500         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44502 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
44504         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44505         (run_program_cmd): This.
44506         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44507         (tst_langinfo): New variable.  Use it.
44509 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
44511         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44512         floating point opcodes.
44514 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44516         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44517         variable.
44519         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44521         * sysdeps/mach/hurd/powerpc: Remove directory.
44522         * sysdeps/mach/powerpc: Likewise.
44524 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44526         * scripts/check-local-headers.sh: Ignore c++ headers.
44528 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44530         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44531         __libc_cleanup_region_start argument.
44533 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
44535         [BZ #14784]
44536         [BZ #14785]
44537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44538         x * y using scaling, not as x * y + z.
44539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44541         * math/libm-test.inc (fma_test): Add more tests.
44542         (fma_test_towardzero): Likewise.
44543         (fma_test_downward): Likewise.
44544         (fma_test_upward): Likewise.
44546 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44548         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44550 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
44552         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44553         New variable.
44555 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
44557         * rt/tst-shm.c (worker): Correct checking for mmap failure.
44559 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44562         Fix sort order.
44563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44564         Likewise.
44566 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44569         Fix the order of the list for glibc 2.17.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44571         Likewise.
44573 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
44575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44577 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
44579         [BZ #14610]
44580         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44581         for low part of x being zero before using __atanl (y).
44582         * math/libm-test.inc (atan2_test): Add another test.
44584         * manual/install.texi (Configuring and compiling): Document
44585         general use of test-wrapper and test-wrapper-env.
44586         * INSTALL: Regenerated.
44588         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44589         (__fma): Do not extract and scale down low bits on after-rounding
44590         systems when result rounded to normal precision would have normal
44591         exponent.
44592         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44593         (__fmal): Do not extract and scale down low bits on after-rounding
44594         systems when result rounded to normal precision would have normal
44595         exponent.
44596         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44597         (__fmal): Do not extract and scale down low bits on after-rounding
44598         systems when result rounded to normal precision would have normal
44599         exponent.
44600         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44601         macro.
44602         (fma_test): Add more tests.
44603         (fma_test_towardzero): Likewise.
44604         (fma_test_downward): Likewise.
44605         (fma_test_upward): Likewise.
44607 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
44609         * sysdeps/i386/tininess.h: Renamed to ...
44610         * sysdeps/x86/tininess.h: This.
44611         * sysdeps/x86_64/tininess.h: Removed.
44613 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
44615         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44616         input.  Use $(build-program-cmd).
44617         ($(objpfx)tst-array1-static.out): Likewise.
44618         ($(objpfx)tst-array2.out): Likewise.
44619         ($(objpfx)tst-array3.out): Likewise.
44620         ($(objpfx)tst-array4.out): Likewise.
44621         ($(objpfx)tst-array5.out): Likewise.
44622         ($(objpfx)tst-array5-static.out): Likewise.
44624 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
44626         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44627         if defined.
44629         * nss/nsswitch.h (nss_interface_function): Provide new
44630         macro for use with NSS functions.
44631         * grp/initgroups.c: Use new macro.
44632         * nss/getXXbyYY.c: Likewise.
44633         * nss/getXXbyYY_r.c: Likewise.
44634         * nss/getXXent.c: Likewise.
44635         * nss/getXXent_r.c: Likewise.
44636         * sysdeps/posix/getaddrinfo.c: Likewise.
44638 2012-10-30  Andreas Jaeger  <aj@suse.de>
44640         * po/ru.po: Update Russion translation from translation project.
44642 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
44644         [BZ #14152]
44645         [BZ #14783]
44646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44647         result and shift together with sticky bit instead of replicating
44648         round-to-nearest rounding.
44649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44651         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
44652         missing underflow exceptions.
44653         (fma_test_towardzero): Add more tests.
44654         (fma_test_downward): Likewise.
44655         (fma_test_upward): Likewise.
44657         [BZ #14047]
44658         * sysdeps/generic/tininess.h: New file.
44659         * sysdeps/i386/tininess.h: Likewise.
44660         * sysdeps/sh/tininess.h: Likewise.
44661         * sysdeps/x86_64/tininess.h: Likewise.
44662         * stdlib/tst-strtod-underflow.c: Likewise.
44663         * stdlib/tst-tininess.c: Likewise.
44664         * stdlib/strtod_l.c: Include <tininess.h>.
44665         (round_and_return): Do not set errno for exact underflow cases.
44666         Force an underflow exception when setting errno for underflow.
44667         Determine underflow based on rounding to normal precision if
44668         TININESS_AFTER_ROUNDING.
44669         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44670         ERANGE for exact underflow cases.
44671         * stdlib/Makefile (tests): Add tst-tininess and
44672         tst-strtod-underflow.
44673         ($(objpfx)tst-tininess): Use $(link-libm).
44674         ($(objpfx)tst-strtod-underflow): Likewise.
44676 2012-10-30  Andreas Jaeger  <aj@suse.de>
44678         [BZ#14767]
44679         * elf/Makefile (tests): Remove conditional for have-initfini-array
44680         since this is now always required and the variable does not exist
44681         anymore.
44682         (tests-static): Likewise.
44683         (modules-names): Likewise.
44685         * po/eo.po: Add Esperanto translation from translation project.
44687         * elf/tst-array1.c (fini_array): Make writeable so that it can be
44688         merged with constructor/destructor.
44689         (init_array): Likewise.
44690         * elf/tst-array2dep.c (fini_array): Likewise.
44691         (init_array): Likewise.
44693 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
44695         * manual/message.texi: Delete @cartouche tags.
44697 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
44699         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44700         EOPNOTSUPP.
44701         * sysdeps/mach/hurd/fsync.c: Likewise.
44703         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44704         [_POSIX_REALTIME_SIGNALS]: Change condition to
44705         [_POSIX_REALTIME_SIGNALS > 0].
44707 2012-10-27  Andreas Jaeger  <aj@suse.de>
44709         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44710         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44712         [__WORDSIZE != 64]: Likewise.
44714 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
44716         *  iconvdata/tst-table.sh: Remove ${SHELL}.
44717         *  iconvdata/tst-tables.sh: Likewise.
44719 2012-10-25  David S. Miller  <davem@davemloft.net>
44721         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44722         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44723         of strtoull.
44725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44726         ifunc-impl-list.c
44727         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44728         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44729         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44730         file.
44732 2012-10-25  Roland McGrath  <roland@hack.frob.com>
44734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44735         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44736         __getdirentries.
44738 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
44739             Jim Blandy  <jimb@codesourcery.com>
44741         * scripts/cross-test-ssh.sh: New file.
44742         * manual/install.texi (Configuring and compiling): Document use of
44743         cross-test-ssh.sh.
44744         * INSTALL: Regenerated.
44746 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
44748         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44749         EOPNOTSUPP.
44751 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
44753         * Makeconfig (run-program-prefix): Fix comment.
44755 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
44756             Jim Blandy  <jimb@codesourcery.com>
44758         * Makeconfig (test-wrapper): New variable,
44759         (test-wrapper-env): Likewise.
44760         [$(cross-compiling) = yes && $(test-wrapper) != ""]
44761         (run-built-tests): Define to yes.
44762         (run-program-prefix): Use $(test-wrapper).
44763         (built-program-cmd): Likewise.
44764         * Rules (make-test-out): Use $(test-wrapper-env) and
44765         $(host-built-program-cmd).
44766         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44767         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44768         tst-pathopt.sh.
44769         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44770         $(test-wrapper-env) to tst-rtld-load-self.sh.
44771         ($(objpfx)order2.out): Use $(test-wrapper).
44772         ($(objpfx)tst-initorder.out): Likewise.
44773         ($(objpfx)tst-initorder2.out): Likewise.
44774         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44775         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44776         (test_wrapper_env): New variable.  Use it to run ld.so.
44777         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44778         Use it to run ld.so.
44779         (test_wrapper_env): Likewise.
44780         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44781         $(test-wrapper) to run-iconv-test.sh.
44782         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44783         (ICONV): Use $test_wrapper.
44784         * posix/Makefile ($(objpfx)globtest.out): Pass
44785         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44786         globtest.sh, not $(run-program-prefix).
44787         * posix/globtest.sh (run_via_rtld_prefix): New variable.
44788         (test_wrapper): Likewise.
44789         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
44790         set together with run_via_rtld_prefix.
44791         (run_program_prefix): Define in terms of test_wrapper and
44792         run_via_rtld_prefix.
44794 2012-10-24  Roland McGrath  <roland@hack.frob.com>
44796         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44797         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44798         Targets removed.
44800         [BZ #14743]
44801         * include/time.h: Remove librt_hidden_proto (clock_gettime).
44802         Declare __clock_getres, __clock_gettime, __clock_settime,
44803         __clock_nanosleep, and __clock_getcpuclockid.
44804         * rt/clock_gettime.c: Define __clock_gettime as an alias.
44805         Remove librt_hidden_def (clock_gettime).
44806         * sysdeps/unix/clock_gettime.c: Likewise.
44807         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44808         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44809         * rt/clock_getres.c: Define __clock_getres as an alias.
44810         * sysdeps/posix/clock_getres.c: Likewise.
44811         * rt/clock_settime.c: Define __clock_settime as an alias.
44812         * sysdeps/unix/clock_settime.c: Likewise.
44813         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44814         * sysdeps/unix/clock_nanosleep.c: Likewise.
44815         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44816         * rt/clock-compat.c: New file.
44817         * rt/Makefile (librt-routines): Add clock-compat and move
44818         $(clock-routines) to ...
44819         (routines): ... here, new variable.
44820         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44821         Don't add get_clockfreq here.
44822         * rt/Versions (libc: GLIBC_2.17): New version set.
44823         Add clock_* symbols here.
44824         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
44825         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44826         (GLIBC_2.17): Add clock_* symbols.
44827         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44829         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44831         Likewise.
44832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44833         Likewise.
44834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44836         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44838         * NEWS: Mention the move.
44840         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44841         Use __open, __read, __close rather than their public counterparts.
44842         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44843         (__get_clockfreq_via_cpuinfo): Likewise.
44844         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44845         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44847         * config.h.in (HAVE_IFUNC): New #undef.
44848         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44849         was successful.
44850         * configure: Regenerated.
44852 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
44854         * configure.in: Move READELF check to start of file.
44855         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44856         libc_cv_asm_gnu_indirect_function in the process.
44857         * configure: Regenerated.
44859 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
44861         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44862         send the output to /dev/null.
44863         (libc_cv_cc_with_libunwind): Likewise.
44864         (libc_cv_as_noexecstack): Likewise.
44865         * configure: Regenerate.
44867 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
44869         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44871         * posix/globtest.sh (TMPDIR): Do not set.
44872         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44873         (testout): Likewise.
44875 2012-10-24  Andreas Jaeger  <aj@suse.de>
44877         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44878         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44879         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44880         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44881         posix_fadvise64, posix_fallocate64.
44883         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44884         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44885         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44886         Likewise.
44887         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44888         Likewise.
44889         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44892         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44893         <bits/fcntl-linux.h>.
44894         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44896         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44897         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44898         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44899         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44900         [__WORDSIZE != 64]: Likewise.
44902 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
44904         * Makeconfig (run-built-tests): New variable.
44905         * Rules [$(cross-compiling) = yes]: Change condition to
44906         [$(run-built-tests) = no].
44907         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44908         to [$(run-built-tests) = yes].
44909         * elf/Makefile [$(cross-compiling) = no]: Likewise
44910         * grp/Makefile [$(cross-compiling) = no]: Likewise.
44911         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44912         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44913         * intl/Makefile [$(cross-compiling) = no]: Likewise.
44914         * io/Makefile [$(cross-compiling) = no]: Likewise.
44915         * libio/Makefile [$(cross-compiling) = no]: Likewise.
44916         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44917         * misc/Makefile [$(cross-compiling) = no]: Likewise.
44918         * posix/Makefile [$(cross-compiling) = no]: Likewise.
44919         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44920         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44921         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44922         * string/Makefile [$(cross-compiling) = no]: Likewise.
44924         * posix/Makefile ($(objpfx)globtest.out): Pass
44925         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44926         $(rtld-installed-name).
44927         * posix/globtest.sh (elf_objpfx): Remove variable.
44928         (rtld_installed_name): Likewise.
44929         (library_path): Likewise.
44930         (run_program_prefix): New variable.  Use for running globtest
44931         binary.
44933 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
44934             Joseph Myers  <joseph@codesourcery.com>
44936         * Makeconfig (host-built-program-cmd): New variable.
44937         * elf/Makefile (tst-stackguard1-ARGS): Use
44938         $(host-built-program-cmd).
44939         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44940         (tst-spawn-ARGS): Likewise.
44941         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44943 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
44944             Jim Blandy  <jimb@codesourcery.com>
44946         * Makeconfig (run-via-rtld-prefix): New variable.
44947         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44948         (built-program-cmd): Likewise.
44950 2012-10-22  Andreas Jaeger  <aj@suse.de>
44952         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44953         __O_RSYNC if it exists, otherwise to O_SYNC.
44955 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
44956             Joseph Myers  <joseph@codesourcery.com>
44958         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44959         /dev/null.
44960         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44961         from /dev/null
44962         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44963         /dev/null.
44965 2012-10-22  Andreas Jaeger  <aj@suse.de>
44967         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44968         Define always.
44969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44971         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44972         bits/fcntl-linux.h.
44974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44975         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44978         to __O_LARGEFILE.
44979         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44980         to __O_LARGEFILE.
44982 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44983             Joseph Myers  <joseph@codesourcery.com>
44985         * config.make.in (NM): New variable.
44987 2012-10-21  Andreas Jaeger  <aj@suse.de>
44989         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44990         definitions and declarations that are provided by
44991         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44993 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44995         [BZ #14683]
44996         * elf/Makefile (tests-static): Add tst-leaks1-static.
44997         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44998         ($(objpfx)tst-leaks1-static): New rule.
44999         ($(objpfx)tst-leaks1-static-mem): Likewise.
45000         (tst-leaks1-static-ENV): New macro.
45001         * elf/dl-open.c (dl_open_worker): Check the main application
45002         only if SHARED is defined.
45003         * elf/tst-leaks1-static.c: New file.
45005 2012-10-20  Andreas Jaeger  <aj@suse.de>
45007         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
45008         generic values for Linux.
45009         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
45010         and declarations that are provided by <bits/fcntl-linux.h> and
45011         include <bits/fcntl-linux.h>.
45012         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
45013         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
45015 2012-10-20  Roland McGrath  <roland@hack.frob.com>
45017         * io/fcntl.h: Move include of <bits/types.h> to the top and
45018         include it unconditionally.
45020 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
45022         * wcsmbs/Makefile (tests-ifunc): New variable.
45023         (tests): Add $(tests-ifunc).
45024         * wcsmbs/test-wcschr-ifunc.c: New file.
45025         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
45026         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
45027         * wcsmbs/test-wcslen-ifunc.c: Likewise.
45028         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
45029         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
45031         * string/Makefile (tests-ifunc): New variable.
45032         (tests): Add $(tests-ifunc).
45033         * string/test-memccpy.c (TEST_NAME): New macro.
45034         * string/test-memchr.c (TEST_NAME): Likewise.
45035         * string/test-memcmp.c (TEST_NAME): Likewise.
45036         * string/test-memcpy.c (TEST_NAME): Likewise.
45037         * string/test-memmem.c (TEST_NAME): Likewise.
45038         * string/test-memmove.c (TEST_NAME): Likewise.
45039         * string/test-memset.c (TEST_NAME): Likewise.
45040         * string/test-rawmemchr.c (TEST_NAME): Likewise.
45041         * string/test-stpcpy.c (TEST_NAME): Likewise.
45042         * string/test-stpncpy.c (TEST_NAME): Likewise.
45043         * string/test-strcasecmp.c (TEST_NAME): Likewise.
45044         * string/test-strcasestr.c (TEST_NAME): Likewise.
45045         * string/test-strcat.c (TEST_NAME): Likewise.
45046         * string/test-strchr.c (TEST_NAME): Likewise.
45047         * string/test-strcmp.c(TEST_NAME): Likewise.
45048         * string/test-strcpy.c (TEST_NAME): Likewise.
45049         * string/test-strcspn.c (TEST_NAME): Likewise.
45050         * string/test-strlen.c (TEST_NAME): Likewise.
45051         * string/test-strncasecmp.c (TEST_NAME): Likewise.
45052         * string/test-strncmp.c (TEST_NAME): Likewise.
45053         * string/test-strncpy.c (TEST_NAME): Likewise.
45054         * string/test-strnlen.c (TEST_NAME): Likewise.
45055         * string/test-strpbrk.c (TEST_NAME): Likewise.
45056         * string/test-strrchr.c (TEST_NAME): Likewise.
45057         * string/test-strspn.c (TEST_NAME): Likewise.
45058         * string/test-strstr.c (TEST_NAME): Likewise.
45059         * string/test-bcopy-ifunc.c: New file.
45060         * string/test-bzero-ifunc.c: Likewise.
45061         * string/test-memccpy-ifunc.c: Likewise.
45062         * string/test-memchr-ifunc.c: Likewise.
45063         * string/test-memcmp-ifunc.c: Likewise.
45064         * string/test-memcpy-ifunc.c: Likewise.
45065         * string/test-memmem-ifunc.c: Likewise.
45066         * string/test-memmove-ifunc.c: Likewise.
45067         * string/test-mempcpy-ifunc.c: Likewise.
45068         * string/test-memset-ifunc.c: Likewise.
45069         * string/test-rawmemchr-ifunc.c: Likewise.
45070         * string/test-stpcpy-ifunc.c: Likewise.
45071         * string/test-stpncpy-ifunc.c: Likewise.
45072         * string/test-strcasecmp-ifunc.c: Likewise.
45073         * string/test-strcasestr-ifunc.c: Likewise.
45074         * string/test-strcat-ifunc.c: Likewise.
45075         * string/test-strchr-ifunc.c: Likewise.
45076         * string/test-strchrnul-ifunc.c: Likewise.
45077         * string/test-strcmp-ifunc.c: Likewise.
45078         * string/test-strcpy-ifunc.c: Likewise.
45079         * string/test-strcspn-ifunc.c: Likewise.
45080         * string/test-strlen-ifunc.c: Likewise.
45081         * string/test-strncasecmp-ifunc.c: Likewise.
45082         * string/test-strncat-ifunc.c: Likewise.
45083         * string/test-strncmp-ifunc.c: Likewise.
45084         * string/test-strncpy-ifunc.c: Likewise.
45085         * string/test-strnlen-ifunc.c: Likewise.
45086         * string/test-strpbrk-ifunc.c: Likewise.
45087         * string/test-strrchr-ifunc.c: Likewise.
45088         * string/test-strspn-ifunc.c: Likewise.
45089         * string/test-strstr-ifunc.c: Likewise.
45091         * debug/Makefile (tests-ifunc): New variable.
45092         (tests): Add $(tests-ifunc).
45093         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
45094         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
45095         * debug/test-stpcpy_chk-ifunc.c: New file.
45096         * debug/test-strcpy_chk-ifunc.c: Likewise.
45098 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45100         [BZ #13601]
45101         * elf/dl-load.c (open_verify): Retry read if the entire ELF
45102         header is not read in.
45104 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
45106         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
45107         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
45108         directly.  Pass built executable to script as
45109         $(built-program-cmd).
45110         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
45111         $testprogram without using LD_LIBRARY_PATH and $ldso.
45113         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
45114         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
45115         $(rtld-installed-name).
45116         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
45117         (rtld_installed_name): Likewise.
45118         (library_path): Likewise.
45119         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
45120         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
45121         $(run-program-prefix) to tst-tables.sh.
45122         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
45123         it to run tst-table-from and tst-table-to.
45124         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
45125         Pass it to tst-table.sh.
45126         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
45127         $(run-program-prefix) to tst-gettext.sh.
45128         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
45129         tst-translit.sh.
45130         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
45131         tst-gettext2.sh.
45132         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
45133         to run tst-gettext.
45134         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
45135         to run tst-gettext2.
45136         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
45137         to run tst-translit.
45138         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
45139         $(run-program-prefix) to tst-mtrace.sh.
45140         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
45141         to run tst-mtrace.
45142         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
45143         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
45144         $(rtld-installed-name).
45145         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
45146         (rtld_installed_name): Likewise.
45147         (run_program_prefix): New variable.  Use it to run wordexp-test.
45149         * Makeconfig (ARCH): Remove all definitions.
45150         (machine): Likewise.
45151         [ARCH]: Remove conditional code.
45152         [!objdir]: Give error.
45153         [!objdir] (objpfx): Remove.
45154         [!objdir] (common-objpfx): Likewise.
45155         [!objdir] (common-objdir): Likewise.
45156         * configure.in (config_makefile): Remove.  Hardcode Makefile in
45157         AC_CONFIG_FILES call.
45158         * configure: Regenerated.
45160         [BZ #13888]
45161         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
45162         or TMPDIR.
45163         (testout): Likewise.
45165         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
45166         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
45167         $(rtld-installed-name).
45168         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
45169         (rtld_installed_name): Likwise.
45170         (runit): Remove function.
45171         (run_getconf): New variable,  Use it for running getconf binary.
45173 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
45175         [BZ #14716]
45176         * string/test-memmem.c (check_result): New function.
45177         (do_one_test): Use it.
45178         (check1): New function.
45179         (test_main): Use it.
45181 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
45183         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
45185 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
45187         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
45188         (_G_LSEEK64): Likewise.
45189         (_G_MMAP64): Likewise.
45190         (_G_FSTAT64): Likewise.
45191         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
45192         (_G_LSEEK64): Likewise.
45193         (_G_MMAP64): Likewise.
45194         (_G_FSTAT64): Likewise.
45195         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
45196         unconditional.  Call __mmap64 directly.
45197         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
45198         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
45199         __lseek64 directly.
45200         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
45201         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
45202         __mmap64 directly.
45203         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
45204         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
45205         __lseek64 directly.
45206         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
45207         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
45208         __lseek64 directly.
45209         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
45210         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
45211         __lseek64 directly.
45212         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
45213         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
45214         __fxstat64 directly.
45215         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
45216         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
45217         unconditional.
45218         (freopen64) [!_G_OPEN64]: Remove conditional code.
45219         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
45220         unconditional.
45221         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
45222         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
45223         unconditional.
45224         (ftello64) [!_G_LSEEK64]: Remove conditional code.
45225         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
45226         unconditional.
45227         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45228         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
45229         unconditional.
45230         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
45231         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
45232         unconditional.
45233         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45234         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
45235         unconditional.
45236         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
45237         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
45238         unconditional.
45239         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
45241 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45243         [BZ #12140]
45244         * manual/memory.texi (Malloc Tunable Parameters): Add note
45245         about free list pointers overwriting some perturb bytes.
45246         Wording suggested by Roland McGrath.
45248 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
45250         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45251         (lgamma_test): Likewise.
45252         (tgamma_test): Likewise.
45254 2012-10-16  Florian Weimer  <fweimer@redhat.com>
45256         [BZ #14700]
45257         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45258         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45260 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
45262         * NEWS: Mention BZ #14716.
45263         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45264         when removing AVAILABLE1_USES_J macro.
45266 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
45268         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45269         (__bswap_64): __uint64_t for unsigned 64-bit int.
45271 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
45273         * include/string.h (memmem): Declare libc hidden alias.
45274         * string/memmem.c (memmem): Define libc hidden alias.
45275         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45276         __read, __close instead of open, read, close.
45278 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
45280         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45281         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45282         global and hidden.
45283         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45284         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45285         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45286         Likewise.
45287         (__rawmemchr_sse2): Likewise.
45288         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45289         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45290         (__strchr_sse2): Likewise.
45291         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45292         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45293         (__strcasecmp_sse2): Likewise.
45294         (__strncasecmp_sse2): Likewise.
45295         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45296         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45297         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45298         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45299         (__strrchr_sse2): Likewise.
45300         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45301         ifunc-impl-list.c.
45302         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45303         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45304         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45305         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45306         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45307         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45308         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45309         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45310         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45311         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45312         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45313         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45314         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45315         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45316         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45317         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45318         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45319         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45320         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45321         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45322         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45323         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45324         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45325         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45326         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45327         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45328         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45329         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45330         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45331         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45333         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45334         global and hidden.
45335         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45336         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45337         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45338         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45339         Likewise.
45340         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45341         Likewise.
45342         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45343         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45344         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45345         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45346         ifunc-impl-list.c.
45347         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45348         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45349         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45350         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45351         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45352         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45353         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45354         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45355         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45356         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45357         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45358         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45359         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45360         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45361         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45362         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45363         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45364         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45365         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45366         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45367         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45368         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45369         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45370         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45372         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45373         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45374         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45375         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45376         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45377         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45378         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45379         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45380         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45381         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45382         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45383         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45384         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45385         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45386         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45387         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45389         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45390         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45391         * include/ifunc-impl-list.h: New file.
45392         * misc/ifunc-impl-list.c: Likewise.
45393         * misc/Makefile (routines): Add ifunc-impl-list.
45394         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45395         * string/test-string.h: Include <ifunc-impl-list.h>.
45396         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45397         TEST_NAME]: New variables.
45398         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45399         are defined.
45400         (test_init): Call __libc_ifunc_impl_list to initialize
45401         func_list if TEST_IFUNC and TEST_NAME are defined.
45403         * string/Makefile (strop-tests): Add bcopy and bzero.
45404         * string/test-bcopy.c: New file.
45405         * string/test-bzero.c: Likewise.
45406         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45407         defined.
45408         * string/test-memset.c: Support bzero test if TEST_BZERO is
45409         defined.
45410         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45411         __libc_memmove.
45412         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45413         __libc_memset.
45414         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45415         of memset.
45417 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
45419         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45420         * configure: Regenerated.
45422         * Makeconfig (+link-static-before-libc): Don't include
45423         $(link-static-libc).
45425         * libio/libio.h (_IO_pos_t): Remove.
45427 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45429         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
45430         McGrath.
45432 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45434         * crypt/crypt-entry.c: Include fips-private.h.
45435         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45436         * crypt/md5c-test.c (main): Tolerate disabled MD5.
45437         * sysdeps/unix/sysv/linux/fips-private.h: New file.
45438         * sysdeps/generic/fips-private.h: New file, dummy fallback.
45440 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45442         * crypt/crypt-private.h: Include stdbool.h.
45443         (_ufc_setup_salt_r): Return bool.
45444         * crypt/crypt-entry.c: Include errno.h.
45445         (__crypt_r): Return NULL with EINVAL for bad salt.
45446         * crypt/crypt_util.c (bad_for_salt): New.
45447         (_ufc_setup_salt_r): Check that salt is long enough and within
45448         the specified alphabet.
45449         * crypt/badsalttest.c: New file.
45450         * crypt/Makefile (tests): Add it.
45451         ($(objpfx)badsalttest): New.
45453 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
45455         * NEWS: Add entry for BZ #14602.
45457 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45459         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45460         type-generic.
45461         * math/libm-test.inc: Update comment listing what functions and
45462         macros are tested.
45463         (isgreater_test): New function.
45464         (isgreaterequal_test): Likewise.
45465         (isless_test): Likewise.
45466         (islessequal_test): Likewise.
45467         (islessgreater_test): Likewise.
45468         (isunordered_test): Likewise.
45469         (main): Call the new functions.
45471 2012-10-09  Roland McGrath  <roland@hack.frob.com>
45473         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45474         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45475         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45476         * sysdeps/i386/configure: Regenerated.
45477         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45478         * sysdeps/mach/configure: Regenerated.
45479         * sysdeps/mach/hurd/configure: Regenerated.
45480         * sysdeps/powerpc/configure: Regenerated.
45481         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45482         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45483         * sysdeps/s390/s390-32/configure: Regenerated.
45484         * sysdeps/s390/s390-64/configure: Regenerated.
45485         * sysdeps/sh/configure: Regenerated.
45486         * sysdeps/sparc/configure: Regenerated.
45487         * sysdeps/unix/sysv/linux/configure: Regenerated.
45488         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45489         * sysdeps/x86_64/configure: Regenerated.
45491         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45492         defined.  Don't check if MAP is NULL.
45494 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45496         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45497         (_G_stat64): Likewise.
45498         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45499         (_G_stat64): Likewise.
45500         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45501         instead of struct _G_stat64.
45502         * libio/fileops.c (mmap_remap_check): Likewise.
45503         (decide_maybe_mmap): Likewise.
45504         (_IO_new_file_seekoff): Likewise.
45505         (_IO_file_stat): Likewise.
45506         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45507         _G_off64_t.
45508         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45509         instead of struct _G_stat64.
45510         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45512 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
45514         [BZ #14602]
45515         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45516         Replace with ...
45517         (CHECK_EOL): New macro.
45518         (two_way_short_needle): Check beginning of haystack for EOL.  Use
45519         CHECK_EOL.
45520         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45521         Replace with CHECK_EOL.
45522         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45523         Replace with CHECK_EOL.
45525 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
45527         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45528         type-generic.
45529         * math/libm-test.inc: Update comment listing what functions and
45530         macros are tested.
45531         (finite_test): New function.
45532         (isinf_test): Likewise.
45533         (isnan_test): Likewise.
45534         (fpclassify_test): Test subnormal input.
45535         (isfinite_test): Likewise.
45536         (isnormal_test): Likewise.
45537         (main): Call the new functions.
45539 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
45541         [BZ #14660]
45542         * Makerules (%.dynsym): Force C locale when running
45543         $(OBJDUMP) --dynamic-syms.
45545 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
45547         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45548         <stdint.h>.
45550 2012-10-06  David S. Miller  <davem@davemloft.net>
45552         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45553         upper 32-bits of the length value in %o2 since we use branch-on-register
45554         tests which consider the entire 64-bit register.
45556 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
45558         * string/test-strstr.c (check2): Add a test for page boundary.
45560 2012-10-05  David S. Miller  <davem@davemloft.net>
45562         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45563         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45564         file.
45565         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45566         sysdep_routines.
45567         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45568         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45569         and bzero when HWCAP_SPARC_CRYPTO is present.
45571 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
45573         [BZ #14602]
45574         * string/test-strstr.c (check2): New function.
45575         (test_main): Call check2.
45577         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45578         and bug-strchr1.
45579         * string/bug-strcasestr1.c (do_test): Moved to ...
45580         * string/test-strcasestr.c (check1): Here.  New function.
45581         (do_one_test): Break out result checking code into ...
45582         (check_result): This.  New function.
45583         (do_one_test): Call check_result.
45584         (test_main): Call check1.
45585         * string/bug-strchr1.c (do_test): Moved to ...
45586         * string/test-strchr.c (check1): Here.  New function.
45587         (do_one_test): Break out result checking code into ...
45588         (check_result): This.  New function.
45589         (do_one_test): Call check_result.
45590         (test_main): Call check1.
45591         * string/bug-strstr1.c (main): Moved to ...
45592         * string/test-strstr.c (check1): Here.  New function.
45593         (do_one_test): Break out result checking code into ...
45594         (check_result): This.  New function.
45595         (do_one_test): Call check_result.
45596         (test_main): Call check1.
45597         * string/bug-strcasestr1.c: Removed.
45598         * string/bug-strchr1.c: Likewise.
45599         * string/bug-strstr1.c: Likewise.
45601         * elf/Makefile (dl-routines): Add hwcaps.
45602         * elf/dl-support.c (_dl_important_hwcaps): Removed.
45603         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45604         (_dl_important_hwcaps): Moved to ...
45605         * elf/dl-hwcaps.c: Here.  New file.
45606         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45608         [BZ #14557]
45609         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45610         if IS_IN_rtld isn't defined.
45612         * elf/dl-support.c (_dl_sysinfo_map): New.
45613         Include "get-dynamic-info.h" and "setup-vdso.h".
45614         (_dl_non_dynamic_init): Call setup_vdso.
45615         * elf/dynamic-link.h: Don't include <assert.h>.
45616         (elf_get_dynamic_info): Moved to ...
45617         * elf/get-dynamic-info.h: Here.  New file.
45618         * elf/dynamic-link.h: Include "get-dynamic-info.h".
45619         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45620         * elf/setup-vdso.h: Here.  New file.
45621         * elf/rtld.c: Include "setup-vdso.h".
45622         (dl_main): Call setup_vdso.
45624 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
45626         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45627         creal in comment listing functions tested.  List finite, isinf,
45628         isnan, isless, islessequal, isgreater, isgreaterequal,
45629         islessgreater, isunordered, lgamma_r and pow10 as functions and
45630         macros not tested.  Mention which functions not tested are aliases
45631         for other functions.  Fix typo.  Note that signs of NaNs are not
45632         tested.
45634         * scripts/config.guess: Update from config.git.
45635         * scripts/config.sub: Likewise.
45637 2012-10-04  Roland McGrath  <roland@hack.frob.com>
45639         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45640         * misc/madvise.c (madvise): Renamed to __madvise.
45641         Make madvise a weak alias.
45642         * include/sys/mman.h: Declare __madvise.
45643         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45644         * sysdeps/unix/syscalls.list
45645         (madvise): Make __madvise the strong name, and madvise a weak alias.
45646         * sysdeps/unix/sysv/linux/syscalls.list
45647         (madvise, mmap): Remove redundant entries.
45648         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45649         * malloc/malloc.c (mtrim): Likewise.
45650         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45652 2012-10-03  Roland McGrath  <roland@hack.frob.com>
45654         * sysdeps/mach/hurd/dl-cache.c: File removed.
45655         * config.h.in (USE_LDCONFIG): New #undef.
45656         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45657         * configure: Regenerated.
45658         * elf/Makefile (dl-routines): Add dl-cache only under
45659         [$(use-ldconfig) = yes].
45660         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45661         cache on [USE_LDCONFIG].
45662         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45663         [USE_LDCONFIG].
45664         * elf/rtld.c (dl_main): Likewise.
45666 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
45668         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45669         _SC_LEVEL4_CACHE_LINESIZE.
45671 2012-10-03  Roland McGrath  <roland@hack.frob.com>
45673         * sysdeps/unix/bsd/confstr.h: File removed.
45675 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
45677         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45678         sys/sdt-config.h.
45680 2012-10-02  Roland McGrath  <roland@hack.frob.com>
45682         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45683         Make 'mapoff' field ElfW(Off) rather than off_t.
45685 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
45687         * nscd/Makefile: Remove nscd-cflags and all its users.
45688         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45689         (CFLAGS-nonlib): Add compiler flags for nscd modules.
45691         [BZ #10631]
45692         * malloc.c (malloc_printerr): Clarify error message.
45694 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
45696         [BZ #14648]
45697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45698         Set bit_FMA_Usable if FMA is supported.
45699         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45700         macro.
45701         (bit_FMA4_Usable): Updated.
45702         (index_FMA_Usable): New macro.
45703         (CPUID_FMA): Likewise
45704         (HAS_FMA): Defined with bit_FMA_Usable.
45706 2012-10-01  Roland McGrath  <roland@hack.frob.com>
45708         * bits/types.h (__swblk_t): Type removed.
45709         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45710         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45711         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45712         (__SWBLK_T_TYPE): Likewise.
45713         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45714         (__SWBLK_T_TYPE): Likewise.
45715         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45716         (__SWBLK_T_TYPE): Likewise.
45717         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45718         (__SWBLK_T_TYPE): Likewise.
45720 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
45721             Honza Horak <hhorak@redhat.com>
45723         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45724         (xdr_mapname): Use YPMAXMAP as maxsize.
45725         (xdr_peername): Use YPMAXPEER as maxsize.
45726         (xdr_keydat): Use YPAXRECORD as maxsize.
45727         (xdr_valdat): Use YPMAXRECORD as maxsize.
45729 2012-10-01  Roland McGrath  <roland@hack.frob.com>
45731         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45733         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45734         * csu/init-first.c: ... here.
45735         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45736         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45737         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45738         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45739         * sysdeps/i386/init-first.c: File removed.
45740         * sysdeps/sh/init-first.c: File removed.
45742 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
45744         [BZ #14645]
45745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45746         if x * y might underflow to zero and z is zero.
45747         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45748         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45749         * math/libm-test.inc (min_subnorm_value): New variable.
45750         (fma_test): Add more tests.
45751         (fma_test_towardzero): Likewise.
45752         (fma_test_downward): Likewise
45753         (fma_test_upward): Likewise.
45754         (initialize): Set min_subnorm_value.
45756 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
45758         [BZ #14638]
45759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45760         0 + 0.
45761         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45762         mode for addition resulting in exact zero.
45763         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45765         exact 0 + 0.
45766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45768         * math/libm-test.inc (fma_test): Add more tests.
45769         (fma_test_towardzero): New function.
45770         (fma_test_downward): Likewise.
45771         (fma_test_upward): Likewise.
45772         (main): Call the new functions.
45774 2012-09-28  David S. Miller  <davem@davemloft.net>
45776         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45778 2012-09-28  Roland McGrath  <roland@hack.frob.com>
45780         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45781         instead of SIGALRM.
45783         * sysdeps/gnu/_G_config.h: Moved to ...
45784         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45785         * sysdeps/mach/hurd/_G_config.h: Moved to ...
45786         * sysdeps/generic/_G_config.h: ... here.
45788         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
45790         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45792         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45793         Conditionalize target on [libnss_test1.so-version].
45795         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45797         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45798         (elfobjdir): Move out of conditionals.
45800         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45801         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45802         (__nss_lookup_function): Conditionalize label remove_from_tree on
45803         [!DO_STATIC_NSS || SHARED], matching its only use.
45805 2012-09-28  David S. Miller  <davem@davemloft.net>
45807         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45808         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45809         file.
45810         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45811         sysdep_routines.
45812         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45814         when HWCAP_SPARC_CRYPTO is present.
45816 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45818         * io/tst-mknodat.c: Create a FIFO instead of a socket.
45820 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
45822         [BZ #6530]
45823         * stdio-common/vfprintf.c (process_string_arg): Revert
45824         2000-07-22 change.
45826 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
45828         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45829         for testcase.
45830         * stdio-common/tst-sprintf.c: Include <locale.h>
45831         (main): Test sprintf's handling of incomplete multibyte
45832         characters.
45834 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
45836         * elf/dl-runtime.c (VERSYMIDX): Removed.
45837         * elf/dl-version.c (VERSYMIDX): Likewise.
45838         * elf/do-rel.h (VERSYMIDX): Likewise.
45839         (VALIDX): Likewise.
45840         * elf/dynamic-link.h (VERSYMIDX): Likewise.
45841         * elf/rtld.c (VALIDX): Likewise.
45842         (ADDRIDX): Likewise.
45843         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45844         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45845         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45846         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45847         (VALIDX): Likewise.
45848         (ADDRIDX): Likewise.
45850 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45852         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45854 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
45856         [BZ #11438]
45857         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45858         to global scope.
45859         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45860         addresses are in the same scope as 192.0.2/24.
45861         * posix/gai.conf: Document new scope table defaults.
45863 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45865         [BZ #5298]
45866         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45867         for ftell.  Compute offsets from write pointers instead.
45868         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45870 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45872         [BZ #14543]
45873         * libio/Makefile (tests): New test case tst-fseek.
45874         * libio/tst-fseek.c: New test case to verify that fseek/ftell
45875         combination works in wide mode.
45876         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45877         state when the external buffer state changes.
45879 2012-09-27  David S. Miller  <davem@davemloft.net>
45881         [BZ #14376]
45882         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45883         pass reloc->r_addend in as the 'high' argument to
45884         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45888 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45890         * rt/tst-aio2.c: Include <pthread.h>.
45891         * rt/tst-aio3.c: Likewise.
45893 2012-09-27  Steve Ellcey  <sellcey@mips.com>
45895         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45897 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
45899         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45900         contents on [SHARED].
45902 2012-09-26  Marek Polacek  <polacek@redhat.com>
45904         [BZ #14530]
45905         [BZ #13741]
45906         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45907         for C++ and GCC <4.3 as well as for non GCC compilers.
45909 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45911         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45913 2012-09-25  Roland McGrath  <roland@hack.frob.com>
45915         * Makefile.in (all, install): Declare with .PHONY.
45916         Reported by Michael Hope <michael.hope@linaro.org>.
45918 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45920         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45921         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45922         system header.
45923         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45924         Likewise.
45925         (sydep_routines): Add the new and the internal functions.
45926         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45927         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45929         (GLIBC_2.17): Add the new function.
45930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45931         (GLIBC_2.17): Likewise.
45932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45933         (GLIBC_2.17): Likewise.
45934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45935         (GLIBC_2.17): Likewise.
45936         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45938 2012-09-25  Alan Modra  <amodra@gmail.com>
45940         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45941         Add release barrier before setting once_control to say
45942         initialisation is done.  Add hints on lwarx.  Use macro in
45943         place of isync.
45944         (clear_once_control): Add release barrier.
45946 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45948         [BZ #13629]
45949         * math/s_clog.c (__clog): Handle more values close to |z| = 1
45950         specially.
45951         * math/s_clog10.c (__clog10): Likewise.
45952         * math/s_clog10f.c (__clog10f): Likewise.
45953         * math/s_clog10l.c (__clog10l): Likewise.
45954         * math/s_clogf.c (__clogf): Likewise.
45955         * math/s_clogl.c (__clogl): Likewise.
45956         * math/Makefile (libm-calls): Add x2y2m1.
45957         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45958         (__x2y2m1): Likewise.
45959         (__x2y2m1l): Likewise.
45960         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45961         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45962         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45963         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45964         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45965         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45966         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45967         * sysdeps/i386/fpu/libm-test-ulps: Update.
45968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45970         [BZ #14621]
45971         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45972         int as type of variable DEPTH.
45973         (glob): Use size_t instead of int as type of variables NEWCOUNT
45974         and OLD_PATHC.
45976 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45978         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45979         Add s_sincosf-sse2.
45980         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45981         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45982         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45983         macros for using routine as __sincosf_ia32.
45984         Use macro for function declaration and weak_alias.
45985         * sysdeps/i386/fpu/libm-test-ulps: Update.
45987         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45990         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45991         subnormal argument.
45992         * math/s_cexpf.c (__cexpf): Likewise.
45993         * math/s_csinf.c (__csinf): Likewise.
45994         * math/s_csinhf.c (__csinhf): Likewise.
45995         * math/s_ctanf.c (__ctanf): Likewise.
45996         * math/s_ctanhf.c (__ctanhf): Likewise.
45997         * math/s_ccosh.c (__ccoshf): Likewise.
45998         * math/s_cexp.c (__cexpl): Likewise.
45999         * math/s_csin.c (__csin): Likewise.
46000         * math/s_csinh.c (__csinh): Likewise.
46001         * math/s_ctan.c (__ctan): Likewise.
46002         * math/s_ctanh.c (ctanh): Likewise.
46003         * math/s_ccoshl.c (__ccoshl): Likewise.
46004         * math/s_cexpl.c (__cexpl): Likewise.
46005         * math/s_csinl.c (__csinl): Likewise.
46006         * math/s_csinhl.c (__csinhl): Likewise.
46007         * math/s_ctanl.c (__ctanl): Likewise.
46008         * math/s_ctanhl.c (__ctanhl): Likewise.
46010 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
46012         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
46013         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
46014         (_IO_off_t): Define to __off_t, not _G_off_t.
46015         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
46016         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
46017         (_IO_wint_t): Define to wint_t, not _G_wint_t.
46018         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
46019         type of __dummy and __dummy2 fields.
46020         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
46021         (_G_ssize_t): Likewise.
46022         (_G_off_t): Likewise.
46023         (_G_pid_t): Likewise.
46024         (_G_uid_t): Likewise.
46025         (_G_wchar_t): Likewise.
46026         (_G_wint_t): Likewise.
46027         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
46028         (_G_ssize_t): Likewise.
46029         (_G_off_t): Likewise.
46030         (_G_pid_t): Likewise.
46031         (_G_uid_t): Likewise.
46032         (_G_wchar_t): Likewise.
46033         (_G_wint_t): Likewise.
46034         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
46035         (_G_ssize_t): Likewise.
46036         (_G_off_t): Likewise.
46037         (_G_pid_t): Likewise.
46038         (_G_uid_t): Likewise.
46039         (_G_wchar_t): Likewise.
46040         (_G_wint_t): Likewise.
46042 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46044         * malloc/arena.c: Include malloc-sysdep.h.
46045         (shrink_heap): Use check_may_shrink_heap to decide if madvise
46046         is sufficient to shrink the heap or an unmap is needed.
46047         * sysdeps/generic/malloc-sysdep.h: New file.  Define
46048         new function check_may_shrink_heap.
46049         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
46050         new function check_may_shrink_heap.
46052 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46054         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
46055         comments.
46057 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
46059         * catgets/test-gencat.sh: Add "set -e".
46060         * elf/tst-pathopt.sh: Likewise.
46061         * grp/tst_fgetgrent.sh: Likewise.
46062         * iconvdata/run-iconv-test.sh: Likewise.
46063         * intl/tst-gettext.sh: Likewise.
46064         * intl/tst-gettext2.sh: Likewise.
46065         * intl/tst-gettext4.sh: Likewise.
46066         * intl/tst-gettext6.sh: Likewise.
46067         * intl/tst-translit.sh: Likewise.
46068         * io/ftwtest-sh: Likewise.
46069         * libio/test-freopen.sh: Likewise.
46070         * malloc/tst-mtrace.sh: Likewise.
46071         * posix/globtest.sh: Likewise.
46072         * posix/tst-getconf.sh: Likewise.
46073         * posix/wordexp-tst.sh: Likewise.
46074         * stdio-common/tst-printf.sh: Likewise.
46075         * stdio-common/tst-unbputc.sh: Likewise.
46076         * stdlib/tst-fmtmsg.sh: Likewise.
46077         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46078         * catgets/Makefile: Do not specify -e option when running
46079         testsuite shell scripts.
46080         * elf/Makefile: Likewise.
46081         * grp/Makefile: Likewise.
46082         * iconvdata/Makefile: Likewise.
46083         * intl/Makefile: Likewise.
46084         * io/Makefile: Likewise.
46085         * libio/Makefile: Likewise.
46086         * malloc/Makefile: Likewise.
46087         * posix/Makefile: Likewise.
46088         * stdio-common/Makefile: Likewise.
46089         * stdlib/Makefile: Likewise.
46090         * sysdeps/x86_64/Makefile: Likewise.
46092         * io/ftwtest-sh: Add copyright header.
46093         * posix/globtest.sh: Likewise.
46094         * posix/tst-getconf.sh: Likewise.
46095         * posix/wordexp-tst.sh: Likewise.
46096         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
46098 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
46100         [BZ #13679]
46101         * Makeconfig (+link): Defined as $(+link-static) if
46102         $(build-shared) isn't yes.
46103         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
46104         isn't yes.
46105         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
46107         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
46109         [BZ #14562]
46110         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
46111         new chunk size with MALLOC_ALIGN_MASK.
46113 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
46115         [BZ #5044]
46116         * stdio-common/printf_fphex.c: Include <stdbool.h> and
46117         <rounding-mode.h>.
46118         (__printf_fphex): Determine rounding using get_rounding_mode and
46119         round_away.
46120         * stdio-common/tst-printf-round.c (struct hex_test): New
46121         structure.
46122         (hex_tests): New variable.
46123         (test_hex_in_one_mode): New function.
46124         (do_test): Also run tests for hex float output.
46126 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
46128         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46129         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46130         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
46131         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
46132         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
46133         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
46134         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46135         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
46137 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
46139         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
46140         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
46141         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
46142         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
46144 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
46146         [BZ #14579]
46147         * elf/rtld.c (dl_main): Limit the check for self loading to normal
46148         mode only.
46149         * elf/tst-rtld-load-self.sh: New test.
46150         * elf/Makefile: Run it.
46152 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
46154         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
46155         (tst-writev-ENV): Remove.
46156         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
46158 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
46160         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
46162 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
46164         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
46165         unconditional.
46166         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
46167         Likewise.
46168         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
46169         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
46170         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
46171         Likewise.
46173 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
46175         [BZ #14587]
46176         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
46177         * config.make.in (have-cpp-asm-debuginfo): Removed.
46178         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
46179         * configure: Regenerated.
46181 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
46183         [BZ #5044]
46184         * stdio-common/printf_fp.c: Include <stdbool.h> and
46185         <rounding-mode.h>.
46186         (___printf_fp): Determine rounding using get_rounding_mode and
46187         round_away.
46188         * stdio-common/tst-printf-round.c: New file.
46189         * stdio-common/Makefile (tests): Add tst-printf-round.
46190         (link-libm): New variable.
46191         ($(objpfx)tst-printf-round): Depend in $(link-libm).
46193 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
46195         [BZ #14576]
46196         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
46197         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
46198         Likewise.
46199         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
46200         Likewise.
46202 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
46204         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
46205         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46206         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46207         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
46209 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
46211         [BZ #14518]
46212         * include/rounding-mode.h: New file.
46213         * sysdeps/generic/get-rounding-mode.h: Likewise.
46214         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
46215         * stdlib/strtod_l.c: Include <rounding-mode.h>.
46216         (MAX_VALUE): New macro.
46217         (MIN_VALUE): Likewise.
46218         (overflow_value): New function.
46219         (underflow_value): Likewise.
46220         (round_and_return): Use overflow_value and underflow_value to
46221         determine return values in overflow and underflow cases.  Use
46222         round_away to determine rounding depending on rounding mode.
46223         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
46224         determine return values in overflow and underflow cases.
46225         * stdlib/tst-strtod-round.c: Include <fenv.h>.
46226         (struct test_results): New structure.
46227         (struct test): Use struct test_results to store expected results
46228         for all rounding modes.
46229         (TEST): Include expected results for all rounding modes.
46230         (test_in_one_mode): New function.
46231         (do_test): Use test_in_one_mode to compute and check results.
46232         Check results for all rounding modes.
46233         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
46234         $(link-libm).
46236 2012-12-09  Allan McRae  <allan@archlinux.org>
46238         * sysdeps/i386/fpu/libm-test-ulps: Update
46240 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
46242         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
46243         (_G_int32_t): Likewise.
46244         (_G_uint16_t): Likewise.
46245         (_G_uint32_t): Likewise.
46246         (_G_HAVE_BOOL): Likewise.
46247         (_G_HAVE_ATEXIT): Likewise.
46248         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46249         (_G_HAVE_IO_FILE_OPEN): Likewise.
46250         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46251         (_G_int32_t): Likewise.
46252         (_G_uint16_t): Likewise.
46253         (_G_uint32_t): Likewise.
46254         (_G_HAVE_BOOL): Likewise.
46255         (_G_HAVE_ATEXIT): Likewise.
46256         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46257         (_G_HAVE_IO_FILE_OPEN): Likewise.
46258         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46259         (_G_int32_t): Likewise.
46260         (_G_uint16_t): Likewise.
46261         (_G_uint32_t): Likewise.
46262         (_G_HAVE_BOOL): Likewise.
46263         (_G_HAVE_ATEXIT): Likewise.
46264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46265         (_G_HAVE_IO_FILE_OPEN): Likewise.
46267 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
46269         * csu/libc-tls.c: Update copyright years.
46271 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
46273         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46274         [!_G_USING_THUNKS]: Remove conditional code.
46275         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46276         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46278         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46279         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46280         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46281         (_G_VTABLE_LABEL_PREFIX): Likewise.
46282         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46283         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46284         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46285         (_G_VTABLE_LABEL_PREFIX): Likewise.
46286         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46287         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46288         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46289         (_G_VTABLE_LABEL_PREFIX): Likewise.
46290         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46292 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
46294         * libio/Makefile: Include ../Makeconfig before tests.
46295         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46296         only if $(build-shared) is yes.
46298         * iconv/gconv_db.c: Update copyright years.
46300 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46302         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46303         unwind info if defined PIC. Fix special cases description.
46304         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46306         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46307         DP_HI_MASK entry.
46308         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46310 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
46312         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46314         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46315         is NULL.
46317         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46318         (LDLIBS-tst-chk4): This.
46319         (LDFLAGS-tst-chk5): Renamed to ...
46320         (LDLIBS-tst-chk5): This.
46321         (LDFLAGS-tst-chk6): Renamed to ...
46322         (LDLIBS-tst-chk6): This.
46323         (LDFLAGS-tst-lfschk4): Renamed to ...
46324         (LDLIBS-tst-lfschk4): This.
46325         (LDFLAGS-tst-lfschk5): Renamed to ...
46326         (LDLIBS-tst-lfschk5): This.
46327         (LDFLAGS-tst-lfschk6): Renamed to ...
46328         (LDLIBS-tst-lfschk6): This.
46330         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46331         on $(common-objpfx)soversions.mk.
46333 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
46335         [BZ #10014]
46336         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46337         example host name.
46339 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46341         * malloc/arena.c (arena_get_retry): New function that gets
46342         another arena for the caller to try its request on.
46343         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46344         current arena cannot fulfill the request.
46345         (__libc_memalign): Likewise.
46346         (__libc_memalign): Likewise.
46347         (__libc_pvalloc): Likewise.
46348         (__libc_calloc): Likewise.
46350 2012-09-05  John Tobey  <john.tobey@gmail.com>
46352         [BZ #13542]
46353         * manual/arith.texi (Operations on Complex): Fix description
46354         of carg branch cut.
46356 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46358         [BZ #10014]
46359         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46360         host name.
46362         [BZ #10038]
46363         * manual/memory.texi (Memory): Make order of menu items match
46364         order of sections.
46366 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46368         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46369         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
46370         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46372 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46374         * csu/libc-tls.c (static_dtv): Renamed to ...
46375         (_dl_static_dtv): This.  Make it global.
46376         (_dl_initial_dtv): Removed.
46377         (__libc_setup_tls): Updated.
46378         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46379         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46380         DL_INITIAL_DTV.
46382 2012-09-06  Petr Machata  <pmachata@redhat.com>
46384         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46385         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46386         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46387         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46389 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46391         [BZ #14545]
46392         * csu/libc-tls.c (_dl_initial_dtv): New variable.
46393         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46394         freeing dtv[-1].
46396 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46398         [BZ #14544]
46399         * Makeconfig (link-static-before-libc): Replace $(+prector)
46400         with $(+prectorT).
46401         (link-static-after-libc): Replace $(+postctor) with
46402         $(+postctorT).
46403         (link-bounded): Replace $(+prector)/$(+postctor) with
46404         $(+prectorT)/$(+postctorT).
46405         (+prectorT): New macro.
46406         (+postctorT): Likewise.
46408 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46410         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46411         (round_str): Handle values above the maximum for IBM long double
46412         as inexact.
46413         * stdlib/tst-strtod-round.c (tests): Regenerated.
46415 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46417         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46418         assembler flag.
46419         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46420         zarch_nohighgprs around the zarch optimized routines.
46421         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46422         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46423         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46424         for zarch.
46426 2012-09-05  David S. Miller  <davem@davemloft.net>
46428         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46430         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46431         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46432         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46433         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46434         entries.
46436 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46438         * malloc/arena.c: Fold copyright years.
46439         * malloc/mcheck.c, malloc/memusage.c: Likewise.
46441 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46443         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46445 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46447         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
46449 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46451         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46452         change internal state upon failure.
46454 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46456         * malloc/mcheck.c (mcheck_check_all): Fix typo.
46457         * malloc/memusage.c (mmap): Likewise.
46458         (mmap64, mremap): Likewise.  Adjust name in comment.
46460 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46462         * libio/fileops.c: Fix typos in comments.
46463         * libio/oldfileops.c: Likewise.
46464         * libio/wfileops.c: Likewise.
46466 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46468         [BZ #1349]
46469         * malloc/Makefile (tests): Add tst-malloc-usable test case.
46470         (tst-malloc-usable-ENV): Set environment for test case.
46471         * malloc/hooks.c (malloc_check_get_size): New function to get
46472         requested size.
46473         * malloc/malloc.c (musable): Use malloc_check_get_size.
46474         * malloc/tst-malloc-usable.c: New test case.
46476 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46478         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46480 2012-09-05  Allan McRae  <allan@archlinux.org>
46482         [BZ #13966]
46483         * configure.in (CXX_SYSINCLUDES): Use compiler output to
46484         determine header location.
46485         * configure: Regenerated.
46487 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46489         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46490         float format.
46491         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46492         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46493         format.
46494         (test): Regenerate.
46496 2012-09-04  David S. Miller  <davem@davemloft.net>
46498         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46499         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46500         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46502 2012-09-04  Florian Weimer  <fweimer@redhat.com>
46504         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46505         failures.
46507         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46509 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
46511         [BZ #9914]
46512         * libio/iogetdelim.c: Include <limits.h>.
46513         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46514         + len + 1 would overflow.
46516 2012-09-03  Andreas Jaeger  <aj@suse.de>
46518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46519         * sysdeps/i386/fpu/libm-test-ulps: Update.
46521 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46523         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46524         Add s_sinf-sse2, s_conf-sse2.
46526         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46527         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46528         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46529         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46531         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46532         for using routine as __sinf_ia32.
46533         Use macro for function declaration and weak_alias.
46534         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46535         for using routine as __cosf_ia32.
46536         Use macro for function declaration and weak_alias.
46538         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46539         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46541         * sysdeps/x86_64/fpu/s_sinf.S: New file.
46542         * sysdeps/x86_64/fpu/s_cosf.S: New file.
46543         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46545         * math/libm-test.inc (cos_test): Add more test cases.
46546         (sin_test): Likewise.
46547         (sincos_test): Likewise.
46549 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46551         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46552         (IFUNC_RESOLVE): Make pointers to the specialized implementations
46553         hidden.
46554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46556 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
46558         [BZ #14538]
46559         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46560         first element of the GOT.
46561         (elf_machine_load_address): Return the difference between
46562         the runtime address of _DYNAMIC and elf_machine_dynamic ().
46564 2012-09-01  Allan McRae  <allan@archlinux.org>
46566         [BZ #13412]
46567         * configure.in (AWK): Require gawk version 3.0 or later.
46568         * configure: Regenerated.
46570 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
46572         * sysdeps/unix/sysv/linux/kernel-features.h
46573         (__ASSUME_POSIX_CPU_TIMERS): Remove.
46574         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46575         [__NR_clock_getres]: Make code unconditional.
46576         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46577         (clock_getcpuclockid): Remove code left unreachable by removal of
46578         conditionals.
46579         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46580         code unconditional.
46581         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46582         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46583         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46584         Make code unconditional.
46585         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46586         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46587         * sysdeps/unix/sysv/linux/clock_settime.c
46588         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46589         conditional code.
46590         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46591         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46593 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
46595         [BZ #14476]
46596         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46597         scripts/test-installation.pl.
46599         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46600         and $ld_so_version if it is set.
46602 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46604         [BZ #14516]
46605         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46606         failure if reading from procfs failed.
46607         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46609 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
46611         * sysdeps/unix/sysv/linux/kernel-features.h
46612         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46613         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46614         Remove conditional code.
46615         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46616         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46617         Remove conditional code.
46618         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46619         * sysdeps/unix/sysv/linux/i386/fxstat.c
46620         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46621         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46622         * sysdeps/unix/sysv/linux/i386/fxstatat.c
46623         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46624         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46625         * sysdeps/unix/sysv/linux/i386/lxstat.c
46626         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46627         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46628         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46629         Remove conditional code.
46630         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46631         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46632         Remove conditional code.
46633         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46634         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46635         <kernel-features.h>.
46636         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46637         Remove.
46638         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46639         Remove conditional code.
46640         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46641         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46642         Remove conditional.
46644 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
46646         [BZ #5400]
46647         * NEWS: Add fixed bug number.
46649 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
46651         [BZ #14519]
46652         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46653         underflowing exponent in case of negative sign.
46654         * stdlib/tst-strtod-round-data: Add more tests.
46655         * stdlib/tst-strtod-round.c (tests): Regenerated.
46657         [BZ #3479]
46658         * stdlib/strtod_l.c (NDIG): Remove.
46659         (HEXNDIG): Likewise.
46660         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46661         smallest representable value.
46662         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46663         lie within an exact representation of 1/2 ulp of the result.
46664         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46665         unconditionally.
46666         (TENS_P9_IDX): Define unconditionally.
46667         (TENS_P9_SIZE): Likewise.
46668         (TENS_P10_IDX): Likewise.
46669         (TENS_P10_SIZE): Likewise.
46670         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46671         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46672         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46673         entries for 10^2^13 and 10^2^14.
46674         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46675         (TENS_P13_IDX): Define.
46676         (TENS_P13_SIZE): Likewise.
46677         (TENS_P14_IDX): Likewise.
46678         (TENS_P14_SIZE): Likewise.
46679         (_fpioconst_pow10): Change array size to
46680         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
46681         unconditional.
46682         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46683         1024]: Add entries for 10^2^13 and 10^2^14.
46684         [LAST_POW10 > _LAST_POW10]: Remove #error.
46685         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46686         (_fpioconst_pow10): Change array size to
46687         FPIOCONST_POW10_ARRAY_SIZE.
46688         * stdlib/gen-fpioconst.c: New file.
46689         * stdlib/gen-tst-strtod-round.c: Likewise.
46690         * stdlib/tst-strtod-round-data: Likewise.
46691         * stdlib/tst-strtod-round.c: Likewise.
46692         * stdlib/Makefile (tests): Add tst-strtod-round.
46694         [BZ #14459]
46695         * stdlib/strtod_l.c: Include <stdint.h>.
46696         (NDEBUG): Do not define.
46697         (round_and_return): Change EXPONENT parameter to type intmax_t.
46698         Rearrange calculations to avoid internal overflow possibilities.
46699         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46700         Rearrange calculations to avoid internal overflow possibilities.
46701         Assert that number fits inside MPNSIZE limbs.
46702         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46703         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
46704         calculations and add assertions to avoid internal overflow
46705         possibilities.  Add casts to avoid signed/unsigned operations.
46706         * stdlib/tst-strtod-overflow.c: New file.
46707         * stdlib/Makefile (tests): Add tst-strtod-overflow.
46709 2012-08-25  Marek Polacek  <polacek@redhat.com>
46711         * time/time.h: Fix some typos in comments.
46713 2012-08-23  Roland McGrath  <roland@hack.frob.com>
46715         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46716         * posix/tst-rfc3484-2.c: Likewise.
46717         * posix/tst-rfc3484-3.c: Likewise.
46719 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
46721         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46722         (EF_ARM_ABI_FLOAT_HARD): Likewise.
46724 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
46726         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46727         #include of fxstatat64.c.
46729 2012-08-22  Roland McGrath  <roland@hack.frob.com>
46731         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46732         * shadow/getspent_r.c: Likewise.
46733         * shadow/getspnam.c: Likewise.
46734         * shadow/getspnam_r.c: Likewise.
46735         * gshadow/getsgent.c: Likewise.
46736         * gshadow/getsgent_r.c: Likewise.
46737         * gshadow/getsgnam.c: Likewise.
46738         * gshadow/getsgnam_r.c: Likewise.
46739         * inet/getnetbyad.c: Likewise.
46740         * inet/getnetbyad_r.c: Likewise.
46741         * inet/getnetbynm.c: Likewise.
46742         * inet/getnetbynm_r.c: Likewise.
46743         * inet/getnetent.c: Likewise.
46744         * inet/getnetent_r.c: Likewise.
46745         * inet/getproto.c: Likewise.
46746         * inet/getproto_r.c: Likewise.
46747         * inet/getprtent.c: Likewise.
46748         * inet/getprtent_r.c: Likewise.
46749         * inet/getprtname.c: Likewise.
46750         * inet/getprtname_r.c: Likewise.
46751         * inet/getrpcbyname.c: Likewise.
46752         * inet/getrpcbyname_r.c: Likewise.
46753         * inet/getrpcbynumber.c: Likewise.
46754         * inet/getrpcbynumber_r.c: Likewise.
46755         * inet/getrpcent.c: Likewise.
46756         * inet/getrpcent_r.c: Likewise.
46757         * inet/getaliasent.c: Likewise.
46758         * inet/getaliasent_r.c: Likewise.
46759         * inet/getaliasname.c: Likewise.
46760         * inet/getaliasname_r.c: Likewise.
46761         * nscd/getgrgid_r.c: Likewise.
46762         * nscd/getgrnam_r.c: Likewise.
46763         * nscd/gethstbyad_r.c: Likewise.
46764         * nscd/gethstbynm3_r.c: Likewise.
46765         * nscd/getpwnam_r.c: Likewise.
46766         * nscd/getpwuid_r.c: Likewise.
46767         * nscd/getsrvbynm_r.c: Likewise.
46768         * nscd/getsrvbypt_r.c: Likewise.
46769         * nscd/gai.c: Likewise.
46771         * configure.in (build_nscd): New substituted variable, set
46772         by --disable-build-nscd and defaults to $use_nscd.
46773         * configure: Regenerated.
46774         * config.make.in (build-nscd): New substituted variable.
46775         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46776         Change conditional to require [$(build-nscd) = yes] as well.
46777         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46779         [BZ# 13696]
46780         * configure.in (use_nscd): New substituted variable, set by
46781         --disable-nscd.  If enabled, define USE_NSCD.
46782         * configure: Regenerated.
46783         * config.h.in: Add USE_NSCD.
46784         * config.make.in (use-nscd): New substituted variable.
46785         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46786         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46787         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46788         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46789         (CFLAGS-getgrnam_r.c): Likewise.
46790         (CFLAGS-initgroups.c): Likewise.
46791         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46792         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46793         Variables removed.
46794         * inet/getnetgrent_r.c
46795         (nscd_setnetgrent): New function, broken out of ...
46796         (setnetgrent): ... here.  Call it.
46797         (innetgr): Conditionalize nscd bits on [USE_NSCD].
46798         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46799         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46800         * nscd/Makefile (routines, aux): Move definitions after include of
46801         Makeconfig.  Conditionalize on [$(use-nscd) != no].
46802         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46803         Conditionalize on [USE_NSCD].
46804         (is_nscd, nscd_init_cb): Likewise.
46805         (nss_load_library): Conditionalize init callback on [USE_NSCD].
46806         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46807         * nss/nss_db/db-init.c: Likewise.
46808         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46809         [USE_NSCD].
46810         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46811         (make_request): Use it.
46812         (cache_valid_p): New function.
46813         (__check_pf): Use it.
46814         * NEWS: Add item for --disable-nscd.
46816 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
46818         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46819         to support sed >= 4.2.1-20-ga9bf076.
46820         * configure: Regenerated.
46822 2012-08-22  Roland McGrath  <roland@hack.frob.com>
46824         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46825         Conditionalize whole body on [IREL].
46827 2012-08-22  Jeff Law <law@redhat.com>
46829         [BZ #14505]
46830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46831         if the family is PF_UNSPEC.
46833 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
46835         * Makerules (lib-version): Rename from V.
46836         (install-lib-nosubdir): Change V to lib-version.
46838 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
46840         [BZ #14252]
46841         * powerpc32/power6/wcschr.c: New file.
46842         * powerpc32/power6/wcscpy.c: New file.
46843         * powerpc32/power6/wcsrchr.c: New file.
46844         * powerpc64/power6/wcschr.c: New file.
46845         * powerpc64/power6/wcscpy.c: New file.
46846         * powerpc64/power6/wcsrchr.c: New file.
46848 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
46850         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46851         (two_way_short_needle): Use it.
46852         * string/strstr.c (AVAILABLE1_USES_J): Define.
46853         * string/strcasestr.c: Likewise.
46855         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46856         array references.
46857         * string/strcasestr.c (TOLOWER): Make side-effect safe.
46859         [BZ #11607]
46860         * NEWS: Add an entry.
46861         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46862         define their defaults.
46863         (two_way_short_needle): Detect end-of-string on-the-fly.
46864         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46865         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46866         * string/bug-strcasestr1.c: New test.
46867         * string/Makefile: Run it.
46869 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
46871         [BZ #11607]
46872         * string/str-two-way.h (two_way_short_needle): Optimize matching of
46873         the first character.
46875 2012-08-21  Roland McGrath  <roland@hack.frob.com>
46877         * csu/elf-init.c (__libc_csu_irel): Function removed.
46878         * csu/libc-start.c (apply_irel): New function.
46879         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46881 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
46883         * sysdeps/unix/sysv/linux/kernel-features.h
46884         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46885         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46886         <kernel-features.h>.
46887         [__NR_fadvise64_64]: Make code unconditional.
46888         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46889         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46890         !__NR_fadvise64_64)]: Likewise.
46891         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46892         !__NR_fadvise64_64))]: Likewise.
46893         [__NR_fadvise64]: Make code unconditional.
46894         [!__NR_fadvise64]: Remove conditional code.
46895         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46896         <kernel-features.h>.
46897         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46898         unconditional.
46899         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46900         conditional code.
46901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46902         not include <kernel-features.h>.
46903         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46904         unconditional.
46905         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46906         conditional code.
46907         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46908         include <kernel-features.h>.
46909         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46910         unconditional.
46911         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46912         conditional code.
46914 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46916         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46917         slight instruction rearrangements per scrollpipe analysis.
46918         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46920 2012-08-20  Roland McGrath  <roland@hack.frob.com>
46922         * manual/syslog.texi (syslog; vsyslog, closelog):
46923         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46924         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46926         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46927         DSOCAPS to match condition on defining it.
46929 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
46931         * sysdeps/unix/sysv/linux/kernel-features.h
46932         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46934         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46935         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46937         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46938         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46940         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46941         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46943         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46944         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46946         * sysdeps/unix/sysv/linux/kernel-features.h
46947         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46948         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46949         unconditional.
46950         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46951         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46952         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46953         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46954         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46955         Make code unconditional.
46956         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46957         (__mmap64) [!__NR_mmap2]: Likewise.
46958         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46959         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46960         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46961         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46962         [__NR_mmap2]: Make code unconditional.
46963         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46964         (__mmap64) [!__NR_mmap2]: Likewise.
46966 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46968         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46970 2012-08-18  Andreas Jaeger  <aj@suse.de>
46972         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46974 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46976         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46977         * include/unistd.h (__have_sock_cloexec): Likewise.
46978         (__have_pipe2): Likewise.
46979         (__have_dup3): Likewise.
46981 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46983         [BZ #9685]
46984         * include/unistd.h (__have_pipe2): Change define into an extern int.
46985         (__have_dup3): Likewise.
46986         * socket/have_sock_cloexec.c: Include fcntl.h.
46987         (__have_pipe2): New variable.
46988         (__have_dup3): Likewise.
46990 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46992         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46994 2012-08-17  Marek Polacek  <polacek@redhat.com>
46996         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46997         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46999 2012-08-17  Roland McGrath  <roland@hack.frob.com>
47001         * configure.in: Add AC_SUBST for sysheaders.
47002         * configure: Regenerated.
47003         * config.make.in (sysheaders): New substituted variable.
47005         * sysdeps/unix/mkfifo.c: Moved ...
47006         * sysdeps/posix/mkfifo.c: ... here.
47007         * sysdeps/unix/mkfifoat.c: Moved ...
47008         * sysdeps/posix/mkfifoat.c: ... here.
47010         * sysdeps/unix/utime.c: Moved ...
47011         * sysdeps/posix/utime.c: ... here.
47013         * sysdeps/unix/time.c: Moved ...
47014         * sysdeps/posix/time.c: ... here.
47015         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
47016         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
47018         * sysdeps/unix/nice.c: Moved ...
47019         * sysdeps/posix/nice.c: ... here.
47021         * sysdeps/unix/alarm.c: Moved ...
47022         * sysdeps/posix/alarm.c: ... here.
47024         * intl/Makefile ($(codeset_mo)): Depend on the input file.
47026 2012-08-17  Jeff Law <law@redhat.com>
47028         * intl/Makefile (codeset_mo): New variable.
47029         ($(codeset_mo)): New target.
47030         (tst-codeset.out): Depend on that.  Remove explicit rule.
47031         (tst-gettext3.out, tst-gettext5.out): Likewise.
47032         (LOCPATH-ENV, tst-codeset-ENV): New variables.
47033         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
47034         * intl/tst-codeset.sh: Remove.
47035         * intl/tst-gettext3.sh: Likewise.
47036         * intl/tst-gettext5.sh: Likewise.
47038 2012-08-17  Roland McGrath  <roland@hack.frob.com>
47040         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
47041         * sysdeps/unix/syscalls.list: ... here.
47043         * sysdeps/posix/getaddrinfo.c
47044         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
47045         (gaiconf_init, gaiconf_reload): Use them.
47046         [!_STATBUF_ST_NSEC]
47047         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
47048         Define using time_t rather than struct timespec.
47050         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
47051         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
47052         Macros removed.
47053         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
47054         [!NO_THREADS].
47055         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
47056         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
47057         Likewise.
47059         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
47060         __libc_cleanup_push argument.
47062         * bits/param.h: New file.
47063         * misc/sys/param.h: New file.
47064         * include/sys/param.h: New file.
47065         * misc/Makefile (headers): Add bits/param.h.
47066         * sysdeps/generic/sys/param.h: File removed.
47067         * sysdeps/unix/sysv/linux/bits/param.h: New file.
47068         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
47069         * sysdeps/mach/hurd/bits/param.h: New file.
47070         * sysdeps/mach/hurd/sys/param.h: File removed.
47072         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
47073         last change.
47075         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
47076         [_IO_MTSAFE_IO].
47077         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
47078         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
47079         New macros.
47081         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
47082         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
47083         rather than -D_IO_MTSAFE_IO conditionally.
47084         * stdio-common/Makefile (CPPFLAGS): Likewise.
47085         * wcsmbs/Makefile (CPPFLAGS): Likewise.
47086         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
47087         Use $(libio-mtsafe).
47088         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
47089         of -D_IO_MTSAFE_IO.
47090         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
47091         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
47092         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
47093         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
47094         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
47095         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
47096         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
47097         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
47098         (CFLAGS-fread_u_chk.c): Likewise.
47099         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
47100         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
47101         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
47102         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
47103         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
47104         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
47105         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
47106         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
47107         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
47109         * libio/Makefile: Test [$(libc-reentrant) = yes]
47110         instead of [$(filter %REENTRANT, $(defines)) nonempty].
47112         * Makeconfig
47113         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
47114         * sysdeps/pthread/configure: File removed.
47115         * sysdeps/pthread/Makeconfig: New file.
47116         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
47117         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
47119 2012-08-16  Gary Benson  <gbenson@redhat.com>
47121         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
47122         unmapping the first object in a namespace.
47124 2012-08-16  Roland McGrath  <roland@hack.frob.com>
47126         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
47127         (__internal_setnetgrent): ... this.  Add internal_function to
47128         definition.  Add libc_hidden_def.
47129         (setnetgrent): Update caller.
47130         (internal_endnetgrent): Renamed to ...
47131         (__internal_endnetgrent): ... this.  Add internal_function to
47132         definition.  Add libc_hidden_def.
47133         (endnetgrent): Update caller.
47134         (internal_getnetgrent_r): Renamed to ...
47135         (__internal_getnetgrent_r): ... this.  Add internal_function to
47136         definition.  Add libc_hidden_def.
47137         (__getnetgrent_r): Update caller.
47138         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
47140 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
47142         * stdlib/longlong.h: Update from GCC.
47144 2012-08-16  Roland McGrath  <roland@hack.frob.com>
47146         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
47147         on _QL, which is set by umul_ppmm but never used.
47148         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
47149         variables, which are set by GMP macros but never used.
47150         * stdio-common/_itowa.c (_itowa): Likewise.
47151         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
47152         * stdlib/mod_1.c (mpn_mod_1): Likewise.
47154 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
47156         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
47157         struct La_sh_regs is not constant.
47158         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
47159         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
47160         and struct La_sparc64_regs are not constant.
47162 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
47164         * sysdeps/unix/sysv/linux/kernel-features.h
47165         (__ASSUME_POSIX_TIMERS): Remove.
47166         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47167         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47168         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
47169         Make code unconditional.
47170         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47171         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
47172         Make code unconditional.
47173         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47174         * sysdeps/unix/sysv/linux/clock_nanosleep.c
47175         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
47176         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47177         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
47178         Make code unconditional.
47179         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
47180         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
47181         (__libc_missing_posix_timers): Remove.
47183 2012-08-15  Roland McGrath  <roland@hack.frob.com>
47185         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
47186         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
47188         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
47190         * elf/dl-sym.c: Include <stdlib.h>.
47192         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
47193         constants, which avoids warnings in 32-bit builds.
47195         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
47196         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
47198         * misc/lseek.c: File moved to ...
47199         * io/lseek.c: ... here.
47201         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
47203         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
47204         shifting LEN more than 31 bits at once.
47206 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47208         [BZ #14195]
47209         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
47210         segmentation fault for a case of two empty input strings.
47211         * string/test-strncasecmp.c (check1): Renamed to...
47212         (bz12205): ...this.
47213         (bz14195): Add new testcase for two empty input strings and N > 0.
47214         (test_main): Call new testcase, adapt for renamed function.
47216 2012-08-15  Andreas Jaeger  <aj@suse.de>
47218         [BZ #14090]
47219         * crypt/md5test2.c: New test, based on test supplied by Serge
47220         Belyshev <belyshev@depni.sinp.msu.ru>.
47221         * crypt/Makefile (xtests): Add md5test-giant..
47222         * crypt/Makefile ($(objpfx)md5test-giant): Add.
47224 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
47226         [BZ #14090]
47227         * crypt/md5.c (md5_process_block): Don't assume the buffer
47228         length is less than 2**32.
47229         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
47230         length is less than 2**64.
47232 2012-08-15  Roland McGrath  <roland@hack.frob.com>
47234         * string/str-two-way.h: Include <sys/param.h>.
47235         (MAX): Macro removed.
47237         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
47238         Move #define and #undef of memmove to just before and after
47239         including <string.h>.
47241         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
47242         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
47243         and after including <string.h>.  Move declarations of
47244         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
47245         to before #include "string/memmove.c".
47247         * include/dirent.h: Declare __getdirentries.
47249         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
47250         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47252 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
47254         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47255         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47256         * sysdeps/i386/configure: Regenerated.
47257         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47258         STABS_CURRENT_FILE, and STABS_FUN.
47259         (END): Remove call to STABS_FUN_END.
47260         (STABS_CURRENT_FILE1): Delete.
47261         (STABS_CURRENT_FILE): Likewise.
47262         (STABS_FUN): Likewise.
47263         (STABS_FUN_END): Likewise.
47264         (STABS_FUN2): Likewise.
47265         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47266         * sysdeps/x86_64/configure: Regenerated.
47268 2012-08-14  Roland McGrath  <roland@hack.frob.com>
47270         * elf/dl-open.c: Include <atomic.h>.
47271         * elf/dl-lookup.c: Likewise.
47273 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
47275         * sysdeps/unix/sysv/linux/kernel-features.h
47276         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47277         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47278         unconditionally.
47279         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47280         unconditionally.
47281         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47282         condition on __ASSUME_CLONE_THREAD_FLAGS.
47284 2012-08-14  Andreas Jaeger  <aj@suse.de>
47286         * sysdeps/i386/fpu/libm-test-ulps: Update.
47288 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
47290         * include/atomic.h (atomic_exchange_and_add): Split into ...
47291         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47292         New atomic macros.
47294 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
47296         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47298 2012-08-13  Jeff Law <law@redhat.com>
47300         * manual/stdio.texi (snprintf): Clarify handling of the trailing
47301         null byte in the output string.
47303 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
47305         * sysdeps/unix/sysv/linux/kernel-features.h
47306         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47307         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47308         (__ASSUME_ARG_MAX_STACK_BASED): Define.
47309         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47310         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47311         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
47312         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47314 2012-08-09  Jeff Law <law@redhat.com>
47316         [BZ #13939]
47317         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47318         When avoid_arena is set, don't retry in the that arena.  Pick the
47319         next one, whatever it might be.
47320         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47321         (arena_lock): Pass in new parameter to arena_get2.
47322         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47323         arena_get2.
47324         (__libc_malloc): Unify retrying after main arena failure with
47325         __libc_memalign version.
47326         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47328 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
47330         [BZ #14166]
47331         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47332         to __redirect_strstr.
47333         (__strstr_sse42): Use typeof __redirect_strstr.
47334         (__strstr_ia32): Likewise.
47335         (__libc_strstr): New prototype.
47336         (strstr): Renamed to ...
47337         (__libc_strstr): This.
47338         (strstr): New strong alias of __libc_strstr.
47339         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47340         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47341         __redirect_time.
47342         Include <time.h>.
47343         (__libc_time): New prototype.
47344         (time_ifunc): Replace time with __libc_time.
47345         (time): New strong alias and hidden definition of __libc_time.
47346         (__GI_time): Remove strong alias.
47347         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47348         Include <stddef.h>.
47349         (memmove): Redefined to __redirect_memmove.
47350         (__memmove_sse2): Use typeof __redirect_memmove.
47351         (__memmove_ssse3): Likewise.
47352         (__memmove_ssse3_back): Likewise.
47353         (__libc_memmove): New prototype.
47354         (memmove): Renamed to ...
47355         (__libc_memmove): This.
47356         (memmove): New strong alias of __libc_memmove.
47358 2012-08-08  Mark Salter  <msalter@redhat.com>
47360         * elf/elf.h
47361         (R_MN10300_TLS_GD): Define.
47362         (R_MN10300_TLS_LD): Likewise.
47363         (R_MN10300_TLS_LDO): Likewise.
47364         (R_MN10300_TLS_GOTIE): Likewise.
47365         (R_MN10300_TLS_IE): Likewise.
47366         (R_MN10300_TLS_LE): Likewise.
47367         (R_MN10300_TLS_DTPMOD): Likewise.
47368         (R_MN10300_TLS_DTPOFF): Likewise.
47369         (R_MN10300_TLS_TPOFF): Likewise.
47370         (R_MN10300_SYM_DIFF): Likewise.
47371         (R_MN10300_ALIGN): Likewise.
47372         (R_MN10300_NUM): Update.
47374 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
47376         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47377         Remove.
47379 2012-08-08  Roland McGrath  <roland@hack.frob.com>
47381         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47383         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47384         sysdeps/unix -> sysdeps/posix move.
47385         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47387 2012-08-07      Allan McRae     <allan@archlinux.org>
47389         [BZ #14303]
47390         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47391         (SUNOS_CPP): Likewise.
47392         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47393         not found.
47394         (open_input): Call CPP using execvp.
47396 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47398         * sysdeps/unix/sysv/linux/kernel-features.h
47399         (__ASSUME_PROT_GROWSUPDOWN): Remove.
47400         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47401         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47402         (__ASSUME_WAITID_SYSCALL): Likewise.
47403         * sysdeps/unix/sysv/linux/dl-execstack.c
47404         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47405         code unconditional.
47406         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47407         conditional code.
47408         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47409         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47410         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47411         code.
47412         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47413         unconditional.
47414         [__ASSUME_WAITID_SYSCALL]: Likewise.
47415         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47417 2012-08-07  Roland McGrath  <roland@hack.frob.com>
47419         * sysdeps/unix/closedir.c: Renamed to ...
47420         * sysdeps/posix/closedir.c: ... here.
47421         * sysdeps/unix/dirfd.c: Renamed to ...
47422         * sysdeps/posix/dirfd.c: ... here.
47423         * sysdeps/unix/dirstream.h: Renamed to ...
47424         * sysdeps/posix/dirstream.h: ... here.
47425         * sysdeps/unix/fdopendir.c: Renamed to ...
47426         * sysdeps/posix/fdopendir.c: ... here.
47427         * sysdeps/unix/opendir.c: Renamed to ...
47428         * sysdeps/posix/opendir.c: ... here.
47429         * sysdeps/unix/readdir.c: Renamed to ...
47430         * sysdeps/posix/readdir.c: ... here.
47431         * sysdeps/unix/readdir_r.c: Renamed to ...
47432         * sysdeps/posix/readdir_r.c: ... here.
47433         * sysdeps/unix/rewinddir.c: Renamed to ...
47434         * sysdeps/posix/rewinddir.c: ... here.
47435         * sysdeps/unix/seekdir.c: Renamed to ...
47436         * sysdeps/posix/seekdir.c: ... here.
47437         * sysdeps/unix/telldir.c: Renamed to ...
47438         * sysdeps/posix/telldir.c: ... here.
47439         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47440         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47441         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47442         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47444         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47445         * bits/fcntl.h: ... here.
47447         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47448         not 0.
47449         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47450         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47451         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47452         (struct flock): Move l_start, l_len to the beginning.
47453         Use __pid_t for l_pid.
47454         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47455         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47456         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47457         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47458         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47459         [__USE_LARGEFILE64] (struct flock64): New type.
47460         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47462         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47463         * bits/dirent.h: ... here.
47465         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47466         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47468 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47470         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47471         Change from 2.6.0 to 2.6.16.
47472         * sysdeps/unix/sysv/linux/configure: Regenerated.
47473         * sysdeps/unix/sysv/linux/kernel-features.h
47474         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47475         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47476         version.
47477         (__ASSUME_UTIMES): Likewise.
47478         (__ASSUME_CLONE_STOPPED): Remove.
47479         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47480         architectures, not kernel version.
47481         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47482         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47483         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47484         (__ASSUME_WAITID_SYSCALL): Likewise.
47485         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47486         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47487         * README: State 2.6.16 as minimum Linux kernel version.  Do not
47488         refer to older versions.
47490 2012-08-06  Roland McGrath  <roland@hack.frob.com>
47492         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47493         Define alphasort64 as an alias.
47494         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47495         Define versionsort64 as an alias.
47496         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47497         Define scandir64 as an alias.
47498         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47499         Define scandirat64 as an alias.
47500         * dirent/alphasort64.c (alphasort64):
47501         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47502         * dirent/versionsort64.c: Likewise.
47503         * dirent/scandir64.c: Likewise.
47504         * dirent/scandirat64.c: Likewise.
47505         * sysdeps/wordsize-64/alphasort.c: File removed.
47506         * sysdeps/wordsize-64/alphasort64.c: File removed.
47507         * sysdeps/wordsize-64/scandir.c: File removed.
47508         * sysdeps/wordsize-64/scandir64.c: File removed.
47509         * sysdeps/wordsize-64/scandirat.c: File removed.
47510         * sysdeps/wordsize-64/scandirat64.c: File removed.
47511         * sysdeps/wordsize-64/versionsort.c: File removed.
47512         * sysdeps/wordsize-64/versionsort64.c: File removed.
47513         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47514         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47515         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47516         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47517         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47518         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47519         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47520         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47522         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47523         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47524         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47525         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47526         [defined __arch64__ || defined __sparcv9]
47527         (__INO_T_MATCHES_INO64_T): New macro.
47528         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47529         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47530         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47531         * sysdeps/unix/sysv/linux/bits/dirent.h
47532         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47533         (_DIRENT_MATCHES_DIRENT64): New macro.
47535         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47536         Define lockf64 as an alias.
47537         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47538         Define fseeko64 as an alias.
47539         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47540         Define ftello64 as an alias.
47541         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47542         Define _IO_fgetpos64 and fgetpos64 as aliases.
47543         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47544         Define _IO_fsetpos64 and fsetpos64 as aliases.
47545         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47546         Conditionalize body on this.
47547         * libio/fseeko64.c: Likewise.
47548         * libio/ftello64.c: Likewise.
47549         * libio/iofgetpos64.c: Likewise.
47550         * libio/iofsetpos64.c: Likewise.
47551         * sysdeps/wordsize-64/lockf.c: File removed.
47552         * sysdeps/wordsize-64/lockf64.c: File removed.
47553         * sysdeps/wordsize-64/fseeko.c: File removed.
47554         * sysdeps/wordsize-64/fseeko64.c: File removed.
47555         * sysdeps/wordsize-64/ftello.c: File removed.
47556         * sysdeps/wordsize-64/ftello64.c: File removed.
47557         * sysdeps/wordsize-64/iofgetpos.c: File removed.
47558         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47559         * sysdeps/wordsize-64/iofsetpos.c: File removed.
47560         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47561         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47563         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47564         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47565         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47566         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47567         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47568         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47569         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47570         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47572         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47573         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47574         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47575         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47576         [defined __arch64__ || defined __sparcv9]
47577         (__OFF_T_MATCHES_OFF64_T): New macro.
47578         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47579         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47580         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47581         (__OFF_T_MATCHES_OFF64_T): New macro.
47583 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
47585         * stdlib/secure-getenv.c (__secure_getenv): Replace
47586         GLIBC_2_16 with GLIBC_2_17.
47588 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
47590         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47591         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47593 2012-08-03  David S. Miller  <davem@davemloft.net>
47595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47597 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
47599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47600         Remove.
47601         (__ASSUME_CORRECT_SI_PID): Likewise.
47602         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47603         (__ASSUME_TMPFS_NAME): Likewise.
47604         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47605         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47606         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47607         (HAVE_AUX_SECURE): Make definition unconditional.
47608         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47609         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47611 2012-08-03  Roland McGrath  <roland@hack.frob.com>
47613         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47614         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47615         * sysdeps/mach/hurd/eloop-threshold.h: New file.
47616         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47617         __eloop_threshold instead of SYMLOOP_MAX.
47619         * sysdeps/generic/eloop-threshold.h: New file.
47620         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47621         of MAXSYMLINKS.
47622         * elf/chroot_canon.c (chroot_canon): Likewise.
47624 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
47626         [BZ #13717]
47627         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47628         Change to 2.6.0 everywhere.
47629         * sysdeps/unix/sysv/linux/configure: Regenerated.
47630         * sysdeps/unix/sysv/linux/kernel-features.h
47631         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47632         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47633         kernel versions.
47634         (__ASSUME_POSIX_TIMERS): Define unconditionally.
47635         (__ASSUME_FUTEX_REQUEUE): Remove.
47636         (__ASSUME_STATFS64): Define unconditionally.
47637         (__ASSUME_AT_SECURE): Likewise.
47638         (__ASSUME_CORRECT_SI_PID): Likewise.
47639         (__ASSUME_TGKILL): Define without depending on kernel version for
47640         i386.
47641         (__ASSUME_UTIMES): Likewise.
47642         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47643         kernel version.
47644         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47645         (__ASSUME_TMPFS_NAME): Likewise.
47646         * README: Update reference to Linux kernel versions.
47648 2012-08-02  Marek Polacek  <polacek@redhat.com>
47650         [BZ# 14150]
47651         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
47652         libc_cv_asm_type_prefix with %.
47653         * configure: Regenerated.
47654         * include/libc-symbols.h: Remove comment about
47655         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47656         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47657         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47658         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47659         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47660         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47661         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47662         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47663         * elf/tst-unique2mod1.c: Likewise.
47664         * elf/tst-unique1mod2.c: Likewise.
47665         * elf/tst-unique1mod1.c: Likewise.
47666         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47667         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47668         Replace ASM_TYPE_DIRECTIVE with .type.
47669         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47670         * sysdeps/i386/sysdep.h: Likewise.
47671         * sysdeps/x86_64/sysdep.h: Likewise.
47672         * sysdeps/sh/sysdep.h: Likewise.
47673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47674         Do not define ASM_TYPE_DIRECTIVE.
47675         * sysdeps/powerpc/sysdep.h: Likewise.
47676         * sysdeps/powerpc/powerpc32/sysdep.h:
47677         Replace ASM_TYPE_DIRECTIVE with .type.
47678         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47679         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47680         * sysdeps/i386/fpu/e_powf.S: Likewise.
47681         * sysdeps/i386/fpu/e_expl.S: Likewise.
47682         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47683         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47684         * sysdeps/i386/fpu/e_pow.S: Likewise.
47685         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47686         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47687         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47688         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47689         * sysdeps/i386/fpu/e_log2.S: Likewise.
47690         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47691         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47692         * sysdeps/i386/fpu/e_powl.S: Likewise.
47693         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47694         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47695         * sysdeps/i386/fpu/e_logl.S: Likewise.
47696         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47697         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47698         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47699         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47700         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47701         * sysdeps/i386/fpu/e_log.S: Likewise.
47702         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47703         * sysdeps/i386/fpu/e_logf.S: Likewise.
47704         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47705         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47706         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47707         * sysdeps/i386/fpu/e_log10.S: Likewise.
47708         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47709         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47710         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47711         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47712         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47713         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47714         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47715         * sysdeps/i386/i686/strtok.S: Likewise.
47716         * sysdeps/i386/i386-mcount.S: Likewise.
47717         * sysdeps/i386/strtok.S: Likewise.
47718         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47719         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47720         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47721         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47722         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47723         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47724         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47725         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47726         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47727         * sysdeps/x86_64/_mcount.S: Likewise.
47728         * sysdeps/x86_64/strtok.S: Likewise.
47729         * sysdeps/sh/_mcount.S: Likewise.
47731 2012-08-01  Roland McGrath  <roland@hack.frob.com>
47733         * libio/iofopen.c: Include <fcntl.h>.
47734         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47735         (_IO_fopen64, fopen64): Define as aliases.
47736         * libio/iofopen64.c: Include <fcntl.h>.
47737         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47738         Conditionalize body on this.
47739         * sysdeps/wordsize-64/iofopen.c: File removed.
47740         * sysdeps/wordsize-64/iofopen64.c: File removed.
47742 2012-08-01  Marek Polacek  <polacek@redhat.com>
47744         * libc/Makeconfig: Use elf in place of binfmt-subdir.
47745         Use dlfcn directly instead of a variable.
47746         (binfmt-subdir): Do not define.
47747         (dlfcn): Likewise.
47749 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
47751         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47752         Remove all definitions.
47753         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47754         <kernel-features.h>.
47755         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47756         (miss_F_GETOWN_EX): Remove all definitions.
47757         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47758         macro definition.
47759         [!__ASSUME_FCNTL64]: Remove conditional code.
47760         [__ASSUME_FCNTL64]: Make code unconditional.
47761         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47762         <kernel-features.h>.
47763         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47764         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47765         (lockf64) [__NR_fcntl64]: Make code unconditional.
47766         (lockf64) [__ASSUME_FCNTL64]: Likewise.
47768         * sysdeps/unix/sysv/linux/kernel-features.h
47769         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47770         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47771         Make code unconditional.
47772         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47773         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47775         [__NR_vfork]: Make code unconditional.
47776         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47777         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47779         [__NR_vfork]: Make code unconditional.
47780         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47781         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47783 2012-08-01  Roland McGrath  <roland@hack.frob.com>
47785         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47786         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47788         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47789         Define mkstemp64 as an alias.
47790         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47791         Define mkstemps64 as an alias.
47792         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47793         Define mkostemp64 as an alias.
47794         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47795         Define mkostemps64 as an alias.
47796         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47797         Conditionalize body on this.
47798         * misc/mkostemp64.c: Likewise.
47799         * misc/mkostemps64.c: Likewise.
47800         * misc/mkstemps64.c: Likewise.
47801         * sysdeps/wordsize-64/mkstemp64.c: File removed.
47802         * sysdeps/wordsize-64/mkostemp64.c: File removed.
47803         * sysdeps/wordsize-64/mkostemp.c: File removed.
47804         * sysdeps/wordsize-64/mkstemp.c: File removed.
47805         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47810         [BZ #14138]
47811         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47812         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47813         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47814         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47816         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47817         compat_symbol macros from <shlib-compat.h> rather than the underlying
47818         default_symbol_version and symbol_version macros, so that DEFAULT
47819         lines in shlib-versions are respected.
47820         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47822 2012-08-01  Florian Weimer  <fweimer@redhat.com>
47824         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47825         Declare with warn_unused_result.
47826         (setgid, setregid, setegid, setresgid): Likewise.
47827         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47828         Likewise.
47829         * WUR-REPORT: Remove set*id functions.
47831 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
47833         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47835 2012-07-31  Roland McGrath  <roland@hack.frob.com>
47837         [BZ #10191]
47838         * include/sys/socket.h (__libc_accept, __libc_accept4):
47839         Add attribute_hidden.
47840         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47842         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47843         use of PTR_MANGLE.
47844         * inet/getnetgrent_r.c (setup): Likewise.
47846         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47848 2012-07-31  David S. Miller  <davem@davemloft.net>
47850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47852 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #13629]
47855         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47856         value between 1.0 and 2.0 and smaller part has absolute value less
47857         than 1.0.
47858         * math/s_clog10.c (__clog10): Likewise.
47859         * math/s_clog10f.c (__clog10f): Likewise.
47860         * math/s_clog10l.c (__clog10l): Likewise.
47861         * math/s_clogf.c (__clogf): Likewise.
47862         * math/s_clogl.c (__clogl): Likewise.
47863         * math/libm-test.inc (clog_test): Add more tests.
47864         (clog10_test): Likewise.
47865         * sysdeps/i386/fpu/libm-test-ulps: Update.
47866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47868 2012-07-31  Florian Weimer  <fweimer@redhat.com>
47870         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47871         Exit with zero in case no suitable GID is found, and write a
47872         message to standard error.
47874 2012-07-30  Roland McGrath  <roland@hack.frob.com>
47876         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47877         rather than to 1.
47878         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47879         (MAXPATHLEN): Removed.
47880         (NOGROUP, NODEV): New macros.
47881         (setbit, clrbit, isset, isclr): New macros.
47882         (howmany, roundup, powerof2): New macros.
47883         (DEV_BSIZE): New macro.
47885         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47886         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47888         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47889         definition on [!__NO_LONG_DOUBLE_MATH].
47891         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47892         PTR_MANGLE and PTR_DEMANGLE.
47894         * socket/accept4.c (accept4): Rename to __libc_accept4.
47895         Define accept4 as a weak alias.
47897         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47898         on [_DIRENT_HAVE_D_TYPE].
47899         * io/ftw.c (ftw_dir): Likewise.
47901         * io/xmknod.c (__xmknod): Don't check PATH for being null.
47903         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47905         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47906         Use the BSD numbers rather than the arbitrary ones we had.
47907         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47908         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47909         (SIGXCPU, SIGXFSZ): New macros.
47910         (_NSIG): Now 32.
47912         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47913         initializer on [_LIBC_REENTRANT].
47915         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47916         definitions inside [_POSIX_MAPPED_FILES].
47918         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47920         * dirent/opendir.c: Include <fcntl.h>.
47922         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47923         (__libc_getspecific): Likewise.
47924         (__libc_key_create): Likewise.
47926         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47927         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47928         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47929         (tmpfile64): Define as alias.
47930         * sysdeps/wordsize-64/tmpfile.c: File removed.
47931         * sysdeps/wordsize-64/tmpfile64.c: File removed.
47932         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47933         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47935         * stdio-common/vfscanf.c: Include <stdbool.h>.
47936         * nss/makedb.c: Likewise.
47937         * stdio-common/_i18n_number.h: Likewise.
47938         * argp/argp-help.c: Likewise.
47939         * posix/wordexp.c: Likewise.
47940         * sysdeps/posix/spawni.c: Likewise.
47941         * nss/nss_files/files-initgroups.c: Likewise.
47942         * stdio-common/reg-modifier.c: Include <stdlib.h>.
47943         * nss/nss_files/files-initgroups.c: Likewise.
47944         * nss/nss_db/db-netgrp.c: Likewise.
47945         * nss/nss_db/db-initgroups.c: Likewise.
47946         * io/fchmodat.c: Include <sys/stat.h>.
47948         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47949         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47951         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47952         [HAVE_MMAP].
47954         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47955         Add multiple inclusion protection.
47957 2012-07-27  David S. Miller  <davem@davemloft.net>
47959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47961 2012-07-27  Gary Benson  <gbenson@redhat.com>
47963         [BZ #14298]
47964         * elf/rtld.c: Include <stap-probe.h>.
47965         (dl_main): Added static probes "init_start" and "init_complete".
47966         * elf/dl-load.c: Include <stap-probe.h>.
47967         (lose): Take new parameter "nsid".
47968         Added static probe "map_failed".
47969         (_dl_map_object_from_fd): Pass namespace id to lose.
47970         Added static probe "map_start".
47971         (open_verify): Pass namespace id to lose.
47972         * elf/dl-open.c: Include <stap-probe.h>.
47973         (dl_open_worker) Added static probes "map_complete", "reloc_start"
47974         and "reloc_complete".
47975         * elf/dl-close.c: Include <stap-probe.h>.
47976         (_dl_close_worker): Added static probes "unmap_start" and
47977         "unmap_complete".
47978         * elf/rtld-debugger-interface.txt: New file documenting the above.
47980 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47982         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47983         rather than a string variable.
47984         * sunrpc/rpc_main.c (h_output): Likewise.
47985         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47987 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47989         * inet/check_native.c: New file.
47991 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47993         [BZ #13629]
47994         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47995         if larger part has absolute value 1.0.
47996         * math/s_clog10.c (__clog10): Likewise.
47997         * math/s_clog10f.c (__clog10f): Likewise.
47998         * math/s_clog10l.c (__clog10l): Likewise.
47999         * math/s_clogf.c (__clogf): Likewise.
48000         * math/s_clogl.c (__clogl): Likewise.
48001         * math/libm-test.inc (clog_test): Add more tests.
48002         (clog10_test): Likewise.
48003         * sysdeps/i386/fpu/libm-test-ulps: Update.
48004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48006         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
48007         (pltexit): Likewise.
48008         (La_regs): Likewise.
48009         (La_retval): Likewise.
48010         (int_retval): Likewise.
48011         Update #error for removed macros to refer only to definitions in
48012         tst-audit.h.
48013         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
48014         macro.
48015         (pltexit): Likewise.
48016         (La_regs): Likewise.
48017         (La_retval): Likewise.
48018         (int_retval): Likewise.
48019         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
48020         macro.
48021         (pltexit): Likewise.
48022         (La_regs): Likewise.
48023         (La_retval): Likewise.
48024         (int_retval): Likewise.
48025         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
48026         macro.
48027         (pltexit): Likewise.
48028         (La_regs): Likewise.
48029         (La_retval): Likewise.
48030         (int_retval): Likewise.
48031         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
48032         macro.
48033         (pltexit): Likewise.
48034         (La_regs): Likewise.
48035         (La_retval): Likewise.
48036         (int_retval): Likewise.
48037         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
48038         macro.
48039         (pltexit): Likewise.
48040         (La_regs): Likewise.
48041         (La_retval): Likewise.
48042         (int_retval): Likewise.
48043         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
48044         macro.
48045         (pltexit): Likewise.
48046         (La_regs): Likewise.
48047         (La_retval): Likewise.
48048         (int_retval): Likewise.
48049         * sysdeps/generic/tst-audit.h: Update comment to refer only to
48050         macro definitions in tst-audit.h.
48051         * sysdeps/i386/tst-audit.h: New file.
48052         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
48053         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
48054         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
48055         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
48056         * sysdeps/sh/tst-audit.h: Likewise.
48057         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
48058         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
48059         * sysdeps/x86_64/tst-audit.h: Likewise.
48061 2012-07-26  Andreas Jaeger  <aj@suse.de>
48063         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
48064         ptrace.
48066         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
48067         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
48068         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
48069         PTRACE_O_MASK.
48070         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
48071         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
48072         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
48074         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
48075         value.
48077         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
48078         _sigsys.
48079         (si_call_addr, si_syscall, si_arch): Define new macro.
48080         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
48081         _sigsys.
48082         (si_call_addr, si_syscall, si_arch): Define new marcro.
48083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
48084         _sigsys.
48085         (si_call_addr, si_syscall, si_arch): Define new macro.
48086         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
48087         _sigsys.
48088         (si_call_addr, si_syscall, si_arch): Define new macro.
48090 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
48092         [BZ #13717]
48093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48094         Change to 2.4.21 where previously 2.4.1.
48095         * sysdeps/unix/sysv/linux/configure: Regenerated.
48096         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
48097         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
48098         Linux kernel version.
48099         (__ASSUME_STD_AUXV): Remove.
48100         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
48101         kernel version.
48102         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
48103         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
48104         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
48105         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
48106         (__ASSUME_NETLINK_SUPPORT): Likewise.
48107         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
48108         (__no_netlink_support): Remove conditional definition.
48109         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
48110         Remove.
48111         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48112         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
48113         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
48114         (if_nameindex_ioctl): Remove.
48115         (if_nameindex_netlink): Do not handle __no_netlink_support.
48116         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48117         code.
48118         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
48119         Remove conditional code.
48120         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
48121         code.
48122         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
48123         unconditional.
48124         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
48125         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
48126         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
48127         Remove.
48128         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
48129         [!__ASSUME_STD_AUXV]: Remove conditional code.
48130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
48131         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
48132         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
48133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
48134         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
48135         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48136         code.
48137         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48139         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
48140         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48141         conditional code.
48142         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
48143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48144         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
48145         code.
48146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48147         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
48148         conditional code.
48149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
48150         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48151         code unconditional.
48152         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48153         conditional code.
48154         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48155         unconditional.
48156         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48157         conditional code.
48158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
48159         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48160         unconditional.
48161         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48162         conditional code.
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
48164         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48165         code unconditional.
48166         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48167         conditional code.
48168         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48169         unconditional.
48170         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48171         conditional code.
48172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
48173         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
48174         code unconditional.
48175         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48176         conditional code.
48177         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
48178         unconditional.
48179         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
48180         conditional code.
48182 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
48184         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
48185         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
48186         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
48187         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
48188         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
48189         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48190         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48191         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
48192         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
48193         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
48194         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
48195         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
48196         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
48197         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
48199         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
48200         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
48201         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
48202         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
48203         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
48204         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
48205         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
48206         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
48208 2012-07-25  Florian Weimer  <fweimer@redhat.com>
48210         * Versions.def: Add GLIBC_2.17.
48211         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
48212         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
48213         Introduce __libc_secure_getenv.
48214         * stdlib/Versions (2.17): Add secure_getenv
48215         (GLIBC_PRIVATE): Add __libc_secure_getenv.
48216         * stdlib/secure-getenv.c: Rename __secure_getenv to
48217         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
48218         symbol __secure_getenv for GLIBC_2.0.
48219         * stdlib/tst-secure-getenv.c: New.
48220         * stdlib/Makefile (tests): Add testcase.
48221         * manual/startup.texi (Environment Access): Document
48222         secure_getenv.
48223         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
48224         __libc_secure_getenv.
48225         * inet/ruserpass.c (ruserpass): Likewise.
48226         * malloc/mtrace.c (mtrace): Likewise.
48227         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
48228         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48229         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
48230         * sysdeps/posix/tempname.c: Likewise.  Evaluate
48231         HAVE_SECURE_GETENV.
48232         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
48233         __secure_getenv to __libc_secure_getenv.
48234         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
48235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48236         Likewise.
48237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48238         Likewise.
48239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
48240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
48241         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
48242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
48243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
48244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
48245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
48247 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
48249         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
48250         (struct La_i86_retval): Likewise.
48251         (struct La_x86_64_regs): Likewise.
48252         (struct La_x86_64_retval): Likewise.
48253         (struct La_x32_regs): Likewise.
48254         (struct La_x32_retval): Likewise.
48255         (struct La_ppc32_regs): Likewise.
48256         (struct La_ppc32_retval): Likewise.
48257         (struct La_ppc64_regs): Likewise.
48258         (struct La_ppc64_retval): Likewise.
48259         (struct La_sh_regs): Likewise.
48260         (struct La_sh_retval): Likewise.
48261         (struct La_s390_32_regs): Likewise.
48262         (struct La_s390_32_retval): Likewise.
48263         (struct La_s390_64_regs): Likewise.
48264         (struct La_s390_64_retval): Likewise.
48265         (struct La_sparc32_regs): Likewise.
48266         (struct La_sparc32_retval): Likewise.
48267         (struct La_sparc64_regs): Likewise.
48268         (struct La_sparc64_retval): Likewise.
48269         (struct audit_ifaces): Remove architecture-specific pltenter and
48270         pltexit members.
48271         * sysdeps/i386/ldsodefs.h: New file.
48272         * sysdeps/powerpc/ldsodefs.h: Likewise.
48273         * sysdeps/s390/ldsodefs.h: Likewise.
48274         * sysdeps/sh/ldsodefs.h: Likewise.
48275         * sysdeps/sparc/ldsodefs.h: Likewise.
48276         * sysdeps/x86_64/ldsodefs.h: Likewise.
48278 2012-07-25  Marek Polacek  <polacek@redhat.com>
48280         [BZ #6808]
48281         * math/libm-test.inc (yn_test): Add another test.
48282         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48283         to ERANGE when the result is +-Inf.
48284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48285         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48286         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48287         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48289 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
48291         * conform/data/time.h-data (NULL): Use macro-constant.  Require
48292         equal to 0.
48293         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
48294         clock_t.
48295         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
48297 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
48299         * configure.in <sysdeps resolving>: Correct printing
48300         Implies_before.
48301         * configure: Regenerate.
48303 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
48305         * math/w_ilogb.c: Include <limits.h>.
48306         * math/w_ilogbl.c: Likewise.
48308 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48310         * manual/lang.texi (__va_copy): Document primarily as ISO C99
48311         va_copy.  Document allowing for unavailable va_copy only as
48312         pre-C99 compatibility.
48313         * manual/string.texi (Copying and Concatenation): Use va_copy
48314         instead of __va_copy in concat example.
48316 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
48318         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48319         (__sendto): Use create_address_port.  Initialize APORT and deallocate
48320         it if not null.
48322         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48323         with O_NOLINK passed to __file_name_lookup.
48325         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48326         with O_NOLINK passed to __file_name_lookup.
48328         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48329         negative N or less than NGIDS.
48331         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48332         type to string_t.  Set ERANGE as errno and return it if NAME is not big
48333         enough.  Use memcpy instead of strncpy.
48335 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48337         * elf/Makefile (check-data): Remove.
48338         (localplt.data): New vpath directive.
48339         ($(objpfx)check-localplt.out): Use localplt.data from vpath
48340         instead of $(check-data).
48341         * scripts/data/localplt-generic.data: Move to ...
48342         * sysdeps/generic/localplt.data: ... here.
48343         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48344         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48345         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48347         ... here.
48348         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48350         ... here.
48351         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48353         ... here.
48354         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48356         ... here.
48357         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48359         ... here.
48360         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48362         ... here.
48364 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48366         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48367         PPC32 and PPC64 files.
48368         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48369         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48371 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48373         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48374         __makecontext_ret to ...
48375         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48376         ... here and call exit if uc_link is NULL.  New file.
48377         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48378         __makecontext_ret.S.
48379         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48380         __makecontext_ret to ...
48381         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48382         ... here and call exit if uc_link is NULL.  New file.
48383         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48384         __makecontext_ret.S.
48386 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48388         * elf/elf.h (R_390_IRELATIVE): New definition.
48389         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48390         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
48391         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48392         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48393         (elf_machine_lazy_rel): Likewise.
48394         * sysdeps/s390/dl-irel.h: New file.
48395         * sysdeps/s390/s390-64/memcpy.S: New asm code.
48396         * sysdeps/s390/s390-64/memset.S: New asm code.
48397         * sysdeps/s390/s390-64/memcmp.S: New asm code.
48398         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48399         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48400         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48401         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48402         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48403         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48404         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48405         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48406         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48407         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48408         * sysdeps/s390/s390-32/memcpy.S: New asm code.
48409         * sysdeps/s390/s390-32/memset.S: New asm code.
48410         * sysdeps/s390/s390-32/memcmp.S: New asm code.
48412 2012-07-17  Marek Polacek  <polacek@redhat.com>
48414         [BZ #14349]
48415         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48416         * sysdeps/s390/s390-64/configure.in: Likewise.
48417         * sysdeps/sparc/configure.in: Likewise.
48418         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48419         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48420         * sysdeps/i386/configure.in: Likewise.
48421         * sysdeps/x86_64/configure.in: Likewise.
48422         * sysdeps/sh/configure.in: Likewise.
48423         * sysdeps/s390/s390-32/configure: Regenerated.
48424         * sysdeps/s390/s390-64/configure: Likewise.
48425         * sysdeps/x86_64/configure: Likewise.
48426         * sysdeps/sh/configure: Likewise.
48427         * sysdeps/powerpc/powerpc64/configure: Likewise.
48428         * sysdeps/powerpc/powerpc32/configure: Likewise.
48429         * sysdeps/sparc/configure: Likwise.
48430         * sysdeps/i386/configure: Likewise.
48432         * elf/dl-open.c: Comment fixes.
48434 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
48436         * Makefile [CXX] (check-data): Remove.
48437         [CXX] (c++-types.data): New vpath directive.
48438         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48439         vpath.  Do not allow for C++ type data being missing.
48440         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48441         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48442         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48443         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48444         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48445         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48446         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48448         ... here.
48449         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48451         ... here.
48452         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48454         ... here.
48455         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48457         ... here.
48458         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48460         ... here.
48461         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48463         ... here.
48464         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48465         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48466         ... here.
48467         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48470         * elf/tls-macros.h (TLS_LE): Move architecture-specific
48471         definitions to architecture-specific files.
48472         (TLS_IE): Likewise.
48473         (TLS_LD): Likewise.
48474         (TLS_GD): Likewise.
48475         * sysdeps/i386/tls-macros.h: New file.
48476         * sysdeps/powerpc/tls-macros.h: Likewise.
48477         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48478         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48479         * sysdeps/sh/tls-macros.h: Likewise.
48480         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48481         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48482         * sysdeps/x86_64/tls-macros.h: Likewise.
48484 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48486         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48487         zero value for regular exit case.
48489         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48490         (__start_context): Preserve zero value for regular exit case.
48492 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48493             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48495         * manual/setjmp.texi (setcontext): Clarify normal process
48496         termination when uc_link is the null pointer.
48497         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48498         exit call.
48500 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
48502         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48503         preprocessor.  Test for each exception mask separately.
48505 2012-07-16  Andreas Jaeger  <aj@suse.de>
48507         * po/ru.po: Update from translation team.
48509 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
48511         * conform/data/string.h-data (NULL): Use macro-constant.  Require
48512         equal to 0.
48513         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48514         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48515         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48516         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48517         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48519 2012-07-13  Andreas Jaeger  <aj@suse.de>
48521         * po/fr.po: Update from translation team.
48523 2012-07-12  Marek Polacek  <polacek@redhat.com>
48525         [BZ #14173]
48526         * math/libm-test.inc (yn_test): Add test for BZ #14173.
48527         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48528         loop condition.
48530 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
48532         [BZ #13717]
48533         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48534         Change to 2.4.1 where previously 2.4.0.
48535         * sysdeps/unix/sysv/linux/configure: Regenerated.
48536         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48537         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48538         version.
48539         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48540         (__ASSUME_AT_CLKTCK): Remove.
48541         (__ASSUME_AT_PAGESIZE): Likewise.
48542         (__ASSUME_AT_XID): Likewise.
48543         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48544         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48545         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48546         unconditionally.
48547         (HAVE_AUX_PAGESIZE): Likewise.
48548         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48549         [__ASSUME_AT_CLKTCK]: Make code unconditional.
48550         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48552 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
48554         [BZ #14307]
48555         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48556         the temporary buffer used to invoke __gethostbyname2_r,
48557         __gethostbyaddr_r and gethostbyname4_r to make room for struct
48558         host_data / struct gaih_addrtuple.
48559         * resolv/nss_dns/dns-host.c (global scope): Move definition of
48560         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48561         header file nss/nsswitch.h.
48562         * nss/nsswitch.h (global scope): Add definition of implementation
48563         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48564         resolv/nss_dns/dns-host.c).
48566 2012-07-11  Andreas Jaeger  <aj@suse.de>
48568         * po/fr.po: Update from translation team.
48570         * po/sv.po: Update from translation team
48571         * po/fr.po: Another update from translation team.
48573 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48575         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48576         for subnormals or multiply small sinh result by itself.
48577         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48580 2012-07-11  David S. Miller  <davem@davemloft.net>
48582         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48584 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
48586         [BZ #14347]
48587         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48588         (INTERNAL_MARK): Shift it here.
48590 2012-07-10  Marek Polacek  <polacek@redhat.com>
48592         [BZ #14151]
48593         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
48594         libc_cv_asm_global_directive with .globl.
48595         * configure: Regenerated.
48596         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48597         with .globl.
48598         * sysdeps/i386/configure: Regenerated.
48599         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48600         with .globl.
48601         * sysdeps/x86_64/configure: Regenerated.
48602         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48603         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48604         * elf/tst-unique2mod2.c: Likewise.
48605         * elf/tst-unique2mod1.c: Likewise.
48606         * elf/tst-unique1mod2.c: Likewise.
48607         * elf/tst-unique1mod1.c: Likewise.
48608         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48609         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48610         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48611         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48612         * sysdeps/mach/sysdep.h: Likewise.
48613         * sysdeps/i386/sysdep.h: Likewise.
48614         * sysdeps/i386/i386-mcount.S: Likewise.
48615         * sysdeps/x86_64/_mcount.S: Likewise.
48616         * sysdeps/x86_64/sysdep.h: Likewise.
48617         * sysdeps/sh/_mcount.S: Likewise.
48618         * sysdeps/sh/sysdep.h: Likewise.
48619         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48620         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48621         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48623         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48624         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48625         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48626         * locale/localeinfo.h: Likewise.
48627         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48628         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48630 2012-07-09  Roland McGrath  <roland@hack.frob.com>
48632         [BZ #14336]
48633         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48634         system".
48635         * manual/message.texi (The Uniforum approach): Likewise.
48636         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48637         (glibc iconv Implementation): Likewise.
48639 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
48641         [BZ #14337]
48642         * math/s_clog.c (__clog): Avoid scaling a value down where that
48643         could result in underflow.
48644         * math/s_clog10.c (__clog10): Likewise.
48645         * math/s_clog10f.c (__clog10f): Likewise.
48646         * math/s_clog10l.c (__clog10l): Likewise.
48647         * math/s_clogf.c (__clogf): Likewise.
48648         * math/s_clogl.c (__clogl): Likewise.
48649         * math/libm-test.inc (clog_test): Add more tests.
48650         (clog10_test): Likewise.
48651         * sysdeps/i386/fpu/libm-test-ulps: Update.
48652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48654 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
48656         [BZ #14283]
48657         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48658         by 7 not 8 to examine high bit of fractional part.
48660         [BZ #14042]
48661         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48662         for call to __mcount_internal.
48663         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48664         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48665         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48667 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
48669         [BZ #14154]
48670         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48671         approximation for values within 0x1p-13f of an odd multiple of
48672         pi/4.
48673         * math/libm-test.inc (tan_test): Do not allow spurious underflow
48674         exception.  Add more tests.
48675         * sysdeps/i386/fpu/libm-test-ulps: Update.
48677         [BZ #6778]
48678         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48679         inputs and return -1 for them.  Do not check for +Inf in case not
48680         reachable for +Inf.
48681         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48682         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48683         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48684         and return -1 for them.  Do not check for +Inf in case not
48685         reachable for +Inf.
48686         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48687         define.
48688         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48689         and return -1 for them.  Do not check for +Inf in case not
48690         reachable for +Inf.
48691         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
48692         spurious underflow.
48693         * sysdeps/i386/fpu/libm-test-ulps: Update.
48694         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48696 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
48698         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48700 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
48702         [BZ #14157]
48703         [BZ #14331]
48704         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48705         could result in spurious underflow.  Scale down values above
48706         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48707         * math/s_csqrtf.c (__csqrtf): Likewise.
48708         * math/s_csqrtl.c (__csqrtl): Likewise.
48709         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
48710         spurious underflow.
48711         * sysdeps/i386/fpu/libm-test-ulps: Update.
48712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48714 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
48716         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48717         xopen-msg.sed.
48718         * catgets/xopen-msg.awk: New file.
48719         * catgets/xopen-msg.sed: Removed.
48721         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48722         po2text.sed.
48723         * intl/po2test.awk: New file.
48724         * intl/po2test.sed: Removed.
48726 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
48728         [BZ #14328]
48729         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48730         or multiply small sinh result by itself.
48731         * math/s_ctanf.c (__ctanf): Likewise.
48732         * math/s_ctanh.c (__ctanh): Likewise.
48733         * math/s_ctanhf.c (__ctanhf): Likewise.
48734         * math/s_ctanhl.c (__ctanhl): Likewise.
48735         * math/s_ctanl.c (__ctanl): Likewise.
48736         * math/libm-test.inc (ctan_test_tonearest): New function.
48737         (ctan_test_towardzero): Likewise.
48738         (ctan_test_downward): Likewise.
48739         (ctan_test_upward): Likewise.
48740         (ctanh_test_tonearest): Likewise.
48741         (ctanh_test_towardzero): Likewise.
48742         (ctanh_test_downward): Likewise.
48743         (ctanh_test_upward): Likewise.
48744         (main): Call these new functions.
48745         * sysdeps/i386/fpu/libm-test-ulps: Update.
48746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48748 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
48750         * .gitignore: Delete /ports entry.
48752 2012-07-03  Andreas Jaeger  <aj@suse.de>
48754         * po/bg.po: Update from translation team.
48755         * po/cs.po: Likewise.
48756         * po/de.po: Likewise.
48757         * po/hr.po: Likewise.
48758         * po/nl.pl: Likewise.
48759         * po/pl.po: Likewise.
48760         * po/vi.po: Likewise.
48762 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
48764         * Makeconfig [!+link] (+link-before-libc): New variable.
48765         [!+link] (+link-after-libc): Likewise.
48766         [!+link] (+link-tests): Likewise.
48767         [!+link] (+link): Define in terms of $(+link-before-libc) and
48768         $(+link-after-libc).
48769         [!+link-static] (+link-static-before-libc): New variable.
48770         [!+link-static] (+link-static-after-libc): Likewise.
48771         [!+link-static] (+link-static-tests): Likewise.
48772         [!+link-static] (+link-static): Define in terms of
48773         $(+link-static-before-libc) and $(+link-static-after-libc).
48774         [build-shared] (link-libc-before-gnulib): New variable.
48775         [build-shared] (link-libc-tests): Likewise.
48776         [build-shared] (link-libc): Define in terms of
48777         $(link-libc-before-gnulib).
48778         [!build-shared] (link-libc-tests): New variable.
48779         (link-libc-static-tests): New variable.
48780         [!gnulib] (gnulib-arch): New variable.
48781         [!gnulib] (gnulib-tests): Likewise.
48782         [!gnulib] (static-gnulib-arch): Likewise.
48783         [!gnulib] (static-gnulib-tests): Likewise.
48784         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
48785         Define with "=" instead of ":=".
48786         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
48787         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
48788         * Rules (binaries-all-notests): New variable.
48789         (binaries-all-tests): Likewise.
48790         (binaries-static-notests): Likewise.
48791         (binaries-static-tests): Likewise.
48792         (binaries-all): Define using $(binaries-all-notests) and
48793         $(binaries-all-tests).
48794         (binaries-static): Define using $(binaries-static-notests) and
48795         $(binaries-static-tests).
48796         (binaries-shared-tests): New variable.
48797         (binaries-shared-notests): Likewise.
48798         (binaries-shared): Remove variable.
48799         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48800         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48801         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48802         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48803         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48804         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48805         * elf/Makefile (sln-modules): New variable.
48806         (extra-objs): Add $(sln-modules:=.o).
48807         (ldconfig-modules): Add static-stubs.
48808         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48809         * elf/static-stubs.c: New file.
48811         [BZ #14283]
48812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48813         by 7 not 8 to examine high bit of fractional part.  Use volatile
48814         variables when splitting into final array of floats if
48815         __FLT_EVAL_METHOD__ != 0.
48816         * math/libm-test.inc (cos_test): Add another test.
48817         (sin_test): Likewise.
48818         * sysdeps/i386/fpu/libm-test-ulps: Update.
48820         [BZ #14273]
48821         * math/libm-test.inc (cosh_test): Add more tests.
48823         * version.h (RELEASE): Set to "development".
48824         (VERSION): Set to "2.16.90".
48826 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
48828         * NEWS: Update copyright. Remove last-updated date.
48829         Mention math library bug fixes and timezone data changes.
48830         * README: Mention GNU/Hurd, x32, and HPPA support status.
48832 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
48834         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48836 2012-06-27  Andreas Jaeger  <aj@suse.de>
48838         * manual/contrib.texi (Contributors): Add Samuel Thibault.
48840 2012-06-25  Andreas Jaeger  <aj@suse.de>
48842         * sysdeps/s390/fpu/libm-test-ulps: Update.
48844 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
48845             Thomas Schwinge  <thomas@codesourcery.com>
48847         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48848         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48849         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48850         fanotify_mark.
48852 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
48854         * sysdeps/mach/start.c: Remove file.
48855         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48856         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48857         * sysdeps/sh/init-first.c: Likewise.
48859         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48860         registers for frame unwinding purposes, add CFI directives.
48861         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48862         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48863         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48864         Likewise.
48866         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48867         __fortify_fail returning.
48868         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48870         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48871         sysdeps/sh/____longjmp_chk.S.
48872         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48873         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48874         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48875         (gen-as-const-headers): Append sigaltstack-offsets.sym.
48877         * sysdeps/sh/abort-instr.h: New file.
48878         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48879         process in case exit returns.
48881         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48882         initialize the GOT register before use.
48884         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48885         calculation of ARGC > 4.
48887         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48888         meaningful names to some local labels.
48890 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48891             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48893         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48894         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48895         (__arch_compare_and_exchange_val_16_acq): Likewise.
48896         (__arch_compare_and_exchange_val_32_acq): Likewise.
48897         (atomic_exchange_and_add): Fix gUSA sequence.
48898         (atomic_add): Likewise.
48899         (atomic_add_negative): Likewise.
48900         (atomic_add_zero): Likewise.
48901         (atomic_bit_test_set): Likewise.
48903 2012-06-22  Andreas Schwab  <schwab@redhat.com>
48905         [BZ #13579]
48906         * include/link.h (struct link_map): Add l_free_initfini.
48907         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48908         l_initfini.
48909         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48910         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48911         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48912         set.
48914 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
48916         * configure.in: Use AC_LANG_SOURCE.
48917         * configure: Regenerate.
48919 2012-06-22  Roland McGrath  <roland@hack.frob.com>
48921         * configure.in (libc_cv_localstatedir): New substituted variable.
48922         * configure: Regenerated.
48923         * config.make.in (localstatedir): New variable, substituted from
48924         libc_cv_localstatedir.
48925         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48926         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48927         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48928         * sysdeps/gnu/configure: Regenerated.
48930 2012-06-21  Jeff Law  <law@redhat.com>
48932         [BZ #14277]
48933         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48934         free.  Simplify list management for _LIBC case.
48936 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
48938         [BZ #14273]
48939         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48940         Clear sign bit of 64-bit integer value before comparing against
48941         overflow value.
48943         * sysdeps/mach/configure: Regenerated.
48945 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
48947         [BZ #14278]
48948         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48950 2012-06-21  Jeff Law  <law@redhat.com>
48952         [BZ #13882]
48953         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
48954         uint16_t for elements in the "seen" array to avoid char overflows.
48955         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48956         * elf/dl-open.c (dl_open_worker): Likewise.
48958 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
48960         * scripts/list-sources.sh: Scan PORTS for translations.
48961         * po/libc.pot: Regenerated.
48963 2012-06-21  Andreas Jaeger  <aj@suse.de>
48965         [BZ #12194]
48966         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48967         warning.
48968         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48969         * bits/byteswap-16.h (__bswap_16): Likewise.
48970         * bits/byteswap.h (__bswap_constant_16): Likewise.
48972 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
48974         [BZ #14117]
48975         * sysdeps/i386/fpu_control.h: Removed.
48976         * sysdeps/x86_64/fpu_control.h: Moved to ...
48977         * sysdeps/x86/fpu_control.h: Here.
48979         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48980         (_FPU_SETCW): Likewise.
48982 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48984         [BZ #14117]
48985         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48986         * sysdeps/x86/fpu/bits/mathinline.h: This.
48987         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48989         [BZ #14050]
48990         [BZ #14117]
48991         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48992         functions if __x86_64__ is defined.
48994 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48996         * string/endian.h: Add !__ASSEMBLER__ condition for including
48997         conversion interfaces.
48999 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
49001         [BZ #14241]
49002         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
49003         of ABS(x) in calculating zero to negative powers other than odd
49004         integers.
49005         * math/libm-test.inc (pow_test): Add more tests.
49007 2012-06-15  Andreas Jaeger  <aj@suse.de>
49009         * manual/contrib.texi (Contributors): Update entry of Liubov
49010         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
49011         Machado Filho.
49013 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
49015         * string/string.h: Add __wur to GNU version of strerror_r.
49017 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
49019         [BZ #14229]
49020         * string/Makefile (tests): Add tst-strtok_r.
49021         * string/tst-strtok_r.c: New file.
49022         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
49023         RAX_LP/RDX_LP on SAVE_PTR.
49025 2012-06-14  Roland McGrath  <roland@hack.frob.com>
49027         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
49029 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
49031         * libm_test.inc (csqrt_test): Allow more spurious underflow
49032         exceptions.
49033         (j0_test): Likewise.
49034         (j1_test): Likewise.
49035         (y0_test): Likewise.
49036         (y1_test): Likewise.
49038 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
49040         * po/Makefile (libc.pot): Use UTF-8 charset.
49042 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
49044         [BZ #14210]
49045         Suppress sign-conversion warning from FD_SET.
49046         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
49047         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
49048         not unsigned long int.
49049         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
49051 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
49053         [BZ #14050]
49054         [BZ #14117]
49055         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
49056         __extern_always_inline instead of __extern_inline.
49057         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
49058         (__signbit): Likewise.
49059         (__signbitl): Support C++ namespace.
49060         (lrintf): New inline function.
49061         (lrint): Likewise.
49062         (llrintf): Likewise.
49063         (llrint): Likewise.
49064         (fmaxf): Likewise.
49065         (fmax): Likewise.
49066         (fminf): Likewise.
49067         (fmin): Likewise.
49068         (rint): Likewise.
49069         (rintf): Likewise.
49070         (ceil): Likewise.
49071         (ceilf): Likewise.
49072         (floor): Likewise.
49073         (floorf): Likewise.
49074         (nearbyint): Likewise.
49075         (nearbyintf): Likewise.
49077 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
49079         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
49080         non-default versions.
49082 2012-06-11  Roland McGrath  <roland@hack.frob.com>
49084         [BZ #14218]
49085         * manual/argp.texi (Argp): Reword argp_parse description slightly.
49087 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
49089         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
49090         (FE_UPWARD, FE_DOWNWARD): Don't define.
49091         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
49092         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49094         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
49095         reading it.
49096         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49097         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49099 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49101         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49102         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
49103         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
49104         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
49106 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
49108         [BZ #14117]
49109         * sysdeps/i386/fpu/bits/fenv.h: Removed.
49110         * sysdeps/i386/fpu/Implies: New file.
49111         * sysdeps/x86_64/fpu/Implies: Likewise.
49112         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
49113         * sysdeps/x86/fpu/bits/fenv.h: This.
49115         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
49116         __SSE_MATH__.
49118 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49120         [BZ #14134]
49121         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
49122         character 0xffff that matches the last element of the
49123         conversion table.
49125 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49127         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
49128         fmodl commit.
49130 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49132         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
49133         values higher than 25.6283.
49135 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49137         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
49138         subnormal exponent extraction and add some __builtin_expect.
49139         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
49140         Fix for subnormal mantissa calculation.
49142 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
49144         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
49145         cpu2 is -1 and errno is not ENOSYS.
49147 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
49149         [BZ #14117]
49150         * sysdeps/i386/i486/bits/string.h: Renamed to ...
49151         * sysdeps/x86/bits/string.h: This.
49152         * sysdeps/x86_64/bits/string.h: Removed.
49154         * sysdeps/i386/i486/bits/string.h: Define inline functions only
49155         if not compiling for x86-64, but compiling for >= i486.
49157         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
49158         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
49160         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
49161         New macro from Linux kernel 3.4.0.
49162         (FP_XSTATE_MAGIC2): Likewise.
49163         (FP_XSTATE_MAGIC2_SIZE): Likewise.
49164         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
49165         (struct _fpx_sw_bytes): New struct.
49166         (struct _xsave_hdr): Likewise.
49167         (struct _ymmh_state): Likewise.
49168         (struct _xstate): Likewise.
49170         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
49171         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
49172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
49173         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
49174         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
49175         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
49177         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
49178         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
49179         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
49180         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
49181         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
49182         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
49184 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49186         [BZ #13743]
49187         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
49188         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
49189         (sysdep_headers): Include sys/platform/ppc.h.
49190         * sysdeps/powerpc/test-gettimebase.c: Test for
49191         __ppc_get_timebase() to catch future ISA opcode/insn changes.
49192         * manual/Makefile (appendices): Include platform.texi.
49193         * manual/contrib.texi (Contributors): Update @node pointers.
49194         * manual/maint.texi (Maintenance): Likewise.
49195         (Platform): New node.
49196         * manual/platform.texi: New file.  Document the new features.
49198 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49199             Jakub Jelinek  <jakub@redhat.com>
49201         [BZ #14188]
49202         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
49203         where __builtin_expect is unavailable.
49205 2012-06-03  David S. Miller  <davem@davemloft.net>
49207         * stdlib/longlong.h: Updated from GCC.
49209 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
49211         [BZ #14042]
49212         * sysdeps/powerpc/powerpc32/mcount.c: New file.
49213         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
49214         __mcount_internal.
49215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
49216         (GLIBC_2.16): Likewise.
49218 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49220         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
49222 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
49224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
49225         (default-abi): New variable.
49226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
49227         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
49228         variable.
49229         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
49230         Likewise.
49231         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
49232         Likewise.
49233         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
49234         Likewise.
49236         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
49237         definition.  Document in comment.
49239 2012-06-01  David S. Miller  <davem@davemloft.net>
49241         * stdlib/longlong.h: Updated from GCC.
49243 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49245         [BZ #14117]
49246         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
49247         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
49248         sys/debugreg.h sys/io.h here.
49249         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
49250         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49251         sys/io.h.
49252         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49253         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49254         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49255         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49256         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49257         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49259         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49260         Define only if __x86_64__ is defined.
49262 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
49264         [BZ #14048]
49265         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49266         Use int64_t for variable i.
49267         * math/libm-test.inc (fmod_test): Add more tests.
49269         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49270         z computation is not scheduled after fetestexcept.
49271         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49272         Use math_force_eval instead of asm to ensure calculation scheduled
49273         before exception test.
49274         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49275         Ensure a1 + u.d computation is not scheduled after fetestexcept.
49277 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
49279         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49280         computation is not scheduled after fetestexcept.
49282 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49284         [BZ #14117]
49285         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49286         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49288 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49290         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49291         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49293 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49295         [BZ #14117]
49296         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49297         <bits/wordsize.h>.
49298         (__WCHAR_MIN): Support __WORDSIZE == 64.
49299         (__WCHAR_MAX): Likewise.
49301         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49302         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49304         [BZ #14183]
49305         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49306         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49308         [BZ #14117]
49309         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49310         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49312         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49313         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49315         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49316         Defined to 1 if __x86_64__ isn't defined.
49317         (_STAT_VER_LINUX_OLD): New.
49318         (st_atime): Remove duplicate.
49319         (st_mtime): Likewise.
49320         (st_ctime): Likewise.
49322 2012-05-31  David S. Miller  <davem@davemloft.net>
49324         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49325         entries.
49327 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
49329         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49330         gen-libm-test.pl.
49332         [BZ #14132]
49333         * elf/dl-reloc.c: Include <_itoa.h>.
49334         (_dl_reloc_bad_type): Remove use of INTUSE.
49335         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49336         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49337         * stdio-common/psiginfo.c (psiginfo): Likewise.
49338         * stdio-common/psignal.c (psignal): Likewise.
49339         * string/strsignal.c (strsignal): Likewise.
49340         * include/signal.h (_sys_siglist): Declare hidden proto.
49341         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
49342         INTVARDEF with libc_hidden_data_def.
49343         * stdio-common/itoa-udigits.c: Likewise.
49344         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49345         (_itoa_lower_digits_internal): Remove declaration.
49346         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49347         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49348         (_sys_sigabbrev_internal): Remove aliases.
49349         (_sys_siglist): Define hidden alias.
49351 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
49353         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49354         bits/sysctl.h.
49356 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49358         [BZ #14117]
49359         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49360         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49362         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49363         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49364         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49365         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49366         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49367         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49369         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49370         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49371         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49373         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49374         with __addr.
49375         (insw): Likewise.
49376         (insl): Likewise.
49377         (outsb): Likewise.
49378         (outsw): Likewise.
49379         (outsl): Likewise.
49381         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49382         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49383         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49385         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49386         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49387         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49388         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49389         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49390         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49392         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49393         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49395         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49396         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49398         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49399         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49400         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49402         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49403         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49404         to ...
49405         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49407         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49408         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49409         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49411         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49412         for x86-64.
49413         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49415 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
49417         * math/math.h (M_El): Use two more decimal places.
49418         (M_LOG2El): Likewise.
49419         (M_LOG10El): Likewise.
49420         (M_LN2l): Likewise.
49421         (M_LN10l): Likewise.
49422         (M_PIl): Likewise.
49423         (M_PI_2l): Likewise.
49424         (M_PI_4l): Likewise.
49425         (M_1_PIl): Likewise.
49426         (M_2_PIl): Likewise.
49427         (M_2_SQRTPIl): Likewise.
49428         (M_SQRT2l): Likewise.
49429         (M_SQRT1_2l): Likewise.
49431 2012-05-31  David S. Miller  <davem@davemloft.net>
49433         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49434         values between float registers.
49435         * sysdeps/sparc/sparc64/memset.S: Likewise.
49436         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49438 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
49440         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49441         -D_FORTIFY_SOURCE=1.
49442         (CPPFLAGS-tst-longjmp_chk.c): Define.
49443         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49444         (CPPFLAGS-tst-longjmp_chk2.c): Define.
49445         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49446         CFLAGS-tst-wchar-h.c.
49448 2012-05-31  Marek Polacek  <polacek@redhat.com>
49450         [BZ #14132]
49451         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49452         __endmntent_internal): Remove declaration.
49453         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49454         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49455         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49457 2012-05-30  David S. Miller  <davem@davemloft.net>
49459         * sysdeps/sparc/sparc32/soft-fp/q_util.c
49460         (___Q_simulate_exceptions): Use real FP ops rather than writing
49461         into the %fsr.
49462         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49463         Likewise.
49465 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49467         [BZ #14117]
49468         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49469         * sysdeps/x86/bits/xtitypes.h: This.
49471         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49472         * sysdeps/x86/bits/wordsize.h: This.
49474         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49475         * sysdeps/x86/bits/huge_vall.h: This.
49477         * sysdeps/i386/bits/select.h: Removed.
49478         * sysdeps/x86_64/bits/select.h: Renamed to ...
49479         * sysdeps/x86/bits/select.h: This.
49481         * sysdeps/i386/bits/setjmp.h: Removed.
49482         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49483         * sysdeps/x86/bits/setjmp.h: This.
49485         * sysdeps/i386/bits/mathdef.h: Removed.
49486         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49487         * sysdeps/x86/bits/mathdef.h: This.
49489 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
49491         [BZ #14132]
49492         * include/sys/socket.h (__connect_internal)
49493         (__libc_sa_len_internal): Remove declaration.
49494         (__connect, __libc_sa_len): Declare hidden_proto.
49495         (SA_LEN): Remove use of INTUSE.
49496         * socket/connect.c: Add libc_hidden_def.
49497         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49498         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49499         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49500         alias.
49501         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49502         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49503         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49504         of adding _internal alias.
49506 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49508         [BZ #14117]
49509         * sysdeps/i386/bits/link.h: Removed.
49510         * sysdeps/i386/bits/linkmap.h: Likewise.
49511         * sysdeps/x86_64/bits/link.h: Renamed to ...
49512         * sysdeps/x86/bits/link.h: This.
49513         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49514         * sysdeps/x86/bits/linkmap.h: This.
49516         * sysdeps/i386/bits/endian.h: Removed.
49517         * sysdeps/x86_64/bits/endian.h: Renamed to ...
49518         * sysdeps/x86/bits/endian.h: This.
49520         * sysdeps/i386/bits/byteswap.h: Removed.
49521         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49522         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49523         * sysdeps/x86/bits/byteswap.h: This.
49524         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49525         * sysdeps/x86/bits/byteswap-16.h: This.
49526         * sysdeps/i386/Implies: Add x86.
49527         * sysdeps/x86_64/Implies: Likewise.
49529 2012-05-30  David S. Miller  <davem@davemloft.net>
49531         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49532         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49533         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49534         (FP_TRAPPING_EXCEPTIONS): Define.
49535         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49536         (FP_TRAPPING_EXCEPTIONS): Define.
49537         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49538         subnormals only when inexact has been signalled or underflow
49539         exceptions are enabled.
49540         (_FP_PACK_CANONICAL): Likewise.
49542 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49544         [BZ #14183]
49545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49546         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49548 2012-05-30  Richard Henderson  <rth@twiddle.net>
49550         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49551         with #ifndef NOT_IN_libc.
49553         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
49554         marked to avoid plt entry.
49556 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49558         [BZ #14112]
49559         * Makeconfig (default-abi): New macro.
49560         (abi-includes): Likewise.
49561         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
49562         $(abi-$(default-abi)-lib-soname) for soname if defined.
49563         ($(common-objpfx)gnu/lib-names.stmp): Generate from
49564         abi-variants.
49565         * Makefile (installed-stubs): Likewise.
49566         * include/stubs-biarch.h: Removed.
49567         * scripts/lib-names.awk: Only handle one library at a time.
49568         * scripts/soversions.awk: Remove WORDSIZE support.
49569         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49570         entries.
49571         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49572         Removed.
49573         (syscall-list-default-condition): Likewise.
49574         (syscall-list-default-condition): Likewise.
49575         (syscall-list-includes): Likewise.
49576         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49577         syscall-list-* with abi-*.  Handle undefined abi-variants.
49578         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49579         * sysdeps/unix/sysv/linux/i386/Implies: New file.
49580         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49581         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49582         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49583         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49584         Removed.
49585         (syscall-list-32-options): Likewise.
49586         (syscall-list-32-condition): Likewise.
49587         (syscall-list-64-options): Likewise.
49588         (syscall-list-64-condition): Likewise.
49589         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49590         macro.
49591         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49592         Renamed to ...
49593         (abi-*): This.
49594         (abi-64-ld-soname): New macro.
49595         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49596         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49597         Renamed to ...
49598         (abi-*): This.
49599         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49600         * sysdeps/x86_64/x32/shlib-versions: Likewise.
49602 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
49604         * sysdeps/unix/sysv/linux/kernel-features.h
49605         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49606         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49607         include <kernel-features.h>.
49608         [!__NR_ftruncate64]: Remove conditional code.
49609         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49610         [__NR_ftruncate64]: Make code unconditional.
49611         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49612         * sysdeps/unix/sysv/linux/truncate64.c: Do not
49613         include <kernel-features.h>.
49614         [!__NR_ftruncate64]: Remove conditional code.
49615         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49616         [__NR_ftruncate64]: Make code unconditional.
49617         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49619         include <kernel-features.h>.
49620         [!__NR_ftruncate64]: Remove conditional code.
49621         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49622         [__NR_ftruncate64]: Make code unconditional.
49623         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49625         include <kernel-features.h>.
49626         [!__NR_ftruncate64]: Remove conditional code.
49627         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49628         [__NR_ftruncate64]: Make code unconditional.
49629         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49631         * configure.in (libc_cv_fpie): Weaken to a compile test using
49632         LIBC_TRY_CC_OPTION.
49633         * configure: Regenerated.
49635 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49637         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49639         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49640         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49641         Refreshed.
49642         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49644         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49646         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49648         Refreshed.
49650 2012-05-27  David S. Miller  <davem@davemloft.net>
49652         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49653         (___Q_zero): New.
49654         (__Q_simulate_exceptions): Return void.  Change to simulate
49655         exceptions by writing into the %fsr.
49656         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49657         (__Qp_handle_exceptions): Likewise.
49658         (numbers): Delete.
49659         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49660         __Qp_handle_exceptions.
49661         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49662         __Qp_handle_exceptions.
49663         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49664         as unused and give dummy FP_RND_NEAREST initializer.
49665         (FP_INHIBIT_RESULTS): Define.
49666         (___Q_simulate_exceptions): Update declaration.
49667         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49668         formatting.
49669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49670         as unused and give dummy FP_RND_NEAREST initializer.
49671         (__Qp_handle_exceptions): Update declaration.
49672         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49673         formatting.
49675 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
49677         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49678         the temporary FPU control word.
49679         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49680         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49682         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49683         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49684         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49685         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49686         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49687         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49688         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49689         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49691 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49693         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49694         fields.
49696 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
49698         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49699         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49700         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49701         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49702         Likewise.
49703         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49704         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49705         Likewise.
49707 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
49709         * po/h.po: Update from translation team.
49711 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
49713         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49715         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49716         handling of denormals.
49717         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49718         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49719         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49720         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49722         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49724         Likewise.
49726 2012-05-26  Marek Polacek  <polacek@redhat.com>
49728         [BZ #14152]
49729         * math/libm-test.inc (fma_test): Don't always expect underflow
49730         exception.
49732 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49734         [BZ #12416]
49735         * elf/tst-execstack.c: Include stackinfo.h.
49736         (do_test): Adjust test case to ensure that pthread_getattr_np
49737         behaviour remains the same after marking stack executable.
49739 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
49741         * sysdeps/unix/sysv/linux/kernel-features.h
49742         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49743         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49744         kernel-features.h.
49745         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49746         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49747         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49748         kernel-features.h.
49749         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49750         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49752 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
49754         * configure.in: Define the default includes to being none.
49755         * configure: Regenerated.
49757 2012-05-25  Roland McGrath  <roland@hack.frob.com>
49759         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49760         * sysdeps/x86_64/setjmp.S: Likewise.
49761         * sysdeps/i386/bsd-setjmp.S: Likewise.
49762         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49763         * sysdeps/i386/setjmp.S: Likewise.
49764         * sysdeps/i386/__longjmp.S: Likewise.
49765         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49766         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49768         * include/stap-probe.h: New file.
49769         * configure.in: Handle --enable-systemtap.
49770         * configure: Regenerated.
49771         * config.h.in (USE_STAP_PROBE): New #undef.
49772         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49773         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49774         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49776 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
49778         [BZ #13717]
49779         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49780         to 2.4.0 where earlier.
49781         * sysdeps/unix/sysv/linux/configure: Regenerated.
49782         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
49791         [__ASSUME_32BITUIDS]: Make code unconditional.
49792         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49793         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49794         <kernel-features.h>.
49795         [__ASSUME_32BITUIDS]: Make code unconditional.
49796         [!__ASSUME_32BITUIDS]: Remove conditional code.
49797         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49798         <kernel-features.h>.
49799         [__ASSUME_32BITUIDS]: Make code unconditional.
49800         [!__ASSUME_32BITUIDS]: Remove conditional code.
49801         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49802         <kernel-features.h>.
49803         [__ASSUME_32BITUIDS]: Make code unconditional.
49804         [!__ASSUME_32BITUIDS]: Remove conditional code.
49805         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49806         <kernel-features.h>.
49807         [__ASSUME_32BITUIDS]: Make code unconditional.
49808         [!__ASSUME_32BITUIDS]: Remove conditional code.
49809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49810         <kernel-features.h>.
49811         [__ASSUME_32BITUIDS]: Make code unconditional.
49812         [!__ASSUME_32BITUIDS]: Remove conditional code.
49813         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49814         <kernel-features.h>.
49815         [__ASSUME_32BITUIDS]: Make code unconditional.
49816         [!__ASSUME_32BITUIDS]: Remove conditional code.
49817         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49818         <kernel-features.h>.
49819         [__ASSUME_32BITUIDS]: Make code unconditional.
49820         [!__ASSUME_32BITUIDS]: Remove conditional code.
49821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49822         <kernel-features.h>.
49823         [__ASSUME_32BITUIDS]: Make code unconditional.
49824         [!__ASSUME_32BITUIDS]: Remove conditional code.
49825         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49826         <kernel-features.h>.
49827         [__ASSUME_32BITUIDS]: Make code unconditional.
49828         [!__ASSUME_32BITUIDS]: Remove conditional code.
49829         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49830         <kernel-features.h>.
49831         [__ASSUME_32BITUIDS]: Make code unconditional.
49832         [!__ASSUME_32BITUIDS]: Remove conditional code.
49833         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49834         <kernel-features.h>.
49835         [__NR_setresgid] (__setresgid): Do not declare.
49836         [__ASSUME_32BITUIDS]: Make code unconditional.
49837         [!__ASSUME_32BITUIDS]: Remove conditional code.
49838         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49839         <kernel-features.h>.
49840         [__NR_setresuid] (__setresuid): Do not declare.
49841         [__ASSUME_32BITUIDS]: Make code unconditional.
49842         [!__ASSUME_32BITUIDS]: Remove conditional code.
49843         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49844         <kernel-features.h>.
49845         [__ASSUME_32BITUIDS]: Make code unconditional.
49846         [!__ASSUME_32BITUIDS]: Remove conditional code.
49847         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49848         <kernel-features.h>.
49849         [__ASSUME_32BITUIDS]: Make code unconditional.
49850         [!__ASSUME_32BITUIDS]: Remove conditional code.
49851         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49852         <kernel-features.h>.
49853         [__ASSUME_32BITUIDS]: Make code unconditional.
49854         [!__ASSUME_32BITUIDS]: Remove conditional code.
49855         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49856         <kernel-features.h>.
49857         [__ASSUME_32BITUIDS]: Make code unconditional.
49858         [!__ASSUME_32BITUIDS]: Remove conditional code.
49859         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49860         <kernel-features.h>.
49861         [__ASSUME_32BITUIDS]: Make code unconditional.
49862         [!__ASSUME_32BITUIDS]: Remove conditional code.
49863         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49864         <kernel-features.h>.
49865         [__ASSUME_32BITUIDS]: Make code unconditional.
49866         [!__ASSUME_32BITUIDS]: Remove conditional code.
49867         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49868         <kernel-features.h>.
49869         [__ASSUME_32BITUIDS]: Make code unconditional.
49870         [!__ASSUME_32BITUIDS]: Remove conditional code.
49871         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49872         <kernel-features.h>.
49873         [__ASSUME_32BITUIDS]: Make code unconditional.
49874         [!__ASSUME_32BITUIDS]: Remove conditional code.
49875         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49876         <kernel-features.h>.
49877         [__ASSUME_32BITUIDS]: Make code unconditional.
49878         [!__ASSUME_32BITUIDS]: Remove conditional code.
49879         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49880         <kernel-features.h>.
49881         [__ASSUME_32BITUIDS]: Make code unconditional.
49882         [!__ASSUME_32BITUIDS]: Remove conditional code.
49883         * sysdeps/unix/sysv/linux/kernel-features.h
49884         (__ASSUME_SETRESUID_SYSCALL): Remove.
49885         (__ASSUME_SETRESGID_SYSCALL): Likewise.
49886         (__ASSUME_32BITUIDS): Likewise.
49887         (__ASSUME_LDT_WORKS): Likewise.
49888         (__ASSUME_O_DIRECTORY): Likewise.
49889         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49890         architecture but not kernel version.
49891         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49892         (__ASSUME_MMAP2_SYSCALL): Likewise.
49893         (__ASSUME_STAT64_SYSCALL): Likewise.
49894         (__ASSUME_IPC64): Likewise.
49895         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49896         <kernel-features.h>.
49897         [__ASSUME_32BITUIDS]: Make code unconditional.
49898         [!__ASSUME_32BITUIDS]: Remove conditional code.
49899         * sysdeps/unix/sysv/linux/opendir.c: Do not include
49900         <kernel-features.h>.
49901         [__ASSUME_O_DIRECTORY]: Make code unconditional.
49902         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49903         132096]: Remove conditional code.
49904         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49905         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49906         <kernel-features.h>.
49907         [__ASSUME_32BITUIDS]: Make code unconditional.
49908         [!__ASSUME_32BITUIDS]: Remove conditional code.
49909         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49910         <kernel-features.h>.
49911         [__ASSUME_32BITUIDS]: Make code unconditional.
49912         [!__ASSUME_32BITUIDS]: Remove conditional code.
49913         * sysdeps/unix/sysv/linux/setegid.c: Do not include
49914         <kernel-features.h>.
49915         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49916         unconditional.
49917         (__setresgid): Do not declare.
49918         [__ASSUME_32BITUIDS]: Make code unconditional.
49919         [!__ASSUME_32BITUIDS]: Remove conditional code.
49920         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49921         <kernel-features.h>.
49922         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49923         unconditional.
49924         (__setresuid): Do not declare.
49925         [__ASSUME_32BITUIDS]: Make code unconditional.
49926         [!__ASSUME_32BITUIDS]: Remove conditional code.
49927         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49928         <kernel-features.h>.
49929         [__ASSUME_32BITUIDS]: Make code unconditional.
49930         [!__ASSUME_32BITUIDS]: Remove conditional code.
49931         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49932         <kernel-features.h>.
49933         [__ASSUME_32BITUIDS]: Make code unconditional.
49934         [!__ASSUME_32BITUIDS]: Remove conditional code.
49936 2012-05-25  Richard Henderson  <rth@twiddle.net>
49938         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49939         dl_hwcap to ifunc resolver.
49940         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49941         elf_ifunc_invoke.
49942         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49943         dl_hwcap to ifunc resolver.
49944         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49946 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49948         [BZ #14153]
49949         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49950         for |x| <= 2**-26, not 2**-57.
49951         * math/libm-test.inc (acos_test): Do not allow spurious underflow
49952         exception.
49954 2012-05-24  Jeff Law  <law@redhat.com>
49956         * stdio-common/Makefile (tests): Add bug25.
49957         * stdio-common/bug25.c: New test.
49959 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49961         [BZ #13576]
49962         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49963         multiple of MALLOC_ALIGNMENT in size.
49964         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49966 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49968         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49969         Require >= 256.
49970         (FILENAME_MAX): Use macro-int-constant.
49971         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
49972         (_IOFBF): Use macro-int-constant.
49973         (_IOLBF): Likewise.
49974         (_IONBF): Likewise.
49975         (SEEK_CUR): Likewise.
49976         (SEEK_END): Likewise.
49977         (SEEK_SET): Likewise.
49978         (TMP_MAX): Likewise.
49979         (EOF): Use macro-int-constant.  Require < 0.
49980         (NULL): Use macro-constant.  Require == 0.
49981         (stdin): Require type to be FILE *.
49982         (stdout): Likewise.
49983         (stderr): Likewise.
49984         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49985         macro-int-constant.
49986         (EXIT_SUCCESS): Likewise.
49987         (NULL): Use macro-constant.  Require == 0.
49988         (RAND_MAX): Use macro-int-constant.
49989         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49990         [C99-based standards] (strtof): Require function.
49991         [C99-based standards] (strtold): Likewise.
49992         [C99-based standards] (strtoll): Likewise.
49993         [C99-based standards] (strtoull): Likewise.
49994         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49995         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49996         [ISO || ISO99 || ISO11] (math.h): Likewise.
49997         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49998         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49999         [ISO || ISO99 || ISO11] (*_t): Do not allow.
50001 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
50003         [BZ #14132]
50004         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
50005         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
50006         * intl/dgettext.c (DCGETTEXT): Likewise.
50007         * intl/gettext.c (DCGETTEXT): Likewise.
50008         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
50009         * posix/regex_internal.h (gettext): Likewise.
50010         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
50011         Remove declaration.
50012         * include/argz.h (__argz_count_internal)
50013         (__argz_stringify_internal): Remove declaration.
50014         (__argz_count, __argz_stringify): Declare hidden proto.
50015         * intl/dcgettext.c: Remove use of INTDEF.
50016         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
50017         * string/argz-stringify.c: Likewise.
50018         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50019         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50020         Declare hidden proto.
50021         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
50022         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
50023         Declare hidden proto.
50024         * include/stdio.h (__asprintf_internal): Don't declare.
50025         (__asprintf): Don't define as macro.  Declare hidden proto.
50026         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
50027         (__fsetlocking): Declare hidden proto.
50028         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
50029         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
50030         hidden proto.
50031         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
50032         (_IO_setlinebuf): Remove use of INTUSE.
50033         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
50034         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
50035         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
50036         Remove declaration.
50037         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
50038         (_IO_do_flush): Remove use of INTUSE.
50039         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
50040         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
50041         (_IO_adjust_column, _IO_least_wmarker)
50042         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
50043         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
50044         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
50045         (_IO_default_doallocate, _IO_wdefault_doallocate)
50046         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
50047         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
50048         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
50049         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
50050         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
50051         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
50052         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
50053         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
50054         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
50055         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
50056         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
50057         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
50058         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
50059         proto.
50060         (_IO_flush_all_internal, _IO_adjust_column_internal)
50061         (_IO_default_uflow_internal, _IO_default_finish_internal)
50062         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
50063         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
50064         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
50065         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
50066         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
50067         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
50068         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
50069         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
50070         (_IO_file_close_internal, _IO_file_close_it_internal)
50071         (_IO_file_underflow_internal, _IO_file_overflow_internal)
50072         (_IO_file_init_internal, _IO_file_attach_internal)
50073         (_IO_file_fopen_internal, _IO_file_read_internal)
50074         (_IO_file_sync_internal, _IO_file_seek_internal)
50075         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
50076         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
50077         (_IO_str_underflow_internal, _IO_str_overflow_internal)
50078         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
50079         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
50080         (_IO_list_all_internal, _IO_link_in_internal)
50081         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
50082         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
50083         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
50084         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
50085         (_IO_do_write_internal, _IO_padn_internal)
50086         (_IO_getline_info_internal, _IO_getline_internal)
50087         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
50088         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
50089         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
50090         (_IO_vfscanf_internal, _IO_vfprintf_internal)
50091         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
50092         (_IO_init_internal, _IO_un_link_internal): Don't declare.
50093         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
50094         with libc_hidden_ver, remove use of INTUSE.
50095         * libio/genops.c: Likewise.
50096         * libio/freopen.c: Likewise.
50097         * libio/freopen64.c: Likewise.
50098         * libio/iofclose.c: Likewise.
50099         * libio/iofdopen.c: Likewise.
50100         * libio/iofflush.c: Likewise.
50101         * libio/iofflush_u.c: Likewise.
50102         * libio/iofgets.c: Likewise.
50103         * libio/iofgets_u.c: Likewise.
50104         * libio/iofopen.c: Likewise.
50105         * libio/iofopncook.c: Likewise.
50106         * libio/iofread.c: Likewise.
50107         * libio/iofread_u.c: Likewise.
50108         * libio/ioftell.c: Likewise.
50109         * libio/iofwrite.c: Likewise.
50110         * libio/iogetline.c: Likewise.
50111         * libio/iogets.c: Likewise.
50112         * libio/iogetwline.c: Likewise.
50113         * libio/iopadn.c: Likewise.
50114         * libio/iopopen.c: Likewise.
50115         * libio/ioseekoff.c: Likewise.
50116         * libio/ioseekpos.c: Likewise.
50117         * libio/iosetbuffer.c: Likewise.
50118         * libio/iosetvbuf.c: Likewise.
50119         * libio/ioungetc.c: Likewise.
50120         * libio/ioungetwc.c: Likewise.
50121         * libio/iovdprintf.c: Likewise.
50122         * libio/iovsprintf.c: Likewise.
50123         * libio/iovsscanf.c: Likewise.
50124         * libio/memstream.c: Likewise.
50125         * libio/obprintf.c: Likewise.
50126         * libio/oldfileops.c: Likewise.
50127         * libio/oldiofclose.c: Likewise.
50128         * libio/oldiofdopen.c: Likewise.
50129         * libio/oldiofopen.c: Likewise.
50130         * libio/oldiopopen.c: Likewise.
50131         * libio/oldstdfiles.c: Likewise.
50132         * libio/putc.c: Likewise.
50133         * libio/setbuf.c: Likewise.
50134         * libio/setlinebuf.c: Likewise.
50135         * libio/stdfiles.c: Likewise.
50136         * libio/strops.c: Likewise.
50137         * libio/vasprintf.c: Likewise.
50138         * libio/vscanf.c: Likewise.
50139         * libio/vsnprintf.c: Likewise.
50140         * libio/vswprintf.c: Likewise.
50141         * libio/wfiledoalloc.c: Likewise.
50142         * libio/wfileops.c: Likewise.
50143         * libio/wgenops.c: Likewise.
50144         * libio/wmemstream.c: Likewise.
50145         * libio/wstrops.c: Likewise.
50146         * libio/__fpurge.c: Likewise.
50147         * libio/__fsetlocking.c: Likewise.
50148         * assert/assert.c: Likewise.
50149         * debug/fgets_chk.c: Likewise.
50150         * debug/fgets_u_chk.c: Likewise.
50151         * debug/fread_chk.c: Likewise.
50152         * debug/fread_u_chk.c: Likewise.
50153         * debug/gets_chk.c: Likewise.
50154         * debug/obprintf_chk.c: Likewise.
50155         * debug/vasprintf_chk.c: Likewise.
50156         * debug/vdprintf_chk.c: Likewise.
50157         * debug/vsnprintf_chk.c: Likewise.
50158         * debug/vsprintf_chk.c: Likewise.
50159         * malloc/mtrace.c: Likewise.
50160         * misc/error.c: Likewise.
50161         * misc/syslog.c: Likewise.
50162         * stdio-common/asprintf.c: Likewise.
50163         * stdio-common/fxprintf.c: Likewise.
50164         * stdio-common/getw.c: Likewise.
50165         * stdio-common/isoc99_fscanf.c: Likewise.
50166         * stdio-common/isoc99_scanf.c: Likewise.
50167         * stdio-common/isoc99_vfscanf.c: Likewise.
50168         * stdio-common/isoc99_vscanf.c: Likewise.
50169         * stdio-common/isoc99_vsscanf.c: Likewise.
50170         * stdio-common/printf-prs.c: Likewise.
50171         * stdio-common/printf_fp.c: Likewise.
50172         * stdio-common/printf_fphex.c: Likewise.
50173         * stdio-common/printf_size.c: Likewise.
50174         * stdio-common/putw.c: Likewise.
50175         * stdio-common/scanf.c: Likewise.
50176         * stdio-common/sprintf.c: Likewise.
50177         * stdio-common/tmpfile.c: Likewise.
50178         * stdio-common/vfprintf.c: Likewise.
50179         * stdio-common/vfscanf.c: Likewise.
50180         * stdlib/strfmon_l.c: Likewise.
50181         * sunrpc/openchild.c: Likewise.
50182         * sunrpc/xdr_stdio.c: Likewise.
50183         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
50184         * sysdeps/mach/hurd/tmpfile.c: Likewise.
50186 2012-05-24  Roland McGrath  <roland@hack.frob.com>
50188         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50190         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
50191         in the third column, to generate for the shared library an IFUNC
50192         that uses _dl_vdso_vsym.
50193         * Makerules (COMPILE.c, compile-stdin.c): New variables.
50194         * Makeconfig (object-suffixes-noshared): New variable.
50196         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
50197         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
50198         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
50199         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
50201         [BZ #14132]
50202         * include/sys/time.h (__gettimeofday): Remove macro.
50203         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
50204         * time/gettimeofday.c (__gettimeofday): Remove #undef.
50205         Remove INTDEF.
50206         (__gettimeofday): Add libc_hidden_def.
50207         (gettimeofday): Add libc_hidden_weak.
50208         * sysdeps/mach/gettimeofday.c: Likewise.
50209         * sysdeps/posix/gettimeofday.c: Likewise.
50210         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
50211         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
50212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
50213         (__gettimeofday_internal): Remove strong_alias.
50214         (__gettimeofday): Add libc_hidden_def.
50215         (gettimeofday): Add libc_hidden_weak.
50216         * sysdeps/unix/syscalls.list (gettimeofday):
50217         Remove __gettimeofday_internal alias.
50219 2012-05-24  Daniel Jacobowitz  <drow@false.org>
50220             H.J. Lu  <hongjiu.lu@intel.com>
50222         [BZ #12495]
50223         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
50224         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
50225         (largebin_index_32_big): New.
50226         (largebin_index): Use it for 16-byte alignment.
50227         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
50228         correction with front_misalign.
50230 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
50232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
50233         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
50234         Likewise.
50235         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
50236         Likewise.
50237         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50238         Likewise.
50239         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
50240         Likewise.
50241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
50242         Likewise.
50243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
50244         Likewise.
50245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
50246         Likewise.
50247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50248         Likewise.
50249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
50250         Likewise.
50251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50252         Likewise.
50253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50254         Likewise.
50255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50256         Likewise.
50258         * scripts/data/c++-types-x32-linux-gnu.data: New file.
50259         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50261 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50263         [BZ #10846]
50264         [BZ #14036]
50265         * math/libm-test.inc (exp_test): Add test from bug 14036.
50266         (pow_test): Add test from bug 10846.
50268         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50269         and other flags.
50270         (special_function): Do not include flags in test name.
50271         (parse_args): Likewise.
50272         * sysdeps/i386/fpu/libm-test-ulps: Update.
50273         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50274         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50275         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50278         * math/gen-libm-test.pl (%beautify): Add entries for underflow
50279         exceptions.
50280         * math/libm-test.inc ("Philosophy"): Update comment about
50281         exception testing.
50282         (UNDERFLOW_EXCEPTION): New macro.
50283         (UNDERFLOW_EXCEPTION_OK): Likewise.
50284         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50285         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50286         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50287         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50288         (INVALID_EXCEPTION_OK): Update value.
50289         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50290         (OVERFLOW_EXCEPTION_OK): Likewise.
50291         (IGNORE_ZERO_INF_SIGN): Likewise.
50292         (test_exceptions): Handle underflow exceptions.
50293         (acos_test): Update for underflow exception expectations.
50294         (cexp_test): Likewise.
50295         (clog_test): Likewise.
50296         (clog10_test): Likewise.
50297         (csqrt_test): Likewise.
50298         (ctan_test): Likewise.
50299         (ctanh_test): Likewise.
50300         (exp_test): Likewise.
50301         (exp10_test): Likewise.
50302         (exp2_test): Likewise.
50303         (expm1_test): Likewise.
50304         (fma_test): Likewise.
50305         (j0_test): Likewise.
50306         (jn_test): Likewise.
50307         (nexttoward_test): Likewise.
50308         (pow_test): Likewise.
50309         (scalbn_test): Likewise.
50310         (scalbln_test): Likewise.
50311         (tan_test): Likewise.
50312         (y1_test): Likewise.
50313         * sysdeps/i386/fpu/libm-test-ulps: Update.
50314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50316 2012-05-23  David S. Miller  <davem@davemloft.net>
50318         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50319         (__libc_sigaction): Remove unused local variables.
50321 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50323         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50325 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
50327         mktime: avoid signed integer overflow
50328         * time/mktime.c (__mktime_internal): Do not mishandle the case
50329         where diff == INT_MIN.
50331         mktime: simplify computation of average
50332         * time/mktime.c (ranged_convert): Use new time_t_avg function
50333         instead of rolling our own (probably-slower) code.
50335         mktime: do not assume signed right shift propagates sign bit
50336         * time/mktime.c (isdst_differ): New static function.
50337         (__mktime_internal): No need to normalize tm_isdst now.
50338         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50339         tm_isdst values.
50341         mktime: merge another wrapv change from gnulib
50342         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50343         from some compilers.
50345         mktime: remove incorrect attempt at unusual arithmetics
50346         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50347         The code didn't really work on such machines anyway.
50348         (TYPE_MINIMUM): Assume two's complement.
50349         (twos_complement_arithmetic): Verify that long_int and time_t
50350         are two's complement (or unsigned, in the latter case).
50352         mktime: check signed shifts on long_int and time_t, too
50353         * time/mktime.c (SHR): Check that shifts work as desired
50354         on the types long_int and time_t too, as SHR is used on
50355         such types.
50357         mktime: do not assume 'long' is wide enough
50358         * time/mktime.c (verify): Move decl up.
50359         (long_int): New type.
50360         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50361         to remove assumption in the code that 'long' is wide enough to
50362         store year values.  This assumption is not true on x32 and on
50363         some non-glibc platforms.
50365         mktime: merge wrapv change from gnulib
50366         * time/mktime.c (WRAPV): New macro.
50367         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50368         (guess_time_tm, __mktime_internal): Do not assume that signed
50369         integer overflow wraps around; modern compilers generate code
50370         where this assumption is no longer valid.
50372 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50374         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50375         Replace "jmp L(pseudo_end)" with "ret".
50376         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50377         Likewise.
50379 2012-05-23  Andreas Jaeger  <aj@suse.de>
50381         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50382         * sysdeps/unix/sysv/linux/poll.c: Remove file.
50384 2012-05-23  Andreas Jaeger  <aj@suse.de>
50385             Maximilian Attems  <max@stro.at>
50387         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50388         New macros.
50390 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50392         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50393         code so that pseudo_end is just ret and the stack pointer is
50394         correct also for static library in error case.
50396 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
50398         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50399         move to syscalls.list.
50400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50405         * manual/install.texi (Running make install): Do not mention Linux
50406         kernel version for which pt_chown is not needed.
50407         (Linux): Do not mention problems with nscd with 2.0 kernels.
50408         * INSTALL: Regenerated.
50410 2012-05-23  Andreas Jaeger  <aj@suse.de>
50412         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50413         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50414         macro.
50415         * sysdeps/unix/sysv/linux/s390/bits/mman.h
50416         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50417         * sysdeps/unix/sysv/linux/sh/bits/mman.h
50418         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50419         * sysdeps/unix/sysv/linux/i386/bits/mman.h
50420         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50421         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50422         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50423         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50425         * sysdeps/unix/sysv/linux/bits/in.h
50426         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50428 2012-05-22  Roland McGrath  <roland@hack.frob.com>
50430         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50431         (PREPARE_VERSION): Just use assert instead, it will be elided
50432         under [NDEBUG] anyway.
50434 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50436         * sysdeps/unix/sysv/linux/Makefile: Include
50437         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50438         (sysdep_routines): Remove sysctl.
50439         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50440         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50441         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50442         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50443         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50445 2012-05-22  Andreas Jaeger  <aj@suse.de>
50447         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50448         that pseudo_end is just ret and the stack pointer is correct also
50449         for static library in error case.
50451 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
50453         [BZ #14122]
50454         * nss/nsswitch.c (defconfig_entries): New variable.
50455         (__nss_database_lookup): Don't leak defconfig entries.
50456         (nss_parse_service_list): Don't leak on error paths.
50457         (free_database_entries): New function.
50458         (free_defconfig): New function.
50459         (free_mem): Move common code to free_database_entries.
50461 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50463         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50464         Add arch_prctl.
50465         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50467         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50468         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50469         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50470         New macro.
50471         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50472         (INTERNAL_SYSCALL_TYPES): Likewise.
50473         (LOAD_ARGS_TYPES_[1-6]): Likewise.
50474         (LOAD_REGS_TYPES_[1-6]): Likewise.
50475         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50476         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50478 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50480         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50481         copysignl for GLIBC_2_0.
50482         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50483         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50484         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50485         logbl for GLIBC_2_0.
50486         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50487         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50489 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50491         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50492         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50494         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50495         Use "neg %eax".
50497         * time/mktime.c: Update copyright years.
50499 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
50501         mktime: merge comment-quoting-style change from gnulib
50502         * time/mktime.c: Quote 'like this' in comments.
50503         The GNU coding standards suggest that we no longer quote `like this',
50504         as "`" and "'" are typically rendered asymmetrically nowadays.
50505         The typical gnulib style is to quote 'like this' when quoting
50506         code, and "like this" when quoting English.
50508         * time/mktime.c (compile-command): Add "-I.".
50510         mktime: merge mktime-internal.h change from gnulib
50511         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50513         mktime: merge time_r change from gnulib
50514         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50516         mktime: merge DEBUG change from gnulib
50517         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50518         case system <time.h> has a #define.
50520         mktime: merge <sys/types.h> change from gnulib
50521         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50522         since <time.t> is now guaranteed to define time_t.
50524         mktime: merge HAVE_CONFIG_H change from gnulib
50525         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50527 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50529         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50530         Use "neg %eax".
50532         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50533         __rlim_t cast.
50534         (struct rusage): Use anonymous union to pad each field to
50535         __syscall_slong_t.
50537 2012-05-21  David S. Miller  <davem@davemloft.net>
50539         * Makefules (o-iterator): Remove .s cases.
50540         (compile-command.s): Delete.
50541         (COMPILE.s): Delete.
50542         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50544 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
50546         * configure.in (libc_cv_predef_stack_protector): Only consider
50547         "foobar" and "__stack_chk_fail" lines in libc_undefs.
50548         * configure: Regenerated.
50550 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50553         New macro.  Use R*LP on int and pointer.
50554         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50555         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50556         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50557         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50559         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50560         [__WORDSIZE_TIME64_COMPAT32] instead of
50561         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50562         (struct utmp): Likewise.
50563         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50564         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50565         Renamed to ...
50566         (__WORDSIZE_TIME64_COMPAT32): This.
50567         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50568         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50569         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50570         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50571         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50572         (__WORDSIZE_TIME64_COMPAT32): New macro.
50574 2012-05-21  Andreas Jaeger  <aj@suse.de>
50576         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50577         only if [SHARED]. Add prototype for __wcschr_ia32.
50579 2012-05-21  Roland McGrath  <roland@hack.frob.com>
50581         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50582         of %rbp unmolested in the jmp_buf while mangling the low bits.
50583         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50584         unmolested high bits of %rbp while demangling the low bits.
50585         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50587 2012-05-21  Andreas Jaeger  <aj@suse.de>
50589         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50590         * sunrpc/svc_simple.c: Use it for registerrpc.
50591         * sunrpc/xcrypt.c: Use it for passwd2des.
50593         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50595 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50597         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50598         Don't define if [__SYSCALL_WORDSIZE != 32].
50599         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50600         New macro.
50602 2012-05-21  Bruno Haible  <bruno@clisp.org>
50603             Andreas Jaeger  <aj@suse.de>
50605         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50606         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50607         inptr and inend for must_buffer_ch.
50608         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50609         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50610         * stdio-common/Makefile (tests): Remove bug15.
50611         (bug15-ENV): Remove macro.
50612         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50613         anymore.
50615 2012-05-19  Andreas Jaeger  <aj@suse.de>
50616             Roland McGrath  <roland@hack.frob.com>
50618         * manual/contrib.texi: Completely rewritten. It contains now an
50619         alphabetical list of contributors and their contributions.
50621 2012-05-21  Richard Henderson  <rth@twiddle.net>
50623         * misc/getauxval.c (__getauxval): Use unsigned long int.
50624         * misc/sys/auxv.h: Include <sys/cdefs.h>.
50625         (getauxval): Use unsigned long int.
50627 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50629         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50631 2012-05-21  Roland McGrath  <roland@hack.frob.com>
50633         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50634         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50635         __alignof__ (long double).
50637 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50639         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50641 2012-05-20  Richard Henderson  <rth@twiddle.net>
50643         * misc/getauxval.c: New file.
50644         * misc/sys/auxv.h: New file.
50645         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50646         (routines): Add getauxval.
50647         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50648         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50649         * elf/dl-sysdep.c (_dl_auxv): Remove.
50650         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50651         * elf/dl-support.c (_dl_auxv): New variable.
50652         (_dl_aux_init): Initialize it.
50653         * manual/startup.texi (Auxiliary Vector): New node.
50654         * sysdeps/generic/bits/hwcap.h: New file.
50655         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50656         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
50657         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50658         * sysdeps/sparc/sysdep.h: ... here.  Include it.
50659         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50660         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50662         Update.
50663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50665         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50672 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50676 2012-05-19  David S. Miller  <davem@davemloft.net>
50678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50680 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
50682         [BZ #14123]
50683         * math/s_ccosh.c: Include <float.h>
50684         (__ccosh): Avoid internal overflow calculating sinh and cosh
50685         values before multiplying by sin and cos values.
50686         * math/s_ccoshf.c: Likewise.
50687         * math/s_ccoshl.c: Likewise.
50688         * math/s_csin.c: Likewise.
50689         * math/s_csinf.c: Likewise.
50690         * math/s_csinl.c: Likewise.
50691         * math/s_csinh.c: Likewise.
50692         * math/s_csinhf.c: Likewise.
50693         * math/s_csinhl.c: Likewise.
50694         * math/libm-test.inc (ccos_test): Add more tests.
50695         (ccosh_test): Likewise.
50696         (csin_test): Likewise.
50697         (csinh_test): Likewise.
50698         * sysdeps/i386/fpu/libm-test-ulps: Update.
50699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50701 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
50703         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50704         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50706         * sysdeps/x86_64/x32/_itoa.h: Add comment.
50708 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
50710         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50711         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50712         * sysdeps/powerpc/soft-fp/Versions: Likewise.
50713         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50714         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50715         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50716         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50717         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50718         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50719         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50720         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50721         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50722         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50723         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50724         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50725         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50726         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50727         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50728         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50729         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50730         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50731         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50732         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50733         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50734         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50735         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50736         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50737         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50738         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50739         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50740         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50742 2012-05-18  Andreas Jaeger  <aj@suse.de>
50744         * csu/.gitignore: Delete.
50746 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50748         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50749         (timex): Use __syscall_slong_t.
50751 2012-05-18  Andreas Jaeger  <aj@suse.de>
50752             Carlos O'Donell  <carlos_odonell@mentor.com>
50754         * manual/install.texi (Configuring and compiling): Update
50755         description about files modified in the source directory.
50756         * INSTALL: Regenerated.
50758 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50760         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50761         value.  Use "or" to set return value to -1.
50762         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50763         negate return value.
50765 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50767         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50768         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50769         failure if the compiler has Graphite support disabled.
50770         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50771         Likewise.
50772         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50773         (CFLAGS-memmove.c): Likewise.
50774         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50775         Likewise.
50777 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50779         * sysdeps/x86_64/x32/_itoa.h: New file.
50781         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50782         getdents system call only if kernel and user dirents have the
50783         same d_ino and d_off.
50785         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50786         LLONG_MAX != LONG_MAX.
50787         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50788         (_fitoa_word): Likewise.
50790         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50791         years.
50792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50793         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50794         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50796         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50797         include <bits/wordsize.h>.  Check __x86_64__ instead of
50798         __WORDSIZE.
50799         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50800         if __x86_64__ is defined.  Use anonymous union on fpstate.
50802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50803         anonymous union.
50805 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
50807         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50808         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50809         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50810         Refer to _rtld_local_ro instead of _rtld_global_ro.
50811         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50812         Likewise.
50813         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50814         Likewise.
50815         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50816         Likewise.
50817         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50818         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50819         of _rtld_global, and rtld_progname instead of _dl_argv[0].
50821         [BZ #10882]
50822         * sysdeps/powerpc/powerpc32/dl-machine.c
50823         (__elf_machine_runtime_setup) [PROF]: Don't reference
50824         _dl_prof_resolve.
50826 2012-05-18  Andreas Jaeger  <aj@suse.de>
50828         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50829         function only available for GCCs before 3.4 since GCC 3.4
50830         introduced a builtin.
50831         (lrint): Likewise.
50832         (llrintf): Likewise.
50833         (llrint): Likewise.
50834         (fmaxf): Likewise.
50835         (fmax): Likewise.
50836         (fminf): Likewise.
50837         (fmin): Likewise.
50838         (rint): Likewise.
50839         (rintf): Likewise.
50840         (nearbyint): Likewise.
50841         (nearbyintf): Likewise.
50842         (ceil): Likewise.
50843         (ceilf): Likewise.
50844         (floor): Likewise.
50845         (floorf): Likewise.
50847 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50849         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50850         on both fields and cast pointer to __syscall_ulong_t.
50852         * bits/types.h (__fsword_t): New type.
50853         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50854         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50856         (__FSWORD_T_TYPE): Likewise.
50857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50858         (__FSWORD_T_TYPE): Likewise.
50859         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50860         (__FSWORD_T_TYPE): Likewise.
50861         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50862         (__FSWORD_T_TYPE): Likewise.
50863         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50864         __SWORD_TYPE with __fsword_t.
50865         (statfs64): Likewise.
50867 2012-05-17  David S. Miller  <davem@davemloft.net>
50869         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50871 2012-05-17  Andreas Jaeger  <aj@suse.de>
50873         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50874         warning.
50876 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50878         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50880 2012-05-17  Andreas Jaeger  <aj@suse.de>
50882         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50883         when it is used.
50885 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50887         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50889 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50891         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50892         * sysdeps/x86_64/tst-mallocalign1.c: New file.
50894 2012-05-17  Andreas Jaeger  <aj@suse.de>
50895             Carlos O'Donell  <carlos_odonell@mentor.com>
50897         [BZ #14059]
50898         * sysdeps/x86_64/multiarch/init-arch.h
50899         (bit_YMM_Usable): Rename to...
50900         (bit_AVX_Usable): ... this.
50901         (bit_FMA4_Usable): New macro.
50902         (bit_XMM_state): New macro.
50903         (bit_YMM_state): New macro.
50904         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50905         [__ASSEMBLER__] (index_AVX_Usable): ... this.
50906         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50907         (CPUID_OSXSAVE): New macro.
50908         (CPUID_AVX): New macro.
50909         (CPUID_FMA4): New macro.
50910         (index_YMM_Usable): Rename to...
50911         (index_AVX_Usable): ... this.
50912         (HAS_AVX): Use HAS_ARCH_FEATURE.
50913         (HAS_FMA4): Likewise.
50914         (HAS_YMM_USABLE): Remove.
50915         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50916         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50917         are present.
50918         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50919         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50920         * sysdeps/x86_64/multiarch/Makefile: Likewise.
50921         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50922         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50924 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50926         * math/libm-test.c: Support platforms without multiple rounding modes.
50927         * math/bug-nextafter.c: Support platforms without FP exceptions.
50928         * math/bug-nexttoward.c: Likewise.
50929         * math/test-fenv.c: Likewise.
50930         * math/test-misc.c: Likewise.
50931         * stdlib/bug-getcontext.c: Likewise.
50933 2012-05-17  Andreas Jaeger  <aj@suse.de>
50935         * manual/examples/search.c (critter_cmp): Change signature to
50936         avoid warnings.
50937         * manual/string.texi (Collation Functions): Likewise.
50939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50941         * bits/types.h: Fold copyright years.
50942         * bits/typesizes.h: Likewise.
50943         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50944         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50945         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50946         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50947         * time/time.h: Likewise.
50949 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
50951         [BZ #208]
50952         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50953         in instead of returning them.  Return void.
50954         (__libc_mallinfo): Accumulate over all arenas.
50955         (__malloc_stats): Adjust for change in int_mallinfo interface.
50957 2012-05-16  Roland McGrath  <roland@hack.frob.com>
50959         [BZ #10375]
50960         * configure.in (NM): Add AC_CHECK_TOOL for it.
50961         (libc_extra_cflags): New substituted variable.
50962         Check for -fstack-protector being used implicitly.
50963         * configure: Regenerated.
50964         * config.make.in (config-extra-cflags): New variable,
50965         gets @libc_extra_cflags@.
50966         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50968         [BZ #10375]
50969         * configure.in: Check for _FORTIFY_SOURCE being predefined.
50970         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50971         * configure: Regenerated.
50972         * config.make.in (CPPUNDEFS): New substituted variable.
50973         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50974         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50975         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50977 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50979         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50980         (mq_attr): Use __syscall_slong_t.
50982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50984         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50985         Check __x86_64__ instead of __WORDSIZE.
50986         (_STAT_VER_LINUX): Likewise.
50987         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50988         __syscall_ulong_t and __syscall_slong_t.
50989         (stat64): Likewise.
50991 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50993         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50995 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50997         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50999 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51001         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
51002         __syscall_ulong_t.
51004         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
51005         include <bits/wordsize.h>.  Check __x86_64__ instead of
51006         __WORDSIZE.
51007         (greg_t): Use "__extension__ long long int" if __x86_64__ is
51008         defined.
51009         (mcontext_t): Replace "unsigned long" with "unsigned long long".
51011         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
51012         include <bits/wordsize.h>.  Check __x86_64__ instead of
51013         __WORDSIZE.
51014         (user_regs_struct): Use "__extension__ unsigned long long"
51015         instead of "unsigned long" if __x86_64__ is defined.
51016         (user): Likewise.  Pad after pointer field if __ILP32__ is
51017         defined.
51019 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
51021         * configure.in (makeinfo): Require version 4.5 or later.  Allow
51022         versions 5 to 9.
51023         * configure: Regenerated.
51024         * manual/install.texi (texinfo): Increase version requirement to
51025         4.5 or later.
51026         * INSTALL: Regenerated.
51028         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
51030 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51032         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
51034         * sysdeps/x86_64/x32/ffs.c: New file.
51036         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
51037         __syscall_ulong_t.
51038         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
51039         defined.  Use __syscall_ulong_t.
51040         (shminfo): Use __syscall_ulong_t.
51041         (shm_info): Likewise.
51043         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
51044         __syscall_ulong_t.
51046         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
51047         <bits/wordsize.h>.
51048         (msgqnum_t): Use __syscall_ulong_t.
51049         (msglen_t): Likewise.
51050         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
51051         __syscall_ulong_t.
51053         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
51054         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51056         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
51058         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
51059         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
51061         * sysvipc/sys/msg.h (msgbuf): Replace long int with
51062         __syscall_slong_t.
51064         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
51065         include <bits/wordsize.h>.  Check __x86_64__ instead of
51066         __WORDSIZE.
51068         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
51069         "unsigned long long int" if __x86_64__ is defined.
51070         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
51072         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
51073         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
51074         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
51076         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
51077         <stdint.h>.
51078         (GET_PC): Cast to uintptr_t first.
51079         (GET_FRAME): Likewise.
51080         (GET_STACK): Likewise.
51082         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
51083         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
51084         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
51085         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
51086         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
51087         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
51088         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
51089         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
51090         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
51091         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
51092         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
51093         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
51094         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
51095         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
51096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
51097         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
51098         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
51099         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
51100         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
51101         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
51102         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
51103         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
51104         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
51105         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
51106         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
51107         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
51108         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
51109         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
51110         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
51112 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
51114         * Makerules (+depfiles): Also collect depfiles from .oS in
51115         $(extra-objs).
51116         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
51117         .oS, $(libnldbl-routines)).
51119         * Makerules (native-compile-mkdep-flags): Define.
51120         * sunrpc/Makefile (extra-objs): Add $(addprefix
51121         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
51122         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
51123         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
51124         calling $(make-target-directory).
51126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51128         * bits/types.h (__snseconds_t): Removed.
51129         * time/time.h (struct timespec): Replace __snseconds_t with
51130         __syscall_slong_t.
51131         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
51132         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
51133         Likewise.
51134         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51135         (__SNSECONDS_T_TYPE): Likewise.
51136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51137         (__SNSECONDS_T_TYPE): Likewise.
51138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51139         (__SNSECONDS_T_TYPE): Likewise.
51141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51143         * sysdeps/mach/hurd/bits/typesizes.h
51144         (__SYSCALL_SLONG_TYPE): New macro.
51145         (__SYSCALL_ULONG_TYPE): Likewise.
51147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51149         * bits/types.h (__syscall_slong_t): New type.
51150         (__syscall_ulong_t): Likewise.
51152         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
51153         (__SYSCALL_ULONG_TYPE): Likewise.
51154         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
51155         (__SYSCALL_SLONG_TYPE): Likewise.
51156         (__SYSCALL_ULONG_TYPE): Likewise.
51157         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
51158         (__SYSCALL_SLONG_TYPE): Likewise.
51159         (__SYSCALL_ULONG_TYPE): Likewise.
51160         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
51161         (__SYSCALL_SLONG_TYPE): Likewise.
51162         (__SYSCALL_ULONG_TYPE): Likewise.
51164 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51166         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
51167         Add sigaltstack-offsets.sym.
51168         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
51169         <sigaltstack-offsets.h>.
51170         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
51171         longjmp_msg pointer.
51172         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
51173         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
51174         signal stack.
51175         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
51177 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
51179         * elf/stackguard-macros.h: Remove file.
51180         * sysdeps/generic/stackguard-macros.h: New file.
51181         * sysdeps/i386/stackguard-macros.h: Likewise.
51182         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
51183         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
51184         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
51185         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
51186         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
51187         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
51188         * sysdeps/x86_64/stackguard-macros.h: Likewise.
51189         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
51190         <elf/stackguard-macros.h>.
51192         [BZ #14109]
51193         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
51194         __aligned__ in attribute.
51195         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
51196         (gregset_t): Likewise.
51198 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51200         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
51201         * sysdeps/x86_64/64/Implies-after: Here.  New file.
51202         * sysdeps/x86_64/x32/Implies-after: New file.
51204 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51206         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
51207         and access return value for _dl_profile_fixup.  Use R10_LP to
51208         load frame size.
51210 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51212         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
51214 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51216         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
51217         * sysdeps/x86_64/x32/sysdep.h: New file.
51219 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51221         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
51222         * sysdeps/x86_64/setjmp.S: Likewise.
51224 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51226         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
51227         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
51228         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
51229         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
51230         remove unused global constant.
51232 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
51234         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
51235         include of <not-cancel.h>.
51237 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51239         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
51241 2012-05-15  Jeff Law  <law@redhat.com>
51242             Andreas Jaeger  <aj@suse.de>
51244         [BZ #13594]
51245         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51246         out from...
51247         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
51248         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
51249         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
51250         code changing __hst_map_handle.map.
51252 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51254         * configure.in (sysnames): Look for Implies-before and Implies-after
51255         files.
51256         * configure: Regenerated.
51258 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51260         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51261         8-byte data alignment with LP_SIZE alignment.
51263 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51265         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51266         into R10_LP.
51268 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51270         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51272 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51274         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51275         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51276         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51277         Likewise.
51278         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51282         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51283         (stackinfo_sub_sp): Likewise.
51285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51287         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51288         RAX_LP.
51290 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51292         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51293         into R*_LP.
51295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51297         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51298         sizes into R*_LP.
51300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51302         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51304 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51306         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51307         into R11_LP and load __x86_64_shared_cache_size_half into
51308         R8_LP.
51310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51312         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51313         R8_LP.
51315 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51318         logb for POWER7.
51319         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51320         logbf for POWER7.
51321         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51322         logbl for POWER7.
51323         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51324         powerpc32/power7/fpu/s_logb.c via #include.
51325         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51326         powerpc32/power7/fpu/s_logbf.c via #include.
51327         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51328         powerpc32/power7/fpu/s_logbl.c via #include.
51330 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
51332         * README.libm: Remove file.
51334 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51336         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51337         count for x32.  Use R*_LP and omit operand-size suffix.
51339 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51341         * shlib-versions: Move x86_64-.*-linux.* entries to ...
51342         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
51343         * sysdeps/x86_64/x32/shlib-versions: New file.
51345 2012-05-14  Roland McGrath  <roland@hack.frob.com>
51347         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51348         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51349         Use _dl_fatal_printf instead.
51351 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51353         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51354         set if not set by the user.  Do not allow for being unset.
51355         * sysdeps/unix/sysv/linux/configure: Regenerated.
51357 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51359         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51360         the `q' suffix from lea and replace .quad with ASM_ADDR.
51362 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51364         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51365         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
51366         instead of $17.
51367         (PTR_DEMANGLE): Likewise.
51369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51371         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51372         (LP_OP): Likewise.
51373         (ASM_ADDR): Likewise.
51374         (RAX_LP): Likewise.
51375         (RBP_LP): Likewise.
51376         (RBX_LP): Likewise.
51377         (RCX_LP): Likewise.
51378         (RDI_LP): Likewise.
51379         (RSI_LP): Likewise.
51380         (RSP_LP): Likewise.
51381         (R8_LP): Likewise.
51382         (R9_LP): Likewise.
51383         (R10_LP): Likewise.
51384         (R10_LP): Likewise.
51385         (R11_LP): Likewise.
51386         (R12_LP): Likewise.
51387         (R13_LP): Likewise.
51388         (R14_LP): Likewise.
51389         (R15_LP): Likewise.
51391 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51393         * sysdeps/x86_64/x32/dl-machine.h: New file.
51395 2012-05-14  Andreas Jaeger  <aj@suse.de>
51397         * manual/Makefile (subdir): Remove export of subdir.
51398         (all): Remove target.
51399         (.PHONY): Remove all from list.
51400         (mkinstalldirs): Remove.
51401         (.PHONY): Remove installdirs from list.
51402         ($(inst_infodir)/libc.info): Use make-target-directory.
51403         (installdirs): Remove.
51404         (subdir_%): Remove.
51405         (glibc-targets): Remove.
51406         (lib): Remove.
51407         (stubs): Remove.
51408         ($(objpfx)stubs ../po/manual.pot): Remove.
51409         ($(objpfx)stamp%): Remove.
51410         (make-target-directory): Remove.
51411         (subdir_install): Remove.
51412         (routines): Remove.
51413         (aux): Remove.
51414         (sources): Remove.
51415         (objects): Remove.
51416         (headers): Remove.
51418         [BZ #13750]
51419         * manual/.gitignore: Remove, it's not needed anymore.
51420         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51421         all files in it.
51422         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51423         directory.
51424         (texis): Renamed to $(objpfx)texis.
51425         (texis-path): New, contains path to generated files.
51426         (chapters.%): Use texis-path for complete path, add extra argument
51427         libc-texinfo.sh.
51428         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51429         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51430         (summary,texi, stamp-summary): Use complete path of
51431         files. Generate files in build dir.
51432         (dir-add.texi): Build in build dir.
51433         (libm-err.texi,stamp-libm-err): Likewise.
51434         (version.texi, stamp-version): Likewise.
51435         (.%c.texi): Likewise.
51436         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51437         (mostlyclean): Remove target.
51438         (realclean): Remove target.
51439         (generated): Add new variable with contents from mostlyclean and
51440         realclean, remove entries duplicated in common-mostlyclean, add
51441         stamp-libm-err and stamp-version.
51442         (generated-dirs): Add libc directory.
51443         ($(inst_infodir)/libc.info): Install files from build dir.
51445         * manual/install.texi (Configuring and compiling): Adjust since
51446         the info files are not part of the tar ball anymore.
51448 2012-05-14  Andreas Jaeger  <aj@suse.de>
51450         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51451         variable.
51453 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51455         [BZ #13717]
51456         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51457         to 2.2.0 where earlier.
51458         * sysdeps/unix/sysv/linux/configure: Regenerated.
51459         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51460         Remove conditional code.
51461         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51462         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51463         Remove conditional code.
51464         [!__NR_lchown]: Likewise.
51465         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51466         [__NR_lchown]: Likewise.
51467         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51468         comment referencing __ASSUME_LCHOWN_SYSCALL.
51469         * sysdeps/unix/sysv/linux/i386/sigaction.c
51470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51472         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51473         Remove conditional code.
51474         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51475         (__protocol_available): Remove #if 0 code.
51476         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51477         conditional code.
51478         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51479         * sysdeps/unix/sysv/linux/kernel-features.h
51480         (__ASSUME_GETCWD_SYSCALL): Don't define.
51481         (__ASSUME_REALTIME_SIGNALS): Likewise.
51482         (__ASSUME_PREAD_SYSCALL): Likewise.
51483         (__ASSUME_PWRITE_SYSCALL): Likewise.
51484         (__ASSUME_POLL_SYSCALL): Likewise.
51485         (__ASSUME_LCHOWN_SYSCALL): Likewise.
51486         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51487         non-SPARC.
51488         (__ASSUME_SIOCGIFNAME): Don't define.
51489         (__ASSUME_MSG_NOSIGNAL): Likewise.
51490         (__ASSUME_SENDFILE): Define unconditionally.
51491         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51492         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51493         conditional code.
51494         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51495         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51496         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51497         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51498         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51499         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51500         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51502         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51503         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51505         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51506         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51508         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51509         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51511         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51512         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51514         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51515         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51517         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51518         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51520         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51521         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51523         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51524         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51525         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51526         Remove conditional code.
51527         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51528         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51529         Remove conditional code.
51530         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51531         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51532         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51533         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51534         Remove conditional code.
51535         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51536         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51537         Remove conditional code.
51538         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51539         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51540         Remove conditional code.
51541         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51542         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51543         Remove conditional code.
51544         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51545         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51546         Remove conditional code.
51547         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51548         * sysdeps/unix/sysv/linux/sh/pwrite64.c
51549         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51550         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51551         * sysdeps/unix/sysv/linux/sigaction.c
51552         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51553         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51554         * sysdeps/unix/sysv/linux/sigpending.c
51555         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51556         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51557         * sysdeps/unix/sysv/linux/sigprocmask.c
51558         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51559         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51560         * sysdeps/unix/sysv/linux/sigsuspend.c
51561         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51562         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51563         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51564         (__libc_missing_rt_sigs): Remove.
51565         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51566         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51567         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51568         Remove conditional code.
51569         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51570         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51571         return 1.
51572         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51573         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51574         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51575         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51577 2012-05-14  Andreas Jaeger  <aj@suse.de>
51579         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51580         it's not used in glibc.
51581         (__coshm1): Likewise.
51582         (__acosh1p): Likewise.
51583         (__sgn): Likewise.
51585         * manual/string.texi (Copying and Concatenation): Add missing
51586         variable in concat example.
51587         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51589 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51591         [BZ #14103]
51592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51593         __builtin_clzl with __builtin_clzll.
51595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51597         [BZ #14104]
51598         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51599         libc_freeres_ptr.
51601 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51603         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51604         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51605         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51606         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51608 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
51610         * NEWS: Update ia64 info.
51612 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
51614         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51615         used as bcopy.
51617 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
51619         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51620         * sysdeps/unix/syscalls.list (dup3): Likewise.
51621         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51622         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51624 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
51626         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51627         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51629 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
51631         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51632         thread pointer.
51633         (TLS_IE): Use mov/add instead of movq/addq to load thread
51634         pointer.
51635         (TLS_GD_PREFIX): New.
51636         (TLS_GD): Use it.
51638 2012-05-11  David S. Miller  <davem@davemloft.net>
51640         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51641         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51642         (_FPU_SETCW): Likewise.
51644 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51646         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51647         is 32-byte aligned.
51649 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
51651         [BZ #11837]
51652         * iconvdata/gb18030.c: Update tables.
51653         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
51654         characters specially.
51655         (BODY for TO_LOOP): Add encoding of missing ranges.
51657 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
51659         [BZ #13673]
51660         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51661         * sysdeps/mach/hurd/dup3.c: Likewise.
51662         * sysdeps/mach/hurd/readlinkat.c: Likewise.
51663         * sysdeps/powerpc/memmove.c:: Likewise.
51665 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51667         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51668         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51670 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51672         * elf/elf.h (R_X86_64_RELATIVE64): New.
51673         (R_X86_64_NUM): Updated.
51674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51675         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
51676         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51677         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51678         tst-quad1pie tst-quad2pie
51679         (modules-names): Add tst-quadmod1 tst-quadmod2.
51680         ($(objpfx)tst-quad1): New dependency.
51681         ($(objpfx)tst-quad2): Likewise.
51682         ($(objpfx)tst-quad1pie): Likewise.
51683         ($(objpfx)tst-quad2pie): Likewise.
51684         * sysdeps/x86_64/tst-quad1.c: New file.
51685         * sysdeps/x86_64/tst-quad1pie.c: New file.
51686         * sysdeps/x86_64/tst-quad2.c: Likewise.
51687         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51688         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51689         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51690         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51691         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51693 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51695         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51696         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51697         * streams/stropts.h (t_scalar_t): Define type.
51699         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51700         (_PATH_PRESERVE): Set to "/var/lib".
51701         (_PATH_RWHODIR): Set to "/var/spool/rwho".
51703         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51704         instead of int.
51706         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51707         if __dir_mkfile succeeded.
51709         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51710         checking for _hurd_dtablesize.  Unlock it right after having
51711         finished _hurd_dtable allocation.
51713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51715         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51716         * sysdeps/mach/hurd/configure: Regenerated.
51717         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51718         special-casing to...
51719         * sysdeps/gnu/configure.in: ... this new file.
51720         * sysdeps/unix/sysv/linux/configure: Regenerated.
51721         * sysdeps/gnu/configure: New generated file.
51723         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51724         for Linux: use nsec instead of usec, as well as:
51725         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51726         members of type struct timespec.
51727         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51728         New macros.
51729         (struct stat64): Likewise.
51730         (_STATBUF_ST_NSEC): New macro.
51731         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51733         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51734         __strtoul_internal rather than strtoul.
51736 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51738         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51739         and reject them.
51741 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51743         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51744         which preserves existing values.
51745         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51747 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51749         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51750         TIMEOUT values.  Return EINVAL for NFDS values either negative or
51751         greater than FD_SETSIZE.
51753 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51755         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51756         allocated, call __vm_protect to finish enabling the existing space, and
51757         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51758         allocate the remainder.
51760 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51762         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51763         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
51765 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51767         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51768         sysdeps/mach/hurd/readlink.c.
51770         * posix/tst-sysconf.c (posix_options): Only use
51771         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51772         _POSIX_SYNCHRONIZED_IO when they are defined
51773         * sysdeps/mach/hurd/bits/posix_opt.h:
51774         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51775         (_XOPEN_REALTIME): Undefine macro.
51776         (_XOPEN_REALTIME_THREADS): Undefine macro.
51777         (_XOPEN_SHM): Undefine macro.
51778         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51779         macro to -1.
51780         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51781         macro to -1.
51782         (_POSIX_ASYNC_IO): Undefine macro.
51783         (_POSIX_PRIORITIZED_IO): Undefine macro.
51784         (_POSIX_SPIN_LOCKS): Define macro to -1.
51786         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51787         SA_NODEFER, SA_RESETHAND.
51788         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51789         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51790         F_DUPFD_CLOEXEC.
51792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51794         * elf/Makefile (pldd-modules): Define unconditionally.
51796 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51798         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51800 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51802         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51803         Return ENOENT when name is empty.
51804         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51806 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51808         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51810         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51812 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51814         Fix mlock in all cases except non-readable pages.
51815         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51816         instead of VM_PROT_ALL as parameter to __vm_wire function.
51818         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51819         (__mkdir): When path is `/', just fail with EEXIST.
51820         * sysdeps/mach/hurd/mkdirat.c: Likewise.
51822 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51824         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51825         <sys/uio.h> (for writev).
51826         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51827         and <sys/param.h> (for MIN).
51829 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51831         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51832         REQUESTED_TIME.  Properly set the remaining time and return EINTR
51833         if interrupted.
51835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51837         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51838         Depend on against $(link-rpcuserlibs).
51840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51842         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51843         (__libc_stack_end): Do not use attribute_relro.
51844         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51845         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51846         to libthread-provided value.
51847         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51848         attribute_relro.
51850 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51852         [BZ #3748]
51853         * bits/libc-lock.h (__libc_once_get): New macro.
51854         * sysdeps/mach/bits/libc-lock.h: Likewise.
51855         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51856         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51857         instead of using implementation details.
51859         * libio/fileops.c: Unconditionally include <kernel-features.h>.
51860         * libio/freopen.c: Likewise.
51861         * libio/freopen64.c: Likewise.
51862         * misc/syslog.c: Likewise.
51863         * nscd/connections.c: Likewise.
51864         * nscd/netgroupcache.c: Likewise.
51865         * sysdeps/posix/getcwd.c: Likewise.
51867 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51869         * math/w_ilogbf.c: Add #include <limits.h>.
51871 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51873         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51874         path instead of returning without unlocking.
51876         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51877         immediate-write ioctls.
51878         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51880 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51882         * sysdeps/mach/hurd/i386/init-first.c (init): Use
51883         __builtin_frame_address instead of making assumptions about the
51884         location of the return address relative to DATA.  Force early load of
51885         the return address.
51886         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51887         __builtin_frame_address.
51889         dup3 for GNU Hurd.
51890         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51891         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
51892         implement dup3 and do some further code clean-ups.
51893         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51894         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51898         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51900         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51901         HURD_CRITICAL_END around holding _hurd_dtable_lock.
51902         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51903         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51904         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51905         d->port.lock.
51907         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51908         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
51909         when handler == SIG_ERR, not when handler != SIG_ERR.
51911 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51913         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51914         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51915         definitions.
51917         accept4 for GNU Hurd.
51918         * include/sys/socket.h (__libc_accept4): New prototype.
51919         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
51920         to implement __libc_accept4.
51921         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51922         __libc_accept4.
51923         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51925         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51926         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51927         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51928         signal-defines.sym.
51930 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51932         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51934 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51936         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51937         assertion on O_CLOEXEC flag.
51938         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51939         * hurd/intern-fd.c: Likewise.
51940         * hurd/port2fd.c: Likewise.
51942 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51944         [BZ #3906]
51945         * bits/in.h (IPV6_PKTINFO): Define new macro.
51946         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51948 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51950         [BZ #13954]
51951         [BZ #13955]
51952         [BZ #13956]
51953         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51954         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51955         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51958         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51959         * math/libm-test.inc (logb_test) : Additional logb tests.
51961 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
51962             Andreas Jaeger  <aj@suse.de>
51964         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51965         * configure: Regenerated.
51966         * config.h.in (LINK_OBSOLETE_RPC): New macro.
51967         * config.make.in (link-obsolete-rpc): New substituted variable.
51968         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51969         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51970         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51971         (shared-only-routines): Don't set it under [link-obsolete-rpc],
51972         so that libc.a contains the symbols.
51973         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51974         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51975         * sunrpc/auth_none.c: Likewise.
51976         * sunrpc/auth_unix.c: Likewise.
51977         * sunrpc/authdes_prot.c: Likewise.
51978         * sunrpc/authuxprot.c: Likewise.
51979         * sunrpc/clnt_gen.c: Likewise.
51980         * sunrpc/clnt_perr.c: Likewise.
51981         * sunrpc/clnt_raw.c: Likewise.
51982         * sunrpc/clnt_simp.c: Likewise.
51983         * sunrpc/clnt_tcp.c: Likewise.
51984         * sunrpc/clnt_udp.c: Likewise.
51985         * sunrpc/clnt_unix.c: Likewise.
51986         * sunrpc/des_crypt.c: Likewise.
51987         * sunrpc/des_soft.c: Likewise.
51988         * sunrpc/get_myaddr.c: Likewise.
51989         * sunrpc/key_call.c: Likewise.
51990         * sunrpc/key_prot.c: Likewise.
51991         * sunrpc/netname.c: Likewise.
51992         * sunrpc/pm_getmaps.c: Likewise.
51993         * sunrpc/pm_getport.c: Likewise.
51994         * sunrpc/pmap_clnt.c: Likewise.
51995         * sunrpc/pmap_prot.c: Likewise.
51996         * sunrpc/pmap_prot2.c: Likewise.
51997         * sunrpc/pmap_rmt.c: Likewise.
51998         * sunrpc/publickey.c: Likewise.
51999         * sunrpc/rpc_cmsg.c: Likewise.
52000         * sunrpc/rpc_common.c: Likewise.
52001         * sunrpc/rpc_dtable.c: Likewise.
52002         * sunrpc/rpc_prot.c: Likewise.
52003         * sunrpc/rpc_thread.c: Likewise.
52004         * sunrpc/rtime.c: Likewise.
52005         * sunrpc/svc.c: Likewise.
52006         * sunrpc/svc_auth.c: Likewise.
52007         * sunrpc/svc_raw.c: Likewise.
52008         * sunrpc/svc_run.c: Likewise.
52009         * sunrpc/svc_tcp.c: Likewise.
52010         * sunrpc/svc_udp.c: Likewise.
52011         * sunrpc/svc_unix.c: Likewise.
52012         * sunrpc/svcauth_des.c: Likewise.
52013         * sunrpc/xcrypt.c: Likewise.
52014         * sunrpc/xdr.c: Likewise.
52015         * sunrpc/xdr_array.c: Likewise.
52016         * sunrpc/xdr_float.c: Likewise.
52017         * sunrpc/xdr_intXX_t.c: Likewise.
52018         * sunrpc/xdr_mem.c: Likewise.
52019         * sunrpc/xdr_rec.c: Likewise.
52020         * sunrpc/xdr_ref.c: Likewise.
52021         * sunrpc/xdr_sizeof.c: Likewise.
52022         * sunrpc/xdr_stdio.c: Likewise.
52024 2012-05-10  Roland McGrath  <roland@hack.frob.com>
52026         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
52027         change.  Update copyright years.
52029 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
52031         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
52033 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
52034             Joseph Myers  <joseph@codesourcery.com>
52035             Paul Pluzhnikov  <ppluzhnikov@google.com>
52037         [BZ #14012]
52038         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
52039         requiring rpcgen.
52040         [cross-compiling] (extra-libs): Likewise.
52041         [cross-compiling] (extra-libs-others): Likewise.
52042         [cross-compiling] (librpcsvc-routines): Likewise.
52043         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
52044         [cross-compiling] (omit-deps): Likewise.
52045         (sunrpc-CPPFLAGS): New variable.
52046         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
52047         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
52048         (cross-rpcgen-objs): New variable.
52049         (extra-objs): Append $(cross-rpcgen-objs).
52050         ($(cross-rpcgen-objs)): New rule.
52051         ($(objpfx)cross-rpcgen): Likewise.
52052         (rpcgen-cmd): Define to use $(built-program-file).  Expand
52053         comment.
52054         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
52055         ($(objpfx)x%.stmp): Likewise.
52056         * sunrpc/proto.h [IS_IN_build] (_): Define.
52057         [IS_IN_build] (_libc_intl_domainname): Likewise.
52059 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
52061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
52062         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
52063         and R_X86_64_TPOFF64.
52065 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
52067         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
52068         sysdeps/unix/sysv/syscalls.list.
52069         (stime): Likewise.
52070         (utime): Likewise.
52071         * sysdeps/unix/sysv/syscalls.list: Remove file.
52073 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
52075         [BZ #3440]
52076         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
52077         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
52078         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
52079         (__LC_IDENTIFICATION): Make these macros useful in #if
52080         expressions, as required by C99.
52082 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
52084         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
52085         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
52086         after this.
52088 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
52090         * stdlib/longlong.h: Updated from GCC.
52092 2012-05-09  Andreas Jaeger  <aj@suse.de>
52094         * nscd/nscd.c (run_modes): Make named enum, reorder so that
52095         default is first entry.
52096         (run_mode): Set type.
52097         (main): Remove informal message about syslog.
52098         (options): Fix typo.
52100         [BZ #14053]
52101         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
52102         to asm.
52103         (lrint): Likewise.
52104         (llrintf): Likewise.
52105         (llrint): Likewise.
52106         (rint): Likewise.
52107         (rintf): Likewise.
52108         (nearbyint): Likewise.
52109         (nearbyintf): Likewise.
52111 2012-05-09  Andreas Jaeger  <aj@suse.de>
52112             Pedro Alves  <palves@redhat.com>
52114         * nscd/nscd.c (run_mode): Use enum.
52115         (main): Cleanup coding style issue.
52117 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
52118             Andreas Jaeger  <aj@suse.de>
52120         * nscd/nscd.c (go_background): Replaced with...
52121         (run_mode): ... this.
52122         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
52123         (options): Add -F --foreground.
52124         (main): Implement it.
52125         (parse_opt): Parse it.
52127 2012-05-09  Andreas Jaeger  <aj@suse.de>
52129         [BZ #14083]
52130         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
52131         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
52132         -Wconversion warning.
52133         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
52134         Likewise.
52136 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
52138         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
52139         == 0.
52140         (LC_ALL): Use macro-int-constant.
52141         (LC_COLLATE): Likewise.
52142         (LC_CTYPE): Likewise.
52143         (LC_MESSAGES): Likewise.
52144         (LC_MONETARY): Likewise.
52145         (LC_NUMERIC): Likewise.
52146         (LC_TIME): Likewise.
52147         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
52148         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52149         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52150         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
52151         Specify type.
52152         [C99-based standards] (float_t): Expect type.
52153         [C99-based standards] (double_t): Expect type.
52154         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
52155         type.
52156         [C99-based standards] (HUGE_VALL): Likewise.
52157         [C99-based standards] (INFINITY): Likewise.
52158         [C99-based standards] (NAN): Likewise.
52159         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
52160         [C99-based standards] (FP_NAN): Likewise.
52161         [C99-based standards] (FP_NORMAL): Likewise.
52162         [C99-based standards] (FP_SUBNORMAL): Likewise.
52163         [C99-based standards] (FP_ZERO): Likewise.
52164         [C99-based standards] (FP_FAST_FMA): Use
52165         optional-macro-int-constant.  Specify type.  Require == 1.
52166         [C99-based standards] (FP_FAST_FMAF): Likewise.
52167         [C99-based standards] (FP_FAST_FMAL): Likewise.
52168         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
52169         [C99-based standards] (FP_ILOGBNAN): Likewise.
52170         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
52171         Specify type.
52172         [C99-based standards] (MATH_ERREXCEPT): Likewise.
52173         [C99-based standards] (math_errhandling): Specify type.
52174         [ISO99 || ISO11] (signgam): Do not allow.
52175         [non-C99-based standards] (copysignf): Do not allow.
52176         [non-C99-based standards] (exp2f): Likewise.
52177         [non-C99-based standards] (log2f): Likewise.
52178         [non-C99-based standards] (modff): Allow.
52179         [non-C99-based standards] (erff): Do not allow.
52180         [non-C99-based standards] (erfcf): Likewise.
52181         [non-C99-based standards] (gammaf): Likewise.
52182         [non-C99-based standards] (hypotf): Likewise.
52183         [non-C99-based standards] (j0f): Likewise.
52184         [non-C99-based standards] (j1f): Likewise.
52185         [non-C99-based standards] (jnf): Likewise.
52186         [non-C99-based standards] (lgammaf): Likewise.
52187         [non-C99-based standards] (tgammaf): Likewise.
52188         [non-C99-based standards] (y0f): Likewise.
52189         [non-C99-based standards] (y1f): Likewise.
52190         [non-C99-based standards] (ynf): Likewise.
52191         [non-C99-based standards] (isnanf): Likewise.
52192         [non-C99-based standards] (acoshf): Likewise.
52193         [non-C99-based standards] (asinhf): Likewise.
52194         [non-C99-based standards] (atanhf): Likewise.
52195         [non-C99-based standards] (cbrtf): Likewise.
52196         [non-C99-based standards] (expm1f): Likewise.
52197         [non-C99-based standards] (ilogbf): Likewise.
52198         [non-C99-based standards] (log1pf): Likewise.
52199         [non-C99-based standards] (logbf): Likewise.
52200         [non-C99-based standards] (nextafterf): Likewise.
52201         [non-C99-based standards] (remainderf): Likewise.
52202         [non-C99-based standards] (rintf): Likewise.
52203         [non-C99-based standards] (scalbf): Likewise.
52204         [non-C99-based standards] (copysignl): Likewise.
52205         [non-C99-based standards] (exp2l): Likewise.
52206         [non-C99-based standards] (log2l): Likewise.
52207         [non-C99-based standards] (modfl): Allow.
52208         [non-C99-based standards] (erfl): Do not allow.
52209         [non-C99-based standards] (erfcl): Likewise.
52210         [non-C99-based standards] (gammal): Likewise.
52211         [non-C99-based standards] (hypotl): Likewise.
52212         [non-C99-based standards] (j0l): Likewise.
52213         [non-C99-based standards] (j1l): Likewise.
52214         [non-C99-based standards] (jnl): Likewise.
52215         [non-C99-based standards] (lgammal): Likewise.
52216         [non-C99-based standards] (tgammal): Likewise.
52217         [non-C99-based standards] (y0l): Likewise.
52218         [non-C99-based standards] (y1l): Likewise.
52219         [non-C99-based standards] (ynl): Likewise.
52220         [non-C99-based standards] (isnanl): Likewise.
52221         [non-C99-based standards] (acoshl): Likewise.
52222         [non-C99-based standards] (asinhl): Likewise.
52223         [non-C99-based standards] (atanhl): Likewise.
52224         [non-C99-based standards] (cbrtl): Likewise.
52225         [non-C99-based standards] (expm1l): Likewise.
52226         [non-C99-based standards] (ilogbl): Likewise.
52227         [non-C99-based standards] (log1pl): Likewise.
52228         [non-C99-based standards] (logbl): Likewise.
52229         [non-C99-based standards] (nextafterl): Likewise.
52230         [non-C99-based standards] (remainderl): Likewise.
52231         [non-C99-based standards] (rintl): Likewise.
52232         [non-C99-based standards] (scalbl): Likewise.
52233         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52234         [non-C99-based standards] (FP_*): Do not allow.
52235         [C99-based standards] (FP_*): Change to
52236         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
52237         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52238         allow.
52239         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
52240         (SIG_ERR): Likewise.
52241         [X/Open-based standards] (SIG_HOLD): Likewise.
52242         (SIG_IGN): Likewise.
52243         (SIGABRT): Use macro-int-constant.  Specify type.  Require
52244         positive value.
52245         (SIGFPE): Likewise.
52246         (SIGILL): Likewise.
52247         (SIGINT): Likewise.
52248         (SIGSEGV): Likewise.
52249         (SIGTER): Likewise.
52250         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52251         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52252         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52253         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52254         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52255         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52256         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52257         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52258         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52259         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52260         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52261         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52262         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52263         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52264         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52265         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52266         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52267         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52268         [X/Open-based standards] (SIGTRAP): Likewise.
52269         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52270         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52271         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52272         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52273         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52274         allow.
52276 2012-05-08  Ian Wienand  <ianw@vmware.com>
52278         [BZ #14080]
52279         * time/tzset.c (__tzset_parse_tz): Update default rules for
52280         daylight time changes in the Energy Policy Act of 2005.
52282 2012-05-09  Andreas Jaeger  <aj@suse.de>
52284         [BZ #13983]
52285         * elf/ldconfig.c (parse_conf): Change string to make clear that
52286         ldconfig only issued a warning if ld.so.conf does not exist.
52288 2012-05-08  David S. Miller  <davem@davemloft.net>
52290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52291         movxtod instead of popping the value on the stack.
52293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52295 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
52297         * config.h.in: Add HAVE_ARM_PCS_VFP.
52299 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
52301         [BZ #13979]
52302         * include/features.h: Warn if user requests __FORTIFY_SOURCE
52303         checking but the checks are disabled for any reason.
52305 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
52307         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52308         and ELF64_R_TYPE with ELFW(R_TYPE).
52310 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
52312         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52313         (ulimit): Likewise.
52315         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52316         (settimeofday): Likewise.
52318 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
52320         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
52321         a struct th_u2 inside the union, and move tu_block/tu_code into
52322         a new th_u3 union of tu_block/tu_code inside of that.  Move
52323         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
52324         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
52325         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52326         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52327         (th_stuff): Change to th_u1.tu_stuff.
52328         (th_data): Define.
52329         (th_msg): Change to th_u1.th_u2.tu_data.
52331 2012-05-07  David S. Miller  <davem@davemloft.net>
52333         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52335         [BZ #14074]
52336         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52337         (SETUP_PIC_REG): Use it.
52338         (SETUP_PIC_REG_LEAF): Use it.
52340 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
52342         [BZ #13885]
52343         [BZ #13923]
52344         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52345         USE_AS_EXPM1L.
52346         (EXPL_FINITE): Likewise.
52347         (FLDLOG): Likewise.
52348         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52349         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52350         e_expl.S.
52351         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52352         USE_AS_EXPM1L.
52353         (EXPL_FINITE): Likewise.
52354         (FLDLOG): Likewise.
52355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52356         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52357         e_expl.S.
52358         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
52359         test of -max_value argument for long double.
52360         * sysdeps/i386/fpu/libm-test-ulps: Update.
52361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52363 2012-05-06  David S. Miller  <davem@davemloft.net>
52365         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52366         quad soft-float symbols whose references which are compiler
52367         generated.
52368         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52370 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
52372         [BZ #13884]
52373         [BZ #13914]
52374         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52375         USE_AS_EXP10L.
52376         (EXPL_FINITE): Likewise.
52377         (FLDLOG): Likewise.
52378         (c0): Likewise.
52379         (c1): Likewise.
52380         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52381         Adjust comments for base varying.
52382         (__expl_finite): Change alias to EXPL_FINITE.
52383         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52384         e_expl.S.
52385         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52386         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52387         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52388         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52389         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52390         USE_AS_EXP10L.
52391         (EXPL_FINITE): Likewise.
52392         (FLDLOG): Likewise.
52393         (c0): Likewise.
52394         (c1): Likewise.
52395         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52396         Adjust comments for base varying.
52397         (__expl_finite): Change alias to EXPL_FINITE.
52398         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
52399         tests for bugs.
52400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52402         [BZ #14064]
52403         * math/libm-test.inc (check_float_internal): Correct ulp
52404         calculation for subnormal expected results.
52406 2012-05-06  Andreas Jaeger  <aj@suse.de>
52408         * Makeconfig (+math-flags): New, set to -frounding-math.
52409         (+cflags): Add +math-flags so that all of glibc gets compiled with
52410         it.
52412         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52414 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
52416         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52417         Disable one test.
52419         [BZ #13787]
52420         [BZ #13922]
52421         [BZ #14036]
52422         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52423         (__ieee754_expl): Allow for and saturate large arguments.
52424         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52425         (u_threshold): Likewise.
52426         (__exp): Call __ieee754_exp before checking for overflow and
52427         underflow.
52428         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52429         (u_threshold): Likewise.
52430         (__expf): Call __ieee754_expf before checking for overflow and
52431         underflow.
52432         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52433         (u_threshold): Likewise.
52434         (__expl): Call __ieee754_expl before checking for overflow and
52435         underflow.
52436         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52437         (__ieee754_expl): Allow for and saturate large arguments.
52438         * math/libm-test.inc (exp_test): Add another test.  Do not allow
52439         missing overflow exception on overflow.
52440         (expm1_test): Do not allow missing overflow exception on overflow.
52442         * sysdeps/i386/fpu/e_expl.c: Move to ...
52443         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
52444         rather than using inline asm.
52445         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52446         * sysdeps/x86_64/fpu/e_expl.S: Copy from
52447         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52449         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52450         (nice): Likewise.
52451         (poll): Likewise.
52452         (signal): Likewise.
52453         (time): Likewise.
52454         (times): Likewise.
52456 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52458         * sysdeps/unix/syscalls.list (adjtime): Add entry from
52459         sysdeps/unix/common/syscalls.list.
52460         (fchmod): Likewise.
52461         (fchown): Likewise.
52462         (ftruncate): Likewise.
52463         (getrusage): Likewise.
52464         (gettimeofday): Likewise.
52465         (setpgid): Likewise.
52466         (setregid): Likewise.
52467         (setreuid): Likewise.
52468         (sigaction): Likewise.
52469         (truncate): Likewise.
52470         (vhangup): Likewise.
52471         * sysdeps/unix/common/syscalls.list: Remove file.
52472         * sysdeps/unix/bsd/Implies: Don't include unix/common.
52473         * sysdeps/unix/sysv/linux/Implies: Likewise.
52475 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
52477         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52478         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52479         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52480         Moved to ...
52481         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52482         Here.
52483         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52484         to ...
52485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52486         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52487         to ...
52488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52489         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52490         to ...
52491         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52492         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52493         to ...
52494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52495         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52496         to ...
52497         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52498         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52499         to ...
52500         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52501         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52502         to ...
52503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52504         Here.
52505         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52506         to ...
52507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52508         Here.
52509         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52510         to ...
52511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52512         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52513         Moved to ...
52514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52515         Here.
52516         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52517         to ...
52518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52520 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52522         * sysdeps/unix/common/bits/dirent.h: Remove file.
52523         * sysdeps/unix/common/bits/fcntl.h: Likewise.
52525         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52526         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52527         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52528         * sysdeps/unix/bsd/isatty.c: Likewise.
52529         * sysdeps/unix/bsd/tcdrain.c: Likewise.
52530         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52531         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52533 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52535         [BZ #13563]
52536         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52537         long double comparison inaccuracies.
52538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52539         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52541 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
52543         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52544         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52546 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52548         [BZ #14049]
52549         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52550         nonzero digits before rounding a hex value.
52551         * stdlib/tst-strtod.c (tests): Add another test.
52553 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52555         * sysdeps/s390/fpu/libm-test-ulps: Update.
52557 2012-05-03  Andreas Jaeger  <aj@suse.de>
52559         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52560         does not get optimized out.
52561         (malloc_opt_barrier): New.
52563 2012-05-03  Andreas Jaeger  <aj@suse.de>
52564             Roland McGrath  <roland@hack.frob.com>
52566         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52567         intermediate file deletion.
52568         (generated): Add .symlist files.
52570 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
52572         [BZ #13775]
52573         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52574         Redirect under this condition.
52575         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52576         [__USE_GNU] (__dprintf_chk): Not under this condition.
52577         [__USE_GNU] (__vdprintf_chk): Likewise.
52578         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52579         under this condition.
52580         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52581         [__USE_XOPEN2K8] (dprintf): Define under this condition.
52582         [__USE_XOPEN2K8] (vdprintf): Likewise.
52583         [__USE_GNU] (__dprintf_chk): Not under this condition.
52584         [__USE_GNU] (__vdprintf_chk): Likewise.
52585         [__USE_GNU] (dprintf): Likewise.
52586         [__USE_GNU] (vdprintf): Likewise.
52588 2012-05-03  Roland McGrath  <roland@hack.frob.com>
52590         * elf/Makefile (common-generated): Set this instead of generated for
52591         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
52592         $(all-built-dso)-derived lists.
52594 2012-05-03  Andreas Jaeger  <aj@suse.de>
52596         * sysdeps/i386/fpu/libm-test-ulps: Update.
52598         * FAQ: Removed.
52599         * FAQ.in: Likewise.
52600         * scripts/gen-FAQ.pl: Likewise.
52601         * manual/install.texi (Installation): Point to online location of
52602         FAQ.
52603         * Makefile (files-for-dist): Remove FAQ.
52604         (FAQ): Remove.
52606 2012-05-02  Allan McRae  <allan@archlinux.org>
52608         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52609         (LDFLAGS-reldepmod5.so): Likewise.
52610         (LDFLAGS-reldep6mod1.so): Likewise.
52611         (LDFLAGS-reldep6mod4.so): Likewise.
52612         (LDFLAGS-reldep8mod3.so): Likewise.
52613         (LDFLAGS-unload4mod1.so): Likewise.
52614         (LDFLAGS-unload4mod2.so): Likewise.
52615         (LDFLAGS-tst-initorder): Likewise.
52616         (LDFLAGS-tst-initordera2.so): Likewise.
52617         (LDFLAGS-tst-initordera3.so): Likewise.
52618         (LDFLAGS-tst-initordera4.so): Likewise.
52619         (LDFLAGS-tst-initorderb2.so): Likewise.
52620         (LDFLAGS-noload): Likewise.
52621         (LDFLAGS-next): Likewise.
52622         (LDFLAGS-order2mod1.so): Likewise.
52623         (LDFLAGS-order2mod2.so): Likewise.
52624         (LDFLAGS-tst-initorder2): Likewise.
52625         (LDFLAGS-tst-initorder2a.so): Likewise.
52626         (LDFLAGS-tst-initorder2b.so): Likewise.
52627         (LDFLAGS-tst-initorder2c.so): Likewise.
52628         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52630 2012-05-02  David S. Miller  <davem@davemloft.net>
52632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52634 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
52636         [BZ #14055]
52637         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52639 2012-05-02  Andreas Jaeger  <aj@suse.de>
52641         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52642         since we manipulate rounding mode.
52643         (CPPFLAGS-test-idouble.c): Likewise.
52644         (CPPFLAGS-test-ifloat.c): Likewise.
52645         (CFLAGS-test-ldouble.c): Likewise.
52646         (CFLAGS-test-double.c): Likewise.
52647         (CFLAGS-test-float.c): Likewise.
52648         (CFLAGS-test-misc.c): Likewise.
52649         (CFLAGS-test-test-fenv.c): Likewise.
52651 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52653         [BZ #2550]
52654         [BZ #2570]
52655         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52656         comparisons to determine direction to adjust input.
52658 2012-05-01  Roland McGrath  <roland@hack.frob.com>
52660         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52661         output to the target.
52663         * scripts/localplt.awk: New file.
52664         * elf/Makefile ($(objpfx)check-localplt): Target removed.
52665         (check-localplt-CFLAGS): Variable removed.
52666         ($(all-built-dso:=.jmprel)): New static pattern rule.
52667         (generated): Add those targets.
52668         (localplt-built-dso): New variable.
52669         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52671         * elf/check-localplt.c: File removed.
52673         * scripts/check-execstack.awk: New file.
52674         * elf/Makefile ($(objpfx)check-execstack): Target removed.
52675         (check-execstack-CFLAGS): Variable removed.
52676         ($(objpfx)check-execstack.h): Target removed.
52677         ($(objpfx)execstack-default): New target.
52678         (generated): Add that instead of check-execstack.h.
52679         ($(all-built-dso:=.phdr)): New static pattern rule.
52680         (generated): Add those targets.
52681         * elf/check-execstack.c: File removed.
52683         * scripts/check-textrel.awk: New file.
52684         * elf/Makefile ($(objpfx)check-textrel): Target removed.
52685         (check-textrel-CFLAGS): Variable removed.
52686         (all-built-dso): Use := to define.o
52687         ($(all-built-dso:=.dyn)): New static pattern rule.
52688         (generated): Add those targets.
52689         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52690         * config.make.in (READELF): New substituted variable.
52691         * elf/check-textrel.c: File removed.
52693 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52695         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52696         allow.
52697         * conform/data/ctype.h-data [C99-based standards] (isblank):
52698         Expect function.
52699         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52700         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52701         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52702         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52703         Specify type.  Require positive value.
52704         (EILSEQ): Likewise.
52705         (ERANGE): Likewise.
52706         [ISO || POSIX] (EILSEQ): Do not expect.
52707         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52708         Specify type.  Require positive value.
52709         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52710         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52711         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52712         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52713         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52714         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52715         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52716         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52717         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52718         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52719         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52720         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52721         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52722         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52723         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52724         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52725         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52726         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52727         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52728         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52729         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52730         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52731         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52732         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52733         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52734         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52735         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52736         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52737         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52738         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52739         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52740         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52741         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52742         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52743         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52744         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52745         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52746         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52747         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52748         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52749         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52750         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52751         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52752         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52753         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52754         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52755         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52756         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52757         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52758         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52759         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52760         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52761         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52762         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52763         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52764         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52765         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52766         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52767         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52768         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52769         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52770         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52771         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52772         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52773         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52774         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52775         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52776         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52777         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52778         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52779         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52780         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52781         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52782         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52783         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52784         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52785         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52786         Require >= 2.
52787         (FLT_ROUNDS): Expect as macro, not constant.
52788         (FLT_MANT_DIG): Use macro-int-constant.
52789         (DBL_MANT_DIG): Likewise.
52790         (LDBL_MANT_DIG): Likewise.
52791         (FLT_DIG): Likewise.
52792         (DBL_DIG): Likewise.
52793         (LDBL_DIG): Likewise.
52794         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
52795         (DBL_MIN_EXP): Likewise.
52796         (LDBL_MIN_EXP): Likewise.
52797         (FLT_MAX_EXP): Use macro-int-constant.
52798         (DBL_MAX_EXP): Likewise.
52799         (LDBL_MAX_EXP): Likewise.
52800         (FLT_MAX_10_EXP): Likewise.
52801         (DBL_MAX_10_EXP): Likewise.
52802         (LDBL_MAX_10_EXP): Likewise.
52803         (FLT_MAX): Use macro-constant.
52804         (DBL_MAX): Likewise.
52805         (LDBL_MAX): Likewise.
52806         (FLT_EPSILON): Use macro-constant.  Give upper bound.
52807         (DBL_EPSILON): Likewise.
52808         (LDBL_EPSILON): Likewise.
52809         (FLT_MIN): Likewise.
52810         (DBL_MIN): Likewise.
52811         (LDBL_MIN): Likewise.
52812         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52813         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52814         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52815         [ISO11] (FLT_HAS_SUBNORM): Likewise.
52816         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52817         [ISO11] (DBL_DECIMAL_DIG): Likewise.
52818         [ISO11] (FLT_DECIMAL_DIG): Likewise.
52819         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52820         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52821         [ISO11] (FLT_TRUE_MIN): Likewise.
52822         [ISO11] (LDBL_TRUE_MIN): Likewise.
52823         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52824         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52825         (SCHAR_MIN): Use macro-int-constant.  Specify type.
52826         (SCHAR_MAX): Likewise.
52827         (UCHAR_MAX): Likewise.
52828         (CHAR_MIN): Likewise.
52829         (CHAR_MAX): Likewise.
52830         (MB_LEN_MAX): Use macro-int-constant.
52831         (SHRT_MIN): Use macro-int-constant.  Specify type.
52832         (SHRT_MAX): Likewise.
52833         (USHRT_MAX): Likewise.
52834         (INT_MAX): Likewise.
52835         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
52836         bound negative.
52837         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52838         bound with "U".
52839         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52840         bound with "L".
52841         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
52842         bound negative.  Suffix upper bound with "L".
52843         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52844         bound with "UL".
52845         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52846         Specify type.
52847         [C99-based standards] (LLONG_MAX): Likewise.
52848         [C99-based standards] (ULLONG_MAX): Likewise.
52849         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
52850         == 0.
52851         [ISO11] (max_align_t): Require type.
52852         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52854         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52855         from $CFLAGS, without defining away __attribute__ calls.
52856         (checknamespace): Use $CFLAGS_namespace.
52858         * conform/conformtest.pl (@keywords): Only include C99 keywords
52859         for standards based on C99 or C11.
52861         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52862         Disable tests.
52863         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52864         UNIX98]: Likewise.
52866         * conform/conformtest.pl: Handle "macro-int-constant" and test for
52867         usability of symbols in #if.
52869         * conform/conformtest.pl: If macro or constant types start
52870         "promoted:", expect the symbol to be of the following type
52871         promoted by the integer promotions.
52873         * conform/conformtest.pl: Parse all "constant" and "macro" lines
52874         in one place.  Also handle "macro-constant".
52876         * conform/conformtest.pl: Only accept expected macro values with
52877         "==".  Parse all "macro" lines in one place.
52878         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52880         * conform/conformtest.pl: Handle braced types on "constant" lines
52881         instead of handling "typed-constant".
52882         * conform/data/signal.h-data: Use "constant" instead of
52883         "typed-constant".
52885         * conform/conformtest.pl: Handle "optional-" at start of lines in
52886         one place rather than duplicating several cases.  Handle each
52887         format of "macro" line with initial "optional-".
52889         * conform/conformtest.pl: Only accept expected constant or
52890         optional-constant values with "==".  Parse all "constant" lines in
52891         one place.  Parse all "optional-constant" lines in one place.
52892         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52893         * conform/data/fmtmsg.h-data: Likewise.
52894         * conform/data/netinet/in.h-data: Likewise.
52895         * conform/data/tar.h-data: Likewise.
52896         * conform/data/limits.h-data: Use "==" form on "constant" and
52897         "optional-constant" lines.
52899         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52900         Use -std=c99 for XOPEN2K.
52901         (@knownproblems): Remove.
52902         (newtoken): Don't check %isknown.
52904         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52905         Do not expect macro.
52906         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52907         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52908         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52909         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52910         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52911         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52912         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52913         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52914         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52915         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52916         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52917         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52918         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52919         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52920         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52921         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52922         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52923         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52924         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52925         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52926         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52927         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52928         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52929         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52930         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52931         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52932         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52933         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52934         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52935         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52936         [XPG3] (acosh): Likewise.
52937         [XPG3] (asinh): Likewise.
52938         [XPG3] (atanh): Likewise.
52939         [XPG3] (cbrt): Likewise.
52940         [XPG3] (expm1): Likewise.
52941         [XPG3] (ilogb): Likewise.
52942         [XPG3] (log1p): Likewise.
52943         [XPG3] (logb): Likewise.
52944         [XPG3] (nextafter): Likewise.
52945         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52946         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52947         [XPG3] (remainder): Likewise.
52948         [XPG3] (rint): Likewise.
52949         [XPG3 || XPG4 || UNIX98] (round): Likewise.
52950         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52951         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52952         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52953         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52954         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52955         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52956         [UNIX98 || XOPEN2K] (scalb): Expect.
52957         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52958         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52959         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52960         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52961         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52962         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52963         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52964         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52965         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52966         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52967         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52968         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52969         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52970         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52971         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52972         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52973         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52974         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52975         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52976         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52977         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52978         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52979         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52980         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52981         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52982         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52983         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52984         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52985         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52986         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52987         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52988         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52989         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52990         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52991         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52992         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52993         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52994         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52995         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52996         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52997         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52998         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52999         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
53000         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
53001         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
53002         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
53003         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
53004         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
53005         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
53006         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
53007         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
53008         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
53009         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
53010         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
53011         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
53012         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
53013         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
53014         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
53015         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
53016         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
53017         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
53018         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
53019         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
53020         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
53021         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
53022         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
53023         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
53024         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
53025         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
53026         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
53027         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
53028         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
53029         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
53030         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
53031         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
53032         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
53033         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
53034         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
53035         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
53036         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
53037         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
53038         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
53039         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
53040         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
53041         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
53042         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
53043         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
53044         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
53045         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
53046         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
53047         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
53048         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
53049         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
53050         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
53051         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
53052         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
53053         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
53054         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
53055         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
53056         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
53057         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
53058         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
53059         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
53060         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
53061         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
53062         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
53063         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
53064         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
53065         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
53066         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
53067         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
53068         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
53069         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
53070         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
53071         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
53072         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
53073         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
53074         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
53075         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
53076         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
53077         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
53078         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
53079         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
53080         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
53081         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
53082         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
53083         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
53084         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
53085         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
53086         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
53087         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
53088         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
53089         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
53090         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
53091         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
53092         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
53093         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
53095         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
53096         _XOPEN_SOURCE_EXTENDED for XPG4.
53098         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
53100         * Makeconfig (localtime): Remove variable.
53101         (inst_localtime-file): Likewise.
53103 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
53106         Update.
53107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53108         Update.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
53110         Update.
53111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
53112         Update.
53113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
53114         Update.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
53116         Update.
53117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53118         Update.
53119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
53120         Update.
53121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53122         Update.
53124 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
53126         [BZ #2550]
53127         [BZ #2570]
53128         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
53129         comparisons to determine direction to adjust input.
53130         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
53131         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
53132         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
53133         Likewise.
53134         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
53135         Likewise.
53136         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
53137         Likewise.
53138         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
53139         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
53140         Likewise.
53141         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
53142         Likewise.
53143         * math/libm-test.inc (nexttoward_test): Add more tests.
53145 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53147         [BZ #14040]
53148         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
53149         in version GLIBC_2.1, not GLIBC_2.0.
53150         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
53151         Likewise.
53153 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
53155         [BZ #13942]
53156         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
53157         (1 - x) * (1 + x).
53158         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53159         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
53160         * math/libm-test.inc (acos_test): Add more tests.
53161         (asin_test): Likewise.
53162         * sysdeps/i386/fpu/libm-test-ulps: Update.
53163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53165         [BZ #14034]
53166         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
53167         of square root.
53168         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
53169         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
53170         * math/libm-test.inc (acos_test_tonearest): New function.
53171         (acos_test_towardzero): Likewise.
53172         (acos_test_downward): Likewise.
53173         (acos_test_upward): Likewise.
53174         (asin_test_tonearest): Likewise.
53175         (asin_test_towardzero): Likewise.
53176         (asin_test_downward): Likewise.
53177         (asin_test_upward): Likewise.
53178         (main): Call the new functions.
53179         * sysdeps/i386/fpu/libm-test-ulps: Update.
53180         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53182         [BZ #13884]
53183         [BZ #13924]
53184         * math/e_exp10.c: Include <float.h>.
53185         (__ieee754_exp10): Handle underflow here rather than multiplying
53186         large negative argument by M_LN10.
53187         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
53188         of __ieee754_expf.
53189         * math/e_exp10l.c: Include <float.h>.
53190         (__ieee754_exp10l): Handle underflow here rather than multiplying
53191         large negative argument by M_LN10l.
53192         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
53193         spurious overflow exception on underflow.
53195 2012-04-29  Marek Polacek  <polacek@redhat.com>
53197         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
53198         (__fortify_function): New macro.
53199         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
53200         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
53201         __extern_always_inline.
53202         * libio/bits/stdio2.h: Likewise.
53203         * libio/bits/stdio.h: Likewise.
53204         * string/string.h: Likewise.
53205         * string/bits/string3.h: Likewise.
53206         * include/stdio.h: Likewise.
53207         * stdlib/bits/stdlib.h: Likewise.
53208         * stdlib/stdlib.h: Likewise.
53209         * rt/bits/mqueue2.h: Likewise.
53210         * rt/mqueue.h: Likewise.
53211         * posix/bits/unistd.h: Likewise.
53212         * posix/unistd.h: Likewise.
53213         * io/bits/poll2.h: Likewise.
53214         * io/bits/fcntl2.h: Likewise.
53215         * io/fcntl.h: Likewise.
53216         * io/sys/poll.h: Likewise.
53217         * misc/bits/syslog.h: Likewise.
53218         * misc/bits/syslog-ldbl.h: Likewise.
53219         * misc/sys/syslog.h: Likewise.
53220         * socket/bits/socket2.h: Likewise.
53221         * socket/sys/socket.h: Likewise.
53222         * debug/tst-chk1.c: Likewise.
53223         * wcsmbs/bits/wchar2.h: Likewise.
53224         * wcsmbs/bits/wchar-ldbl.h: Likewise.
53225         * wcsmbs/wchar.h: Likewise.
53227 2012-04-29  Andreas Jaeger  <aj@suse.de>
53229         * Makerules (tests): Remove enable-check-abi protection.
53230         (check-abi-warn): Remove.
53231         (check-abi-%): Remove check-abi-warn usage.
53233         * configure.in: Remove check-abi configure option.
53234         * configure: Regenerated.
53235         * config.make.in (enable-check-abi): Remove.
53237 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
53239         [BZ #14033]
53240         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
53241         double functions to double *_finite functions.
53243         [BZ #13941]
53244         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
53245         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
53246         LDBL_MIN_EXP.
53247         * stdio-common/Makefile (tests): Add tst-sprintf3.
53248         * stdio-common/tst-sprintf3.c: New file.
53250         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53251         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53253 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53255         * conform/conformtest.pl: Remove duplicate typed-constant
53256         handling.
53258 2012-04-28  David S. Miller  <davem@davemloft.net>
53260         * Makerules (%.abilist): Add vpath on sysdep_dirs.
53261         (check-abi-%): Remove AWK script prerequisite and explicit
53262         abilist directory.
53263         (check-abi): Rewrite to just diff the symlist with the abilist.
53264         (config-tls, config-abi-config): Delete, no longer used.
53265         (update-abi-%): Remove AWK script and explicit abilist directory.
53266         (update-abi): Rewrite to simply compare and conditionally copy the
53267         symlist and the sysdep abilist file.  Remove update-abi-config
53268         checks.
53269         * abilist/ld.abilist: Remove.
53270         * abilist/libBrokenLocale.abilist: Remove.
53271         * abilist/libanl.abilist: Remove.
53272         * abilist/libcrypt.abilist: Remove.
53273         * abilist/libdl.abilist: Remove.
53274         * abilist/librt.abilist: Remove.
53275         * abilist/libthread_db.abilist: Remove.
53276         * abilist/libutil.abilist: Remove.
53277         * scripts/extract-abilist.awk: Remove.
53278         * scripts/merge-abilist.awk: Remove.
53279         * sysdeps/generic/libcidn.abilist: New file.
53280         * sysdeps/generic/libnss_compat.abilist: New file.
53281         * sysdeps/generic/libnss_db.abilist: New file.
53282         * sysdeps/generic/libnss_dns.abilist: New file.
53283         * sysdeps/generic/libnss_files.abilist: New file.
53284         * sysdeps/generic/libnss_hesiod.abilist: New file.
53285         * sysdeps/generic/libnss_nis.abilist: New file.
53286         * sysdeps/generic/libnss_nisplus.abilist: New file.
53287         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53288         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53289         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53290         file.
53291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53292         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53293         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53294         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53295         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53296         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53297         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53298         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53299         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53300         file.
53301         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53302         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53303         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53304         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53305         file.
53306         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53307         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53308         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53309         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53310         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53311         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53312         file.
53313         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53314         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53315         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53316         file.
53317         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53318         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53319         New file.
53320         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53321         New file.
53322         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53323         New file.
53324         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53325         New file.
53326         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53327         New file.
53328         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53329         New file.
53330         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53331         New file.
53332         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53333         New file.
53334         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53335         New file.
53336         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53337         New file.
53338         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53339         New file.
53340         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53341         New file.
53342         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53343         New file.
53344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53345         file.
53346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53347         New file.
53348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53349         New file.
53350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53351         file.
53352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53353         New file.
53354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53355         New file.
53356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53357         file.
53358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53359         New file.
53360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53361         New file.
53362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53363         New file.
53364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53365         New file.
53366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53367         New file.
53368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53369         New file.
53370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53372         file.
53373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53374         New file.
53375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53376         file.
53377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53378         file.
53379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53380         file.
53381         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53382         file.
53383         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53384         file.
53385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53386         New file.
53387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53388         file.
53389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53390         file.
53391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53392         New file.
53393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53394         file.
53395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53397         file.
53398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53399         New file.
53400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53401         file.
53402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53403         file.
53404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53405         file.
53406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53407         file.
53408         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53409         file.
53410         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53411         New file.
53412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53413         file.
53414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53415         file.
53416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53417         New file.
53418         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53419         file.
53420         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53421         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53422         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53423         file.
53424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53425         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53426         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53427         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53428         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53429         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53430         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53431         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53432         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53433         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53434         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53435         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53436         file.
53437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53438         New file.
53439         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53440         file.
53441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53442         file.
53443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53444         file.
53445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53446         file.
53447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53448         file.
53449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53450         New file.
53451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53452         New file.
53453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53454         file.
53455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53456         New file.
53457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53458         file.
53459         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53460         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53461         file.
53462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53463         New file.
53464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53465         file.
53466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53467         file.
53468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53469         file.
53470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53471         file.
53472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53473         file.
53474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53475         New file.
53476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53477         New file.
53478         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53479         file.
53480         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53481         New file.
53482         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53483         file.
53485 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53487         * conform/conformtest.pl: Fix typo in handling typed-constant from
53488         allow-header.
53490 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53492         * README: Cut down references to pre-2.6 Linux kernels and
53493         Linuxthreads.  Update lists of configurations in libc and ports
53494         and sort alphabetically.  Say "or newer" with Linux kernel version
53495         requirements.
53497         * config.h.in [IS_IN_build]: Allow compiling without optimization.
53499 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53501         [BZ #887]
53502         * math/libm-test.inc (logb_test_downward): New test to expose
53503         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53504         rounding mode.
53506 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53508         [BZ #14027]
53509         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53510         to be done.
53511         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53512         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53514 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
53516         * sysdeps/unix/i386/brk.S: Remove file.
53517         * sysdeps/unix/i386/dl-brk.S: Likewise.
53518         * sysdeps/unix/i386/pipe.S: Likewise.
53519         * sysdeps/unix/i386/sigreturn.S: Likewise.
53520         * sysdeps/unix/i386/syscall.S: Likewise.
53521         * sysdeps/unix/i386/vfork.S: Likewise.
53522         * sysdeps/unix/i386/wait.S: Likewise.
53524         * sysdeps/unix/common/tcsendbrk.c: Move to ...
53525         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53527         * configure.in (arm*-none*): Do not allow without
53528         --enable-hacker-mode.
53529         (netbsd*): Remove case setting base_os.
53530         (386bsd*): Likewise.
53531         (freebsd*): Likewise.
53532         (bsdi*): Likewise.
53533         (osf*): Likewise.
53534         (sunos*): Likewise.
53535         (ultrix*): Likewise.
53536         (newsos*): Likewise.
53537         (dynix*): Likewise.
53538         (*bsd*): Likewise.
53539         (sysv*): Likewise.
53540         (isc*): Likewise.
53541         (esix*): Likewise.
53542         (sco*): Likewise.
53543         (minix*): Likewise.
53544         (irix4*): Likewise.
53545         (irix6*): Likewise.
53546         (solaris[2-9]*): Likewise.
53547         (none): Likewise.
53548         * configure: Regenerated.
53550 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53552         [BZ #11521]
53553         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53554         overflow or cancellation in calculating denominator.
53555         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53557         down expression to avoid unexpected rounding in newer GCCs.
53558         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53560 2012-04-26  David S. Miller  <davem@davemloft.net>
53562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53563         long-double compat symbols.
53564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53569         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53578 2012-04-25  David S. Miller  <davem@davemloft.net>
53580         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53581         HWCAP_* values only after the memory barriers have been defined.
53582         (atomic_full_barrier): Define.
53583         (atomic_read_barrier): Define.
53584         (atomic_write_barrier): Define.
53586 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53588         * shlib-versions: Add libgcc_s version information.
53589         * sysdeps/generic/libgcc_s.h: Remove.
53590         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53591         libgcc_s.h.
53592         * sysdeps/gnu/unwind-resume.c: Likewise.
53593         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53595 2012-04-25  David S. Miller  <davem@davemloft.net>
53597         * sysdeps/unix/sparc/brk.S: Delete.
53598         * sysdeps/unix/sparc/dl-brk.S: Delete.
53599         * sysdeps/unix/sparc/pipe.S: Delete.
53600         * sysdeps/unix/sparc/sysdep.S: Delete.
53601         * sysdeps/unix/sparc/sysdep.h: Delete.
53602         * sysdeps/unix/sparc/vfork.S: Delete.
53603         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53604         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53605         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53606         (ret_ERRVAL, r0, r1, MOVE): Define.
53607         (JUMPTARGET): Remove.
53608         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53609         sysdeps/unix/sparc/sysdep.h
53610         (ENTRY, END): Remove.
53611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53613 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
53615         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53616         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53617         -DIS_IN_build.
53619         * timezone/README: Update upstream location and email address for
53620         tzcode and tzdata.
53621         * timezone/zdump.c: Update from tzcode 2012b.
53622         * timezone/zic.c: Likewise.
53624         * configure.in (libc_cv_as_needed): Remove test.
53625         * configure: Regenerated.
53626         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53627         conditional definition.
53628         [$(have-as-needed) != yes] (no-as-needed): Likewise.
53629         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53630         * config.make.in (have-as-needed): Remove variable.
53632 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53633             Paul Pluzhnikov  <ppluzhnikov@google.com>
53635         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53636         strings correctly.
53638 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
53640         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53641         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53642         * sysdeps/sh/strlen.S: Likewise.
53644 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53646         * sysdeps/unix/fork.S: Remove file.
53647         * sysdeps/unix/i386/fork.S: Likewise.
53648         * sysdeps/unix/sparc/fork.S: Likewise.
53650         * sysdeps/unix/system.c: Remove file.
53651         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53653         * sysdeps/unix/getegid.S: Remove file.
53654         * sysdeps/unix/geteuid.S: Likewise.
53656 2012-04-24  Roland McGrath  <roland@hack.frob.com>
53658         * scripts/check-localplt.awk: New file.
53659         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53660         of diff.
53661         * scripts/data/localplt-generic.data: Add a comment.
53663         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53664         NODE when __dir_mkfile failed.
53665         * sysdeps/mach/hurd/symlinkat.c: Likewise.
53666         Reported by Ludovic Courtès <ludo@gnu.org>.
53668 2012-04-24  Andreas Jaeger  <aj@suse.de>
53670         * Makerules (common-clean): Also remove gen-as-const-headers
53671         files.
53673 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53675         * Makerules (native-compile): Do not change working directory for
53676         build.  Use $(OUTPUT_OPTION) in command.
53677         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53679 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53681         [BZ #13886]
53682         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53683         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53684         * math/libm-test.inc (floor_test): Add more tests.
53685         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53687 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53689         * sysdeps/unix/getdents.c: Remove file.
53690         * sysdeps/unix/sysv/getdents.c: Likewise.
53691         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53693         * sysdeps/unix/syscalls.list (madvise): Add syscall from
53694         sysdeps/unix/mman/syscalls.list.
53695         (mmap): Likewise.
53696         (mprotect): Likewise.
53697         (msync): Likewise.
53698         (munmap): Likewise.
53699         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53700         * sysdeps/unix/mman/syscalls.list: Remove.
53701         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53703         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53704         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53705         * configure: Regenerated.
53706         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53707         $(libgcc_s_suffix).
53708         * config.make.in (libgcc_s_suffix): Remove variable.
53710 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
53712         * sysdeps/unix/sysv/gethostname.c: Move to ...
53713         * sysdeps/posix/gethostname.c: ... here.
53715         * sysdeps/unix/execve.S: Remove file.
53717         * sysdeps/unix/_exit.S: Remove file.
53719 2012-04-23  Andreas Jaeger  <aj@suse.de>
53721         [BZ #13739]
53722         * manual/Makefile: Remove make dist support, there's no
53723         need for a stand-alone documentation tar ball.
53724         (TEXI2DVI): Define always, it's not in Makeconfig.
53725         (dist): Removed.
53726         (tar-it): Removed.
53727         (edition): Removed.
53728         (glibc-doc-$(edition).tar): Removed
53729         (%.Z): Removed.
53730         (%.gz): Removed.
53731         (%.uu): Removed.
53732         (ETAGS): Remove, it's in Makeconfig.
53733         (move-if-change): Remove, it's in Makeconfig.
53735 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
53737         [BZ #13970]
53738         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53739         (strtod, strtof, strtold, strtol, strtoul, strtoq)
53740         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53741         (strtod_l, strtof_l, strtold_l): Remove __wur.
53742         It is not necessarily an error to ignore strtol's return value.
53743         One can reliably look at the stored endptr to decide whether
53744         the number had valid syntax.
53746 2012-04-21  Andreas Jaeger  <aj@suse.de>
53748         [BZ #13739]
53749         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53751 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
53753         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53754         * sysdeps/unix/sysv/Versions: Remove file.
53756 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
53758         [BZ #13927]
53759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53761 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
53763         [BZ #7064]
53764         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53765         version from __vm86.
53767 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
53769         * sysdeps/unix/common/lxstat.c: Remove file.
53770         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53772         * sysdeps/unix/sysv/Makefile: Remove file.
53774         * sysdeps/unix/sysv/direct.h: Remove file.
53776         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53777         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53778         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53779         * sysdeps/unix/sysv/bits/signum.h: Likewise.
53780         * sysdeps/unix/sysv/bits/stat.h: Likewise.
53781         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53782         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53784         * sysdeps/unix/sysv/setrlimit.c: Remove file.
53786         * sysdeps/unix/xmknod.c: Remove file.
53787         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53789         * sysdeps/unix/sysv/settimeofday.c: Remove file.
53791         * sysdeps/unix/sysv/i386/time.S: Remove file.
53793         * sysdeps/unix/fxstat.c: Remove file.
53794         * sysdeps/unix/xstat.c: Likewise.
53795         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53797         * sysdeps/unix/sysv/sigaction.c: Remove file.
53799         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53800         (sysdep_headers): Remove variable.
53801         [termio.h not in sysdep_headers] (generated): Likewise.
53802         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53803         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53804         * sysdeps/unix/sysv/tcdrain.c: Likewise.
53805         * sysdeps/unix/sysv/tcflow.c: Likewise.
53806         * sysdeps/unix/sysv/tcflush.c: Likewise.
53807         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53808         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53809         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53810         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53811         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53813         * sysdeps/unix/siglist.c: Remove file.
53815         * sysdeps/unix/getppid.S: Remove file.
53817         * sysdeps/unix/mkdir.c: Remove file.
53818         * sysdeps/unix/rmdir.c: Likewise.
53820 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
53822         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53823         ERR_MAX value.
53824         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53825         errlist-compat value.
53827 2012-04-18  David S. Miller  <davem@davemloft.net>
53829         * sysdeps/generic/memcopy.h (reg_char): Delete.
53830         * debug/strcat_chk.c: Use char, not reg_char.
53831         * debug/strcpy_chk.c: Likewise.
53832         * debug/strncat_chk.c: Likewise.
53833         * debug/strncpy_chk.c: Likewise.
53834         * string/memchr.c: Likewise.
53835         * string/memrchr.c: Likewise.
53836         * string/rawmemchr.c: Likewise.
53837         * string/strcat.c: Likewise.
53838         * string/strchr.c: Likewise.
53839         * string/strchrnul.c: Likewise.
53840         * string/strcmp.c: Likewise.
53841         * string/strcpy.c: Likewise.
53842         * string/strncat.c: Likewise.
53843         * string/strncmp.c: Likewise.
53844         * string/strncpy.c: Likewise.
53846 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53848         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53849         __builtin_memcopy is called when src and dest ranges are known to not
53850         overlap.
53852 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53854         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53855         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53856         fwd_align_merge macro call.
53857         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53858         bwd_align_merge macro call.
53859         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53861 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53863         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53864         bwd_align_merge macros.
53865         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53866         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53867         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53869 2012-04-18  David S. Miller  <davem@davemloft.net>
53871         * sysdeps/sparc/sparc64/memcopy.h: Delete.
53873 2012-04-18  Andreas Jaeger  <aj@suse.de>
53875         [BZ# 6794]
53876         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53877         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53878         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53880         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53881         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53882         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53884         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53885         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53886         Adjust for changed ldbl-128 files.
53888         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53889         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53890         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53892 2012-04-17  David S. Miller  <davem@davemloft.net>
53894         * sysdeps/sparc/sparc32/memcopy.h: Delete.
53896 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
53898         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53899         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53900         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53901         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53902         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53903         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53905 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53907         [BZ #6794]
53908         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53909         * math/libm-test.inc: Add ilogb errno and exception tests.
53910         * math/w_ilogb.c: New file: ilogb wrapper.
53911         * math/w_ilogbf.c: New file: ilogbf wrapper.
53912         * math/w_ilogbl.c: New file: ilogbl wrapper.
53913         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53914         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53915         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53916         exception being thrown with 0.0 as argument.
53917         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53918         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53919         exception being thrown with 0.0 as argument.
53920         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53921         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53922         exception being thrown with 0.0 as argument.
53923         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53924         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53925         exception being thrown with 0.0 as argument.
53926         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53927         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53928         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53929         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53930         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53931         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53932         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53933         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53934         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53936 2012-04-17  Petr Baudis  <pasky@ucw.cz>
53938         * include/sys/uio.h: Change __vector to __iovec to avoid clash
53939         with altivec.
53941 2012-04-16  Marek Polacek  <polacek@redhat.com>
53943         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53945 2012-04-16  Marek Polacek  <polacek@redhat.com>
53947         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53948         operands of fdivp instruction.
53950 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53952         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53953         * elf/tst-auditmod3b.c: Likewise.
53954         * elf/tst-auditmod4b.c: Likewise.
53955         * elf/tst-auditmod5b.c: Likewise.
53956         * elf/tst-auditmod6b.c: Likewise.
53957         * elf/tst-auditmod6c.c: Likewise.
53958         * elf/tst-auditmod7b.c: Likewise.
53959         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53960         * sysdeps/x86_64/preconfigure.in: Likewise.
53961         * sysdeps/x86_64/preconfigure: Regenerated.
53963 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53965         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53966         __ILP32__.
53968 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
53970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53971         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53973 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
53975         [BZ #13973]
53976         * locale/iso-639.def: Fix gl language name. Spotted by
53977         Yaron Shahrabani.
53979 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53981         [BZ #2074]
53982         * libio/libio.h (__io_write_fn): Update comment.
53984 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53986         [BZ #2074]
53987         * stdio.texi (Hook Functions): The user provided writer function
53988         is not allowed to return -1.
53990 2012-04-11  David S. Miller  <davem@davemloft.net>
53992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53994 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53996         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53997         Add a leading slash to rtkaio.
53999 2012-04-11  Jim Meyering  <meyering@redhat.com>
54001         [BZ #11959]
54002         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54003         It is not necessarily an error to ignore fwrite's return
54004         value.  One can reliably use ferror to test for errors after
54005         the fact.
54007 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
54009         * bits/types.h (__snseconds_t): New type.
54010         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
54012         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
54013         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
54014         (__SNSECONDS_T_TYPE): Likewise.
54015         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
54016         (__SNSECONDS_T_TYPE): Likewise.
54017         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
54018         (__SNSECONDS_T_TYPE): Likewise.
54020 2012-04-10  Andreas Jaeger  <aj@suse.de>
54022         [BZ #2636]
54023         * manual/time.texi (Processor Time): Return type of times is
54024         elapsed real time since an arbitrary point in the past.
54025         (CPU Time): Move CLK_TCK from here...
54026         (Processor Time): ...to here.  Correct description.
54027         * manual/conf.texi (Constants for Sysconf): Correct description of
54028         _SC_CLK_TCK.
54030 2012-04-10  David S. Miller  <davem@davemloft.net>
54032         [BZ #13967]
54033         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
54034         where the is a gap between DT_REL(A) and DT_JMPREL.
54036 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
54038         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
54039         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54040         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54042 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54044         * elf/dl-support.c (_dl_inhibit_cache): New variable.
54045         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
54046         (dl_main): Handle --inhibit-cache.
54047         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
54048         _dl_inhibit_cache.
54049         * elf/dl-load.c (_dl_map_object): Use it.
54050         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
54052 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
54054         [BZ #13872]
54055         * sysdeps/i386/fpu/e_powl.S (p78): New object.
54056         (__ieee754_powl): Saturate large exponents rather than testing for
54057         overflow of y*log2(x).
54058         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54059         * math/libm-test.inc (pow_test): Do not permit spurious overflow
54060         exceptions.
54062         [BZ #11521]
54063         * math/s_ctan.c: Include <float.h>.
54064         (__ctan): Avoid internal overflow or cancellation in calculating
54065         denominator.
54066         * math/s_ctanf.c: Likewise.
54067         * math/s_ctanl.c: Likewise.
54068         * math/s_ctanh.c: Likewise.
54069         * math/s_ctanhf.c: Likewise.
54070         * math/s_ctanhl.c: Likewise.
54071         * math/libm-test.inc (ctan_test): Add more tests.
54072         (ctanh_test): Likewise.
54073         * sysdeps/i386/fpu/libm-test-ulps: Update.
54074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54076 2012-04-09  Andreas Jaeger  <aj@suse.de>
54078         [BZ #6894]
54079         * manual/filesys.texi (Directory Entries): Mention that d_namlen
54080         is an optional BSD extension.
54082         [BZ #10254]
54083         * manual/stdio.texi (Opening Streams): Document additional fopen
54084         parameters.
54086 2012-04-09  Roland McGrath  <roland@hack.frob.com>
54088         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
54089         %eax without telling the compiler.
54091 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
54093         [BZ # 13963]
54094         * manual/install.texi: Use sourceware.org.
54096 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
54098         [BZ #13873]
54099         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
54100         (__ieee754_pow): Generate overflow and underflow using huge*huge
54101         and tiny*tiny rather than just returning constant infinity or zero
54102         for large exponents.
54103         * math/libm-test.inc (pow_test): Require overflow exceptions for
54104         applicable cases of large exponents.
54106         [BZ #706]
54107         * sysdeps/i386/fpu/e_pow.S (p10): New object.
54108         (__ieee754_pow): Use iterative multiplication algorithm only for
54109         integer exponents with absolute value below 1024.  Check for odd
54110         integer exponents when using algorithm for real exponents.
54111         * math/libm-test.inc (pow_test): Add more tests.
54112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54114 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
54116         [BZ #13705]
54117         * math/libm-test.inc (exp_test): Do not allow overflow exception
54118         on underflow test.
54120 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
54122         [BZ #13705]
54123         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
54124         instead of __kernel_standard_f.
54126 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
54128         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
54129         * sysdeps/x86_64/memset_chk.S: Likewise.
54131 2012-04-08  Andreas Jaeger  <aj@suse.de>
54133         [BZ #10153]
54134         * manual/startup.texi (Environment Access): Describe return value
54135         for putenv and setenv.
54137         [BZ #6895]
54138         * manual/filesys.texi (Directory Entries): Add description for
54139         DT_LNK.
54141         [BZ #6890]
54142         * manual/filesys.texi (Directory Entries): Clarify that it's file
54143         system not operating system in the description of DT_UNKNOWN.
54145         [BZ #6578]
54146         * manual/syslog.texi (closelog): Fix reference, it's openlog.
54148 2012-04-08  Stephen Compall  <s11@member.fsf.org>
54150         [BZ #6649]
54151         * manual/llio.texi (Opening and Closing Files): Add cross
54152         reference to explain mode argument.
54154 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
54156         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
54157         * sysdeps/x86_64/memset_chk.S: Likewise.
54159 2012-04-07  David S. Miller  <davem@davemloft.net>
54161         * elf/elf.h (R_SPARC_WDISP10): Define.
54162         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
54163         R_SPARC_SIZE32.
54164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
54165         R_SPARC_SIZE64 and R_SPARC_H34.
54167 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
54169         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
54170         conditions and remove no longer applicable assertion.
54172 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
54174         * bits/byteswap.h: Include <features.h>.
54175         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
54176         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
54178 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
54180         * bits/byteswap.h (__bswap_16): Removed.
54181         Include <bits/byteswap-16.h> to get __bswap_16.
54182         * sysdeps/i386/bits/byteswap.h: Likewise.
54183         * sysdeps/s390/bits/byteswap.h: Likewise.
54184         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54185         * bits/byteswap-16.h: New file.
54186         * sysdeps/i386/bits/byteswap-16.h: Likewise.
54187         * sysdeps/s390/bits/byteswap-16.h: Likewise.
54188         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
54189         * string/Makefile (headers): Add bits/byteswap-16.h.
54191 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54193         [BZ #13895]
54194         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
54195         extra indirection.
54196         * nss/Makefile (tests-static, tests): Add tst-nss-static.
54197         * nss/tst-nss-static.c: New.
54199 2012-04-06  Robert Millan  <rmh@gnu.org>
54201         [BZ #6486]
54202         * manual/llio.texi (File Position Primitive): lseek
54203         refers to WHENCE when it really means OFFSET.
54205 2012-04-06  Andreas Jaeger  <aj@suse.de>
54207         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
54208         strncmp declarations.
54210         * abilist/libc.abilist: Add __poll and __ppoll.
54212 2012-04-05  David S. Miller  <davem@davemloft.net>
54214         * scripts/check-local-headers.sh: Accept a host triplet in the
54215         path matched by the exclude regexp.
54217         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
54218         definition.
54219         * sysdeps/powerpc/powerpc32/dl-machine.h
54220         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
54221         * sysdeps/s390/s390-32/dl-machine.h
54222         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54223         * sysdeps/sparc/sparc32/dl-machine.h
54224         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54225         * sysdeps/sparc/sparc64/dl-machine.h
54226         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
54228         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
54229         lazy binding.
54230         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
54231         undefined symbol errors.
54233         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
54234         DT_NEEDED entries.
54236 2012-04-05  Michael Matz  <matz@suse.de>
54238         [BZ #13592]
54239         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
54241 2012-04-05  Andreas Jaeger  <aj@suse.de>
54243         [BZ #13908]
54244         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
54245         comment.
54247 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54249         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
54250         which ROUND is no valid rounding mode.
54252 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54254         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54255         read again.
54256         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54258 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54260         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54261         an exception using FPU order intentionally.
54263 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54265         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54266         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54267         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54268         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54270 2012-04-05  Simon Josefsson  <simon@josefsson.org>
54272         [BZ #12340]
54273         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54274         EINVAL when BUFLEN is too smal.
54276 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54278         [BZ #13553]
54279         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54280         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54282 2012-04-03  Andreas Jaeger  <aj@suse.de>
54284         [BZ #13938]
54285         * manual/setjmp.texi (System V contexts): Fix sentence.
54287         [BZ #13926]
54288         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54289         New macro for this case.
54290         [!__GNUC__] (__bswap_64): New inline function for this case.
54291         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54292         * bits/byteswap.h: Likewise.
54293         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54294         ull, guard with __GLIBC_HAVE_LONG_LONG.
54296         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54297         __GLIBC_HAVE_LONG_LONG.
54299         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54300         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54302 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54304         [BZ #13691]
54305         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54306         inptr and inend, rather than using last_ch.
54308 2012-04-02  David S. Miller  <davem@davemloft.net>
54310         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54311         * stdio-common/printf-parse.h (read_int): Change return type to
54312         'int', return -1 on INT_MAX overflow.
54313         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54314         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
54315         overflows INT_MAX.  Check for overflow of in-format-string precision
54316         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
54317         SIZE_MAX not INT_MAX for integer overflow test.
54318         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54319         skip the construct in the format string but do not record anything.
54320         * stdio-common/bug22.c: Adjust to test both width/prevision
54321         INT_MAX overflow as well as total length INT_MAX overflow.  Check
54322         explicitly for proper errno values.
54324 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54326         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54327         CHAR_MAX.
54328         * string/test-strcmp.c [! WIDE]: Likewise.
54329         * time/tst-mktime2.c: Likewise for INT_MAX.
54330         * string/test-string.h: #include <sys/param.h> for MIN.
54332         * csu/init-first.c (__libc_init_first): Call __ctype_init.
54333         * sysdeps/i386/init-first.c (init): Likewise.
54334         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54335         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54336         * sysdeps/sh/init-first.c (init): Likewise.
54338 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
54340         * po/ru.po: Update from translation team.
54341         * po/vi.po: Likewise.
54343 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54345         * resolv/nss_dns/dns-host.c: Merge copyright years.
54347 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54349         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54350         Optimize memcpy with prefetch if
54351         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
54352         src, dst pointers have unequal 16 byte alignments.
54354 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54356         [BZ #13928]
54357         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54358         from a CNAME entry and return the minimum ttl for the query.
54359         (gaih_getanswer_slice): Likewise.
54361 2012-03-30  Jeff Law  <law@redhat.com>
54363         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54364         due to long keys.
54365         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54366         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54368         * resolv/nss_dns/dns-host.c: Update copyright year.
54370 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
54372         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54373         requests to save a system call.  Fix check that all bytes are sent.
54375         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54376         comments for sendmmsg.
54378 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54380         [BZ #13691]
54381         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54382         with only 1 character between 0x0041 and 0x01b0.
54383         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54384         * wcsmbs/tst-mbsnrtowcs.c: New file.
54386 2012-03-29  David S. Miller  <davem@davemloft.net>
54388         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54389         small copies by hand.
54391 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54393         [BZ #13761]
54394         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54395         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54396         group memberships.
54398 2012-03-28  David S. Miller  <davem@davemloft.net>
54400         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54401         that branches into memcpy.
54402         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54403         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54404         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54405         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54406         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54407         bits.
54408         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54409         implementation too.
54410         * sysdeps/sparc/mempcpy.S: New file.
54412         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54413         the IFUNC routine in the libc case.
54414         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54416         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54417         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54418         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54419         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54420         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54421         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54422         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54423         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54425         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54426         loop to 256 bytes instead of 64 bytes and fix test signedness.
54428         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54429         * sysdeps/sparc/sparc32/Makefile: rather than here...
54430         * sysdeps/sparc/sparc64/Makefile: and here.
54432 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
54434         * malloc/mallocbug.c: Avoid warnings about unused variables.
54436 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54438         [BZ #13760]
54439         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54440         in the right place. Discard and retry query if response is
54441         larger than input buffer size.
54443 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
54445         [BZ #369]
54446         [BZ #2678]
54447         [BZ #3866]
54448         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54449         x for large integer exponent.
54450         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54451         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
54452         sign of result as needed afterwards.
54453         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54454         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54455         result for underflowing pow the same as for overflow.
54456         (__kernel_standard_l): Handle powl overflow and underflow here
54457         rather than calling __kernel_standard.
54458         * math/libm-test.inc (pow_test): Add more tests.
54460         [BZ #3868]
54461         [BZ #13879]
54462         [BZ #13910]
54463         [BZ #13911]
54464         [BZ #13912]
54465         [BZ #13913]
54466         [BZ #13915]
54467         [BZ #13916]
54468         [BZ #13917]
54469         [BZ #13918]
54470         [BZ #13919]
54471         [BZ #13920]
54472         [BZ #13921]
54473         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54474         * sysdeps/ieee754/k_standard.c: Include <float.h>.
54475         (__kernel_standard_l): New function.
54476         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54477         __kernel_standard.
54478         * math/w_acosl.c (__acosl): Likewise.
54479         * math/w_asinl.c (__asinl): Likewise.
54480         * math/w_atan2l.c (__atan2l): Likewise.
54481         * math/w_atanhl.c (__atanhl): Likewise.
54482         * math/w_coshl.c (__coshl): Likewise.
54483         * math/w_exp10l.c (__exp10l): Likewise.
54484         * math/w_exp2l.c (__exp2l): Likewise.
54485         * math/w_fmodl.c (__fmodl): Likewise.
54486         * math/w_hypotl.c (__hypotl): Likewise.
54487         * math/w_j0l.c (__j0l, __y0l): Likewise.
54488         * math/w_j1l.c (__j1l, __y1l): Likewise.
54489         * math/w_jnl.c (__jnl, __ynl): Likewise.
54490         * math/w_lgammal.c (__lgammal): Likewise.
54491         * math/w_log10l.c (__log10l): Likewise.
54492         * math/w_log2l.c (__log2l): Likewise.
54493         * math/w_logl.c (__logl): Likewise.
54494         * math/w_powl.c (__powl): Likewise.
54495         * math/w_remainderl.c (__remainderl): Likewise.
54496         * math/w_scalbl.c (sysv_scalbl): Likewise.
54497         * math/w_sinhl.c (__sinhl): Likewise.
54498         * math/w_sqrtl.c (__sqrtl): Likewise.
54499         * math/w_tgammal.c (__tgammal): Likewise.
54500         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54501         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54502         * math/libm-test.inc (acos_test): Add more tests.
54503         (acosh_test): Likewise.
54504         (asin_test): Likewise.
54505         (atanh_test): Likewise.
54506         (exp_test): Likewise.
54507         (exp10_test): Likewise.
54508         (exp2_test): Likewise.
54509         (expm1_test): Likewise.
54510         (lgamma_test): Likewise.
54511         (log_test): Likewise.
54512         (log10_test): Likewise.
54513         (log1p_test): Likewise.
54514         (log2_test): Likewise.
54515         (pow_test): Do not allow some spurious overflow exceptions.
54516         (sqrt_test): Add more tests.
54517         (tgamma_test): Likewise.
54518         (y0_test): Likewise.
54519         (y1_test): Likewise.
54520         (yn_test): Likewise.
54522 2012-03-27  Anton Blanchard  <anton@samba.org>
54524         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54525         MAP_HUGETLB.
54526         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54527         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54528         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54530 2012-03-27  David S. Miller  <davem@davemloft.net>
54532         * conform/Makefile: Run run-conformtest.sh using $(BASH).
54534         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54535         have-as-vis3 check.
54537 2012-03-27  Andreas Jaeger  <aj@suse.de>
54539         * sysdeps/x86_64/elf/configure.in: Moved to ...
54540         * sysdeps/x86_64/configure.in: ... here.
54541         * sysdeps/x86_64/elf/start.S: Moved to ...
54542         * sysdeps/x86_64/start.S: ... here.
54543         * sysdeps/x86_64/elf/configure: Delete.
54545         * sysdeps/x86_64/configure.in: Merge contents from
54546         sysdeps/i386/configure.in (without i686 check).
54548         * sysdeps/i386/elf/Versions: Merge into ...
54549         * sysdeps/i386/Versions: ... this.
54550         * sysdeps/i386/elf/Versions: Delete file.
54551         * sysdeps/i386/elf/start.S: Moved to ...
54552         * sysdeps/i386/start.S: ...here.
54553         * sysdeps/i386/elf/configure.in: Merge into...
54554         * sysdeps/i386/configure.in: ...here.
54555         * sysdeps/i386/elf/configure.in: Delete file.
54556         * sysdeps/i386/elf/configure: Delete file.
54558         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54559         * debug/backtracesyms.c: ... here.
54560         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54561         * debug/backtracesymsfd.c: ... here.
54562         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54563         * sysdeps/generic/ifunc-sel.h: ... here.
54565         * sysdeps/unix/i386/start.c: Delete file.
54566         * sysdeps/unix/sparc/start.c: Delete file.
54567         * sysdeps/unix/start.c: Delete file.
54569         * sysdeps/sh/elf/configure.in: Moved to ...
54570         * sysdeps/sh/configure.in: ... here.
54571         * sysdeps/sh/elf/start.S: Moved to ...
54572         * sysdeps/sh/start.S: ... here.
54573         * sysdeps/sh/elf/configure: Delete file.
54575         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54576         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54577         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54578         * sysdeps/powerpc/powerpc64/entry.h: ... here.
54579         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54580         * sysdeps/powerpc/powerpc64/start.S: here.
54581         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54582         * sysdeps/powerpc/powerpc64/Makefile: ... this.
54583         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54584         * sysdeps/powerpc/powerpc64/configure.in: ... this.
54585         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54587         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54588         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54589         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54590         * sysdeps/powerpc/powerpc32/start.S: ... here.
54591         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54592         * sysdeps/powerpc/powerpc32/configure.in: ... this.
54593         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54595         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54596         * sysdeps/powerpc/ifunc-sel.h: ... here.
54597         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54598         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54600         * sysdeps/sparc/elf/configure.in: Moved to ...
54601         * sysdeps/sparc/configure.in: ... here.
54602         * sysdeps/sparc/elf/configure: Delete file.
54603         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54604         * sysdeps/sparc/sparc32/start.S: ... here.
54605         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54606         * sysdeps/sparc/sparc64/start.S: ... here.
54607         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54608         * sysdeps/sparc/sparc32/Makefile: ... this.
54609         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54610         * sysdeps/sparc/sparc64/Makefile: ... this.
54612         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54613         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54614         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54615         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54616         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54617         * sysdeps/s390/s390-32/setjmp.S: ... here.
54618         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54619         * sysdeps/s390/s390-32/configure.in: ... here.
54620         * sysdeps/s390/s390-32/elf/configure: Delete file.
54621         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54622         * sysdeps/s390/s390-32/start.S: ... here.
54624         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54625         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54626         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54627         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54628         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54629         * sysdeps/s390/s390-64/setjmp.S: ... here.
54630         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54631         * sysdeps/s390/s390-64/configure.in: ... here
54632         * sysdeps/s390/s390-64/elf/configure: Delete file.
54633         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54634         * sysdeps/s390/s390-64/start.S: ... here.
54635         * sysdeps/s390/s390-64/elf/configure: Delete.
54637         * configure.in: Remove support for elf directories in sysdeps.
54639         * configure: Regenerated.
54640         * sysdeps/i386/configure: Regenerated.
54641         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54642         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54643         * sysdeps/s390/s390-32/configure: Regenerated.
54644         * sysdeps/s390/s390-64/configure: Regenerated.
54645         * sysdeps/sh/configure: Regenerated.
54646         * sysdeps/sparc/configure: Regenerated.
54647         * sysdeps/x86_64/configure: Regenerated.
54649 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
54651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54653         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54654         denormal result into account.
54656 2012-03-25  Roland McGrath  <roland@hack.frob.com>
54658         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54659         Reported by Allan McRae <allan@archlinux.org>.
54661 2012-03-23  Jeff Law  <law@redhat.com>
54663         * nss/getnssent.c (__nss_getent): Fix typo.
54665 2012-03-23  David S. Miller  <davem@davemloft.net>
54667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54669 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
54671         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54672         to pad to uint64_t for each field.
54673         (dl_tls_index): Replace unsigned long with uint64_t.
54675 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
54676         Paul Pluzhnikov  <ppluzhnikov@google.com>
54678         [BZ #6528]
54679         * grp/Makefile (otherlibs): Don't set it.
54680         * inet/Makefile (otherlibs): Likewise.
54681         * login/Makefile (otherlibs): Likewise.
54682         * nscd/Makefile (otherlibs): Likewise.
54683         * posix/Makefile (otherlibs): Likewise.
54684         * pwd/Makefile (otherlibs): Likewise.
54685         * rt/Makefile (otherlibs): Likewise.
54686         * sunrpc/Makefile (otherlibs): Likewise.
54687         * nss/Makefile (otherlibs): Likewise.
54688         Add libnss_files to routines and static-only-routines.
54689         ($(objpfx)getent): Remove rule.
54690         * resolv/Makefile: Add libnss_dns and libresolv to routines and
54691         static-only-routines.
54693 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
54695         [BZ #13892]
54696         * math/s_cexp.c: Include <float.h>.
54697         (__cexp): Handle exp result overflowing not necessarily
54698         overflowing both real and imaginary parts of result.
54699         * math/s_cexpf.c: Likewise.
54700         * math/s_cexpl.c: Likewise.
54701         * math/libm-test.inc (cexp_test): Add more tests.
54702         * sysdeps/i386/fpu/libm-test-ulps: Update.
54703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54705 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54707         * include/link.h (ELFW): New macro.
54708         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54709         Replace ELF64_R_TYPE with ELFW(R_TYPE).
54711 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54713         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54714         with uint64_t.
54716 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54718         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54719         declaration.
54720         (struct La_x32_retval): Likewise.
54722 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54724         * sysdeps/x86_64/preconfigure.in: New file.
54725         * sysdeps/x86_64/preconfigure: New generated file.
54727 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
54729         [BZ #13824]
54730         * math/e_exp2l.c: Include <float.h>.
54731         (__ieee754_exp2l): Handle overflow and underflow cases
54732         separately.  Only pass fractional part of argument to
54733         __ieee754_expl.
54734         * math/libm-test.inc (exp2_test): Add more tests.
54736         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54737         negating x to take absolute value.
54738         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54739         Likewise.
54740         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54741         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54742         Likewise.
54743         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54744         computing low part if x was negated.
54745         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54747 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54749         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54750         la_x32_gnu_pltexit.
54751         (pltexit): Cast int_retval to ptrdiff_t.
54752         * elf/tst-auditmod3b.c: Likewise.
54753         * elf/tst-auditmod4b.c: Likewise.
54754         * elf/tst-auditmod5b.c: Likewise.
54755         * elf/tst-auditmod6b.c: Likewise.
54756         * elf/tst-auditmod6c.c: Likewise.
54757         * elf/tst-auditmod7b.c: Likewise.
54759         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54760         and x32_gnu_pltexit.
54762         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54763         __ELF_NATIVE_CLASS.
54764         (La_x32_regs): New macro.
54765         (La_x32_retval): Likewise.
54766         (la_x32_gnu_pltenter): New function prototype.
54767         (la_x32_gnu_pltexit): Likewise.
54769 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
54771         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54772         exponent.
54774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54776         * configure.in (libc_cv_cc_nofma): Check for option to disable
54777         generation of FMA instructions.
54778         * configure: Regenerate.
54779         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54780         * sysdeps/ieee754/dbl-64/Makefile: New file.
54781         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54782         Remove brandred-fma4.
54783         (CFLAGS-brandred-fma4.c): Remove.
54784         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54785         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54786         define.
54787         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54788         define.
54790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54792         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54793         LLONG_MAX != LONG_MAX.
54794         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54795         (_fitoa_word): Likewise.
54796         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54797         LLONG_MAX != LONG_MAX.
54798         * stdio-common/_itowa.h: Include <_itoa.h>.
54799         (_itowa_word): Use _ITOA_WORD_TYPE on value.
54800         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
54801         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
54802         only if not defined.
54803         (_ITOA_WORD_TYPE): Likewise.
54804         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54805         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54807 2012-03-21  David S. Miller  <davem@davemloft.net>
54809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54811 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54813         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54814         of x86_64 when setting libc_cv_slibdir, libdir and
54815         libc_cv_localedir.
54816         * sysdeps/unix/sysv/linux/configure: Regenerated.
54818 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54820         * manual/lang.texi (Old Varargs): Remove section.
54821         (How Variadic): Update menu.
54822         (va_start): Do not mention varargs.h.
54824 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54825             Joseph Myers  <joseph@codesourcery.com>
54827         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54828         link test.
54829         * configure: Regenerated.
54831 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54833         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54834         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54835         conformtest.pl
54837 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54839         * NOTES: Remove.
54840         * Makefile (files-for-dist): Remove NOTES.
54841         (NOTES): Remove rule.
54842         * README: Don't refer to NOTES.
54843         * manual/creature.texi: Don't include macros.texi.
54844         * manual/intro.texi (creature.texi): Remove comment referring to
54845         NOTES.
54847         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54848         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54849         * configure: Regenerated.
54850         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54851         LIBC_TRY_CC_OPTION.
54852         (libc_cv_as_i686): Likewise.
54853         (libc_cv_cc_avx): Likewise.
54854         (libc_cv_cc_sse2avx): Likewise.
54855         (libc_cv_cc_fma4): Likewise.
54856         (libc_cv_cc_novzeroupper): Likewise.
54857         * sysdeps/i386/configure: Regenerated.
54859         [BZ #13883]
54860         * sysdeps/i386/fpu/s_cexp.S: Remove.
54861         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54862         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54863         * math/libm-test.inc (cexp_test): Add more tests.
54864         * sysdeps/i386/fpu/libm-test-ulps: Update.
54865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54867 2012-03-21  Allan McRae  <allan@archlinux.org>
54869         * timezone/Makefile: Do not install iso3166.tab and zone.tab
54871 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54873         [BZ #13871]
54874         * math/w_exp2.c: Do not include <float.h>.
54875         (o_threshold, u_threshold): Remove.
54876         (__exp2): Calculate result before checking finiteness and calling
54877         __kernel_standard.
54878         * math/w_exp2f.c: Likewise.
54879         * math/w_exp2l.c: Likewise.
54880         * math/libm-test.inc (exp2_test): Require overflow exception for
54881         1e6 input.
54883         [BZ #3866]
54884         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54885         range of signed 64-bit integers before using fistpll.  Remove
54886         checks for whether integers fit in mantissa bits.
54887         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54888         the range of signed 32-bit integers before using fistpl.  Remove
54889         checks for whether integers fit in mantissa bits.
54890         * sysdeps/i386/fpu/e_powl.S (p64): New object.
54891         (__ieee754_powl): Test for y outside the range of signed 64-bit
54892         integers before using fistpll.  Reduce 64-bit values to 63-bit
54893         ones as needed.
54894         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54895         divide-by-zero is raised for zero to large negative powers.
54896         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54897         (__ieee754_powl): Test for y outside the range of signed 64-bit
54898         integers before using fistpll.  Reduce 64-bit values to 63-bit
54899         ones as needed.
54900         * math/libm-test.inc (pow_test): Add more tests.
54902 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54904         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54905         <stdio-common/_itoa.h>.
54906         * debug/segfault.c: Likewise.
54907         * elf/dl-cache.c: Likewise.
54908         * elf/dl-minimal.c: Likewise.
54909         * elf/dl-misc.c: Likewise.
54910         * elf/dl-sysdep.c: Likewise.
54911         * elf/dl-version.c: Likewise.
54912         * elf/rtld.c: Likewise.
54913         * hurd/hurdsock.c: Likewise.
54914         * hurd/lookup-retry.c: Likewise.
54915         * malloc/malloc.c: Likewise.
54916         * malloc/mtrace.c: Likewise.
54917         * nscd/nscd_getgr_r.c: Likewise.
54918         * nscd/nscd_getpw_r.c: Likewise.
54919         * nscd/nscd_getserv_r.c: Likewise.
54920         * posix/getopt_init.c: Likewise.
54921         * posix/wordexp.c: Likewise.
54922         * stdio-common/_itoa.c: Likewise.
54923         * stdio-common/printf_fphex.c: Likewise.
54924         * stdio-common/vfprintf.c: Likewise.
54925         * string/_strerror.c: Likewise.
54926         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54927         * sysdeps/i386/i686/hp-timing.h: Likewise.
54928         * sysdeps/mach/_strerror.c: Likewise.
54929         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54930         * sysdeps/mach/hurd/sethostid.c: Likewise.
54931         * sysdeps/mach/hurd/xmknodat.c: Likewise.
54932         * sysdeps/mach/xpg-strerror.c: Likewise.
54933         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54934         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54935         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54936         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54937         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54938         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54939         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54940         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54941         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54942         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54943         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54944         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54945         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54946         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54947         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54948         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54949         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54950         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54951         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54952         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54953         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54955         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54957         * stdio-common/_itoa.h: Moved to ...
54958         * sysdeps/generic/_itoa.h: Here.
54960         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54962         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54963         instead of "_itoa.h" and "_itowa.h".
54964         * stdio-common/vfprintf.: Likewise.
54966 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54968         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54969         <bits/wordsize.h>.
54970         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54971         (__signbit): Likwise.
54972         (llrintf): Likwise.
54973         (llrint): Likwise.
54975 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54977         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54978         __WORDSIZE != 64.
54980 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54982         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54983         OVERFLOW_EXCEPTION_OK.
54984         * math/libm-test.inc ("Philosophy"): Update comment about
54985         exception testing.
54986         (OVERFLOW_EXCEPTION): Define.
54987         (OVERFLOW_EXCEPTION_OK): Likewise.
54988         (INVALID_EXCEPTION_OK): Renumber.
54989         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54990         (IGNORE_ZERO_INF_SIGN): Likewise.
54991         (test_exceptions): Handle FE_OVERFLOW.
54992         (exp10_test): Expect overflow exceptions.
54993         (exp2_test): Likewise.
54994         (expm1_test): Likewise.
54995         (nextafter_test): Likewise.
54996         (pow_test): Likewise.
54997         (scalbn_test): Likewise.
54998         (scalbln_test): Likewise.
55000 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55002         * sysdeps/x86_64/bits/atomic.h
55003         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
55004         64bit integer.
55005         (atomic_exchange_acq): Likewise.
55006         (__arch_exchange_and_add_body): Likewise.
55007         (__arch_add_body): Likewise.
55008         (atomic_add_negative): Likewise.
55009         (atomic_add_zero): Likewise.
55011 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55013         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
55014         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
55016 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55018         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
55019         Check __x86_64__ instead of __WORDSIZE.
55021 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55023         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
55025 2012-03-19  David S. Miller  <davem@davemloft.net>
55027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55029         * sysdeps/sparc/fpu/fenv_private.h: New file.
55030         * sysdeps/sparc/fpu/math_private.h: Use it.
55031         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
55032         Remove.
55033         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
55034         (libc_feholdexcept_setroundl): Remove.
55035         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
55036         Remove.
55037         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
55038         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
55040 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55042         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
55043         int64_t instead of long int.
55044         (INSERT_WORDS64): Likwise.
55046 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
55048         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
55049         _Unwind_GetCFA return to _Unwind_Ptr first.
55051 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
55053         [BZ #13629]
55054         * math/s_clog.c: Include <float.h>.
55055         (__clog): Scale large or subnormal inputs.
55056         * math/s_clogf.c: Likewise.
55057         * math/s_clogl.c: Likewise.
55058         * math/s_clog10.c: Include <float.h>.
55059         (M_LOG10_2): Define.
55060         (__clog10): Scale large or subnormal inputs.
55061         * math/s_clog10f.c: Likewise.
55062         * math/s_clog10l.c: Likewise.
55063         * math/libm-test.inc (clog_test): Add more tests.
55064         (clog10_test): Likewise.
55065         * sysdeps/i386/fpu/libm-test-ulps: Update.
55066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55068         [BZ #11451]
55069         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
55070         x and y.
55071         * math/libm-test.inc (atan2_test): Add another test.
55073         * Makerules (common-objdir-compile): Remove.
55074         * sysdeps/unix/Makefile (config-generated): Do not add
55075         $(unix-generated) to variable.
55076         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
55077         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
55078         Remove rule.
55079         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
55080         Likewise.
55081         [generic bits/local_lim.h] (before-compile): Do not append to
55082         variable.
55083         [generic bits/local_lim.h] (common-generated): Likewise.
55084         [generic sys/param.h] (before-compile): Do not append to variable.
55085         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
55086         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
55087         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
55088         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
55089         include.
55090         [generic sys/param.h] (sys/param.h-includes): Remove variable.
55091         [generic sys/param.h] (sys/param.h-includes): Remove rule.
55092         [generic sys/param.h] ($(addprefix
55093         $(common-objpfx),$(sys/param.h-includes))): Likewise.
55094         [generic sys/param.h] (common-generated): Do not append to
55095         variable.
55096         [generic sys/param.h] (sysdep_headers): Likewise.
55097         [generic bits/errno.h] (before-compile): Do not append to
55098         variable.
55099         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
55100         rule.
55101         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
55102         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
55103         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
55104         [generic bits/errno.h] (common-generated): Do not append to
55105         variable.
55106         [generic bits/ioctls.h] (before-compile): Do not append to
55107         variable.
55108         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
55109         rule.
55110         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
55111         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
55112         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
55113         rule.
55114         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
55115         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
55116         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
55117         [generic bits/ioctls.h] (common-generated): Do not append to
55118         variable.
55119         [generic sys/syscall.h] (syscall.h): Remove variable.
55120         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
55121         rule.
55122         [generic sys/syscall.h] (before-compile): Do not append to
55123         variable.
55124         [generic sys/syscall.h] (common-generated): Likewise.
55125         * sysdeps/unix/errnos-tmpl.c: Remove file.
55126         * sysdeps/unix/errnos.awk: Likewise.
55127         * sysdeps/unix/ioctls-tmpl.c: Likewise.
55128         * sysdeps/unix/ioctls.awk: Likewise.
55129         * sysdeps/unix/mk-local_lim.c: Likewise.
55130         * sysdeps/unix/snarf-ioctls: Likewise.
55132 2012-03-19  Richard Henderson  <rth@twiddle.net>
55134         * sysdeps/i386/fpu/fenv_private.h: New file.
55135         * sysdeps/i386/fpu/math_private.h: Use it.
55136         (math_opt_barrier, math_force_eval): Remove.
55137         (libc_feholdexcept_setround_53bit): Remove.
55138         (libc_feupdateenv_53bit): Remove.
55139         * sysdeps/x86_64/fpu/math_private.h: Likewise.
55140         (math_opt_barrier, math_force_eval): Remove.
55141         (libc_feholdexcept): Remove.
55142         (libc_feholdexcept_setround): Remove.
55143         (libc_fetestexcept, libc_fesetenv): Remove.
55144         (libc_feupdateenv_test): Remove.
55145         (libc_feupdateenv, libc_feholdsetround): Remove.
55146         (libc_feresetround): Remove.
55148         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
55149         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
55151         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
55152         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
55153         (libc_feupdateenv_testl): New.
55154         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
55155         (libc_feupdateenv_testf): New.
55156         (libc_feupdateenv): Use libc_feupdateenv_test.
55157         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
55158         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
55160         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
55161         (libc_feholdsetroundf, libc_feholdsetroundl): New.
55162         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
55163         (libc_feresetround_noex): New.
55164         (libc_feresetround_noexf): New.
55165         (libc_feresetround_noexl): New.
55166         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
55167         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
55168         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
55169         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
55170         SET_RESTORE_ROUND.
55171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
55173         (__cos): Likewise.
55174         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
55175         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
55176         SET_RESTORE_ROUND_NOEX.
55177         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
55178         SET_RESTORE_ROUND_NOEXF.
55179         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
55180         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
55181         (libc_feholdsetroundf): New.
55182         (libc_feresetround, libc_feresetroundf): New.
55184         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
55185         (libc_feholdexcept_setround_53bit): Convert from macro to function.
55186         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
55188         * sysdeps/generic/math_private.h: Include <fenv.h>.
55189         (default_libc_feholdexcept): New.
55190         (default_libc_feholdexcept_setround): New.
55191         (default_libc_fesetenv, default_libc_feupdateenv): New.
55192         (libc_feholdexcept): Only define if undefined.
55193         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
55194         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
55195         (libc_feholdexcept_setroundl): Likewise.
55196         (libc_feholdexcept_setround_53bit): Likewise.
55197         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
55198         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
55199         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
55200         (libc_feupdateenv_53bit): Likewise.
55201         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
55202         (libc_feholdexcept): Convert from macro to inline function.
55203         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
55204         (libc_fesetenv, libc_feupdateenv): Likewise.
55206         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
55207         not previously defined.
55208         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
55209         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
55210         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
55211         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
55212         * sysdeps/ieee754/flt-32/math_private.h: New file.
55213         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
55214         math_private.h below SET_FLOAT_WORD.
55215         (__isnan, __isinf_ns, __finite): Remove.
55216         (__isnanf, __isinf_nsf, __finitef): Remove.
55218 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
55220         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55222 2012-03-17  David S. Miller  <davem@davemloft.net>
55224         [BZ #6471]
55225         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
55226         for 2.16.
55228 2012-03-16  David S. Miller  <davem@davemloft.net>
55230         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
55231         warnings.
55233         [BZ #6471]
55234         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
55235         properly.
55236         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
55237         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
55238         sysdep_routines when subdir is sysvipc.
55239         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
55240         __getshmlba helper.
55242         * sysdeps/sparc/fpu/libm-test/ulps: Update.
55244 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55246         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
55247         [__LP64__].
55249 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55251         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55252         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55253         (__lround): Renamed to ...
55254         (__llround): This.  Replace long int with long long int.
55255         Define lround functions as aliases of llround functions.
55256         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55258 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55260         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55261         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
55262         adresses to uintptr_t.  Replace "long int" and "unsigned long
55263         int" with "greg_t" on va_arg.
55265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55267         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55268         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55270         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55271         Move e_machine check before EI_CLASS check.  Handle x32
55272         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55273         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55274         SKIP_EM_IA_64 and include
55275         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55277         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55278         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55279         (add_system_dir): New macro.
55281         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55282         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55284 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55286         [BZ #2551]
55287         [BZ #2552]
55288         [BZ #2553]
55289         [BZ #2554]
55290         [BZ #2562]
55291         [BZ #2563]
55292         [BZ #2565]
55293         [BZ #2566]
55294         [BZ #2576]
55295         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55296         (y0): Likewise.
55297         * math/w_j0f.c (j0f): Likewise.
55298         (y0f): Likewise.
55299         * math/w_j0l.c (__j0l): Likewise.
55300         (__y0l): Likewise.
55301         * math/w_j1.c (j1): Likewise.
55302         (y1): Likewise.
55303         * math/w_j1f.c (j1f): Likewise.
55304         (y1f): Likewise.
55305         * math/w_j1l.c (__j1l): Likewise.
55306         (__y1l): Likewise.
55307         * math/w_jn.c (jn): Likewise.
55308         (yn): Likewise.
55309         * math/w_jnf.c (jnf): Likewise.
55310         (ynf): Likewise.
55311         * math/w_jnl.c (__jnl): Likewise.
55312         (__ynl): Likewise.
55313         * math/libm-test.inc (j0_test): Add more tests.
55314         (j1_test): Likewise.
55315         (jn_test): Likewise.  Add trailing semicolon to existing test.
55316         (y0_test): Likewise.
55317         (y1_test): Likewise.
55318         * sysdeps/i386/fpu/libm-test-ulps: Update.
55319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55321         [BZ #13851]
55322         [BZ #13854]
55323         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55324         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55325         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55326         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55327         (__tanl): Set errno for infinite argument.
55328         * sysdeps/i386/fpu/mptan.c: Remove.
55329         * sysdeps/i386/fpu/s_tan.S: Likewise.
55330         * sysdeps/i386/fpu/s_tanl.S: Likewise.
55331         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55332         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55333         * math/libm-test.inc (tan_test): Add more tests and enable more
55334         tests for double and long double.
55335         * sysdeps/i386/fpu/libm-test-ulps: Update.
55336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55338 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
55340         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55341         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55343 2012-03-16  Roland McGrath  <roland@hack.frob.com>
55345         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55346         * configure.in: Use it for both main tree and add-ons.
55347         * configure: Regenerated.
55349 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55351         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55353 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55355         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55356         in comment.
55358         [BZ #13851]
55359         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55360         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55361         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55362         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55363         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55364         infinite argument.
55365         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55366         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55367         != 0 for prec == 2.
55368         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55369         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55370         * sysdeps/i386/fpu/s_cosl.S: Likewise.
55371         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55372         * sysdeps/i386/fpu/s_sinl.S: Likewise.
55373         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55374         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55375         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55376         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55377         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55378         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55379         * math/libm-test.inc (cos_test): Add more tests and enable more
55380         tests for long double.
55381         (sin_test): Likewise.
55382         (sincos_test): Likewise.
55383         * sysdeps/i386/fpu/libm-test-ulps: Update.
55384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55386 2012-03-16  David S. Miller  <davem@davemloft.net>
55388         * sysdeps/sparc/fpu/math_private.h: New file.
55390 2012-03-15  David S. Miller  <davem@davemloft.net>
55392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55393         file.
55394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55396         file.
55397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55398         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55399         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55400         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55401         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55402         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55403         sysdep routines.
55404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55406         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55407         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55409         * sysdeps/sparc/sparc-ifunc.h: New file.
55410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55411         sparc-ifunc.h
55412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55414         Likewise.
55415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55416         Likewise.
55417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55421         Likewise.
55422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55427         Likewise.
55428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55429         Likewise.
55430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55434         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55435         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55436         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55437         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55440         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55444         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55445         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55446         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55447         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55448         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55449         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55450         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55451         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55455 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
55457         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55458         scaling.
55459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55461 2012-03-15  Andreas Jaeger  <aj@suse.de>
55463         [BZ #13852]
55464         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55465         ieee754/flt-32 implementation for sin, cos and sincos.
55466         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55467         * sysdeps/i386/fpu/s_cosf.S: Likewise.
55468         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55469         * sysdeps/i386/fpu/s_sinf.S: Likewise.
55470         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55471         ieee754/flt-32 implementation for tan.
55473         * math/libm-test.inc (cos_test): Enable some large input tests for
55474         float as well
55475         (sin_test): Likewise.
55476         (sincos_test): Likewise.
55477         (tan_test): Add tests for large input.
55479         * sysdeps/i386/fpu/libm-test-ulps: Update.
55481 2012-03-15  Andreas Jaeger  <aj@suse.de>
55483         [BZ #13658]
55484         * math/libm-test.inc (cos_test): Add more test cases.
55485         (sin_test): Likewise.
55486         (sincos_test): Likewise.
55488 2012-03-15  Andreas Jaeger  <aj@suse.de>
55490         [BZ #13837]
55491         * math/libm-test.inc (cos_test): Add a test case for large input
55492         value.
55493         (sin_test): Likewise.
55494         (sincos_test): Likewise.
55496 2012-03-15  Andreas Jaeger  <aj@suse.de>
55497             Joseph Myers  <joseph@codesourcery.com>
55499         [BZ #13658]
55500         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55501         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55502         * sysdeps/i386/fpu/branred.c: Likewise.
55503         * sysdeps/i386/fpu/dosincos.c: Likewise.
55504         * sysdeps/i386/fpu/mpa.c: Likewise.
55505         * sysdeps/i386/fpu/s_cos.S: Likewise.
55506         * sysdeps/i386/fpu/s_sin.S: Likewise.
55507         * sysdeps/i386/fpu/s_sincos.S: Likewise.
55508         * sysdeps/i386/fpu/sincos32.c: Likewise.
55510         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55511         Define.
55512         (libc_feupdateenv_53bit): Define.
55513         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55514         Define.
55515         (libc_feupdateenv_53bit): Define.
55517         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55518         53 bit (without extend i386 double precision).
55520         * math/libm-test.inc (sincos_test): Add tests for large input.
55521         (sin): Likewise.
55522         (cos): Likewise.
55524         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55526 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
55528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55530 2012-03-15  David S. Miller  <davem@davemloft.net>
55532         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55533         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55534         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55535         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55539         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55546         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55548         file.
55549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55551         file.
55552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55554         file.
55555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55557         file.
55558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55559         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55560         fmin/fmax sysdep routines.
55561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55563 2012-03-14  David S. Miller  <davem@davemloft.net>
55565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55569         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55570         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55571         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55572         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55573         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55574         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55575         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55576         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55577         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55578         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55579         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55580         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55581         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55582         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55583         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55585         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55586         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55587         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55588         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55589         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55590         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55591         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55592         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55593         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55594         routines.
55595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55596         file.
55597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55599         file.
55600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55602         file.
55603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55605         file.
55606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55608         file.
55609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55611         file.
55612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55613         file.
55614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55615         file.
55616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55617         file.
55618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55619         New file.
55620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55621         file.
55622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55623         file.
55624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55626         file.
55627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55629         file.
55630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55632         file.
55633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55635         VIS3 routines.
55637         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55638         New file.
55640         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55642         * sysdeps/sparc/configure.in: New file.
55643         * sysdeps/sparc/configure: Generate.
55644         * configure.in (libc_cv_sparc_as_vis3): Substitute.
55645         * configure: Regenerate.
55646         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55647         * config.make.in (have-as-vis3): New.
55648         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55649         available use -Av9d instead of -Av9a.
55650         * sysdeps/sparc/sparc64/Makefile: Likewise.
55651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55653         New file.
55654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55655         file.
55656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55657         New file.
55658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55659         file.
55660         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55661         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55662         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55663         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55664         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55666         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55667         fzeros/fnegs to load 0x80000000 into a float register instead of
55668         using the stack.
55669         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55671 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
55673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55674         bits/syscall.h.
55675         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55676         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55677         ($(inst_includedir)/bits/syscall.h): Remove rule.
55678         ($(objpfx)bits/syscall.d): Include instead of
55679         $(objpfx)syscall-list.d.
55680         (generated): Change syscall-list.h and syscall-list.d to
55681         bits/syscall.h and bits/syscall.d.
55683 2012-03-14  Roland McGrath  <roland@hack.frob.com>
55685         [BZ #13846]
55686         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55688 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
55690         [BZ #13841]
55691         * math/s_csqrt.c: Include <float.h>.
55692         (__csqrt): Scale large or subnormal inputs.
55693         * math/s_csqrtf.c: Likewise.
55694         * math/s_csqrtl.c: Likewise.
55695         * math/libm-test.inc (csqrt_test): Add more tests.
55696         * sysdeps/i386/fpu/libm-test-ulps: Update.
55697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55699         [BZ #13840]
55700         * math/libm-test.inc (hypot_test): Add more tests.
55702 2012-03-13  David S. Miller  <davem@davemloft.net>
55704         [BZ #13840]
55705         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55706         double-precision for the calculation instead of scaling.
55708 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
55710         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55711         manipulate bits before adding and subtracting TWO52[sx].
55712         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55713         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55714         Likewise.
55715         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55717 2012-03-13  David S. Miller  <davem@davemloft.net>
55719         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55720         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55722         rtld-global-offsets.h
55723         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55725         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55726         large parameters.
55728         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55730         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55731         'err' in the ifdef scope in which it is actually used.
55733         * nss/nss_db/db-init.c: Include string.h
55735 2012-03-12  David S. Miller  <davem@davemloft.net>
55737         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55738         masking out of the most significant byte of random value used.
55739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55740         Fix coding style in previous change.
55742         * sysdeps/unix/sysv/linux/kernel-features.h
55743         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55744         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55745         expression.
55746         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55747         later.
55749 2012-03-11  David S. Miller  <davem@davemloft.net>
55751         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55752         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55753         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55754         for 'resultvar' otherwise things get truncated on 64-bit.
55756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55757         Fix masking out of the most significant byte of random value used.
55759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55761 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
55763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55765 2012-03-09  David S. Miller  <davem@davemloft.net>
55767         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55768         variables with appropriate CPP guards.
55769         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55770         from the frame pointer, not the stack pointer.  Correct layout
55771         comments.  Fix test on resulting framesize and the management of
55772         the outregs buffer for pltexit.  Preserve floating point return
55773         values across _dl_call_pltexit call.
55774         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55775         framesize and the management of the outregs buffer for pltexit.
55776         Preserve floating point return values across _dl_call_pltexit
55777         call.
55778         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55779         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55780         (la_sparc64_gnu_pltexit): New functions.
55781         (print_exit): Fix format string for return register value.
55783 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
55785         * sunrpc/Makefile (others): Add rpcgen.
55786         ($(objpfx)rpcgen): Remove special build rule and dependency on
55787         libc.
55788         * sunrpc/rpcgen.c: New file.
55790 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
55792         [BZ #13673]
55793         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55794         * stdio-common/bug-vfprintf-nargs.c: Likewise.
55795         * sysdeps/i386/crti.S: Likewise.
55796         * sysdeps/i386/crtn.S: Likewise.
55797         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55798         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55799         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55800         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55801         * sysdeps/sh/crti.S: Likewise.
55802         * sysdeps/sh/crtn.S: Likewise.
55803         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55805         [BZ #13673]
55806         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55807         with URL.
55808         * locale/programs/locfile-kw.gperf: Likewise.
55809         * locale/programs/charmap-kw.h: Regenerated.
55810         * locale/programs/locfile-kw.h: Likewise.
55812         [BZ #13673]
55813         * intl/plural.y: Replace FSF snail mail address with URL.
55814         * intl/plural.c: Regenerated.
55816 2012-03-09  Richard Henderson  <rth@twiddle.net>
55818         * include/math_private.h: Remove file.
55819         * math/math_private.h: Move file ...
55820         * sysdeps/generic/math_private.h: ... here.
55822         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55823         * sysdeps/powerpc/fpu/math_private.h: Likewise.
55824         * sysdeps/x86_64/fpu/math_private.h: Likewise.
55826         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55827         and <math_private.h>.
55828         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55829         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55830         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55831         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55832         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55833         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55834         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55836         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55837         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55838         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55839         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55840         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55841         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55842         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55843         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55844         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55845         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55846         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55847         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55849         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55850         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55851         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55852         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55853         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55854         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55855         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55856         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55857         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55858         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55859         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55860         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55861         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55862         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55863         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55864         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55865         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55866         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55867         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55868         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55869         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55870         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55871         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55873         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55874         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55875         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55876         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55877         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55878         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55879         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55880         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55881         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55882         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55883         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55884         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55885         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55887         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55888         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55889         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55890         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55906         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55907         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55908         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55910         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55911         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55912         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55914         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55915         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55916         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55917         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55918         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55919         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55921         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55922         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55923         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55924         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55925         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55926         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55927         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55928         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55929         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55930         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55931         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55932         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55933         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55934         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55935         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55936         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55937         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55938         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55939         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55940         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55941         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55942         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55943         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55944         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55945         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55946         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55947         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55948         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55949         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55950         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55951         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55952         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55953         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55954         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55955         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55956         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55957         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55958         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55959         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55960         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55961         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55962         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55963         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55964         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55965         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55966         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55967         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55968         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55969         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55970         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55971         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55972         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55973         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55974         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55975         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55976         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55977         * sysdeps/ieee754/k_standard.c: Likewise.
55978         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55979         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55980         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55981         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55982         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55983         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55984         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55985         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55986         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55987         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55988         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55990         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55991         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55992         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55993         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55994         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55995         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55996         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55997         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55998         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55999         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
56000         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
56001         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
56002         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
56003         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
56004         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
56005         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
56006         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
56007         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
56008         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
56009         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
56010         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
56011         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
56012         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
56013         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
56014         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
56015         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
56016         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
56017         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
56018         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
56019         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
56020         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
56021         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
56022         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
56023         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
56024         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
56025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
56026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
56027         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
56028         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
56029         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
56030         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
56031         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
56032         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
56033         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
56034         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
56035         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
56036         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
56037         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
56038         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
56039         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
56040         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
56041         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56042         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56044         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56045         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56047         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56049         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56050         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56051         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56052         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56053         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56054         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
56055         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56056         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56057         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
56058         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
56059         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
56060         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
56061         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
56062         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
56063         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
56064         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
56065         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
56066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56067         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
56068         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
56069         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
56070         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
56071         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
56072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
56073         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
56074         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
56075         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
56076         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
56077         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
56078         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
56079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
56080         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
56081         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
56082         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
56083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
56084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
56085         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
56086         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
56087         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
56088         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
56089         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
56090         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56091         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56092         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56093         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56094         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56095         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56096         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56097         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56098         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56099         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
56100         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
56101         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
56102         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
56103         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
56104         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
56105         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
56106         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
56107         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
56108         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
56109         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
56110         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
56111         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
56112         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
56113         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
56114         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
56115         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
56116         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
56117         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
56118         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
56119         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
56120         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
56121         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
56122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
56123         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
56124         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
56125         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
56126         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
56127         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
56128         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
56129         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56130         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
56131         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
56132         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
56133         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
56134         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
56135         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
56136         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
56137         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
56138         * sysdeps/ieee754/s_lib_version.c: Likewise.
56139         * sysdeps/ieee754/s_matherr.c: Likewise.
56140         * sysdeps/ieee754/s_signgam.c: Likewise.
56141         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56142         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56143         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
56144         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
56145         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
56146         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
56147         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
56148         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
56149         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
56150         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
56151         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
56152         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
56153         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
56154         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56155         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
56156         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56157         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56158         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56159         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56163 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
56165         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
56166         * sunrpc/rpc_main.c: Likewise.
56167         * sunrpc/rpc_svcout.c: Likewise.
56169 2012-03-09  David S. Miller  <davem@davemloft.net>
56171         * include/math_private.h: New file.
56173 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
56175         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
56176         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
56177         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
56178         from <bits/socket_type.h>.
56179         (enum __socket_type): Don't define here.
56180         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
56181         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56182         bits/socket_type.h.
56184         [BZ #13566]
56185         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
56186         checking __USE_GNU.
56188         * Makerules ($(inst_includedir)/%.h): New rule.
56189         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
56190         (install-others): Remove variable setting.
56191         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
56193 2012-03-08  Richard Henderson  <rth@twiddle.net>
56195         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
56196         from macro to inline function; merge with the
56197         !__LIBC_INTERNAL_MATH_INLINES version.
56198         (__ieee754_sqrtf): Likewise.
56200         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
56201         to inline function.
56202         (__rintf, __floor, __floorf): Likewise.
56204         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
56205         macro to inline function.
56206         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
56208         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
56209         not <math/math_private.h>.
56211 2012-03-08  David S. Miller  <davem@davemloft.net>
56213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
56214         copyright year.
56215         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
56217 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
56219         * resolv/gai_misc.c (handle_requests): Fix struct timespec
56220         normalization.
56221         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
56222         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
56224 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
56226         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
56227         be defined individually, they must be defined as a block.  Define
56228         S for printing a string instead of hidint the different by using a
56229         macro for adding the 'l'.
56230         * stdio-common/tst-fphex-wide.c: Adjust.
56232 2012-03-07  Marek Polacek  <polacek@redhat.com>
56234         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
56236 2012-03-08  Marek Polacek  <polacek@redhat.com>
56238         [BZ #13806]
56239         * stdio-common/Makefile (tests): Add tst-fphex-wide.
56240         * stdio-common/tst-fphex.c: Define a few macros to make the
56241         test reusable.  Use them.
56242         * stdio-common/tst-fphex-wide.c: New file.
56244 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
56246         [BZ #6911]
56247         * manual/macros.texi (gnusystems): New macro.
56248         (nongnusystems): Likewise.
56249         (gnulinuxhurdsystems): Likewise.
56250         (gnuhurdsystems): Likewise..
56251         (gnulinuxsystems): Likewise.
56252         * manual/charset.texi: Use new macros or @theglibc{} to refer to
56253         variants of the GNU system, not "GNU system".
56254         * manual/conf.texi: Likewise.
56255         * manual/errno.texi: Likewise.  Update example of errno macro
56256         expansion.
56257         * manual/filesys.texi: Likewise.
56258         (getumask): Document as specific to GNU/Hurd.
56259         * manual/install.texi: Likewise.  Reword some references to
56260         GNU/Linux.
56261         * manual/intro.texi: Likewise.
56262         * manual/io.texi: Likewise.
56263         (File Name Portability): Detail which constraints are inapplicable
56264         to all GNU systems and which are only inapplicable to GNU/Hurd.
56265         * manual/job.texi: Likewise.
56266         * manual/llio.texi: Likewise.
56267         (O_NOCTTY): Document as present on GNU/Linux.
56268         * manual/maint.texi: Likewise.
56269         * manual/memory.texi: Likewise.
56270         * manual/pattern.texi: Likewise.
56271         * manual/pipe.texi: Likewise.
56272         * manual/process.texi: Likewise.
56273         * manual/resource.texi: Likewise.
56274         (RUSAGE_CHILDREN): Remove statement about specifying a particular
56275         child on GNU/Hurd.
56276         * manual/setjmp.texi: Likewise.
56277         * manual/signal.texi: Likewise.
56278         * manual/startup.texi: Likewise.
56279         * manual/stdio.texi: Likewise.
56280         * manual/terminal.texi: Likewise.
56281         (ONLCR): Document as POSIX.
56282         (OXTABS): Document availability on GNU/Linux as XTABS.
56283         (ONOEOT): Document availability separately from other bits.
56284         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56285         * manual/time.texi: Likewise.
56286         * manual/users.texi: Likewise.
56287         * INSTALL: Regenerated.
56288         * sysdeps/gnu/errlist.c: Regenerated.
56290         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56291         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56292         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
56293         puts.
56294         * configure: Regenerated.
56296 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
56298         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56299         default includes instead of AC_HEADER_CHECK.
56300         * sysdeps/i386/configure: Regenerated.
56302         [BZ #10716]
56303         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56304         * math/s_cacoshf.c (__cacoshf): Likewise.
56305         * math/s_cacoshl.c (__cacoshl): Likewise.
56306         * math/s_casinh.c (__casinh): Set signs of result from argument.
56307         * math/s_casinhf.c (__casinhf): Likewise.
56308         * math/s_casinhl.c (__casinhl): Likewise.
56309         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56310         (casinh_test): Add more tests.
56311         * sysdeps/i386/fpu/libm-test-ulps: Update.
56312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56314 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
56316         * po/zh_TW.po: Update from translation team.
56318         * login/Makefile (distribute): Remove variable.
56319         * catgets/Makefile: Likewise.
56320         * mach/Makefile: Likewise.
56321         * malloc/Makefile: Likewise.
56322         * misc/Makefile: Likewise.
56323         * iconv/Makefile: Likewise.
56324         * nscd/Makefile: Likewise.
56325         * hurd/Makefile: Likewise.
56326         * manual/Makefile: Likewise.
56327         * locale/Makefile: Likewise.
56328         * intl/Makefile: Likewise.
56329         * conform/Makefile: Likewise.
56330         * nss/Makefile: Likewise.
56331         * time/Makefile: Likewise.
56332         * soft-fp/Makefile: Likewise.
56333         * dirent/Makefile: Likewise.
56334         * gmon/Makefile: Likewise.
56335         * po/Makefile: Likewise.
56336         * rt/Makefile: Likewise.
56337         * socket/Makefile: Likewise.
56338         * math/Makefile: Likewise.
56339         * signal/Makefile: Likewise.
56340         * debug/Makefile: Likewise.
56341         * elf/Makefile: Likewise.
56342         * timezone/Makefile: Likewise.
56343         * stdlib/Makefile: Likewise.
56344         * iconvdata/Makefile: Likewise.
56345         * sunrpc/Makefile: Likewise.
56346         * io/Makefile: Likewise.
56347         * argp/Makefile: Likewise.
56348         * inet/Makefile: Likewise.
56349         * hesiod/Makefile: Likewise.
56350         * grp/Makefile: Likewise.
56351         * csu/Makefile: Likewise.
56352         * wctype/Makefile: Likewise.
56353         * crypt/Makefile: Likewise.
56354         * libio/Makefile: Likewise.
56355         * string/Makefile: Likewise.
56356         * nis/Makefile: Likewise.
56357         * resolv/Makefile: Likewise.
56358         * stdio-common/Makefile: Likewise.
56359         * wcsmbs/Makefile: Likewise.
56360         * dlfcn/Makefile: Likewise.
56361         * posix/Makefile: Likewise.
56363         [BZ #6959]
56364         * timezone/Makefile: Don't install timezone files, just the programs
56365         and scripts.
56367 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
56369         * nss/databases.def: Add missing gshadow entry.
56371         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
56373 2012-03-06  Marek Polacek  <polacek@redhat.com>
56375         [BZ #13726]
56376         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56377         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56378         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56379         * stdio-common/tst-long-dbl-fphex.c: New file.
56381 2012-03-06  David S. Miller  <davem@davemloft.net>
56383         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56384         (set_obp_int): New function.
56385         (get_obp_int): New function.
56386         (__get_clockfreq_via_dev_openprom): Likewise.
56387         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56388         Avoid unused variable warnings on 'val' and use builtin_expect.
56389         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56390         __builtin_expect.
56391         (INLINE_CLONE_SYSCALL): Likewise.
56393 2012-03-05  David S. Miller  <davem@davemloft.net>
56395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56397 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
56399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56401         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56402         only for |x| >= 40.
56403         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56405 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
56407         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56408         Replace gettimeofday with __vdso_gettimeofday.
56410         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56411         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56412         __vdso_clock_gettime and __vdso_getcpu.
56414         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56415         time with __vdso_time.
56417 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56419         * manual/lang.texi (size_t): Note types to which size_t may be
56420         equivalent with the GNU C Library, but do not describe when
56421         differences between them are significant.
56423 2012-03-05  Andreas Jaeger  <aj@suse.de>
56425         * sysdeps/i386/fpu/libm-test-ulps: Update.
56427 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56429         [BZ #3976]
56430         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56431         (__ieee754_pow): Save and restore rounding mode and use
56432         round-to-nearest for main computations.
56433         * math/libm-test.inc (pow_test_tonearest): New function.
56434         (pow_test_towardzero): Likewise.
56435         (pow_test_downward): Likewise.
56436         (pow_test_upward): Likewise.
56437         (main): Call the new functions.
56438         * sysdeps/i386/fpu/libm-test-ulps: Update.
56439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56441         [BZ #3976]
56442         * math/libm-test.inc (cosh_test_tonearest): New function.
56443         (cosh_test_towardzero): Likewise.
56444         (cosh_test_downward): Likewise.
56445         (cosh_test_upward): Likewise.
56446         (sinh_test_tonearest): Likewise.
56447         (sinh_test_towardzero): Likewise.
56448         (sinh_test_downward): Likewise.
56449         (sinh_test_upward): Likewise.
56450         (main): Call the new functions.
56451         * sysdeps/i386/fpu/libm-test-ulps: Update.
56452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56454 2012-03-05  Tom de Vries  <tom@codesourcery.com>
56456         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56457         default stack guard is set in last bytes.
56458         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56460 2012-03-05  Kees Cook  <keescook@chromium.org>
56462         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56464         [BZ #13656]
56465         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56466         possibly allocate from heap instead of stack.
56467         * stdio-common/bug-vfprintf-nargs.c: New file.
56468         * stdio-common/Makefile (tests): Add nargs overflow test.
56470 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
56472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56474 2012-03-03  Marek Polacek  <polacek@redhat.com>
56476         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56477         * math/math_private.h: Likewise.
56478         * stdlib/tst-strtod.c: Likewise.
56479         * sysdeps/i386/i486/bits/atomic.h: Likewise.
56480         * sysdeps/x86_64/bits/atomic.h: Likewise.
56482 2012-03-02  David S. Miller  <davem@davemloft.net>
56484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56488         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56489         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56490         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56491         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56493 2012-03-02  Roland McGrath  <roland@hack.frob.com>
56495         [BZ #13792]
56496         * manual/examples/README: New file, says the example source files
56497         can be used under GPL>=2.
56498         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56499         line containing just "*/".
56500         * manual/examples/add.c: Add copyright header (GPL>=2).
56501         * manual/examples/argp-ex1.c: Likewise.
56502         * manual/examples/argp-ex2.c: Likewise.
56503         * manual/examples/argp-ex3.c: Likewise.
56504         * manual/examples/argp-ex4.c: Likewise.
56505         * manual/examples/atexit.c: Likewise.
56506         * manual/examples/db.c: Likewise.
56507         * manual/examples/dir.c: Likewise.
56508         * manual/examples/dir2.c: Likewise.
56509         * manual/examples/execinfo.c: Likewise.
56510         * manual/examples/filecli.c: Likewise.
56511         * manual/examples/filesrv.c: Likewise.
56512         * manual/examples/fmtmsgexpl.c: Likewise.
56513         * manual/examples/genpass.c: Likewise.
56514         * manual/examples/inetcli.c: Likewise.
56515         * manual/examples/inetsrv.c: Likewise.
56516         * manual/examples/isockad.c: Likewise.
56517         * manual/examples/longopt.c: Likewise.
56518         * manual/examples/memopen.c: Likewise.
56519         * manual/examples/memstrm.c: Likewise.
56520         * manual/examples/mkfsock.c: Likewise.
56521         * manual/examples/mkisock.c: Likewise.
56522         * manual/examples/mygetpass.c: Likewise.
56523         * manual/examples/pipe.c: Likewise.
56524         * manual/examples/popen.c: Likewise.
56525         * manual/examples/rprintf.c: Likewise.
56526         * manual/examples/search.c: Likewise.
56527         * manual/examples/select.c: Likewise.
56528         * manual/examples/setjmp.c: Likewise.
56529         * manual/examples/sigh1.c: Likewise.
56530         * manual/examples/sigusr.c: Likewise.
56531         * manual/examples/stpcpy.c: Likewise.
56532         * manual/examples/strdupa.c: Likewise.
56533         * manual/examples/strftim.c: Likewise.
56534         * manual/examples/strncat.c: Likewise.
56535         * manual/examples/subopt.c: Likewise.
56536         * manual/examples/swapcontext.c: Likewise.
56537         * manual/examples/termios.c: Likewise.
56538         * manual/examples/testopt.c: Likewise.
56539         * manual/examples/testpass.c: Likewise.
56540         * manual/examples/timeval_subtract.c: Likewise.
56542         [BZ #13792]
56543         * manual/time.texi (Elapsed Time): Move timeval_subtract example
56544         function to ...
56545         * manual/timeval_subtract.c.texi: ... here, new file.
56547 2012-03-02  David S. Miller  <davem@davemloft.net>
56549         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56551 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
56553         [BZ #3976]
56554         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56555         (__sin): Save and restore rounding mode and use round-to-nearest
56556         for all computations.
56557         (__cos): Save and restore rounding mode and use round-to-nearest
56558         for all computations.
56559         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56560         <fenv.h>.
56561         (tan): Save and restore rounding mode and use round-to-nearest for
56562         all computations.
56563         * math/libm-test.inc (cos_test_tonearest): New function.
56564         (cos_test_towardzero): Likewise.
56565         (cos_test_downward): Likewise.
56566         (cos_test_upward): Likewise.
56567         (sin_test_tonearest): Likewise.
56568         (sin_test_towardzero): Likewise.
56569         (sin_test_downward): Likewise.
56570         (sin_test_upward): Likewise.
56571         (tan_test_tonearest): Likewise.
56572         (tan_test_towardzero): Likewise.
56573         (tan_test_downward): Likewise.
56574         (tan_test_upward): Likewise.
56575         (main): Call the new functions.
56576         * sysdeps/i386/fpu/libm-test-ulps: Update.
56577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56579         [BZ #10135]
56580         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56581         small n, then large n, before computing and testing k+n.
56582         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56583         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56584         Likewise.
56585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56586         Likewise.
56587         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56588         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56589         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56590         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56591         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56592         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56593         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56594         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56595         * math/libm-test.inc (scalbn_test): Add more tests.
56596         (scalbln_test): Likewise.
56598         * manual/filesys.texi (mode_t): Describe constraints on size and
56599         signedness, not exact equivalence to a particular type.
56600         (ino_t): Likewise.
56601         (ino64_t): Likewise.
56602         (dev_t): Likewise.
56603         (nlink_t): Likewise.
56604         (blkcnt_t): Likewise.
56605         (blkcnt64_t): Likewise.
56606         * manual/llio.texi (off_t): Likewise.
56608         [BZ #3976]
56609         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56610         (__ieee754_exp): Save and restore rounding mode and use
56611         round-to-nearest for all computations.
56612         * math/libm-test.inc (exp_test_tonearest): New function.
56613         (exp_test_towardzero): Likewise.
56614         (exp_test_downward): Likewise.
56615         (exp_test_upward): Likewise.
56616         (main): Call the new functions.
56617         * sysdeps/i386/fpu/libm-test-ulps: Update.
56618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56620 2012-03-01  Chris Demetriou  <cgd@google.com>
56622         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56623         have predictable order.
56625 2012-03-01  David S. Miller  <davem@davemloft.net>
56627         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56629         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56630         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56631         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56632         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56634         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56635         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56636         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56638         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56639         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56640         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56641         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56642         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56646         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56647         * sysdeps/sparc/fpu/libm-test-ulps: to here.
56648         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56650         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56651         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56652         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56653         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56654         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56655         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56656         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56657         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56658         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56659         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56660         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56661         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56662         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56664         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56666         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56667         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56668         * sysdeps/sparc/elf/configure: Regenerated.
56670 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
56672         * configure.in (AS, LD): Require binutils 2.20 or later.
56673         * configure: Regenerated.
56674         * manual/install.texi (Tools for Compilation): Give binutils 2.20
56675         as required minimum version.
56676         * INSTALL: Regenerated.
56678         [BZ #2541]
56679         [BZ #4108]
56680         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56681         before squaring exponent.
56682         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56683         bottom long double and 27 bits of top long double before squaring
56684         exponent.
56685         * math/libm-test.inc (erfc_test): Add more tests.
56686         * sysdeps/i386/fpu/libm-test-ulps: Update.
56687         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56690 2012-03-01  Kai Tietz  <ktietz@redhat.com>
56692         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56693         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56694         containing bit-fields.
56695         * soft-fp/extended.h (_FP_UNION_E): Likewise.
56696         * soft-fp/single.h (_FP_UNION_S): Likewise.
56697         * soft-fp/double.h (_FP_UNION_D): Likewise.
56699 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
56701         [BZ #13786]
56702         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56703         not include ../strcmp.S.
56704         [USE_AS_STRNCASECMP_L]: Likewise.
56705         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56706         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56707         * sysdeps/i386/i686/multiarch/strncase_l-c.c
56708         (__strncasecmp_l_ia32): Define as alias to
56709         __strncasecmp_l_nonascii.
56711         [BZ #5794]
56712         * math/libm-test.inc (expm1_test): Add test for bug 5794.
56713         * sysdeps/i386/fpu/libm-test-ulps: Update.
56714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56716         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56719 2012-02-29  Jeff Law  <law@redhat.com>
56721         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56722         out of bounds read.
56724 2012-02-29  Marek Polacek  <polacek@redhat.com>
56726         [BZ #13706]
56727         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56728         * elf/Makefile: Add rules to run tst-unused-dep.out.
56730 2012-02-28  David S. Miller  <davem@davemloft.net>
56732         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56733         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56734         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56735         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56736         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56737         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56739 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
56741         * math/libm-test.inc (llround_test): Move one test from
56742         lround_test.  Use TEST_f_L in moved test.
56743         (lround_test): Move misplaced test to llround_test.  Add testcase
56744         from bug 2561.
56746 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
56748         * sysdeps/x86_64/fpu/e_expf.S: New file.
56749         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56751 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
56753         [BZ #13637]
56754         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56755         of remain_len that may cause incomplete multi-byte character and
56756         false match.
56757         * posix/bug-regex33.c: New file.
56758         * posix/Makefile (tests): Add bug-regex33.
56760 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
56762         * manual/macros.texi: New file.
56763         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56764         * manual/libc.texinfo: Include macros.texi.
56765         * manual/creatute.texi: Likewise.
56766         * manual/install.texi: Likewise.
56767         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56768         @glibcadj{} in references to the GNU C Library.
56769         * manual/charset.texi: Likewise.
56770         * manual/conf.texi: Likewise.
56771         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
56772         when not using those macros.
56773         * manual/creature.texi: Likewise.
56774         * manual/crypt.texi: Likewise.
56775         * manual/errno.texi: Likewise.
56776         * manual/filesys.texi: Likewise.
56777         * manual/header.texi: Likewise.
56778         * manual/install.texi: Likewise.
56779         * manual/intro.texi: Likewise.
56780         * manual/io.texi: Likewise.
56781         * manual/job.texi: Likewise.
56782         * manual/lang.texi: Likewise.
56783         * manual/libc.texiinfo: Likewise.
56784         * manual/llio.texi: Likewise.
56785         * manual/locale.texi: Likewise.
56786         * manual/maint.texi: Likewise.
56787         * manual/math.texi: Likewise.
56788         * manual/memory.texi: Likewise.
56789         * manual/message.texi: Likewise.
56790         * manual/nss.texi: Likewise.
56791         * manual/pattern.texi: Likewise.
56792         * manual/process.texi: Likewise.
56793         * manual/resource.texi: Likewise.
56794         * manual/search.texi: Likewise.
56795         * manual/setjmp.texi: Likewise.
56796         * manual/signal.texi: Likewise.
56797         * manual/socket.texi: Likewise.
56798         * manual/startup.texi: Likewise.
56799         * manual/stdio.texi: Likewise.
56800         * manual/string.texi: Likewise.
56801         * manual/sysinfo.texi: Likewise.
56802         * manual/syslog.texi: Likewise.
56803         * manual/terminal.texi: Likewise.
56804         * manual/time.texi: Likewise.
56805         * manual/users.texi: Likewise.
56806         * INSTALL: Regenerated.
56807         * NOTES: Regenerated.
56808         * sysdeps/gnu/errlist.c: Regenerated.
56810 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
56812         * include/dirent.h: Include <dirstream.h> before
56813         <dirent/dirent.h>.
56815 2012-02-28  David S. Miller  <davem@davemloft.net>
56817         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56818         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56819         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56820         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56822 2012-02-27  David S. Miller  <davem@davemloft.net>
56824         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56826         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56827         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56830         frame pointer instead of stack pointer relative arg slot.
56831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56832         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56833         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56835 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
56837         [BZ #3992]
56838         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56840 2012-02-27  David S. Miller  <davem@davemloft.net>
56842         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56844         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56845         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56846         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56847         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56848         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56849         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56851 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
56853         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56854         later.  Allow versions 5-9.
56855         * configure: Regenerated.
56856         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56857         required minimum version and 4.6 as recommended version.  Do not
56858         mention bugs in GCC 2.7 and 2.8.
56859         * INSTALL: Regenerated.
56861 2012-02-27  David S. Miller  <davem@davemloft.net>
56863         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56864         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56865         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56867         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56868         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56869         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56870         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56872         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56873         manipulate bits before adding and subtracting TWO112[sx].
56874         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56876 2012-02-27  Roland McGrath  <roland@hack.frob.com>
56878         [BZ #13775]
56879         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56880         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56881         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56882         being in POSIX, because they are in 1003.1-2008.
56884         * rt/tst-aio.c: Include <fcntl.h>.
56885         * rt/tst-aio7.c: Likewise.
56886         * rt/tst-aio64.c: Likewise.
56888         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56890 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
56892         * manual/install.texi (--with-headers): Describe headers as
56893         interface headers, not private headers.
56894         (Specific advice for GNU/Linux systems): Describe use of headers
56895         from "make headers_install", not private headers from older
56896         kernels.
56897         * INSTALL: Regenerated.
56898         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56899         Change to 2.6.19.
56900         * sysdeps/unix/sysv/linux/configure: Regenerated.
56902         * manual/llio.texi (fclean): Remove documentation.
56904         * manual/Makefile (libc-texi-generated): New variable.  Include
56905         version.texi.
56906         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56907         $(libc-texi-generated), not duplicated list of files.
56908         (version.texi, stamp-version): New rules.
56909         (realclean): Remove $(libc-texi-generated), not individual files
56910         from that list.  Do not remove dir-add.texinfo.
56911         * manual/libc.texinfo: Comment out uses of edition numbers and
56912         references to printed manual.  Remove last-updated dates.
56913         (EDITION): Comment out.
56914         (ISBN): Likewise.
56915         (VERSION, UPDATED): Remove.
56916         (version.texi): Include.
56918 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
56920         * sysdeps/posix/spawni.c: Include <signal.h>.
56921         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56922         * sysdeps/pthread/aio_fsync.c: Likewise.
56924 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
56926         * conform/Makefile (tests): Run only when not cross-compiling and
56927         when fast-check is not defined.
56929         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56930         * conform/data/limits.h-data: Fixes for POSIX2008.
56931         * conform/run-conformtest.sh: Run all tests.
56932         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56933         headers.
56934         * include/bits/dlfcn.h: Likewise.
56935         * include/langinfo.h: Likewise.
56936         * include/monetary.h: Likewise.
56937         * include/sys/poll.h: Likewise.
56939         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56940         for __USE_GNU.
56941         * posix/spawn.h: Define __need_sigset_t.
56942         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56943         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56944         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
56945         to get sigevent_t only.
56946         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56947         only for __USE_GNU.
56948         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56949         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56950         process_vm_writev only for __USE_GNU.
56951         * termios/termios.h: Declare tcgetsid also for POSIX2008.
56953         * conform/Makefile: For now ignore errors from run-conformtest.
56954         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
56955         POSIX to avoid namespace pollution.  Don't prepend headers.
56956         * conform/data/aio.h-data: Fixes for POSIX testing.
56957         * conform/data/fcntl.h-data: Likewise.
56958         * conform/data/glob.h-data: Likewise.
56959         * conform/data/grp.h-data: Likewise.
56960         * conform/data/pthread.h-data: Likewise.
56961         * conform/data/pwd.h-data: Likewise.
56962         * conform/data/signal.h-data: Likewise.
56963         * conform/data/spawn.h-data: Likewise.
56964         * conform/data/stdio.h-data: Likewise.
56965         * conform/data/stdlib.h-data: Likewise.
56966         * conform/data/stropts.h-data: Likewise.
56967         * conform/data/sys/mman.h-data: Likewise.
56968         * conform/data/sys/stat.h-data: Likewise.
56969         * conform/data/sys/types.h-data: Likewise.
56970         * conform/data/sys/wait.h-data: Likewise.
56971         * conform/data/time.h-data: Likewise.
56972         * conform/data/unistd.h-data: Likewise.
56973         * conform/data/utime.h-data: Likewise.
56975         * io/sys/stat.h: fchmod was always in POSIX.
56976         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56977         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56978         * rt/aio.h: Define __need_timespec before including <time.h>.
56979         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56980         struct.  Add forward declaration of pthread_attr_t and use it in
56981         sigevent.
56982         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56983         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56984         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56985         always remove CLK_TCK definition.
56987 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56989         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56991 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56993         * conform/run-conformtest.sh: New file.
56994         * conform/Makefile: Run run-conformtest for tests.
56995         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56996         support.
56998         * conform/data/uchar.h-data: New file.
56999         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
57000         * conform/data/arpa/inet.h-data: Likewise.
57001         * conform/data/assert.h-data: Likewise.
57002         * conform/data/complex.h-data: Likewise.
57003         * conform/data/cpio.h-data: Likewise.
57004         * conform/data/ctype.h-data: Likewise.
57005         * conform/data/dirent.h-data: Likewise.
57006         * conform/data/dlfcn.h-data: Likewise.
57007         * conform/data/errno.h-data: Likewise.
57008         * conform/data/fcntl.h-data: Likewise.
57009         * conform/data/float.h-data: Likewise.
57010         * conform/data/fmtmsg.h-data: Likewise.
57011         * conform/data/fnmatch.h-data: Likewise.
57012         * conform/data/ftw.h-data: Likewise.
57013         * conform/data/glob.h-data: Likewise.
57014         * conform/data/grp.h-data: Likewise.
57015         * conform/data/iconv.h-data: Likewise.
57016         * conform/data/inttypes.h-data: Likewise.
57017         * conform/data/langinfo.h-data: Likewise.
57018         * conform/data/libgen.h-data: Likewise.
57019         * conform/data/limits.h-data: Likewise.
57020         * conform/data/locale.h-data: Likewise.
57021         * conform/data/math.h-data: Likewise.
57022         * conform/data/monetary.h-data: Likewise.
57023         * conform/data/mqueue.h-data: Likewise.
57024         * conform/data/ndbm.h-data: Likewise.
57025         * conform/data/net/if.h-data: Likewise.
57026         * conform/data/netdb.h-data: Likewise.
57027         * conform/data/netinet/in.h-data: Likewise.
57028         * conform/data/nl_types.h-data: Likewise.
57029         * conform/data/poll.h-data: Likewise.
57030         * conform/data/pthread.h-data: Likewise.
57031         * conform/data/pwd.h-data: Likewise.
57032         * conform/data/regex.h-data: Likewise.
57033         * conform/data/sched.h-data: Likewise.
57034         * conform/data/search.h-data: Likewise.
57035         * conform/data/semaphore.h-data: Likewise.
57036         * conform/data/setjmp.h-data: Likewise.
57037         * conform/data/signal.h-data: Likewise.
57038         * conform/data/spawn.h-data: Likewise.
57039         * conform/data/stdarg.h-data: Likewise.
57040         * conform/data/stdio.h-data: Likewise.
57041         * conform/data/stdlib.h-data: Likewise.
57042         * conform/data/string.h-data: Likewise.
57043         * conform/data/strings.h-data: Likewise.
57044         * conform/data/stropts.h-data: Likewise.
57045         * conform/data/sys/ipc.h-data: Likewise.
57046         * conform/data/sys/mman.h-data: Likewise.
57047         * conform/data/sys/msg.h-data: Likewise.
57048         * conform/data/sys/resource.h-data: Likewise.
57049         * conform/data/sys/select.h-data: Likewise.
57050         * conform/data/sys/sem.h-data: Likewise.
57051         * conform/data/sys/shm.h-data: Likewise.
57052         * conform/data/sys/socket.h-data: Likewise.
57053         * conform/data/sys/stat.h-data: Likewise.
57054         * conform/data/sys/statvfs.h-data: Likewise.
57055         * conform/data/sys/time.h-data: Likewise.
57056         * conform/data/sys/timeb.h-data: Likewise.
57057         * conform/data/sys/times.h-data: Likewise.
57058         * conform/data/sys/types.h-data: Likewise.
57059         * conform/data/sys/uio.h-data: Likewise.
57060         * conform/data/sys/un.h-data: Likewise.
57061         * conform/data/sys/utsname.h-data: Likewise.
57062         * conform/data/sys/wait.h-data: Likewise.
57063         * conform/data/syslog.h-data: Likewise.
57064         * conform/data/tar.h-data: Likewise.
57065         * conform/data/termios.h-data: Likewise.
57066         * conform/data/utime.h-data: Likewise.
57067         * conform/data/utmpx.h-data: Likewise.
57068         * conform/data/varargs.h-data: Likewise.
57069         * conform/data/wchar.h-data: Likewise.
57070         * conform/data/wctype.h-data: Likewise.
57071         * conform/data/wordexp.h-data: Likewise.
57073         * include/stropts.h: New file.
57074         * include/uchar.h: New file.
57075         * include/aio.h: Changes to allow conformtest.pl to use the headers.
57076         * include/assert.h: Likewise.
57077         * include/ctype.h: Likewise.
57078         * include/dirent.h: Likewise.
57079         * include/dlfcn.h: Likewise.
57080         * include/fcntl.h: Likewise.
57081         * include/fnmatch.h: Likewise.
57082         * include/glob.h: Likewise.
57083         * include/grp.h: Likewise.
57084         * include/libio.h: Likewise.
57085         * include/locale.h: Likewise.
57086         * include/math.h: Likewise.
57087         * include/net/if.h: Likewise.
57088         * include/netdb.h: Likewise.
57089         * include/netinet/in.h: Likewise.
57090         * include/pthread.h: Likewise.
57091         * include/pwd.h: Likewise.
57092         * include/regex.h: Likewise.
57093         * include/sched.h: Likewise.
57094         * include/search.h: Likewise.
57095         * include/setjmp.h: Likewise.
57096         * include/signal.h: Likewise.
57097         * include/stdio.h: Likewise.
57098         * include/stdlib.h: Likewise.
57099         * include/string.h: Likewise.
57100         * include/sys/cdefs.h: Likewise.
57101         * include/sys/mman.h: Likewise.
57102         * include/sys/msg.h: Likewise.
57103         * include/sys/resource.h: Likewise.
57104         * include/sys/select.h: Likewise.
57105         * include/sys/socket.h: Likewise.
57106         * include/sys/stat.h: Likewise.
57107         * include/sys/statvfs.h: Likewise.
57108         * include/sys/time.h: Likewise.
57109         * include/sys/times.h: Likewise.
57110         * include/sys/uio.h: Likewise.
57111         * include/sys/utsname.h: Likewise.
57112         * include/sys/wait.h: Likewise.
57113         * include/termios.h: Likewise.
57114         * include/time.h: Likewise.
57115         * include/ulimit.h: Likewise.
57116         * include/unistd.h: Likewise.
57117         * include/utime.h: Likewise.
57118         * include/wchar.h: Likewise.
57119         * include/wctype.h: Likewise.
57120         * include/wordexp.h: Likewise.
57122         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
57124         * time/time.h: TIME_UTC must be a macro.
57125         Make timespec_get available for ISO C11 only as well.
57127 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
57129         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
57130         Reported by Peng Haitao <penght@cn.fujitsu.com>.
57132 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57134         * configure.in: Use -o not -a in test for unsupported multi-arch.
57136 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57138         * manual/texinfo.tex: Update to version 2012-01-19.16.
57140 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
57142         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
57144 2012-02-24  Roland McGrath  <roland@hack.frob.com>
57146         [BZ #13738]
57147         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
57148         * manual/fdl-1.3.texi: New file.
57149         * manual/fdl-1.1.texi: File removed.
57151         [BZ #13738]
57152         * manual/libc.texinfo (FDL_VERSION): New @set.
57153         Use it for mention of FDL in cover text.
57154         (Documentation License): Use it in @include file name.
57156 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57157             Roland McGrath  <roland@hack.frob.com>
57159         [BZ #5461]
57160         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
57161         (not LONG_LONG_MAX and LONG_LONG_MIN.
57162         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
57163         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
57164         name.
57165         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
57167 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57169         [BZ #2547]
57170         [BZ #11365]
57171         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
57172         manipulate bits before adding and subtracting TWO23[sx].
57173         * math/libm-test.inc (nearbyint_test): Add more tests.
57175 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57177         [BZ #2548]
57178         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
57179         bits before adding and subtracting TWO23[sx].
57180         * math/libm-test.inc (rint_test): Add more tests.
57181         (rint_test_tonearest): Likewise.
57182         (rint_test_towardzero): Likewise.
57183         (rint_test_downward): Likewise.
57184         (rint_test_upward: Likewise.
57186 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57188         [BZ #10110]
57189         * include/stdc-predef.h: New file.  Extracted from features.h.
57190         * include/features.h: Include stdc-predef.h.
57191         * Makefile (headers): Add stdc-predef.h.
57192         * CONFORMANCE (Compiler limitations): Update.
57194 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
57196         * manual/libc.texinfo (VERSION, UPDATED): Revert.
57198 2012-02-21  David S. Miller  <davem@davemloft.net>
57200         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
57201         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57203 2012-02-20  David S. Miller  <davem@davemloft.net>
57205         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
57206         using a normal save/restore sequence, rather than allocating a
57207         dummy stack frame just to store a frame pointer and restore.
57208         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57210 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57212         * manual/install.texi: Fix stray word in line-wrapped comment.
57214 2012-02-20  David S. Miller  <davem@davemloft.net>
57216         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
57217         both binutils and gcc support GOTDATA.
57219         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
57220         "rd %pc" in the PIC register setup sequences.
57222         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
57223         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
57224         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
57225         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
57226         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
57227         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
57228         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57229         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
57230         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
57231         (SYSCALL_ERROR_HANDLER): Likewise.
57232         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
57233         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
57234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
57235         (SYSCALL_ERROR_HANDLER): Likewise.
57237         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
57238         (HAVE_GCC_GOTDATA): New.
57239         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
57240         relocation support in both binutils and gcc.
57241         * sysdeps/sparc/elf/configure: Regenerate.
57243         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
57244         * sysdeps/sparc/sparc32/elf/configure: Delete.
57245         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
57246         * sysdeps/sparc/sparc64/elf/configure: Delete.
57247         * sysdeps/sparc/elf/configure.in: New file.
57248         * sysdeps/sparc/elf/configure: Generate.
57250         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57251         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57252         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57253         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57254         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57256 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57258         * manual/install.texi: Do not mention specific glibc version
57259         numbers.
57260         * manual/libc.texinfo (VERSION, UPDATED): Update.
57261         (@copying): Use @copyright{} and range of years.
57263 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57265         [BZ #13695]
57266         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57267         [crti.S not in sysdirs] (generated): Do not append.
57268         [crti.S not in sysdirs] (omit-deps): Likewise.
57269         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57270         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57271         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57272         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57273         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57274         Likewise.
57275         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57276         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57277         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57278         * csu/defs.awk: Remove file.
57279         * sysdeps/generic/initfini.c: Likewise.
57280         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57281         variable.
57282         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57283         Likewise.
57285 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57287         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57288         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57289         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57290         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57291         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57292         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57293         <bits/epoll.h>.
57294         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57295         (__EPOLL_PACKED): Define to empty if not defined by
57296         <bits/epoll.h>.
57297         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57298         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57299         bits/epoll.h.
57301 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57303         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57304         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57305         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57306         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57307         <bits/timerfd.h>.
57308         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57309         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57310         bits/timerfd.h.
57312 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57314         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57315         in C locale.
57316         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57317         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57318         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57321 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
57323         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57324         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57326 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
57328         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57329         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57330         defined.
57331         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57332         Likewise.
57333         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57334         entry for 2.16.
57336 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
57338         * math/w_acos.c: Use non-signaling floating-point comparisons.
57339         * math/w_acosf.c: Likewise.
57340         * math/w_acosh.c: Likewise.
57341         * math/w_acoshf.c: Likewise.
57342         * math/w_acoshl.c: Likewise.
57343         * math/w_acosl.c: Likewise.
57344         * math/w_asin.c: Likewise.
57345         * math/w_asinf.c: Likewise.
57346         * math/w_asinl.c: Likewise.
57347         * math/w_atanh.c: Likewise.
57348         * math/w_atanhf.c: Likewise.
57349         * math/w_atanhl.c: Likewise.
57350         * math/w_exp2.c: Likewise.
57351         * math/w_exp2f.c: Likewise.
57352         * math/w_exp2l.c: Likewise.
57353         * math/w_j0.c: Likewise.
57354         * math/w_j0f.c: Likewise.
57355         * math/w_j0l.c: Likewise.
57356         * math/w_j1.c: Likewise.
57357         * math/w_j1f.c: Likewise.
57358         * math/w_j1l.c: Likewise.
57359         * math/w_jn.c: Likewise.
57360         * math/w_jnf.c: Likewise.
57361         * math/w_log.c: Likewise.
57362         * math/w_log10.c: Likewise.
57363         * math/w_log10f.c: Likewise.
57364         * math/w_log10l.c: Likewise.
57365         * math/w_log2.c: Likewise.
57366         * math/w_log2f.c: Likewise.
57367         * math/w_log2l.c: Likewise.
57368         * math/w_logf.c: Likewise.
57369         * math/w_logl.c: Likewise.
57370         * math/w_sqrt.c: Likewise.
57371         * math/w_sqrtf.c: Likewise.
57372         * math/w_sqrtl.c: Likewise.
57373         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57374         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57375         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57376         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57377         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57379 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57381         [BZ #9739]
57382         * manual/string.texi (strnlen): Use correct parameter name in
57383         equivalent expression.
57385 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57387         [BZ #11174]
57388         * manual/users.texi (seteuid): Consistently use neweuid for
57389         argument name.
57391 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57393         [BZ #13704]
57394         * manual/nss.texi (Services in the NSS configuration): Correct
57395         list of services in example configuration file.
57397 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
57399         [BZ #11322]
57400         * manual/arith.texi: Remove statements about negative zero
57401         behaving identically to zero.
57403 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57405         [BZ #5993]
57406         * manual/install.texi: Do not document upgrading from libc5.
57408 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57410         [BZ #4596]
57411         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57413 2012-02-18  David S. Miller  <davem@davemloft.net>
57415         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57416         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57417         %o7 across the call.
57418         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57419         instead.
57420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57421         SETUP_PIC_REG_LEAF.
57422         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57423         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57424         * sysdeps/sparc/crtn.S: Likewise.
57426 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
57428         * aout/Makefile: Remove.
57430 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
57432         [BZ #13058]
57433         * manual/examples/argp-ex1.c (main): Format definition in GNU
57434         style.
57435         * manual/examples/argp-ex2.c (main): Likewise.
57436         * manual/examples/argp-ex3.c (main): Likewise.
57437         * manual/examples/argp-ex4.c (main): Likewise.
57438         * manual/examples/longopt.c (main): Use new-style prototype
57439         definition.
57440         * manual/examples/strncat.c (main): Specify return type and use
57441         (void) for arguments.
57442         * manual/examples/subopt.c (main): Use char **argv argument.
57444 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57446         [BZ #5077]
57447         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57448         rounding modes.
57450 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
57452         [BZ #6907]
57453         * manual/string.texi (strchr): Change when strchrnul is
57454         recommended.
57456 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
57458         [BZ #174]
57459         * manual/locale.texi (setlocale): Document LOCPATH.
57461 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57463         [BZ #10210]
57464         * manual/process.texi (execle): Move @dots{} before last argument.
57466 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
57468         [BZ #12047]
57469         * manual/charset.texi (Generic Charset Conversion): Fix typo
57470         (LC_TYPE -> LC_CTYPE).
57472 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
57474         [BZ #5805]
57475         * manual/arith.texi (scalbn): Use @var{} on parameter names.
57476         (scalbnf): Likewise.
57477         (scalbnl): Likewise.
57478         (scalbln): Likewise.
57479         (scalblnf): Likewise.
57480         (scalblnl): Likewise.
57481         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57482         (vwarnx): Likewise.
57483         (verr): Likewise.
57484         (verrx): Likewise.
57485         * manual/filesys.texi (telldir): Use braces around return type.
57486         * manual/llio.texi (mmap): Add space after comma.
57487         (mmap64): Likewise.
57488         * manual/math.texi (jn): Use @var{} on parameter names.
57489         (jnf): Likewise.
57490         (jnl): Likewise.
57491         (yn): Likewise.
57492         (ynf): Likewise.
57493         (ynl): Likewise.
57494         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57495         line.
57496         * manual/resource.texi (ulimit): Use @dots{} instead of literal
57497         "...".
57498         (sched_get_priority_min): Remove semicolon on @deftypefun line.
57499         (sched_get_priority_max): Likewise.
57500         * manual/signal.texi (sigvec): Add space after comma.
57501         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57502         names.
57503         (if_indextoname): Likewise.
57504         (if_freenameindex): Likewise.
57505         (sendto): Use ',' instead of '.' in prototype.
57506         * manual/startup.texi (syscall): Use @dots{} instead of literal
57507         "...".
57508         * manual/stdio.texi (__fpending): Separate initial words of
57509         paragraph from @deftypefun line.
57510         * manual/syslog.texi (syslog): Use @dots{} instead of literal
57511         "...".
57512         (vsyslog): Use @var{} on parameter names.
57513         * manual/terminal.texi (stty): Use @var{} on parameter names.
57514         * manual/users.texi (getutmp): Use @var{} on parameter names.
57515         (getutmpx): Likewise.
57517 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57519         [BZ #6884]
57520         * manual/stdio.texi (fopen): Fix typos in description of
57521         ",ccs=STRING".
57523 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
57525         [BZ #4026]
57526         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57527         get clock_id definition.
57529 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
57531         [BZ #4822]
57532         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57533         (madvise): Cast every argument to void on its own.
57535 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57537         [BZ #9902]
57538         * manual/startup.texi (Exit Status): Fix typo.
57540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57542         [BZ #10140]
57543         * manual/examples/argp-ex1.c: Include <stdlib.h>.
57544         * manual/examples/argp-ex2.c: Likewise.
57545         * manual/examples/argp-ex3.c: Likewise.
57547 2012-02-16  Richard Henderson  <rth@redhat.com>
57549         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57550         * sysdeps/s390/s390-32/initfini.c: Remove.
57551         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57552         * sysdeps/s390/s390-64/initfini.c: Remove.
57554 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57556         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57557         compiler output for sysdeps/generic/initfini.c.
57558         * sysdeps/sh/elf/initfini.c: Remove file.
57560 2012-02-16  David S. Miller  <davem@davemloft.net>
57562         [BZ #11494]
57563         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57565         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57566         * sysdeps/sparc/crti.S: New file.
57567         * sysdeps/sparc/crtn.S: New file.
57568         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57569         * sysdeps/sparc/sparc64/Makefile: Likewise.
57571 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
57573         [BZ #3335]
57574         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57576 2012-02-15  Roland McGrath  <roland@hack.frob.com>
57578         [BZ #4822]
57579         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57581         * mach/devstream.c (cookie_io_functions_t): Macro removed.
57582         (write, read, close): Likewise.
57583         Patch by Aurelien Jarno <aurelien@aurel32.net>.
57585 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
57587         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57588         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57589         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57590         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57591         <bits/signalfd.h>.
57592         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57593         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57594         bits/signalfd.h.
57596 2012-02-14  Marek Polacek  <polacek@redhat.com>
57598         * sysdeps/x86_64/crti.S: New file.
57599         * sysdeps/x86_64/crtn.S: New file.
57600         * sysdeps/x86_64/elf/initfini.c: Remove file.
57602 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
57604         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57605         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57606         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57607         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57608         <bits/inotify.h>.
57609         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57610         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57611         bits/inotify.h.
57613 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
57615         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57616         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57617         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57618         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57619         <bits/eventfd.h>.
57620         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57621         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57622         bits/eventfd.h.
57624 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
57626         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57627         __feraiseexcept instead of feraiseexcept.
57629         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57630         nanosleep invocations.
57631         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57632         strings, and add error checking for a nanosleep invocations.
57634 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
57636         Replace FSF snail mail address with URLs, as per GNU coding standards.
57637         Most of the snail mail addresses were wrong anyway, and omitting
57638         them makes the source code easier to maintain.  Almost all of the
57639         changes are to license notices and to locale LC_IDENTIFICATION
57640         addresses, except for this one:
57641         * manual/libc.texinfo: In "Published by", give the FSF's URL,
57642         not its snail mail address.
57644 2012-02-09  Richard Henderson  <rth@twiddle.net>
57646         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57647         of kernel-features.h.
57649         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57651 2012-02-08  Marek Polacek  <polacek@redhat.com>
57653         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57654         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57655         * sysdeps/gnu/_G_config.h: Likewise.
57656         * sysdeps/generic/_G_config.h: Likewise.
57658 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
57660         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57661         tests.
57662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57664         * sysdeps/powerpc/powerpc32/crti.S: New file.
57665         * sysdeps/powerpc/powerpc32/crtn.S: New file.
57666         * sysdeps/powerpc/powerpc64/crti.S: New file.
57667         * sysdeps/powerpc/powerpc64/crtn.S: New file.
57669         * Makeconfig (have-initfini): Don't set.
57670         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57671         * configure.in (nopic_initfini): Don't substitute.
57672         * config.h.in (HAVE_INITFINI): Don't #undef.
57673         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57674         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57676 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
57678         Support crti.S and crtn.S provided directly by architectures.
57679         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57680         [crti.S in sysdirs] (omit-deps): Likewise.
57681         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57682         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57683         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57684         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57685         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57686         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57687         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57688         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57689         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57690         compiler output for sysdeps/generic/initfini.c.
57691         * sysdeps/i386/elf/Makefile: Remove file.
57692         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57694 2012-02-07  Marek Polacek  <polacek@redhat.com>
57696         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57697         * sysdeps/gnu/_G_config.h: Likewise.
57698         * sysdeps/mach/hurd/_G_config.h: Likewise.
57700 2012-02-07  Marek Polacek  <polacek@redhat.com>
57702         * math/Makefile (tests): Add tst-CMPLX2.
57703         * math/tst-CMPLX2.c: New file.
57705 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
57707         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57709         * math/libm-test.inc (jn_test): Add missing L suffix.
57711 2012-02-06  Marek Polacek  <polacek@redhat.com>
57713         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57714         * sysdeps/i386/fpu/e_powf.S: Likewise.
57715         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57716         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57717         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57718         * sysdeps/i386/fpu/e_pow.S: Likewise.
57719         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57720         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57721         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57722         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57723         * sysdeps/i386/fpu/e_log2.S: Likewise.
57724         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57725         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57726         * sysdeps/i386/fpu/e_powl.S: Likewise.
57727         * sysdeps/i386/fpu/s_log1p.S: Likewise.
57728         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57729         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57730         * sysdeps/i386/fpu/e_logl.S: Likewise.
57731         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57732         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57733         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57734         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57735         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57736         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57737         * sysdeps/i386/fpu/e_log.S: Likewise.
57738         * sysdeps/i386/fpu/s_cexp.S: Likewise.
57739         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57740         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57741         * sysdeps/i386/fpu/e_logf.S: Likewise.
57742         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57743         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57744         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57745         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57746         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57747         * sysdeps/i386/fpu/e_log10.S: Likewise.
57748         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57749         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57750         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57751         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57752         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57753         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57754         * sysdeps/i386/asm-syntax.h: Likewise.
57755         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57756         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57757         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57758         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57759         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57760         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57761         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57762         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57763         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57764         * sysdeps/powerpc/sysdep.h: Likewise.
57765         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57766         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57768 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
57770         [BZ #411]
57771         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57773 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
57775         * sysdeps/i386/sysdep.h: Include <features.h>.
57776         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57777         version.
57779 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
57781         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57782         Define.
57783         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57784         LOAD_PIC_REG_STR.
57786 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57788         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57789         (SETUP_PIC_REG): Use GET_PC_THUNK.
57790         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57791         macro.
57793 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57795         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57796         for non-PIC compilation.
57797         (SETUP_PIC_REG): Add .p2align directive.
57798         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57799         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57800         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57801         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57802         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57803         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57804         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57805         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57806         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57807         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57808         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57809         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57810         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57811         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57812         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57813         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57814         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57815         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57816         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57817         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57818         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57819         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57820         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57821         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57822         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57824         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57825         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57826         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57827         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57828         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57829         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57830         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57831         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57832         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57833         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57834         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57835         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57836         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57837         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57838         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57840 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57842         * math/tst-CMPLX.c: Include <stdio.h>.
57844 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
57846         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57847         float.
57848         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57849         * sysdeps/sparc/bits/mathdef.h: Likewise.
57851 2012-01-31  Marek Polacek  <polacek@redhat.com>
57853         * libio/libio.h: Don't define _PARAMS.
57854         * locale/programs/config.h: Don't define PARAMS.
57855         * stdlib/strtol_l.c: Likewise.
57856         (__strtol_l): Remove PARAMS from the prototype.
57858 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
57860         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
57861         names.  Just use the correct names.  Remove unnecessary wrapper
57862         functions.
57863         * malloc/arena.c: Likewise.
57864         * malloc/hooks.c: Likewise.
57866         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57867         ARENA_TEST says not to.  Simplify test for creation of a new arena.
57868         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57870 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
57872         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57873         into tail calls.
57874         (update_get_addr): New function.
57875         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57876         GET_ADDR_MODULE parameter.
57878 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
57880         * crypt/cert.c: Remove __STDC__ conditionals.
57881         * crypt/crypt-entry.c: Likewise.
57882         * crypt/crypt_util.c: Likewise.
57883         * libio/filedoalloc.c: Likewise.
57884         * libio/fileops.c: Likewise.
57885         * libio/genops.c: Likewise.
57886         * libio/iofclose.c: Likewise.
57887         * libio/iofdopen.c: Likewise.
57888         * libio/iofopen.c: Likewise.
57889         * libio/iofopen64.c: Likewise.
57890         * libio/iogetdelim.c: Likewise.
57891         * libio/iopopen.c: Likewise.
57892         * libio/obprintf.c: Likewise.
57893         * libio/oldfileops.c: Likewise.
57894         * libio/oldiofclose.c: Likewise.
57895         * libio/oldiofdopen.c: Likewise.
57896         * libio/oldiofopen.c: Likewise.
57897         * libio/oldiopopen.c: Likewise.
57898         * libio/wfiledoalloc.c: Likewise.
57899         * libio/wgenops.c: Likewise.
57900         * locale/programs/xmalloc.c: Likewise.
57901         * misc/syslog.c: Likewise.
57902         * stdio-common/xbug.c: Likewise.
57903         * string/memchr.c: Likewise.
57904         * string/memcmp.c: Likewise.
57905         * string/memrchr.c: Likewise.
57906         * string/rawmemchr.c: Likewise.
57907         * sysdeps/posix/getcwd.c: Likewise.
57908         * time/strftime_l.c: Likewise.
57910 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
57912         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57913         * config.make.in (config-cflags-sse2avx): Define.
57914         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57915         Fix typo.
57917 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
57919         * scripts/config.guess: Update from upstream config git repository.
57920         * scripts/config.sub: Likewise.
57922 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
57924         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57925         (EM_NUM): Update.
57926         (R_TILEPRO_*, R_TILEGX_*): New macros.
57928         * scripts/firstversions.awk: Fix bug in version range handling.
57930         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57932         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57934         * include/sys/epoll.h: New file.
57935         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57936         libc_hidden_def.
57938 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
57940         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57941         Avoid unnecessary __WORDSIZE == 64 test.
57942         (fmaxf): Use VEX format if possible.
57943         (fmax): Likewise.
57944         (fminf): Likewise.
57945         (fmin): Likewise.
57947         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57948         * math/math_private.h: Remove libc_fegetround* and
57949         libc_fesetround*.
57950         * sysdeps/i386/configure.in: Check for -msse2avx.
57951         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57952         also if SSE2AVX is defined.
57953         Remove libc_fegetround* and libc_fesetround*.
57954         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57955         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
57956         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57957         of HAS_YMM_USABLE.
57958         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57959         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57960         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57961         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57962         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57964         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57966 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57968         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57969         size is not set.
57970         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57972 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
57974         [BZ #13618]
57975         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57976         relocation.
57977         * Makeconfig (libm): Define.
57978         * elf/Makefile: Add rules to build and run tst-relsort1.
57979         * elf/tst-relsort1.c: New file.
57980         * elf/tst-relsort1mod1.c: New file.
57981         * elf/tst-relsort1mod2.c: New file.
57983 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57985         * math/s_ldexp.c: Remove __STDC__ conditionals.
57986         * math/s_ldexpf.c: Likewise.
57987         * math/s_ldexpl.c: Likewise.
57988         * math/s_nextafter.c: Likewise.
57989         * math/s_nexttowardf.c: Likewise.
57990         * math/s_significand.c: Likewise.
57991         * math/s_significandf.c: Likewise.
57992         * math/s_significandl.c: Likewise.
57993         * math/w_jnl.c: Likewise.
57994         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57995         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57996         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57997         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57998         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57999         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58000         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
58001         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58002         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58003         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58004         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58005         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58006         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58007         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
58008         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58009         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58010         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
58011         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
58012         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
58013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
58014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
58015         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58016         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58017         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58018         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58019         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58020         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58021         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58022         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
58023         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58024         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58025         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
58026         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58027         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
58028         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
58029         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58030         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
58031         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
58032         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
58033         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
58034         * sysdeps/ieee754/k_standard.c: Likewise.
58035         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
58036         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58037         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
58038         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
58039         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
58040         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
58041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58042         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
58043         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
58044         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
58045         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
58046         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
58047         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
58048         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
58049         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
58050         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
58051         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
58052         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58053         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58054         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
58055         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58056         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58057         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
58058         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
58059         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58060         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
58061         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
58062         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
58063         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
58064         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
58065         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
58066         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
58067         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
58068         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
58069         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
58070         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
58071         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
58072         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
58073         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
58074         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
58075         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
58076         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
58077         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
58078         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
58079         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
58080         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
58081         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58083         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
58084         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
58085         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
58086         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58087         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58088         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
58089         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
58090         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
58091         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
58092         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
58093         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
58094         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
58095         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
58096         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
58097         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
58098         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58099         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
58100         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
58101         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
58102         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
58103         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
58104         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
58105         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
58106         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
58107         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
58108         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
58109         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
58110         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
58111         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
58112         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
58113         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
58114         * sysdeps/ieee754/s_matherr.c: Likewise.
58115         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
58116         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58117         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58118         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58120 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
58122         * crypt/md5.h: Remove __STDC__ conditionals.
58123         * libio/libioP.h: Likewise.
58124         * locale/programs/config.h: Likewise.
58125         * sysdeps/generic/sysdep.h: Likewise.
58126         * sysdeps/i386/asm-syntax.h: Likewise.
58127         * sysdeps/s390/asm-syntax.h: Likewise.
58128         * sysdeps/unix/sysdep.h: Likewise.
58129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
58130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58132 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
58134         * libio/libio.h: Remove __STDC__ conditionals.
58135         * malloc/obstack.h: Likewise.
58136         * math/complex.h: Likewise.
58137         * math/math.h: Likewise.
58138         * sysdeps/generic/_G_config.h: Likewise.
58139         * sysdeps/gnu/_G_config.h: Likewise.
58140         * sysdeps/mach/hurd/_G_config.h: Likewise.
58141         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58142         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
58143         * sysdeps/sparc/bits/mathdef.h: Likewise.
58145 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
58147         [BZ #13583]
58148         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
58149         Clean up HAS_* macros.
58150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
58151         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
58152         possible.
58153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
58154         HAS_AVX.
58155         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
58156         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
58157         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
58158         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
58159         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
58161 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
58163         * elf/tst-unique3.cc (gets): Remove declaration.
58164         * elf/tst-unique3lib.cc (gets): Likewise.
58165         * elf/tst-unique3lib2.cc (gets): Likewise.
58166         * elf/tst-unique4.cc (gets): Likewise.
58168 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
58170         * include/stdio.h: Add C++ protection.  Add gets declarations and
58171         definitions.
58172         * debug/tst-chk1.c: Don't declare gets here.
58173         * stdio-common/tst-gets.c: Likewise.
58175 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
58177         * posix/glob: Remove directory.
58179 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
58181         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
58183 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
58185         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
58186         of the non-standard EPFNOSUPPORT.
58188 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58190         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
58191         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
58192         ANYWHERE set to 1 only on KERN_NO_SPACE error.
58194 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
58196         * wcsmbs/uchar.h: Test __STDC_VERSION__.
58198 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
58200         * nscd/aicache.c (addhstaiX): Do not cache negative results of
58201         transient errors.
58202         * nscd/grpcache.c (cache_addgr): Likewise.
58203         * nscd/hstcache.c (cache_addhst): Likewise.
58204         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58205         * nscd/pwdcache.c (cache_addpw): Likewise.
58206         * nscd/servicescache.c (cache_addserv): Likewise.
58208 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
58210         * malloc/malloc.c: Various cleanups.
58211         * malloc/hooks.c: Likewise.
58213         * stdlib/Makefile (tests): Add bug-fmtmsg1.
58214         * stdlib/bug-fmtmsg1.c: New file.
58216         * stdlib/fmtmsg.c (init): Add missing unlock.
58217         Patch by Peng Haitao <penght@cn.fujitsu.com>.
58219 2012-01-12  Marek Polacek  <polacek@redhat.com>
58221         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
58222         and _GNU_SOURCE.
58224 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
58226         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
58227         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
58228         macro to ensure uniqueness of label name.
58229         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58230         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58232 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
58234         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
58236         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
58237         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
58238         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
58239         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
58241 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
58243         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
58245         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
58246         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
58247         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
58249         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58251         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58252         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58253         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58254         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58256         * math/bits/math-finite.h: Add ldexp support.
58258 2012-01-10  Marek Polacek  <polacek@redhat.com>
58260         * locale/programs/localedef.h (show_archive_content): Add noreturn
58261         attribute.
58263 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
58265         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58267 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58269         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58271         * io/Makefile (headers): Add bits/poll2.h.
58273 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
58275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58276         typo #include statement.
58278 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58280         * include/sys/cdefs.h: Define __attribute_alloc_size.
58281         * catgets/gencat.c: Add alloc_size attribute and apply consistently
58282         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58283         * elf/pldd.c: Likewise.
58284         * iconv/iconv_charmap.c: Likewise.
58285         * iconv/iconvconfig.c: Likewise.
58286         * iconv/strtab.c: Likewise.
58287         * locale/programs/locale.c: Likewise.
58288         * locale/programs/localedef.h: Likewise.
58289         * locale/programs/simple-hash.c: Likewise.
58290         * nscd/nscd.h: Likewise.
58291         * nss/makedb.c: Likewise.
58292         * sysdeps/generic/ldconfig.h: Likewise.
58293         * locale/programs/localedef.c: Remove xmalloc prototype.
58294         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58296 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58298         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58299         appropriate.
58301 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58303         * math/Makefile (tests): Add tst-CMPLX.
58304         * math/tst-CMPLX.c: New file.
58306         * math/complex.h (CMPLXL): Fix typo.
58308         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58309         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58310         GLIBC_2.16.
58311         * debug/tst-chk1.c: Add poll and ppoll tests.
58312         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58313         * include/sys/poll.h: Add hidden proto for ppoll.
58314         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58315         * sysdeps/mach/hurd/ppoll.c: Likewise.
58316         * io/ppoll.c: Likewise.
58317         * debug/poll_chk.c: New file.
58318         * debug/ppoll_chk.c: New file.
58319         * include/bits/poll2.h: New file.
58320         * io/bits/poll2.h: New file.
58322         [BZ #1350]
58323         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58325         * configure.in: static is always set to yes.  Remove.
58326         * config.make.in: Don't set build-static.
58327         * Makeconfig: Remove use of build-static.
58328         * dlfcn/Makefile: Likewise.
58329         * elf/Makefile: Likewise.
58330         * math/Makefile: Likewise.
58331         * misc/Makefile: Likewise.
58332         * nptl/Makefile: Likewise.
58333         * sysdeps/mach/hurd/Makefile: Likewise.
58335         * configure.in: PWD_P is not used anymore.
58336         * config.make.in: Remove PWD_P entry.
58338         * configure.in: Remove last remnants of RANLIB.
58339         No need to check for signed size_t anymore.
58340         Don't set libc_commonpagesize and libc_relro_required here for Alpha
58341         and IA-64.
58342         Remove __builtin_expect test because we require at least gcc 3.4.
58343         * aclocal.m4: Likewise.
58345         * wcsmbs/mbrtoc16.c: Implement using towc function.
58346         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58347         * wcsmbs/wcsmbsload.c: Likewise.
58348         * iconv/gconv_simple.c: Likewise.
58349         * iconv/gconv_int.h: Likewise.
58350         * iconv/gconv_builtin.h: Likewise.
58351         * iconv/iconv_prog.c: Remove CHAR16 handling.
58353         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58355         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58357         * configure.in: Remove --with-elf and --enable-bounded options.
58358         Dont set base_machine for ia64.  More non-ELF conditions removed.
58359         Remove testing and setting of leading underscore information.
58360         * config.make.in (build-bounded): Set to no.
58361         * config.h.in: Remove NO_UNDERSCORES entry.
58362         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
58363         them.
58364         * csu/start.c: Remove !NO_UNDERSCORE code.
58365         * locale/localeinfo.h: Likewise.
58366         * sysdeps/generic/machine-gmon.h: Likewise.
58367         * sysdeps/generic/sysdep.h: Likewise.
58368         * sysdeps/i386/sysdep.h: Likewise.
58369         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58370         * sysdeps/mach/sysdep.h: Likewise.
58371         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58372         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58373         * sysdeps/sh/sysdep.h: Likewise.
58374         * sysdeps/sparc/sparc32/alloca.S: Likewise.
58375         * sysdeps/unix/i386/sysdep.S: Likewise.
58376         * sysdeps/unix/sparc/start.c: Likewise.
58377         * sysdeps/unix/sparc/sysdep.S: Likewise.
58378         * sysdeps/unix/sparc/sysdep.h: Likewise.
58379         * sysdeps/unix/start.c: Likewise.
58380         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58381         * sysdeps/x86_64/sysdep.h: Likewise.
58383 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
58385         [BZ #13553]
58386         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58387         for non-gcc.
58388         * argp/argp-fmtstream.h: Use const instead __const.
58389         * argp/argp.h: Likewise.
58390         * assert/assert.h: Likewise.
58391         * bits/fenv.h: Likewise.
58392         * bits/sched.h: Likewise.
58393         * bits/sigset.h: Likewise.
58394         * bits/sigthread.h: Likewise.
58395         * catgets/nl_types.h: Likewise.
58396         * conform/data/pthread.h-data: Likewise.
58397         * crypt/crypt-private.h: Likewise.
58398         * crypt/crypt.h: Likewise.
58399         * crypt/crypt_util.c: Likewise.
58400         * ctype/ctype.h: Likewise.
58401         * debug/execinfo.h: Likewise.
58402         * debug/mbsnrtowcs_chk.c: Likewise.
58403         * debug/mbsrtowcs_chk.c: Likewise.
58404         * debug/wcsnrtombs_chk.c: Likewise.
58405         * debug/wcsrtombs_chk.c: Likewise.
58406         * debug/wcstombs_chk.c: Likewise.
58407         * dirent/dirent.h: Likewise.
58408         * dlfcn/dlfcn.h: Likewise.
58409         * elf/neededtest4.c: Likewise.
58410         * grp/grp.h: Likewise.
58411         * gshadow/gshadow.h: Likewise.
58412         * iconv/gconv.h: Likewise.
58413         * iconv/gconv_int.h: Likewise.
58414         * iconv/gconv_simple.c: Likewise.
58415         * iconv/iconv.h: Likewise.
58416         * iconv/loop.c: Likewise.
58417         * iconv/skeleton.c: Likewise.
58418         * include/aio.h: Likewise.
58419         * include/aliases.h: Likewise.
58420         * include/argz.h: Likewise.
58421         * include/arpa/inet.h: Likewise.
58422         * include/assert.h: Likewise.
58423         * include/dirent.h: Likewise.
58424         * include/dlfcn.h: Likewise.
58425         * include/execinfo.h: Likewise.
58426         * include/fcntl.h: Likewise.
58427         * include/fenv.h: Likewise.
58428         * include/glob.h: Likewise.
58429         * include/grp.h: Likewise.
58430         * include/libintl.h: Likewise.
58431         * include/mntent.h: Likewise.
58432         * include/netdb.h: Likewise.
58433         * include/pwd.h: Likewise.
58434         * include/rpc/netdb.h: Likewise.
58435         * include/sched.h: Likewise.
58436         * include/search.h: Likewise.
58437         * include/shadow.h: Likewise.
58438         * include/signal.h: Likewise.
58439         * include/stdio.h: Likewise.
58440         * include/stdlib.h: Likewise.
58441         * include/string.h: Likewise.
58442         * include/sys/socket.h: Likewise.
58443         * include/sys/stat.h: Likewise.
58444         * include/sys/statfs.h: Likewise.
58445         * include/sys/statvfs.h: Likewise.
58446         * include/sys/syslog.h: Likewise.
58447         * include/sys/time.h: Likewise.
58448         * include/sys/uio.h: Likewise.
58449         * include/time.h: Likewise.
58450         * include/unistd.h: Likewise.
58451         * include/utmp.h: Likewise.
58452         * include/wchar.h: Likewise.
58453         * include/wctype.h: Likewise.
58454         * inet/aliases.h: Likewise.
58455         * inet/arpa/inet.h: Likewise.
58456         * inet/netinet/ether.h: Likewise.
58457         * inet/netinet/in.h: Likewise.
58458         * intl/libintl.h: Likewise.
58459         * io/bits/fcntl2.h: Likewise.
58460         * io/fcntl.h: Likewise.
58461         * io/ftw.h: Likewise.
58462         * io/sys/poll.h: Likewise.
58463         * io/sys/stat.h: Likewise.
58464         * io/sys/statfs.h: Likewise.
58465         * io/sys/statvfs.h: Likewise.
58466         * io/utime.h: Likewise.
58467         * libio/bits/stdio.h: Likewise.
58468         * libio/bits/stdio2.h: Likewise.
58469         * libio/libio.h: Likewise.
58470         * libio/libioP.h: Likewise.
58471         * libio/stdio.h: Likewise.
58472         * locale/lc-ctype.c: Likewise.
58473         * locale/locale.h: Likewise.
58474         * login/utmp.h: Likewise.
58475         * malloc/arena.c: Likewise.
58476         * malloc/malloc.c: Likewise.
58477         * malloc/malloc.h: Likewise.
58478         * malloc/mcheck.c: Likewise.
58479         * malloc/mtrace.c: Likewise.
58480         * math/bits/mathcalls.h: Likewise.
58481         * math/fenv.h: Likewise.
58482         * math/math_private.h: Likewise.
58483         * misc/bits/error.h: Likewise.
58484         * misc/bits/syslog.h: Likewise.
58485         * misc/err.h: Likewise.
58486         * misc/error.h: Likewise.
58487         * misc/fstab.h: Likewise.
58488         * misc/mntent.h: Likewise.
58489         * misc/regexp.h: Likewise.
58490         * misc/search.h: Likewise.
58491         * misc/sgtty.h: Likewise.
58492         * misc/sys/mman.h: Likewise.
58493         * misc/sys/syslog.h: Likewise.
58494         * misc/sys/uio.h: Likewise.
58495         * misc/sys/xattr.h: Likewise.
58496         * misc/ttyent.h: Likewise.
58497         * nis/rpcsvc/ypclnt.h: Likewise.
58498         * nss/nss.h: Likewise.
58499         * posix/bits/unistd.h: Likewise.
58500         * posix/fnmatch.h: Likewise.
58501         * posix/glob.h: Likewise.
58502         * posix/sched.h: Likewise.
58503         * posix/spawn.h: Likewise.
58504         * posix/sys/wait.h: Likewise.
58505         * posix/unistd.h: Likewise.
58506         * posix/wordexp.h: Likewise.
58507         * pwd/pwd.h: Likewise.
58508         * resolv/netdb.h: Likewise.
58509         * resource/sys/resource.h: Likewise.
58510         * rt/aio.h: Likewise.
58511         * rt/bits/mqueue2.h: Likewise.
58512         * rt/mqueue.h: Likewise.
58513         * shadow/shadow.h: Likewise.
58514         * signal/signal.h: Likewise.
58515         * socket/send.c: Likewise.
58516         * socket/sendto.c: Likewise.
58517         * socket/sys/socket.h: Likewise.
58518         * stdio-common/printf.h: Likewise.
58519         * stdlib/bits/stdlib.h: Likewise.
58520         * stdlib/fmtmsg.h: Likewise.
58521         * stdlib/monetary.h: Likewise.
58522         * stdlib/stdlib.h: Likewise.
58523         * stdlib/ucontext.h: Likewise.
58524         * streams/stropts.h: Likewise.
58525         * string/argz.h: Likewise.
58526         * string/bits/string2.h: Likewise.
58527         * string/string.h: Likewise.
58528         * string/strings.h: Likewise.
58529         * sunrpc/rpc/auth.h: Likewise.
58530         * sunrpc/rpc/auth_des.h: Likewise.
58531         * sunrpc/rpc/clnt.h: Likewise.
58532         * sunrpc/rpc/netdb.h: Likewise.
58533         * sunrpc/rpc/pmap_clnt.h: Likewise.
58534         * sunrpc/rpc/xdr.h: Likewise.
58535         * sysdeps/generic/inttypes.h: Likewise.
58536         * sysdeps/generic/net/if.h: Likewise.
58537         * sysdeps/generic/sys/swap.h: Likewise.
58538         * sysdeps/gnu/net/if.h: Likewise.
58539         * sysdeps/gnu/utmpx.h: Likewise.
58540         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58541         * sysdeps/i386/i486/bits/string.h: Likewise.
58542         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58543         * sysdeps/s390/bits/string.h: Likewise.
58544         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58545         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58546         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58547         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58548         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58549         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58550         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58551         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58552         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58553         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58554         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58555         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58556         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58557         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58558         * sysdeps/unix/sysv/linux/readv.c: Likewise.
58559         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58560         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58563         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58565         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58566         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58567         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58568         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58569         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58570         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58571         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58572         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58573         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58574         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58575         * sysvipc/sys/ipc.h: Likewise.
58576         * sysvipc/sys/msg.h: Likewise.
58577         * sysvipc/sys/sem.h: Likewise.
58578         * sysvipc/sys/shm.h: Likewise.
58579         * termios/termios.h: Likewise.
58580         * time/sys/time.h: Likewise.
58581         * time/time.h: Likewise.
58582         * wcsmbs/bits/wchar2.h: Likewise.
58583         * wcsmbs/uchar.h: Likewise.
58584         * wcsmbs/wchar.h: Likewise.
58585         * wctype/wctype.h: Likewise.
58587         [BZ #13551]
58588         * Makeconfig: Remove all but ELF support including AIX support.
58589         * Makerules: Likewise.
58590         * config.h.in: Likewise.
58591         * config.make.in: Likewise.
58592         * configure: Likewise.
58593         * configure.in: Likewise.
58594         * csu/Makefile: Likewise.
58595         * csu/version.c: Likewise.
58596         * debug/Makefile: Likewise.
58597         * dlfcn/Makefile: Likewise.
58598         * elf/Makefile: Likewise.
58599         * extra-lib.mk: Likewise.
58600         * iconv/Makefile: Likewise.
58601         * include/libc-symbols.h: Likewise.
58602         * include/shlib-compat.h: Likewise.
58603         * resolv/Makefile: Likewise.
58604         * resolv/res_libc.c: Likewise.
58605         * rt/Makefile: Likewise.
58606         * sysdeps/i386/asm-syntax.h: Likewise.
58607         * sysdeps/i386/sysdep.h: Likewise.
58608         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58609         * sysdeps/mach/sysdep.h: Likewise.
58610         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58611         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58612         * sysdeps/s390/asm-syntax.h: Likewise.
58613         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58614         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58615         * sysdeps/sh/sysdep.h: Likewise.
58616         * sysdeps/unix/sparc/sysdep.h: Likewise.
58617         * sysdeps/wordsize-32/divdi3.c: Likewise.
58618         * sysdeps/x86_64/sysdep.h: Likewise.
58620         * argp/Versions: Remove _argp_unlock_xxx.
58622         [BZ #13559]
58623         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
58624         * abilist/libBrokenLocale.abilist: Likewise.
58625         * abilist/libanl.abilist: Likewise.
58626         * abilist/libc.abilist: Likewise.
58627         * abilist/libcrypt.abilist: Likewise.
58628         * abilist/libdl.abilist: Likewise.
58629         * abilist/libm.abilist: Likewise.
58630         * abilist/libnsl.abilist: Likewise.
58631         * abilist/libpthread.abilist: Likewise.
58632         * abilist/libresolv.abilist: Likewise.
58633         * abilist/librt.abilist: Likewise.
58634         * abilist/libthread_db.abilist: Likewise.
58635         * abilist/libutil.abilist: Likewise.
58636         * abilist/libnss_db.abilist: New file.
58638         * scripts/abilist.awk: Add support for indirect functions.
58640         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58642         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58644         * shlib-versions: Remove entries for ports architectures.
58646         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
58647         files in ports.
58648         * elf/stackguard-macros.h: Remove support for IA-64.
58649         * elf/tst-auditmod1.c: Likewise.
58650         * sysdeps/generic/ldsodefs.h: Likewise.
58652         * sysdeps/unix/sysv/linux/configure.in: Ports should define
58653         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58654         configure files.
58656         [BZ #13552]
58657         * configure.in: Remove --enable-omitfp support.
58658         * FAQ.in: Adjust.
58659         * config.make.in: Likewise.
58660         * Makeconfig: Likewise.
58661         * manual/install.texi: Likewise.
58663         In case anyone cares, the IA-64 architecture could move to ports.
58664         * sysdeps/ia64/*: Removed.
58665         * sysdeps/unix/sysv/linux/ia64/*: Removed.
58666         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58668         [BZ #13555]
58669         * configure.in: Remove entries for unsupported architectures.
58671         [BZ #13533]
58672         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58673         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
58674         routines.
58675         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58676         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58677         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
58678         fall back to using wcrtomb.
58679         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58680         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
58681         renaming.
58682         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58683         * wcsmbs/tst-c16c32-1.c: New file.
58685         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58686         local variable.
58688         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58690         * elf/tst-unique3.cc: Add explicit declaration of gets.
58691         * elf/tst-unique3lib.cc: Likewise.
58692         * elf/tst-unique3lib2.cc: Likewise.
58693         * elf/tst-unique4.cc: Likewise.
58695         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58697 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
58699         [BZ #13566]
58700         * assert/assert.h (static_assert): Don't define for C++.
58701         * libio/stdio.h (gets): Do declare for C++ <= C++11.
58702         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58704 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
58706         * iconv/loop.c (single loop): Fix assertion in storing of
58707         remaining bytes.
58709         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58711 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
58713         * posix/getconf.c: Update copyright year.
58714         * nss/getent.c: Likewise.
58715         * nss/makedb.c: Likewise.
58716         * iconv/iconvconfig.c: Likewise.
58717         * iconv/iconv_prog.c: Likewise.
58718         * elf/ldconfig.c: Likewise.
58719         * elf/pldd.c: Likewise.
58720         * elf/sotruss.ksh: Likewise.
58721         * catgets/gencat.c: Likewise.
58722         * csu/version.c: Likewise.
58723         * elf/ldd.bash.in: Likewise.
58724         * elf/sprof.c (print_version): Likewise.
58725         * locale/programs/locale.c: Likewise.
58726         * locale/programs/localedef.c: Likewise.
58727         * login/programs/pt_chown.c: Likewise.
58728         * nscd/nscd.c (print_version): Likewise.
58729         * debug/xtrace.sh: Likewise.
58730         * malloc/memusage.sh: Likewise.
58731         * malloc/mtrace.pl: Likewise.
58732         * debug/catchsegv.sh: Likewise.
58734 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
58736         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58737         pure attribute.
58739 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
58741         [BZ #13533]
58742         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58743         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58744         transformations.
58745         * iconv/gconv_int.h: Likewise.
58746         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58747         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58748         from libc for GLIBC_2.16.
58749         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58750         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58751         * wcsmbs/uchar.h: Really define mbstate_t.
58752         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58753         * wcsmbs/c16rtomb.c: New file.
58754         * wcsmbs/mbrtoc16.c: New file.
58755         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58756         for C/POSIX locale.
58757         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58758         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58760         * wcsmbs/wchar.h: Add missing __restrict.
58762 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
58764         [BZ #13532]
58765         * time/Makefile (routines): Add timespec_get.
58766         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58767         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
58768         timespec for ISO C11.
58769         * time/timespec_get.c: New file.
58770         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58771         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58773         [BZ #13531]
58774         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58775         * stdlib/stdlib.h: Declare aligned_alloc.
58776         * Versions.def: Add GLIBC_2.16 for libc.
58777         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58779         [BZ 13527]
58780         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58781         ISO C11.
58783         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58784         code.
58786         [BZ #13528]
58787         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58789         [BZ #13529]
58790         * assert/assert.h (static_assert): Define.
58792         * version.h: Update for 2.16 development version.
58794         [BZ #13526]
58795         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58796         _ISOC11_SOURCE.
58798         * version.h (RELEASE): Bump for 2.15 release.
58799         * include/features.h (__GLIBC_MINOR__): Bump to 15.
58801         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58802         Patch by Marek Polacek <mpolacek@redhat.com>.
58804         * bits/byteswap.h: Protect long long constants with __extension__.
58805         * sysdeps/i386/bits/byteswap.h: Likewise.
58806         * sysdeps/ia64/bits/byteswap.h: Likewise.
58807         * sysdeps/s390/bits/byteswap.h: Likewise.
58808         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58810 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58812         [BZ #13540]
58813         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58814         destination buffer.
58815         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58817 2011-12-23  Marek Polacek  <polacek@redhat.com>
58819         * elf/dl-addr.c (determine_info): Add inline keyword.
58820         * elf/tst-auditmod4b.c (check_avx): Likewise.
58821         * elf/tst-auditmod6b.c (check_avx): Likewise.
58822         * elf/tst-auditmod6c.c (check_avx): Likewise.
58823         * elf/tst-auditmod7b.c (check_avx): Likewise.
58825 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
58827         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58828         !__SSE_MATH__.
58830 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58832         [BZ #13540]
58833         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58834         processing for last bytes.
58836 2011-08-06  Bruno Haible  <bruno@clisp.org>
58838         [BZ #13061]
58839         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58840         U+0385, not to U+1FEE.
58842         [BZ #13062]
58843         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58844         entry for U+00A5 U+0301.
58846 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
58848         [BZ #13166]
58849         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58850         buffer for the output is too small.
58852         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58853         optimization.
58855         [BZ #13185]
58856         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58857         SSE flags if possible.
58859 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58861         [BZ #13540]
58862         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58863         processing for last bytes.
58865 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
58867         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58868         (syscall-list-default-options, syscall-list-default-condition)
58869         (syscall-list-includes): Define.
58870         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58871         list of ABIs and options and #if conditions for each ABI.  Do not
58872         handle common syscalls between ABIs specially.
58873         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58874         Remove.
58875         (syscall-list-variants, syscall-list-32bit-options)
58876         (syscall-list-32bit-condition, syscall-list-64bit-options)
58877         (syscall-list-64bit-condition): Define.
58878         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58879         (syscall-list-variants, syscall-list-32bit-options)
58880         (syscall-list-32bit-condition, syscall-list-64bit-options)
58881         (syscall-list-64bit-condition): Define.
58882         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58883         Remove.
58884         (syscall-list-variants, syscall-list-32bit-options)
58885         (syscall-list-32bit-condition, syscall-list-64bit-options)
58886         (syscall-list-64bit-condition): Define.
58887         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58888         Remove.
58889         (syscall-list-variants, syscall-list-32bit-options)
58890         (syscall-list-32bit-condition, syscall-list-64bit-options)
58891         (syscall-list-64bit-condition): Define.
58893 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
58895         * locale/iso-639.def: Add brx entry.
58897         [BZ #13328]
58898         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58899         Proposed by Mariusz_Cukr <marcukr@op.pl>.
58901         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58902         __feraiseexcept_renamed.
58904 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
58906         [BZ #13538]
58907         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58908         EPOLLET with unsigned values.
58909         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58910         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58912         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58913         to large cancellation.
58914         * math/s_cacoshf.c: Likewise.
58915         * math/s_cacoshl.c: Likewise.
58917 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
58919         [BZ #13305]
58920         [BZ #12786]
58921         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58922         * math/s_cacoshf.c: Likewise.
58923         * math/s_cacoshl.c: Likewise.
58925 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
58927         [BZ #13439]
58928         * iconv/gconv.h: Define __GCONV_SWAP.
58929         * iconvdata/unicode.c: The swap bit must be stored in __flags.
58930         * iconvdata/utf-16.c: Likewise.
58931         * iconvdata/utf-32.c: Likewise.
58933 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
58935         [BZ #13524]
58936         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58937         numerator after shifting it by one limb.
58939 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
58941         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58942         under [__USE_EXTERN_INLINES].
58944 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58946         [BZ #13446]
58947         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58949 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58951         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58952         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58953         optimized code.
58954         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58955         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58956         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58957         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58958         for strncasecmp/strncasecmp_l compilation.
58959         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58960         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58962 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
58964         [BZ #13484]
58965         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58966         of __asm__.
58968 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58970         [BZ #13506]
58971         * time/tzfile.c (__tzfile_read): Check values from file header.
58973 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58975         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58976         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58977         * powerpc/powerpc32/dl-start.S: Likewise.
58978         * powerpc/powerpc32/elf/start.S: Likewise.
58979         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58980         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58981         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58982         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58983         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58984         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58985         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58986         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58987         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58988         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58989         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58990         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58991         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58992         * powerpc/powerpc32/memset.S: Likewise.
58993         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58994         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58995         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58996         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58997         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58998         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58999         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59000         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59001         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
59002         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
59003         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
59004         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59005         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59007 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59009         * math/libm-test.inc: Added more nearbyint tests.
59010         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
59011         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
59012         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
59013         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
59015 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
59017         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
59018         FD_CLOEXEC.
59020 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59022         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
59023         Add wcscpy-ssse3 wcscpy-c.
59024         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
59025         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
59026         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
59027         * sysdeps/x86_64/wcschr.S: New file.
59028         * sysdeps/x86_64/wcsrchr.S: New file.
59029         * string/test-strcmp.c: Remove checking of wcscmp function for
59030         wrong alignments.
59031         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
59032         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
59033         wcsrchr-sse2 wcsrchr-c.
59034         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
59035         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
59036         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
59037         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
59038         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
59039         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
59040         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
59041         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
59042         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
59043         * wcsmbc/wcschr.c (WCSCHR): New macro.
59045 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59047         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
59048         * wcsmbs/test-wcsrchr.c: New file.
59049         * string/test-strrchr.c: Add wcsrchr support.
59050         (WIDE): New macro.
59051         * wcsmbs/test-wcscpy.c: New file.
59052         * string/test-strcpy.c: Add wcscpy support.
59053         (WIDE): New macro.
59055 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
59057         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
59058         the inner loop.
59060 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
59062         [BZ #13472]
59063         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
59065 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
59067         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
59068         Minor optimizations.
59070         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
59071         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
59072         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
59074 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
59076         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
59077         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
59078         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
59079         for gcc to avoid warnings.
59080         * inet/Makefile (tests): Add tst-checks.
59081         * inet/tst-checks.c: New file.
59083         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
59084         warning.
59086         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
59087         __wmemcmp_sse2.
59089         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
59090         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
59092         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
59094 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
59096         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
59097         problem.
59099         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
59101 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
59103         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
59104         conditional on GCC version.
59105         (__arch_compare_and_exchange_val_8_acq)
59106         (__arch_compare_and_exchange_val_16_acq)
59107         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
59108         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
59109         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
59111 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
59113         * sysdeps/sh/backtrace.c: New file.
59115 2011-12-02  Andreas Schwab  <schwab@redhat.com>
59117         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
59118         parenthesis.
59120 2011-12-01  Andreas Schwab  <schwab@redhat.com>
59122         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
59123         falling back to utime.
59125 2011-11-30  Andreas Schwab  <schwab@redhat.com>
59127         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
59128         expectations for float.
59130 2011-11-29  Andreas Schwab  <schwab@redhat.com>
59132         * locale/weight.h (findidx): Add parameter len.
59133         * locale/weightwc.h (findidx): Likewise.
59134         * posix/fnmatch_loop.c (FCT): Adjust caller.
59135         * posix/regcomp.c (build_equiv_class): Likewise.
59136         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
59137         * posix/regexec.c (check_node_accept_bytes): Likewise.
59138         * string/strcoll_l.c (STRCOLL): Likewise.
59139         * string/strxfrm_l.c (STRXFRM): Likewise.
59141 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
59143         * Makefile.in: Remove CVSOPT handling.
59144         * configure.in: Remove use of AC_REVISION.
59145         * iconvdata/Makefile (distribute): No need to filter out CVS.
59146         * scripts/list-sources.sh: Remove CVS, subversion and monotone
59147         handling.
59149 2011-11-16  Andreas Schwab  <schwab@redhat.com>
59151         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
59152         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
59153         [USE_AS_STRNCASECMP_L]: Likewise.
59154         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
59155         NO_TLS_DIRECT_SEG_REFS.
59156         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
59157         Fix argument offsets for non-PIC.
59158         [USE_AS_STRNCASECMP_L]: Likewise.
59159         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
59160         NO_TLS_DIRECT_SEG_REFS.
59162 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
59164         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
59165         O_CLOEXEC.
59166         * locale/loadlocale.c (_nl_load_locale): Likewise.
59168 2011-11-15  Andreas Schwab  <schwab@redhat.com>
59170         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
59171         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
59172         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
59173         (SYSCALL_GETTIME): Set errno on error.
59175         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
59176         count references to noai6ai_cached.
59178 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
59180         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
59182         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
59183         FD_CLOEXEC for /proc/self/maps.
59185         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
59186         FD_CLOEXEC for /proc/meminfo.
59188         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
59189         gai.conf.
59191         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
59192         FD_CLOEXEC for given file.
59194         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
59196         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
59197         FD_CLOEXEC for /etc/hosts.
59198         (_gethtent): Likewise.
59200         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
59202         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
59203         cancellation and set FD_CLOEXEC for /etc/netgroup.
59205         * nss/nss_files/files-key.c (search): Don't allow cancellation when
59206         reading /etc/publickey.
59208         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
59209         allow cancellation when reading /etc/group.
59211         * nss/nss_files/files-alias.c (internal_setent): Don't allow
59212         cancellation.
59213         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
59215         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
59216         when using data file.
59218         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
59220         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
59221         (write_nis_obj): Use "c" and "e" in fopen.
59223         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
59225         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
59227         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
59229         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
59231         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
59232         locale.alias.
59234         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
59236         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
59238         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
59240         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
59241         file parsing and set FD_CLOEXEC.
59243 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
59245         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
59247 2011-11-14  Andreas Schwab  <schwab@redhat.com>
59249         * malloc/arena.c (arena_get2): Don't call reused_arena when
59250         _int_new_arena failed.
59252 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
59254         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59255         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59256         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59257         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59258         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59259         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59260         to compile strcasecmp and strncasecmp.
59261         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59262         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59264         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59266 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
59268         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59269         locale-defines.sym to gen-as-const-headers.
59270         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59271         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59272         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59273         to compile strcasecmp and strncasecmp.
59274         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59275         strcasecmp_l and strncasecmp_l.
59276         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59277         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59278         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59279         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59280         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59281         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59282         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59283         * sysdeps/i386/i686/multiarch/strncase.S: New file.
59284         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59285         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59286         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59288 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
59290         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59291         result of SYSDEP_GETTIME_CPU to retval.
59292         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59293         parameter list to macro.  Remove trailing semicolon.  Adjust users.
59295         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59296         variable.
59298         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59299         mantissa words.
59300         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59302         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59303         from unused variable.
59305         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59306         DWARF definitions.
59307         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59308         for assembling.
59310         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59311         over namespaces.
59313         * sunrpc/rpc_prot.c (rejected): Fix case value.
59315         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59316         unsigned long long int to avoid warnings in shift.
59318         * posix/regex_internal.c (re_string_reconstruct): Actually use result
59319         of use of trans.
59320         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59321         variable tmp.
59323         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59324         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59325         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59327         * nis/nis_table.c (nis_list): Use variable of correct type for
59328         result of __follow_path call.
59330 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59332         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59333         of math functions ceil, trunc, floor, round, and sqrt, when
59334         avaliable on the platform.
59335         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59336         name clash.
59337         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59338         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59339         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59341 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
59343         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59344         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59346 2011-11-11  Roland McGrath  <roland@hack.frob.com>
59348         * include/unistd.h: Fix __readlink return type.
59349         Reported by Chris Metcalf <cmetcalf@tilera.com>.
59351 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
59353         * stdlib/ucontext.h: Undo last change for makecontext.
59355 2011-11-11  Andreas Schwab  <schwab@redhat.com>
59357         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59359         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59360         * setjmp/setjmp.h: Mark functions as non-leaf.
59361         * setjmp/bits/setjmp2.h: Likewise.
59362         * stdlib/ucontext.h: Likewise.
59364 2011-11-10  Andreas Schwab  <schwab@redhat.com>
59366         * malloc/arena.c (_int_new_arena): Don't increment narenas.
59367         (reused_arena): Don't check arena limit.
59368         (arena_get2): Atomically check arena limit.
59370 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
59372         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59373         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59376         instructions.
59378 2011-11-07  Andreas Schwab  <schwab@redhat.com>
59380         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59381         handler when locking.
59383         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59384         Fix size of allocated buffer.
59386 2011-11-04  Andreas Schwab  <schwab@redhat.com>
59388         [BZ #10103]
59389         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59390         declarations for long double functions.
59391         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59393         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59395 2011-11-03  Andreas Schwab  <schwab@redhat.com>
59397         * nscd/nscd.c (main): Don't start AVC thread until credentials are
59398         installed.
59400         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59401         is disabled.
59403 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59405         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59407 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59409         * include/alloca.h (stackinfo_alloca_round): Define.
59410         (extend_alloca): Use it.
59411         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59412         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59413         here.
59415         * scripts/check-local-headers.sh: Ignore libaudit.h.
59417         * nscd/Makefile (extra-objs): Make recursively expanded.
59419 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
59421         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59422         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59424         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59425         * posix/tst-rfc3484-2.c: Likewise.
59426         * posix/tst-rfc3484-3.c: Likewise.
59428         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59429         process_vm_writev.
59430         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59431         process_vm_writev.
59432         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59433         process_vm_writev from libc using GLIBC_2.15 version.
59435         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59437 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
59439         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59440         stack usage.
59442 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
59444         [BZ #13367]
59445         * nss/getent.c (initgroups_keys): Show error message in case no group
59446         names are given.
59448         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59449         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59450         __bump_nl_timestamp.
59451         * nscd/connections (nscd_init): When host database is served open
59452         netlink socket and request notification about configuration changes.
59453         (main_loop_poll): Track netlink file descriptor and bump timestamp
59454         in case data becomes available.
59455         (main_loop_epoll): Likewise.
59456         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59457         (database_pers_head): Add extra_data fileds.
59458         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59459         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59460         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59461         Adjust caller.
59462         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59463         in6ai data, call __free_in6ai.
59464         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59465         Add -DHAVE_NETLINK.
59466         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
59467         interface information.  Reuse previous data if netlink timestamp
59468         is not changed.
59469         (__bump_nl_timestamp): New function.
59470         (__free_in6ai): New function.
59472 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
59474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59475         close_not_cancel_no_status here.
59476         (__check_pf): Reorganize code a bit to not call close twice if OOM.
59478 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59480         [BZ #13276]
59481         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59482         return value.
59484         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59485         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59486         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59488 2011-07-03  Andreas Jaeger  <aj@suse.de>
59490         [BZ #10709]
59491         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59492         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59493         * math/libm-test.inc (sin_test): Add test case.
59495 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59497         [BZ #13337]
59498         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59499         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59501         * elf/chroot_canon.c (chroot_canon): Cleanups.
59503         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59505         [BZ #13335]
59506         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59507         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59509         * string/test-strchr.c: Make usable for strchrnul testing.
59510         * string/test-strchrnul.c: New file.
59511         * string/Makefile (strop-tests): Add strchrnul.
59513         * po/it.po: Update from translation team.
59514         * po/es.po: Likewise.
59516 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
59518         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59519         the three constants needed as parameters.  Drop the others.
59520         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59521         __m128i_strloadu_tolower.
59522         Create and initialize variable zero and use it in all the places
59523         where _mm_setzero_si128 was used.
59525         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59526         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59527         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59528         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59529         anymore.
59530         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59531         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59532         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59533         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59534         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59535         __mpranred, __mptan.
59536         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59537         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59538         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59539         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59540         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59541         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59542         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59543         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59544         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59546 2011-10-28  Andreas Schwab  <schwab@redhat.com>
59548         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59549         redefine if SHARED.
59550         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59552         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59553         wide char related routines to wcsmbs subdir.
59555 2011-10-27  Andreas Schwab  <schwab@redhat.com>
59557         [BZ #13344]
59558         * misc/sys/cdefs.h (__THROWNL): Define.
59559         * posix/unistd.h: Use __THREADNL instead of __THREAD
59560         for memory synchronization functions.
59562 2011-10-26  Roland McGrath  <roland@hack.frob.com>
59564         [BZ #13349]
59565         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59566         doesn't exist.
59567         * manual/stdio.texi (Obstack Streams): Node removed.
59569 2011-10-26  Andreas Schwab  <schwab@redhat.com>
59571         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59572         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59573         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59575         * math/math_private.h (math_force_eval): Allow non-addressable
59576         arguments.
59577         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59579 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59581         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59582         file is not needed.
59584         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59585         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59586         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59587         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59591         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59592         Add AVX variants.
59593         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59594         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59595         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59596         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59597         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59598         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59599         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59600         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59601         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59602         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59603         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59604         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59605         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59606         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59607         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59608         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59609         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59610         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59611         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59613         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59614         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
59616         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59617         place.  Use VEX encoding when compiling for AVX.
59619 2011-10-25  Andreas Schwab  <schwab@redhat.com>
59621         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59622         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59624         * string/test-strchr.c (do_test): Don't generate NUL bytes.
59626 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59628         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59629         useless if() expression.
59630         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59631         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59632         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59633         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59634         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59635         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59636         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59637         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59638         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59639         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59640         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59641         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59642         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59643         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59644         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59645         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59646         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59647         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59648         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59650         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59652 2011-10-25  Andreas Schwab  <schwab@redhat.com>
59654         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59655         condition.
59656         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59658 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59660         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59661         .text section.  Avoid duplicate constants.
59662         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59663         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59664         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59669         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59670         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59671         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59672         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59673         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59674         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59675         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59676         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59677         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59678         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59679         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59680         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59682         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59683         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59684         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59685         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59686         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59687         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59688         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59689         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59690         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59691         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59692         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59693         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59694         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59695         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59696         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59697         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59698         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59699         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59700         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59701         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59702         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59703         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59704         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59705         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59706         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59708 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
59710         * sysdeps/x86_64/dla.h: Move to ...
59711         * sysdeps/x86_64/fpu/dla.h: ...here.
59712         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59713         situations.  Use __builtin_fma only for gcc 4.6 and up.
59715         * config.make.in: Add have-mfma4 entry.
59716         * configure.in: Substitute libc_cv_cc_fma4.
59717         * math/Makefile (dbl-only-routines): Add sincostab.
59718         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59719         Use __sincostab not sincos.
59720         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59721         name is a macro.
59722         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59724         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59725         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
59726         using __copysign.
59727         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
59728         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
59729         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59730         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59731         and __inv.
59732         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59733         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59734         __copysign.
59735         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
59736         define aliases when function name is a macro.
59737         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59738         sysdeps/ieee754/dbl-64/sincos.tbl.
59739         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59740         fma4-enabled routines.
59741         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59742         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59743         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59744         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59745         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59746         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59748         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59750         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59751         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59752         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59753         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59754         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59755         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59756         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59757         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59758         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59759         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59760         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59761         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59762         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59763         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59764         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59765         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59766         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59767         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59768         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59769         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59770         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59772         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59773         rename.
59774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59775         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59776         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59777         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59778         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59780         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59783 2011-10-24  Andreas Schwab  <schwab@redhat.com>
59785         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59787 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59789         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59791         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59792         prediction.
59793         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59795         * string/strnlen.c: Don't define STRNLEN, reverse logic.
59796         Remove unused variable magic_bits.
59797         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59799         * string/strnlen.c: Define and use STRNLEN macro.
59800         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59801         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59803         * wcsmbs/wcslen.c: Define and use WCSLEN.
59804         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59805         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59806         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59807         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59808         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59809         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59810         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59812 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59814         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59815         strnlen-sse2-no-bsf.
59816         Rename strlen-no-bsf to strlen-sse2-no-bsf.
59817         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59818         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59819         Add strnlen support.
59820         (USE_AS_STRNLEN): New macro.
59821         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59822         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59823         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59824         * sysdeps/x86_64/wcslen.S: New file.
59826 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
59828         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59829         XMM-moves are used for copying on small sizes.
59831 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59833         * wcsmbs/Makefile (strop-tests): Add wcschr.
59834         * wcsmbs/test-wcschr.c: New file.
59835         * string/test-strchr.c: Update.
59836         Add wcschr support.
59837         (WIDE): New macro.
59839 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59841         * wcsmbs/Makefile (strop-tests): Add wcslen.
59842         * wcsmbs/test-wcslen.c: New file.
59843         * string/test-strlen.c: Update.
59844         Add wcslen support.
59845         (WIDE): New macro.
59847 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59849         * po/it.po: Update from translation team.
59851 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59853         * sysdeps/x86_64/wcscmp.S: Update.
59854         Fix wrong comparison semantics.
59855         wcscmp shall use signed comparison not unsigned.
59856         Don't use substraction to avoid overflow bug.
59857         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59858         * wcsmbc/wcscmp.c: Likewise.
59859         * string/test-strcmp.c: Likewise.
59860         Add new tests to check cases with negative values.
59862 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59864         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59865         * sysdeps/x86_64/dla.h: ...here.  New file.
59866         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59869         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59870         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59871         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59873         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59874         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59876 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
59878         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59879         __ynl_finite aliases.
59881 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
59883         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59885         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59886         define DLA_FMA.
59887         [DLA_FMA] (EMULV): Use DLA_FMA.
59888         [DLA_FMA] (MUL12): Use EMULV.
59889         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59890         that are not needed.
59891         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59892         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59893         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59895         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59896         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59897         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59899 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
59901         * math/s_nan.c: Undef __nan.
59902         * math/s_nanf.c: Undef __nanf.
59903         * math/s_nanl.c: Undef __nanl.
59904         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59905         "math_private.h".
59907 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
59909         * math/s_catan.c: Add branch predictions.
59910         * math/s_catanf.c: Likewise.
59911         * math/s_catanh.c: Likewise.
59912         * math/s_catanhf.c: Likewise.
59913         * math/s_catanhl.c: Likewise.
59914         * math/s_catanl.c: Likewise.
59915         * math/s_cexp.c: Likewise.
59916         * math/s_cexpf.c: Likewise.
59917         * math/s_cexpl.c: Likewise.
59918         * math/s_clog.c: Likewise.
59919         * math/s_clog10.c: Likewise.
59920         * math/s_clog10f.c: Likewise.
59921         * math/s_clog10l.c: Likewise.
59922         * math/s_clogf.c: Likewise.
59923         * math/s_clogl.c: Likewise.
59924         * math/s_csqrt.c: Likewise.
59925         * math/s_csqrtf.c: Likewise.
59926         * math/s_csqrtl.c: Likewise.
59927         * math/s_ctanf.c: Likewise.
59928         * math/s_ctanh.c: Likewise.
59929         * math/s_ctanhf.c: Likewise.
59930         * math/s_ctanhl.c: Likewise.
59931         * math/s_ctanl.c: Likewise.
59933         * math/math_private.h: Define __nan, __nanf, __nanl.
59934         * math/s_cacosh.c: Include <math_private.h>.
59935         * math/s_cacoshl.c: Likewise.
59936         * math/s_casinh.c: Likewise.
59937         * math/s_casinhf.c: Likewise.
59938         * math/s_casinhl.c: Likewise.
59939         * math/s_ccos.c: Rely entire on ccosh.
59940         * math/s_ccosf.c: Rely entire on ccoshf.
59941         * math/s_ccosl.c: Rely entirely on ccoshl.
59942         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
59943         Remove tests for FE_INVALID.
59944         * math/s_ccoshf.c: Likewise.
59945         * math/s_ccoshl.c: Likewise.
59946         * math/s_csin.c: Likewise.
59947         * math/s_csinf.c: Likewise.
59948         * math/s_csinh.c Likewise.
59949         * math/s_csinhf.c: Likewise.
59950         * math/s_csinhl.c: Likewise.
59951         * math/s_csinl.c: Likewise.
59952         * math/s_ctan.c: Likewise.
59953         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59954         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59955         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59957 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
59959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59960         compilation problems.
59962         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59963         __builtin_expect.
59965 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
59967         * sysdeps/i386/configure.in: Test for -mfma4 option.
59968         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59969         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59970         COMMON_CPUID_INDEX_80000001.
59971         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59972         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59973         use it if FMA3 is not supported.
59974         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59976         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59977         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59979 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59981         [BZ #12892]
59982         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59983         it would create a cycle with a link time dependency.
59985 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59987         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59988         instruction.
59989         * string/Makefile (strop-tests): Add rawmemchr.
59990         * string/test-rawmemchr.c: New file.
59992         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59993         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59994         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59995         when compiling str{,n}casecmp and when AVX is available.  Hook up
59996         new optimized code in initializers.
59998 2011-10-19  Andreas Schwab  <schwab@redhat.com>
60000         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
60001         __feraiseexcept instead of feraiseexcept.
60003 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
60005         * math/math_private.h: Define defaults for libc_fetestexcept and
60006         libc_feupdateenv.
60007         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
60008         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
60009         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60010         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60011         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
60012         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60013         libc_fetestexcept and libc_feupdateenv.
60015         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
60016         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
60017         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
60018         * sysdeps/x86_64/fpu/math_private.h: Define special version of
60019         libc_feholdexcept_setround.
60021         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
60022         Add s_nearbyint-c and s_nearbyintf-c.
60023         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
60024         nearbyintf inlines.
60025         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
60026         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
60027         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
60028         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
60030         * math/math_private.h: Define defaults for libc_fegetround,
60031         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
60032         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
60033         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
60034         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
60035         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
60036         standard functions.
60037         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60038         Remove comments and hacks for old compiler versions.
60039         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
60040         libc_fegetround, libc_fesetround, libc_feholdexcept, and
60041         libc_feholdexceptl.
60043 2011-10-18  Andreas Schwab  <schwab@redhat.com>
60045         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
60046         (__feraiseexcept_renamed): Add __NTH.
60047         (feraiseexcept): Add __NTH.  Rename local variables to fix
60048         namespace violations.
60050 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
60052         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
60054         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
60056         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
60057         recently added interfaces.
60058         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
60060         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
60061         about macro parameter expansion.
60063         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
60064         __NO_MATH_INLINES is defined.  Cleanups.
60066         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
60067         and __floorf is target has SSE4.1.
60068         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
60069         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
60070         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
60071         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
60073         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
60074         name.
60075         (floorf): Likewise.
60077         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
60079 2011-10-17  Andreas Schwab  <schwab@redhat.com>
60081         * misc/sys/cdefs.h: Fix last change.
60083         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
60084         database lookup.
60086 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
60088         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
60090         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
60091         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
60092         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
60093         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
60094         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
60095         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
60096         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
60097         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
60098         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
60099         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
60100         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
60101         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
60102         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
60103         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
60104         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
60105         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
60106         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
60107         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
60108         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
60109         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
60110         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
60111         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
60113         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
60114         ceil, ceilf, floor, floorf.
60116         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
60117         Perform IRELATIVE relocations last.
60119         * elf/do-rel.h: Add another parameter nrelative, replacing the
60120         local variable with the same name.  Change name of the function
60121         to end in Rel or Rela (uppercase).
60122         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
60123         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
60124         elf_dynamic_do_##reloc function.
60126 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
60128         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
60129         is sufficient, at least on modern CPUs.
60131         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
60133         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
60134         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
60136         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
60137         __expl_finite.
60138         * math/bits/math-finite.h: Add entries for exp.
60139         * math/e_expl.c: Add __*_finite alias.
60140         * sysdeps/i386/fpu/e_exp.S: Likewise.
60141         * sysdeps/i386/fpu/e_expf.S: Likewise.
60142         * sysdeps/i386/fpu/e_expl.c: Likewise.
60143         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
60144         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
60145         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60147         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
60148         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
60149         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
60151         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
60152         is sufficient, at least on modern CPUs.
60154         * ctype/ctype-info.c (__ctype_init): Define.
60155         * include/ctype.h (__ctype_init): Declare.
60156         (__ctype_b_loc): The variable is always initialized.
60157         (__ctype_toupper_loc): Likewise.
60158         (__ctype_tolower_loc): Likewise.
60159         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
60160         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
60162 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
60164         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
60166         * configure.in: Also look in $cxxmachine/include for C++ system
60167         headers.
60169 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60171         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
60172         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
60173         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
60174         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
60175         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
60176         (USE_AS_WMEMCMP): New macro.
60177         Fixing indents.
60178         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
60179         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
60180         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
60181         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
60182         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60183         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
60184         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
60185         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
60186         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
60187         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
60188         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
60189         (USE_AS_WMEMCMP): New macro.
60190         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
60191         * sysdeps/string/test-memcmp.c: Update.
60192         Fix simple_wmemcmp.
60193         Add new tests.
60194         * wcsmbs/wmemcmp.c: Update.
60195         (WMEMCMP): New macro.
60196         Fix overflow bug.
60198 2011-10-12  Andreas Jaeger  <aj@suse.de>
60200         [BZ #13268]
60201         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
60203 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
60205         * libio/iofwide.c (do_length): Avoid warning.
60207         * ctype/ctype.h (__isctype_f): Add missing __THROW.
60209 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
60211         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
60213         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
60214         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
60215         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
60216         * sysdeps/i386/i686/fpu/e_log.S: New file.
60217         * sysdeps/i386/i686/fpu/e_logf.S: New file.
60218         * sysdeps/i386/i686/fpu/e_logl.S: New file.
60220         * ctype/ctype.h: Add support for inlined isXXX functions when
60221         compiling C++ code.
60223 2011-10-14  Andreas Schwab  <schwab@redhat.com>
60225         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60227         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
60229 2011-10-13  Roland McGrath  <roland@hack.frob.com>
60231         [BZ #13291]
60232         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
60234 2011-10-13  Andreas Schwab  <schwab@redhat.com>
60236         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
60237         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
60238         feraiseexcept.
60240         * sysdeps/x86_64/memrchr.S: Check for zero size.
60242         * string/stratcliff.c: Add memrchr tests.
60244 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60246         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60247         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
60248         rawmemchr-sse2 rawmemchr-sse2-bsf.
60249         * sysdeps/i386/i686/multiarch/memchr.S: New file.
60250         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60251         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60252         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60253         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60254         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60255         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60256         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60257         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60258         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60259         * string/memrchr.c (MEMRCHR): New macro.
60261 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
60263         Add integration with gcc's -ffinite-math-only and optimize wrapper
60264         functions in libm.
60265         * Versions.def: Define GLIBC_2.15 version for libm.
60266         * math/Makefile (headers): Add bits/math-finite.h.
60267         * math/bits/math-finite.h: New file.
60268         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60269         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60270         * math/e_acoshl.c: Add __*_finite alias.
60271         * math/e_acosl.c: Likewise.
60272         * math/e_asinl.c: Likewise.
60273         * math/e_atan2l.c: Likewise.
60274         * math/e_atanhl.c: Likewise.
60275         * math/e_coshl.c: Likewise.
60276         * math/e_exp10.c: Likewise.
60277         * math/e_exp10f.c: Likewise.
60278         * math/e_exp10l.c: Likewise.
60279         * math/e_exp2l.c: Likewise.
60280         * math/e_fmodl.c: Likewise.
60281         * math/e_gammal_r.c: Likewise.
60282         * math/e_hypotl.c: Likewise.
60283         * math/e_j0l.c: Likewise.
60284         * math/e_j1l.c: Likewise.
60285         * math/e_jnl.c: Likewise.
60286         * math/e_lgammal_r.c: Likewise.
60287         * math/e_log10l.c: Likewise.
60288         * math/e_log2l.c: Likewise.
60289         * math/e_logl.c: Likewise.
60290         * math/e_powl.c: Likewise.
60291         * math/e_sinhl.c: Likewise.
60292         * math/e_sqrtl.c: Likewise.
60293         * math/e_scalb.c: Completely rewritten and optimized.
60294         * math/e_scalbf.c: Likewise.
60295         * math/e_scalbl.c: Likewise.
60296         * math/w_acos.c: Likewise.
60297         * math/w_acosf.c: Likewise.
60298         * math/w_acosl.c: Likewise.
60299         * math/w_acosh.c: Likewise.
60300         * math/w_acoshf.c: Likewise.
60301         * math/w_acoshl.c: Likewise.
60302         * math/w_asin.c: Likewise.
60303         * math/w_asinf.c: Likewise.
60304         * math/w_asinl.c: Likewise.
60305         * math/w_atan2.c: Likewise.
60306         * math/w_atan2f.c: Likewise.
60307         * math/w_atan2l.c: Likewise.
60308         * math/w_atanh.c: Likewise.
60309         * math/w_atanhf.c: Likewise.
60310         * math/w_atanhl.c: Likewise.
60311         * math/w_exp10.c: Likewise.
60312         * math/w_exp10f.c: Likewise.
60313         * math/w_exp10l.c: Likewise.
60314         * math/w_fmod.c: Likewise.
60315         * math/w_fmodf.c: Likewise.
60316         * math/w_fmodl.c: Likewise.
60317         * math/w_j0.c: Likewise.
60318         * math/w_j0f.c: Likewise.
60319         * math/w_j0l.c: Likewise.
60320         * math/w_j1.c: Likewise.
60321         * math/w_j1f.c: Likewise.
60322         * math/w_j1l.c: Likewise.
60323         * math/w_jn.c: Likewise.
60324         * math/w_jnf.c: Likewise.
60325         * math/w_log.c: Likewise.
60326         * math/w_logf.c: Likewise.
60327         * math/w_logl.c: Likewise.
60328         * math/w_log10.c: Likewise.
60329         * math/w_log10f.c: Likewise.
60330         * math/w_log10l.c: Likewise.
60331         * math/w_log2.c: Likewise.
60332         * math/w_log2f.c: Likewise.
60333         * math/w_log2l.c: Likewise.
60334         * math/w_pow.c: Likewise.
60335         * math/w_powf.c: Likewise.
60336         * math/w_powl.c: Likewise.
60337         * math/w_remainder.c: Likewise.
60338         * math/w_remainderf.c: Likewise.
60339         * math/w_remainderl.c: Likewise.
60340         * math/w_scalb.c: Likewise.
60341         * math/w_scalbf.c: Likewise.
60342         * math/w_scalbl.c: Likewise.
60343         * math/w_sqrt.c: Likewise.
60344         * math/w_sqrtf.c: Likewise.
60345         * math/w_sqrtl.c: Likewise.
60346         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60347         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
60348         used.
60349         * math/math_private.h: Declare __kernel_standard_f.
60350         * math/w_cosh.c: Remove cruft and optimize a bit.
60351         * math/w_coshf.c: Likewise.
60352         * math/w_coshl.c: Likewise.
60353         * math/w_exp2.c: Likewise.
60354         * math/w_exp2f.c: Likewise.
60355         * math/w_exp2l.c: Likewise.
60356         * math/w_hypot.c: Likewise.
60357         * math/w_hypotf.c: Likewise.
60358         * math/w_hypotl.c: Likewise.
60359         * math/w_lgamma.c: Likewise.
60360         * math/w_lgamma_r.c: Likewise.
60361         * math/w_lgammaf.c: Likewise.
60362         * math/w_lgammaf_r.c: Likewise.
60363         * math/w_lgammal.c: Likewise.
60364         * math/w_lgammal_r.c: Likewise.
60365         * math/w_sinh.c: Likewise.
60366         * math/w_sinhf.c: Likewise.
60367         * math/w_sinhl.c: Likewise.
60368         * math/w_tgamma.c: Likewise.
60369         * math/w_tgammaf.c: Likewise.
60370         * math/w_tgammal.c: Likewise.
60371         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60372         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60373         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60374         Minor optimizations.  Pretty printing.  Remove cruft.
60375         * sysdeps/i386/fpu/e_acosf.S: Likewise.
60376         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60377         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60378         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60379         * sysdeps/i386/fpu/e_acosl.c: Likewise.
60380         * sysdeps/i386/fpu/e_asin.S: Likewise.
60381         * sysdeps/i386/fpu/e_asinf.S: Likewise.
60382         * sysdeps/i386/fpu/e_atan2.S: Likewise.
60383         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60384         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60385         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60386         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60387         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60388         * sysdeps/i386/fpu/e_exp10.S: Likewise.
60389         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60390         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60391         * sysdeps/i386/fpu/e_exp2.S: Likewise.
60392         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60393         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60394         * sysdeps/i386/fpu/e_fmod.S: Likewise.
60395         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60396         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60397         * sysdeps/i386/fpu/e_hypot.S: Likewise.
60398         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60399         * sysdeps/i386/fpu/e_log.S: Likewise.
60400         * sysdeps/i386/fpu/e_log10.S: Likewise.
60401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60402         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60403         * sysdeps/i386/fpu/e_log2.S: Likewise.
60404         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60405         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60406         * sysdeps/i386/fpu/e_logf.S: Likewise.
60407         * sysdeps/i386/fpu/e_logl.S: Likewise.
60408         * sysdeps/i386/fpu/e_pow.S: Likewise.
60409         * sysdeps/i386/fpu/e_powf.S: Likewise.
60410         * sysdeps/i386/fpu/e_powl.S: Likewise.
60411         * sysdeps/i386/fpu/e_remainder.S: Likewise.
60412         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60413         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60414         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60415         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60416         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60417         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60418         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60419         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60420         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60421         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60422         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60423         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60424         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60425         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60426         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60427         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60428         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60429         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60430         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60431         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60432         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60433         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60434         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60435         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60436         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60437         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60438         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60439         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60440         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60441         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60442         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60443         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60444         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60445         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60446         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60447         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60448         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60449         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60450         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60451         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60452         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60453         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60454         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60455         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60456         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60457         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60458         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60459         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60460         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60461         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60462         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60463         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60464         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60465         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60466         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60467         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60468         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60469         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60470         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60471         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60472         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60473         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60474         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60475         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60476         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60477         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60478         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60479         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60480         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60481         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60483         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60484         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60485         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60486         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60487         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60488         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60490         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60492         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60493         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60494         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60495         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60496         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60497         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60498         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60499         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60500         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60501         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60502         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60503         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60504         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60505         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60506         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60507         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60508         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60509         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60510         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60511         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60512         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60513         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60514         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60515         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60516         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60517         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60518         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60519         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60520         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60521         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60522         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60523         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60524         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60525         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60526         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60527         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60528         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60529         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60530         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
60531         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60532         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60533         (__isnanf): Likewise.
60534         (__isinf_ns): Likewise.
60535         (__isinf_nsf): Likewise.
60536         (__finite): Likewise.
60537         (__finitef): Likewise.
60538         (__ieee754_sqrt): Define as macro.
60539         (__ieee754_sqrtf): Define as macro.
60540         (__ieee754_sqrtl): Define as macro.
60541         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60542         inlined copy.
60543         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60544         __FINITE_MATH_ONLY__ consistent.
60545         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60547 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
60549         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60550         of rawmemchr.
60552         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60554 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
60556         * po/ja.po: Update from translation team.
60558 2011-10-08  Roland McGrath  <roland@hack.frob.com>
60560         * locale/programs/locarchive.c (prepare_address_space): New function.
60561         (create_archive, enlarge_archive, open_archive): Use it.
60563         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60564         inside [SHARED], where it is used.
60566         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60568         * nss/getent.c (netgroup_keys): Remove unused variable.
60569         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60571 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
60573         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60574         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60575         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60576         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60577         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60578         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60579         * math/Makefile (libm-calls): Add s_isinf_ns.
60580         * math/divtc3.c: Use __isinf_nsl instead of isinf.
60581         * math/multc3.c: Likewise.
60582         * math/s_casin.c: Likewise.
60583         * math/s_casinf.c: Likewise.
60584         * math/s_casinl.c: Likewise.
60585         * math/s_ccos.c: Likewise.
60586         * math/s_ccosf.c: Likewise.
60587         * math/s_ccosl.c: Likewise.
60588         * math/s_ctan.c: Likewise.
60589         * math/s_ctanf.c: Likewise.
60590         * math/s_ctanh.c: Likewise.
60591         * math/s_ctanhf.c: Likewise.
60592         * math/s_ctanhl.c: Likewise.
60593         * math/s_ctanl.c: Likewise.
60594         * math/w_fmod.c: Likewise.
60595         * math/w_fmodf.c: Likewise.
60596         * math/w_fmodl.c: Likewise.
60597         * math/w_remainder.c: Likewise.
60598         * math/w_remainderf.c: Likewise.
60599         * math/w_remainderl.c: Likewise.
60600         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60601         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60602         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60603         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60604         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60605         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60606         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60607         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60609         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60610         of the number.
60611         * stdio-common/printf_fphex.c: Likewise.
60612         * stdio-common/printf_size.c: Likewise.
60614         * math/e_exp10.c: Include math_private.h using <...> not "...".
60615         * math/e_exp10f.c: Likewise.
60616         * math/e_exp10l.c: Likewise.
60617         * math/e_exp2l.c: Likewise.
60618         * math/e_j0l.c: Likewise.
60619         * math/e_j1l.c: Likewise.
60620         * math/e_jnl.c: Likewise.
60621         * math/e_lgammal_r.c: Likewise.
60622         * math/e_rem_pio2l.c: Likewise.
60623         * math/e_scalb.c: Likewise.
60624         * math/e_scalbf.c: Likewise.
60625         * math/e_scalbl.c: Likewise.
60626         * math/k_cosl.c: Likewise.
60627         * math/k_sinl.c: Likewise.
60628         * math/k_tanl.c: Likewise.
60629         * math/s_cacoshf.c: Likewise.
60630         * math/s_catan.c: Likewise.
60631         * math/s_catanf.c: Likewise.
60632         * math/s_catanh.c: Likewise.
60633         * math/s_catanhf.c: Likewise.
60634         * math/s_catanhl.c: Likewise.
60635         * math/s_catanl.c: Likewise.
60636         * math/s_ccosh.c: Likewise.
60637         * math/s_ccoshf.c: Likewise.
60638         * math/s_ccoshl.c: Likewise.
60639         * math/s_cexp.c: Likewise.
60640         * math/s_cexpf.c: Likewise.
60641         * math/s_cexpl.c: Likewise.
60642         * math/s_clog.c: Likewise.
60643         * math/s_clog10.c: Likewise.
60644         * math/s_clog10f.c: Likewise.
60645         * math/s_clog10l.c: Likewise.
60646         * math/s_clogf.c: Likewise.
60647         * math/s_clogl.c: Likewise.
60648         * math/s_csin.c: Likewise.
60649         * math/s_csinf.c: Likewise.
60650         * math/s_csinh.c: Likewise.
60651         * math/s_csinhf.c: Likewise.
60652         * math/s_csinhl.c: Likewise.
60653         * math/s_csinl.c: Likewise.
60654         * math/s_csqrt.c: Likewise.
60655         * math/s_csqrtf.c: Likewise.
60656         * math/s_csqrtl.c: Likewise.
60657         * math/s_ctan.c: Likewise.
60658         * math/s_ctanf.c: Likewise.
60659         * math/s_ctanh.c: Likewise.
60660         * math/s_ctanhf.c: Likewise.
60661         * math/s_ctanhl.c: Likewise.
60662         * math/s_ctanl.c: Likewise.
60663         * math/s_ldexp.c: Likewise.
60664         * math/s_ldexpf.c: Likewise.
60665         * math/s_ldexpl.c: Likewise.
60666         * math/s_significand.c: Likewise.
60667         * math/s_significandf.c: Likewise.
60668         * math/s_significandl.c: Likewise.
60669         * math/w_acos.c: Likewise.
60670         * math/w_acosf.c: Likewise.
60671         * math/w_acosh.c: Likewise.
60672         * math/w_acoshf.c: Likewise.
60673         * math/w_acoshl.c: Likewise.
60674         * math/w_acosl.c: Likewise.
60675         * math/w_asin.c: Likewise.
60676         * math/w_asinf.c: Likewise.
60677         * math/w_asinl.c: Likewise.
60678         * math/w_atan2.c: Likewise.
60679         * math/w_atan2f.c: Likewise.
60680         * math/w_atan2l.c: Likewise.
60681         * math/w_atanh.c: Likewise.
60682         * math/w_atanhf.c: Likewise.
60683         * math/w_atanhl.c: Likewise.
60684         * math/w_cosh.c: Likewise.
60685         * math/w_coshf.c: Likewise.
60686         * math/w_coshl.c: Likewise.
60687         * math/w_dremf.c: Likewise.
60688         * math/w_exp10.c: Likewise.
60689         * math/w_exp10f.c: Likewise.
60690         * math/w_exp10l.c: Likewise.
60691         * math/w_exp2.c: Likewise.
60692         * math/w_exp2f.c: Likewise.
60693         * math/w_fmod.c: Likewise.
60694         * math/w_fmodf.c: Likewise.
60695         * math/w_fmodl.c: Likewise.
60696         * math/w_hypot.c: Likewise.
60697         * math/w_hypotf.c: Likewise.
60698         * math/w_hypotl.c: Likewise.
60699         * math/w_j0.c: Likewise.
60700         * math/w_j0f.c: Likewise.
60701         * math/w_j0l.c: Likewise.
60702         * math/w_j1.c: Likewise.
60703         * math/w_j1f.c: Likewise.
60704         * math/w_j1l.c: Likewise.
60705         * math/w_jn.c: Likewise.
60706         * math/w_jnf.c: Likewise.
60707         * math/w_jnl.c: Likewise.
60708         * math/w_lgamma.c: Likewise.
60709         * math/w_lgamma_r.c: Likewise.
60710         * math/w_lgammaf.c: Likewise.
60711         * math/w_lgammaf_r.c: Likewise.
60712         * math/w_lgammal.c: Likewise.
60713         * math/w_lgammal_r.c: Likewise.
60714         * math/w_log.c: Likewise.
60715         * math/w_log10.c: Likewise.
60716         * math/w_log10f.c: Likewise.
60717         * math/w_log10l.c: Likewise.
60718         * math/w_log2.c: Likewise.
60719         * math/w_log2f.c: Likewise.
60720         * math/w_log2l.c: Likewise.
60721         * math/w_logf.c: Likewise.
60722         * math/w_logl.c: Likewise.
60723         * math/w_pow.c: Likewise.
60724         * math/w_powf.c: Likewise.
60725         * math/w_powl.c: Likewise.
60726         * math/w_remainder.c: Likewise.
60727         * math/w_remainderf.c: Likewise.
60728         * math/w_remainderl.c: Likewise.
60729         * math/w_scalb.c: Likewise.
60730         * math/w_scalbf.c: Likewise.
60731         * math/w_scalbl.c: Likewise.
60732         * math/w_sinh.c: Likewise.
60733         * math/w_sinhf.c: Likewise.
60734         * math/w_sinhl.c: Likewise.
60735         * math/w_sqrt.c: Likewise.
60736         * math/w_sqrtf.c: Likewise.
60737         * math/w_sqrtl.c: Likewise.
60738         * math/w_tgamma.c: Likewise.
60739         * math/w_tgammaf.c: Likewise.
60740         * math/w_tgammal.c: Likewise.
60742         * po/ja.po: Update from translation team.
60744 2011-09-29  Andreas Jaeger  <aj@suse.de>
60746         [BZ #13179]
60747         * sunrpc/netname.c (netname2host): Fix logic.
60749         [BZ #6779]
60750         [BZ #6783]
60751         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60752         correctly.
60753         * math/w_remainder.c (__remainder): Likewise.
60754         * math/w_remainderf.c (__remainderf): Likewise.
60755         * math/libm-test.inc (remainder_test): Add test cases.
60757 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60759         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
60760         sdiv_qrnnd.
60762 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
60764         * string/test-memcmp.c: Avoid unncessary #defines.
60765         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60767 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60769         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60770         Use new sse2 version for core i3 - i7 as it's faster
60771         than sse42 version.
60772         (bit_Prefer_PMINUB_for_stringop): New.
60773         * sysdeps/x86_64/rawmemchr.S: Update.
60774         Replace with faster SSE2 version.
60775         * sysdeps/x86_64/memrchr.S: New file.
60776         * sysdeps/x86_64/memchr.S: Update.
60777         Replace with faster SSE2 version.
60779 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
60781         * elf/dl-load.c (lose): Add cast to avoid warning.
60783 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
60785         * po/ca.po: Update from translation team.
60787         * inet/getnetgrent_r.c: Hook up nscd.
60788         * nscd/Makefile (routines): Add nscd_netgroup.
60789         (nscd-modules): Add netgroupcache.
60790         (CFLAGS-netgroupcache.c): Define.
60791         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60792         (cache_search): Add const to second parameter.
60793         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60794         INNETGR.
60795         (dbs): Add netgrdb entry.
60796         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60797         (verify_persistent_db): Handle netgrdb.
60798         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60799         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60800         GETFDNETGR.
60801         (netgroup_response_header): Define.
60802         (innetgroup_response_header): Define.
60803         (datahead): Add netgroup_response_header and innetgroup_response_header
60804         elements.
60805         * nscd/nscd.conf: Add entries for netgroup cache.
60806         * nscd/nscd.h (dbtype): Add netgrdb.
60807         (_PATH_NSCD_NETGROUP_DB): Define.
60808         (netgroup_iov_disabled): Declare.
60809         (xmalloc, xcalloc, xrealloc): Move declarations here.
60810         (cache_search): Adjust prototype.
60811         Add netgroup-related prototypes.
60812         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60813         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60814         (__nscd_innetgr): Declare.
60815         * nscd/selinux.c (perms): Use access_vector_t as element type and
60816         add netgroup-related initializers.
60817         * nscd/netgroupcache.c: New file.
60818         * nscd/nscd_netgroup.c: New file.
60819         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60820         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60821         For four parameters use innetgr.
60822         * nss/nss_files/files-init.c: Add definition and callback for netgr.
60823         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60824         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60825         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60827         * nscd/connections.c (register_traced_file): Don't register file
60828         for disabled databases.
60830 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
60832         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60834         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60835         from tree and freeing node.
60837 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
60839         * nss/nsswitch.c (__nss_database_lookup): Handle
60840         nss_parse_service_list out of memory case.
60842 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
60844         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60845         out of memory case.
60847 2011-10-04  Andreas Schwab  <schwab@redhat.com>
60849         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60850         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60851         pass it down.
60852         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60853         elf_machine_rela, elf_machine_lazy_rel.
60854         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60855         (ELF_DYNAMIC_DO_REL): Likewise.
60856         (ELF_DYNAMIC_DO_RELA): Likewise.
60857         (ELF_DYNAMIC_RELOCATE): Likewise.
60858         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60859         to ELF_DYNAMIC_DO_REL.
60860         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60861         (dl_main): In trace mode always set __RTLD_NOIFUNC.
60862         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60863         elf_machine_rela.
60864         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60865         skip_ifunc, don't call ifunc function if non-zero.
60866         (elf_machine_rela): Likewise.
60867         (elf_machine_lazy_rel): Likewise.
60868         (elf_machine_lazy_rela): Likewise.
60869         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60870         (elf_machine_lazy_rel): Likewise.
60871         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60872         Likewise.
60873         (elf_machine_lazy_rel): Likewise.
60874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60875         Likewise.
60876         (elf_machine_lazy_rel): Likewise.
60877         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60878         (elf_machine_lazy_rel): Likewise.
60879         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60880         (elf_machine_lazy_rel): Likewise.
60881         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60882         (elf_machine_lazy_rel): Likewise.
60883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60884         (elf_machine_lazy_rel): Likewise.
60885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60886         (elf_machine_lazy_rel): Likewise.
60887         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60888         (elf_machine_lazy_rel): Likewise.
60890 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
60892         * nss/nss_files/files-init.c (_nss_files_init): Use static
60893         initialization for all the *_traced_file variables.
60895 2011-09-28  Andreas Schwab  <schwab@redhat.com>
60897         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60899 2011-09-27  Roland McGrath  <roland@hack.frob.com>
60901         [BZ #13226]
60902         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60904 2011-09-27  Andreas Schwab  <schwab@redhat.com>
60906         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60907         Reread the line before reparsing it.
60909 2011-09-26  Andreas Schwab  <schwab@redhat.com>
60911         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60913 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
60914             Maxim Kuvyrkov  <maxim@codesourcery.com>
60915             Joseph Myers  <joseph@codesourcery.com>
60917         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60918         if needed for __stack_chk_guard.
60920 2011-09-19  Roland McGrath  <roland@hack.frob.com>
60922         * sysdeps/posix/spawni.c (script_execute): Always define it.
60923         It will be optimized away if unused.
60924         (maybe_script_execute): New function.
60925         (__spawni): Call it.
60927         * Makerules: Don't include tls.make.
60928         (config-tls): Always set to thread.
60929         * tls.make.c: File removed.
60931 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
60933         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60934         * config.make.in (CPPFLAGS-config): New substituted variable.
60936 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60938         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60940         [BZ #13192]
60941         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60942         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60944 2011-09-15  Roland McGrath  <roland@hack.frob.com>
60946         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60947         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60948         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60949         (CALL_FAIL): Likewise.
60950         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60951         (CALL_FAIL): Macro removed.
60952         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60954 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60956         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60957         for __FINITE_MATH_ONLY__ == 1.
60959 2011-09-15  Andreas Schwab  <schwab@redhat.com>
60961         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60962         __ieee754_sqrt instead of sqrt.
60963         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60964         __ieee754_sqrtf instead of sqrtf.
60965         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60966         __floorf instead of floorf.
60967         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60968         __floorf, __truncf instead of floorf, truncf.
60970 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
60972         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60974         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60975         __extern_always_inline.
60976         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60977         32-bit.
60979 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60981         * elf/rtld.c (dl_main): Also relocate in dependency order when
60982         doing symbol dependency testing.
60984 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60986         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60987         Always define `refsym'.
60989 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60991         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60992         (__FD_ELT): Renamed from __FDELT.
60993         * misc/bits/select2.h (__FD_ELT): Likewise.
60994         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60995         __FD_MASK instead of __FDELT, __FDMASK.
60996         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60997         Likewise.
60998         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60999         Likewise.
61001         * elf/Makefile (gen-ldd): Fix pattern.
61003         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
61004         (init_tls): Likewise.
61006 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
61008         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
61010 2011-09-12  Andreas Schwab  <schwab@redhat.com>
61012         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
61013         `struct cmsghdr *' instead of `void *'.
61014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
61015         Likewise.
61017 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
61019         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
61020         if non-absolute.
61021         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
61022         ldd_rewrite_script.
61024 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
61026         * configure.in: Remove --with-tls option.
61027         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
61028         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
61029         out in case it is missing.
61030         * sysdeps/ia64/elf/configure.in: Likewise.
61031         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
61032         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
61033         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
61034         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
61035         * sysdeps/sh/elf/configure.in: Likewise.
61036         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
61037         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
61038         * sysdeps/x86_64/elf/configure.in: Likewise.
61039         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
61040         * sysdeps/mach/hurd/tls.h: Likewise.
61042         [BZ #13067]
61043         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
61045         [BZ #13090]
61046         * configure.in: Fix use of AC_INIT.
61048         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
61050 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
61052         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
61053         __set_errno.
61054         * malloc/hooks.c: Likewise.
61056         [BZ #11929]
61057         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
61058         variables statically.
61059         (narenas): Initialize.
61060         (list_lock): Initialize.
61061         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
61062         initializtion of main_arena and list_lock.  Small cleanups.
61063         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
61064         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
61065         Add initializers to main_arena and mp_.
61066         (malloc_state): Remove pagesize member.  Change all users to use
61067         GLRO(dl_pagesize).
61069         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
61070         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
61071         is always initialized.
61073         * malloc/malloc.c: Removed unused configurations and dead code.
61074         * malloc/arena.c: Likewise.
61075         * malloc/hooks.c: Likewise.
61076         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
61078         * include/tls.h: Removed.  USE___THREAD must always be defined.
61079         * bits/libc-tsd.h: Don't handle !USE___THREAD.
61080         * elf/dl-libc.c: Likewise.
61081         * elf/dl-tsd.c: Likewise.
61082         * include/errno.h: Likewise.
61083         * include/netdb.h: Likewise.
61084         * include/resolv.h: Likewise.
61085         * inet/herrno-loc.c: Likewise.
61086         * inet/herrno.c: Likewise.
61087         * malloc/arena.c: Likewise.
61088         * malloc/hooks.c: Likewise.
61089         * malloc/malloc.c: Likewise.
61090         * resolv/res-state.c: Likewise.
61091         * resolv/res_libc.c: Likewise.
61092         * sysdeps/i386/dl-machine.h: Likewise.
61093         * sysdeps/ia64/dl-machine.h: Likewise.
61094         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
61095         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
61096         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
61097         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
61098         * sysdeps/sh/dl-machine.h: Likewise.
61099         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
61100         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
61101         * sysdeps/unix/i386/sysdep.S: Likewise.
61102         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
61103         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
61104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
61105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
61106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
61107         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
61108         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
61109         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
61110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
61112         * sysdeps/unix/x86_64/sysdep.S: Likewise.
61113         * sysdeps/x86_64/dl-machine.h: Likewise.
61114         * tls.make.c: Likewise.
61116         * configure.in: Remove --with-__thread option.  Make tests for
61117         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
61118         tls_model attribute fail if no support is available.  Remove
61119         USE_IN_LIBIO.
61120         * Makeconfig: Adjust for dropped configure option.  All features are
61121         now mandatory.
61122         * Makerules: Likewise.
61123         * Versions.def: Likewise.
61124         * argp/argp-fmtstream.c: Likewise.
61125         * argp/argp-fmtstream.h: Likewise.
61126         * argp/argp-help.c: Likewise.
61127         * assert/assert.c: Likewise.
61128         * config.h.in: Likewise.
61129         * config.make.in: Likewise.
61130         * configure: Likewise.
61131         * configure.in: Likewise.
61132         * csu/Versions: Likewise.
61133         * csu/init.c: Likewise.
61134         * elf/tst-audit2.c: Likewise.
61135         * elf/tst-tls10.c: Likewise.
61136         * elf/tst-tls10.h: Likewise.
61137         * elf/tst-tls11.c: Likewise.
61138         * elf/tst-tls12.c: Likewise.
61139         * elf/tst-tls14.c: Likewise.
61140         * elf/tst-tlsmod11.c: Likewise.
61141         * elf/tst-tlsmod12.c: Likewise.
61142         * elf/tst-tlsmod13.c: Likewise.
61143         * elf/tst-tlsmod13a.c: Likewise.
61144         * elf/tst-tlsmod14a.c: Likewise.
61145         * elf/tst-tlsmod15b.c: Likewise.
61146         * elf/tst-tlsmod16a.c: Likewise.
61147         * elf/tst-tlsmod16b.c: Likewise.
61148         * elf/tst-tlsmod7.c: Likewise.
61149         * elf/tst-tlsmod8.c: Likewise.
61150         * elf/tst-tlsmod9.c: Likewise.
61151         * gmon/gmon.c: Likewise.
61152         * grp/fgetgrent_r.c: Likewise.
61153         * grp/putgrent.c: Likewise.
61154         * hurd/fopenport.c: Likewise.
61155         * include/libc-symbols.h: Likewise.
61156         * include/tls.h: Likewise.
61157         * intl/gettextP.h: Likewise.
61158         * intl/loadinfo.h: Likewise.
61159         * locale/global-locale.c: Likewise.
61160         * locale/localeinfo.h: Likewise.
61161         * mach/devstream.c: Likewise.
61162         * malloc/arena.c: Likewise.
61163         * malloc/set-freeres.c: Likewise.
61164         * misc/err.c: Likewise.
61165         * misc/getttyent.c: Likewise.
61166         * misc/mntent_r.c: Likewise.
61167         * posix/getopt.c: Likewise.
61168         * posix/wordexp.c: Likewise.
61169         * pwd/fgetpwent_r.c: Likewise.
61170         * resolv/Versions: Likewise.
61171         * resolv/res_hconf.c: Likewise.
61172         * shadow/fgetspent_r.c: Likewise.
61173         * shadow/putspent.c: Likewise.
61174         * stdio-common/printf_fphex.c: Likewise.
61175         * stdio-common/tmpfile.c: Likewise.
61176         * stdlib/abort.c: Likewise.
61177         * stdlib/fmtmsg.c: Likewise.
61178         * sunrpc/auth_unix.c: Likewise.
61179         * sunrpc/clnt_perr.c: Likewise.
61180         * sunrpc/clnt_tcp.c: Likewise.
61181         * sunrpc/clnt_udp.c: Likewise.
61182         * sunrpc/clnt_unix.c: Likewise.
61183         * sunrpc/openchild.c: Likewise.
61184         * sunrpc/svc_simple.c: Likewise.
61185         * sunrpc/svc_tcp.c: Likewise.
61186         * sunrpc/svc_udp.c: Likewise.
61187         * sunrpc/svc_unix.c: Likewise.
61188         * sunrpc/xdr.c: Likewise.
61189         * sunrpc/xdr_array.c: Likewise.
61190         * sunrpc/xdr_rec.c: Likewise.
61191         * sunrpc/xdr_ref.c: Likewise.
61192         * sunrpc/xdr_stdio.c: Likewise.
61194 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61196         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61198 2011-07-03  Andreas Jaeger  <aj@suse.de>
61200         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
61201         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
61202         regenerate with gen-libm-tests.pl.
61204 2010-05-12  Petr Baudis  <pasky@suse.cz>
61206         [BZ #11589]
61207         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
61208         around j0() zero points by switching to j1().
61209         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61210         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
61212         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
61214 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61216         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
61217         instead of 0.
61218         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
61219         instead of 0.
61220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
61221         Patch in part by Pavel Roskin <proski@gnu.org>.
61223         [BZ #13138]
61224         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
61225         realloc.
61226         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
61227         Free memory block if necessary.
61229         [BZ #12847]
61230         * libio/genops.c (INTDEF): For string streams the _lock pointer can
61231         be NULL.  Don't lock in this case.
61233 2011-09-09  Roland McGrath  <roland@hack.frob.com>
61235         * elf/elf.h (ELFOSABI_GNU): New macro.
61236         (ELFOSABI_LINUX): Define to that.
61238 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
61240         * string/strncat.c (strncat): Undef the symbol in case it has been
61241         defined in bits/string.h.
61243 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
61245         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
61247         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
61248         link map.
61250 2011-08-17  Andreas Jaeger  <aj@suse.de>
61252         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61254 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61255             Ian Lance Taylor  <iant@google.com>
61257         * math/libm-test.inc (lround_test): New testcase.
61258         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61260 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
61262         * Makefile: Remove support for automatic cvs check-ins.
61263         * Makerules: Likewise.
61264         * config.make.in: Likewise.
61265         * configure.in: Likewise.
61266         * intl/Makefile: Likewise.
61267         * locale/Makefile: Likewise.
61268         * po/Makefile: Likewise.
61269         * posix/Makefile: Likewise.
61270         * sysdeps/gnu/Makefile: Likewise.
61271         * sysdeps/mach/hurd/Makefile: Likewise.
61272         * sysdeps/sparc/sparc32/Makefile: Likewise.
61274         [BZ #13118]
61275         * posix/Makefile (bug-regex32-ENV): Define.
61276         Patch by John Stanley <jpsinthemix@verizon.net>.
61278         * misc/Makefile (headers): Add bits/select2.h.
61279         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61280         * misc/bits/select2.h: New file.
61281         * include/bits/select2.h: New file.
61282         * debug/Makefile (routines): Add fdelt_chk.
61283         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61284         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61285         FD_ISSET.
61286         * debug/fdelt_chk.c: New file.
61288         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
61289         * wcsmbs/test-wmemcmp.c: Likewise.
61290         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61291         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61293 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61295         * string/Makefile (strop-tests): Add memcmp.
61296         * string/test-wmemcmp.c: New file.
61297         * string/test-memcmp.c: Add wmemcmp support.
61299 2011-09-08  Roland McGrath  <roland@hack.frob.com>
61301         [BZ #13153]
61302         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61303         2011-07-19 change.
61305         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61306         garbage value in a __mach_port_mod_refs call in the cases of the
61307         task-self and thread-self ports.
61309 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61311         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61313 2011-09-08  Andreas Schwab  <schwab@redhat.com>
61315         * elf/dl-load.c (lose): Check for non-null L.
61317 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61319         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61321         * elf/dl-libc.c (dlerror_run): Pass back error code from
61322         dl_catch_error.
61324         [BZ #13123]
61325         * elf/dl-load.c (lose): Free l_origin if it is valid.
61327         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61328         names.
61329         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61330         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61332         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61333         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61334         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61336 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61338         * sysdeps/powerpc/fpu/e_hypot.c: New file.
61339         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61340         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61341         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61342         * sysdeps/powerpc/fpu/k_cosf.c: New file.
61343         * sysdeps/powerpc/fpu/k_sinf.c: New file.
61344         * sysdeps/powerpc/fpu/s_cosf.c: New file.
61345         * sysdeps/powerpc/fpu/s_sinf.c: New file.
61346         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61347         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61349 2011-08-15  Alan Modra  <amodra@gmail.com>
61351         [BZ #13092]
61352         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61353         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61354         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
61355         ppc_mcount to static-only-routines.
61356         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61357         __mcount_internal.
61358         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61359         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
61361 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
61363         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61364         for finite and infinity parameters.
61366 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61368         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61369         and add nop instructions for throughput optimization.
61370         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61372 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
61374         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61375         aligned copy for power7 with vector-scalar instructions.
61376         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61378 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
61380         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61381         AVX check.
61383 2011-09-07  Andreas Schwab  <schwab@redhat.com>
61385         [BZ #13144]
61386         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61387         last change.
61389 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61391         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61392         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61393         syscall wrapper around clock_gettime in __vdso_clock_gettime.
61394         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61395         clock_gettime.
61397 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61399         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61400         Forgot to demangle the pointer.
61402         * sysdeps/i386/sysdep.h: Define atom_text_section.
61403         * sysdeps/x86_64/sysdep.h: Likewise.
61404         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61405         section with atom_text_section.
61406         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61407         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61408         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61409         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61410         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61412         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61413         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61414         already be defined.  Change to take two parameters and don't assign
61415         result to variable.  Adjust all users.
61416         Define INTERNAL_GETTIME if not already defined.
61417         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61418         call.
61419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61420         HAVE_CLOCK_GETTIME_VSYSCALL.
61421         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61423         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61424         gettimeofday vsyscall, just use time.
61426 2011-09-06  Andreas Schwab  <schwab@redhat.com>
61428         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61429         <errno.h>.
61431 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61433         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61434         syscall on x86-64.
61435         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61436         syscall.
61437         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61438         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61439         syscall if possible.
61441 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61443         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61444         e_ident.  Don't pass to find_mapsXX.
61445         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61447 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61450         strchr-sse2-no-bsf strrchr-sse2-no-bsf
61451         * sysdeps/x86_64/multiarch/strchr.S: Update.
61452         Check bit_slow_BSF bit.
61453         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61454         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61455         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61457 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61459         [BZ #13134]
61460         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61461         before glibc 2.15.
61462         (tryshell): Define.
61463         (__spawni): Change last parameter to be flag.  Test
61464         SPAWN_XFLAGS_USE_PATH flag to use path or not.
61465         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61466         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61467         * posix/spawni.c: Likewise.
61468         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61469         * posix/spawnp.c: Likewise.  Change normal version to use
61470         SPAWN_XFLAGS_USE_PATH.
61471         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61472         SPAWN_XFLAGS_TRY_SHELL.
61474         [BZ #13150]
61475         * posix/glob.h: Remove gcc 1.x support.
61477         [BZ #13068]
61478         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61480 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61482         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61483         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61484         strrchr-sse2-bsf
61485         * sysdeps/i386/i686/multiarch/strchr.S: New file.
61486         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61487         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61488         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61489         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61490         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61492 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61494         * sysdeps/x86_64/wcscmp.S: New file.
61496         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61497         wcscmp-c wcscmp-sse2
61498         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61499         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61500         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61501         * wcsmbs/wcscmp.c: Allow renaming.
61503 2011-09-05  David S. Miller  <davem@davemloft.net>
61505         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61506         stack slot, rather than the struct return pointer slot.
61507         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61508         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61509         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61510         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61512 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61514         * po/ja.po: Update from translation team.
61516         [BZ #13144]
61517         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61518         kernel in 64-bit binaries.
61520 2011-09-01  David S. Miller  <davem@davemloft.net>
61522         * elf/elf.h (HWCAP_SPARC_*): Move to..
61523         * sysdeps/sparc/sysdep.h: this new file and add new values.
61524         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61525         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61526         _DL_HWCAP_COUNT to 24.
61527         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61528         entries.
61529         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61530         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61531         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61532         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61533         instead of magic constants.
61534         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61536 2011-08-31  David S. Miller  <davem@davemloft.net>
61538         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61539         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61540         Reimplement to do errno handling inline.
61541         (SYSCALL_ERROR_HANDLER): New macro.
61542         (__SYSCALL_STRING): Do not do errno handling in asm.
61543         (__CLONE_SYSCALL_STRING): Delete.
61544         (__INTERNAL_SYSCALL_STRING): Delete.
61545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61546         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61547         (PSEUDO): Reimplement to do errno handling inline.
61548         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61549         (SYSCALL_ERROR_HANDLER): New macro.
61550         (__SYSCALL_STRING): Do not do errno handling in asm.
61551         (__CLONE_SYSCALL_STRING): Delete.
61552         (__INTERNAL_SYSCALL_STRING): Delete.
61553         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61554         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61555         i386.
61556         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61557         (inline_syscall*): Add 'err' argument.
61558         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61559         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61560         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61561         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61563         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61564         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61566 2011-08-30  Andreas Schwab  <schwab@redhat.com>
61568         * elf/rtld.c (dl_main): Relocate objects in dependency order.
61570 2011-08-29  Jiri Olsa <jolsa@redhat.com>
61572         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61573         directive.
61575 2011-08-24  David S. Miller  <davem@davemloft.net>
61577         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61579 2011-08-24  Andreas Schwab  <schwab@redhat.com>
61581         * elf/Makefile: Add rules to build and run unload8 test.
61582         * elf/unload8.c: New file.
61583         * elf/unload8mod1.c: New file.
61584         * elf/unload8mod1x.c: New file.
61585         * elf/unload8mod2.c: New file.
61586         * elf/unload8mod3.c: New file.
61588         * elf/dl-close.c (_dl_close_worker): Reset private search list if
61589         it wasn't used.
61591 2011-08-23  David S. Miller  <davem@davemloft.net>
61593         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61594         subtract stack bias.
61595         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61596         %sp not %fp in calculations.
61597         (_JMPBUF_UNWINDS_ADJ): Likewise.
61599         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61600         (aio_suspend): Call it to force an exception region around the
61601         AIO_MISC_WAIT() invocation.
61603 2011-08-23  Andreas Schwab  <schwab@redhat.com>
61605         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61606         backslash.
61608 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
61610         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61611         protection macro.
61612         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61613         and <dl-machine.h>.
61614         (Elf64_FuncDesc): Remove.
61616 2011-08-22  David S. Miller  <davem@davemloft.net>
61618         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61619         sigaltstack check, add missing cfi directives.
61620         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61621         missing cfi directives, and sigaltstack handling.
61623 2011-08-16  Andreas Schwab  <schwab@redhat.com>
61625         [BZ #11724]
61626         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61627         object is seen twice.
61628         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61630         * elf/Makefile (distribute): Add tst-initorder2.c.
61631         (tests): Add tst-initorder2.
61632         (modules-names): Add tst-initorder2a tst-initorder2b
61633         tst-initorder2c tst-initorder2d.  Add rules to build them.
61634         ($(objpfx)tst-initorder2.out): New rule.
61635         * elf/tst-initorder2.c: New file.
61636         * elf/tst-initorder2.exp: New file.
61638 2011-08-22  Andreas Schwab  <schwab@redhat.com>
61640         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61642         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61643         dependencies back to end of function.
61645         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61646         $(elfobjdir)/ld.so.
61648 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
61650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61651         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61652         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61653         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61654         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61655         of __vdso_gettimeofday.
61656         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61657         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
61658         attribute_hidden.
61659         (_libc_vdso_platform_setup): Remove initialization of
61660         __vdso_gettimeofday and __vdso_time.
61662 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
61664         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61665         and fgetc_unlocked.
61666         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61667         getc_unlocked.
61669         * elf/dl-open.c (add_to_global): Report additions to the global scope
61670         for LD_DEBUG=scopes.
61671         (dl_open_worker): Also print scope of newly loaded dependencies.
61672         (_dl_show_scope): Indicate if there is no scope.
61674         [BZ #13114]
61675         * stdio-common/Makefile (tests): Add bug24.
61676         * stdio-common/bug24.c: New file.
61678 2011-08-19  Andreas Jaeger  <aj@suse.de>
61680         [BZ #13114]
61681         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61682         non-existant file when using close-on-exec mode.
61684 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
61686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61687         the very first instruction.
61689         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61690         the CFI state in the end.
61691         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61692         inclusion of dl-trampoline.h.
61693         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61695 2011-08-19  Andreas Schwab  <schwab@redhat.com>
61697         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61698         expectations for long double.
61700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61701         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61703 2011-08-14  David S. Miller  <davem@davemloft.net>
61705         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61706         artificual limit depends upon the system page size.
61708 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
61710         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61711         * resolv/Makefile: Define CFLAGS-libresolv.
61713 2011-08-17  Andreas Schwab  <schwab@redhat.com>
61715         * nss/makedb.c (compute_tables): Make variables used in nested
61716         function static.
61718 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
61720         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61721         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61722         if buffer was too small.
61724         * elf/pldd.c (main): Attach to all threads in the process.
61725         Rewrite /proc handling to use *at functions.
61727 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
61729         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61730         specifies first scope to show.
61731         (dl_open_worker): Update callers.  Move printing scope of new
61732         object to before the relocation.
61733         * elf/rtld.c (dl_main): Update _dl_show_scope call.
61734         * sysdeps/generic/ldsodefs.h: Update declaration.
61736         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61737         string for the scope number.
61739 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
61741         * nscd/servicescache.c (cache_addserv): Make sure written is always
61742         initialized.
61744 2011-08-14  Roland McGrath  <roland@hack.frob.com>
61746         * sysdeps/i386/i486/bits/atomic.h
61747         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61748         statement expression, so as to suppress "set but not used" warning.
61749         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61751         * string/strncat.c (STRNCAT): Use prototype definition.
61753         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61754         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61755         -Iprograms here.
61756         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61757         (localedef-modules): Add localedef.
61758         (locale-modules): Add locale.
61760         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61761         * elf/rtld.c (dl_main): Invert order of assignment in last change,
61762         to avoid a warning.
61764 2011-08-14  David S. Miller  <davem@davemloft.net>
61766         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61767         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61769 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
61771         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61772         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61773         * elf/rtld.c (dl_main): Set l_name of vDSO.
61774         Call _dl_show_scope when DL_DEBUG_SCOPES.
61775         (process_dl_debug): Recognize scopes flag and also set it for all.
61776         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61777         Declare _dl_show_scope.
61779         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61780         (do_dlopen): Pass caller_dlopen to dl_open.
61781         (__libc_dlopen_mode): Initialize caller_dlopen.
61783         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61784         of libc.  Make tolower call locale-independent.  Optimize a bit by
61785         using isdigit instead of isalnum.
61786         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61788 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
61790         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61791         was a dependency or dynamically loaded.
61793 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
61795         * intl/l10nflist.c: Allow architecture-specific pop function.
61796         * sysdeps/x86_64/l10nflist.c: New file.
61798         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61799         classification.
61801 2011-08-10  Andreas Schwab  <schwab@redhat.com>
61803         * include/dirent.h: Add libc_hidden_proto for scandirat and
61804         scandirat64.  Don't declare __scandirat64.
61805         * dirent/scandirat.c: Add libc_hidden_def.
61806         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61807         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61809 2011-08-10  David S. Miller  <davem@davemloft.net>
61811         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61812         enum.
61813         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61814         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61815         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61817 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
61819         * Versions.def [libc]: Add GLIBC_2.15.
61820         * dirent/Makefile (routines): Add scandirat and scandirat64.
61821         * dirent/Versions [libc]: Export scandirat and scandirat64 for
61822         GLIBC_2.15.
61823         * dirent/dirent.h: Declare scandirat and scandirat64.
61824         * dirent/scandirat.c: New file.
61825         * dirent/scandirat64.c: New file.
61826         * sysdeps/wordsize-64/scandirat.c: New file.
61827         * sysdeps/wordsize-64/scandirat64.c: New file.
61828         * dirent/opendir.c: Define opendirat.
61829         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
61830         using scandirat.
61831         * dirent/scandir64.c: Adjust for scandir.c change.
61832         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
61833         __scandirat64, and __scandir_cancel_handler.
61834         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
61835         additional parameter and use openat instead of open (outside of ld.so).
61836         Add new __opendir as wrapper around __opendirat.
61837         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61838         here without requiring old scandirat implementation.
61840 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
61842         * dirent/scandir.c (cancel_handler): Renamed to
61843         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
61844         defined.  Adjust users.
61845         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61846         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61848 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
61850         * string/test-string.h (IMPL): Use __STRING to expand name and then
61851         stringify it.
61853         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
61854         of cleanups.
61856 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61858         * string/Makefile: Update.
61859         (strop-tests): Append strncat.
61860         * string/test-wcscmp.c: New file.
61861         New comprehensive test for wcscmp.
61862         * string/test-strcmp.c: Update.
61863         (WIDE): New define.
61865 2011-07-22  Andreas Schwab  <schwab@redhat.com>
61867         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61868         line.
61870 2011-07-26  Andreas Schwab  <schwab@redhat.com>
61872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61873         encoding to ACE if AI_IDN.
61875 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
61877         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61878         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61880 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61882         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61883         Fix overflow bug in strncat.
61884         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61886         * string/test-strncat.c: Update.
61887         Add new tests for checking overflow bugs.
61889 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61891         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61892         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61893         * sysdeps/i386/i686/multiarch/strcat.S: New file.
61894         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61895         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61896         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61897         * sysdeps/i386/i686/multiarch/strncat.S: New file.
61898         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61899         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61901         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61902         (USE_AS_STRCAT): Define.
61903         Add strcat and strncat support.
61904         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61906 2011-07-25  Andreas Schwab  <schwab@redhat.com>
61908         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61909         __n bigger than INT_MAX+1.
61910         (__strncmp_g): Likewise.
61912 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
61914         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61915         * libio/stido.h: Likewise.
61917         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61918         (AF_NFC): Define.
61919         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61920         (AF_NFC): Define.
61922         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61923         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61924         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61925         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61926         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61928         [BZ #13021]
61929         * scripts/test-installation.pl: Don't expect libnss_test1 to be
61930         installed.
61932         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61933         typo.
61934         (_dl_x86_64_save_sse): Likewise.
61936 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
61938         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61939         OSXSAVE.
61940         (_dl_x86_64_save_sse): Likewise.
61942         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61944         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61946 2011-07-21  Andreas Schwab  <schwab@redhat.com>
61948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61949         change.
61950         (_dl_x86_64_save_sse): Use correct AVX check.
61952 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61954         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61955         bug in strncpy/strncat.
61956         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61958 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
61960         * string/tester.c (test_strcat): Add tests for different alignments
61961         of source and destination.
61962         (test_strncat): Likewise.
61964 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61966         [BZ #12852]
61967         * posix/glob.c (glob): Check passed in values before using them in
61968         expressions to avoid some overflows.
61969         (glob_in_dir): Likewise.
61971         [BZ #13007]
61972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61973         check for AVX enablement so that we don't crash with old kernels and
61974         new hardware.
61975         * elf/tst-audit4.c: Add same checks here.
61976         * elf/tst-audit6.c: Likewise.
61978         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61980 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61982         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61984 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61986         * po/cs.po: Update from translation team.
61987         * po/bg.po: Likewise.
61989 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61991         * misc/sys/cdefs.h: Add support for const attribute.
61992         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61993         to gnu_dev_{major,minor,makedev} functions.
61995 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61997         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61999 2011-07-20  Andreas Schwab  <schwab@redhat.com>
62001         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
62002         strlen results.
62004 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62006         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
62007         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
62008         register in order to avoid conflicts with the soft frame pointer
62009         being held in r11 when necessary.
62010         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
62011         (INTERNAL_VSYSCALL_NCS): Likewise.
62013 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
62015         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
62016         * elf/dl-fini.c (_dl_fini): Adjust caller.
62017         * elf/dl-close.c (_dl_close_worker): Likewise.
62018         * sysdeps/generic/ldsodefs.h: Adjust declaration.
62020 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
62022         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
62023         "aux_cache->nlibs < 0".
62025         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
62026         in the reload-count case.
62028 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62030         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62031         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
62032         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
62033         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
62034         * sysdeps/x86_64/multiarch/strcat.S: New file.
62035         * sysdeps/x86_64/multiarch/strncat.S: New file.
62036         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
62037         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
62038         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
62039         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
62040         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
62041         (USE_AS_STRCAT): Define.
62042         Add strcat and strncat support.
62043         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62044         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
62045         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
62046         * string/strncat.c: Update.
62047         (USE_AS_STRNCAT): Define.
62048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62049         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
62050         and i7.
62051         * sysdeps/x86_64/multiarch/init-arch.h
62052         (bit_Prefer_PMINUB_for_stringop): New.
62053         (index_Prefer_PMINUB_for_stringop): Likewise.
62054         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
62055         bit_Prefer_PMINUB_for_stringop.
62057 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
62059         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
62060         buffer64.
62061         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
62062         of casting of buffer.
62063         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
62064         buffer32 and buffer64.
62065         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
62066         writes instead of casting of buffer.
62067         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
62068         buffer32.
62069         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
62070         casting of buffer.
62072 2011-07-19  Andreas Schwab  <schwab@redhat.com>
62074         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
62076 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
62078         * nscd/nscd.c (termination_handler): Don't do anything for a database
62079         if it has not yet been initialized.
62081 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
62083         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62085 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
62087         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
62089 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
62091         * po/nl.po: Update from translation team.
62092         * po/sv.po: Likewise.
62094 2011-07-16  Roland McGrath  <roland@hack.frob.com>
62096         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
62097         now disallowed by GCC.
62099         * configure.in (use-default-link): Default to yes if a test -shared
62100         link meets our qualifications.
62101         * configure: Regenerated.
62103         * config.make.in (output-format): New variable.
62104         * configure.in: Check for ld --print-output-format support.
62105         * configure: Regenerated.
62106         * Makerules ($(common-objpfx)format.lds)
62107         [$(output-format) != unknown]: Just use $(output-format),
62108         instead of the linker-script munging.
62110 2011-07-14  Roland McGrath  <roland@hack.frob.com>
62112         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
62113         of $(common-objpfx)shlib.lds.
62114         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
62116         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
62117         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
62119         * configure.in (-z relro check): Adjust test code to add a large
62120         writable data section after it.
62121         * configure: Regenerated.
62123 2011-07-11  Roland McGrath  <roland@hack.frob.com>
62125         * configure.in (-z relro check): Fix test code to make the variable
62126         truly const.
62127         * configure: Regenerated.
62129 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
62131         * nscd/nscd.h (struct traced_file): Define.
62132         (struct database_dyn): Remove inotify_descr, reset_res, and filename
62133         elements.  Add traced_files.
62134         (inotify_fd): Declare.
62135         (register_traced_file): Declare.
62136         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
62137         (inotify_fd): Export.
62138         (resolv_conf_descr): Remove.
62139         (nscd_init): Move inotify descriptor creation to main.
62140         Don't register files for notification here.
62141         (register_traced_file): New function.
62142         (invalidate_cache): Don't use reset_res to determine whether to call
62143         res_init, go through the list of registered files.
62144         (main_loop_poll): The inotify descriptors are now stored in the
62145         structures for the traced files.
62146         (main_loop_epoll): Likewise
62147         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
62148         to __nss_disable_nscd.
62149         * nscd/cache.c (prune_cache): There is no single inotify descriptor
62150         for a database anymore.  Check the records for all the registered
62151         files instead.
62152         * nss/Makefile (libnss_files-routines): Add files-init.
62153         (libnss_db-routines): Add db-init.
62154         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
62155         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
62156         * nss/nss_db/db-init.c: New file.
62157         * nss/nss_files/files-init.c: New file.
62158         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
62159         __nss_lookup_function.
62160         (__nss_lookup_function): Call nss_load_library.
62161         (nss_load_all_libraries): New function.
62162         (__nss_disable_nscd): Take parameter with callback function for files
62163         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
62164         used for the cached services.
62165         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
62166         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
62167         options for features to all the files in nscd.
62169         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
62171 2011-07-10  Roland McGrath  <roland@hack.frob.com>
62173         * csu/elf-init.c (__libc_csu_init): Comment typo.
62175 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
62177         * po/pl.po: Update from translation team.
62178         * po/ja.po: Likewise.
62179         * po/ru.po: Likewise.
62180         * po/ko.po: Likewise.
62181         * po/fr.po: Likewise.
62183 2011-07-09  Roland McGrath  <roland@hack.frob.com>
62185         * configure.in (.ctors/.dtors header and trailer check):
62186         Use an empirical test on a built program.
62187         * configure: Regenerated.
62189         * configure.in (-z relro check): Use an empirical test on a built DSO.
62190         Detect, but do not require, on ia64.
62191         * configure: Regenerated.
62193         * configure.in (READELF): Find it with AC_CHECK_TOOL.
62194         Update tests that use readelf to use $READELF instead.
62195         * configure: Regenerated.
62197 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
62199         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
62200         if the result is not used.
62202 2011-07-05  Andreas Jaeger  <aj@suse.de>
62204         [BZ#9696]
62205         * stdlib/tst-strtod.c: Add testcase.
62207 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
62209         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
62210         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
62211         The latter has a higher limit.  Take additional parameter to pass to
62212         the new function.
62213         (__pathconf): Pass file to __statfs_link_max.
62214         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
62215         __statfs_link_max.
62216         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
62217         __statfs_link_max.
62219         [BZ #12868]
62220         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
62221         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62222         Handle Lustre.
62223         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
62224         (__statfs_filesize_max): Likewise.
62225         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
62227 2011-07-05  Andreas Jaeger  <aj@suse.de>
62229         * resolv/res_comp.c (dn_skipname): Remove unused variable.
62231 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
62233         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
62234         `status' variable.
62235         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
62236         Likewise.
62238 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
62240         * Makefile (strop-tests): Add strncat.
62241         * string/test-strncat.c: New file.
62243 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
62245         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
62247 2011-06-21  Andreas Jaeger  <aj@suse.de>
62249         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
62250         Copy rule from iconvdata/Makefile.
62252 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62254         [BZ #12922]
62255         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62256         but no long options are defined, just return 'W'.
62258 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
62260         [BZ #9696]
62261         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62263 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62265         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62266         netgroups to read.
62267         (innetgr): Likewise.
62269 2011-07-05  Roland McGrath  <roland@hack.frob.com>
62271         * config.make.in (install_root): Default to $(DESTDIR).
62273 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
62275         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62277 2011-07-02  Roland McGrath  <roland@hack.frob.com>
62279         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62281         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62282         containing directory rather than embedding absolute directory names.
62284         * scripts/check-local-headers.sh: Rewritten using awk.
62285         Match by word, not by line.  Print error messages for matches.
62286         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62288         * Makerules [shlib-lds-flags empty]:
62289         ($(common-objpfx)libc_pic.opts): New target.
62290         ($(common-objpfx)libc_pic.os.clean): New target.
62291         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62293         * config.make.in (OBJCOPY): New variable.
62294         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62295         * configure: Regenerated.
62297         * config.make.in (use-default-link): New variable.
62298         * configure.in (use_default_link): Grok --with-default-link to set it.
62299         * configure: Regenerated.
62300         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62301         (shlib-lds, shlib-lds-flags): Define to empty.
62303         * Makerules (shlib-lds): New variable.
62304         (shlib-lds-flags): New variable.
62305         (build-shlib, build-moduile, build-module-asneeded): Use it.
62306         ($(common-objpfx)libc.so): Use $(shlib-lds).
62307         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62308         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62310         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62311         DT_FLAGS/DT_FLAGS_1 with zero flags.
62313         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62314         linker script munging.
62316 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
62318         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62319         as 128-bit value.
62320         * crypt/sha512.c (sha512_process_block): Perform total addition using
62321         128-bit if possible.
62322         (__sha512_finish_ctx): Likewise.
62323         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62324         as 64-bit value.
62325         * crypt/sha256.c (SWAP64): Define.
62326         (sha256_process_block): Perform total addition using 64-bit if
62327         possible.
62328         (__sha256_finish_ctx): Likewise.
62330 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
62332         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
62333         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62334         * nscd/hstcache.c (cache_addhst): Likewise.
62335         * nscd/grpcache.c (cache_addgr): Likewise.
62336         * nscd/aicache.c (addhstaiX): Likewise
62337         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62339 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
62341         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62342         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62343         * nscd/hstcache.c (cache_addhst): Likewise.
62344         * nscd/grpcache.c (cache_addgr): Likewise.
62345         * nscd/aicache.c (addhstaiX): Likewise
62347 2011-07-01  Andreas Schwab  <schwab@redhat.com>
62349         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62350         domain only when needed.
62352 2011-06-30  Andreas Schwab  <schwab@redhat.com>
62354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62355         is always restored.
62357 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
62359         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62360         are re-adding the entry.
62361         * nscd/servicescache.c (cache_addserv): Likewise.
62363 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
62365         * sysdeps/generic/dl-irel.h: fix protection against multiple
62366         inclusions.
62367         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62369 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
62371         [BZ #12935]
62372         * malloc/memusage.sh: Fix quoting in message.
62373         * debug/xtrace.sh: Likewise.
62375         * configure.in: Remove support for --experimental-malloc option, make
62376         it the default.
62377         * config.make.in: Likewise.
62378         * malloc/Makefile: Likewise.
62380 2011-06-27  Andreas Schwab  <schwab@redhat.com>
62382         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62383         two-byte characters.
62385 2011-06-27  Roland McGrath  <roland@hack.frob.com>
62387         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62388         AC_CACHE_CHECK invocation.
62389         * configure: Regenerated.
62391         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62393 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
62395         [BZ #12350]
62396         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
62397         bit from old_res_options.
62399         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62401         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62402         value type for setfct.
62404 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
62406         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62407         __gettimeofday instead of gettimeofday.
62409 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
62411         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62413 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
62415         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62417         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62418         info.
62420 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62422         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62423         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62424         strcpy-sse2-unaligned strncpy-sse2-unaligned
62425         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62426         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62427         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62428         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62429         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62430         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62431         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62432         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62433         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62434         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62435         (STRCPY): Support SSE2 and SSSE3 versions.
62437 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
62439         [BZ #12874]
62440         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62441         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62442         kernels which artificially limit size of requests.
62444 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62447         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62448         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62449         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62450         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62451         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62452         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62453         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62454         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62455         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62456         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62457         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62458         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62459         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62460         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62462         Enable unaligned load optimization for Intel Core i3, i5 and i7
62463         processors.
62464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62465         Define.
62466         (index_Fast_Unaligned_Load): Define.
62467         (HAS_FAST_UNALIGNED_LOAD): Define.
62469 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
62471         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62473 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62475         [BZ #12907]
62476         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62477         until it is clear that the information is realy needed.
62478         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62480 2011-06-22  Andreas Schwab  <schwab@redhat.com>
62482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62484 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62486         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62487         /sys/devices/system/cpu/online if it is usable.
62489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62490         reading the information from the /proc filesystem to once a second.
62492 2011-06-21  Andreas Jaeger  <aj@suse.de>
62494         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62495         NULL after inclusion of kernel headers.
62497 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
62499         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62500         calls to internal_setent.
62502         [BZ #12885]
62503         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62504         addresses using gethostbyname4_r ignore IPv4 addresses.
62506         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62507         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
62509         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62511 2011-06-20  David S. Miller  <davem@davemloft.net>
62513         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62514         inclusions.
62515         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62517         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62518         (elf_irel): Use it.
62519         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62520         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62521         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62522         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62523         * sysdeps/x86_64/dl-irel.h: Likewise.
62525         * elf/dl-runtime.c: Use elf_ifunc_invoke.
62526         * elf/dl-sym.c: Likewise.
62528 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
62530         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
62531         need to dereference resplen2.
62533 2011-06-14  Andreas Schwab  <schwab@redhat.com>
62535         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62537 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
62539         * Makeconfig: Define vardbdir and inst_vardbdir.
62540         * nss/Makefile: Add rules to install db-Makefile.
62542         * nss/nss_db/db-XXX.c: Cleanup.
62544         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62545         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62546         GLIBC_PRIVATE.
62547         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62548         * nss/makedb.c: Implement -g option to specify that value strings
62549         are generated and should not be added to table iterated over for
62550         get*ent calls.
62551         * nss/nss_db/db-initgroups.c: New file.
62553         * nss/getent.c: Add support for initgroups lookups through getgrouplist
62554         interface.
62556         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62557         (internal_getgrouplist): Adjust to name change.
62558         Update use_initgroups_entry if this is not the first call.
62559         * nss/databases.def: Add initgroups entry.
62561         * nss/makedb.c (compute_tables): Check result of multiple hash table
62562         sizes to minimize maximum chain length.
62564 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
62566         * Versions.def: Add entry for libnss_db.
62567         * shlib-versions: Likewise.
62568         * nss/Makefile: Add rules to build libnss_db.
62569         * nss/Versions: Add libnss_db information.  Organize libnss_files
62570         entries better.
62571         * nss/db-Makefile: Add gshadow support.  Change rules for the new
62572         makedb progra.  Some minor improvements to generate smaller files.
62573         * nss/nss_db/nss_db.h: Move NSS database header data structures to
62574         here from...
62575         * nss/makedb.c: ...here.
62576         Improve database format to be smaller and require less memory at
62577         runtime.
62578         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
62579         db anymore.
62580         * nss/nss_db/db-netgrp.c: Likewise.
62581         * nss/nss_db/db-open.c: Likewise.
62582         * nss/nss_files/flies-XXX.x: Adjust comments.
62583         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62584         * nss/nss_files/files-grp.c: Likewise.
62585         * nss/nss_files/files-hosts.c: Likewise.
62586         * nss/nss_files/files-network.c: Likewise.
62587         * nss/nss_files/files-proto.c: Likewise.
62588         * nss/nss_files/files-pwd.c: Likewise.
62589         * nss/nss_files/files-rpc.c: Likewise.
62590         * nss/nss_files/files-service.c: Likewise.
62591         * nss/nss_files/files-sgrp.c: Likewise.
62592         * nss/nss_files/files-spwd.c: Likewise.
62593         * nss/nss_db/db-alias.c: Removed.
62594         * nss/nss_db/dummy-db.h: Removed.
62596 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
62598         * nss/makedb.c: Rewritten to not use database library.
62599         * nss/Makefile: Update to build new makedb program.
62601 2011-06-14  Andreas Jaeger  <aj@suse.de>
62603         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62604         memset declaration.
62606 2011-06-10  Andreas Schwab  <schwab@redhat.com>
62608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62609         tmpbuf.
62611 2011-06-10  Roland McGrath  <roland@hack.frob.com>
62613         * Makerules (shlib.lds): Fail if the linker script comes out empty.
62614         * elf/Makefile ($(objpfx)ld.so): Likewise.
62616         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62617         Don't list ld.so twice in dependencies.
62619         * posix/bug-regex31.c: Include <stdlib.h>.
62621         * nscd/hstcache.c (cache_addhst): Remove unused variable.
62623         * nis/nss_compat/compat-spwd.c
62624         (getspent_next_nss_netgr): Remove unused variable.
62625         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62627         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62628         nonmembers" output to use the right array.
62630         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62632         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62634         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62635         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62636         * catgets/gencat.c (read_input_file): Likewise.
62637         * locale/programs/locarchive.c (enlarge_archive): Likewise.
62639         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62640         variable definition inside #if's controlling its use.
62642         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62644         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62646         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62648         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62649         unreachable code.
62651         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62653         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62654         * configure: Regenerated.
62656         * Makerules: Revert last change.
62657         * elf/Makefile: Likewise.
62659 2011-06-09  Roland McGrath  <roland@hack.frob.com>
62661         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62662         * elf/Makefile ($(objpfx)librtld.os): Likewise.
62663         (reloc-link): Likewise.
62665 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
62667         * elf/Makefile: Add rules to build pldd.
62668         * elf/pldd.c: New file.
62669         * elf/pldd-xx.c: New file.
62671 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
62673         * version.h: Update for 2.15 development version.
62675 2011-06-07  David S. Miller  <davem@davemloft.net>
62677         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62678         ifuncs.
62679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62680         elf_machine_lazy_rel): Likewise.
62681         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62683         elf_machine_lazy_rel): Likewise.
62684         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62685         dl_hwcap via passed in argument.
62686         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62687         Likewise.
62689 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62691         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
62693 2011-06-06  Roland McGrath  <roland@hack.frob.com>
62695         [BZ #12849]
62696         * manual/fdl-1.1.texi: New file, verbatim from:
62697         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62698         * manual/lgpl-2.1.texi: New file, verbatim from:
62699         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62700         * manual/Makefile (licenses): New variable, list those new file names.
62701         (texis): Use it.
62702         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62704         * manual/fdl.texi: File removed.
62705         * manual/lesser.texi: File removed.
62706         * manual/libc.texinfo (Copying, Documentation License):
62707         Use new @include file names, put @appendix directive before @include.
62709 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
62711         [BZ #12841]
62712         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62713         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62714         (mq_open): Add __NTH.
62716 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
62718         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62719         Assume Intel Core i3/i5/i7 processor if AVX is available.
62721 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
62723         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62724         typo.
62726 2011-05-31  Andreas Schwab  <schwab@redhat.com>
62728         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62729         memory.  Use alloca_account.  Fix memory leak when retrying.
62731 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
62733         * version.h (RELEASE): Bump for 2.14 release.
62734         * include/features.h (__GLIBC_MINOR__): Bump to 14.
62736         * config.make.in (RANLIB): Remove entry.
62738 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
62740         * po/Makefile (po-sed-cmd): Add ksh to extensions.
62741         (libc.pot): Work around missing support for .ksh extension in xgettext.
62743         [BZ #12684]
62744         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62745         if both request failed.
62746         (send_dg): In case of server errors clear resplen or *resplen2.
62748         [BZ #12454]
62749         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62750         when there are multiple maps.
62751         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62752         (_dl_fini): Remove test here.
62754         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62756 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
62758         [BZ #12350]
62759         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62760         bit from old_res_options.
62761         (gaih_inet): Likewise.
62763         [BZ #11099]
62764         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62765         as signed.
62767         * resolv/res_init.c (res_setoptions): Make the code more compact.
62769         [BZ #11558]
62770         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62771         set RES_USEVC.
62773         [BZ #11634]
62774         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62776         * malloc/malloc.h: Mark malloc hook variables as deprecated.
62778         [BZ #11781]
62779         * malloc/malloc.h: Declare malloc hook variables as volatile.
62781         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62782         in last patch.
62784         [BZ #11799]
62785         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62786         raise in the comment.
62787         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62788         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62789         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62791 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
62793         [BZ #12811]
62794         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62795         grow the buffers more if it already has to be sufficient.
62796         (build_wcs_upper_buffer): Likewise.
62797         * posix/regexec.c (check_matching): Likewise.
62798         (clean_state_log_if_needed): Likewise.
62799         (extend_buffers): Don't enlarge buffers beyond size of the input
62800         buffer.
62801         Patches mostly by Emil Wojak <emil@wojak.eu>.
62802         * posix/bug-regex32.c: New file.
62803         * posix/Makefile (tests): Add bug-regex32.
62805         * locale/findlocale.c (_nl_find_locale): Return right away if
62806         _nl_explode_name failed.
62807         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62809         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62811         * debug/xtrace.sh: Unify messages.
62812         * malloc/memusage.sh: Likewise.
62814         [BZ #12813]
62815         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62816         time symbol from vDSO.  Substitute with vsyscall if not available.
62817         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62818         __vdso_time.
62820         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62821         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62822         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62823         Add sendmmsg and internal_sendmmsg.
62824         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62825         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62826         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62828         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62829         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62830         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62832 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
62834         [BZ #12813]
62835         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62836         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
62837         available.
62838         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62839         __vdso_getcpu.
62841         [BZ #12814]
62842         * iconvdata/Makefile (tests): Add bug-iconv9.
62843         * iconvdata/bug-iconv9.c: New file.
62845 2011-05-27  Andreas Schwab  <schwab@redhat.com>
62847         [BZ #12814]
62848         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62850 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
62852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62853         (struct user_regs_struct): Change intcs field back to cs.
62855 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
62857         * po/ja.po: Update from translation team.
62859 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
62861         [BZ #12795]
62862         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62863         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62865 2011-05-20  Andreas Schwab  <schwab@redhat.com>
62867         * stdlib/longlong.h: Update from GCC.
62869 2011-05-23  Andreas Schwab  <schwab@redhat.com>
62871         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62872         parameter name.
62873         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62874         Add parameter name.
62875         (__sysconf): Pass it down.
62877 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
62879         [BZ #12671]
62880         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62881         some situations.
62882         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62883         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62884         add in in __libc_use_alloca calls.  Adjust callers.
62885         (glob): Use malloc in some situations.
62887         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62888         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62889         pltexit.
62891 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
62893         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62894         and CLOCK_BOOTTIME_ALARM.
62896         [BZ #12782]
62897         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62898         is returned.
62900         * string/_strerror.c (__strerror_r): Print negative errors as signed
62901         numbers.
62903         [BZ #12777]
62904         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62905         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62906         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62908         * configure.in: Fix typo in redirection and correct removal of test
62909         files in two cases.
62911         [BZ #12788]
62912         * locale/setlocale.c (new_composite_name): Fix test to check for
62913         identical name of all categories.
62915         [BZ #12792]
62916         * libio/filedoalloc.c (local_isatty): New function.
62917         (_IO_file_doallocate): Use local_isatty.
62918         * stdio-common/perror.c (perror): In case a new stream is used
62919         forward the stream error.
62920         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62921         error flag.
62923 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
62925         [BZ #11869]
62926         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62927         alloca.
62928         * include/alloca.h (extend_alloca_account): Define.
62930         [BZ #11857]
62931         * posix/regex.h: Fix comments with documentation of user-accessible
62932         fields after compilation and describe correct free'ing of pattern
62933         after re_compile_pattern.
62934         Patch by Reuben Thomas <rrt@sc3d.org>.
62936 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
62938         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62939         and -mno-altivec to prevent the compiler from using Altivec and/or
62940         VSX instructions when the corresponding registers are not available.
62942 2011-05-19  Andreas Schwab  <schwab@redhat.com>
62944         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62946 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
62948         * libio/freopen.c (freopen): Use __dup2, not dup2.
62949         * libio/freopen64.c (freopen64): Likewise.
62951 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62953         [BZ #12775]
62954         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62955         * math/Makefile (tests): Add test-powl.
62956         (CFLAGS-test-powl.c): Define.
62957         * math/test-powl.c: New file.
62959 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62961         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62963 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
62965         [BZ #11837]
62966         * iconvdata/gb18030.c: Update to GB18020-2005.
62968 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
62970         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62971         RE_SYNTAX_POSIX_AWK): Update to match recent development.
62972         Patch by Aharon Robbins <arnold@skeeve.com>.
62974         [BZ #11892]
62975         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62976         on the stack.
62978         [BZ #11895]
62979         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62980         through underflows.
62982         [BZ #12766]
62983         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62984         point to strings before performing equality test for error_one_per_line
62985         mode.
62987         [BZ #11697]
62988         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62990         [BZ #11820]
62991         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62992         (struct user_fpregs_struct): Avoid __uint*_t types.
62994         [BZ #6420]
62995         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62996         symbol info.  Use it instead of calling _dl_addr locally.
62997         (lock_and_info): New function.
62998         (tr_freehook): Call lock_and_info and pass symbol info as additional
62999         parameter to tr_where.
63000         (tr_mallochook): Likewise.
63001         (tr_reallochook): Likewise.
63002         (tr_memalignhook): Likewise.
63004         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
63005         used and couldn't be at all thread-safe.
63007 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
63009         * libio/freopen.c (freopen): Don't close old file descriptor
63010         before the new one is opened.  Instead dup the new file descriptor
63011         to the old one after the new stream is created.
63012         * libio/freopen64.c (freopen64): Likewise.
63013         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
63014         * libio/fileops.c (_IO_new_file_close_it): Handle new
63015         _IO_FLAGS2_NOCLOSE flag.
63016         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
63017         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
63018         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
63019         _IO_FLAGS2_NOCLOSE flag.
63020         * include/unistd.h: Add hidden_proto for dup3.
63021         Define __have_dup3.
63022         * io/dup3.c: Define hidden symbol.
63023         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
63025         [BZ #7101]
63026         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
63027         when an incomplete long option is used.
63028         * posix/tst-getopt_long1.c: New file.
63029         * posix/Makefile (tests): Add tst-getopt_long1.
63031         [BZ #10138]
63032         * scripts/config.guess: Update from autoconf-2.68.
63033         * scripts/config.sub: Likewise.
63035         [BZ #10157]
63036         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
63037         tests into ...
63038         (has_cpuclock): ...this.  New function.
63039         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
63040         macro here based on has_cpuclock code.
63042         [BZ #10149]
63043         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63044         First byte (not low byte) is now always NUL.
63045         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
63047         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63048         Use non-cancelable interfaces.
63050         [BZ #9809]
63051         * locale/iso-639.def: Add entry for Sorani.
63053         [BZ #11901]
63054         * include/stdlib.h: Move include protection to the right place.
63055         Define abort_msg_s.  Declare __abort_msg with it.
63056         * stdlib/abort.c (__abort_msg): Adjust type.
63057         * assert/assert.c (__assert_fail_base): New function.  Majority
63058         of code from __assert_fail.  Allocate memory for __abort_msg with
63059         mmap.
63060         (__assert_fail): Now call __assert_fail_base.
63061         * assert/assert-perr.c: Remove bulk of implementation.  Use
63062         __assert_fail_base.
63063         * include/assert.hL Declare __assert_fail_base.
63064         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
63065         mmap.
63066         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
63068 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
63070         [BZ #11952]
63071         [BZ #12453]
63072         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
63073         until all modules are registered in the DTV.
63074         * elf/Makefile: Add rules to build and run tst-tls19.
63075         * elf/tst-tls19.c: New file.
63076         * elf/tst-tls19mod1.c: New file.
63077         * elf/tst-tls19mod2.c: New file.
63078         * elf/tst-tls19mod3.c: New file.
63079         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
63081         [BZ #12083]
63082         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
63083         correctly.
63085         [BZ #12601]
63086         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
63087         two-byte sequence errors.
63088         * iconvdata/Makefile (tests): Add bug-iconv8.
63089         * iconvdata/bug-iconv8.c: New file.
63091         [BZ #12626]
63092         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
63093         buf2 definition.
63095         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
63097         [BZ #12432]
63098         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
63099         (dummy_getcfa): New function.
63100         (init): Get _Unwind_GetCFA address, use dummy if not found.
63101         (backtrace_helper): In recursion check, also check whether CFA changes.
63102         (__backtrace): Completely initialize arg.
63104         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
63105         storing incomplete byte sequence in state object.  Avoid testing for
63106         guaranteed too small input if we know there is enough data available.
63108 2011-05-11  Andreas Schwab  <schwab@redhat.com>
63110         * Makeconfig (+link-pie): Indent.
63111         * Rules (binaries-pie): Define if $(have-fpie) and
63112         $(build-shared).
63113         (binaries-shared): Also filter out $(binaries-pie).
63114         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
63115         * nscd/Makefile (others-pie): Add nscd.
63116         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
63117         ($(objpfx)nscd): Remove command override.
63118         * login/Makefile (others-pie): Add pt_chown.
63119         ($(objpfx)pt_chown): Remove command override.
63120         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
63121         remove command overrides.
63123 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
63125         * libio/tst_putwc.c: Fix error messages.
63127         [BZ #12724]
63128         * libio/fileops.c (_IO_new_file_close_it): Always flush when
63129         currently writing and seek to current position when not.
63130         * libio/Makefile (tests): Add bug-fclose1.
63131         * libio/bug-fclose1.c: New file.
63133 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
63135         [BZ #12511]
63136         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
63137         don't set DF_1_NODELETE here.
63138         (do_lookup_x): When entering new entry test for copy relocation
63139         and if necessary set DF_1_NODELETE flag.
63140         * elf/tst-unique4.cc: New file.
63141         * elf/tst-unique4.h: New file.
63142         * elf/tst-unique4lib.cc: New file.
63143         * elf/Makefile: Add rules to build and run tst-unique4.
63144         Patch by Piotr Bury <pbury@goahead.com>.
63146 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
63148         [BZ #12052]
63149         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
63151         [BZ #12625]
63152         * misc/mntent_r.c (addmntent): Flush the stream after the output
63154         [BZ #12393]
63155         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
63156         (is_trusted_path_normalize): Skip initial colon.  Append slash
63157         to empty buffer.  Duplicate is_trusted_path code but allow
63158         constructed patch to be prefix.
63159         (is_dst): Allow $ORIGIN followed by /.
63160         (_dl_dst_substitute): Correct clearing of check_for_trusted.
63161         Correct testing of result of is_trusted_path_normalize
63162         (decompose_rpath): Fix warning.
63164 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
63166         [BZ #11257]
63167         * grp/initgroups.c (internal_getgrouplist): When we found the service
63168         list through the initgroups entry in nsswitch.conf do not always
63169         continue on a successful lookup.  Don't always use the
63170         __nss_group_database value if it is set.
63171         * nss/nsswitch.conf (initgroups): Change action for successful db
63172         lookup to continue for compatibility.
63174 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
63176         [BZ #11532]
63177         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
63178         and CP774 modules.
63179         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
63180         and CP774 modules.
63181         * iconvdata/tst-tables.sh: Likewise.
63182         * iconvdata/cp770.c: New file.
63183         * iconvdata/cp771.c: New file.
63184         * iconvdata/cp772.c: New file.
63185         * iconvdata/cp773.c: New file.
63186         * iconvdata/cp774.c: New file.
63187         * iconvdata/testdata/CP770: New file.
63188         * iconvdata/testdata/CP770..UTF8: New file.
63189         * iconvdata/testdata/CP771: New file.
63190         * iconvdata/testdata/CP771..UTF8: New file.
63191         * iconvdata/testdata/CP772: New file.
63192         * iconvdata/testdata/CP772..UTF8: New file.
63193         * iconvdata/testdata/CP773: New file.
63194         * iconvdata/testdata/CP773..UTF8: New file.
63195         * iconvdata/testdata/CP774: New file.
63196         * iconvdata/testdata/CP774..UTF8: New file.
63198         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
63199         END CHARMAP line.
63200         * iconvdata/gen-8bit-gap.sh: Likewise.
63201         * iconvdata/gen-8bit.sh: Likewise.
63203         * locale/iso-639.def: Add ary entry.
63205         [BZ #11258]
63206         * locale/C-translit.h.in: Add U20A1 transliteration.
63208         [BZ #12178]
63209         * locale/iso-639.def: Add wae entry.
63210         Patch by Kevin Bortis <bortis@translate-wae.ch>.
63212         [BZ #12545]
63213         * locale/programs/localedef.c (construct_output_path): Use ssize_t
63214         for n.
63216         [BZ #12711]
63217         * locale/C-translit.h.in: Add entry for U20B9.
63218         Patch by pravin.d.s@gmail.com.
63220 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
63222         [BZ #12713]
63223         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
63224         ENAMETOOLONG use generic getcwd.
63225         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
63226         in rtld.  Use *stat64.
63227         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
63228         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
63229         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
63230         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
63231         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
63232         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
63233         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
63234         __fstatat64 macros.
63235         * include/dirent.h: Add libc_hidden_proto for rewinddir.
63236         * dirent/rewinddir.c: Add libc_hidden_def.
63237         * sysdeps/mach/hurd/rewinddir.c: Likewise.
63238         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
63240         * include/dirent.h (__alloc_dir): Add flags parameter.
63241         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
63242         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
63243         __alloc_dir.
63244         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
63245         from fdopendir if O_CLOEXEC is already set.
63247 2011-03-15  Alan Modra  <amodra@gmail.com>
63249         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
63250         l_tls_firstbyte_offset non-zero.  Save padding offset in
63251         l_tls_firstbyte_offset for later use.
63252         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63253         freeing static tls block.
63255 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
63257         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63258         where #ifdef was intended.  The intent is to prevent ARG_MAX from
63259         being defined by the kernel headers.
63261 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
63263         [BZ #12734]
63264         * resolv/resolv.h: Define RES_NOTLDQUERY.
63265         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63266         no-tld-query and set RES_NOTLDQUERY.
63267         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63268         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63269         modern BIND to search name as TLD unless forbidden.
63271 2011-05-07  Petr Baudis  <pasky@suse.cz>
63272             Ulrich Drepper  <drepper@gmail.com>
63274         [BZ #12393]
63275         * elf/dl-load.c (fillin_rpath): Move trusted path check...
63276         (is_trusted_path): ...to here.
63277         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63278         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63279         using is_trusted_path_normalize() in setuid scripts.
63281 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63283         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63284         __BEGIN/__END_DECLS.
63286 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
63288         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63289         NSS_STATUS_NOTFOUND if no record was found.
63291 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63293         * sunrpc/Makefile (headers): Add rpc/netdb.h.
63294         (headers-not-in-tirpc): Remove rpc/netdb.h
63295         * resolv/netdb.h: Revert last change.
63297 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63299         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63300         circular dependency between libgcc.a and libc.a.
63302 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63304         * resolv/netdb.h: Don't include <rpc/netdb.h>.
63305         * nis/Makefile: Don't install rpcsvc/*.
63306         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63307         instead of <rpc/types.h>.
63308         (MAXHOSTNAMELEN): Define.
63310 2011-05-03  Andreas Schwab  <schwab@redhat.com>
63312         * elf/ldconfig.c (add_dir): Don't crash on empty path.
63314 2011-04-28  Maciej Babinski  <mbabinski@google.com>
63316         [BZ #12714]
63317         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63318         gethostbyname4_r when IPv6 results are possible.
63320 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
63322         [BZ #12723]
63323         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63324         _PC_PIPE_BUF handling.
63326 2011-04-30  Bruno Haible  <bruno@clisp.org>
63328         [BZ #12717]
63329         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63330         * resolv/netdb.h (getnameinfo): Change type of flags parameter
63331         to 'int'.
63332         * inet/getnameinfo.c (getnameinfo): Likewise.
63334 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
63336         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63337         to groups setting in database lookup.
63338         * nss/nsswitch.conf: Add initgroups entry.
63340 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
63342         [BZ #12685]
63343         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63344         mode string.
63345         Patch by Eric Blake <eblake@redhat.com>.
63347 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
63349         * sunrpc/Makefile (need-export-routines): Add svc_run.
63350         (routines): Remove svc_run.
63351         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63352         * sunrpc/clnt_perr.c (clnt_perrno): Export.
63353         * sunrpc/svc_run.c (svc_run): Likewise.
63354         * sunrpc/svc_udp.c (svcudp_create): Likewise.
63356 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
63358         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63359         problem in reallocation in last patch.
63361 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
63363         * sunrpc/Makefile: Move inclusion of Rules.
63365 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63367         * nss/nss_files/files-initgroups.c: New file.
63368         * nss/Makefile (libnss_files-routines): Add files-initgroups.
63369         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63370         _nss_files_initgroups_dyn.
63372 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
63374         * elf/elf.h (R_ARM_IRELATIVE): Define.
63376 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63378         * po/ru.po: Update from translation team.
63380 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63382         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63383         dependencies.
63385 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
63387         [BZ #12653]
63388         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63389         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63390         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63391         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63392         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63394 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
63396         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63397         differing bytes.
63398         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63399         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63400         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63402 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63404         [BZ #12420]
63405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63406         storing it.
63407         * stdlib/bug-getcontext.c: New file.
63408         * stdlib/Makefile: Add rules to build and run bug-getcontext.
63410 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63412         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63413         instructions into .machine "z9-109".
63414         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63415         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63417 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63419         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63420         between environment variables and auxiliary vector.
63422 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
63424         * Makefile: Add rules to build linkobj/libc.so.
63425         * include/libc-symbols.h: Define libc_hidden_nolink.
63426         * include/rpc/auth.h: Mark functions which are to be hidden.
63427         * include/rpc/auth_des.h: Likewise.
63428         * include/rpc/auth_unix.h: Likewise.
63429         * include/rpc/clnt.h: Likewise.
63430         * include/rpc/des_crypt.h: Likewise.
63431         * include/rpc/key_prot.h: Likewise.
63432         * include/rpc/pmap_clnt.h: Likewise.
63433         * include/rpc/pmap_prot.h: Likewise.
63434         * include/rpc/pmap_rmt.h: Likewise.
63435         * include/rpc/rpc_msg.h: Likewise.
63436         * include/rpc/svc.h: Likewise.
63437         * include/rpc/svc_auth.h: Likewise.
63438         * include/rpc/xdr.h: Likewise.
63439         * nis/Makefile: Link all DSOs against linkobj/libc.so.
63440         * nss/Makefile: Likewise.
63441         * sunrpc/Makefile: Don't install headers.  Build library with normal
63442         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
63443         * sunrpc/auth_des.c: Hide exported symbols by default, export some
63444         for the compat linking library.  Remove use of INTDEF/INTUSE.
63445         * sunrpc/auth_none.c: Likewise.
63446         * sunrpc/auth_unix.c: Likewise.
63447         * sunrpc/authdes_prot.c: Likewise.
63448         * sunrpc/authuxprot.c: Likewise.
63449         * sunrpc/clnt_gen.c: Likewise.
63450         * sunrpc/clnt_perr.c: Likewise.
63451         * sunrpc/clnt_raw.c: Likewise.
63452         * sunrpc/clnt_simp.c: Likewise.
63453         * sunrpc/clnt_tcp.c: Likewise.
63454         * sunrpc/clnt_udp.c: Likewise.
63455         * sunrpc/clnt_unix.c: Likewise.
63456         * sunrpc/des_crypt.c: Likewise.
63457         * sunrpc/des_soft.c: Likewise.
63458         * sunrpc/get_myaddr.c: Likewise.
63459         * sunrpc/key_call.c: Likewise.
63460         * sunrpc/key_prot.c: Likewise.
63461         * sunrpc/netname.c: Likewise.
63462         * sunrpc/pm_getmaps.c: Likewise.
63463         * sunrpc/pm_getport.c: Likewise.
63464         * sunrpc/pmap_clnt.c: Likewise.
63465         * sunrpc/pmap_prot.c: Likewise.
63466         * sunrpc/pmap_prot2.c: Likewise.
63467         * sunrpc/pmap_rmt.c: Likewise.
63468         * sunrpc/publickey.c: Likewise.
63469         * sunrpc/rpc_cmsg.c: Likewise.
63470         * sunrpc/rpc_common.c: Likewise.
63471         * sunrpc/rpc_dtable.c: Likewise.
63472         * sunrpc/rpc_prot.c: Likewise.
63473         * sunrpc/rpc_thread.c: Likewise.
63474         * sunrpc/rtime.c: Likewise.
63475         * sunrpc/svc.c: Likewise.
63476         * sunrpc/svc_auth.c: Likewise.
63477         * sunrpc/svc_authux.c: Likewise.
63478         * sunrpc/svc_raw.c: Likewise.
63479         * sunrpc/svc_run.c: Likewise.
63480         * sunrpc/svc_simple.c: Likewise.
63481         * sunrpc/svc_tcp.c: Likewise.
63482         * sunrpc/svc_udp.c: Likewise.
63483         * sunrpc/svc_unix.c: Likewise.
63484         * sunrpc/svcauth_des.c: Likewise.
63485         * sunrpc/xcrypt.c: Likewise.
63486         * sunrpc/xdr.c: Likewise.
63487         * sunrpc/xdr_array.c: Likewise.
63488         * sunrpc/xdr_float.c: Likewise.
63489         * sunrpc/xdr_intXX_t.c: Likewise.
63490         * sunrpc/xdr_mem.c: Likewise.
63491         * sunrpc/xdr_rec.c: Likewise.
63492         * sunrpc/xdr_ref.c: Likewise.
63493         * sunrpc/xdr_sizeof.c: Likewise.
63494         * sunrpc/xdr_stdio.c: Likewise.
63496 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
63498         [BZ #12650]
63499         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63500         * sysdeps/ia64/dl-tls.h: Likewise.
63501         * sysdeps/powerpc/dl-tls.h: Likewise.
63502         * sysdeps/s390/dl-tls.h: Likewise.
63503         * sysdeps/sh/dl-tls.h: Likewise.
63504         * sysdeps/sparc/dl-tls.h: Likewise.
63505         * sysdeps/x86_64/dl-tls.h: Likewise.
63506         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63508 2011-03-14  Andreas Schwab  <schwab@redhat.com>
63510         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63511         rpath element also skip the following colon.
63512         (expand_dynamic_string_token): Add is_path parameter and pass
63513         down to DL_DST_REQUIRED and _dl_dst_substitute.
63514         (decompose_rpath): Call expand_dynamic_string_token with
63515         non-zero is_path.  Ignore empty rpaths.
63516         (_dl_map_object_from_fd): Call expand_dynamic_string_token
63517         with zero is_path.
63519 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
63521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63522         Make cancelable.
63524 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
63526         [BZ #12655]
63527         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63528         Patch by Filipe David Manana <fdmanana@apache.org>.
63530 2011-04-07  Andreas Schwab  <schwab@redhat.com>
63532         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63533         Maintain aligned stack.
63534         (CHECK_RSP): Remove unused macro.
63536 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
63538         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63539         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63541 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
63543         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63545         * include/features.h: Mention __USE_XOPEN2K8 in comment.
63547 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
63549         [BZ #12518]
63550         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63551         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63552         * sysdeps/x86_64/memmove.c: New file.
63553         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63554         (memcpy): Renamed to ...
63555         (__new_memcpy): This.
63556         (memcpy): Provide GLIBC_2_14 memcpy.
63557         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63558         (memcpy): Provide GLIBC_2_2_5 memcpy.
63560 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63562         [BZ #12631]
63563         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63565 2011-03-30  Andreas Schwab  <schwab@redhat.com>
63567         * misc/syncfs.c: New file.
63568         * misc/Makefile (routines): Add syncfs.
63569         * posix/unistd.h: Declare syncfs.
63570         * sysdeps/unix/syscalls.list: Add syncfs.
63572 2011-04-01  Andreas Schwab  <schwab@redhat.com>
63574         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63575         open_by_handle_at.
63576         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63577         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63579         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63581         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63582         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63584 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63586         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63587         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63588         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63589         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63591         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63592         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63594         * io/Makefile: Compile fallocate.c, fallocate64.c, and
63595         sync_file_range.c with -fexceptions.
63596         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63597         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63598         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63599         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63600         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63601         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63602         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63603         sync_file_range as cancellation point
63604         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
63605         now a wrapper around __call_sync_file_range with cancellation handling.
63606         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63607         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
63608         function name to __call_sync_file_range.
63609         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63610         Add call_sync_file_range.
63612 2011-04-01  Andreas Schwab  <schwab@redhat.com>
63614         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63615         bits/timex.h.
63617 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63619         * iconv/iconv.h: Fix typo in comment.
63620         * io/fcntl.h: Likewise.
63621         * libio/stdio.h: Likewise.
63622         * posix/spawn.h: Likewise.
63623         * posix/unistd.h: Likewise.
63624         * stdlib/stdlib.h: Likewise.
63625         * time/time.h: Likewise.
63626         * wcsmbs/wchar.h: Likewise.
63628         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63629         open_by_handle): Add.
63630         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63631         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
63632         Augment a few comments.
63633         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63634         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63635         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63636         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63637         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63638         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63639         open_by_handle.
63641         * io/fcntl.h (AT_EMPTY_PATH): Define.
63643 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
63645         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63646         * sysdeps/unix/sysv/linux/bits/time.h: New file.
63647         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63648         to...
63649         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
63650         * Versions.def: Add GLIBC_2.14.
63651         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63652         Export.
63654 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
63656         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63657         round counter.
63658         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63660 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63662         [BZ #12597]
63663         * string/test-strncmp.c (do_page_test): New function.
63664         (check2): Likewise.
63665         (test_main): Call check2.
63666         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63668 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
63670         [BZ #12587]
63671         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63672         Handle cache information in CPU leaf 4.
63673         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63675 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
63677         [BZ #12583]
63678         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63679         character representation.
63680         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63682 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
63684         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63685         END(__isnan) to END(__isnanf) to match function entry point/label
63686         EALIGN(__isnanf,...).
63688 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
63690         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63692 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
63694         [BZ #12510]
63695         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63696         copy from the symbol referenced in the relocation to initialize the
63697         used variable.
63698         Patch by Piotr Bury <pbury@goahead.com>.
63699         * elf/Makefile: Add rules to build and tst-unique3.
63700         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63701         * elf/tst-unique3.cc: New file.
63702         * elf/tst-unique3.h: New file.
63703         * elf/tst-unique3lib.cc: New file.
63704         * elf/tst-unique3lib2.cc: New file.
63706         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63708 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
63710         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63711         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
63712         to _start.
63714 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
63716         * elf/dl-load.c (_dl_map_object): If we are looking for the first
63717         to-be-loaded object along a path to loader is ld.so.
63719 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
63720             Ulrich Drepper  <drepper@gmail.com>
63722         * sysdeps/x86_64/memset.S: After aligning destination, code
63723         branches to different locations depending on the value of
63724         misalignment, when multiarch is enabled. Fix this.
63726 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
63728         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63729         Set _x86_64_preferred_memory_instruction for AMD processsors.
63730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63731         Set bit_Prefer_SSE_for_memop for AMD processors.
63733 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
63735         * libio/fmemopen.c (fmemopen): Optimize a bit.
63737 2011-03-03  Andreas Schwab  <schwab@redhat.com>
63739         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63741 2011-03-03  Roland McGrath  <roland@redhat.com>
63743         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63745 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
63747         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63748         __bzero_ultra1 instead of __memset_ultra1.
63750 2011-02-23  Andreas Schwab  <schwab@redhat.com>
63751             Ulrich Drepper  <drepper@gmail.com>
63753         [BZ #12509]
63754         * include/link.h (struct link_map): Add l_orig_initfini.
63755         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63756         returning unsuccessfully.
63757         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63758         close of a file loaded at startup, restore the original l_initfini
63759         list.
63760         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63761         list, store the pointer.
63762         * elf/Makefile ($(objpfx)noload-mem): New rule.
63763         (noload-ENV): Define.
63764         (tests): Add $(objpfx)noload-mem.
63765         * elf/noload.c: Include <memcheck.h>.
63766         (main): Call mtrace.  Close all opened handles.
63768 2011-02-17  Andreas Schwab  <schwab@redhat.com>
63770         [BZ #12454]
63771         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63772         dependencies are missing.
63774 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63776         Fix __if_freereq crash: Unlike the generic version which uses free,
63777         Hurd needs munmap.
63778         * sysdeps/mach/hurd/ifreq.h: New file.
63780 2011-01-27  Petr Baudis  <pasky@suse.cz>
63781             Ulrich Drepper  <drepper@gmail.com>
63783         [BZ 12445]#
63784         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63785         to extend_alloca().
63786         * stdio-common/bug23.c: New file.
63787         * stdio-common/Makefile (tests): Add bug23.
63789 2010-09-28  Andreas Schwab  <schwab@redhat.com>
63790             Ulrich Drepper  <drepper@gmail.com>
63792         [BZ #12489]
63793         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63794         before performing relro protection.  At old place add assertion
63795         to make sure nothing changed.
63797 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
63798             Glauber de Oliveira Costa  <glommer@gmail.com>
63800         * elf/elf.h: Add new ARM TLS relocs.
63802 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
63804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63805         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63806         cast from r3.
63807         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
63808         'tests' variable.
63809         * sysdeps/wordsize-64/tst-writev.c: New file.
63811 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
63813         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63814         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63815         insns in _dl_start to prevent a TOC reference before relocs are
63816         resolved.
63818 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
63820         [BZ #12469]
63821         * Makeconfig: Remove RANLIB definition.
63822         * Makerules: Don't use RANLIB.
63823         * aclocal.m4: Remove ranlib test.
63824         * configure.in: No need to check for ranlib.
63825         * elf/rtld-Rules: Don't use RANLIB.
63827 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63829         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63830         protection macro.
63831         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63832         inclusion protection macro.
63834         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63835         SIGRTMIN and SIGRTMAX and print information in that case only when
63836         SIGRTMIN is defined.
63838 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
63840         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63841         arginfo fn returning -1.
63843         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63844         and thousands string is zero terminated.
63846 2011-02-03  Andreas Schwab  <schwab@redhat.com>
63848         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63849         sysdeps/unix/sysv/linux/bits/socket.h.
63851 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63853         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63854         (__CPU_COUNT): Remove old macros.
63855         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63856         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63857         (__CPU_ALLOC, __CPU_FREE): Add macros.
63858         (__sched_cpualloc, __sched_cpufree): Add declarations.
63860 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
63862         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63863         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63864         * nscd/aicache.c (addhstaiX): Return timeout of added value.
63865         (readdhstai): Return value of addhstaiX call.
63866         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63867         (addgrbyX): Return value returned by cache_addgr.
63868         (readdgrbyname): Return value returned by addgrbyX.
63869         (readdgrbygid): Likewise.
63870         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63871         (addpwbyX): Return value returned by cache_addpw.
63872         (readdpwbyname): Return value returned by addhstbyX.
63873         (readdpwbyuid): Likewise.
63874         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63875         (addservbyX): Return value returned by cache_addserv.
63876         (readdservbyname): Return value returned by addservbyX:
63877         (readdservbyport): Likewise.
63878         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63879         (addhstbyX): Return value returned by cache_addhst.
63880         (readdhstbyname): Return value returned by addhstbyX.
63881         (readdhstbyaddr): Likewise.
63882         (readdhstbynamev6): Likewise.
63883         (readdhstbyaddrv6): Likewise.
63884         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63885         (readdinitgroups): Return value returned by addinitgroupsX.
63886         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63887         (prune_cache): Keep track of timeout value of re-added entries.
63888         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63889         * nscd/nscd.h: Adjust prototypes of readd* functions.
63891 2011-02-04  Roland McGrath  <roland@redhat.com>
63893         * nis/nis_server.c (nis_servstate): Use the right name for 0.
63894         (nis_stats): Likewise.
63895         * nis/nis_modify.c (nis_modify): Likewise.
63896         * nis/nis_remove.c (nis_remove): Likewise.
63897         * nis/nis_add.c (nis_add): Likewise.
63899         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63901         * posix/fnmatch_loop.c: Add some consts.
63903         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63905 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
63907         [BZ #12460]
63908         * config.make.in (config-cflags-novzeroupper): Define.
63909         * configure.in: Substitute libc_cv_cc_novzeroupper.
63910         * elf/Makefile (AVX-CFLAGS): Define.
63911         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63912         (CFLAGS-tst-auditmod4a.c): Likewise.
63913         (CFLAGS-tst-auditmod4b.c): Likewise.
63914         (CFLAGS-tst-auditmod6b.c): Likewise.
63915         (CFLAGS-tst-auditmod6c.c): Likewise.
63916         (CFLAGS-tst-auditmod7b.c): Likewise.
63917         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63919 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
63921         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63922         function to the callback.
63923         Patch partly by Jiri Olsa <jolsa@redhat.com>.
63925 2011-02-02  Andreas Schwab  <schwab@redhat.com>
63927         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63928         of errno.
63930 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
63932         [BZ #11724]
63933         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63934         of constructors.
63935         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63936         of destructors.
63937         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63939         [BZ #11724]
63940         * elf/Makefile: Add rules to build and run new test.
63941         * elf/tst-initorder.c: New file.
63942         * elf/tst-initorder.exp: New file.
63943         * elf/tst-initordera1.c: New file.
63944         * elf/tst-initordera2.c: New file.
63945         * elf/tst-initordera3.c: New file.
63946         * elf/tst-initordera4.c: New file.
63947         * elf/tst-initorderb1.c: New file.
63948         * elf/tst-initorderb2.c: New file.
63949         * elf/tst-order-a1.c: New file.
63950         * elf/tst-order-a2.c: New file.
63951         * elf/tst-order-a3.c: New file.
63952         * elf/tst-order-a4.c: New file.
63953         * elf/tst-order-b1.c: New file.
63954         * elf/tst-order-b2.c: New file.
63955         * elf/tst-order-main.c: New file.
63956         New test case by George Gensure <werkt0@gmail.com>.
63958 2010-10-01  Andreas Schwab  <schwab@redhat.com>
63960         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63961         decoding ACE if AI_CANONIDN.
63963 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
63965         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63967 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
63969         * version.h (RELEASE): Bump for 2.13 release.
63970         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63972         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63974         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63975         MADV_NOHUGEPAGE.
63976         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63977         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63978         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63979         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63981         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63983         * posix/getconf.c: Update copyright year.
63984         * catgets/gencat.c: Likewise.
63985         * csu/version.c: Likewise.
63986         * debug/catchsegv.sh: Likewise.
63987         * debug/xtrace.sh: Likewise.
63988         * elf/ldconfig.c: Likewise.
63989         * elf/ldd.bash.in: Likewise.
63990         * elf/sprof.c (print_version): Likewise.
63991         * iconv/iconv_prog.c: Likewise.
63992         * iconv/iconvconfig.c: Likewise.
63993         * locale/programs/locale.c: Likewise.
63994         * locale/programs/localedef.c: Likewise.
63995         * malloc/memusage.sh: Likewise.
63996         * malloc/mtrace.pl: Likewise.
63997         * nscd/nscd.c (print_version): Likewise.
63998         * nss/getent.c: Likewise.
64000         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
64001         PF_CAIF, and PF_ALG.
64002         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64004 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
64006         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
64007         (modules-names): Use them.
64008         (ifunc-test-modules, ifunc-pie-tests): Define.
64009         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
64010         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
64011         (test-extras): Likewise.
64012         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
64013         $(compile-command.c).
64014         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
64015         (all-built-dso): Define.
64016         (check-textrel.out, check-execstack.out): Depend on it.
64018         * configure.in: Don't override --enable-multi-arch.
64020 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
64022         [BZ #6812]
64023         * nscd/hstcache.c (tryagain): Define.
64024         (cache_addhst): Return tryagain not notfound for temporary errors.
64025         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
64026         failed.
64028 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
64030         [BZ #10563]
64031         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
64032         to make the syscall.
64033         * sysdeps/unix/sysv/linux/setgroups.c: New file.
64035         [BZ #12378]
64036         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
64037         and fall back to matching as normal character if the string ends before
64038         the matching ']' is found.  This is what POSIX requires.
64039         * posix/testfnm.c: Adjust test result.
64040         * posix/globtest.sh: Adjust test result.  Add new test.
64041         * posix/tst-fnmatch.input: Likewise.
64042         * posix/tst-fnmatch2.c: Add new test.
64044 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
64046         * elf/Makefile (check-execstack): Revert last change.  Depend on
64047         check-execstack.h.
64048         (check-execstack.h): New target.
64049         (generated): Add check-execstack.h.
64050         * elf/check-execstack.c: Include "check-execstack.h".
64051         (main): Revert last change.
64052         (handle_file): Return zero if GNU_STACK is absent and
64053         DEFAULT_STACK_PERMS doesn't include PF_X.
64055 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
64057         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
64058         in child fails because the descriptor is already closed.
64059         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
64060         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
64061         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
64063         [BZ #12397]
64064         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
64065         syscall.
64067         [BZ #10484]
64068         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
64069         temporary buffer used to handle multi lookups locally.
64070         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
64072 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
64074         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
64075         loader is ld.so.
64077 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
64079         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
64080         alignment for SSE2.
64082 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
64084         [BZ #12394]
64085         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
64086         characters.  When rounding increased number of integer digits recompute
64087         number of groups.
64088         * stdio-common/tst-grouping.c: New file.
64089         * stdio-common/Makefile: Add rules to build and run tst-grouping.
64091 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
64093         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
64094         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
64096         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
64097         void.
64098         * bits/select.h: Likewise.
64100 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
64102         * po/ja.po: Update from translation team.
64104 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
64106         [BZ #11155]
64107         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
64108         implementation just like for lxstat, fxstatat, et al.
64110 2010-12-27  Jim Meyering  <meyering@redhat.com>
64112         [BZ #12348]
64113         * posix/regexec.c (build_trtable): Return failure indication upon
64114         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
64116 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
64118         [BZ #12201]
64119         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
64120         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
64121         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
64122         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
64124         [BZ #12207]
64125         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
64127         [BZ #12204]
64128         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
64129         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
64131 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
64133         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
64134         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
64135         script has SORT_BY_INIT_PRIORITY.
64136         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
64137         NO_CTORS_DTORS_SECTIONS is defined.
64138         * elf/soinit.c: Likewise.
64139         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
64140         NO_CTORS_DTORS_SECTIONS is defined.
64141         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
64142         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
64143         * sysdeps/sh/init-first.c: Likewise.
64144         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
64146 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
64148         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
64149         always use the slow path.
64151 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
64153         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
64154         similar rule which adds the sysdep directories to the header search in
64155         order to pick up the correct platform stackinfo.h.
64156         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
64157         perform test if it is, otherwise return successfully without testing.
64158         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
64159         DEFAULT_STACK_PERMS define in stackinfo.h.
64160         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
64161         defined in stackinfo.h.
64162         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
64163         DEFAULT_STACK_PERMS defined in stackinfo.h.
64164         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
64165         * sysdeps/ia64/stackinfo.h: Likewise.
64166         * sysdeps/s390/stackinfo.h: Likewise.
64167         * sysdeps/sh/stackinfo.h: Likewise.
64168         * sysdeps/sparc/stackinfo.h: Likewise.
64169         * sysdeps/x86_64/stackinfo.h: Likewise.
64170         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
64171         PF_X for powerpc64.  Retain PF_X for powerpc32.
64173 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
64175         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
64176         accurately.
64177         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
64178         GETDENTS_64BIT_ALIGNED.
64180 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
64182         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
64184 2010-12-10  Andreas Schwab  <schwab@redhat.com>
64186         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
64187         _GNU_SOURCE.
64189         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
64190         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
64191         Remove __restrict.
64192         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
64193         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
64195 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
64197         [BZ #11655]
64198         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
64199         are initialized.
64201 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
64203         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
64205 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
64207         * po/it.po: Update from translation team.
64209 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
64211         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
64212         unused codes.
64214 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
64216         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
64218 2010-11-24  Andreas Schwab  <schwab@redhat.com>
64220         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
64221         specially.
64222         (gaih_getanswer_slice): Likewise.
64224 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
64226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
64228 2010-05-31  Petr Baudis  <pasky@suse.cz>
64230         [BZ #11149]
64231         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
64232         silently even in the chroot mode.
64234 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
64236         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
64237         last patch a bit.  Pretty printing
64239 2010-05-31  Petr Baudis <pasky@suse.cz>
64241         [BZ #10085]
64242         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
64243         initialization of skip_initgroups_dyn.
64245 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
64247         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
64248         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
64250 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
64252         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64254 2010-11-11  Andreas Schwab  <schwab@redhat.com>
64256         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64257         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64258         (tst-fnmatch-ENV): Set MALLOC_TRACE.
64259         ($(objpfx)tst-fnmatch-mem): New rule.
64260         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64261         * posix/tst-fnmatch.c (main): Call mtrace.
64263 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
64265         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64266         Support Intel processor model 6 and model 0x2c.
64268 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
64270         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64271           signed comparison.
64273 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
64275         [BZ #12205]
64276         * string/test-strncasecmp.c (check_result): New function.
64277         (do_one_test): Use it.
64278         (check1): New function.
64279         (test_main): Use it.
64280         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64281         Support strcasecmp and strncasecmp.
64283 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
64285         [BZ #12194]
64286         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64287         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64289 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
64291         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64292         IFUNC support.
64293         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64294         memset-x86-64.
64295         * sysdeps/x86_64/multiarch/bzero.S: New file.
64296         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64297         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64298         * sysdeps/x86_64/multiarch/memset.S: New file.
64299         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64300         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64301         Set bit_Prefer_SSE_for_memop for Intel processors.
64302         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64303         Define.
64304         (index_Prefer_SSE_for_memop): Define.
64305         (HAS_PREFER_SSE_FOR_MEMOP): Define.
64307 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
64309         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64310         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64312 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
64314         [BZ #12191]
64315         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64316         (__x86_64_raw_data_cache_size_half): Likewise.
64317         (__x86_64_raw_shared_cache_size): Likewise.
64318         (__x86_64_raw_shared_cache_size_half): Likewise.
64320         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64321         (__x86_64_raw_data_cache_size_half): Likewise.
64322         (__x86_64_raw_shared_cache_size): Likewise.
64323         (__x86_64_raw_shared_cache_size_half): Likewise.
64324         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64325         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64326         and __x86_64_raw_shared_cache_size_half.  Round
64327         __x86_64_data_cache_size_half, __x86_64_data_cache_size
64328         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64329         to multiple of 256 bytes.
64331 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
64333         [BZ #12167]
64334         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64335         of inacessible symlinks.  Verify result of symlink before returning it.
64336         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64337         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64339 2010-10-28  Erich Ritz  <erichritz@gmail.com>
64341         * math/math.h (isinf): Fix typo in comment.
64343 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
64345         * po/da.po: Update from translation team.
64347 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
64349         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64350         is added to the list.
64352 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64353             Ulrich Drepper  <drepper@gmail.com>
64355         * elf/dl-object.c (_dl_new_object): Don't append the new object to
64356         the global list here.  Move code to...
64357         (_dl_add_to_namespace_list): ...here.  New function.
64358         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64359         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64360         * elf/dl-load.c (lose): Don't remove the element from the list.
64361         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64362         (_dl_map_object): Likewise.
64364 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
64366         [BZ #12159]
64367         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64368         into all bytes of SSE register.
64369         Patch by Richard Li <richardpku@gmail.com>.
64371 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
64373         [BZ #12140]
64374         * malloc/malloc.c (_int_free): Fill correct number of bytes when
64375         perturbing.
64377 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
64379         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64380         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64381         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64382         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64384         submachine.
64385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64387 2010-10-22  Andreas Schwab  <schwab@redhat.com>
64389         * include/dlfcn.h (__RTLD_SECURE): Define.
64390         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
64391         mode & __RTLD_SECURE instead.
64392         (open_path): Rename preloaded parameter to secure.
64393         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64394         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64395         * elf/dl-deps.c (openaux): Likewise.
64396         * elf/rtld.c (struct map_args): Remove is_preloaded.
64397         (map_doit): Don't use it.
64398         (dl_main): Likewise.
64399         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64400         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64402 2010-09-09  Andreas Schwab  <schwab@redhat.com>
64404         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64405         (sysd-rules-targets): Remove duplicates.
64406         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64407         rtld-%.$o dependency.
64409 2010-10-18  Andreas Schwab  <schwab@redhat.com>
64411         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64412         _dl_map_object do it.
64414 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
64416         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64417         fast fma builtins, define the macros in the C99 standard.
64418         (FP_FAST_FMAF): Likewise.
64419         (FP_FAST_FMAL): Likewise.
64420         * sysdeps/x86_64/bits/mathdef.h: Likewise.
64422         * bits/mathdef.h: Update copyright year.
64423         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64425 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
64427         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64428         builtins, define the macros in the C99 standard.
64429         (FP_FAST_FMAF): Likewise.
64430         (FP_FAST_FMAL): Likewise.
64431         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64432         multiply/add.
64433         (FP_FAST_FMAF): Likewise.
64435 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
64437         [BZ #3268]
64438         * math/libm-test.inc (fma_test): Some new testcases.
64439         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64440         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64441         y and infinite z.  Do multiplication by C already in long double.
64442         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64443         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64444         y and infinite z.  Do bitwise or of inexact bit into u.d.
64445         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64446         * sysdeps/i386/fpu/s_fmaf.S: Removed.
64447         * sysdeps/i386/fpu/s_fma.S: Removed.
64448         * sysdeps/i386/fpu/s_fmal.S: Removed.
64450 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
64452         [BZ #3268]
64453         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64455         computation is not scheduled after fetestexcept.  Fix value
64456         of minimum denormal long double.
64458 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
64460         [BZ #3268]
64461         * math/libm-test.inc (fma_test): Add some more tests.
64462         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64463         correctly.
64465 2010-10-15  Andreas Schwab  <schwab@redhat.com>
64467         * scripts/data/localplt-s390-linux-gnu.data: New file.
64468         * scripts/data/localplt-s390x-linux-gnu.data: New file.
64470 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
64472         [BZ #3268]
64473         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64474         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64475         instead of dbl-64.
64476         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64477         inlines.
64478         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64479         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64480         if one of x and y is very large and the other is subnormal.
64481         * sysdeps/s390/fpu/s_fmaf.c: New file.
64482         * sysdeps/s390/fpu/s_fma.c: New file.
64483         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64484         * sysdeps/powerpc/fpu/s_fma.S: New file.
64485         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64486         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64487         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64489 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
64491         [BZ #3268]
64492         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64493         fma tests.
64494         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64495         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64496         * sysdeps/i386/i686/multiarch/s_fma.c: Include
64497         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64498         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64499         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64500         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64502 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
64504         [BZ #12078]
64505         * posix/regcomp.c (parse_branch): One more memory leak plugged.
64506         * posix/bug-regex31.input: Add test case.
64508 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
64510         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64511         * posix/bug-regex31.input: New file.
64513         [BZ #12078]
64514         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64515         (parse_sub_exp): Fix last change, use postorder.
64517         * posix/bug-regex31.c: New file.
64518         * posix/Makefile: Add rules to build and run bug-regex31.
64520         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64522         [BZ #12078]
64523         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64525         [BZ #12108]
64526         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64527         to have entries in sys_siglist.
64529         [BZ #12093]
64530         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64531         be NULL.
64533 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
64535         [BZ #3268]
64536         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64537         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64538         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64539         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64540         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64541         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64542         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64543         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64544         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64545         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64546         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64547         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64548         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64549         * math/ftestexcept.c (fetestexcept): Likewise.
64550         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64551         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64552         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64553         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64554         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64555         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64556         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64558 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
64560         [BZ #12107]
64561         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64562         newline.
64564 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
64566         * string/bug-strstr1.c: New file.
64567         * string/Makefile: Add rules to build and run bug-strstr1.
64569 2010-10-05  Eric Blake  <eblake@redhat.com>
64571         [BZ #12092]
64572         * string/str-two-way.h (two_way_long_needle): Always clear memory
64573         when skipping input due to the shift table.
64575 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
64577         [BZ #12005]
64578         * malloc/mcheck.c: Handle large requests.
64580         [BZ #12077]
64581         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64582         for strncmp and strncasecmp.
64583         * string/stratcliff.c: Add tests for strcmp and strncmp.
64584         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64586 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64588         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64589         __set_fpscr.
64591 2010-09-30  Andreas Jaeger  <aj@suse.de>
64593         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64594         (CGROUP_SUPER_MAGIC): Define.
64595         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64596         Handle btrfs and cgroup file systems.
64597         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64598         Likewise.
64600 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
64602         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64603         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64605 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64607         [BZ #12067]
64608         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64609         trying to locate the ELF header.
64611 2010-09-27  Andreas Schwab  <schwab@redhat.com>
64613         [BZ #11611]
64614         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64615         Mask out sign-bit copies when constructing f_fsid.
64617 2010-09-24  Petr Baudis <pasky@suse.cz>
64619         * debug/stack_chk_fail_local.c: Add missing licence exception.
64620         * debug/warning-nop.c: Likewise.
64622 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
64624         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64625         implementing getdents64 using getdents syscall, set d_type if
64626         __ASSUME_GETDENTS32_D_TYPE.
64628 2010-09-16  Andreas Schwab  <schwab@redhat.com>
64630         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64631         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64633 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
64635         [BZ #12037]
64636         * posix/unistd.h: Undo change of feature selection for ftruncate from
64637         2010-01-11.
64639 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
64641         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64642         detection.
64644 2010-09-20  Andreas Schwab  <schwab@redhat.com>
64646         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64647         fanotify_mark.
64648         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64650 2010-09-14  Andreas Schwab  <schwab@redhat.com>
64652         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64653         variables after CHECK_SP call.
64654         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64656 2010-09-13  Andreas Schwab  <schwab@redhat.com>
64657             Ulrich Drepper  <drepper@redhat.com>
64659         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64660         re-relocationg ld.so.
64661         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64662         _dl_init_paths call.
64663         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
64664         here anymore.
64666 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
64668         * resolv/res_init.c (__res_vinit): Count the default server we added.
64670 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
64671             Ulrich Drepper  <drepper@redhat.com>
64673         [BZ #11968]
64674         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64675         (____longjmp_chk): Use %ebx for saving value across system call.
64676         Add unwind info.
64678 2010-09-06  Andreas Schwab  <schwab@redhat.com>
64680         * manual/Makefile: Don't mix pattern rules with normal rules.
64682 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64684         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64685         operation.
64686         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64687         * libio/iofopncook.c (_IO_cookie_init): Likewise.
64688         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64689         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64690         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64691         Likewise.
64693 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
64695         [BZ #11979]
64696         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64697         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64699 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
64701         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64702         * sysdeps/x86_64/addmul_1.S: Likewise.
64703         * sysdeps/x86_64/lshift.S: Likewise.
64704         * sysdeps/x86_64/mul_1.S: Likewise.
64705         * sysdeps/x86_64/rshift.S: Likewise.
64706         * sysdeps/x86_64/sub_n.S: Likewise.
64707         * sysdeps/x86_64/submul_1.S: Likewise.
64709 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64711         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64712         Define __sched_param instead of SCHED_* and sched_param when
64713         <bits/sched.h> is included with __need_schedparam defined.
64714         * bits/sched.h [__need_schedparam]
64715         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64716         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64717         (__defined_schedparam): Define to 1.
64718         (__sched_param): New structure, identical to sched_param.
64719         (__need_schedparam): Undefine.
64721 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
64723         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64724         (epoll_create1): Declare.
64726         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64728 2010-08-31  Andreas Schwab  <schwab@redhat.com>
64730         [BZ #7066]
64731         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64732         shifting retval into place.
64734 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
64736         * nis/rpcsvc/nis.h: Update copyright notice.
64737         * nis/rpcsvc/nis.x: Likewise.
64738         * nis/rpcsvc/nis_callback.h: Likewise.
64739         * nis/rpcsvc/nis_callback.x: Likewise.
64740         * nis/rpcsvc/nis_object.x: Likewise.
64741         * nis/rpcsvc/nis_tags.h: Likewise.
64742         * nis/rpcsvc/yp.h: Likewise.
64743         * nis/rpcsvc/yp.x: Likewise.
64744         * nis/rpcsvc/ypupd.h: Likewise.
64745         * nis/yp_xdr.c: Likewise.
64746         * nis/ypupdate_xdr.c: Likewise.
64748         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
64749         mainly the body of pmap_getport.  Add parameters to specify timeouts.
64750         (pmap_getport): Use __libc_rpc_getport.
64751         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64752         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64753         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64755 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
64757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64758         fanotify_mark.
64760 2010-08-27  Roland McGrath  <roland@redhat.com>
64762         * sysdeps/i386/i686/multiarch/Makefile
64763         (CFLAGS-varshift.c): New variable.
64765 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
64767         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64768         * sysdeps/i386/i686/multiarch/varshift.c: New file.
64770         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64772         * sysdeps/x86_64/strlen.S: Minimal code improvement.
64774 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
64776         * sysdeps/x86_64/strlen.S: Unroll the loop.
64777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64778         strlen-sse2 strlen-sse2-bsf.
64779         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64780         __strlen_no_bsf if bit_Slow_BSF is set.
64781         (__strlen_sse42): Removed.
64782         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64783         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64785 2010-08-25  Roland McGrath  <roland@redhat.com>
64787         * sysdeps/x86_64/multiarch/varshift.S: File removed.
64788         * sysdeps/x86_64/multiarch/varshift.c: New file.
64789         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64790         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64791         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64792         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64794 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
64796         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64797         strlen-sse2 strlen-sse2-bsf.
64798         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64799         __strlen_sse2_bsf if bit_Slow_BSF is unset.
64800         (__strlen_sse2): Removed.
64801         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64802         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64803         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64804         bit_Slow_BSF for Atom.
64805         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64806         (index_Slow_BSF): Define.
64807         (HAS_SLOW_BSF): Define.
64809 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
64811         [BZ #10851]
64812         * resolv/res_init.c (__res_vinit): When no server address at all
64813         is given default to loopback.
64815 2010-08-24  Roland McGrath  <roland@redhat.com>
64817         * configure.in: Remove config-name.h generation.
64818         * configure: Regenerated.
64819         * config-name.in: File removed.
64820         * scripts/config-uname.sh: New file.
64821         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64822         ($(objdir)config-name.h): New target.
64824         * sunrpc/rpc_parse.h: Avoid nested comment.
64826 2010-08-24  Richard Henderson  <rth@redhat.com>
64827             Ulrich Drepper  <drepper@redhat.com>
64828             H.J. Lu  <hongjiu.lu@intel.com>
64830         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64832         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64833         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
64834         _mm_alignr_epi8 with _mm_loadu_si128.
64835         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64836         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64837         (__m128i_shift_right): Removed.
64838         * sysdeps/i386/i686/multiarch/varshift.h: New file.
64839         * sysdeps/i386/i686/multiarch/varshift.S: New file.
64840         * sysdeps/x86_64/multiarch/varshift.h: New file.
64841         * sysdeps/x86_64/multiarch/varshift.S: New file.
64843 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
64845         * configure.in: Move assembler checks to before sysdep dir checking.
64847 2010-08-20  Petr Baudis  <pasky@suse.cz>
64849         * LICENSES: Sync the sunrpc license.
64851 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
64853         * sunrpc/auth_des.c: Update copyright notice once again.
64854         * sunrpc/auth_none.c: Likewise.
64855         * sunrpc/auth_unix.c: Likewise.
64856         * sunrpc/authdes_prot.c: Likewise.
64857         * sunrpc/authuxprot.c: Likewise.
64858         * sunrpc/bindrsvprt.c: Likewise.
64859         * sunrpc/clnt_gen.c: Likewise.
64860         * sunrpc/clnt_perr.c: Likewise.
64861         * sunrpc/clnt_raw.c: Likewise.
64862         * sunrpc/clnt_simp.c: Likewise.
64863         * sunrpc/clnt_tcp.c: Likewise.
64864         * sunrpc/clnt_udp.c: Likewise.
64865         * sunrpc/clnt_unix.c: Likewise.
64866         * sunrpc/des_crypt.c: Likewise.
64867         * sunrpc/des_soft.c: Likewise.
64868         * sunrpc/get_myaddr.c: Likewise.
64869         * sunrpc/getrpcport.c: Likewise.
64870         * sunrpc/key_call.c: Likewise.
64871         * sunrpc/key_prot.c: Likewise.
64872         * sunrpc/openchild.c: Likewise.
64873         * sunrpc/pm_getmaps.c: Likewise.
64874         * sunrpc/pm_getport.c: Likewise.
64875         * sunrpc/pmap_clnt.c: Likewise.
64876         * sunrpc/pmap_prot.c: Likewise.
64877         * sunrpc/pmap_prot2.c: Likewise.
64878         * sunrpc/pmap_rmt.c: Likewise.
64879         * sunrpc/rpc/auth.h: Likewise.
64880         * sunrpc/rpc/auth_unix.h: Likewise.
64881         * sunrpc/rpc/clnt.h: Likewise.
64882         * sunrpc/rpc/des_crypt.h: Likewise.
64883         * sunrpc/rpc/key_prot.h: Likewise.
64884         * sunrpc/rpc/netdb.h: Likewise.
64885         * sunrpc/rpc/pmap_clnt.h: Likewise.
64886         * sunrpc/rpc/pmap_prot.h: Likewise.
64887         * sunrpc/rpc/pmap_rmt.h: Likewise.
64888         * sunrpc/rpc/rpc.h: Likewise.
64889         * sunrpc/rpc/rpc_des.h: Likewise.
64890         * sunrpc/rpc/rpc_msg.h: Likewise.
64891         * sunrpc/rpc/svc.h: Likewise.
64892         * sunrpc/rpc/svc_auth.h: Likewise.
64893         * sunrpc/rpc/types.h: Likewise.
64894         * sunrpc/rpc/xdr.h: Likewise.
64895         * sunrpc/rpc_clntout.c: Likewise.
64896         * sunrpc/rpc_cmsg.c: Likewise.
64897         * sunrpc/rpc_common.c: Likewise.
64898         * sunrpc/rpc_cout.c: Likewise.
64899         * sunrpc/rpc_dtable.c: Likewise.
64900         * sunrpc/rpc_hout.c: Likewise.
64901         * sunrpc/rpc_main.c: Likewise.
64902         * sunrpc/rpc_parse.c: Likewise.
64903         * sunrpc/rpc_parse.h: Likewise.
64904         * sunrpc/rpc_prot.c: Likewise.
64905         * sunrpc/rpc_sample.c: Likewise.
64906         * sunrpc/rpc_scan.c: Likewise.
64907         * sunrpc/rpc_scan.h: Likewise.
64908         * sunrpc/rpc_svcout.c: Likewise.
64909         * sunrpc/rpc_tblout.c: Likewise.
64910         * sunrpc/rpc_util.c: Likewise.
64911         * sunrpc/rpc_util.h: Likewise.
64912         * sunrpc/rpcinfo.c: Likewise.
64913         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64914         * sunrpc/rpcsvc/key_prot.x: Likewise.
64915         * sunrpc/rpcsvc/klm_prot.x: Likewise.
64916         * sunrpc/rpcsvc/mount.x: Likewise.
64917         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64918         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64919         * sunrpc/rpcsvc/rex.x: Likewise.
64920         * sunrpc/rpcsvc/rstat.x: Likewise.
64921         * sunrpc/rpcsvc/rusers.x: Likewise.
64922         * sunrpc/rpcsvc/sm_inter.x: Likewise.
64923         * sunrpc/rpcsvc/spray.x: Likewise.
64924         * sunrpc/rpcsvc/yppasswd.x: Likewise.
64925         * sunrpc/rtime.c: Likewise.
64926         * sunrpc/svc.c: Likewise.
64927         * sunrpc/svc_auth.c: Likewise.
64928         * sunrpc/svc_authux.c: Likewise.
64929         * sunrpc/svc_raw.c: Likewise.
64930         * sunrpc/svc_run.c: Likewise.
64931         * sunrpc/svc_simple.c: Likewise.
64932         * sunrpc/svc_tcp.c: Likewise.
64933         * sunrpc/svc_udp.c: Likewise.
64934         * sunrpc/svc_unix.c: Likewise.
64935         * sunrpc/svcauth_des.c: Likewise.
64936         * sunrpc/xcrypt.c: Likewise.
64937         * sunrpc/xdr.c: Likewise.
64938         * sunrpc/xdr_array.c: Likewise.
64939         * sunrpc/xdr_float.c: Likewise.
64940         * sunrpc/xdr_mem.c: Likewise.
64941         * sunrpc/xdr_rec.c: Likewise.
64942         * sunrpc/xdr_ref.c: Likewise.
64943         * sunrpc/xdr_sizeof.c: Likewise.
64944         * sunrpc/xdr_stdio.c: Likewise.
64946         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64947         handling.
64949 2010-08-19  Andreas Schwab  <schwab@redhat.com>
64951         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64953 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
64955         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64956         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64957         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64958         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64959         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64960         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64961         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64962         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64963         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64964         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64965         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64966         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64967         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64968         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64970 2010-07-26  Anton Blanchard  <anton@samba.org>
64972         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64973         * malloc/arena.c (heap_trim): Likewise.
64975 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64977         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64978         here.  Not...
64979         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64980         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64982 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64984         * sysdeps/i386/elf/Makefile: New file.
64986 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64988         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64989         from fanotify_init.
64990         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64991         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64993 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64995         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64996         of strncasecmp_l.
64997         * sysdeps/multiarch/strcmp.S: Likewise.
64999 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
65001         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65002         strncase_l-nonascii.
65003         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65004         Add strncase_l-ssse3.
65005         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
65006         * sysdeps/x86_64/strcmp.S: Likewise.
65007         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
65008         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
65009         * sysdeps/x86_64/strncase.S: New file.
65010         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
65011         * sysdeps/x86_64/strncase_l.S: New file.
65012         * string/Makefile (strop-tests): Add strncasecmp.
65013         * string/test-strncasecmp.c: New file.
65015         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
65016         warning.
65018         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
65019         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
65021 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
65023         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
65025 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
65027         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
65028         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
65029         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
65031 2010-05-01  Alan Modra  <amodra@gmail.com>
65033         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
65034         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
65035         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
65036         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
65037         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
65038         tidying.  Don't tail-call __sigjmp_save for static lib.
65039         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
65040         save location.
65041         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
65042         (CALL_MCOUNT): Add eh info, and nop after bl.
65043         (TAIL_CALL_SYSCALL_ERROR): New macro.
65044         (PSEUDO_RET): Use it.
65045         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
65046         Correct save location of integer regs and cr.
65047         (_dl_profile_resolve): Correct cr save location.  Delete nops
65048         after bl when SHARED.  Reduce cfi size a little by better
65049         placement of cfi directives.
65050         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
65051         make a stack frame.  Instead use parm save area as a temp.
65052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
65053         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
65054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
65055         Don't make a stack frame for parent, use parm save area.
65056         Increase child stack frame to 112 bytes.  Don't save unused reg,
65057         and adjust reg usage.  Set up cfi on error recovery and
65058         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
65059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65060         (__makecontext): Add dummy nop after jump to exit.
65061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
65062         Use correct parm save area and cr save, reduce stack frame.
65063         Correct cfi for possible PSEUDO_RET frame setup.
65064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
65065         Branch to local label emitted by PSEUDO_RET rather than
65066         __syscall_error.
65068 2010-08-12  Andreas Schwab  <schwab@redhat.com>
65070         [BZ #11904]
65071         * locale/programs/locale.c (print_assignment): New function.
65072         (show_locale_vars): Use it.
65074 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
65076         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
65077         field.
65078         (struct statfs64): Likewise.
65079         (_STATFS_F_FLAGS): Define.
65080         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
65081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
65082         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
65083         (ST_VALID): Define locally.
65084         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
65085         __statvfs_getflags, use the provided value.
65086         * sysdeps/unix/sysv/linux/kernel-features.h: Define
65087         __ASSUME_STATFS_F_FLAGS.
65089         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
65091         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
65092         Add sys/fanotify.h.
65093         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
65094         fanotify_mask for GLIBC_2.13.
65095         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
65096         fanotify_init and fanotify_mark.
65097         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
65098         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
65100         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
65101         Add prlimit.
65102         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
65103         prlimit64 for GLIBC_2.13.
65104         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
65105         prlimit64.
65106         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
65107         syscall.
65108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
65109         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
65110         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
65111         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
65112         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
65113         add prlimit alias.
65114         * sysdeps/unix/sysv/linux/prlimit.c: New file.
65116         [BZ #11903]
65117         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
65118         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
65120         * nss/Makefile: Add rules to build and run tst-nss-test1.
65121         * shlib-versions: Add entry for libnss_test1.
65122         * nss/nss_test1.c: New file.
65123         * nss/tst-nss-test1.c: New file.
65125         * nss/nsswitch.c (__nss_database_custom): Define new variable.
65126         (__nss_configure_lookup): Set appropriate entry in
65127         __nss_configure_lookup to true.
65128         * nss/nsswitch.h: Define enum with indeces of databases in
65129         databases and __nss_database_custom arrays.  Declare
65130         __nss_database_custom.
65131         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
65132         to avoid using nscd when custom rules are installed.
65133         * nss/getXXbyYY_r.c: Likewise.
65134         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
65136         * nss/nss_files/files-parse.c: Whitespace fixes.
65138 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
65140         [BZ #11883]
65141         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
65142         * posix/fnmatch_loop.c: Likewise.
65144 2010-07-17  Andi Kleen  <ak@linux.intel.com>
65146         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
65147         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
65148         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
65149         * Versions.def [GLIBC_2.13]: Add.
65151 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
65153         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65154         Also fail if tpwd after pwuid call is NULL.
65156 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65158         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
65159         when converting to ms.
65161 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65163         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
65164         EOPNOTSUPP errors with ENOTTY.
65165         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
65166         EOPNOTSUPP errors with ENOTTY.
65168 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
65170         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
65171         Add strcasecmp_l-ssse3.
65172         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
65173         strcasecmp.
65174         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
65175         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
65176         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
65178 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
65180         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
65182         * string/Makefile (strop-tests): Add strcasecmp.
65183         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
65184         strcasecmp_l-nonascii.
65185         (gen-as-const-headers): Add locale-defines.sym.
65186         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
65187         * sysdeps/x86_64/strcasecmp.S: New file.
65188         * sysdeps/x86_64/strcasecmp_l.S: New file.
65189         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
65190         * sysdeps/x86_64/locale-defines.sym: New file.
65191         * string/test-strcasecmp.c: New file.
65193         * string/test-strcasestr.c: Test both ends of the range of characters.
65194         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
65196 2010-07-29  Roland McGrath  <roland@redhat.com>
65198         [BZ #11856]
65199         * manual/locale.texi (Yes-or-No Questions): Fix example code.
65201 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
65203         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
65204         for ld.so.
65206 2010-07-27  Andreas Schwab  <schwab@redhat.com>
65208         * manual/memory.texi (Malloc Tunable Parameters): Document
65209         M_PERTURB.
65211 2010-07-26  Roland McGrath  <roland@redhat.com>
65213         [BZ #11840]
65214         * configure.in (-fgnu89-inline check): Set and substitute
65215         gnu89_inline, not libc_cv_gnu89_inline.
65216         * configure: Regenerated.
65217         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
65219 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
65221         * string/test-strnlen.c: New file.
65222         * string/Makefile (strop-tests): Add strnlen.
65223         * string/tester.c (test_strnlen): Add a few more test cases.
65224         * string/tst-strlen.c: Better error reporting.
65226         * sysdeps/x86_64/strnlen.S: New file.
65228 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
65230         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
65231         lower-latency instructions.
65233 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
65235         * string/test-strcasestr.c: New file.
65236         * string/test-strstr.c: New file.
65237         * string/Makefile (strop-tests): Add strstr and strcasestr.
65238         * string/str-two-way.h: Don't undefine MAX.
65239         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
65241 2010-07-21  Andreas Schwab  <schwab@redhat.com>
65243         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
65244         strcasestr-nonascii.
65245         (CFLAGS-strcasestr-nonascii.c): Define.
65246         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
65247         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
65248         Remove unused attribute.
65250 2010-07-20  Roland McGrath  <roland@redhat.com>
65252         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65253         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
65254         ld.so.cache was broken.  With it, there is no way to disable dsocaps
65255         like LD_HWCAP_MASK can disable hwcaps.
65257 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65259         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65261 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
65263         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65264         call in strcasestr.
65265         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65266         __strcasestr_sse42_nonascii.
65267         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65268         strcasestr-nonascii.c.
65269         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65271 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
65273         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65274         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65275         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65276         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65278 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
65280         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65281         fcntl.
65283 2010-07-06  Andreas Schwab  <schwab@redhat.com>
65285         [BZ #11577]
65286         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65287         dl_signal_cerror.
65289 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
65291         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65292         _PC_PIPE_BUF using F_GETPIPE_SZ.
65294 2010-07-05  Roland McGrath  <roland@redhat.com>
65296         * manual/arith.texi (Rounding Functions): Fix rint description
65297         implicit in round description.
65299 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
65301         * elf/Makefile: Fix linking for a few tests to make recent linker
65302         happy.
65304 2010-06-30  Andreas Schwab  <schwab@redhat.com>
65306         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65307         $(common-objpfx)libc_nonshared.a.
65309 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
65311         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65312         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65313         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65314         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65315         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65316         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65317         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65318         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65333         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65334         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65335         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65336         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65337         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65338         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65339         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65340         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65341         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65342         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65343         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65344         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65360 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
65362         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65363         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
65364         * string/memmove.c (memmove): Renamed to ...
65365         (MEMMOVE): ...this.  Default to memmove.
65366         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65367         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65368         (END_CHK): Define.
65369         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65370         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65371         mempcpy-ssse3-back memmove-ssse3-back.
65372         * sysdeps/x86_64/multiarch/bcopy.S: New file .
65373         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65374         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65375         * sysdeps/x86_64/multiarch/memcpy.S: New file.
65376         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65377         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65378         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65379         * sysdeps/x86_64/multiarch/memmove.c: New file.
65380         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65381         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65382         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65383         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65384         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65385         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65386         Define.
65387         (index_Fast_Copy_Backward): Define.
65388         (HAS_ARCH_FEATURE): Define.
65389         (HAS_FAST_REP_STRING): Define.
65390         (HAS_FAST_COPY_BACKWARD): Define.
65392 2010-06-21  Andreas Schwab  <schwab@redhat.com>
65394         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65395         Restore proper fallback handling.
65397 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
65399         [BZ #11701]
65400         * posix/group_member.c (__group_member): Correct checking loop.
65402         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65403         OOM in getpwuid_r correctly.  Return error number when the caller
65404         should return, otherwise -1.
65405         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65406         call returning > 0 value.
65407         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65409 2010-06-07  Andreas Schwab  <schwab@redhat.com>
65411         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65412         libc_nonshared.a from targets in modules-names.
65414 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
65416         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65417         requires it.
65419 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
65421         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65422         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65423         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65424         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65426 2010-06-02  Andreas Schwab  <schwab@redhat.com>
65428         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65430 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
65432         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65433         and F_GETPIPE_SZ.
65434         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65435         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65436         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65438         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65439         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65441 2010-06-14  Roland McGrath  <roland@redhat.com>
65443         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65445 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
65447         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65448         __REDIRECT followed by __THROW.
65449         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65450         * posix/getopt.h (getopt): Likewise.
65452 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65454         * hurd/lookup-at.c (__file_name_lookup_at): Accept
65455         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
65456         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65457         in AT_FLAGS.
65458         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65459         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65461 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
65463         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65465 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
65467         [BZ #11640]
65468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65469         Properly check family and model.
65471 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
65473         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65475 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
65477         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65479 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
65481         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65482         symbol reference.
65484 2010-05-19  Andreas Schwab  <schwab@redhat.com>
65486         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65487         symbol reference.
65489 2010-05-21  Andreas Schwab  <schwab@redhat.com>
65491         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65492         and internal_recvmmsg.
65493         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65494         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65495         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65496         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65498         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65499         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65500         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65502 2010-05-20  Andreas Schwab  <schwab@redhat.com>
65504         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65506 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
65508         POWER7 optimizations.
65509         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65510         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65512 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
65514         * version.h: Update for 2.13 development version.
65516 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
65518         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65519         exceptions.  Return 0.
65521 2010-05-07  Roland McGrath  <roland@redhat.com>
65523         * elf/ldconfig.c (main): Add a const.
65525 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
65527         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65528         (args_options): Add no-idn option.
65529         (ahosts_keys_int): Add idn_flags to ai_flags.
65530         (parse_option): Handle 'i' option to clear idn_flags.
65532         * malloc/malloc.c (_int_free): Possible race in the most recently
65533         added check.  Only act on the data if no current modification
65534         happened.
65536 See ChangeLog.17 for earlier changes.