PowerPC floating point little-endian [4 of 15]
[glibc.git] / ChangeLog
blobe3647f33ef5f538d3cbe4e3885b6b566ff8f4569
1 2013-10-04  Alan Modra  <amodra@gmail.com>
3         [BZ #15734], [BZ #15735]
4         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
5         all uses of ieee875 long double macros and unions.  Simplify test
6         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
7         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8         normalize after ldbl_extract_mantissa, and don't add hidden bit
9         already handled.  Don't treat low word of ieee854 mantissa like
10         low word of IBM long double and mask off bit when testing for
11         zero.
12         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13         all uses of ieee875 long double macros and unions.  Simplify tests
14         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
15         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
16         two1022, instead use their values.  Recognise that tests for large
17         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
18         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20         test for 0.0L and nan.  Correct negation.
21         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22         ieee875 long double macros and unions.  Correct output for large
23         magnitude x.  Correct absolute value calculation.
24         (__erfcl): Likewise.
25         * math/libm-test.inc: Add tests for errors discovered in IBM long
26         double versions of fmodl, remainderl, erfl and erfcl.
28 2013-10-04  Alan Modra  <amodra@gmail.com>
30         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31         all uses of ieee854 long double macros and unions.  Simplify tests
32         for long doubles that are fully specified by the high double.
33         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
34         Likewise.
35         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
36         Remove dead code too.
37         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
38         (__ieee754_ynl): Likewise.
39         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
40         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
41         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42         Remove dead code too.
43         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
44         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
47         Simplify.
48         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49         Simplify.
50         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
51         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
53         Comment on variable precision.
54         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
56         Likewise.
57         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
58         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
60         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
61         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63 2013-10-04  Alan Modra  <amodra@gmail.com>
65         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
66         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
67         all uses of ieee854 long double macros and unions.
68         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
69         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
71         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
72         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
73         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
74         Likewise.
75         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
76         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
77         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
78         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
79         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
80         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
81         Simplify sign and nan test too.
82         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
83         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
84         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
85         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
86         Likewise.
87         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
88         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
89         Likewise.
90         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
91         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
92         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
93         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
94         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
95         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
97 2013-10-04  Alan Modra  <amodra@gmail.com>
99         * stdio-common/printf_size.c (__printf_size): Don't use
100         union ieee854_long_double in fpnum union.
101         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
102         signbit macro to retrieve sign from long double.
103         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
104         retrieve sign from long double.
105         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
106         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
107         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
108         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
109         * math/test-misc.c (main): Don't use union ieee854_long_double.
111 2013-10-04  Alan Modra  <amodra@gmail.com>
113         [BZ #15680]
114         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
115         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
116         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
117         calculation.  Remove unnecessary test for denormal exponent.
118         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
119         Correct handling of denormals.  Avoid undefined shift behaviour.
120         Correct normalisation of low mantissa when low double is denormal.
121         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
122         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
123         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
124         Correct normalisation of low mantissa.  Test for overflow of high
125         mantissa and normalise.
126         (ldbl_nearbyint): Use more readable constant for two52.
127         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
128         (__mpn_construct_long_double): Fix test for overflow of high
129         mantissa and correct normalisation.  Avoid undefined shift.
131 2013-10-04  Alan Modra  <amodra@gmail.com>
133         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
134         (union ibm_extended_long_double): Define as an array of ieee754_double.
135         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
136         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
137         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
138         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
139         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
140         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
141         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
142         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
143         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
144         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
145         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
147 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
149         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
150         page size instead of calling getpagesize.
152         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
153         (LOCFILE_ALIGN_MASK): Likewise.
154         (LOCFILE_ALIGN_UP): Likewise.
155         (LOCFILE_ALIGNED_P): Likewise.
156         * locale/programs/ld-collate.c (collate_output): Use the new
157         macros instead of __alignof__ (int32_t).
158         * locale/weight.h (findidx): Likewise.
160 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
162         [BZ #431]
163         * manual/string.texi: Fix strncat and wcsncat.
165 2013-10-03  Brooks Moses  <bmoses@google.com>
167         [BZ #15915]
168         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
169         * Makerules: ...here, and adjust associated comments.
171 2013-10-02  Will Newton  <will.newton@linaro.org>
173         * malloc/Makefile: Add tst-pvalloc.
174         * malloc/tst-pvalloc.c: New file.
176 2013-10-02  Will Newton  <will.newton@linaro.org>
178         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
179         improve test coverage.
181 2013-10-02  Will Newton  <will.newton@linaro.org>
183         * malloc/Makefile: Add tst-posix_memalign.
184         * malloc/tst-posix_memalign.c: New file.
186 2013-10-01  Eric Blake  <eblake@redhat.com>
188         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
189         Use __THROWNL rather than __THROW on static functions.
191 2013-09-30  Petr Machata  <pmachata@redhat.com>
193         * elf/elf.h (R_AARCH64_ABS16): New macro.
194         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
195         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
196         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
197         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
198         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
199         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
200         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
201         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
202         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
203         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
204         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
205         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
206         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
207         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
208         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
209         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
210         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
211         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
212         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
213         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
214         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
215         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
216         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
217         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
218         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
219         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
220         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
221         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
222         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
223         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
224         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
225         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
226         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
227         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
228         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
229         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
230         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
231         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
232         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
233         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
234         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
235         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
236         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
237         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
238         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
239         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
240         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
241         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
242         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
243         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
244         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
245         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
246         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
247         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
248         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
249         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
250         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
251         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
252         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
253         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
254         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
255         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
256         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
257         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
258         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
259         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
260         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
261         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
262         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
263         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
264         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
265         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
266         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
267         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
268         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
269         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
270         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
271         (R_AARCH64_TLSDESC_LDR): Likewise.
272         (R_AARCH64_TLSDESC_ADD): Likewise.
273         (R_AARCH64_TLSDESC_CALL): Likewise.
275 2013-09-30  Andreas Schwab  <schwab@suse.de>
277         [BZ #15048]
278         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
279         the nss database lookup.
280         * nscd/initgrcache.c (addinitgroupsX): Likewise.
281         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
283 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
285         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
287 2013-09-28  P. J. McDermott  <pj@pehjota.net>
289         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
290         ${Bash-specific parameter/pattern/string} parameter expansion.
291         * sysdeps/unix/make-syscalls.sh: Likewise.
293 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
295         * sysdeps/sh/stackguard-macros.h: New file.
297 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
299         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
301         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
302         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
303         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
304         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
306 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
308         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
309         Fix thread ID register.
311 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
313         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
314         [POSIX || UNIX98]: Require rather than permitting all symbols from
315         <time.h>.
316         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
317         element of struct sched_param.
318         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
319         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
320         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
321         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
322         constant.
324 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
326         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
327         argument calculation.
329 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
331         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
332         Expect macro.
333         [POSIX] (pthread_attr_t): Do not require type.
334         [POSIX] (pthread_cond_t): Likewise.
335         [POSIX] (pthread_condattr_t): Likewise.
336         [POSIX] (pthread_key_t): Likewise.
337         [POSIX] (pthread_mutex_t): Likewise.
338         [POSIX] (pthread_mutexattr_t): Likewise.
339         [POSIX] (pthread_once_t): Likewise.
340         [POSIX] (pthread_t): Likewise.
341         [POSIX-based standards] (pthread_atfork): Expect function.
343 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
344             Richard Sandiford  <richard@codesourcery.com>
346         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
347         (swap_endianness_p): New extern variable.
348         (set_big_endian): New inline function.
349         (maybe_swap_uint32): Likewise.
350         (maybe_swap_uint32_array): Likewise.
351         (maybe_swap_uint32_obstack): Likewise.
352         * locale/programs/locfile.c: Include <stdbool.h>.
353         (swap_endianness_p): New variable.
354         (add_locale_uint32): Call maybe_swap_uint32.
355         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
356         (write_locale_data): Call maybe_swap_uint32_array.
357         * locale/programs/ld-collate.c (obstack_int32_grow): Call
358         maybe_swap_uint32.
359         (obstack_int32_grow_fast): Likewise.
360         (output_weightwc): Call maybe_swap_uint32_obstack.
361         (collate_output): Likewise.
362         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
363         (OPT_LITTLE_ENDIAN): Likewise.
364         (options): Add --little-endian and --big-endian options.
365         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
366         * locale/programs/locarchive.c: Include "locfile.h".
367         (GET): New macro.
368         (SET): Likewise.
369         (INC): Likewise.
370         (create_archive): Use the new macros to access fields of
371         structures directly mapped from or written to locale archives.
372         (oldlocrecentcmp): Likewise.
373         (enlarge_archive): Likewise.
374         (insert_name): Likewise.
375         (add_alias): Likewise.
376         (add_locale): Likewise.
377         (delete_locales_from_archive): Likewise.
378         (show_archive_content): Likewise.
379         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
380         locale data.
382 2013-09-24  Roland McGrath  <roland@hack.frob.com>
384         * manual/freemanuals.texi: Updated from (newly) canonical copy at
385         http://www.gnu.org/doc/freemanuals.texi.
386         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
388 2013-09-24  Will Newton  <will.newton@linaro.org>
390         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
391         macro.
393 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
395         * locale/hashval.h (compute_hashval): Interpret bytes of key as
396         unsigned char.
398 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
400         * manual/threads.texi (POSIX Threads): Fix a typo.
402 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
404         [BZ #14547]
405         * string/tst-strcoll-overflow.c: New test case.
406         * string/Makefile (xtests): Add tst-strcoll-overflow.
407         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
408         cache if string sizes may cause integer overflow.
410         [BZ #14547]
411         * string/strcoll_l.c (coll_seq): New members rule, idx,
412         save_idx and back_us.
413         (get_next_seq_nocache): New function.
414         (do_compare_nocache): New function.
415         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
416         when malloc fails.
418 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
420         [BZ #15754]
421         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
422         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
423         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
425         [BZ #15754]
426         * elf/Makefile (tests): Add tst-ptrguard1.
427         (tests-static): Add tst-ptrguard1-static.
428         (tst-ptrguard1-ARGS): Define.
429         (tst-ptrguard1-static-ARGS): Define.
430         * elf/tst-ptrguard1.c: New file.
431         * elf/tst-ptrguard1-static.c: New file.
432         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
433         * sysdeps/i386/stackguard-macros.h: Likewise.
434         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
435         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
436         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
437         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
438         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
439         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
441 2013-09-23  Hector Marco  <hecmargi@upv.es>
442             Ismael Ripoll  <iripoll@disca.upv.es>
443             Carlos O'Donell  <carlos@redhat.com>
445         [BZ #15754]
446         * sysdeps/generic/stackguard-macros.h: Define
447         __pointer_chk_guard_local and POINTER_CHK_GUARD.
448         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
449         Define __pointer_chk_guard_local.
450         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
451         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
453 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
455         [BZ #15859]
456         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
458 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
460         * include/string.h (__ffs): Declare as hidden.
461         * string/ffs.c (__ffs): Define as hidden.
462         * sysdeps/i386/ffs.c (__ffs): Likewise.
463         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
464         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
465         * sysdeps/s390/ffs.c (__ffs): Likewise.
466         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
468 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
470         * NEWS: Mention malloc probes.
472         * malloc/arena.c (new_heap): New memory_heap_new probe.
473         (grow_heap): New memory_heap_more probe.
474         (shrink_heap): New memory_heap_less probe.
475         (heap_trim): New memory_heap_free probe.
476         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
477         (systrim): New memory_sbrk_less probe.
478         * manual/probes.texi: Document them.
480         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
481         * manual/probes.texi: Document it.
483         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
484         (__libc_realloc): Add memory_realloc_retry probe.
485         (__libc_memalign): Add memory_memalign_retry probe.
486         (__libc_valloc): Add memory_valloc_retry probe.
487         (__libc_pvalloc): Add memory_pvalloc_retry probe.
488         (__libc_calloc): Add memory_calloc_retry probe.
489         * manual/probes.texi: Document them.
491         * malloc/arena.c (get_free_list): Add probe
492         memory_arena_reuse_free_list.
493         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
494         and memory_arena_reuse.
495         (arena_get2) [!PER_THREAD]: Likewise.
496         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
497         memory_arena_reuse_realloc.
498         * manual/probes.texi: Document them.
500         * malloc/malloc.c (__libc_free): Add
501         memory_mallopt_free_dyn_thresholds probe.
502         (__libc_mallopt): Add multiple memory_mallopt probes.
503         * manual/probes.texi: Document them.
505         * malloc/malloc.c: Include stap-probe.h.
506         (__libc_mallopt): Add memory_mallopt probe.
507         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
508         * manual/probes.texi: New.
509         * manual/Makefile (chapters): Add probes.
510         * manual/threads.texi: Set next node.
512 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
514         [BZ #15963, #13985]
515         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
516         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
517         Add `Chinese' to `nan' entry name.
519 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
521         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
522         (POLYNOMIAL): Likewise.
523         (TAYLOR_SINCOS): Likewise.
524         (TAYLOR_SLOW): Likewise.
525         (__sin): Use TAYLOR_SINCOS.
526         (__cos): Likewise.
527         (slow): Use TAYLOR_SLOW.
528         (sloww): Likewise.
529         (bsloww): Likewise.
530         (csloww): Likewise.
532 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
534         * stdlib/strtod_l.c: Fix buffer overrun.
536 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
538         * benchtests/Makefile (bench): Add sincos.
539         * benchtests/bench-sincos.c: New file.
541         * math/libm-test.inc (cos_test_data): New test inputs.
542         (sin_test_data): Likewise.
544         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
545         macro.
546         (__sin): Use it.
547         (__cos): Likewise.
548         (slow1): Likewise.
549         (slow2): Likewise.
550         (sloww1): Likewise.
551         (sloww2): Likewise.
552         (bsloww1): Likewise.
553         (bsloww2): Likewise.
554         (cslow2): Likewise.
555         (csloww1): Likewise.
556         (csloww2): Likewise.
558         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
559         function.
560         (__sin): Use it.
561         (__cos): Likewise.
563         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
564         gotos.
565         (__cos): Likewise.
567 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
569         * config.h.in (HAVE_MIPS_NAN2008): New macro.
570         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
571         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
572         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
573         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
574         * elf/cache.c (print_entry): Handle the new cache flags.
576 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
577             Aldy Hernandez  <aldyh@redhat.com>
579         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
580         Change condition to [_SOFT_FLOAT].
581         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
582         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
583         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
584         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
585         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
586         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
587         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
588         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
589         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
590         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
591         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
592         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
593         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
594         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
595         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
596         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
597         declaration.
599 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
601         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
602         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
603         (__longjmp): Use LOAD_GP to load saved GPRs.
604         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
605         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
606         (__sigsetjmp): Use SAVE_GP to save GPRs.
608         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
609         Do not append -msoft-float.
610         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
612 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
614         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
616 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
618         [BZ #15966]
619         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
620         (_FPU_GETCW): Use initial "__" on variable and field names but not
621         on macro parameter name.
622         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
623         parentheses around reference to macro parameter.
625 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
627         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
628         prototype.
629         (ctype_startup): Use uint32_t in cast and sizeof for
630         ctype->charnames.
632 2013-09-11  Jia Liu  <proljc@gmail.com>
634         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
635         __daddr_t_defined.
636         [__FreeBSD__]: Likewise.
638 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
641         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
642         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
643         (strchr): Remove __strchr_sse42 ifunc selection.
644         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
645         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
647 2013-09-11  Will Newton  <will.newton@linaro.org>
649         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
650         parameter to RES. Remove hardcoded 1000 value.
651         * benchtests/bench-skeleton.c (main): Pass RES parameter
652         to TIMING_INIT and multiply result by 1000.
654 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
658 2013-09-11  Andreas Schwab  <schwab@suse.de>
660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
661         if not defined.
662         (O_TMPFILE) [__USE_GNU]: Define.
663         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
664         Define.
666 2013-09-11  Will Newton  <will.newton@linaro.org>
668         [BZ #15857]
669         * malloc/malloc.c (__libc_memalign): Check the value of bytes
670         does not overflow.
672 2013-09-11  Will Newton  <will.newton@linaro.org>
674         [BZ #15856]
675         * malloc/malloc.c (__libc_valloc): Check the value of bytes
676         does not overflow.
678 2013-09-11  Will Newton  <will.newton@linaro.org>
680         [BZ #15855]
681         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
682         does not overflow.
684 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
686         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
687         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
688         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
689         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
690         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
692 2013-09-10  Allan McRae  <allan@archlinux.org>
694         [BZ #15748]
695         * manual/arith.texi (Parsing of Floats): Clarify
696         cross-reference.
698         [BZ #15849]
699         * manual/install.texi (Running make install): Mention
700         --enable-pt-chown.
701         * INSTALL: Regenerated.
703 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
705         * csu/init-first.c (_init): Remove the !SHARED condition around
706         FPU control word initialization.
707         * elf/dl-support.c (_dl_fpu_control): New variable.
708         (_dl_aux_init) <AT_FPUCW>: Initialize it.
709         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
710         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
711         * math/test-fpucw-static.c: New file.
712         * math/test-fpucw-ieee.c: New file.
713         * math/test-fpucw-ieee-static.c: New file.
714         * math/Makefile (tests): Add `test-fpucw-ieee' and
715         `$(tests-static)'.
716         (tests-static): New variable.
717         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
718         dependency to...
719         [($(build-shared),yes)]
720         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
721         ... this.
722         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
723         New dependency.
725 2013-09-09  Allan McRae  <allan@archlinux.org>
727         [BZ #15939]
728         * manual/string.texi (Collation Functions): Fix typo in
729         strcoll example.
730         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
732         [BZ #15893]
733         * stdlib/isomac.c (get_null_defines): Fix memory leak.
735         [BZ #15892]
736         * libio/memstream.c (open_memstream): Fix memory leak.
737         * libio/wmemstream.c (open_wmemstream): Likewise.
739         [BZ #15895]
740         * nscd/netgroupcache.c: Fix nesting of ifdefs.
742 2013-09-09  Will Newton  <will.newton@linaro.org>
744         * malloc/Makefile: Add tst-realloc to tests.
745         * malloc/tst-realloc.c: New file.
747 2013-09-09  Allan McRae  <allan@archlinux.org>
749         [BZ #15844]
750         * COPYING: Update from GNU website to fix FSF address.
751         * COPYING.LIB: Likewise.
753 2013-09-06  David S. Miller  <davem@davemloft.net>
755         * po/zh_TW.po: Update Chinese (traditional) translation from
756         translation project.
758 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
759             Joseph Myers  <joseph@codesourcery.com>
761         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
762         "localeinfo.h".
763         (obstack_chunk_alloc): New macro.
764         (obstack_chunk_free): Likewise.
765         (record_offset): New function.
766         (init_locale_data): Likewise.
767         (align_locale_data): Likewise.
768         (add_locale_empty): Likewise.
769         (add_locale_raw_data): Likewise.
770         (add_locale_raw_obstack): Likewise.
771         (add_locale_string): Likewise.
772         (add_locale_wstring): Likewise.
773         (add_locale_uint32): Likewise.
774         (add_locale_uint32_array): Likewise.
775         (add_locale_char): Likewise.
776         (start_locale_structure): Likewise.
777         (end_locale_structure): Likewise.
778         (start_locale_prelude): Likewise.
779         (end_locale_prelude): Likewise.
780         (write_locale_data): Take locale_file structure rather than an
781         iovec.
782         * locale/programs/locfile.h: Include "obstack.h".
783         (struct locale_file): Change to store locale file contents instead
784         of header.
785         (init_locale_data): New prototype.
786         (align_locale_data): Likewise.
787         (add_locale_empty): Likewise.
788         (add_locale_raw_data): Likewise.
789         (add_locale_raw_obstack): Likewise.
790         (add_locale_string): Likewise.
791         (add_locale_wstring): Likewise.
792         (add_locale_uint32): Likewise.
793         (add_locale_uint32_array): Likewise.
794         (add_locale_char): Likewise.
795         (start_locale_structure): Likewise.
796         (end_locale_structure): Likewise.
797         (start_locale_prelude): Likewise.
798         (end_locale_prelude): Likewise.
799         (write_locale_data): Update prototype.
800         * locale/programs/3level.h (struct TABLE): Remove result field.
801         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
802         Use new locale_file interface.
803         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
804         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
805         * locale/programs/ld-address.c (address_output): Use new
806         locale_file interface.
807         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
808         NO_ADD_LOCALE.
809         (collate_finish): Don't call collseq_table_finalize.
810         (collate_output): Use new locale_file interface.
811         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
812         in file.
813         (NO_FINALIZE): Change to NO_ADD_LOCALE.
814         (TABLE): Move defines earlier in file.
815         (ELEMENT): Likewise.
816         (DEFAULT): Likewise.
817         (wctrans_table_add): Move macro and inline function earlier in
818         file.
819         (struct wctype_table): Move type earlier in file.
820         (add_locale_wctype_table): New static prototype.
821         (struct locale_ctype_t): Use logical types instead of struct iovec
822         pointers for members.
823         (ctype_output): Use new locale_file interface.
824         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
825         new locale_file interface.
826         (allocate_arrays): Update for use of new locale_file interface.
827         * locale/programs/ld-identification.c (identification_output): Use
828         new locale_file interface.
829         * locale/programs/ld-measurement.c (measurement_output): Likewise.
830         * locale/programs/ld-messages.c (messages_output): Likewise.
831         * locale/programs/ld-monetary.c (monetary_output): Likewise.
832         * locale/programs/ld-name.c (name_output): Likewise.
833         * locale/programs/ld-numeric.c (numeric_output): Likewise.
834         * locale/programs/ld-paper.c (paper_output): Likewise.
835         * locale/programs/ld-telephone.c (telephone_output): Likewise.
836         * locale/programs/ld-time.c (time_output): Likewise.
838 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
840         * benchtests/Makefile: Add memrchr benchmark.
841         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
842         benchmark as memrchr.
843         * benchtests/bench-memrchr-ifunc.c: New file.
844         * benchtests/bench-memrchr.c: New file.
846 2013-09-06   Will Newton  <will.newton@linaro.org>
848         * benchtests/Makefile (string-bench): Add memcpy.
850 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
851             Cong Wang  <amwang@redhat.com>
853         * sysdeps/unix/sysv/linux/bits/in.h
854         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
855         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
856         before __USE_KERNEL_IPV6_DEFS uses.
857         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
858         IPPROTO_BEETPH.
859         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
860         sockaddr_in6, or ipv6_mreq.
862 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
864         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
865         memory access for final bytes in some large inputs.
866         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
868 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
870         * string/test-memrchr.c: New file.
871         * string/test-memrchr-ifunc.c: New file.
872         * string/Makefile: Add new memrchr testcase.
874 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
876         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
877         fanotify_init returns EPERM.
879 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
881         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
882         errors.
883         (top level): Treat second token from macro or constant entries for
884         allowed headers as allowed.
885         * include/complex.h: Condition internal declarations on
886         [!_ISOMAC].
887         * include/fenv.h: Condition include of <stdbool.h> and internal
888         declarations on [!_ISOMAC].
890 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
892         [BZ #15923]
893         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
895 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
897         * configure.in (--enable-versioning): Remove configure option.
898         (libc_cv_asm_symver_directive): Remove configure test.
899         (libc_cv_ld_version_script_option): Likewise.
900         (VERSIONING): Remove variable and AC_SUBST.
901         (DO_VERSIONING): Remove AC_DEFINE.
902         * configure: Regenerated.
903         * config.h.in (DO_VERSIONING): Remove macro.
904         * Makerules [$(versioning) = yes]: Change conditionals to
905         [$(build-shared) = yes].
906         * config.make.in (versioning): Remove variable.
907         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
908         [$(build-shared) = yes].
909         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
910         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
911         * elf/Makefile [$(versioning) = yes]: Change conditionals to
912         [$(build-shared) = yes].
913         * extra-lib.mk [$(versioning) = yes]: Likewise.
914         * hurd/Makefile [$(versioning) = yes]: Likewise.
915         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
916         [SHARED].
917         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
918         [SHARED].
919         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
920         [SHARED && !NO_HIDDEN].
921         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
922         [SHARED].
923         [SHARED && DO_VERSIONING]: Likewise..
924         * libio/Makefile [$(versioning) = yes]: Change conditionals to
925         [$(build-shared) = yes].
926         * manual/install.texi (--disable-versioning): Remove
927         documentation.
928         * INSTALL: Regenerated.
929         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
930         to [SHARED].
931         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
932         [$(build-shared) = yes].
933         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
934         * sysdeps/i386/i686/multiarch/strstr-c.c
935         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
936         [SHARED && !NO_HIDDEN].
937         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
938         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
939         * sysdeps/powerpc/powerpc32/dl-machine.c
940         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
941         * sysdeps/powerpc/powerpc32/sysdep.h
942         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
943         to [SHARED && PIC && !NO_HIDDEN].
944         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
945         conditional to [SHARED].
947 2013-09-04   Will Newton  <will.newton@linaro.org>
949         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
950         * benchtests/bench-string.h: Include bench-timing.h instead
951         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
952         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
953         call to HP_TIMING_DIFF_INIT.
954         * benchtests/bench-memccpy.c: Use bench-timing.h macros
955         instead of hp-timing.h macros.
956         * benchtests/bench-memchr.c: Likewise.
957         * benchtests/bench-memcmp.c: Likewise.
958         * benchtests/bench-memcpy.c: Likewise.
959         * benchtests/bench-memmem.c: Likewise.
960         * benchtests/bench-memmove.c: Likewise.
961         * benchtests/bench-memset.c: Likewise.
962         * benchtests/bench-rawmemchr.c: Likewise.
963         * benchtests/bench-strcasecmp.c: Likewise.
964         * benchtests/bench-strcasestr.c: Likewise.
965         * benchtests/bench-strcat.c: Likewise.
966         * benchtests/bench-strchr.c: Likewise.
967         * benchtests/bench-strcmp.c: Likewise.
968         * benchtests/bench-strcpy.c: Likewise.
969         * benchtests/bench-strcpy_chk.c: Likewise.
970         * benchtests/bench-strlen.c: Likewise.
971         * benchtests/bench-strncasecmp.c: Likewise.
972         * benchtests/bench-strncat.c: Likewise.
973         * benchtests/bench-strncmp.c: Likewise.
974         * benchtests/bench-strncpy.c: Likewise.
975         * benchtests/bench-strnlen.c: Likewise.
976         * benchtests/bench-strpbrk.c: Likewise.
977         * benchtests/bench-strrchr.c: Likewise.
978         * benchtests/bench-strspn.c: Likewise.
979         * benchtests/bench-strstr.c: Likewise.
981 2013-09-04  Will Newton  <will.newton@linaro.org>
983         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
985 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
987         [BZ #15427]
988         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
989         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
990         * math/libm-test.inc (lgamma_test_data): Add more tests.
991         * sysdeps/i386/fpu/libm-test-ulps: Update.
992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
994 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
996         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
998         Add ifunc.
999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1000         Add strcmp-sse2-unaligned
1001         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1003 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1005         * Versions.def (libc): Add GLIBC_2.19.
1007 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1009         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1010         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1012 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1014         [BZ #14155]
1015         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1016         intermediate calculations in recurrence.
1017         (__ieee754_ynf): Likewise.
1018         * math/libm-test.inc (jn_test_data): Do not allow spurious
1019         underflow exception.  Add more tests.
1020         (yn_test_data): Add more tests.
1021         * sysdeps/i386/fpu/libm-test-ulps: Update.
1022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1026         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1028 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1030         * csu/init-first.c: Fix then/than typos.
1031         * locale/programs/ld-collate.c: Likewise.
1032         * locale/programs/linereader.h: Likewise.
1033         * manual/charset.texi: Likewise.
1034         * manual/filesys.texi: Likewise.
1035         * manual/stdio.texi: Likewise.
1036         * manual/string.texi: Likewise.
1037         * stdlib/fmtmsg.c: Likewise.
1038         * sysdeps/i386/stpncpy.S: Likewise.
1039         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1040         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1041         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1042         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1044 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1046         * elf/dl-open.c: Fix typos.
1047         * iconvdata/gbbig5.c: Likewise.
1048         * iconvdata/iso-2022-jp.c: Likewise.
1049         * iconv/gconv_int.h: Likewise.
1050         * iconv/loop.c: Likewise.
1051         * nis/rpcsvc/nis.h: Likewise.
1052         * resolv/ns_name.c: Likewise.
1053         * stdio-common/vfscanf.c: Likewise.
1054         * streams/stropts.h: Likewise.
1055         * sunrpc/rpc_thread.c: Likewise.
1056         * sysdeps/i386/strpbrk.S: Likewise.
1057         * sysdeps/ieee754/k_standard.c: Likewise.
1058         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1060         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1061         * sysdeps/mach/hurd/profil.c: Likewise.
1062         * sysdeps/s390/dl-procinfo.h: Likewise.
1063         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1064         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1065         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1066         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1067         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1069 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1071         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1074 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1076         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1077         aix specific files.
1078         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1079         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1080         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1081         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1082         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1083         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1084         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1085         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1087 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1088             Roland McGrath  <roland@hack.frob.com>
1090         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1091         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1093 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1095         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1096         __executable_start symbol instead of _start.
1098 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1100         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1101         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1102         Move macros to...
1103         * sysdeps/gnu/ldsodefs.h: ... this new file.
1105         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1106         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1107         instead of ELFOSABI_LINUX.
1109         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1110         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1111         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1112         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1113         Likewise.
1114         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1115         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1116         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1117         Likewise.
1118         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1119         (ibm_extended_long_double): Add ieee_nan member.
1120         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1121         (do_test): New function.
1123         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1124         TEST_TRUNC.
1125         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1126         functions, renamed from truncdfsf_test, trunctfsf_test,
1127         trunctfdf_test.
1128         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1129         functions.
1130         (do_test): Run all these.
1132 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1134         * argp/argp-help.c: Fix typos.
1135         * argp/argp-parse.c: Likewise.
1136         * debug/backtracesyms.c: Likewise.
1137         * elf/elf.h: Likewise.
1138         * malloc/malloc.c: Likewise.
1139         * nis/nis_print.c: Likewise.
1140         * resolv/res_comp.c: Likewise.
1141         * stdlib/stdlib.h: Likewise.
1142         * sunrpc/clnt_tcp.c: Likewise.
1143         * sunrpc/clnt_udp.c: Likewise.
1144         * sunrpc/clnt_unix.c: Likewise.
1145         * sysdeps/unix/bsd/ptsname.c: Likewise.
1146         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1147         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1149         Likewise.
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1151         Likewise.
1152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1153         Likewise.
1154         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1156 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1158         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1159         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1161 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1163         [BZ #15897]
1164         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1165         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1166         ($(objpfx)bug-dl-leaf): New rule.
1167         ($(objpfx)bug-dl-leaf.so): Likewise.
1168         ($(objpfx)bug-dl-leaf.out): Likewise.
1169         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1170         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1171         * dlfcn/bug-dl-leaf.c: New test.
1172         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1173         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1174         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1175         (dlclose): Likewise.
1176         (dlmopen): Likewise.
1178 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1180         * include/netdb.h [!_ISOMAC]:
1181         Don't include <tls.h>.
1182         (h_errno, __libc_h_errno): Move declaration and macros out of
1183         [_LIBC_REENTRANT].
1185         * include/resolv.h [_RESOLV_H_]:
1186         Don't include <tls.h>.
1187         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1188         * resolv/res_libc.c: Don't include <tls.h>.
1189         (_res): Use __attribute__ ((nocommon)) in place of
1190         __attribute__ ((section (".bss"))).
1192         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1193         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1195         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1197         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1198         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1200         * resolv/res_mkquery.c: Include <sys/time.h>.
1202         * inet/ifreq.c: Moved to ...
1203         * sysdeps/unix/ifreq.c: ... here.
1204         * inet/ifreq.c: New file, true stub version.
1206         * socket/sa_len.c: New file.
1207         * socket/Makefile (aux): Add it.
1208         * sysdeps/unix/sysv/linux/Makefile
1209         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1210         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1211         and #include <socket/sa_len.c>.
1212         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1213         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1215         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1216         * bits/socket.h: ... here.
1218         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1219         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1220         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1222 2013-08-27  Andreas Schwab  <schwab@suse.de>
1224         [BZ #15736]
1225         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1226         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1227         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1228         * string/test-strcasecmp.c (test_main): Run tests in several
1229         locales.
1230         * string/test-strncasecmp.c (test_main): Likewise.
1232         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1233         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1234         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1235         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1236         (__strncasecmp_ssse3) [PIC]: Likewise.
1238 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1240         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1242         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1243         instead of explicitly declaring xdecrypt.
1244         * nis/nss_nis/nis-publickey.c: Likewise.
1246 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1248         [BZ #15890]
1249         * nscd/aicache.c: Include res_hconf.h.
1250         (addhstaiX): Initialize res_hconf.
1252 2013-08-26  Andreas Schwab  <schwab@suse.de>
1254         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1255         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1257 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1259         * nscd/aicache.c (addhstaiX): Fix indentation.
1261 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1263         * configure.ac: Quote $build_pt_chown test.
1264         * configure: Regenerated.
1266 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1268         [BZ #15532]
1269         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1270         * math/s_cexpf.c (__cexpf): Likewise.
1271         * math/s_cexpl.c (__cexpl): Likewise.
1272         * math/libm-test.inc (cexp_test_data): Correct expected return
1273         value for NaN + i0.  Add another test.
1275 2013-08-22  David S. Miller  <davem@davemloft.net>
1277         * po/ca.po: Update Catalan translation from translation project.
1278         * po/uk.po: Add Ukrainian translations from translation project.
1280 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1282         [BZ #15797]
1283         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1284         is infinite, not alongside NaN test.
1285         * math/s_fdimf.c (__fdimf): Likewise.
1286         * math/s_fdiml.c (__fdiml): Likewise.
1287         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1288         errno is unchanged.
1290 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1292         * argp/argp-help.c: Fix typos.
1293         * crypt/speeds.c: Likewise.
1294         * csu/check_fds.c: Likewise.
1295         * elf/dl-load.c: Likewise.
1296         * elf/dl-open.c: Likewise.
1297         * elf/reldep3.c: Likewise.
1298         * elf/reldep.c: Likewise.
1299         * elf/sprof.c: Likewise.
1300         * iconv/iconv_charmap.c: Likewise.
1301         * iconv/skeleton.c: Likewise.
1302         * iconv/strtab.c: Likewise.
1303         * io/lockf64.c: Likewise.
1304         * libio/libioP.h: Likewise.
1305         * resolv/gai_notify.c: Likewise.
1306         * resolv/ns_name.c: Likewise.
1307         * resolv/ns_samedomain.c: Likewise.
1308         * resolv/res_send.c: Likewise.
1309         * stdlib/random.c: Likewise.
1310         * sunrpc/rpc/xdr.h: Likewise.
1311         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1312         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1313         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1314         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1315         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1316         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1317         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1319         * sysdeps/mach/hurd/check_fds.c: Likewise.
1320         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1321         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1322         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1323         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1324         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1325         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1326         * sysdeps/pthread/aio_notify.c: Likewise.
1327         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1328         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1329         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1330         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1331         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1333 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1335         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1336         version if bit_Slow_SSE4_2 is set.
1337         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1338         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1340 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1342         [BZ #15867]
1343         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1344         trampoline stack frame information.
1345         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1346         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1347         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1348         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1349         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1350         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1351         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1352         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1353         sa_flags value.
1354         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1355         interrupting a syscall and set with option SA_SIGINFO.
1357 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1359         [BZ #15531]
1360         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1361         argument is infinite.
1362         * math/s_cprojf.c (__cprojf): Likewise.
1363         * math/s_cprojl.c (__cprojl): Likewise.
1364         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1365         * math/libm-test.inc (cproj_test_data): Add more tests.
1367         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1369         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1370         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1371         size.  Use __ffs to determine corresponding shift.
1373 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1374             Roland McGrath  <roland@hack.frob.com>
1376         * Makefile (INSTALL): Remove trailing blank lines from output of
1377         makeinfo.
1379 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1381         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1382         Align 32 bit compat elf_greg to 8 bytes.
1384 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1386         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1388 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1390         * string/strcoll_l.c (coll_seq): New structure.
1391         (get_next_seq_cached): New function.
1392         (get_next_seq): New function.
1393         (do_compare): New function.
1394         (STRCOLL): Use GNU style definition.  Simplify implementation
1395         by using get_next_seq, get_next_seq_cached and do_compare.
1397 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1399         [BZ #14699]
1400         CVE-2013-4237
1401         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1402         member.
1403         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1404         member.
1405         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1406         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1407         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1408         conditional.
1409         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1410         GETDENTS_64BIT_ALIGNED.
1411         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1412         * manual/filesys.texi (Reading/Closing Directory): Document
1413         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1414         strongly.
1415         * manual/conf.texi (Limits for Files): Add portability note to
1416         NAME_MAX, PATH_MAX.
1417         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1419 2013-08-13  Andreas Schwab  <schwab@suse.de>
1421         [BZ #15749]
1422         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1423         of fabs.
1424         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1425         LDBL_MAX_EXP >= 16384]: Add tests for it.
1427 2013-08-12  David S. Miller  <davem@davemloft.net>
1429         * version.h (RELEASE): Set to "development".
1430         (VERSION): Set to "2.18.90".
1431         * NEWS: Add 2.19 section.
1433 2013-08-03  David S. Miller  <davem@davemloft.net>
1435         * po/ko.po: Update Korean translation from translation project.
1437 2013-08-01  David S. Miller  <davem@davemloft.net>
1439         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1440         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1441         Bilka.
1443 2013-07-30  David S. Miller  <davem@davemloft.net>
1445         * po/fr.po: Update French translation from translation project.
1447 2013-07-28  David S. Miller  <davem@davemloft.net>
1449         * po/cs.po: Update Czech translation from translation project.
1451         * po/sv.po: Update Swedish translation from translation project.
1453 2013-07-27  David S. Miller  <davem@davemloft.net>
1455         * po/eo.po: Update Esperanto translation from translation project.
1457         * po/vi.po: Update Vietnamese translation from translation project.
1459         * po/de.po: Update German translation from translation project.
1461 2013-07-26  David S. Miller  <davem@davemloft.net>
1463         * po/bg.po: Update Bulgarian translation from translation project.
1465         * po/nl.po: Update Dutch translation from translation project.
1466         * po/pl.po: Update Polish translation from translation project.
1467         * po/ru.po: Update Russian translation from translation project.
1469 2013-07-24  David S. Miller  <davem@davemloft.net>
1471         * po/libc.pot: Update.
1473 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1475         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1476         variable page size.
1477         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1478         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1479         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1481 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1483         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1485 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1486             Andreas Schwab  <schwab@suse.de>
1487             Roland McGrath  <roland@hack.frob.com>
1488             Joseph Myers  <joseph@codesourcery.com>
1489             Carlos O'Donell  <carlos@redhat.com>
1491         [BZ #15755]
1492         * config.h.in: Define HAVE_PT_CHOWN.
1493         * config.make.in (build-pt-chown): New variable.
1494         * configure.in (--enable-pt_chown): New configure option.
1495         * configure: Regenerate.
1496         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1497         build-pt-chown is enabled.
1498         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1499         pt_chown to fix pty ownership.
1500         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1501         CLOSE_ALL_FDS.
1502         * manual/install.texi (Configuring and compiling): Mention
1503         --enable-pt_chown. Add @findex for grantpt.
1504         * INSTALL: Regenerate.
1506 2013-07-20  David S. Miller  <davem@davemloft.net>
1508         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1509         difference between 32-bit and 64-bit.
1511 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1513         [BZ #15711]
1514         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1515         Avoid system header dependency with -ffreestanding.
1516         ($(objpfx)bits/syscall%d): Likewise.
1518 2013-07-13  David S. Miller  <davem@davemloft.net>
1520         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1521         underflows from atanl/atan2l due to bug 15319.
1522         (casinh_test_data): Likewise.
1524 2013-07-07  David S. Miller  <davem@davemloft.net>
1526         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1528 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1530         * sysdeps/i386/fpu/libm-test-ulps: Update.
1531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1533 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1535         * configure.in (--enable-lock-elision): Fix message text.
1536         * INSTALL: Regenerate.
1537         * configure: Regenerate.
1539 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1541         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1543 2013-07-03  Andreas Jaeger  <aj@suse.de>
1545         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1546         define.
1547         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1548         (ptrace_peeksiginfo_args): Add.
1549         (__ptrace_peeksiginfo_flags): Add.
1550         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1551         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1552         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1554 2013-07-03  Allan McRae  <allan@archlinux.org>
1556         * sysdeps/i386/fpu/libm-test-ulps: Update.
1558 2013-07-02  David S. Miller  <davem@davemloft.net>
1560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1562 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1564         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1566 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1568         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1571 2013-07-02  Andi Kleen <ak@linux.intel.com>
1573         * config.h.in (ENABLE_LOCK_ELISION): Add.
1574         * configure.in (--enable-lock-elision): Add option.
1575         * manual/install.texi: Document --enable lock elision.
1576         * configure: Regenerate
1577         * INSTALL: Regenerate.
1579 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1581         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1582         SSE4.2 strcasecmp for libc.a.
1583         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1585 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1587         [BZ #13304]
1588         * soft-fp/op-common.h (_FP_FMA): New macro.
1589         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1590         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1591         (_FP_MUL_MEAT_1_imm): ... here.
1592         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1593         (_FP_MUL_MEAT_1_wide): ... here.
1594         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1595         (_FP_MUL_MEAT_1_hard): ... here.
1596         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1597         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1598         (_FP_MUL_MEAT_2_wide): ... here.
1599         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1600         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1601         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1602         (_FP_MUL_MEAT_2_gmp): ... here.
1603         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1604         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1605         (_FP_MUL_MEAT_4_wide): ... here.
1606         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1607         (_FP_MUL_MEAT_4_gmp): ... here.
1608         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1609         (_FP_WFRACBITS_DW_S): Likewise.
1610         (_FP_WFRACXBITS_DW_S): Likewise.
1611         (_FP_HIGHBIT_DW_S): Likewise.
1612         (FP_FMA_S): Likewise.
1613         (_FP_FRAC_HIGH_DW_S): Likewise.
1614         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1615         (_FP_WFRACBITS_DW_D): Likewise.
1616         (_FP_WFRACXBITS_DW_D): Likewise.
1617         (_FP_HIGHBIT_DW_D): Likewise.
1618         (FP_FMA_D): Likewise.
1619         (_FP_FRAC_HIGH_DW_D): Likewise.
1620         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1621         (_FP_WFRACBITS_DW_E): Likewise.
1622         (_FP_WFRACXBITS_DW_E): Likewise.
1623         (_FP_HIGHBIT_DW_E): Likewise.
1624         (FP_FMA_E): Likewise.
1625         (_FP_FRAC_HIGH_DW_E): Likewise.
1626         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1627         (_FP_WFRACBITS_DW_Q): Likewise.
1628         (_FP_WFRACXBITS_DW_Q): Likewise.
1629         (_FP_HIGHBIT_DW_Q): Likewise.
1630         (FP_FMA_Q): Likewise.
1631         (_FP_FRAC_HIGH_DW_Q): Likewise.
1632         * soft-fp/fmasf4.c: New file.
1633         * soft-fp/fmadf4.c: Likewise.
1634         * soft-fp/fmatf4.c: Likewise.
1636 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1639         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1640         Silvermont.
1641         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1642         macro.
1643         (index_Slow_SSE4_2): Likewise.
1644         (index_Prefer_PMINUB_for_stringop): Likewise.
1645         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1646         bit_Slow_SSE4_2 is set.
1647         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1648         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1650 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1652         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1653         rtld_global._dl_hwcap2.
1654         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1655         POWER8.
1656         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1657         POWER8 feature descriptions defined in _dl_hwcap2.
1658         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1659         string handling for POWER8 feature bits.
1660         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1661         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1662         _dl_powerpc_cap_flags.
1663         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1664         * sysdeps/powerpc/rtld-global-offsets.sym
1665         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1666         _dl_hwcap2 in the rtld_global_ro structure.
1668 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1670         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1671         hardware capabilities in support of AT_HWCAP2.
1672         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1673         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1674         GLRO(dl_hwcap2).
1675         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1676         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1677         explicitly the unknown a_type display mechanism is used.
1678         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1679         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1680         struct member.
1681         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1682         to macro prototype for AT_HWCAP2 support.
1683         * sysdeps/i386/dl-procinfo.h: Likewise.
1684         * sysdeps/s390/dl-procinfo.h: Likewise.
1685         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1686         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1687         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1688         return -1 for unknown a_type display fallback.
1689         * sysdeps/sparc/dl-procinfo.h: Likewise.
1690         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1691         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1693 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1695         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1696         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1698 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1700         [BZ #12492]
1701         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1702         mprotect making __stack_prot writable.
1704 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1705             Joseph Myers  <joseph@codesourcery.com>
1707         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1708         as being properly aligned.
1710 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1712         * dlfcn/modstatic5.c: New file.
1713         * dlfcn/tststatic5.c: New file.
1714         * dlfcn/Makefile (tests): Add tststatic5.
1715         (tests-static): Likewise.
1716         (modules-names): Add modstatic5.
1717         (tststatic5-ENV): New variable.
1718         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1720         [BZ #15022]
1721         * elf/dl-support.c (_dl_main_map): New variable.
1722         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1723         (_dl_nns, _dl_load_adds): Set to 1.
1724         (_dl_initial_searchlist): Refer to _dl_main_map.
1725         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1726         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1727         call to _dl_get_origin.
1728         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1729         around call_map.
1730         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1731         * dlfcn/modstatic3.c: New file.
1732         * dlfcn/tststatic3.c: New file.
1733         * dlfcn/tststatic4.c: New file.
1734         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1735         (tests-static): Likewise.
1736         (modules-names): Add modstatic3.
1737         (tststatic3-ENV, tststatic4-ENV): New variables.
1738         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1739         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1741 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1743         * configure.in (CC): Require GCC version 4.4 or later.
1744         * configure: Regenerated.
1745         * manual/install.texi (Tools for Compilation): Update GCC version
1746         requirement.
1747         * INSTALL: Regenerated.
1749 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1751         [BZ #15674]
1752         * string/test-memcmp.c (check2): New.
1753         (main): Call check2.
1755         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1757 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1759         [BZ #15022]
1760         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1761         over to...
1762         (dl_open_worker) [!SHARED]: ... here.
1764 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1766         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1768 2013-06-25  Richard Henderson  <rth@redhat.com>
1770         * locale/programs/locarchive.c: Include <libc-internal.h>
1772 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1774         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1775         trailing whitespace removed.
1777 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1779         [BZ #10283]
1780         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1781         * locale/programs/locarchive.c: Include libc-mmap.h.
1782         (prepare_address_space): Take two new outputs (the mmap base and len).
1783         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1784         values.
1785         (create_archive): Declare new mmap base and len values for
1786         prepare_address_space, and store the result in ah.
1787         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1788         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1789         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1790         Declare new mmap base and len values for
1791         prepare_address_space, and store the result in new_ah.
1792         (open_archive): Declare new mmap base and len values for
1793         prepare_address_space, and store the result in ah.
1794         (close_archive): If ah->mmap_base is not NULL, use that and
1795         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1796         * sysdeps/generic/libc-mmap.h: New file.
1798 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1800         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1801         (ALIGN_UP): Likewise.
1802         (PTR_ALIGN_DOWN): Likewise.
1803         (PTR_ALIGN_UP): Likewise.
1805 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1807         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1808         entry mapped to PPC_PLATFORM_POWER8.
1809         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1810         POWER8.
1811         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1812         (_dl_string_platform): Add case for exporting platform position for
1813         POWER8.
1814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1815         search path to sysdeps/powerpc/powerpc32/power8 directory.
1816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1817         search path to sysdeps/powerpc/powerpc64/power8 directory.
1818         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1819         power7 directories.
1820         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1821         power7 directories.
1823 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1825         * INSTALL: Regenerate.
1827         * nscd/connections.c (nscd_init): Fix comment.
1829 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1831         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1833         [BZ #15667]
1834         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1835         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1837 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1839         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1840         DL_DST_REQ_STATIC.
1841         (DL_DST_REQ_STATIC): Remove macro.
1843 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1845         [BZ #7006]
1846         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1847         with a shift of 0 bits.
1849 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1851         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1852         $(tststatic-ENV).
1854 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
1856         [BZ #15655]
1857         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
1859 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1861         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
1862         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
1863         accepts -fno-tree-loop-distribute-patterns.
1864         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
1865         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
1866         recursive call.
1867         * string/memset.c (memset): Likewise.
1868         * string/test-memmove.c (simple_memmove): Disable loop transformation
1869         to library calls.
1870         * string/test-memset.c (simple_memset): Likewise.
1871         * benchtests/bench-memmove.c (simple_memmove): Likewise.
1872         * benchtests/bench-memset.c (simple_memset): Likewise.
1873         * configure: Regenerated.
1875 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
1877         * math/test-misc.c (main): Ignore fesetround failure when failures
1878         of subsequent rounding tests would be ignored.
1880         [BZ #15654]
1881         * math/fedisblxcpt.c (fedisableexcept): Return 0.
1882         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
1883         * math/fegetenv.c (__fegetenv): Return 0.
1884         * math/fegetexcept.c (fegetexcept): Return 0.
1885         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
1886         FE_TONEAREST.
1887         * math/feholdexcpt.c (feholdexcept): Return 0.
1888         * math/fesetenv.c (__fesetenv): Return 0.
1889         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
1890         argument FE_TONEAREST.
1891         * math/feupdateenv.c (__feupdateenv): Return 0.
1892         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
1894 2013-06-18  Roland McGrath  <roland@hack.frob.com>
1896         * elf/rtld-Rules (rtld-compile-command.S): New variable.
1897         (rtld-compile-command.s, rtld-compile-command.c): New variables.
1898         ($(objpfx)rtld-%.os rules): Use them.
1900 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1902         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
1903         fields.
1905 2013-06-17  Roland McGrath  <roland@hack.frob.com>
1907         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
1908         length of target pattern, then descending length of dependency pattern.
1909         * configure.in (AWK): Require gawk 3.1.2 or newer.
1910         * manual/install.texi (Tools for Compilation): Say that we do.
1911         * configure: Regenerated.
1913         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
1914         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
1915         * scripts/sysd-rules.awk: ... this new script.
1916         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
1917         than a glob-style pattern.
1919 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
1921         * math/test-misc.c (main): Do not treat incorrectly rounded
1922         conversions as failure unless ROUNDING_TESTS passes.
1924 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
1926         [BZ #15631]
1927         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
1928         restore exception state around main square root computation, then
1929         check for inexactness explicitly.
1931         * math/libm-test.inc (fma_test_data): Add another test.
1933 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1935         * manual/threads.texi (Non-POSIX Extensions): New document
1936         node.  Document pthread_getattr_default_np and
1937         pthread_setattr_default_np.
1939         * Versions.def (libpthread): Add GLIBC_2.18.
1940         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
1941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1942         Likewise.
1943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1944         Likewise.
1945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1946         Likewise.
1947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1948         Likewise.
1949         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
1950         Likewise.
1951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
1952         Likewise.
1953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
1954         Likewise.
1955         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1956         Likewise.
1957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
1958         Likewise.
1960 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1963         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
1965 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1966             H.J. Lu  <hjl.tools@gmail.com>
1968         [BZ #15627]
1969         * sysdeps/x86_64/rtld-memset.c: Remove file.
1970         * sysdeps/x86_64/rtld-memset.S: New file.
1972 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
1974         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
1975         (test_in_one_mode): Take arguments for whether the rounding mode
1976         is supported for each floating-point type.
1977         (do_test): Pass new arguments to test_in_one_mode using
1978         ROUNDING_TESTS.
1980 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1982         * posix/tst-waitid.c (do_test): Distinguish different instances of
1983         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
1984         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
1985         before entering the kernel for waitpid.
1987 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
1989         * NEWS: Fix note on clock function precision.  Text by Roland
1990         McGrath.
1992 2013-06-13  Roland McGrath  <roland@hack.frob.com>
1994         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
1995         it into place only when and if the sanity check passes.
1997 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
1999         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2000         output for whether conversion result is exact.  Take argument
2001         indicating whether type is IBM long double.
2002         (round_for_all): Change need_exact field to ibm_ld.
2003         * stdlib/tst-strtod-round.c (struct exactness): New type.
2004         (struct test): Change bool ld_ok field to struct exactness exact.
2005         (TEST): Update all definitions for change to field.
2006         (tests): Regenerate array contents.
2007         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2008         field value.  Check for IBM long double here.
2009         (do_test): Update calls to test_in_one_mode.
2011 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2013         [BZ #12515]
2014         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2015         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2017 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2019         [BZ #15605]
2020         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2021         generated by the compiler on loop optimizations.
2022         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2023         general definitions.
2025 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2027         * math/bug-nextafter.c: Include <math-tests.h>.
2028         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2029         the relevant type.
2030         * math/bug-nexttoward.c: Include <math-tests.h>.
2031         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2032         the relevant type.
2033         * math/test-misc.c: Include <math-tests.h>.
2034         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2035         the relevant type.
2037 2013-06-12  Andreas Jaeger  <aj@suse.de>
2039         * po/ia.po: Update Interlingua translation from translation
2040         project.
2042 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2044         * include/fenv.h: Include stdbool.h.
2045         (struct rm_ctx): New structure.
2046         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2047         Define macro.
2048         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2049         (SET_RESTORE_ROUNDF): Likewise.
2050         (SET_RESTORE_ROUNDL): Likewise.
2051         (SET_RESTORE_ROUND_NOEX): Likewise.
2052         (SET_RESTORE_ROUND_NOEXF): Likewise.
2053         (SET_RESTORE_ROUND_NOEXL): Likewise.
2054         (SET_RESTORE_ROUND_53BIT): Likewise.
2055         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2056         (libc_feresetround_noexf_ctx): Likewise.
2057         (libc_feresetround_noexl_ctx): Likewise.
2058         (libc_feholdsetround_53bit_ctx): Likewise.
2059         (libc_feresetround_53bit_ctx): Likewise.
2060         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2061         (libc_feholdexcept_setround_sse_ctx): New function.
2062         (libc_fesetenv_sse_ctx): Likewise.
2063         (libc_feupdateenv_sse_ctx): Likewise.
2064         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2065         (libc_feholdexcept_setround_387_ctx): Likewise.
2066         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2067         (libc_feholdsetround_387_prec_ctx): Likewise.
2068         (libc_feholdsetround_387_ctx): Likewise.
2069         (libc_feholdsetround_387_53bit_ctx): Likewise.
2070         (libc_feholdsetround_sse_ctx): Likewise.
2071         (libc_feresetround_sse_ctx): Likewise.
2072         (libc_feresetround_387_ctx): Likewise.
2073         (libc_feupdateenv_387_ctx): Likewise.
2074         (libc_feholdexcept_setroundf_ctx): Define macro.
2075         (libc_fesetenvf_ctx): Likewise.
2076         (libc_feupdateenvf_ctx): Likewise.
2077         (libc_feholdsetroundf_ctx): Likewise.
2078         (libc_feresetroundf_ctx): Likewise.
2079         (libc_feholdexcept_setround_ctx): Likewise.
2080         (libc_fesetenv_ctx): Likewise.
2081         (libc_feupdateenv_ctx): Likewise.
2082         (libc_feholdsetround_ctx): Likewise.
2083         (libc_feresetround_ctx): Likewise.
2084         (libc_feholdexcept_setroundl_ctx): Likewise.
2085         (libc_feupdateenvl_ctx): Likewise.
2086         (libc_feholdsetroundl_ctx): Likewise.
2087         (libc_feresetroundl_ctx): Likewise.
2088         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2089         (libc_feresetround_53bit_ctx): Likewise.
2091 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2093         * locale/iso-639.def: Convert to UTF-8.
2095 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2097         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2098         (EXCEPTION_TESTS_double): Likewise.
2099         (EXCEPTION_TESTS_long_double): Likewise.
2100         (EXCEPTION_TESTS): Likewise.
2101         * math/libm-test.inc (test_exceptions): Only test exceptions if
2102         EXCEPTION_TESTS (FLOAT).
2104 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2106         * benchtests/Makefile (string-bench): Add strcpy_chk and
2107         stpcpy_chk.
2108         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2109         * benchtests/bench-stpcpy_chk.c: New file.
2110         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2111         * benchtests/bench-strcpy_chk.c: New file.
2112         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2113         code.
2114         (do_test): Likewise.
2116 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2118         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2119         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2120         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2121         with tabs where appropriate.
2122         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2123         dl-procinfo.h.
2124         [PPC_PLATFORM_PPC440]: Likewise.
2125         [PPC_PLATFORM_PPC464]: Likewise.
2126         [PPC_PLATFORM_PPC476]: Likewise.
2127         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2128         ppc464, and ppc476 platform strings merging from ports/
2129         dl-procinfo.h.
2131 2013-06-11  Andreas Schwab  <schwab@suse.de>
2133         [BZ #14991]
2134         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2135         (from_ucs4_idx): Regenerate.
2136         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2137         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2138         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2139         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2140         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2141         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2142         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2143         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2144         from FROM_LOOP and TO_LOOP specific macros.
2145         (BODY): Handle combining characters.
2146         * iconvdata/BIG5HKSCS.irreversible: Update.
2147         * iconvdata/BIG5HKSCS.precomposed: New file.
2148         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2149         characters.
2150         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2152 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2154         * include/sys/time.h: Fix indentation and add copyright header.
2156         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2157         (do_test): Likewise.
2158         * string/test-memchr.c (do_one_test): Likewise.
2159         (do_test): Likewise.
2160         * string/test-memcmp.c (do_one_test): Likewise.
2161         (do_test): Likewise.
2162         * string/test-memcpy.c (do_one_test): Likewise.
2163         (do_test): Likewise.
2164         * string/test-memmem.c (do_one_test): Likewise.
2165         (do_test): Likewise.
2166         (do_random_tests): Likewise.
2167         * string/test-memmove.c (do_one_test): Likewise.
2168         (do_test): Likewise.
2169         * string/test-memset.c (do_one_test): Likewise.
2170         (do_test): Likewise.
2171         * string/test-rawmemchr.c (do_one_test): Likewise.
2172         (do_test): Likewise.
2173         * string/test-strcasecmp.c (do_one_test): Likewise.
2174         (do_test): Likewise.
2175         * string/test-strcasestr.c (do_one_test): Likewise.
2176         (do_test): Likewise.
2177         * string/test-strcat.c (do_one_test): Likewise.
2178         (do_test): Likewise.
2179         * string/test-strchr.c (do_one_test): Likewise.
2180         (do_test): Likewise.
2181         * string/test-strcmp.c (do_one_test): Likewise.
2182         (do_test): Likewise.
2183         * string/test-strcpy.c (do_one_test): Likewise.
2184         (do_test): Likewise.
2185         * string/test-string.h: Likewise.
2186         (test_init): Likewise.
2187         * string/test-strlen.c (do_one_test): Likewise.
2188         (do_test): Likewise.
2189         * string/test-strncasecmp.c (do_one_test): Likewise.
2190         (do_test): Likewise.
2191         * string/test-strncat.c (do_one_test): Likewise.
2192         (do_test): Likewise.
2193         * string/test-strncmp.c (do_one_test): Likewise.
2194         (do_test_limit): Likewise.
2195         (do_test): Likewise.
2196         * string/test-strncpy.c (do_one_test): Likewise.
2197         (do_test): Likewise.
2198         * string/test-strnlen.c (do_one_test): Likewise.
2199         (do_test): Likewise.
2200         * string/test-strpbrk.c (do_one_test): Likewise.
2201         (do_test): Likewise.
2202         * string/test-strrchr.c (do_one_test): Likewise.
2203         (do_test): Likewise.
2204         * string/test-strspn.c (do_one_test): Likewise.
2205         (do_test): Likewise.
2206         * string/test-strstr.c (do_one_test): Likewise.
2207         (do_test): Likewise.
2209         * benchtests/Makefile (string-bench): Add string benchmarks.
2210         * benchtests/bench-bcopy-ifunc.c: New file.
2211         * benchtests/bench-bcopy.c: New file.
2212         * benchtests/bench-bzero-ifunc.c: New file.
2213         * benchtests/bench-bzero.c: New file.
2214         * benchtests/bench-memccpy-ifunc.c: New file.
2215         * benchtests/bench-memccpy.c: New file.
2216         * benchtests/bench-memchr-ifunc.c: New file.
2217         * benchtests/bench-memchr.c: New file.
2218         * benchtests/bench-memcmp-ifunc.c: New file.
2219         * benchtests/bench-memcmp.c: New file.
2220         * benchtests/bench-memmem-ifunc.c: New file.
2221         * benchtests/bench-memmem.c: New file.
2222         * benchtests/bench-memmove-ifunc.c: New file.
2223         * benchtests/bench-memmove.c: New file.
2224         * benchtests/bench-mempcpy-ifunc.c: New file.
2225         * benchtests/bench-mempcpy.c: New file.
2226         * benchtests/bench-memset-ifunc.c: New file.
2227         * benchtests/bench-memset.c: New file.
2228         * benchtests/bench-rawmemchr-ifunc.c: New file.
2229         * benchtests/bench-rawmemchr.c: New file.
2230         * benchtests/bench-stpcpy-ifunc.c: New file.
2231         * benchtests/bench-stpcpy.c: New file.
2232         * benchtests/bench-stpncpy-ifunc.c: New file.
2233         * benchtests/bench-stpncpy.c: New file.
2234         * benchtests/bench-strcasecmp-ifunc.c: New file.
2235         * benchtests/bench-strcasecmp.c: New file.
2236         * benchtests/bench-strcasestr-ifunc.c: New file.
2237         * benchtests/bench-strcasestr.c: New file.
2238         * benchtests/bench-strcat-ifunc.c: New file.
2239         * benchtests/bench-strcat.c: New file.
2240         * benchtests/bench-strchr-ifunc.c: New file.
2241         * benchtests/bench-strchr.c: New file.
2242         * benchtests/bench-strchrnul-ifunc.c: New file.
2243         * benchtests/bench-strchrnul.c: New file.
2244         * benchtests/bench-strcmp-ifunc.c: New file.
2245         * benchtests/bench-strcmp.c: New file.
2246         * benchtests/bench-strcpy-ifunc.c: New file.
2247         * benchtests/bench-strcpy.c: New file.
2248         * benchtests/bench-strcspn-ifunc.c: New file.
2249         * benchtests/bench-strcspn.c: New file.
2250         * benchtests/bench-strlen-ifunc.c: New file.
2251         * benchtests/bench-strlen.c: New file.
2252         * benchtests/bench-strncasecmp-ifunc.c: New file.
2253         * benchtests/bench-strncasecmp.c: New file.
2254         * benchtests/bench-strncat-ifunc.c: New file.
2255         * benchtests/bench-strncat.c: New file.
2256         * benchtests/bench-strncmp-ifunc.c: New file.
2257         * benchtests/bench-strncmp.c: New file.
2258         * benchtests/bench-strncpy-ifunc.c: New file.
2259         * benchtests/bench-strncpy.c: New file.
2260         * benchtests/bench-strnlen-ifunc.c: New file.
2261         * benchtests/bench-strnlen.c: New file.
2262         * benchtests/bench-strpbrk-ifunc.c: New file.
2263         * benchtests/bench-strpbrk.c: New file.
2264         * benchtests/bench-strrchr-ifunc.c: New file.
2265         * benchtests/bench-strrchr.c: New file.
2266         * benchtests/bench-strspn-ifunc.c: New file.
2267         * benchtests/bench-strspn.c: New file.
2268         * benchtests/bench-strstr-ifunc.c: New file.
2269         * benchtests/bench-strstr.c: New file.
2271         * benchtests/Makefile: Disable parallel execution of targets.
2272         (string-bench): Add memcpy.
2273         (benchset): New variable to store a list of benchmark sets.
2274         (bench-func): Renamed from bench.
2275         (bench-set): New target.
2276         (bench): Depend on bench-func and bench-set.
2277         * benchtests/README: Add section on benchmark sets.
2278         * benchtests/bench-memcpy-ifunc.c: New file.
2279         * benchtests/bench-memcpy.c: New file.
2280         * benchtests/bench-string.h: New file.
2282 2013-06-11  Andreas Schwab  <schwab@suse.de>
2284         [BZ #15577]
2285         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2286         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2287         values in the triple.
2288         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2289         terminator in the group key.
2291 2013-06-11  Andreas Jaeger  <aj@suse.de>
2293         * po/zh_TW.po: Update Chinese (traditional) translation from
2294         translation project.
2296 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2298         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2299         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2300         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2302         (clock_getcpuclockid): Likewise.
2303         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2304         Add weak_alias and libc_hidden_def.
2305         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2306         * rt/clock_gettime.c (clock_gettime): Rename to
2307         __clock_gettime.  Add weak_alias and libc_hidden_def.
2308         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2309         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2310         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2311         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2312         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2313         Likewise.
2314         * rt/clock_settime.c (clock_settime): Rename to
2315         __clock_settime.  Add weak_alias and libc_hidden_def.
2316         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2318 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2320         * mach/err_boot.sub: Remove trailing whitespace.
2321         * mach/err_ipc.sub: Likewise.
2322         * mach/err_mach.sub: Likewise.
2324         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2325         (ROUNDING_TESTS_double): Likewise.
2326         (ROUNDING_TESTS_long_double): Likewise.
2327         (ROUNDING_TESTS): Likewise.
2328         * math/libm-test.inc: Include <math-tests.h>.
2329         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2330         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2331         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2332         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2334 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2336         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2337         of assigning.
2339 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2341         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2342         otherwise empty TRANS lines.
2343         * sysdeps/gnu/errlist.c: Regenerated.
2345         * catgets/gencat.c (error_print): Use (void) in function
2346         definition.
2347         * crypt/crypt_util.c (__init_des): Likewise.
2348         * crypt/speeds.c (Stop): Likewise.
2349         (main): Likewise.
2350         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2351         * inet/ruserpass.c (token): Likewise.
2352         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2353         * intl/localealias.c (extend_alias_table): Likewise.
2354         * intl/plural-exp.c (init_germanic_plural): Likewise.
2355         * libio/fcloseall.c (__fcloseall): Likewise.
2356         * libio/genops.c (_IO_flush_all): Likewise.
2357         (_IO_flush_all_linebuffered): Likewise.
2358         (_IO_cleanup): Likewise.
2359         (_IO_iter_begin): Likewise.
2360         (_IO_iter_end): Likewise.
2361         (_IO_list_lock): Likewise.
2362         (_IO_list_unlock): Likewise.
2363         (_IO_list_resetlock): Likewise.
2364         * libio/getchar.c (getchar): Likewise.
2365         * libio/getchar_u.c (getchar_unlocked): Likewise.
2366         * libio/getwchar.c (getwchar): Likewise.
2367         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2368         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2369         * login/getpt.c (__getpt): Likewise.
2370         * login/tst-utmp.c (main): Likewise.
2371         * malloc/hooks.c (__malloc_check_init): Likewise.
2372         * malloc/malloc.c (__malloc_stats): Likewise.
2373         * malloc/mtrace.c (tr_break): Likewise.
2374         (mtrace): Likewise.
2375         (muntrace): Likewise.
2376         * misc/fstab.c (endfsent): Likewise.
2377         * misc/getclktck.c (__getclktck): Likewise.
2378         * misc/getdtsz.c (__getdtablesize): Likewise.
2379         * misc/gethostid.c (gethostid): Likewise.
2380         * misc/getpagesize.c (__getpagesize): Likewise.
2381         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2382         (__get_nprocs): Likewise.
2383         (__get_phys_pages): Likewise.
2384         (__get_avphys_pages): Likewise.
2385         * misc/getttyent.c (getttyent): Likewise.
2386         (setttyent): Likewise.
2387         (endttyent): Likewise.
2388         * misc/getusershell.c (getusershell): Likewise.
2389         (endusershell): Likewise.
2390         (setusershell): Likewise.
2391         (initshells): Likewise.
2392         * misc/hsearch.c (__hdestroy): Likewise.
2393         * misc/sync.c (sync): Likewise.
2394         * misc/syslog.c (closelog_internal): Likewise.
2395         (closelog): Likewise.
2396         * misc/ttyslot.c (ttyslot): Likewise.
2397         * misc/vhangup.c (vhangup): Likewise.
2398         * posix/fork.c (__fork): Likewise.
2399         * posix/getegid.c (__getegid): Likewise.
2400         * posix/geteuid.c (__geteuid): Likewise.
2401         * posix/getgid.c (__getgid): Likewise.
2402         * posix/getpid.c (__getpid): Likewise.
2403         * posix/getppid.c (__getppid): Likewise.
2404         * posix/getuid.c (__getuid): Likewise.
2405         * posix/pause.c (pause): Likewise.
2406         * posix/setpgrp.c (setpgrp): Likewise.
2407         * posix/setsid.c (__setsid): Likewise.
2408         * posix/test-vfork.c (noop): Likewise.
2409         * resolv/gethnamaddr.c (_endhtent): Likewise.
2410         (_gethtent): Likewise.
2411         (ht_endhostent): Likewise.
2412         (gethostent): Likewise.
2413         (dns_service): Likewise.
2414         * stdlib/drand48.c (drand48): Likewise.
2415         * stdlib/lrand48.c (lrand48): Likewise.
2416         * stdlib/mrand48.c (mrand48): Likewise.
2417         * stdlib/rand.c (rand): Likewise.
2418         * stdlib/random.c (__random): Likewise.
2419         * stdlib/setenv.c (clearenv): Likewise.
2420         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2421         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2422         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2423         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2424         (__get_nprocs): Likewise.
2425         (__get_phys_pages): Likewise.
2426         (__get_avphys_pages): Likewise.
2427         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2428         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2429         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2430         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2431         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2432         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2433         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2434         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2435         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2436         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2437         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2438         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2439         * sysdeps/posix/clock.c (clock): Likewise.
2440         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2441         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2442         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2443         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2444         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2445         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2446         (__get_nprocs_conf): Likewise.
2447         (__get_phys_pages): Likewise.
2448         (__get_avphys_pages): Likewise.
2449         * time/clock.c (clock): Likewise.
2450         * time/tzset.c (__tzname_max): Likewise.
2452 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2454         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2455         (__bswap_32): Do not use "register".
2456         * crypt/crypt.c (_ufc_doit_r): Likewise.
2457         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2458         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2459         * gmon/gmon.c (__monstartup): Likewise.
2460         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2461         * hurd/hurdmalloc.c (more_memory): Likewise.
2462         (malloc): Likewise.
2463         (free): Likewise.
2464         (realloc): Likewise.
2465         (malloc_fork_prepare): Likewise.
2466         (malloc_fork_parent): Likewise.
2467         (malloc_fork_child): Likewise.
2468         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2469         (_svcauth_des): Likewise.
2470         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2471         * inet/inet_net.c (inet_network): Likewise.
2472         * inet/inet_netof.c (inet_netof): Likewise.
2473         * inet/rcmd.c (__validuser2_sa): Likewise.
2474         * io/fts.c (fts_open): Likewise.
2475         (fts_load): Likewise.
2476         (fts_close): Likewise.
2477         (fts_read): Likewise.
2478         (fts_children): Likewise.
2479         (fts_build): Likewise.
2480         (fts_stat): Likewise.
2481         (fts_sort): Likewise.
2482         (fts_alloc): Likewise.
2483         (fts_lfree): Likewise.
2484         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2485         (_IO_file_xsgetn): Likewise.
2486         (_IO_file_xsgetn_mmap): Likewise.
2487         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2488         (_IO_cookie_write): Likewise.
2489         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2490         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2491         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2492         * malloc/obstack.c (_obstack_begin): Likewise.
2493         (_obstack_begin_1): Likewise.
2494         (_obstack_newchunk): Likewise.
2495         (_obstack_allocated_p): Likewise.
2496         (obstack_free): Likewise.
2497         (_obstack_memory_used): Likewise.
2498         * misc/getttyent.c (getttynam): Likewise.
2499         (getttyent): Likewise.
2500         (skip): Likewise.
2501         (value): Likewise.
2502         * misc/getusershell.c (initshells): Likewise.
2503         * misc/syslog.c (__vsyslog_chk): Likewise.
2504         * misc/ttyslot.c (ttyslot): Likewise.
2505         * nis/nis_hash.c (__nis_hash): Likewise.
2506         * posix/fnmatch_loop.c (FCT): Likewise.
2507         * posix/getconf.c (print_all): Likewise.
2508         (main): Likewise.
2509         * posix/getopt.c (exchange): Likewise.
2510         * posix/glob.c (globfree): Likewise.
2511         (prefix_array): Likewise.
2512         (__glob_pattern_type): Likewise.
2513         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2514         (NS_GET32): Likewise.
2515         (NS_PUT16): Likewise.
2516         (NS_PUT32): Likewise.
2517         * resolv/gethnamaddr.c (getanswer): Likewise.
2518         (gethostbyname2): Likewise.
2519         (gethostbyaddr): Likewise.
2520         (_gethtent): Likewise.
2521         (_gethtbyname2): Likewise.
2522         (_gethtbyaddr): Likewise.
2523         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2524         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2525         * resolv/res_init.c (__res_vinit): Likewise.
2526         (net_mask): Likewise.
2527         * resolv/res_mkquery.c (outchar): Likewise.
2528         (PRINT): Likewise.
2529         * stdio-common/printf_fp.c (outchar): Likewise.
2530         (PRINT): Likewise.
2531         * stdio-common/printf_fphex.c (outchar): Likewise.
2532         (PRINT): Likewise.
2533         * stdio-common/printf_size.c (outchar): Likewise.
2534         (PRINT): Likewise.
2535         * stdio-common/test_rdwr.c (main): Likewise.
2536         * stdio-common/tfformat.c (matches): Likewise.
2537         * stdio-common/vfprintf.c (outchar): Likewise.
2538         (printf_unknown): Likewise.
2539         (buffered_vfprintf): Likewise.
2540         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2541         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2542         (ReadFile): Likewise.
2543         * stdlib/qsort.c (SWAP): Likewise.
2544         (_quicksort): Likewise.
2545         * stdlib/setenv.c (__add_to_environ): Likewise.
2546         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2547         * stdlib/strtol_l.c (__strtol_l): Likewise.
2548         * stdlib/tst-strtod.c (main): Likewise.
2549         * stdlib/tst-strtol.c (main): Likewise.
2550         * stdlib/tst-strtoll.c (main): Likewise.
2551         * string/bits/string2.h (__strcmp_cc): Likewise.
2552         (__strcmp_cg): Likewise.
2553         (__strcspn_c1): Likewise.
2554         (__strcspn_c2): Likewise.
2555         (__strcspn_c3): Likewise.
2556         (__strspn_c1): Likewise.
2557         (__strspn_c2): Likewise.
2558         (__strspn_c3): Likewise.
2559         (__strsep_1c): Likewise.
2560         (__strsep_2c): Likewise.
2561         (__strsep_3c): Likewise.
2562         * string/memccpy.c (__memccpy): Likewise.
2563         * string/stpcpy.c (__stpcpy): Likewise.
2564         * string/strcmp.c (strcmp): Likewise.
2565         * string/strrchr.c (strrchr): Likewise.
2566         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2567         Likewise.
2568         * sysdeps/mach/hurd/getcwd.c
2569         (_hurd_canonicalize_directory_name_internal): Likewise.
2570         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2571         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2572         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2573         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2574         Likewise, in both definitions.
2575         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2576         definitions.
2577         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2578         64] (__bswap_64): Likewise.
2579         * time/test_time.c (main): Likewise.
2580         * time/tzfile.c (__tzfile_read): Likewise.
2581         (__tzfile_compute): Likewise.
2582         * time/tzset.c (__tzset_parse_tz): Likewise.
2583         (tzset_internal): Likewise.
2584         (compute_change): Likewise.
2585         * wcsmbs/wcscat.c (__wcscat): Likewise.
2586         * wcsmbs/wcschr.c (wcschr): Likewise.
2587         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2588         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2589         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2590         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2591         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2592         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2593         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2594         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2595         * wcsmbs/wmemset.c (wmemset): Likewise.
2597 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2599         * scripts/config.guess: Update to version 2013-05-16.
2600         * scripts/config.sub: Update to version 2013-04-24.
2601         * scripts/install-sh: Update to version 2011-11-20.07.
2602         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2603         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2605 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2607         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2608         * elf/sln.c: Likewise.
2609         * hurd/hurd/ioctl.h: Likewise.
2610         * hurd/hurdmalloc.c: Likewise.
2611         * hurd/xattr.c: Likewise.
2612         * include/shlib-compat.h: Likewise.
2613         * inet/ruserpass.c: Likewise.
2614         * libio/iofgets_u.c: Likewise.
2615         * libio/iofgetws_u.c: Likewise.
2616         * locale/programs/ld-identification.c: Likewise.
2617         * locale/programs/ld-time.c: Likewise.
2618         * mach/msg-destroy.c: Likewise.
2619         * nss/nss_files/files-netgrp.c: Likewise.
2620         * resolv/res_data.c: Likewise.
2621         * soft-fp/op-1.h: Likewise.
2622         * soft-fp/op-2.h: Likewise.
2623         * soft-fp/op-4.h: Likewise.
2624         * soft-fp/op-common.h: Likewise.
2625         * stdio-common/printf_fphex.c: Likewise.
2626         * stdlib/strtod_l.c: Likewise.
2627         * sunrpc/rpc/clnt.h: Likewise.
2628         * sysdeps/generic/framestate.c: Likewise.
2629         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2630         * sysdeps/i386/bsd-setjmp.S: Likewise.
2631         * sysdeps/i386/__longjmp.S: Likewise.
2632         * sysdeps/i386/setjmp.S: Likewise.
2633         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2634         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2635         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2636         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2637         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2638         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2639         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2640         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2641         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2642         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2643         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2644         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2645         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2646         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2647         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2648         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2649         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2650         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2651         * sysdeps/ieee754/support.c: Likewise.
2652         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2653         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2654         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2655         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2656         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2657         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2658         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2659         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2660         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2661         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2662         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2663         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2664         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2665         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2666         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2667         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2668         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2671 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2673         * posix/transbug.c: Remove executable mode.
2675 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2677         * crypt/speeds.c: Remove trailing whitespace.
2678         * dlfcn/default.c: Likewise.
2679         * elf/ifuncdep2.c: Likewise.
2680         * elf/ifuncmain1.c: Likewise.
2681         * elf/ifuncmain1vis.c: Likewise.
2682         * elf/testobj.h: Likewise.
2683         * elf/tst-stackguard1.c: Likewise.
2684         * gmon/sys/gmon.h: Likewise.
2685         * hurd/hurdmsg.c: Likewise.
2686         * hurd/new-fd.c: Likewise.
2687         * hurd/ports-get.c: Likewise.
2688         * iconvdata/ibm1008_420.c: Likewise.
2689         * inet/tst-getni1.c: Likewise.
2690         * inet/tst-getni2.c: Likewise.
2691         * libio/ioungetc.c: Likewise.
2692         * libio/wfiledoalloc.c: Likewise.
2693         * manual/libm-err-tab.pl: Likewise.
2694         * math/w_dremf.c: Likewise.
2695         * misc/ftruncate.c: Likewise.
2696         * posix/bug-glob2.c: Likewise.
2697         * posix/tst-pcre.c: Likewise.
2698         * posix/wait4.c: Likewise.
2699         * resolv/README: Likewise.
2700         * resolv/res_debug.h: Likewise.
2701         * resolv/tst-inet_ntop.c: Likewise.
2702         * setjmp/bug269-setjmp.c: Likewise.
2703         * soft-fp/extended.h: Likewise.
2704         * soft-fp/op-1.h: Likewise.
2705         * soft-fp/op-2.h: Likewise.
2706         * soft-fp/op-4.h: Likewise.
2707         * soft-fp/op-8.h: Likewise.
2708         * soft-fp/testit.c: Likewise.
2709         * stdio-common/bug16.c: Likewise.
2710         * stdlib/random.c: Likewise.
2711         * sunrpc/rpcsvc/rquota.x: Likewise.
2712         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2713         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2714         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2715         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2716         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2717         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2718         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2719         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2720         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2721         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2722         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2723         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2724         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2725         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2726         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2727         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2728         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2729         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2730         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2731         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2732         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2733         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2734         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2735         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2736         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2737         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2739         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2740         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2741         * sysdeps/ieee754/s_lib_version.c: Likewise.
2742         * sysdeps/mach/hurd/check_fds.c: Likewise.
2743         * sysdeps/mach/hurd/getsockname.c: Likewise.
2744         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2745         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2746         * sysdeps/powerpc/bits/link.h: Likewise.
2747         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2748         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2749         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2750         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2751         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2752         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2753         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2754         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2755         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2756         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2757         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2758         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2759         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2760         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2761         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2762         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2763         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2764         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2765         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2766         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2767         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2768         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2769         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2770         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2771         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2772         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2773         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2774         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2775         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2776         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2777         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2778         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2780         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2781         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2782         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2783         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2784         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2785         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2786         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2787         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2788         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2789         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2790         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2791         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2792         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2793         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2794         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2795         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2796         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2797         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2798         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2799         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2800         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2801         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2802         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2803         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2804         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2805         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2806         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2807         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2808         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2809         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2810         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2811         * sysdeps/powerpc/sysdep.h: Likewise.
2812         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2813         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2814         * sysdeps/sh/dl-trampoline.S: Likewise.
2815         * sysdeps/sh/memset.S: Likewise.
2816         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2817         * sysdeps/sh/strlen.S: Likewise.
2818         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2819         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2820         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2821         * sysdeps/sparc/sparc32/rem.S: Likewise.
2822         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2823         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2824         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2825         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2826         * sysdeps/sparc/sparc32/urem.S: Likewise.
2827         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2828         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2829         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2830         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2831         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2832         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2833         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2834         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2835         * sysdeps/unix/bsd/times.c: Likewise.
2836         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2837         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2841         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2842         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2843         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2844         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2845         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2846         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2847         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2848         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2849         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2850         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2851         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
2853         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2854         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
2855         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
2856         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
2857         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
2858         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
2859         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
2860         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
2861         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2862         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
2863         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2864         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
2865         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
2866         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
2867         * sysdeps/x86_64/strcspn.S: Likewise.
2869 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2871         * locale/C-translit.h: Revert #include <stdint.h> because this is a
2872         generated file.  Regenerate properly from gen-translit.pl.
2873         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
2874         locale/C-translit.h.
2876 2013-06-05  Andreas Schwab  <schwab@suse.de>
2878         [BZ #15100]
2879         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
2880         week as 6 instead of -1.
2881         * time/tst-strptime.c (day_tests): Add test case.
2883 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2885         * sysdeps/generic/math_private.h
2886         (libc_feholdexcept_setround_53bit): Replace with
2887         libc_feholdsetround_53bit.
2888         (libc_feupdateenv_53bit): Replace with
2889         libc_feresetround_53bit.
2890         (SET_RESTORE_ROUND_53BIT): Adjust.
2892 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
2894         * string/test-strchrnul.c: Add copyright header.
2896         * posix/tst-getaddrinfo4.c: Increase test timeout.
2898 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
2900         [BZ #15536]
2901         * math/libm-test.inc (MAX_EXP): Remove
2902         (MIN_EXP): Define.
2903         (ulp): Use MIN_EXP - MANT_DIG.
2904         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
2906 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
2908         * po/be.po: Revert last change.
2909         * po/zh_CN.po: Likewise.
2910         * po/header.pot: Likewise.
2912 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
2914         * Makefile ($(common-objpfx)linkobj/libc.so): Define
2915         link-libc-deps to empty as target-specific variable.
2916         * Makerules (link-libc-args): New variable.
2917         (libc-for-link): Likewise.
2918         (link-libc-deps): Likewise.
2919         (lib%.so): Depend on $(link-libc-deps).  Link with
2920         $(link-libc-args).
2921         (build-module): Link with $(link-libc-args).
2922         (build-module-asneeded): Likewise.
2923         (build-module-helper-objlist): Filter out $(link-libc-deps) from
2924         list of objects.
2925         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
2926         target-specific variable.
2927         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
2928         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
2929         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
2930         libc.
2931         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
2932         libc and ld.so.
2933         ($(objpfx)libpcprofile.so): Likewise.
2934         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
2935         libc_nonshared.a.
2936         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
2937         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
2938         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
2939         $(link-libc-deps).
2940         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
2941         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
2942         * login/Makefile ($(objpfx)libutil.so): Likewise.
2943         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
2944         * math/Makefile ($(objpfx)libm.so): Likewise.
2945         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
2946         $(objpfx)libnsl.so): Define libc-for-link as target-specific
2947         variable instead of depending directly on libc.
2948         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
2949         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
2950         $(link-libc-deps).
2951         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
2952         libc.
2953         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
2954         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
2955         ($(objpfx)libanl.so): Likewise.
2956         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
2957         ld.so.
2958         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
2959         $(link-libc-deps).
2960         * sysdeps/i386/fpu/Makefile: Remove file.
2961         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
2962         ($(objpfx)libm.so): Remove dependency on ld.so.
2964 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
2966         [BZ # 15553]
2967         * nis/yp_xdr.c (XDRMAXNAME): Define.
2968         (XDRMAXRECORD): Define.
2969         (xdr_domainname): Use XDRMAXNAME.
2970         (xdr_mapname): Likewise.
2971         (xdr_peername): Likewise.
2972         (xdr_keydat): Use XDRMAXRECORD.
2973         (xdr_valdat): Likewise.
2975 2013-05-30  Jeff Law  <law@redhat.com>
2977         [BZ #14256]
2978         * manual/errno.texi (ESTALE): Update to account for more than
2979         just NFS file systems.
2980         * sysdeps/gnu/errlist.c: Regenerated.
2982 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2984         [BZ #15465]
2985         * elf/Makefile (tests): Add tst-null-argv.
2986         (modules-names):  Add tst-null-argv-lib.
2987         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
2988         (tst-null-argv-ENV): Set environment for tst-null-argv.
2989         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
2990         (RTLD_PROGNAME): New macro.
2991         * elf/tst-null-argv.c: New test case.
2992         * elf/tst-null-argv-lib.c: Library for test case.
2993         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
2994         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
2995         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
2996         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
2997         * elf/dl-init.c (call_init): Likewise.
2998         (_dl_init): Likewise.
2999         * elf/dl-load.c (print_search_path): Likewise.
3000         (_dl_map_object): Likewise.
3001         * elf/dl-lookup.c (do_lookup_x): Likewise.
3002         (add_dependency): Likewise.
3003         (_dl_lookup_symbol_x): Likewise.
3004         (_dl_debug_bindings): Likewise.
3005         * elf/dl-open.c (_dl_show_scope): Likewise.
3006         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3007         * elf/dl-version.c (match_symbol): Likewise.
3008         (_dl_check_map_versions): Likewise.
3009         * elf/rtld.c (dl_main): Likewise.
3010         (print_unresolved): Use RTLD_PROGNAME.
3011         (print_missing_version): Likewise.
3012         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3013         (elf_machine_rela): Likewise.
3014         * sysdeps/powerpc/powerpc32/dl-machine.c
3015         (__process_machine_rela): Likewise.
3016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3017         Likewise.
3018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3019         Likewise.
3020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3021         Likewise.
3022         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3023         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3024         Likewise.
3025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3026         Likewise.
3027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3029 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3031         * po/be.po: Add descriptive title.
3032         * po/zh_CN.po: Likewise.
3033         * po/header.pot: Likewise.
3035 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3037         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3038         error message.
3039         (enlarge_archive): Likewise.
3041 2013-05-28  Ben North  <ben@redfrontdoor.org>
3043         * manual/arith.texi (frexp): It is the magnitude of the return
3044         value which lies in [0.5, 1), not the return value itself.
3046 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3048         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3050 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3052         * stdio-common/bug26.c (main): Correct fscanf template.
3054         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3055         declare _dl_skip_args.
3057         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3058         Don't declare.
3060         * manual/platform.texi: Add missing @end deftypefun.
3062 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3064         [BZ #15529]
3065         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3066         bit of mantissa of 2^16382.
3067         * math/libm-test.inc (hypot_test_data): Add more tests.
3069         * math/libm-test.inc: Add drem and pow10 to list of tested
3070         functions.
3071         (pow10_test): New function.
3072         (drem_test): Likewise.
3073         (drem_test_tonearest): Likewise.
3074         (drem_test_towardzero): Likewise.
3075         (drem_test_downward): Likewise.
3076         (drem_test_upward): Likewise.
3077         (main): Call the new functions.
3079         * math/libm-test.inc (finite_test_data): Remove.
3080         (finite_test): Run tests from isfinite_test_data.
3081         (gamma_test_data): Remove.
3082         (gamma_test): Run tests from lgamma_test_data.
3083         * sysdeps/i386/fpu/libm-test-ulps: Update.
3084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3086 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3088         * manual/platform.texi: Add PowerPC PPR function set documentation.
3089         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3090         implementation.
3092 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3094         * math/libm-test.inc (MAX_EXP): Define.
3095         (ULPDIFF): Define.
3096         (ulp): New function.
3097         (check_float_internal): Use ULPDIFF.
3098         (cpow_test): Disable failing test.
3099         (check_ulp): Test ulp() implemetnation.
3100         (main): Call check_ulp before starting tests.
3102 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3104         * math/gen-libm-test.pl (generate_testfile): Do not handle
3105         START_DATA and END_DATA.
3106         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3107         END_DATA.
3108         (acos_tonearest_test_data): Likewise.
3109         (acos_towardzero_test_data): Likewise.
3110         (acos_downward_test_data): Likewise.
3111         (acos_upward_test_data): Likewise.
3112         (acosh_test_data): Likewise.
3113         (asin_test_data): Likewise.
3114         (asin_tonearest_test_data): Likewise.
3115         (asin_towardzero_test_data): Likewise.
3116         (asin_downward_test_data): Likewise.
3117         (asin_upward_test_data): Likewise.
3118         (asinh_test_data): Likewise.
3119         (atan_test_data): Likewise.
3120         (atanh_test_data): Likewise.
3121         (atan2_test_data): Likewise.
3122         (cabs_test_data): Likewise.
3123         (cacos_test_data): Likewise.
3124         (cacosh_test_data): Likewise.
3125         (carg_test_data): Likewise.
3126         (casin_test_data): Likewise.
3127         (casinh_test_data): Likewise.
3128         (catan_test_data): Likewise.
3129         (catanh_test_data): Likewise.
3130         (cbrt_test_data): Likewise.
3131         (ccos_test_data): Likewise.
3132         (ccosh_test_data): Likewise.
3133         (ceil_test_data): Likewise.
3134         (cexp_test_data): Likewise.
3135         (cimag_test_data): Likewise.
3136         (clog_test_data): Likewise.
3137         (clog10_test_data): Likewise.
3138         (conj_test_data): Likewise.
3139         (copysign_test_data): Likewise.
3140         (cos_test_data): Likewise.
3141         (cos_tonearest_test_data): Likewise.
3142         (cos_towardzero_test_data): Likewise.
3143         (cos_downward_test_data): Likewise.
3144         (cos_upward_test_data): Likewise.
3145         (cosh_test_data): Likewise.
3146         (cosh_tonearest_test_data): Likewise.
3147         (cosh_towardzero_test_data): Likewise.
3148         (cosh_downward_test_data): Likewise.
3149         (cosh_upward_test_data): Likewise.
3150         (cpow_test_data): Likewise.
3151         (cproj_test_data): Likewise.
3152         (creal_test_data): Likewise.
3153         (csin_test_data): Likewise.
3154         (csinh_test_data): Likewise.
3155         (csqrt_test_data): Likewise.
3156         (ctan_test_data): Likewise.
3157         (ctan_tonearest_test_data): Likewise.
3158         (ctan_towardzero_test_data): Likewise.
3159         (ctan_downward_test_data): Likewise.
3160         (ctan_upward_test_data): Likewise.
3161         (ctanh_test_data): Likewise.
3162         (ctanh_tonearest_test_data): Likewise.
3163         (ctanh_towardzero_test_data): Likewise.
3164         (ctanh_downward_test_data): Likewise.
3165         (ctanh_upward_test_data): Likewise.
3166         (erf_test_data): Likewise.
3167         (erfc_test_data): Likewise.
3168         (exp_test_data): Likewise.
3169         (exp_tonearest_test_data): Likewise.
3170         (exp_towardzero_test_data): Likewise.
3171         (exp_downward_test_data): Likewise.
3172         (exp_upward_test_data): Likewise.
3173         (exp10_test_data): Likewise.
3174         (exp2_test_data): Likewise.
3175         (expm1_test_data): Likewise.
3176         (fabs_test_data): Likewise.
3177         (fdim_test_data): Likewise.
3178         (finite_test_data): Likewise.
3179         (floor_test_data): Likewise.
3180         (fma_test_data): Likewise.
3181         (fma_towardzero_test_data): Likewise.
3182         (fma_downward_test_data): Likewise.
3183         (fma_upward_test_data): Likewise.
3184         (fmax_test_data): Likewise.
3185         (fmin_test_data): Likewise.
3186         (fmod_test_data): Likewise.
3187         (fpclassify_test_data): Likewise.
3188         (frexp_test_data): Likewise.
3189         (gamma_test_data): Likewise.
3190         (hypot_test_data): Likewise.
3191         (ilogb_test_data): Likewise.
3192         (isfinite_test_data): Likewise.
3193         (isgreater_test_data): Likewise.
3194         (isgreaterequal_test_data): Likewise.
3195         (isinf_test_data): Likewise.
3196         (isless_test_data): Likewise.
3197         (islessequal_test_data): Likewise.
3198         (islessgreater_test_data): Likewise.
3199         (isnan_test_data): Likewise.
3200         (isnormal_test_data): Likewise.
3201         (issignaling_test_data): Likewise.
3202         (isunordered_test_data): Likewise.
3203         (j0_test_data): Likewise.
3204         (j1_test_data): Likewise.
3205         (jn_test_data): Likewise.
3206         (ldexp_test_data): Likewise.
3207         (lgamma_test_data): Likewise.
3208         (lrint_test_data): Likewise.
3209         (lrint_tonearest_test_data): Likewise.
3210         (lrint_towardzero_test_data): Likewise.
3211         (lrint_downward_test_data): Likewise.
3212         (lrint_upward_test_data): Likewise.
3213         (llrint_test_data): Likewise.
3214         (llrint_tonearest_test_data): Likewise.
3215         (llrint_towardzero_test_data): Likewise.
3216         (llrint_downward_test_data): Likewise.
3217         (llrint_upward_test_data): Likewise.
3218         (log_test_data): Likewise.
3219         (log10_test_data): Likewise.
3220         (log1p_test_data): Likewise.
3221         (log2_test_data): Likewise.
3222         (logb_test_data): Likewise.
3223         (logb_downward_test_data): Likewise.
3224         (lround_test_data): Likewise.
3225         (llround_test_data): Likewise.
3226         (modf_test_data): Likewise.
3227         (nearbyint_test_data): Likewise.
3228         (nextafter_test_data): Likewise.
3229         (nexttoward_test_data): Likewise.
3230         (pow_test_data): Likewise.
3231         (pow_tonearest_test_data): Likewise.
3232         (pow_towardzero_test_data): Likewise.
3233         (pow_downward_test_data): Likewise.
3234         (pow_upward_test_data): Likewise.
3235         (remainder_test_data): Likewise.
3236         (remainder_tonearest_test_data): Likewise.
3237         (remainder_towardzero_test_data): Likewise.
3238         (remainder_downward_test_data): Likewise.
3239         (remainder_upward_test_data): Likewise.
3240         (remquo_test_data): Likewise.
3241         (rint_test_data): Likewise.
3242         (rint_tonearest_test_data): Likewise.
3243         (rint_towardzero_test_data): Likewise.
3244         (rint_downward_test_data): Likewise.
3245         (rint_upward_test_data): Likewise.
3246         (round_test_data): Likewise.
3247         (scalb_test_data): Likewise.
3248         (scalbn_test_data): Likewise.
3249         (scalbln_test_data): Likewise.
3250         (signbit_test_data): Likewise.
3251         (sin_test_data): Likewise.
3252         (sin_tonearest_test_data): Likewise.
3253         (sin_towardzero_test_data): Likewise.
3254         (sin_downward_test_data): Likewise.
3255         (sin_upward_test_data): Likewise.
3256         (sincos_test_data): Likewise.
3257         (sinh_test_data): Likewise.
3258         (sinh_tonearest_test_data): Likewise.
3259         (sinh_towardzero_test_data): Likewise.
3260         (sinh_downward_test_data): Likewise.
3261         (sinh_upward_test_data): Likewise.
3262         (sqrt_test_data): Likewise.
3263         (tan_test_data): Likewise.
3264         (tan_tonearest_test_data): Likewise.
3265         (tan_towardzero_test_data): Likewise.
3266         (tan_downward_test_data): Likewise.
3267         (tan_upward_test_data): Likewise.
3268         (tanh_test_data): Likewise.
3269         (tgamma_test_data): Likewise.
3270         (trunc_test_data): Likewise.
3271         (y0_test_data): Likewise.
3272         (y1_test_data): Likewise.
3273         (yn_test_data): Likewise.
3274         (significand_test_data): Likewise.
3276         * math/gen-libm-test.pl (@functions): Remove variable.
3277         (generate_testfile): Don't handle START and END lines.
3278         * math/libm-test.inc (START): New macro.
3279         (END): Likewise.
3280         (END_COMPLEX): Likewise.
3281         (acos_test): Use END macro without arguments.
3282         (acos_test_tonearest): Likewise.
3283         (acos_test_towardzero): Likewise.
3284         (acos_test_downward): Likewise.
3285         (acos_test_upward): Likewise.
3286         (acosh_test): Likewise.
3287         (asin_test): Likewise.
3288         (asin_test_tonearest): Likewise.
3289         (asin_test_towardzero): Likewise.
3290         (asin_test_downward): Likewise.
3291         (asin_test_upward): Likewise.
3292         (asinh_test): Likewise.
3293         (atan_test): Likewise.
3294         (atanh_test): Likewise.
3295         (atan2_test): Likewise.
3296         (cabs_test): Likewise.
3297         (cacos_test): Use END_COMPLEX macro without arguments.
3298         (cacosh_test): Likewise.
3299         (carg_test): Use END macro without arguments.
3300         (casin_test): Use END_COMPLEX macro without arguments.
3301         (casinh_test): Likewise.
3302         (catan_test): Likewise.
3303         (catanh_test): Likewise.
3304         (cbrt_test): Use END macro without arguments.
3305         (ccos_test): Use END_COMPLEX macro without arguments.
3306         (ccosh_test): Likewise.
3307         (ceil_test): Use END macro without arguments.
3308         (cexp_test): Use END_COMPLEX macro without arguments.
3309         (cimag_test): Use END macro without arguments.
3310         (clog_test): Use END_COMPLEX macro without arguments.
3311         (clog10_test): Likewise.
3312         (conj_test): Likewise.
3313         (copysign_test): Use END macro without arguments.
3314         (cos_test): Likewise.
3315         (cos_test_tonearest): Likewise.
3316         (cos_test_towardzero): Likewise.
3317         (cos_test_downward): Likewise.
3318         (cos_test_upward): Likewise.
3319         (cosh_test): Likewise.
3320         (cosh_test_tonearest): Likewise.
3321         (cosh_test_towardzero): Likewise.
3322         (cosh_test_downward): Likewise.
3323         (cosh_test_upward): Likewise.
3324         (cpow_test): Use END_COMPLEX macro without arguments.
3325         (cproj_test): Likewise.
3326         (creal_test): Use END macro without arguments.
3327         (csin_test): Use END_COMPLEX macro without arguments.
3328         (csinh_test): Likewise.
3329         (csqrt_test): Likewise.
3330         (ctan_test): Likewise.
3331         (ctan_test_tonearest): Likewise.
3332         (ctan_test_towardzero): Likewise.
3333         (ctan_test_downward): Likewise.
3334         (ctan_test_upward): Likewise.
3335         (ctanh_test): Likewise.
3336         (ctanh_test_tonearest): Likewise.
3337         (ctanh_test_towardzero): Likewise.
3338         (ctanh_test_downward): Likewise.
3339         (ctanh_test_upward): Likewise.
3340         (erf_test): Use END macro without arguments.
3341         (erfc_test): Likewise.
3342         (exp_test): Likewise.
3343         (exp_test_tonearest): Likewise.
3344         (exp_test_towardzero): Likewise.
3345         (exp_test_downward): Likewise.
3346         (exp_test_upward): Likewise.
3347         (exp10_test): Likewise.
3348         (exp2_test): Likewise.
3349         (expm1_test): Likewise.
3350         (fabs_test): Likewise.
3351         (fdim_test): Likewise.
3352         (finite_test): Likewise.
3353         (floor_test): Likewise.
3354         (fma_test): Likewise.
3355         (fma_test_towardzero): Likewise.
3356         (fma_test_downward): Likewise.
3357         (fma_test_upward): Likewise.
3358         (fmax_test): Likewise.
3359         (fmin_test): Likewise.
3360         (fmod_test): Likewise.
3361         (fpclassify_test): Likewise.
3362         (frexp_test): Likewise.
3363         (gamma_test): Likewise.
3364         (hypot_test): Likewise.
3365         (ilogb_test): Likewise.
3366         (isfinite_test): Likewise.
3367         (isgreater_test): Likewise.
3368         (isgreaterequal_test): Likewise.
3369         (isinf_test): Likewise.
3370         (isless_test): Likewise.
3371         (islessequal_test): Likewise.
3372         (islessgreater_test): Likewise.
3373         (isnan_test): Likewise.
3374         (isnormal_test): Likewise.
3375         (issignaling_test): Likewise.
3376         (isunordered_test): Likewise.
3377         (j0_test): Likewise.
3378         (j1_test): Likewise.
3379         (jn_test): Likewise.
3380         (ldexp_test): Likewise.
3381         (lgamma_test): Likewise.
3382         (lrint_test): Likewise.
3383         (lrint_test_tonearest): Likewise.
3384         (lrint_test_towardzero): Likewise.
3385         (lrint_test_downward): Likewise.
3386         (lrint_test_upward): Likewise.
3387         (llrint_test): Likewise.
3388         (llrint_test_tonearest): Likewise.
3389         (llrint_test_towardzero): Likewise.
3390         (llrint_test_downward): Likewise.
3391         (llrint_test_upward): Likewise.
3392         (log_test): Likewise.
3393         (log10_test): Likewise.
3394         (log1p_test): Likewise.
3395         (log2_test): Likewise.
3396         (logb_test): Likewise.
3397         (logb_test_downward): Likewise.
3398         (lround_test): Likewise.
3399         (llround_test): Likewise.
3400         (modf_test): Likewise.
3401         (nearbyint_test): Likewise.
3402         (nextafter_test): Likewise.
3403         (nexttoward_test): Likewise.
3404         (pow_test): Likewise.
3405         (pow_test_tonearest): Likewise.
3406         (pow_test_towardzero): Likewise.
3407         (pow_test_downward): Likewise.
3408         (pow_test_upward): Likewise.
3409         (remainder_test): Likewise.
3410         (remainder_test_tonearest): Likewise.
3411         (remainder_test_towardzero): Likewise.
3412         (remainder_test_downward): Likewise.
3413         (remainder_test_upward): Likewise.
3414         (remquo_test): Likewise.
3415         (rint_test): Likewise.
3416         (rint_test_tonearest): Likewise.
3417         (rint_test_towardzero): Likewise.
3418         (rint_test_downward): Likewise.
3419         (rint_test_upward): Likewise.
3420         (round_test): Likewise.
3421         (scalb_test): Likewise.
3422         (scalbn_test): Likewise.
3423         (scalbln_test): Likewise.
3424         (signbit_test): Likewise.
3425         (sin_test): Likewise.
3426         (sin_test_tonearest): Likewise.
3427         (sin_test_towardzero): Likewise.
3428         (sin_test_downward): Likewise.
3429         (sin_test_upward): Likewise.
3430         (sincos_test): Likewise.
3431         (sinh_test): Likewise.
3432         (sinh_test_tonearest): Likewise.
3433         (sinh_test_towardzero): Likewise.
3434         (sinh_test_downward): Likewise.
3435         (sinh_test_upward): Likewise.
3436         (sqrt_test): Likewise.
3437         (tan_test): Likewise.
3438         (tan_test_tonearest): Likewise.
3439         (tan_test_towardzero): Likewise.
3440         (tan_test_downward): Likewise.
3441         (tan_test_upward): Likewise.
3442         (tanh_test): Likewise.
3443         (tgamma_test): Likewise.
3444         (trunc_test): Likewise.
3445         (y0_test): Likewise.
3446         (y1_test): Likewise.
3447         (yn_test): Likewise.
3448         (significand_test): Likewise.
3450 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3452         [BZ #15381]
3453         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3455 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3457         [BZ #14894]
3458         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3459         __ppc_mdoio and __ppc_mdoom.
3460         * manual/platform.texi: Document new functions __ppc_yield,
3461         __ppc_mdoio and __ppc_mdoom.
3463 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3465         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3466         (main): Mention "tls" pseudo-hwcap is legacy.
3467         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3469 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3471         * math/gen-libm-test.pl (parse_args): Output only string of
3472         arguments as text for test name, not full call or descriptions of
3473         tests for extra outputs.
3474         (generate_testfile): Do not pass function name to parse_args.
3475         Generate this_func variable from START.
3476         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3477         field to arg_str.
3478         (struct test_ff_f_data): Likewise.
3479         (test_ff_f_data_nexttoward): Likewise.
3480         (struct test_fi_f_data): Likewise.
3481         (struct test_fl_f_data): Likewise.
3482         (struct test_if_f_data): Likewise.
3483         (struct test_fff_f_data): Likewise.
3484         (struct test_c_f_data): Likewise.
3485         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3486         (struct test_fF_f1_data): Likewise.
3487         (struct test_ffI_f1_data): Likewise.
3488         (struct test_c_c_data): Rename test_name field to arg_str.
3489         (struct test_cc_c_data): Likewise.
3490         (struct test_f_i_data): Likewise.
3491         (struct test_ff_i_data): Likewise.
3492         (struct test_f_l_data): Likewise.
3493         (struct test_f_L_data): Likewise.
3494         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3495         and extra2_name.
3496         (COMMON_TEST_SETUP): New macro.
3497         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3498         (COMMON_TEST_CLEANUP): Likewise.
3499         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3500         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3501         macros.
3502         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3503         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3504         macros.
3505         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3506         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3507         cleanup macros.
3508         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3509         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3510         macros.
3511         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3512         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3513         macros.
3514         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3515         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3516         cleanup macros.
3517         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3518         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3519         cleanup macros.
3520         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3521         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3522         cleanup macros.
3523         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3524         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3525         macros.
3526         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3527         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3528         macros.
3529         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3530         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3531         macros.
3532         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3533         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3534         cleanup macros.
3535         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3536         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3537         cleanup macros.
3538         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3539         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3540         macros.
3541         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3542         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3543         cleanup macros.
3544         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3545         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3546         macros.
3547         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3548         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3549         macros.
3550         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3551         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3552         cleanup macros.
3553         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3555 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3557         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3558         to _sifields.sigfault.
3559         (si_addr_lsb): Define new macro.
3560         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3561         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3562         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3564 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3566         [BZ #15441]
3567         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3568         returns -1.
3569         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3570         null return -1.
3571         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3572         loading the domain.
3574 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3576         * math/gen-libm-test.pl (parse_args): Do not include expected
3577         result in test name.
3578         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3579         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3580         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3581         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3582         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3585 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3587         * benchtests/Makefile: Sort function entries.
3589         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3590         tanh, asinh, acosh, atanh.
3591         * benchtests/acos-inputs: New file.
3592         * benchtests/acosh-inputs: New file.
3593         * benchtests/asin-inputs: New file.
3594         * benchtests/asinh-inputs: New file.
3595         * benchtests/atanh-inputs: New file.
3596         * benchtests/cosh-inputs: New file.
3597         * benchtests/log-inputs: New file.
3598         * benchtests/sinh-inputs: New file.
3599         * benchtests/tanh-inputs: New file.
3601 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3603         [BZ #15339]
3604         * posix/tst-getaddrinfo4.c: New test.
3605         * posix/Makefile (tests): Add it.
3607 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3609         [BZ #15339]
3610         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3611         when no services were used.
3612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3613         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3615 2013-05-21  Andreas Schwab  <schwab@suse.de>
3617         [BZ #15014]
3618         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3619         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3620         successful.
3621         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3622         redundant variable declarations and reallocation of buffer when
3623         parsing as IPv6 address.  Always set NSS status when called from
3624         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3625         buffer too small.  Correct computation of needed size.
3626         * nss/Makefile (tests): Add test-digits-dots.
3627         * nss/test-digits-dots.c: New test.
3629 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3631         * benchtests/Makefile: Remove instructions for adding
3632         benchmark tests.
3633         * benchtests/README: New file to explain how to execute and
3634         enhance the benchmark tests.
3636 2013-05-21  Andreas Schwab  <schwab@suse.de>
3638         [BZ #15493]
3639         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3640         * setjmp/tst-sigsetjmp.c: New test.
3642 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3644         * sysdeps/x86_64/memset.S (memset): New implementation.
3645         (__bzero): Likewise.
3646         (__memset_tail): New function.
3648 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3650         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3651         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3652         __memcpy_sse2_unaligned ifunc selection.
3653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3654         Add memcpy-sse2-unaligned.S.
3655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3656         Add: __memcpy_sse2_unaligned.
3658 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3660         [BZ #15490]
3661         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3662         math_force_eval before restoring floating-point envrionment.
3663         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3664         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3665         Likewise.
3666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3667         <math_private.h>.
3668         (__nearbyintl): Use math_force_eval before restoring
3669         floating-point environment.
3670         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3672         * math/gen-libm-test.pl (special_functions): Remove.
3673         (parse_args): Don't handle TEST_extra.  Handle functions with no
3674         return value.
3675         * math/libm-test.inc (struct test_sincos_data): Replace with
3676         struct test_fFF_11_data.
3677         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3678         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3679         (sincos_test_data): Change element type to struct
3680         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3681         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3682         RUN_TEST_LOOP_sincos.
3683         * math/README.libm-test: Don't mention special handling of
3684         individual functions.
3685         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3686         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3687         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3688         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3689         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3692         * math/gen-libm-test.pl (get_variable): Remove function.
3693         (parse_args): Don't show pointer parameters to call in test
3694         names.  Use "extra output N" in test names for extra outputs
3695         rather than naming variables.
3697 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3699         [BZ #15488]
3700         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3701         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3702         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3703         double tests.
3704         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3705         disable.
3706         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3707         check_long_double.
3709         * math/gen-libm-test.pl (@tests): Remove variable.
3710         ($count): Likewise.
3711         (new_test): Remove function.
3712         (show_exceptions): New function.
3713         (special_functions): Use show_exceptions instead of new_test.
3714         (parse_args): Likewise.
3715         (generate_testfile): Pass only function name in generated call to
3716         print_max_error or print_complex_max_error.
3717         (get_ulps): Do not handle complex tests specially.
3718         (output_test): Rename to ...
3719         (get_all_ulps_for_test): ... this.  Return a string rather than
3720         printing to a file.  Require ulps to be present.
3721         (output_ulps): Generate arrays rather than #defines.
3722         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3723         (struct ulp_data): New type.
3724         (BUILD_COMPLEX_ULP): Remove macro.
3725         (compare_ulp_data): New function.
3726         (find_ulps): Likewise.
3727         (find_test_ulps): Likewise.
3728         (find_function_ulps): Likewise.
3729         (find_complex_function_ulps): Likewise.
3730         (print_max_error): Determine allowed ulps using
3731         find_function_ulps.
3732         (print_complex_max_error): Determine allowed ulps using
3733         find_complex_function_ulps.
3734         (check_float_internal): Determine max ulps using find_test_ulps.
3735         (check_float): Do not take max_ulp parameter.  Update call to
3736         check_float_internal.
3737         (check_complex): Likewise.
3738         (check_int): Do not take max_ulp parameter.
3739         (check_long): Likewise.
3740         (check_bool): Likewise.
3741         (check_longlong): Likewise.
3742         (struct test_f_f_data): Remove max_ulp field.
3743         (struct test_ff_f_data): Likewise.
3744         (struct test_ff_f_data_nexttoward): Likewise.
3745         (struct test_fi_f_data): Likewise.
3746         (struct test_fl_f_data): Likewise.
3747         (struct test_if_f_data): Likewise.
3748         (struct test_fff_f_data): Likewise.
3749         (struct test_c_f_data): Likewise.
3750         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3751         (struct test_fF_f1_data): Likewise.
3752         (struct test_ffI_f1_data): Likewise.
3753         (struct test_c_c_data): Remove max_ulp field.
3754         (struct test_cc_c_data): Likewise.
3755         (struct test_f_i_data): Likewise.
3756         (struct test_ff_i_data): Likewise.
3757         (struct test_f_l_data): Likewise.
3758         (struct test_f_L_data): Likewise.
3759         (struct test_sincos_data): Likewise.
3760         (RUN_TEST_f_f): Do not handle ulps.
3761         (RUN_TEST_LOOP_f_f): Likewise.
3762         (RUN_TEST_2_f): Likewise.
3763         (RUN_TEST_LOOP_2_f): Likewise.
3764         (RUN_TEST_fff_f): Likewise.
3765         (RUN_TEST_LOOP_fff_f): Likewise.
3766         (RUN_TEST_c_f): Likewise.
3767         (RUN_TEST_LOOP_c_f): Likewise.
3768         (RUN_TEST_f_f1): Likewise.
3769         (RUN_TEST_LOOP_f_f1): Likewise.
3770         (RUN_TEST_fF_f1): Likewise.
3771         (RUN_TEST_LOOP_fF_f1): Likewise.
3772         (RUN_TEST_fI_f1): Likewise.
3773         (RUN_TEST_LOOP_fI_f1): Likewise.
3774         (RUN_TEST_ffI_f1): Likewise.
3775         (RUN_TEST_LOOP_ffI_f1): Likewise.
3776         (RUN_TEST_c_c): Likewise.
3777         (RUN_TEST_LOOP_c_c): Likewise.
3778         (RUN_TEST_cc_c): Likewise.
3779         (RUN_TEST_LOOP_cc_c): Likewise.
3780         (RUN_TEST_f_i): Likewise.
3781         (RUN_TEST_LOOP_f_i): Likewise.
3782         (RUN_TEST_f_i_tg): Likewise.
3783         (RUN_TEST_LOOP_f_i_tg): Likewise.
3784         (RUN_TEST_ff_i_tg): Likewise.
3785         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3786         (RUN_TEST_f_b): Likewise.
3787         (RUN_TEST_LOOP_f_b): Likewise.
3788         (RUN_TEST_f_b_tg): Likewise.
3789         (RUN_TEST_LOOP_f_b_tg): Likewise.
3790         (RUN_TEST_f_l): Likewise.
3791         (RUN_TEST_LOOP_f_l): Likewise.
3792         (RUN_TEST_f_L): Likewise.
3793         (RUN_TEST_LOOP_f_L): Likewise.
3794         (RUN_TEST_sincos): Likewise.
3795         (RUN_TEST_LOOP_sincos): Likewise.
3797 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3799         [BZ #15480]
3800         [BZ #15485]
3801         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3802         main case of finite arguments, set rounding mode to FE_TONEAREST
3803         and discard exceptions.
3804         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3805         exceptions.
3806         (remainder_tonearest_test_data): New variable.
3807         (remainder_test_tonearest): New function.
3808         (remainder_towardzero_test_data): New variable.
3809         (remainder_test_towardzero): New function.
3810         (remainder_downward_test_data): New variable.
3811         (remainder_test_downward): New function.
3812         (remainder_upward_test_data): New variable.
3813         (remainder_test_upward): New function.
3814         (main): Call the new test functions.
3816         * math/libm-test.inc (struct test_f_f1_data): Remove field
3817         extra_init.
3818         (struct test_fF_f1_data): Likewise.
3819         (struct test_ffI_f1_data): Likewise.
3820         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3821         based on value of EXTRA_EXPECTED.
3822         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3823         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3824         EXTRA_VAR based on value of EXTRA_EXPECTED.
3825         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3826         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3827         EXTRA_VAR based on value of EXTRA_EXPECTED.
3828         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3829         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3830         EXTRA_VAR based on value of EXTRA_EXPECTED.
3831         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3832         * math/gen-libm-test.pl (parse_args): Don't output initializers
3833         for extra output values.
3835         * math/libm-test.inc (check_int): Expect result to be exactly
3836         equal to expected value and do not handle ulps.
3837         (check_long): Likewise.
3838         (check_longlong): Likewise.
3840         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3841         exceptions.
3842         (cimag_test_data): Likewise.
3843         (conj_test_data): Likewise.
3844         (copysign_test_data): Likewise.
3845         (cproj_test_data): Likewise.
3846         (creal_test_data): Likewise.
3847         (fabs_test_data): Likewise.
3848         (fdim_test_data): Likewise.
3849         (finite_test_data): Likewise.
3850         (floor_test_data): Likewise.
3851         (fmax_test_data): Likewise.
3852         (fmin_test_data): Likewise.
3853         (fmod_test_data): Likewise.
3854         (fpclassify_test_data): Likewise.
3855         (frexp_test_data): Likewise.
3856         (ilogb_test_data): Likewise.
3857         (isfinite_test_data): Likewise.
3858         (isgreater_test_data): Likewise.
3859         (isgreaterequal_test_data): Likewise.
3860         (isinf_test_data): Likewise.
3861         (isless_test_data): Likewise.
3862         (islessequal_test_data): Likewise.
3863         (islessgreater_test_data): Likewise.
3864         (isnan_test_data): Likewise.
3865         (isnormal_test_data): Likewise.
3866         (issignaling_test_data): Likewise.
3867         (isunordered_test_data): Likewise.
3868         (ldexp_test_data): Likewise.
3869         (lrint_test_data): Likewise.
3870         (lrint_test_data) [TEST_FLOAT]: Disable one test.
3871         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
3872         (lrint_tonearest_test_data): Test for "inexact" exceptions.
3873         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3874         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
3875         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3876         test input.
3877         (lrint_towardzero_test_data): Test for "inexact" exceptions.
3878         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3879         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
3880         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
3881         that test input.
3882         (lrint_downward_test_data): Test for "inexact" exceptions.
3883         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3884         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
3885         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
3886         test input.
3887         (lrint_upward_test_data): Test for "inexact" exceptions.
3888         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
3889         test input.
3890         (llrint_test_data): Test for "inexact" exceptions.
3891         (llrint_test_data) [TEST_FLOAT]: Disable one test.
3892         (llrint_tonearest_test_data): Test for "inexact" exceptions.
3893         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
3894         (llrint_towardzero_test_data): Test for "inexact" exceptions.
3895         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
3896         (llrint_downward_test_data): Test for "inexact" exceptions.
3897         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
3898         (llrint_upward_test_data): Test for "inexact" exceptions.
3899         (logb_test_data): Likewise.
3900         (logb_downward_test_data): Likewise.
3901         (nextafter_test_data): Likewise.
3902         (nexttoward_test_data): Likewise.
3903         (remainder_test_data): Likewise.
3904         (remquo_test_data): Likewise.
3905         (scalbn_test_data): Likewise.
3906         (scalbln_test_data): Likewise.
3907         (signbit_test_data): Likewise.
3908         (sqrt_test_data): Likewise.
3909         (significand_test_data): Likewise.
3911 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3913         [BZ #15424]
3914         * benchtests/bench-modf.c (struct args): Mark arg0 as
3915         volatile.
3916         * scripts/bench.pl: Mark members of struct args as volatile.
3918 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3920         [BZ # 15497]
3921         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
3922         negative infinity on POWER6 or lower.
3923         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
3925 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3927         [BZ #15442]
3928         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
3929         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
3930         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
3931         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
3932         (_FP_SETQNAN): New macro.
3933         (_FP_SETQNAN_SEMIRAW): Likewise.
3934         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
3935         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
3936         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
3937         (FP_EXTEND): Use _FP_FRAC_SNANP.
3938         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
3939         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
3940         into account.
3941         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3942         New macro.
3943         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
3944         Likewise.
3946 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
3948         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
3949         with DIVIDE_BY_ZERO_EXCEPTION.
3950         (gamma_test_data): Likewise.
3951         (lgamma_test_data): Likewise.
3952         (log_test_data): Likewise.
3953         (log10_test_data): Likewise.
3954         (log2_test_data): Likewise.
3955         (tgamma_test_data): Likewise.
3957         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
3958         (acos_test_tonearest): Likewise.
3959         (acos_test_towardzero): Likewise.
3960         (acos_test_downward): Likewise.
3961         (acos_test_upward): Likewise.
3962         (acosh_test): Likewise.
3963         (asin_test): Likewise.
3964         (asin_test_tonearest): Likewise.
3965         (asin_test_towardzero): Likewise.
3966         (asin_test_downward): Likewise.
3967         (asin_test_upward): Likewise.
3968         (asinh_test): Likewise.
3969         (atan_test): Likewise.
3970         (atanh_test): Likewise.
3971         (atan2_test): Likewise.
3972         (cabs_test): Likewise.
3973         (cacos_test): Likewise.
3974         (cacosh_test): Likewise.
3975         (casin_test): Likewise.
3976         (casinh_test): Likewise.
3977         (catan_test): Likewise.
3978         (catanh_test): Likewise.
3979         (cbrt_test): Likewise.
3980         (ccos_test): Likewise.
3981         (ccosh_test): Likewise.
3982         (cexp_test): Likewise.
3983         (clog_test): Likewise.
3984         (clog10_test): Likewise.
3985         (cos_test): Likewise.
3986         (cos_test_tonearest): Likewise.
3987         (cos_test_towardzero): Likewise.
3988         (cos_test_downward): Likewise.
3989         (cos_test_upward): Likewise.
3990         (cosh_test): Likewise.
3991         (cosh_test_tonearest): Likewise.
3992         (cosh_test_towardzero): Likewise.
3993         (cosh_test_downward): Likewise.
3994         (cosh_test_upward): Likewise.
3995         (cpow_test): Likewise.
3996         (csin_test): Likewise.
3997         (csinh_test): Likewise.
3998         (csqrt_test): Likewise.
3999         (ctan_test): Likewise.
4000         (ctan_test_tonearest): Likewise.
4001         (ctan_test_towardzero): Likewise.
4002         (ctan_test_downward): Likewise.
4003         (ctan_test_upward): Likewise.
4004         (ctanh_test): Likewise.
4005         (ctanh_test_tonearest): Likewise.
4006         (ctanh_test_towardzero): Likewise.
4007         (ctanh_test_downward): Likewise.
4008         (ctanh_test_upward): Likewise.
4009         (erf_test): Likewise.
4010         (erfc_test): Likewise.
4011         (exp_test): Likewise.
4012         (exp_test_tonearest): Likewise.
4013         (exp_test_towardzero): Likewise.
4014         (exp_test_downward): Likewise.
4015         (exp_test_upward): Likewise.
4016         (exp10_test): Likewise.
4017         (exp2_test): Likewise.
4018         (expm1_test): Likewise.
4019         (fmod_test): Likewise.
4020         (gamma_test): Likewise.
4021         (hypot_test): Likewise.
4022         (j0_test): Likewise.
4023         (j1_test): Likewise.
4024         (jn_test): Likewise.
4025         (lgamma_test): Likewise.
4026         (log_test): Likewise.
4027         (log10_test): Likewise.
4028         (log1p_test): Likewise.
4029         (log2_test): Likewise.
4030         (logb_test_downward): Likewise.
4031         (pow_test): Likewise.
4032         (pow_test_tonearest): Likewise.
4033         (pow_test_towardzero): Likewise.
4034         (pow_test_downward): Likewise.
4035         (pow_test_upward): Likewise.
4036         (remainder_test): Likewise.
4037         (remquo_test): Likewise.
4038         (sin_test): Likewise.
4039         (sin_test_tonearest): Likewise.
4040         (sin_test_towardzero): Likewise.
4041         (sin_test_downward): Likewise.
4042         (sin_test_upward): Likewise.
4043         (sincos_test): Likewise.
4044         (sinh_test): Likewise.
4045         (sinh_test_tonearest): Likewise.
4046         (sinh_test_towardzero): Likewise.
4047         (sinh_test_downward): Likewise.
4048         (sinh_test_upward): Likewise.
4049         (sqrt_test): Likewise.
4050         (tan_test): Likewise.
4051         (tan_test_tonearest): Likewise.
4052         (tan_test_towardzero): Likewise.
4053         (tan_test_downward): Likewise.
4054         (tan_test_upward): Likewise.
4055         (tanh_test): Likewise.
4056         (tgamma_test): Likewise.
4057         (y0_test): Likewise.
4058         (y1_test): Likewise.
4059         (yn_test): Likewise.
4061         * math/gen-libm-test.pl (adjust_arg): Remove function.
4062         (special_function): Remove argument $in_func.  Only handle
4063         generating output for tables of tests, not inside functions.
4064         (parse_args): Likewise.
4065         (generate_testfile): Remove variable $in_func.  Update call to
4066         parse_args.
4067         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4068         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4069         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4070         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4071         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4072         (MAX_VALUE_INIT): Rename macro to max_value.
4073         (MIN_VALUE_INIT): Rename macro to min_value.
4074         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4075         (plus_zero): Remove variable.
4076         (minus_zero): Likewise.
4077         (plus_infty): Likewise.
4078         (minus_infty): Likewise.
4079         (qnan_value): Likewise.
4080         (max_value): Likewise.
4081         (min_value): Likewise.
4082         (min_subnorm_value): Likewise.
4084 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4086         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4087         uint64_t or uint32_t usage.
4088         * crypt/sha256-block.c: Likewise.
4089         * crypt/sha256-crypt.c: Likewise.
4090         * crypt/sha256.c: Likewise.
4091         * crypt/sha512-block.c: Likewise.
4092         * crypt/sha512-crypt.c: Likewise.
4093         * crypt/sha512.c: Likewise.
4094         * debug/backtrace-tst.c: Likewise.
4095         * debug/pcprofiledump.c: Likewise.
4096         * elf/cache.c: Likewise.
4097         * elf/dl-cache.c: Likewise.
4098         * elf/dl-misc.c: Likewise.
4099         * elf/dl-profile.c: Likewise.
4100         * elf/dl-support.c: Likewise.
4101         * elf/ldconfig.c: Likewise.
4102         * elf/sprof.c: Likewise.
4103         * iconv/dummy-repertoire.c: Likewise.
4104         * iconv/iconv_charmap.c: Likewise.
4105         * iconv/skeleton.c: Likewise.
4106         * iconvdata/8bit-generic.c: Likewise.
4107         * iconvdata/cp737.h: Likewise.
4108         * iconvdata/cp775.h: Likewise.
4109         * iconvdata/ibm1008.h: Likewise.
4110         * iconvdata/ibm1025.h: Likewise.
4111         * iconvdata/ibm1046.h: Likewise.
4112         * iconvdata/ibm1097.h: Likewise.
4113         * iconvdata/ibm1112.h: Likewise.
4114         * iconvdata/ibm1122.h: Likewise.
4115         * iconvdata/ibm1123.h: Likewise.
4116         * iconvdata/ibm1124.h: Likewise.
4117         * iconvdata/ibm1129.h: Likewise.
4118         * iconvdata/ibm1130.h: Likewise.
4119         * iconvdata/ibm1132.h: Likewise.
4120         * iconvdata/ibm1133.h: Likewise.
4121         * iconvdata/ibm1137.h: Likewise.
4122         * iconvdata/ibm1140.h: Likewise.
4123         * iconvdata/ibm1141.h: Likewise.
4124         * iconvdata/ibm1142.h: Likewise.
4125         * iconvdata/ibm1143.h: Likewise.
4126         * iconvdata/ibm1144.h: Likewise.
4127         * iconvdata/ibm1145.h: Likewise.
4128         * iconvdata/ibm1146.h: Likewise.
4129         * iconvdata/ibm1147.h: Likewise.
4130         * iconvdata/ibm1148.h: Likewise.
4131         * iconvdata/ibm1149.h: Likewise.
4132         * iconvdata/ibm1153.h: Likewise.
4133         * iconvdata/ibm1154.h: Likewise.
4134         * iconvdata/ibm1155.h: Likewise.
4135         * iconvdata/ibm1156.h: Likewise.
4136         * iconvdata/ibm1157.h: Likewise.
4137         * iconvdata/ibm1158.h: Likewise.
4138         * iconvdata/ibm1160.h: Likewise.
4139         * iconvdata/ibm1161.h: Likewise.
4140         * iconvdata/ibm1162.h: Likewise.
4141         * iconvdata/ibm1163.h: Likewise.
4142         * iconvdata/ibm1164.h: Likewise.
4143         * iconvdata/ibm1166.h: Likewise.
4144         * iconvdata/ibm1167.h: Likewise.
4145         * iconvdata/ibm12712.h: Likewise.
4146         * iconvdata/ibm1390.h: Likewise.
4147         * iconvdata/ibm1399.h: Likewise.
4148         * iconvdata/ibm16804.h: Likewise.
4149         * iconvdata/ibm4517.h: Likewise.
4150         * iconvdata/ibm4899.h: Likewise.
4151         * iconvdata/ibm4909.h: Likewise.
4152         * iconvdata/ibm4971.h: Likewise.
4153         * iconvdata/ibm5347.h: Likewise.
4154         * iconvdata/ibm803.h: Likewise.
4155         * iconvdata/ibm856.h: Likewise.
4156         * iconvdata/ibm901.h: Likewise.
4157         * iconvdata/ibm902.h: Likewise.
4158         * iconvdata/ibm9030.h: Likewise.
4159         * iconvdata/ibm9066.h: Likewise.
4160         * iconvdata/ibm921.h: Likewise.
4161         * iconvdata/ibm922.h: Likewise.
4162         * iconvdata/ibm9448.h: Likewise.
4163         * iconvdata/isiri-3342.h: Likewise.
4164         * iconvdata/jis0201.h: Likewise.
4165         * include/link.h: Likewise.
4166         * include/netdb.h: Likewise.
4167         * inet/check_native.c: Likewise.
4168         * inet/check_pf.c: Likewise.
4169         * inet/getipv4sourcefilter.c: Likewise.
4170         * inet/getnameinfo.c: Likewise.
4171         * inet/getsourcefilter.c: Likewise.
4172         * inet/htonl.c: Likewise.
4173         * inet/setipv4sourcefilter.c: Likewise.
4174         * inet/setsourcefilter.c: Likewise.
4175         * inet/test-inet6_opt.c: Likewise.
4176         * inet/tst-network.c: Likewise.
4177         * locale/C-collate.c: Likewise.
4178         * locale/C-ctype.c: Likewise.
4179         * locale/C-time.c: Likewise.
4180         * locale/C-translit.h: Likewise.
4181         * locale/loadarchive.c: Likewise.
4182         * locale/programs/3level.h: Likewise.
4183         * locale/programs/charmap.c: Likewise.
4184         * locale/programs/charmap.h: Likewise.
4185         * locale/programs/ld-address.c: Likewise.
4186         * locale/programs/ld-collate.c: Likewise.
4187         * locale/programs/ld-ctype.c: Likewise.
4188         * locale/programs/ld-identification.c: Likewise.
4189         * locale/programs/ld-measurement.c: Likewise.
4190         * locale/programs/ld-messages.c: Likewise.
4191         * locale/programs/ld-monetary.c: Likewise.
4192         * locale/programs/ld-name.c: Likewise.
4193         * locale/programs/ld-numeric.c: Likewise.
4194         * locale/programs/ld-paper.c: Likewise.
4195         * locale/programs/ld-telephone.c: Likewise.
4196         * locale/programs/ld-time.c: Likewise.
4197         * locale/programs/linereader.c: Likewise.
4198         * locale/programs/locale.c: Likewise.
4199         * locale/programs/locarchive.c: Likewise.
4200         * locale/programs/locfile.h: Likewise.
4201         * locale/programs/repertoire.c: Likewise.
4202         * locale/programs/simple-hash.c: Likewise.
4203         * locale/programs/simple-hash.h: Likewise.
4204         * malloc/memusage.c: Likewise.
4205         * malloc/memusagestat.c: Likewise.
4206         * nis/nis_defaults.c: Likewise.
4207         * nis/nis_hash.c: Likewise.
4208         * nis/nis_print.c: Likewise.
4209         * nis/nis_xdr.c: Likewise.
4210         * nscd/connections.c: Likewise.
4211         * nscd/hstcache.c: Likewise.
4212         * nscd/nscd_gethst_r.c: Likewise.
4213         * nscd/nscd_getserv_r.c: Likewise.
4214         * nscd/nscd_helper.c: Likewise.
4215         * nscd/servicescache.c: Likewise.
4216         * nss/makedb.c: Likewise.
4217         * nss/nss_db/db-XXX.c: Likewise.
4218         * nss/nss_db/db-initgroups.c: Likewise.
4219         * nss/nss_db/db-netgrp.c: Likewise.
4220         * nss/nss_files/files-network.c: Likewise.
4221         * nss/nss_files/files-parse.c: Likewise.
4222         * posix/bug-regex5.c: Likewise.
4223         * posix/fnmatch_loop.c: Likewise.
4224         * posix/regcomp.c: Likewise.
4225         * posix/regexec.c: Likewise.
4226         * posix/tst-rfc3484-2.c: Likewise.
4227         * posix/tst-rfc3484-3.c: Likewise.
4228         * posix/tst-rfc3484.c: Likewise.
4229         * resolv/nss_dns/dns-canon.c: Likewise.
4230         * resolv/nss_dns/dns-network.c: Likewise.
4231         * resolv/res_init.c: Likewise.
4232         * resolv/res_mkquery.c: Likewise.
4233         * resolv/tst-aton.c: Likewise.
4234         * stdlib/cxa_atexit.c: Likewise.
4235         * stdlib/cxa_finalize.c: Likewise.
4236         * stdlib/gen-fpioconst.c: Likewise.
4237         * stdlib/strtol_l.c: Likewise.
4238         * string/tst-endian.c: Likewise.
4239         * sunrpc/auth_des.c: Likewise.
4240         * sunrpc/clnt_udp.c: Likewise.
4241         * sunrpc/rtime.c: Likewise.
4242         * sunrpc/svcauth_des.c: Likewise.
4243         * sunrpc/xdr.c: Likewise.
4244         * sunrpc/xdr_intXX_t.c: Likewise.
4245         * sunrpc/xdr_rec.c: Likewise.
4246         * sysdeps/generic/ldconfig.h: Likewise.
4247         * sysdeps/generic/ldsodefs.h: Likewise.
4248         * sysdeps/generic/memusage.h: Likewise.
4249         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4250         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4251         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4252         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4253         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4254         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4255         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4257         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4258         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4259         * sysdeps/posix/getaddrinfo.c: Likewise.
4260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4264         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4265         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4266         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4267         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4268         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4269         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4270         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4271         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4272         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4273         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4274         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4275         * sysdeps/x86_64/dl-tls.h: Likewise.
4276         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4277         * time/alt_digit.c: Likewise.
4278         * time/era.c: Likewise.
4279         * wcsmbs/tst-c16c32-1.c: Likewise.
4281 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4283         * math/libm-test.inc (struct test_sincos_data): New type.
4284         (RUN_TEST_LOOP_sincos): New macro.
4285         (sincos_test_data): New variable.
4286         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4288 2013-05-16  Richard Henderson  <rth@redhat.com>
4290         * math/atest-exp2.c (LIMB64): New macro.
4291         (CONSTSZ): New macro.
4292         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4293         (hexdig): Move ...
4294         (print_mpn_fp): ... to function scope.
4295         (read_mpn_hex): Remove.
4296         (get_log2): Remove.
4297         (exp2_mpn): Use mp_log2.
4298         (main): Use mp_exp1.
4300 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4302         * math/libm-test.inc: Remove comment about not testing "inexact"
4303         exceptions.
4304         (INEXACT_EXCEPTION): New macro.
4305         (NO_INEXACT_EXCEPTION): Likewise.
4306         (INVALID_EXCEPTION_OK): Update value.
4307         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4308         (OVERFLOW_EXCEPTION_OK): Likewise.
4309         (UNDERFLOW_EXCEPTION_OK): Likewise.
4310         (IGNORE_ZERO_INF_SIGN): Likewise.
4311         (ERRNO_UNCHANGED): Likewise.
4312         (ERRNO_EDOM): Likewise.
4313         (ERRNO_ERANGE): Likewise.
4314         (test_exceptions): Handle testing "inexact" exceptions.
4315         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4316         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4317         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4318         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4319         INEXACT_EXCEPTION.
4320         (rint_towardzero_test_data): Likewise.
4321         (rint_downward_test_data): Likewise.
4322         (rint_upward_test_data): Likewise.
4324         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4325         with OVERFLOW_EXCEPTION.
4326         (exp10_test_data): Likewise.
4327         (exp2_test_data): Likewise.
4328         (expm1_test_data): Likewise.
4329         (lgamma_test_data): Likewise.
4330         (pow_test_data): Likewise.
4331         (tgamma_test_data): Likewise.
4332         (yn_test_data): Remove duplicate test of overflow.
4334         * math/libm-test.inc (struct test_cc_c_data): New type.
4335         (RUN_TEST_LOOP_cc_c): New macro.
4336         (cpow_test_data): New variable.
4337         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4339         * math/libm-test.inc (struct test_f_L_data): New type.
4340         (RUN_TEST_LOOP_f_L): New macro.
4341         (llrint_test_data): New variable.
4342         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4343         (llrint_tonearest_test_data): New variable.
4344         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4345         (llrint_towardzero_test_data): New variable.
4346         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4347         (llrint_downward_test_data): New variable.
4348         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4349         (llrint_upward_test_data): New variable.
4350         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4351         (llround_test_data): New variable.
4352         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4354 2013-05-13  Peter Collingbourne  <pcc@google.com>
4356         * math/atest-exp2.c (get_log2): Remove const attribute.
4358 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4360         * math/libm-test.inc (struct test_f_l_data): New type.
4361         (RUN_TEST_LOOP_f_l): New macro.
4362         (lrint_test_data): New variable.
4363         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4364         (lrint_tonearest_test_data): New variable.
4365         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4366         (lrint_towardzero_test_data): New variable.
4367         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4368         (lrint_downward_test_data): New variable.
4369         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4370         (lrint_upward_test_data): New variable.
4371         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4372         (lround_test_data): New variable.
4373         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4375 2013-05-15  Peter Collingbourne  <pcc@google.com>
4377         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4378         (EXTRACT_WORDS64) Use where appropriate.
4379         (INSERT_WORDS64) Likewise.
4381         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4382         constraints with x constraints.
4383         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4385         * malloc/obstack.c (_obstack_compat): Add initializer.
4387 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4389         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4390         si_trapno and add si_addr_lsb to _sifields.sigfault.
4391         (si_trapno): Remove macro.
4392         (si_addr_lsb): Define new macro.
4393         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4395 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4397         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4398         instead of TEST_f_l.
4399         (llrint_test_tonearest): Likewise.
4400         (llrint_test_towardzero): Likewise.
4401         (llrint_test_downward): Likewise.
4402         (llrint_test_upward): Likewise.
4403         (llround_test): Likewise.
4405         * math/libm-test.inc (struct test_f_i_data): Add comment.
4406         (RUN_TEST_LOOP_f_b): New macro.
4407         (RUN_TEST_LOOP_f_b_tg): Likewise.
4408         (finite_test_data): New variable.
4409         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4410         (isfinite_test_data): New variable.
4411         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4412         (isinf_test_data): New variable.
4413         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4414         (isnan_test_data): New variable.
4415         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4416         (isnormal_test_data): New variable.
4417         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4418         (issignaling_test_data): New variable.
4419         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4420         (signbit_test_data): New variable.
4421         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4423         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4424         with INVALID_EXCEPTION.
4425         (acosh_test_data): Likewise.
4426         (asin_test_data): Likewise.
4427         (atanh_test_data): Likewise.
4428         (fmod_test_data): Likewise.
4429         (log_test_data): Likewise.
4430         (log10_test_data): Likewise.
4431         (log2_test_data): Likewise.
4432         (pow_test_data): Likewise.
4433         (sqrt_test_data): Likewise.
4434         (y0_test_data): Likewise.
4435         (y1_test_data): Likewise.
4436         (yn_test_data): Likewise.
4438         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4439         function contents.
4441         * math/libm-test.inc (struct test_ff_i_data): New type.
4442         (RUN_TEST_LOOP_ff_i_tg): New macro.
4443         (isgreater_test_data): New variable.
4444         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4445         (isgreaterequal_test_data): New variable.
4446         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4447         (isless_test_data): New variable.
4448         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4449         (islessequal_test_data): New variable.
4450         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4451         (islessgreater_test_data): New variable.
4452         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4453         (isunordered_test_data): New variable.
4454         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4456 2013-05-14  David S. Miller  <davem@davemloft.net>
4458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4460 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4462         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4464         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4465         extra_test to int.
4466         (struct test_f_i_data): Change type of max_ulp to int.
4468         * math/libm-test.inc (test_ffI_f1_data): New type.
4469         (RUN_TEST_LOOP_ffI_f1): New macro.
4470         (remquo_test_data): New variable.
4471         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4473         * setjmp/tst-setjmp-fp.c: New file.
4474         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4475         (link-libm): New variable.
4476         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4478         * math/libm-test.inc (struct test_f_i_data): New type.
4479         (RUN_TEST_LOOP_f_i): New macro.
4480         (RUN_TEST_LOOP_f_i_tg): Likewise.
4481         (fpclassify_test_data): New variable.
4482         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4483         (ilogb_test_data): New variable.
4484         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4486         * math/libm-test.inc (scalbln_test): Correct function name in END
4487         call.
4489         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4490         (RUN_TEST_LOOP_fI_f1): New macro.
4491         (frexp_test_data): New variable.
4492         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4494         * math/libm-test.inc (struct test_fF_f1_data): New type.
4495         (RUN_TEST_LOOP_fF_f1): New macro.
4496         (modf_test_data): New variable.
4497         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4499         * math/libm-test.inc (struct test_f_f1_data): New type.
4500         (RUN_TEST_LOOP_f_f1): New macro.
4501         (gamma_test_data): New variable.
4502         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4503         (lgamma_test_data): New variable.
4504         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4506 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4508         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4509         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4510         (main): Comment "tls" pseudo-hwcap.
4512 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4514         * math/libm-test.inc (struct test_fl_f_data): New type.
4515         (RUN_TEST_LOOP_fl_f): New variable.
4516         (scalbln_test_data): New variable.
4517         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4519         * math/libm-test.inc (struct test_fi_f_data): New type.
4520         (RUN_TEST_LOOP_fi_f): New macro.
4521         (ldexp_test_data): New variable.
4522         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4523         (scalbn_test_data): New variable.
4524         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4526         * math/libm-test.inc (struct test_c_f_data): New type.
4527         (RUN_TEST_LOOP_c_f): New macro.
4528         (cabs_test_data): New variable.
4529         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4530         (carg_test_data): New variable.
4531         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4532         (cimag_test_data): New variable.
4533         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4534         (creal_test_data): New variable.
4535         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4537         * math/libm-test.inc (struct test_if_f_data): New type.
4538         (RUN_TEST_LOOP_if_f): New macro.
4539         (jn_test_data): New variable.
4540         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4541         (yn_test_data): New variable.
4542         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4544         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4546 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4548         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4549         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4551 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4553         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4554         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4555         (bench-deps): Add bench-timing.h.
4556         * benchtests-bench-skeleton.c: Include bench-timing.h.
4557         (main): Use TIMING_* macros instead of clock_gettime.
4558         * benchtests/bench-timing.h: New file.
4560         [BZ #14582]
4561         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4562         Renamed from _LIB_VERSION.
4563         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4565 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4567         * math/libm-test.inc (struct test_fff_f_data): New type.
4568         (RUN_TEST_LOOP_fff_f): New macro.
4569         (fma_test_data): New variable.
4570         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4571         (fma_towardzero_test_data): New variable.
4572         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4573         (fma_downward_test_data): New variable.
4574         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4575         (fma_upward_test_data): New variable.
4576         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4578         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4579         (struct test_c_c_data): New type.
4580         (RUN_TEST_LOOP_c_c): New macro.
4581         (cacos_test_data): New variable.
4582         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4583         (cacosh_test_data): New variable.
4584         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4585         (casin_test_data): New variable.
4586         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4587         (casinh_test_data): New variable.
4588         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4589         (catan_test_data): New variable.
4590         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4591         (catanh_test_data): New variable.
4592         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4593         (ccos_test_data): New variable.
4594         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4595         (ccosh_test_data): New variable.
4596         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4597         (cexp_test_data): New variable.
4598         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4599         (clog_test_data): New variable.
4600         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4601         (clog10_test_data): New variable.
4602         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4603         (conj_test_data): New variable.
4604         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4605         (cproj_test_data): New variable.
4606         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4607         (csin_test_data): New variable.
4608         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4609         (csinh_test_data): New variable.
4610         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4611         (csqrt_test_data): New variable.
4612         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4613         (ctan_test_data): New variable.
4614         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4615         (ctan_tonearest_test_data): New variable.
4616         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4617         (ctan_towardzero_test_data): New variable.
4618         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4619         (ctan_downward_test_data): New variable.
4620         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4621         (ctan_upward_test_data): New variable.
4622         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4623         (ctanh_test_data): New variable.
4624         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4625         (ctanh_tonearest_test_data): New variable.
4626         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4627         (ctanh_towardzero_test_data): New variable.
4628         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4629         (ctanh_downward_test_data): New variable.
4630         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4631         (ctanh_upward_test_data): New variable.
4632         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4633         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4634         of BUILD_COMPLEX.
4636         * math/libm-test.inc (struct test_ff_f_data): New type.
4637         (struct test_ff_f_data_nexttoward): Likewise.
4638         (RUN_TEST_LOOP_2_f): New macro.
4639         (RUN_TEST_LOOP_ff_f): Likewise.
4640         (atan2_test_data): New variable.
4641         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4642         (copysign_test_data): New variable.
4643         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4644         (fdim_test_data): New variable.
4645         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4646         (fmax_test_data): New variable.
4647         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4648         (fmin_test_data): New variable.
4649         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4650         (fmod_test_data): New variable.
4651         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4652         (hypot_test_data): New variable.
4653         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4654         (nextafter_test_data): New variable.
4655         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4656         (nexttoward_test_data): New variable.
4657         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4658         (pow_test_data): New variable.
4659         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4660         (pow_tonearest_test_data): New variable.
4661         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4662         (pow_towardzero_test_data): New variable.
4663         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4664         (pow_downward_test_data): New variable.
4665         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4666         (pow_upward_test_data): New variable.
4667         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4668         (remainder_test_data): New variable.
4669         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4670         (scalb_test_data): New variable.
4671         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4672         * sysdeps/i386/fpu/libm-test-ulps: Update.
4674 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4676         * math/libm-test.inc (fma_test): Use max_value instead of local
4677         variable fltmax.
4678         (nextafter_test): Likewise.
4680         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4681         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4682         (acos_downward_test_data): New variable.
4683         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4684         (acos_upward_test_data): New variable.
4685         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4686         (acosh_test_data): New variable.
4687         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4688         (asin_test_data): New variable.
4689         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4690         (asin_tonearest_test_data): New variable.
4691         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4692         (asin_towardzero_test_data): New variable.
4693         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4694         (asin_downward_test_data): New variable.
4695         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4696         (asin_upward_test_data): New variable.
4697         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4698         (asinh_test_data): New variable.
4699         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4700         (atan_test_data): New variable.
4701         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4702         (atanh_test_data): New variable.
4703         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4704         (cbrt_test_data): New variable.
4705         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4706         (ceil_test_data): New variable.
4707         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4708         (cos_test_data): New variable.
4709         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4710         (cos_tonearest_test_data): New variable.
4711         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4712         (cos_towardzero_test_data): New variable.
4713         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4714         (cos_downward_test_data): New variable.
4715         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4716         (cos_upward_test_data): New variable.
4717         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4718         (cosh_test_data): New variable.
4719         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4720         (cosh_tonearest_test_data): New variable.
4721         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4722         (cosh_towardzero_test_data): New variable.
4723         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4724         (cosh_downward_test_data): New variable.
4725         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4726         (cosh_upward_test_data): New variable.
4727         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4728         (erf_test_data): New variable.
4729         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4730         (erfc_test_data): New variable.
4731         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4732         (exp_test_data): New variable.
4733         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4734         (exp_tonearest_test_data): New variable.
4735         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4736         (exp_towardzero_test_data): New variable.
4737         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4738         (exp_downward_test_data): New variable.
4739         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4740         (exp_upward_test_data): New variable.
4741         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4742         (exp10_test_data): New variable.
4743         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4744         (exp2_test_data): New variable.
4745         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4746         (expm1_test_data): New variable.
4747         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4748         (fabs_test_data): New variable.
4749         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4750         (floor_test_data): New variable.
4751         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4752         (j0_test_data): New variable.
4753         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4754         (j1_test_data): New variable.
4755         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4756         (log_test_data): New variable.
4757         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4758         (log10_test_data): New variable.
4759         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4760         (log1p_test_data): New variable.
4761         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4762         (log2_test_data): New variable.
4763         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4764         (logb_test_data): New variable.
4765         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4766         (logb_downward_test_data): New variable.
4767         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4768         (nearbyint_test_data): New variable.
4769         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4770         (rint_test_data): New variable.
4771         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4772         (rint_tonearest_test_data): New variable.
4773         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4774         (rint_towardzero_test_data): New variable.
4775         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4776         (rint_downward_test_data): New variable.
4777         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4778         (rint_upward_test_data): New variable.
4779         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4780         (round_test_data): New variable.
4781         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4782         (sin_test_data): New variable.
4783         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4784         (sin_tonearest_test_data): New variable.
4785         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4786         (sin_towardzero_test_data): New variable.
4787         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4788         (sin_downward_test_data): New variable.
4789         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4790         (sin_upward_test_data): New variable.
4791         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4792         (sinh_test_data): New variable.
4793         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4794         (sinh_tonearest_test_data): New variable.
4795         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4796         (sinh_towardzero_test_data): New variable.
4797         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4798         (sinh_downward_test_data): New variable.
4799         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4800         (sinh_upward_test_data): New variable.
4801         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4802         (sqrt_test_data): New variable.
4803         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4804         (tan_test_data): New variable.
4805         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4806         (tan_tonearest_test_data): New variable.
4807         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4808         (tan_towardzero_test_data): New variable.
4809         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4810         (tan_downward_test_data): New variable.
4811         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4812         (tan_upward_test_data): New variable.
4813         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4814         (tanh_test_data): New variable.
4815         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4816         (tgamma_test_data): New variable.
4817         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4818         (trunc_test_data): New variable.
4819         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4820         (y0_test_data): New variable.
4821         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4822         (y1_test_data): New variable.
4823         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4824         (significand_test_data): New variable.
4825         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4827 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4829         [BZ #12387]
4830         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4832 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4834         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4836 2013-05-10  Andreas Jaeger  <aj@suse.de>
4838         [BZ #15448]
4839         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4840         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4842 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4844         * math/gen-libm-test.pl (adjust_arg): New function.
4845         (special_functions): Handle generating output in both functions
4846         and arrays.
4847         (parse_args): Likewise.
4848         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4849         $in_func argument to parse_args.
4850         * math/libm-test.inc (struct test_f_f_data): New type.
4851         (IF_ROUND_INIT_): New macro.
4852         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4853         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4854         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4855         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4856         (ROUND_RESTORE_): Likewise.
4857         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4858         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4859         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4860         (ROUND_RESTORE_FE_UPWARD): Likewise.
4861         (RUN_TEST_LOOP_f_f): New macro.
4862         (acos_test_data): New variable.
4863         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
4864         (acos_tonearest_test_data): New variable.
4865         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4867 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4869         * benchtests/bench-skeleton.c (startup): Fix coding style.
4871 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4873         [BZ #6809]
4874         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
4875         negative infinity argument.
4876         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
4877         negative infinity argument.
4878         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
4879         negative infinity argument.
4880         * math/libm-test.inc (tgamma_test): Expect errno to be set for
4881         domain errors.
4883 2013-05-10  Florian Weimer  <fweimer@redhat.com>
4885         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
4886         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
4887         * iconv/iconv_prog.c (main): Likewise.
4888         * locale/programs/charmap-dir.c (charmap_readdir)
4889         (fopen_uncompressed): Likewise.
4890         * locale/programs/locfile.c (siblings_uncached)
4891         (write_locale_data): Use lstat64 instead of lstat.
4892         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
4893         stat.
4895 2013-05-10  Andreas Jaeger  <aj@suse.de>
4897         [BZ #15395]
4898         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
4899         localization.
4900         Include <locale.h>.
4902 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
4904         * elf/dl-close.c (_dl_close_worker): Add comments.
4906 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
4908         [BZ #15359]
4909         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
4910         high part of pi/2.
4911         (__ieee754_rem_pio2l): Update comments.
4913         [BZ #15429]
4914         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
4915         high part of pi/2.
4916         (__ieee754_rem_pio2l): Update comments.
4918         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
4919         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
4921         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
4922         M_PI_4l.
4924         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
4925         (M_PI_34_LOG10El): Likewise.
4926         (M_PI2_LOG10El): Likewise.
4927         (M_PI4_LOG10El): Likewise.
4928         (M_PI_LOG10El): Likewise.
4930 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4934 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
4936         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
4937         (MINUS_ZERO_INIT): Likewise.
4938         (PLUS_INFTY_INIT): Likewise.
4939         (MINUS_INFTY_INIT): Likewise.
4940         (QNAN_VALUE_INIT): Likewise.
4941         (MAX_VALUE_INIT): Likewise.
4942         (MIN_VALUE_INIT): Likewise.
4943         (MIN_SUBNORM_VALUE_INIT): Likewise.
4944         (plus_zero): Initialize with PLUS_ZERO_INIT.
4945         (minus_zero): Initialize with MINUS_ZERO_INIT.
4946         (plus_infty): Initialize with PLUS_INFTY_INIT.
4947         (minus_infty): Initialize with MINUS_INFTY_INIT.
4948         (qnan_value): Initialize with QNAN_VALUE_INIT.
4949         (max_value): Initialize with MAX_VALUE_INIT.
4950         (min_value): Initialize with MIN_VALUE_INIT.
4951         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
4953         * math/libm-test.inc (RUN_TEST_if_f): New macro.
4954         (jn_test): Use TEST_if_f instead of TEST_ff_f.
4955         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
4956         (yn_test): Use TEST_if_f instead of TEST_ff_f.
4958         * math/libm-test.inc (RUN_TEST_f_f): New macro.
4959         (RUN_TEST_2_f): Likewise.
4960         (RUN_TEST_ff_f): Likewise.
4961         (RUN_TEST_fi_f): Likewise.
4962         (RUN_TEST_fl_f): Likewise.
4963         (RUN_TEST_fff_f): Likewise.
4964         (RUN_TEST_c_f): Likewise.
4965         (RUN_TEST_f_f1): Likewise.
4966         (RUN_TEST_fF_f1): Likewise.
4967         (RUN_TEST_fI_f1): Likewise.
4968         (RUN_TEST_ffI_f1): Likewise.
4969         (RUN_TEST_c_c): Likewise.
4970         (RUN_TEST_cc_c): Likewise.
4971         (RUN_TEST_f_i): Likewise.
4972         (RUN_TEST_f_i_tg): Likewise.
4973         (RUN_TEST_ff_i_tg): Likewise.
4974         (RUN_TEST_f_b): Likewise.
4975         (RUN_TEST_f_b_tg): Likewise.
4976         (RUN_TEST_f_l): Likewise.
4977         (RUN_TEST_f_L): Likewise.
4978         (RUN_TEST_sincos): Likewise.
4979         * math/gen-libm-test.pl (new_test): Take new argument to indicate
4980         whether to show exceptions.  Do not include ");\n" in return
4981         value.
4982         (special_functions): Output call to RUN_TEST_sincos instead of
4983         check_float calls.  Update calls to new_test.
4984         (parse_args): Output call to single RUN_TEST_* macro instead of
4985         check_* calls and other assignments.  Update calls to new_test.
4987         [BZ #2546]
4988         [BZ #2560]
4989         [BZ #5159]
4990         [BZ #15426]
4991         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
4992         input to result for tgamma overflow.
4993         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
4994         (gamma_coeff): New variable.
4995         (NCOEFF): New macro.
4996         (gamma_positive): New function.
4997         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
4998         underflow here.  Use gamma_positive instead of exp (lgamma) for
4999         other arguments.
5000         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5001         (gamma_coeff): New variable.
5002         (NCOEFF): New macro.
5003         (gammaf_positive): New function.
5004         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5005         underflow here.  Use gamma_positive instead of exp (lgamma) for
5006         other arguments.
5007         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5008         (gamma_coeff): New variable.
5009         (NCOEFF): New macro.
5010         (gammal_positive): New function.
5011         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5012         underflow here.  Use gamma_positive instead of exp (lgamma) for
5013         other arguments.
5014         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5015         (gamma_coeff): New variable.
5016         (NCOEFF): New macro.
5017         (gammal_positive): New function.
5018         (__ieee754_gammal_r): Handle positive infinity, overflow and
5019         underflow here.  Handle NaN the same as positive infinity.  Remove
5020         check x < 0xffffffff for negative integers.  Use gamma_positive
5021         instead of exp (lgamma) for other arguments.
5022         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5023         (gamma_coeff): New variable.
5024         (NCOEFF): New macro.
5025         (gammal_positive): New function.
5026         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5027         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5028         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5029         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5030         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5031         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5032         * sysdeps/generic/math_private.h (__gamma_productf): New
5033         prototype.
5034         (__gamma_product): Likewise.
5035         (__gamma_productl): Likewise.
5036         * math/Makefile (libm-calls): Add gamma_product.
5037         * math/libm-test.inc (tgamma_test): Add more tests.
5038         * sysdeps/i386/fpu/libm-test-ulps: Update.
5039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5041 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5043         * benchtests/bench-skeleton.c (main): Preheat CPU.
5045 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5047         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5049 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5051         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5052         and _dl_skip_args_internal.
5054 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5056         * manual/message.texi (Message Translation): Talk about users.
5057         Message to key mapping impacts design.
5059 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5061         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5063         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5065         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5066         * sysdeps/wordsize-64/glob64.c: ... here.
5068         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5069         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5070         New macros.
5072         * debug/getlogin_r_chk.c: Moved to ...
5073         * login/getlogin_r_chk.c: ... here.
5074         * debug/Makefile (routines): Move getlogin_r_chk to ...
5075         * login/Makefile (routines): ... here.
5076         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5077         * login/Versions (libc: GLIBC_2.4): ... here.
5079         * io/poll.c (__poll): Renamed from poll.
5080         Add libc_hidden_def.
5081         (poll): Define as weak alias.
5083         * debug/ptsname_r_chk.c: Moved to ...
5084         * login/ptsname_r_chk.c: ... here.
5085         * debug/Makefile (routines): Move ptsname_r_chk to ...
5086         * login/Makefile (routines): ... here.
5087         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5088         * login/Versions (libc: GLIBC_2.4): ... here.
5090         * posix/getlogin.c: Moved to ...
5091         * login/getlogin.c: ... here.
5092         * posix/getlogin_r.c: Moved to ...
5093         * login/getlogin_r.c: ... here.
5094         * posix/getlogin_r.c: Moved to ...
5095         * login/getlogin_r.c: ... here.
5096         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5097         * login/Makefile (routines): ... here.
5098         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5099         * login/Versions (libc: GLIBC_2.0): ... here.
5101         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5102         (setrlimit): Define as weak alias.
5104         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5105         Call __ names for open, ftruncate, and close.
5106         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5107         (truncate): Define as weak alias.
5109 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5111         * math/gen-libm-test.pl (parse_args): Initialize x before each
5112         test of frexp, modf and remquo.
5114         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5115         test signgam value.
5117 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5119         [BZ #15418]
5120         [BZ #15419]
5121         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5122         internal tests.
5123         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5125 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5127         * elf/dl-writev.h: New file.
5128         * elf/dl-misc.c: Include it.
5129         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5130         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5132 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5134         * math/libm-test.inc (noXFails): Remove variable.
5135         (noXPasses): Likewise.
5136         (BUILD_COMPLEX_INT): Remove macro.
5137         (print_screen): Remove xfail argument.
5138         (print_screen_max_error): Likewise.
5139         (update_stats): Likewise.
5140         (print_max_error): Likewise.  Update calls to other affected
5141         functions.
5142         (print_complex_max_error): Likewise.
5143         (test_single_exception): Update calls to print_screen.
5144         (test_single_errno): Likewise.
5145         (check_float_internal): Remove xfail argument.  Update calls to
5146         other affected functions.
5147         (check_float): Likewise.
5148         (check_complex): Likewise.
5149         (check_int): Likewise.
5150         (check_long): Likewise.
5151         (check_bool): Likewise.
5152         (check_longlong): Likewise.
5153         (main): Don't print noXFails and noXPasses.
5154         * math/gen-libm-test.pl (top level): Don't mention expected
5155         failure handling in comment.
5156         (new_test): Don't handle expected failures.
5157         (parse_args): Don't mention expected failure handling in comment.
5158         (generate_testfile): Don't handle expected failures.
5159         (parse_ulps): Likewise.
5160         (print_ulps_file): Likewise.
5161         (get_failure): Remove function.
5162         (output_test): Don't handle expected failures.
5163         * make/README.libm-test: Don't mention expected failure handling.
5165         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5166         (minus_zero): Likewise.
5167         (plus_infty): Likewise.
5168         (minus_infty): Likewise.
5169         (qnan_value): Likewise.
5170         (max_value): Likewise.
5171         (min_value): Likewise.
5172         (min_subnorm_value): Likewise.
5173         (initialize): Do not initialize those variables dynamically.
5175 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5177         * io/open.c (__open_2): Moved to ...
5178         * io/open_2.c: ... this new file.
5179         * io/open64.c (__open64_2): Moved to ...
5180         * io/open64_2.c: ... this new file.
5181         * io/openat.c (__openat_2): Moved to ...
5182         * io/openat_2.c: ... this new file.
5183         * io/openat64.c (__openat64_2): Moved to ...
5184         * io/openat64_2.c: ... this new file.
5185         * io/Makefile (routines): Add them.
5186         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5187         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5188         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5189         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5190         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5191         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5192         (__openat64): Add hidden_ver.
5193         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5194         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5196         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5197         Separately conditionalize setting of GLRO(dl_sysinfo) so
5198         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5199         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5201 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5205         definition.
5206         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5207         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5208         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5209         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5210         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5212 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5214         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5215         test signgam value.
5217         * math/libm-test.inc (hypot_test): Do not use
5218         IGNORE_ZERO_INF_SIGN.
5220 2013-05-03  Andreas Jaeger  <aj@suse.de>
5222         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5223         Linux 3.9.
5224         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5225         (PF_MAX): Adjust for VSOCK change.
5227 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5229         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5231 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5233         [BZ #15264]
5234         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5235         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5236         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5238 2013-05-02  David S. Miller  <davem@davemloft.net>
5240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5242 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5244         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5246 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5248         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5250 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5252         [BZ #14952]
5253         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5254         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5255         Use __attribute__ ((__gnu_inline__)).
5256         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5257         Don't use __attribute__ ((__gnu_inline__)).
5259 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5261         [BZ #15423]
5262         * math/s_catan.c (__catan): Handle small real or imaginary part of
5263         input specially to avoid spurious underflow.
5264         * math/s_catanf.c (__catanf): Likewise.
5265         * math/s_catanh.c (__catanh): Likewise.
5266         * math/s_catanhf.c (__catanhf): Likewise.
5267         * math/s_catanhl.c (__catanhl): Likewise.
5268         * math/s_catanl.c (__catanl): Likewise.
5269         * math/libm-test.inc (catan_test): Add more tests.
5270         (catanh_test): Likewise.
5271         * sysdeps/i386/fpu/libm-test-ulps: Update.
5272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5274 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5278 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5280         [BZ #15416]
5281         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5282         accurately for denominator in atan2.
5283         * math/s_catanf.c (__catanf): Likewise.
5284         * math/s_catanh.c (__catanh): Likewise.
5285         * math/s_catanhf.c (__catanhf): Likewise.
5286         * math/s_catanhl.c (__catanhl): Likewise.
5287         * math/s_catanl.c (__catanl): Likewise.
5288         * math/libm-test.inc (catan_test): Add more tests.
5289         (catanh_test): Likewise.
5290         * sysdeps/i386/fpu/libm-test-ulps: Update.
5291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5293 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5297         * benchtests/Makefile (bench): Remove slow benchmarks.
5298         * benchtests/atan-inputs: Add slow benchmark inputs.
5299         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5300         (BENCH_FUNC): Accept variant offset.
5301         (VARIANT): Define.
5302         * benchtests/bench-skeleton.c (main): Run benchmark for each
5303         variant.
5304         * benchtests/cos-inputs: Add slow benchmark inputs.
5305         * benchtests/exp-inputs: Likewise.
5306         * benchtests/pow-inputs: Likewise.
5307         * benchtests/sin-inputs: Likewise.
5308         * benchtests/slowatan-inputs: Remove.
5309         * benchtests/slowatan.c: Remove.
5310         * benchtests/slowcos-inputs: Remove.
5311         * benchtests/slowcos.c: Remove.
5312         * benchtests/slowexp-inputs: Remove.
5313         * benchtests/slowexp.c: Remove.
5314         * benchtests/slowpow-inputs: Remove.
5315         * benchtests/slowpow.c: Remove.
5316         * benchtests/slowsin-inputs: Remove.
5317         * benchtests/slowsin.c: Remove.
5318         * benchtests/slowtan-inputs: Remove.
5319         * benchtests/slowtan.c: Remove.
5320         * benchtests/tan-inputs: Add slow benchmark inputs.
5321         * scripts/bench.pl: Parse comments and directives.
5323         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5324         in CPPFLAGS.
5325         ($(objpfx)bench-%.c): Remove *-ITER.
5326         * benchtests/bench-modf.c: Remove definition of ITER.
5327         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5328         (main): Loop for DURATION seconds instead of fixed number of
5329         iterations.
5330         * scripts/bench.pl: Don't expect iterations in parameters.
5332 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5334         * io/fchdir.c (__fchdir): Renamed from fchdir.
5335         (fchdir): Define as weak alias.
5337 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5339         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5340         (ERRNO_EDOM): Likewise.
5341         (ERRNO_ERANGE): Likewise.
5342         (noErrnoTests): New variable.
5343         (init_max_error): Set errno to 0.
5344         (test_single_errno): New function.
5345         (test_errno): Likewise.
5346         (check_float_internal): Call test_errno.  Set errno to 0.
5347         (check_complex): Refer to errno tests in comment.
5348         (check_int): Call test_errno.  Set errno to 0.
5349         (check_long): Likewise.
5350         (check_bool): Likewise.
5351         (check_longlong): Likewise.
5352         (cos_test): Use ERRNO_* flags for errno tests instead of
5353         check_int.
5354         (expm1_test): Likewise.
5355         (fmod_test): Likewise.
5356         (ilogb_test): Likewise.
5357         (lgamma_test): Likewise.
5358         (pow_test): Likewise.
5359         (remainder_test): Likewise.
5360         (sin_test): Likewise.
5361         (tan_test): Likewise.
5362         (yn_test): Likewise.
5363         (initialize): Set errno to 0.
5364         (main): Print number of errno tests.
5365         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5367 2013-04-29  Andreas Jaeger  <aj@suse.de>
5369         [BZ #15084]
5370         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5371         and RES_USEVC.
5373         [BZ #15085]
5374         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5375         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5376         unimplemented.
5378         [BZ #15380]
5379         * stdlib/random.c (__initstate): Return NULL if
5380         __initstate fails.
5382         [BZ #15086]
5383         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5384         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5385         RES_SNGLKUPREOP.
5387 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5391 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5393         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5394         of individual tests.
5395         (casin_test): Likewise.
5396         (casinh_test): Likewise.
5398 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5400         [BZ #15409]
5401         * math/s_catan.c (__catan): Handle arguments with large real or
5402         imaginary part separately without squaring.
5403         * math/s_catanf.c (__catanf): Likewise.
5404         * math/s_catanh.c (__catanh): Likewise.
5405         * math/s_catanhf.c (__catanhf): Likewise.
5406         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5407         and redefine.
5408         (__catanhl): Handle arguments with large real or imaginary part
5409         separately without squaring.
5410         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5411         and redefine.
5412         (__catanl): Handle arguments with large real or imaginary part
5413         separately without squaring.
5414         * math/libm-test.inc (catan_test): Add more tests.
5415         (catanh_test): Likewise.
5416         * sysdeps/i386/fpu/libm-test-ulps: Update.
5417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5419 2013-04-27  Andreas Jaeger  <aj@suse.de>
5421         [BZ #15007]
5422         * stdlib/stdlib.h: Update guards for qecvt.
5423         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5424         <stdlib.h>.
5426 2013-04-27  Allan McRae  <allan@archlinux.org>
5428         * sysdeps/i386/fpu/libm-test-ulps: Update.
5430 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5432         [BZ #15406]
5433         * math/s_catan.c: Include <float.h>.
5434         (__catan): Ensure underflow exception occurs for underflowed
5435         result.
5436         * math/s_catanf.c: Include <float.h>.
5437         (__catanf): Ensure underflow exception occurs for underflowed
5438         result.
5439         * math/s_catanh.c: Include <float.h>.
5440         (__catanh): Ensure underflow exception occurs for underflowed
5441         result.
5442         * math/s_catanhf.c: Include <float.h>.
5443         (__catanhf): Ensure underflow exception occurs for underflowed
5444         result.
5445         * math/s_catanhl.c: Include <float.h>.
5446         (__catanhl): Ensure underflow exception occurs for underflowed
5447         result.
5448         * math/s_catanl.c: Include <float.h>.
5449         (__catanl): Ensure underflow exception occurs for underflowed
5450         result.
5451         * math/libm-test.inc (catan_test): Add more tests.
5452         (catanh_test): Likewise.
5454         [BZ #15405]
5455         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5456         underflowed result.
5457         * math/s_ccoshf.c (__ccoshf): Likewise.
5458         * math/s_ccoshl.c (__ccoshl): Likewise.
5459         * math/s_csin.c (__csin): Likewise.
5460         * math/s_csinf.c (__csinf): Likewise.
5461         * math/s_csinh.c (__csinh): Likewise.
5462         * math/s_csinhf.c (__csinhf): Likewise.
5463         * math/s_csinhl.c (__csinhl): Likewise.
5464         * math/s_csinl.c (__csinl): Likewise.
5465         * math/libm-test.inc (ccos_test): Add more tests.
5466         (ccosh_test): Likewise.
5467         (csin_test): Likewise.
5468         (csinh_test): Likewise.
5470 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5472         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5473         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5474         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5475         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5476         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5477         powerpc/power5+/fpu folders.
5478         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5481 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5485 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5487         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5488         additions to variable.
5489         [$(config-machine) = x86_64] (modules-names): Likewise.
5490         ($(objpfx)tst-audit3): Remove dependency.
5491         ($(objpfx)tst-audit3.out): Likewise.
5492         ($(objpfx)tst-audit4): Likewise.
5493         ($(objpfx)tst-audit4.out): Likewise.
5494         ($(objpfx)tst-audit5): Likewise.
5495         ($(objpfx)tst-audit5.out): Likewise.
5496         ($(objpfx)tst-audit6): Likewise.
5497         ($(objpfx)tst-audit6.out): Likewise.
5498         ($(objpfx)tst-audit7): Likewise.
5499         ($(objpfx)tst-audit7.out): Likewise.
5500         (tst-audit3-ENV): Remove variable.
5501         (tst-audit4-ENV): Likewise.
5502         (tst-audit5-ENV): Likewise.
5503         (tst-audit6-ENV): Likewise.
5504         (tst-audit7-ENV): Likewise.
5505         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5506         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5507         addition to variable.
5508         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5509         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5510         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5511         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5512         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5513         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5514         tst-audit3, tst-audit4 and tst-audit5.
5515         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5516         tst-audit6 and tst-audit7.
5517         [$(subdir) = elf] (modules-names): Add audit modules for those
5518         tests.
5519         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5520         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5521         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5522         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5523         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5524         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5525         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5526         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5527         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5528         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5529         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5530         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5531         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5532         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5533         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5534         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5535         Likewise.
5536         [$(subdir) = elf && $(config-cflags-avx) = yes]
5537         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5538         [$(subdir) = elf && $(config-cflags-avx) = yes]
5539         (CFLAGS-tst-auditmod4a.c): Likewise.
5540         [$(subdir) = elf && $(config-cflags-avx) = yes]
5541         (CFLAGS-tst-auditmod4b.c): Likewise.
5542         [$(subdir) = elf && $(config-cflags-avx) = yes]
5543         (CFLAGS-tst-auditmod6b.c): Likewise.
5544         [$(subdir) = elf && $(config-cflags-avx) = yes]
5545         (CFLAGS-tst-auditmod6c.c): Likewise.
5546         [$(subdir) = elf && $(config-cflags-avx) = yes]
5547         (CFLAGS-tst-auditmod7b.c): Likewise.
5548         * elf/tst-audit3.c: Move to ...
5549         * sysdeps/x86_64/tst-audit3.c: ... here.
5550         * elf/tst-audit4.c: Move to ...
5551         * sysdeps/x86_64/tst-audit4.c: ... here.
5552         * elf/tst-audit5.c: Move to ...
5553         * sysdeps/x86_64/tst-audit5.c: ... here.
5554         * elf/tst-audit6.c: Move to ...
5555         * sysdeps/x86_64/tst-audit6.c: ... here.
5556         * elf/tst-audit7.c: Move to ...
5557         * sysdeps/x86_64/tst-audit7.c: ... here.
5558         * elf/tst-auditmod3a.c: Move to ...
5559         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5560         * elf/tst-auditmod3b.c: Move to ...
5561         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5562         * elf/tst-auditmod4a.c: Move to ...
5563         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5564         * elf/tst-auditmod4b.c: Move to ...
5565         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5566         * elf/tst-auditmod5a.c: Move to ...
5567         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5568         * elf/tst-auditmod5b.c: Move to ...
5569         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5570         * elf/tst-auditmod6a.c: Move to ...
5571         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5572         * elf/tst-auditmod6b.c: Move to ...
5573         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5574         * elf/tst-auditmod6c.c: Move to ...
5575         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5576         * elf/tst-auditmod7a.c: Move to ...
5577         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5578         * elf/tst-auditmod7b.c: Move to ...
5579         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5581 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5583         [BZ #15366]
5584         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5585         define unconditionally.
5586         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5587         define unconditionally.
5588         (INT8_C, INT16_C, etc.): Likewise.
5590 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5592         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5593         __ehdr_start with hidden visibility.
5595         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5597 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5599         * math/libm-test.inc (cos_test): Use accurate hex constants.
5600         (sincost_test): Likewise.
5602 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5604         * math/libm-test.inc (catan_test): Add more tests.
5605         (catanh_test): Likewise.
5607         * math/s_catanf.c (__catanf): Use suffixed floating-point
5608         constants.
5609         * math/s_catanhf.c (__catanhf): Likewise.
5610         * math/s_catanhl.c (__catanhl): Likewise.
5611         * math/s_catanl.c (__catanl): Likewise.
5613         [BZ #15394]
5614         * math/s_catan.c (__catan): Calculate imaginary part of result
5615         with log1p not log unless computing log of number close to 0.
5616         * math/s_catanf.c (__catanf): Likewise.
5617         * math/s_catanl.c (__catanl): Likewise.
5618         * math/s_catanh.c (__catanh): Calculate real part of result with
5619         log1p not log unless computing log of number close to 0.
5620         * math/s_catanhf.c (__catanhf): Likewise.
5621         * math/s_catanhl.c (__catanhl): Likewise.
5622         * math/libm-test.inc (catan_test): Add more tests.
5623         (catanh_test): Likewise.
5624         * sysdeps/i386/fpu/libm-test-ulps: Update.
5625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5627 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5629         * benchtests/Makefile: Mention files in which fast and slow
5630         paths of math functions are implemented.
5632 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5634         * sysdeps/posix/timespec_get.c: New file.
5636 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5638         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5639         POWER.
5640         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5641         for POWER.
5642         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5643         powerpc/power5/fpu folders.
5644         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5645         * benchtests/Makefile: Add modf testcase.
5646         * benchtests/bench-modf.c: New file: Benchmark test for mo
5648 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5650         [BZ #14888]
5651         * time/Makefile (tests): Add tst-strptime-whitespace.
5652         * time/strptime_l.c (get_number): Use ISSPACE.
5653         (__strptime_internal): Likewise.
5654         * time/tst-strptime-whitespace.c: New test case.
5656 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5658         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5659         member.
5660         (_nss_files_init): Set it here.
5662 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5664         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5665         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5666         unsigned.
5668 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5670         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5672 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5674         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5675         size just once.
5677 2013-04-21  David S. Miller  <davem@davemloft.net>
5679         * po/ru.po: Update Russion translation from translation project.
5681 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5683         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5684         and setfsgid.
5686 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5688         * configure.in: Remove i386 configure warning. Remove i386 case.
5689         * configure: Regenerate.
5690         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5691         Add example to error message.
5692         * sysdeps/i386/configure: Regenerate.
5694 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5696         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5697         slowtan.
5698         * benchtests/cos-inputs: New file.
5699         * benchtests/slowcos-inputs: New file.
5700         * benchtests/slowcos.c: New file.
5701         * benchtests/slowtan-inputs: New file.
5702         * benchtests/slowtan.c: New file.
5703         * benchtests/tan-inputs: New file.
5705 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5707         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5708         considered kosher.
5710 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5712         * benchtests/Makefile: Include cppflags-iterator.mk to add
5713         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5715         * Makefile.in (bench-clean): New target.
5716         * benchtests/Makefile (bench-clean): Likewise.
5718 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5720         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5722 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5724         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5726 2013-04-15  Andreas Schwab  <schwab@suse.de>
5728         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5729         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5730         * nscd/pwdcache.c (cache_addpw): Likewise.
5731         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5732         more than recsize.
5734 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5736         * benchtests/Makefile (bench): Write all output to
5737         bench-out.tmp together.
5739 2013-04-15  Andreas Schwab  <schwab@suse.de>
5741         * nscd/nscd.c (main): Don't fork again after closing files.
5743 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5745         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5747         * benchtests/Rules (bench-deps): Collect dependencies into a
5748         single variable.  Add Makefile to dependencies.
5749         ($(objpfx)bench-%.c): Depend on bench-deps.
5751 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5752             Xavier Roche  <roche+kml2@exalead.com>
5754         [BZ #15361]
5755         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5756         just that it's a file descriptor.
5757         * manual/llio.texi (Synchronizing AIO Operations): Update description
5758         for EBADF error from aio_fsync.
5760 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5762         * Rules (bench): Move target definition...
5763         * benchtests/Makefile: ... here.
5765 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5767         * math/libm-test.inc (cos_test): Fix PI/2 test.
5768         (sincos_test): Likewise.
5769         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5770         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5772 2013-04-11  Andreas Schwab  <schwab@suse.de>
5774         [BZ #13988]
5775         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5776         accept exponent character only when digits were seen.
5777         * stdio-common/Makefile (tests): Add bug26.
5778         * stdio-common/bug26.c: New file.
5780         [BZ #14293]
5781         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5782         non-freeable.
5784 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5786         * Makeconfig (rtld-prefix): Define built linker prefix.
5787         * Rules (run-bench): Use it.
5788         * math/Makefile (run-regen-ulps): Likewise.
5790         * Rules (bench): Remove eval.
5792 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5793             Roland McGrath  <roland@hack.frob.com>
5794             Ondrej Bilka  <neleai@seznam.cz>
5796         [BZ #15346]
5797         * time/getdate.c: Include ctype.h and alloca.h.
5798         (__getdate_r): Trim leading and trailing spaces of input.
5799         * time/tst-getdate.c (tests): Add tests with leading and
5800         trailing spaces.
5802 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5804         [BZ #14280]
5805         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5806         when computing value.
5808 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5810         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5811         Use testrun.sh to run libm tests.
5813         [BZ #15309]
5814         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5816 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5818         [BZ #15264]
5819         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5821 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5823         * Makefile.in (regen-ulps): New target.
5824         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5825         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5826         [ifneq (no,$(PERL)] (regen-ulps): New target.
5827         [ifeq (no,$(PERL)] (regen-ulps): New target.
5828         * math/libm-test.inc (ulps_file_name): Define.
5829         (output_dir): New variable.
5830         (options): Add "output-dir" option.
5831         (parse_opt): Handle 'o' case.
5832         (main): If output_dir is non-NULL use it as a prefix
5833         otherwise use "".
5834         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5836 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5838         [BZ #10060, #10062]
5839         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5840         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5841         fail configure if __sync_val_compare_and_swap is not inlined.
5842         * sysdeps/i386/configure: Regenerate.
5843         * configure.in: Build for i686 when configured for i386.
5844         * configure: Regenerate.
5845         * README: Remove i386 reference.
5847 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5849         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5850         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5852 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
5854         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
5855         (lmsnanval): New variables.
5856         (F): Add conversion tests.
5857         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
5858         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
5860         * stdio-common/tstdiomisc.c (F): Properly collect individual
5861         tests' results.
5863         [BZ #14686, #15336]
5864         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
5865         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
5866         Instead, use input NaN values or generate a qNaN by arithmetic
5867         operation.  Also fix bugs to comply with the standard.
5868         * math/libm-test.inc (remainder_test): Add more tests.
5870         [BZ #15335, #15342]
5871         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
5872         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
5873         input NaN values or generate a qNaN by arithmetic operation.
5875         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
5876         unreachable code.
5878         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
5879         definitions.
5881 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
5883         [BZ #14478]
5884         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
5885         underflowed result.
5886         * math/s_cexpf.c (__cexpf): Likewise.
5887         * math/s_cexpl.c (__cexpl): Likewise.
5888         * math/libm-test.inc (cexp_test): Add more tests.
5890 2013-04-03  Andreas Schwab  <schwab@suse.de>
5892         [BZ #15330]
5893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
5894         order arrays from heap if bigger than alloca cutoff.
5896 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
5898         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
5899         (SNAN_TESTS_double): Refer to GCC PR56831.
5900         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
5901         GCC PR56828.
5903 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
5905         * Rules (bench): Move bench.out after the run is complete.
5907         * Rules (bench): Echo currently running benchmark.
5909         * benchtests/Makefile (bench): Add atan and slowatan.
5910         * benchtests/atan-inputs: New file.
5911         * benchtests/slowatan-inputs: New file.
5912         * benchtests/slowatan.c: New file.
5914         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
5915         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
5916         its value.
5918         [BZ #15305]
5919         * sysdeps/unix/sysv/linux/kernel-features.h
5920         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
5921         __ASSUME_XFS_RESTRICTED_CHOWN.
5922         * sysdeps/unix/sysv/linux/pathconf.c
5923         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5924         Save and restore errno.
5926 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
5928         [BZ #15327]
5929         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
5930         arguments using __kernel_casinh.
5931         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
5932         arguments using __kernel_casinhf.
5933         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
5934         arguments using __kernel_casinhl.
5935         * math/libm-test.inc (cacosh_test): Add more tests.
5936         * sysdeps/i386/fpu/libm-test-ulps: Update.
5937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5939 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5941         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
5942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
5944         * bench/Makefile (bench): Add sin and slowsin.
5945         * benchtests/sin-inputs: New file.
5946         * benchtests/slowsin-inputs: New file.
5947         * benchtests/slowsin.c: New file.
5949         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
5950         (bench): Add slowexp and slowpow.
5951         (exp-ITER): Increase iterations.
5952         (pow-ITER): Likewise.
5953         * benchtests/exp-inputs: Change input.
5954         * benchtests/pow-inputs: Likewise.
5955         * benchtests/slowexp-inputs: New file.
5956         * benchtests/slowexp.c: New file.
5957         * benchtests/slowpow-inputs: New file.
5958         * benchtests/slowpow.c: New file.
5960 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5962         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
5963         instructions.
5964         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5965         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
5966         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
5967         * benchtests/Makefile: Add rint benchtest.
5968         * benchtests/rint-inputs: Input for rint benchtest.
5970 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
5972         * Versions.def (libm): Add GLIBC_2.18.
5973         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
5974         hidden libm prototypes.
5975         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
5976         * math/Makefile (libm-calls): Add s_issignaling.
5977         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
5978         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
5979         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
5980         declaration.
5981         * math/math.h [__USE_GNU] (issignaling): New macro.
5982         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
5983         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
5984         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
5985         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
5986         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
5987         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
5988         * manual/arith.texi (issignaling): New section.
5989         * manual/libm-err-tab.pl (@all_functions): Update comment.
5990         * math/gen-libm-test.pl (parse_args): Apply special handling for
5991         issignaling.
5992         * math/libm-test.inc (print_float, issignaling_test): New
5993         functions.
5994         (check_float_internal): Add issignaling checks.
5995         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
5996         default definition.
5997         * sysdeps/powerpc/math-tests.h: New file.
5998         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
5999         tests.
6000         * math/test-snan.c (TEST_FUNC): Likewise.
6002 2013-03-30  David S. Miller  <davem@davemloft.net>
6004         * po/de.po: Update from translation team.
6006 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6008         [BZ #10357]
6009         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6010         imaginary part less than 1.0 and real part less than 0.5
6011         specially.
6012         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6013         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6014         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6015         (cacos_test): Add more tests.
6016         (casin_test): Likewise.
6017         (casinh_test): Likewise.
6018         * sysdeps/i386/fpu/libm-test-ulps: Update.
6019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6021 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6023         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6024         ONE with its value.
6026         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6027         (__pow_mp): Replace ONE and MONE with their values.
6028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6029         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6030         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6031         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6032         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6033         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6035         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6037         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6038         (__pow_mp): Replace ZERO and MZERO with their values.
6039         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6040         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6041         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6042         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6043         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6044         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6045         (__sqr): Likewise.
6047         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6049         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6051 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6053         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6054         Declare with __attribute__ ((weak)).
6055         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6056         Call __call_tls_dtors only if it's not NULL.
6058 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6060         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6061         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6062         magic __ehdr_start linker symbol if it's defined.
6063         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6064         them up here if it was already done.
6066         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6067         (_dl_aux_init): Use const in cast when setting it.
6068         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6069         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6070         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6072         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6073         Declare them here.
6074         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6075         * csu/libc-tls.c: Nor here.
6076         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6078         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6079         (__libc_message): Never call vsyslog.
6081 2013-03-28  Alan Modra  <amodra@gmail.com>
6083         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6084         Define as empty.
6085         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6086         Likewise.
6088 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6090         [BZ #15214]
6091         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6092         underflow.
6093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6095 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6097         [BZ #15304]
6098         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6099         Don't add gid passed as argument.
6101         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6103 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6105         [BZ #15307]
6106         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6107         imaginary part between 1.0 and 1.5 and real part less than 0.5
6108         specially.
6109         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6110         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6111         * math/libm-test.inc (cacos_test): Add more tests.
6112         (casin_test): Likewise.
6113         (casinh_test): Likewise.
6114         * sysdeps/i386/fpu/libm-test-ulps: Update.
6115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6117 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6119         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6120         constants.
6121         (norm): Likewise.
6122         (denorm): Likewise.
6123         (__dbl_mp): Likewise.
6124         (add_magnitudes): Likewise.
6125         (sub_magnitudes): Likewise.
6126         (__add): Likewise.
6127         (__sub): Likewise.
6128         (__mul): Likewise.
6129         (__sqr): Likewise.
6130         (__inv): Likewise.
6131         (__dvd): Likewise.
6133         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6134         commented code.
6135         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6136         (__dubcos): Likewise.
6137         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6138         (__ieee754_acos): Likewise.
6139         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6140         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6141         (__exp1): Likewise.
6142         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6143         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6144         (log1): Likewise.
6145         (my_log2): Likewise.
6146         (checkint): Likewise.
6147         * sysdeps/ieee754/dbl-64/e_remainder.c
6148         (__ieee754_remainder): Likewise.
6149         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6150         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6151         (bsloww): Likewise.
6152         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6154         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6155         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6156         MANTISSA_STORE_T to store computations on mantissa.  Use
6157         macros for rounding and division.
6158         (denorm): Likewise.
6159         (__dbl_mp): Likewise.
6160         (add_magnitudes): Likewise.
6161         (sub_magnitudes): Likewise.
6162         (__mul): Likewise.
6163         (__sqr): Likewise.
6164         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6165         powers of two in terms of TWOPOW macro.
6166         (mp_no): Make type of mantissa as MANTISSA_T.
6167         [!RADIXI]: Define RADIXI.
6168         [!TWO52]: Define TWO52.
6169         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6171 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6173         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6174         llroundl symbol when building for PPC32.
6176 2013-03-24  Mark H Weaver  <mhw@netris.org>
6178         * manual/arith.texi (Normalization Functions): Fix prototypes for
6179         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6181 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6183         [BZ #13889]
6184         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6185         high value to check if expl overflow.
6186         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6187         to check for underflow and overflow.
6188         * math/libm-test.inc: Add exp test.
6190 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6192         [BZ #11120]
6193         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6194         with NOT_IN_libc.
6196 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6198         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6199         symbol.
6201 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6203         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6204         wrap blocks consisting of several statements.
6206         * sysdeps/generic/math-tests.h: New file.
6207         * sysdeps/i386/fpu/math-tests.h: Likewise.
6208         * math/test-snan.c: Include it.
6209         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6211 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6213         [BZ #15285]
6214         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6215         (__ieee754_j0l): Do not improve calculations using cos of twice
6216         input for inputs above LDBL_MAX / 2.0L.
6217         (__ieee754_y0l): Likewise.
6218         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6219         (__ieee754_j1l): Do not improve calculations using cos of twice
6220         input for inputs above LDBL_MAX / 2.0L.
6221         (__ieee754_y1l): Likewise.
6222         * math/libm-test.inc (j0_test): Add another test.
6223         (j1_test): Likewise.
6224         (y0_test): Likewise.
6225         (y1_test): Likewise.
6226         * sysdeps/i386/fpu/libm-test-ulps: Update.
6228 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6230         * Rules ($(objpfx)bench-%.c): Include code from a C source
6231         file.
6233 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6235         [BZ #15287]
6236         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6237         imaginary part 1.0 and real part less than 0.5 specially.
6238         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6239         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6240         * math/libm-test.inc (cacos_test): Add more tests.
6241         (casin_test): Likewise.
6242         (casinh_test): Likewise.
6243         * sysdeps/i386/fpu/libm-test-ulps: Update.
6244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6246 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6248         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6249         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6251 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6253         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6254         * config.make.in (config-cflags-sse4): Remove variable.
6255         (config-cflags-avx): Likewise.
6256         (config-cflags-sse2avx): Likewise.
6257         (config-cflags-novzeroupper): Likewise.
6258         (config-asflags-i686): Likewise.
6259         (have-mfma4): Likewise.
6260         (have-as-vis3): Likewise.
6261         (MIG): Likewise.
6262         * configure.in (MIG): Do not AC_SUBST.
6263         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6264         (libc_cv_cc_sse4): Do not AC_SUBST.
6265         (libc_cv_cc_avx): Likewise.
6266         (libc_cv_cc_sse2avx): Likewise.
6267         (libc_cv_cc_novzeroupper): Likewise.
6268         (libc_cv_cc_fma4): Likewise.
6269         (libc_cv_as_i686): Likewise.
6270         (libc_cv_sparc_as_vis3): Likewise.
6271         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6272         LIBC_CONFIG_VAR.
6273         (config-asflags-i686): Likewise.
6274         (config-cflags-avx): Likewise.
6275         (config-cflags-sse2avx): Likewise.
6276         (have-mfma4): Likewise.
6277         (config-cflags-novzeroupper): Likewise.
6278         * sysdeps/mach/configure.in (MIG): Likewise.
6279         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6280         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6281         LIBC_CONFIG_VAR.
6282         (config-cflags-avx): Likewise.
6283         (config-cflags-sse2avx): Likewise.
6284         (have-mfma4): Likewise.
6285         (config-cflags-novzeroupper): Likewise.
6286         * configure: Regenerated.
6287         * sysdeps/i386/configure: Likewise.
6288         * sysdeps/mach/configure: Likewise.
6289         * sysdeps/sparc/configure: Likewise.
6290         * sysdeps/x86_64/configure: Likewise.
6292 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6294         [BZ #14812]
6295         * locale/programs/localedef.c (options): Put N_ translation marker
6296         on argument names, not just descriptions.
6298 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6300         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6302 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6304         [BZ #14176]
6305         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6307 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6309         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6310         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6311         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6312         [!BEFORE_ABORT] (before_abort): New function.
6313         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6314         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6315         (writev_for_fatal): New function.
6316         (WRITEV_FOR_FATAL): New macro; call that.
6317         (backtrace_and_maps): New function.
6318         (BEFORE_ABORT): New macro; call that.
6319         (struct str_list): Type removed.
6320         (__libc_message, __libc_fatal): Functions removed.
6321         Include <sysdeps/posix/libc_fatal.c> instead.
6323 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6325         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6326         constants.
6327         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6328         double constants.
6330 2013-03-19  Andreas Schwab  <schwab@suse.de>
6332         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6333         * sysdeps/gnu/configure: Regenerate.
6335         * configure.in: Substitute libc_cv_rtlddir.
6336         * configure: Regenerate.
6337         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6338         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6339         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6340         * elf/Makefile (install-others, CFLAGS-interp.c)
6341         (ldso_install, common-ldd-rewrite): Likewise.
6342         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6343         $(inst_slibdir)/$(rtld-installed-name).
6344         * scripts/rellns-sh: Add -p option.
6345         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6346         for source.
6348 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6350         * manual/nptl.texi: Renamed to ...
6351         * manual/threads.texi: ... this.
6352         * manual/Makefile (chapters): Update.
6354 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6356         [BZ #14812]
6357         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6358         on argument names, not just descriptions.
6359         * malloc/memusagestat.c (options): Likewise.
6360         * nss/getent.c (options): Likewise.
6362 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6364         [BZ #14812]
6365         * iconv/iconv_prog.c (options): Put N_ translation marker
6366         on argument names, not just descriptions.
6367         * iconv/iconvconfig.c (options): Likewise.
6369 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6371         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6372         implementation which is faster on all x86_64 architectures.
6373         Tested on AMD, Intel Nehalem, SNB, IVB.
6374         * sysdeps/x86_64/strnlen.S: Likewise.
6376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6377         Remove all multiarch strlen and strnlen versions.
6378         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6379         Remove strlen and strnlen related parts.
6381         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6382         Inline strlen part.
6383         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6385         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6386         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6387         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6388         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6389         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6390         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6392 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6394         * manual/memory.texi (Malloc Tunable Parameters):
6395         Sort parameters alphabetically. Add comments for missing entries.
6397 2013-03-17  David S. Miller  <davem@davemloft.net>
6399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6401 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6403         [BZ #15283]
6404         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6405         for arguments at most half maximum finite value.
6406         * math/libm-test.inc (j0_test): Add more tests.
6407         (j1_test): Likewise.
6408         (y0_test): Likewise.
6409         (y1_test): Likewise.
6410         * sysdeps/i386/fpu/libm-test-ulps: Update.
6411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6413         [BZ #14155]
6414         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6415         1 / x and functions P and Q for arguments above 0x1p256L.
6416         (__ieee754_y0l): Likewise.
6417         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6418         (__ieee754_y1l): Likewise.
6419         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6420         (j1_test): Likewise.
6421         (y0_test): Likewise.
6422         (y1_test): Likewise.
6424 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6426         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6427         variable.
6429 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6431         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6432         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6433         zero since it's initialized to EXEC_PAGESIZE.
6435         * sysdeps/unix/sysv/linux/ldsodefs.h
6436         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6437         * sysdeps/generic/ldsodefs.h: ... here.
6439 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6441         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6443         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6444         math/test-snan.c.
6445         * math/test-snan.c: Renamed from
6446         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6447         * math/Makefile (tests): Add test-snan.
6448         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6449         test-powerpc-snan.
6451         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6452         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6453         functions.
6454         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6455         __builtin_nan family of functions.
6456         * math/libm-test.inc (initialize): Initialize qnan_value with
6457         __builtin_nan family of functions.
6458         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6459         Remove variables.
6460         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6461         Remove functions.
6462         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6463         storage class.  Initialize qNaN_var and sNaN_var with
6464         __builtin_nan and __builtin_nans families of functions,
6465         respectively.
6467         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6468         (sqrt_test): Remove duplicate test with qNaN input.
6469         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6470         (round_test, signbit_test, significand_test): Note missing +/-Inf
6471         as well as qNaN tests.
6473         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6474         qNaN_var.  Fix a few strings, too.
6475         * math/libm-test.inc (nan_value): Rename to qnan_value.
6476         * math/gen-libm-test.pl (%beautify): Adjust to that.
6477         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6478         * math/test-misc.c (main): Likewise.
6479         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6480         to __qnan_bytes, and __qnan_union, respectively.
6481         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6482         Likewise.
6483         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6484         and lqnanval, respectively.
6485         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6486         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6487         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6488         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6490         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6491         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6492         doubles.
6494         * math/test-misc.c (main): Fix copy'n'pastos.
6495         * misc/tst-efgcvt.c (special): Likewise.
6497         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6498         Remove declarations.
6500 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6502         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6503         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6504         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6505         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6507 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6509         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6510         macro to return vdso values correctly in IFUNC implementations.
6511         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6512         Optimization by using IFUNC.
6514 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6515             Richard Henderson  <rth@redhat.com>
6516             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6518         * Makefile.in (bench): New target.
6519         * NEWS: Mention the benchmark framework.
6520         * Rules (bench): Likewise.
6521         (binaries-bench): Generate binaries for functions to
6522         benchmark.
6523         * benchtests/Makefile: New makefile for benchmark tests.
6524         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6525         programs.
6526         * benchtests/exp-inputs: New input file for EXP function.
6527         * benchtests/pow-inputs: New input file for POW function.
6528         * scripts/bench.pl: New script to generate source files for
6529         benchmark programs.
6531 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6533         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6534         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6535         computations on mantissa.  Use macros for rounding and
6536         division.
6537         (denorm): Likewise.
6538         (__dbl_mp): Likewise.
6539         (add_magnitudes): Likewise.
6540         (sub_magnitudes): Likewise.
6541         (__mul): Likewise.
6542         (__sqr): Likewise.
6543         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6544         powers of two in terms of TWOPOW macro.
6545         (mp_no): Make type of mantissa as MANTISSA_T.
6546         [!RADIXI]: Define RADIXI.
6547         [!TWO52]: Define TWO52.
6548         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6550         * manual/nptl.texi (cindex): Modify threads to pthreads.
6552 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6554         * sysdeps/x86_64/preconfigure: Regenerated.
6556 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6558         [BZ #14155]
6559         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6560         0x1p28 and above.
6561         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6562         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6563         0x1p28 and above.
6564         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6565         * math/libm-test.inc (j0_test): Do not allow one spurious
6566         underflow exception.
6567         (y1_test): Likewise.
6569 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6571         * manual/Makefile (chapters): Add nptl.
6572         * manual/debug.texi (Debugging Support): Add link to Threads
6573         chapter.
6574         * manual/nptl.texi: New file.
6576         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6578 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6580         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6581         for non-NULL pointer before the memory validity test. Pointed
6582         out by Holger Brunck <holger.brunck@keymile.com>.
6584 2013-03-13  Andreas Schwab  <schwab@suse.de>
6586         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6587         instead of .os.
6589 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6591         * timezone/zic.c: Update from tzcode 2013b.
6593 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6595         * manual/install.texi (Configuring and compiling):
6596         Mention i686 and i586.
6597         * INSTALL: Regenerate.
6599 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6601         * sysdeps/init_array/elf-init.c: New file.
6602         * csu/elf-init.c
6603         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6604         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6606         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6607         __gmon_start__ as global, but as static with a .preinit_array pointer.
6608         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6609         * sysdeps/init_array/crti.S: New file, empty except for comments.
6610         * sysdeps/init_array/crtn.S: Likewise.
6612 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6614         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6615         definining bcopy.
6616         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6617         Remove Prefer_SSE_for_memop.
6618         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6619         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6620         HAS_PREFER_SSE_FOR_MEMOP.
6621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6622         memset-x86-64.
6623         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6624         Remove bzero, memset ifunc support.
6625         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6626         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6627         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6628         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6630 2013-03-11  Andreas Schwab  <schwab@suse.de>
6632         [BZ #15234]
6633         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6634         by SHLIB_COMPAT.
6635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6636         (GLIBC_2.16): Remove pthread_atfork.
6638 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6640         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6641         (ptestcases.h): Likewise.
6643 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6645         * Makeconfig ($(common-objpfx)config.status): Depend on
6646         sysdeps/*/preconfigure{,.in} too.
6648 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6650         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6651         (__free_hook): Use void * instead of __malloc_ptr_t.
6652         (__malloc_hook): Likewise.
6653         (__realloc_hook): Likewise.
6654         (__memalign_hook): Likewise.
6655         (__after_morecore_hook): Likewise.
6656         * malloc/arena.c (save_malloc_hook): Likewise.
6657         (save_free_hook): Likewise.
6658         * malloc/hooks.c (malloc_hook_ini): Likewise.
6659         (realloc_hook_ini): Likewise.
6660         (memalign_hook_ini): Likewise.
6661         * malloc/malloc.c (malloc_hook_ini): Likewise.
6662         (realloc_hook_ini): Likewise.
6663         (memalign_hook_ini): Likewise.
6664         (__free_hook): Likewise.
6665         (__malloc_hook): Likewise.
6666         (__realloc_hook): Likewise.
6667         (__memalign_hook): Likewise.
6668         (__libc_malloc): Likewise.
6669         (__libc_free): Likewise.
6670         (__libc_realloc): Likewise.
6671         (__libc_memalign): Likewise.
6672         (__libc_valloc): Likewise.
6673         (__libc_pvalloc): Likewise.
6674         (__libc_calloc): Likewise.
6675         (__posix_memalign): Likewise.
6676         * malloc/morecore.c (__sbrk): Likewise.
6677         (__default_morecore): Likewise.
6679         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6681         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6682         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6683         __malloc_ptrdiff_t.
6685         * malloc/malloc.h (__malloc_size_t): Remove macro.
6686         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6687         __malloc_size_t.
6688         (old_memalign_hook): Likewise.
6689         (old_realloc_hook): Likewise.
6690         (struct hdr): Likewise.
6691         (flood): Likewise.
6692         (mallochook): Likewise.
6693         (memalignhook): Likewise.
6694         (reallochook): Likewise.
6695         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6696         (tr_old_realloc_hook): Likewise.
6697         (tr_old_memalign_hook): Likewise.
6698         (tr_mallochook): Likewise.
6699         (tr_reallochook): Likewise.
6700         (tr_memalignhook): Likewise.
6702 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6704         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6705         default_ldbl_pack and using as default implementation.
6706         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6707         implementation.
6708         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6709         redundant definition.
6710         (ldbl_insert_mantissa): Likewise.
6711         (ldbl_canonicalize): Likewise.
6712         (ldbl_nearbyint): Likewise.
6713         (ldbl_pack): Rename to ldbl_pack_ppc.
6714         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6715         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6716         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6718 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6720         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6721         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6722         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6723         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6724         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6725         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6726         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6727         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6729 2013-03-07  Andreas Jaeger  <aj@suse.de>
6731         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6732         bits/mman-linux.h.
6734 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6736         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6737         Include mpa.h and declare __MPEXP.
6738         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6739         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6740         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6741         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6742         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6743         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6744         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6746         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6747         (__slowpow): Use long double EXPL and LOGL functions to
6748         compute POW.
6749         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6750         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6751         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6752         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6753         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6754         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6756         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6757         intermediate variable to calculate exponent.
6758         (__sqr): Likewise.
6759         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6760         Likewise.
6761         (__sqr): Likewise.
6763         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6764         [!NO__SQR]: Define __sqr.
6765         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6766         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6767         sysdeps/ieee754/dbl-64/mpa.c.
6768         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6770         [BZ #12723]
6771         * posix/Makefile (tests): Add tst-pathconf.
6772         * posix/tst-pathconf.c: New test case.
6773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6774         _PC_PIPE_BUF.
6775         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6777 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6779         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6781 2013-03-06  Andreas Jaeger  <aj@suse.de>
6783         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6784         definition via __MAP_ANONYMOUS.
6786         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6787         it's not part of Linux headers.
6789         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6790         (MAP_HUGE_MASK): Define.
6792         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6793         Define.
6794         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6795         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6796         Define.
6797         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6798         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6799         Define.
6800         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6801         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6802         Define.
6803         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6805         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6806         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6807         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6808         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6809         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6810         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6813         Handle f2fs.
6815         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6816         Handle f2fs and efivarfs.
6818         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6819         f2fs.
6821         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6822         (EFIVARFS_MAGIC): Add.
6823         (F2FS_LINK_MAX): Add.
6825 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6827         * stdio-common/vfprintf.c: Replace __builtin_expect with
6828         __glibc_unlikely.
6830 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6832         [BZ #13550]
6833         * sysdeps/generic/bp-sym.h: Remove file.
6834         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6835         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6836         <bp-sym.h> and <bp-asm.h>.
6837         (__longjmp): Don't use BP_SYM.
6838         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6839         and <bp-asm.h>.
6840         (memcpy): Don't use BP_SYM.
6841         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6842         <bp-sym.h> and <bp-asm.h>.
6843         (memcpy): Don't use BP_SYM.
6844         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6845         <bp-asm.h>.
6846         (memcpy): Don't use BP_SYM.
6847         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6848         <bp-asm.h>.
6849         (memset): Don't use BP_SYM.
6850         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6851         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6852         (__bzero): Don't use BP_SYM.
6853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6855         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
6856         <bp-sym.h> and <bp-asm.h>.
6857         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6858         pointers.
6859         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
6860         <bp-sym.h> and <bp-asm.h>.
6861         (memcpy): Don't use BP_SYM.
6862         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
6863         <bp-sym.h> and <bp-asm.h>.
6864         (memset): Don't use BP_SYM.
6865         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6866         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6867         (__bzero): Don't use BP_SYM.
6868         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6869         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6870         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
6871         <bp-sym.h> and <bp-asm.h>.
6872         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6873         pointers.
6874         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
6875         <bp-sym.h> and <bp-asm.h>.
6876         (memcpy): Don't use BP_SYM.
6877         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
6878         <bp-sym.h> and <bp-asm.h>.
6879         (memset): Don't use BP_SYM.
6880         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6881         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6882         (__bzero): Don't use BP_SYM.
6883         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
6884         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
6885         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
6886         <bp-sym.h> and <bp-asm.h>.
6887         (__memchr): Don't use BP_SYM.
6888         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
6889         <bp-sym.h> and <bp-asm.h>.
6890         (memcmp): Don't use BP_SYM.  Remove comment about bounded
6891         pointers.
6892         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
6893         <bp-sym.h> and <bp-asm.h>.
6894         (memcpy): Don't use BP_SYM.
6895         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
6896         <bp-sym.h> and <bp-asm.h>.
6897         (__mempcpy): Don't use BP_SYM.
6898         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
6899         <bp-sym.h> and <bp-asm.h>.
6900         (__memrchr): Don't use BP_SYM.
6901         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
6902         <bp-sym.h> and <bp-asm.h>.
6903         (memset): Don't use BP_SYM.
6904         (__bzero): Likewise.
6905         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
6906         <bp-sym.h> and <bp-asm.h>.
6907         (__rawmemchr): Don't use BP_SYM.
6908         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
6909         <bp-sym.h> and <bp-asm.h>.
6910         (__STRCMP): Don't use BP_SYM.
6911         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
6912         <bp-sym.h> and <bp-asm.h>.
6913         (strchr): Don't use BP_SYM.
6914         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
6915         <bp-sym.h> and <bp-asm.h>.
6916         (__strchrnul): Don't use BP_SYM.
6917         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
6918         <bp-sym.h> and <bp-asm.h>.
6919         (strlen): Don't use BP_SYM.
6920         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
6921         <bp-sym.h> and <bp-asm.h>.
6922         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6923         pointers.
6924         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
6925         <bp-sym.h> and <bp-asm.h>.
6926         (__strnlen): Don't use BP_SYM.
6927         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
6928         <bp-sym.h> and <bp-asm.h>.
6929         (__GI__setjmp): Don't use BP_SYM.
6930         (_setjmp): Likewise.
6931         (__sigsetjmp): Likewise.
6932         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
6933         (L(start_addresses)): Don't use BP_SYM.
6934         (_start): Likewise.
6935         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
6936         <bp-asm.h>.
6937         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
6938         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
6939         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6940         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6941         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
6942         <bp-asm.h>.
6943         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
6944         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
6945         about bounded pointers.
6946         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6947         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6948         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
6949         <bp-asm.h>.
6950         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6951         about bounded pointers.  Remove GKM FIXME comments.
6952         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6953         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
6954         <bp-asm.h>.
6955         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
6956         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
6957         Remove GKM FIXME comments.
6958         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6959         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
6960         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
6961         <bp-asm.h>.
6962         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
6963         about bounded pointers.  Remove GKM FIXME comment.
6964         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
6965         and <bp-asm.h>.
6966         (strncmp): Don't use BP_SYM.  Remove comment about bounded
6967         pointers.
6968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
6969         <bp-sym.h> and <bp-asm.h>.
6970         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
6971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
6972         <bp-sym.h> and <bp-asm.h>.
6973         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
6974         comment.
6976 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6978         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
6979         call free(NULL).
6981 2013-03-05  David S. Miller  <davem@davemloft.net>
6983         * po/es.po: Update from translation team.
6985 2013-03-05  Andreas Jaeger  <aj@suse.de>
6987         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
6988         <bits/mman-linux.h>.
6989         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6990         is fine.
6991         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
6992         <bits/mman-linux.h> to end of file.
6993         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6994         is fine.
6995         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
6996         <bits/mman-linux.h> to end of file.
6997         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
6998         is fine.
6999         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7000         <bits/mman-linux.h> to end of file.
7002         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7003         (MCL_CURRENT, MCL_FUTURE): Define here.
7005 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7007         [BZ #15232]
7008         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7009         attribute_hidden.
7010         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7012 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7014         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7015         fourth parameter needed for rt_sigprocmask syscall.
7016         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7017         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7018         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7019         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7020         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7021         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7023 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7025         [BZ #13550]
7026         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7027         comment about bounded pointers.
7028         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7029         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7031 2013-03-04  Andreas Jaeger  <aj@suse.de>
7033         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7034         common definitions.
7036         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7037         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7038         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7039         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7040         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7041         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7043 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7045         [BZ #15055]
7046         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7047         __ieee754_sqrl instead of __sqrl.
7049 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7051         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7052         * sysdeps/powerpc/fpu_control.h: ... here.
7053         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7054         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7055         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7056         * sysdeps/powerpc/bits/mathinline.h: ... here.
7058 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7060         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7061         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7062         to just [NEED_DL_SYSINFO_DSO].
7063         * elf/dl-support.c: Likewise.
7064         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7065         * elf/rtld.c (dl_main): Likewise.
7066         * elf/setup-vdso.h (setup_vdso): Likewise.
7067         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7068         * sysdeps/unix/sysv/linux/dl-sysdep.c
7069         (_dl_discover_osversion): Likewise.
7071 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7073         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7074         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7076 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7078         * NEWS: Mention libm performance improvements and non-x86 PI
7079         futex support.
7081         * csu/libc-start.c (__pthread_initialize_minimal): Change
7082         function arguments.
7083         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7085 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7087         [BZ #13550]
7088         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7089         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7090         <bp-sym.h> and <bp-asm.h>.
7091         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7092         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7093         and <bp-asm.h>.
7094         (memcpy): Don't use BP_SYM.
7095         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7096         <bp-asm.h>.
7097         (__mpn_add_n): Don't use BP_SYM.
7098         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7099         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7100         and <bp-asm.h>.
7101         (__mpn_addmul_1): Don't use BP_SYM.
7102         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7103         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7104         <bp-sym.h>.
7105         (_setjmp): Don't use BP_SYM.
7106         (__novmx_setjmp): Likewise.
7107         (__GI__setjmp): Likewise.
7108         (__vmx_setjmp): Likewise.
7109         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7110         <bp-sym.h>.
7111         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7112         (__bzero): Don't use BP_SYM.
7113         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7114         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7115         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7116         <bp-sym.h> and <bp-asm.h>.
7117         (memcpy): Don't use BP_SYM.
7118         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7119         <bp-sym.h> and <bp-asm.h>.
7120         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7121         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7122         <bp-sym.h> and <bp-asm.h>.
7123         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7124         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7125         <bp-asm.h>.
7126         (__mpn_lshift): Don't use BP_SYM.
7127         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7128         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7129         <bp-asm.h>.
7130         (memset): Don't use BP_SYM.
7131         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7132         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7133         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7134         <bp-asm.h>.
7135         (__mpn_mul_1): Don't use BP_SYM.
7136         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7137         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7138         <bp-sym.h> and <bp-asm.h>.
7139         (memcmp): Don't use BP_SYM.
7140         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7141         <bp-sym.h> and <bp-asm.h>.
7142         (memcpy): Don't use BP_SYM.
7143         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7144         <bp-sym.h> and <bp-asm.h>.
7145         (memset): Don't use BP_SYM.
7146         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7147         <bp-sym.h> and <bp-asm.h>.
7148         (strncmp): Don't use BP_SYM.
7149         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7150         <bp-sym.h> and <bp-asm.h>.
7151         (memcpy): Don't use BP_SYM.
7152         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7153         <bp-sym.h> and <bp-asm.h>.
7154         (memset): Don't use BP_SYM.
7155         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7156         <bp-sym.h> and <bp-asm.h>.
7157         (__memchr): Don't use BP_SYM.
7158         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7159         <bp-sym.h> and <bp-asm.h>.
7160         (memcmp): Don't use BP_SYM.
7161         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7162         <bp-sym.h> and <bp-asm.h>.
7163         (memcpy): Don't use BP_SYM.
7164         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7165         <bp-sym.h> and <bp-asm.h>.
7166         (__mempcpy): Don't use BP_SYM.
7167         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7168         <bp-sym.h> and <bp-asm.h>.
7169         (__memrchr): Don't use BP_SYM.
7170         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7171         <bp-sym.h> and <bp-asm.h>.
7172         (memset): Don't use BP_SYM.
7173         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7174         <bp-sym.h> and <bp-asm.h>.
7175         (__rawmemchr): Don't use BP_SYM.
7176         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7177         <bp-sym.h> and <bp-asm.h>.
7178         (__STRCMP): Don't use BP_SYM.
7179         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7180         <bp-sym.h> and <bp-asm.h>.
7181         (strchr): Don't use BP_SYM.
7182         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7183         <bp-sym.h> and <bp-asm.h>.
7184         (__strchrnul): Don't use BP_SYM.
7185         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7186         <bp-sym.h> and <bp-asm.h>.
7187         (strlen): Don't use BP_SYM.
7188         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7189         <bp-sym.h> and <bp-asm.h>.
7190         (strncmp): Don't use BP_SYM.
7191         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7192         <bp-sym.h> and <bp-asm.h>.
7193         (__strnlen): Don't use BP_SYM.
7194         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7195         <bp-asm.h>.
7196         (__mpn_rshift): Don't use BP_SYM.
7197         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7198         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7199         <bp-sym.h> and <bp-asm.h>.
7200         (__sigsetjmp): Don't use BP_SYM.
7201         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7202         (L(start_addresses)): Don't use BP_SYM.
7203         (_start): Likewise.
7204         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7205         <bp-asm.h>.
7206         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7207         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7208         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7209         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7210         <bp-asm.h>.
7211         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7212         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7213         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7214         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7215         <bp-asm.h>.
7216         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7217         comments.
7218         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7219         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7220         <bp-asm.h>.
7221         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7222         FIXME comments.
7223         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7224         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7225         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7226         <bp-asm.h>.
7227         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7228         comment.
7229         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7230         and <bp-asm.h>.
7231         (strncmp): Don't use BP_SYM,
7232         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7233         <bp-asm.h>.
7234         (__mpn_sub_n): Don't use BP_SYM.
7235         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7236         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7237         and <bp-asm.h>.
7238         (__mpn_submul_1): Don't use BP_SYM.
7239         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7241         <bp-sym.h> and <bp-asm.h>.
7242         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7244         <bp-sym.h> and <bp-asm.h>.
7245         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7246         comment.
7248 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7251         Use ZK to minimize writes to Z.
7252         (sub_magnitudes): Simplify code a bit.
7253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7254         Use ZK to minimize writes to Z.
7255         (sub_magnitudes): Simplify code a bit.
7257 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7259         * csu/gmon-start.c: Add special exception to license text.
7261 2013-02-27  Richard Henderson  <rth@redhat.com>
7263         * scripts/config.guess: Update from config.git.
7264         * scripts/config.sub: Likewise.
7266 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7268         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7270         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7272         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7274         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7276         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7278 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7280         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7281         [$(build-shared = yes].
7283 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7285         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7286         (__mul): Reduce iterations for calculating mantissa.
7288         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7289         MPTWO.
7290         (__mpranred): Likewise.
7292         [BZ #15160]
7293         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7294         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7296 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7298         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7299         Define __attribute__.
7301 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7303         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7304         unused.
7305         * posix/regex_internal.h (__attribute): Remove.
7306         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7307         (re_string_context_at): Likewise.
7308         (bitset_not): Use __attribute__ and mark function as possibly
7309         unused.
7310         (bitset_merge): Likewise.
7311         (bitset_mask): Likewise.
7312         (re_string_char_size_at): Likewise.
7313         (re_string_wchar_at): Likewise.
7314         (re_string_elem_size_at): Likewise.
7316 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7318         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7319         code.
7320         (cc32): Likewise.
7322         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7323         (__acr): Likewise.
7324         (__cpy): Likewise.
7325         (norm): Likewise.
7326         (denorm): Likewise.
7327         (__dbl_mp): Likewise.
7328         (add_magnitudes): Likewise.
7329         (sub_magnitudes): Likewise.
7330         (__mul): Likewise.
7331         (__inv): Likewise.
7333         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7334         style.
7336         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7337         style.
7339         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7340         code.
7342         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7343         up changes with default code.
7344         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7345         Likewise.
7347 2013-02-24  Allan McRae  <allan@archlinux.org>
7349         * manual/socket.texi (The Internet Namespace): Order menu items
7350         to match that in the file.
7352         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7353         node listing of the info page menu.
7355 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7357         [BZ #13550]
7358         * sysdeps/i386/bp-asm.h: Remove file.
7359         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7360         (PARMS): Do not use macros from bp-asm.h.
7361         (S1): Likewise.
7362         (S2): Likewise.
7363         (SIZE): Likewise.
7364         (__mpn_add_n): Do not use BP_SYM
7365         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7366         "bp-asm.h".
7367         (PARMS): Do not use macros from bp-asm.h.
7368         (S1): Likewise.
7369         (SIZE): Likewise.
7370         (__mpn_addmul_1): Do not use BP_SYM
7371         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7372         "bp-asm.h".
7373         (PARMS): Do not use macros from bp-asm.h.
7374         (SIGMSK): Likewise.
7375         (_setjmp): Likewise.  Do not use BP_SYM.
7376         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7377         "bp-asm.h".
7378         (PARMS): Do not use macros from bp-asm.h.
7379         (SIGMSK): Likewise.
7380         (setjmp): Likewise.  Do not use BP_SYM.
7381         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7382         "bp-asm.h".
7383         (PARMS): Do not use macros from bp-asm.h.
7384         (__frexp): Do not use BP_SYM.
7385         (frexp): Likewise.
7386         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7387         "bp-asm.h".
7388         (PARMS): Do not use macros from bp-asm.h.
7389         (__frexpf): Do not use BP_SYM.
7390         (frexpf): Likewise.
7391         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7392         "bp-asm.h".
7393         (PARMS): Do not use macros from bp-asm.h.
7394         (__frexpl): Do not use BP_SYM.
7395         (frexpl): Likewise.
7396         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7397         "bp-asm.h".
7398         (PARMS): Do not use macros from bp-asm.h.
7399         (__remquo): Do not use BP_SYM.
7400         (remquo): Likewise.
7401         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7402         "bp-asm.h".
7403         (PARMS): Do not use macros from bp-asm.h.
7404         (__remquof): Do not use BP_SYM.
7405         (remquof): Likewise.
7406         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7407         "bp-asm.h".
7408         (PARMS): Do not use macros from bp-asm.h.
7409         (__remquol): Do not use BP_SYM.
7410         (remquol): Likewise.
7411         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7412         "bp-asm.h".
7413         (PARMS): Do not use macros from bp-asm.h.
7414         (DEST): Likewise.
7415         (SRC): Likewise.
7416         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7417         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7418         "bp-asm.h".
7419         (PARMS): Do not use macros from bp-asm.h.
7420         (strlen): Do not use BP_SYM.
7421         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7422         "bp-asm.h".
7423         (PARMS): Do not use macros from bp-asm.h.
7424         (S1): Likewise.
7425         (S2): Likewise.
7426         (SIZE): Likewise.
7427         (__mpn_add_n): Do not use BP_SYM.
7428         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7429         "bp-asm.h".
7430         (PARMS): Do not use macros from bp-asm.h.
7431         (S1): Likewise.
7432         (SIZE): Likewise.
7433         (__mpn_addmul_1): Do not use BP_SYM.
7434         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7435         weak_alias.
7436         (bzero): Likewise.
7437         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7438         "bp-asm.h".
7439         (PARMS): Do not use macros from bp-asm.h.
7440         (S): Likewise.
7441         (SIZE): Likewise.
7442         (__mpn_lshift): Do not use BP_SYM.
7443         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7444         "bp-asm.h".
7445         (PARMS): Do not use macros from bp-asm.h.
7446         (DEST): Likewise.
7447         (SRC): Likewise.
7448         (LEN): Likewise.
7449         (memcpy): Likewise.  Do not use BP_SYM.
7450         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7451         libc_hidden_def and weak_alias.
7452         (mempcpy): Do not use BP_SYM in weak_alias.
7453         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7454         "bp-asm.h".
7455         (PARMS): Do not use macros from bp-asm.h.
7456         (DEST): Likewise.
7457         (LEN): Likewise.
7458         [!BZERO_P] (CHR): Likewise.
7459         (memset): Likewise.  Do not use BP_SYM.
7460         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7461         "bp-asm.h".
7462         (PARMS): Do not use macros from bp-asm.h.
7463         (S1): Likewise.
7464         (SIZE): Likewise.
7465         (__mpn_mul_1): Do not use BP_SYM.
7466         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7467         "bp-asm.h".
7468         (PARMS): Do not use macros from bp-asm.h.
7469         (S): Likewise.
7470         (SIZE): Likewise.
7471         (__mpn_rshift): Do not use BP_SYM.
7472         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7473         "bp-asm.h".
7474         (PARMS): Do not use macros from bp-asm.h.
7475         (STR): Likewise.
7476         (CHR): Likewise.
7477         (strchr): Likewise.  Do not use BP_SYM.
7478         (index): Do not use BP_SYM in weak_alias.
7479         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7480         "bp-asm.h".
7481         (PARMS): Do not use macros from bp-asm.h.
7482         (DEST): Likewise.
7483         (SRC): Likewise.
7484         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7485         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7486         "bp-asm.h".
7487         (PARMS): Do not use macros from bp-asm.h.
7488         (strlen): Do not use BP_SYM.
7489         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7490         "bp-asm.h".
7491         (PARMS): Do not use macros from bp-asm.h.
7492         (S1): Likewise.
7493         (S2): Likewise.
7494         (SIZE): Likewise.
7495         (__mpn_sub_n): Do not use BP_SYM.
7496         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7497         "bp-asm.h".
7498         (PARMS): Do not use macros from bp-asm.h.
7499         (S1): Likewise.
7500         (SIZE): Likewise.
7501         (__mpn_submul_1): Do not use BP_SYM.
7502         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7503         "bp-asm.h".
7504         (PARMS): Do not use macros from bp-asm.h.
7505         (S1): Likewise.
7506         (S2): Likewise.
7507         (SIZE): Likewise.
7508         (__mpn_add_n): Do not use BP_SYM.
7509         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7510         weak_alias.
7511         (bzero): Likewise.
7512         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7513         "bp-asm.h".
7514         (PARMS): Do not use macros from bp-asm.h.
7515         (BLK2): Likewise.
7516         (LEN): Likewise.
7517         (memcmp): Do not use BP_SYM.
7518         (bcmp): Do not use BP_SYM in weak_alias.
7519         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7520         "bp-asm.h".
7521         (PARMS): Do not use macros from bp-asm.h.
7522         (DEST): Likewise.
7523         (SRC): Likewise.
7524         (LEN): Likewise.
7525         (memcpy): Likewise.  Do not use BP_SYM.
7526         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7527         "bp-asm.h".
7528         (PARMS): Do not use macros from bp-asm.h.
7529         (DEST): Likewise.
7530         (SRC): Likewise.
7531         (LEN): Likewise.
7532         (memmove): Likewise.  Do not use BP_SYM.
7533         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7534         "bp-asm.h".
7535         (PARMS): Do not use macros from bp-asm.h.
7536         (DEST): Likewise.
7537         (SRC): Likewise.
7538         (LEN): Likewise.
7539         (__mempcpy): Likewise.  Do not use BP_SYM.
7540         (mempcpy): Do not use BP_SYM in weak_alias.
7541         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7542         "bp-asm.h".
7543         (PARMS): Do not use macros from bp-asm.h.
7544         (DEST): Likewise.
7545         (LEN): Likewise.
7546         [!BZERO_P] (CHR): Likewise.
7547         (memset): Likewise.  Do not use BP_SYM.
7548         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7549         "bp-asm.h".
7550         (PARMS): Do not use macros from bp-asm.h.
7551         (STR2): Likewise.
7552         (strcmp): Do not use BP_SYM.
7553         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7554         "bp-asm.h".
7555         (PARMS): Do not use macros from bp-asm.h.
7556         (STR): Likewise.
7557         (DELIM): Likewise.
7558         [USE_AS_STRTOK_R] (SAVE): Likewise.
7559         (FUNCTION): Likewise.  Do not use BP_SYM.
7560         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7561         aliases.
7562         (strtok_r): Likewise.
7563         (__GI___strtok_r): Likewise.
7564         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7565         (PARMS): Do not use macros from bp-asm.h.
7566         (S): Likewise.
7567         (SIZE): Likewise.
7568         (__mpn_lshift): Do not use BP_SYM.
7569         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7570         (PARMS): Do not use macros from bp-asm.h.
7571         (STR): Likewise.
7572         (CHR): Likewise.
7573         (__memchr): Do not use BP_SYM.
7574         (memchr): Do not use BP_SYM in weak_alias.
7575         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7576         (PARMS): Do not use macros from bp-asm.h.
7577         (BLK2): Likewise.
7578         (LEN): Likewise.
7579         (memcmp): Do not use BP_SYM.
7580         (bcmp): Do not use BP_SYM in weak_alias.
7581         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7582         (PARMS): Do not use macros from bp-asm.h.
7583         (S1): Likewise.
7584         (SIZE): Likewise.
7585         (__mpn_mul_1): Do not use BP_SYM.
7586         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7587         "bp-asm.h".
7588         (PARMS): Do not use macros from bp-asm.h.
7589         (STR): Likewise.
7590         (CHR): Likewise.
7591         (__rawmemchr): Do not use BP_SYM.
7592         (rawmemchr): Do not use BP_SYM in weak_alias.
7593         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7594         (PARMS): Do not use macros from bp-asm.h.
7595         (S): Likewise.
7596         (SIZE): Likewise.
7597         (__mpn_rshift): Do not use BP_SYM.
7598         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7599         (PARMS): Do not use macros from bp-asm.h.
7600         (SIGMSK): Likewise.
7601         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7602         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7603         (_start): Do not use BP_SYM.
7604         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7605         (PARMS): Do not use macros from bp-asm.h.
7606         (DEST): Likewise.
7607         (SRC): Likewise.
7608         (__stpcpy): Likewise.  Do not use BP_SYM.
7609         (stpcpy): Do not use BP_SYM in weak_alias.
7610         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7611         "bp-asm.h".
7612         (PARMS): Do not use macros from bp-asm.h.
7613         (DEST): Likewise.
7614         (SRC): Likewise.
7615         (LEN): Likewise.
7616         (__stpncpy): Likewise.  Do not use BP_SYM.
7617         (stpncpy): Do not use BP_SYM in weak_alias.
7618         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7619         (PARMS): Do not use macros from bp-asm.h.
7620         (STR): Likewise.
7621         (CHR): Likewise.
7622         (strchr): Likewise.  Do not use BP_SYM.
7623         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7624         "bp-asm.h".
7625         (PARMS): Do not use macros from bp-asm.h.
7626         (STR): Likewise.
7627         (CHR): Likewise.
7628         (__strchrnul): Likewise.  Do not use BP_SYM.
7629         (strchrnul): Do not use BP_SYM in weak_alias.
7630         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7631         "bp-asm.h".
7632         (PARMS): Do not use macros from bp-asm.h.
7633         (STOP): Likewise.
7634         (strcspn): Do not use BP_SYM.
7635         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7636         "bp-asm.h".
7637         (PARMS): Do not use macros from bp-asm.h.
7638         (STR): Likewise.
7639         (STOP): Likewise.
7640         (strpbrk): Likewise.  Do not use BP_SYM.
7641         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7642         "bp-asm.h".
7643         (PARMS): Do not use macros from bp-asm.h.
7644         (STR): Likewise.
7645         (CHR): Likewise.
7646         (strrchr): Likewise.  Do not use BP_SYM.
7647         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7648         (PARMS): Do not use macros from bp-asm.h.
7649         (SKIP): Likewise.
7650         (strspn): Do not use BP_SYM.
7651         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7652         (PARMS): Do not use macros from bp-asm.h.
7653         (STR): Likewise.
7654         (DELIM): Likewise.
7655         (SAVE): Likewise.
7656         (FUNCTION): Likewise.  Do not use BP_SYM.
7657         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7658         aliases.
7659         (strtok_r): Likewise.
7660         (__GI___strtok_r): Likewise.
7661         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7662         (PARMS): Do not use macros from bp-asm.h.
7663         (S1): Likewise.
7664         (S2): Likewise.
7665         (SIZE): Likewise.
7666         (__mpn_sub_n): Do not use BP_SYM.
7667         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7668         "bp-asm.h".
7669         (PARMS): Do not use macros from bp-asm.h.
7670         (S1): Likewise.
7671         (SIZE): Likewise.
7672         (__mpn_submul_1): Do not use BP_SYM.
7673         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7674         <bp-sym.h>.
7675         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7676         and <bp-asm.h>.
7677         (PARMS): Do not use macros from bp-asm.h.
7678         (FLAGS): Likewise.
7679         (PTID): Likewise.
7680         (TLS): Likewise.
7681         (CTID): Likewise.
7682         (__clone): Do not use BP_SYM.
7683         (clone): Do not use BP_SYM in weak_alias.
7684         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7685         and <bp-asm.h>.
7686         (PARMS): Do not use macros from bp-asm.h.
7687         (LEN): Likewise.
7688         (__mmap64): Do not use BP_SYM.
7689         (mmap64): Do not use BP_SYM in weak_alias.
7690         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7691         <bp-sym.h> and <bp-asm.h>.
7692         (PARMS): Do not use macros from bp-asm.h.
7693         (__posix_fadvise64_l64): Do not use BP_SYM.
7694         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7695         (PARMS): Do not use macros from bp-asm.h.
7696         (NSOPS): Likewise.
7697         (semtimedop): Do not use BP_SYM.
7698         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7699         and <bp-asm.h>.
7701 2013-02-21  Allan McRae  <allan@archlinux.org>
7703         * manual/message.texi (Charset conversion in gettext):
7704         Move @end statement to beginning of line.
7706 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7709         static.
7710         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7711         Likewise.
7713         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7714         (denorm): Likewise.
7715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7716         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7718 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7720         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7721         tail-call to the resolved function if pltexit isn't needed.
7723 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7725         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7726         or Y being zero as being unlikely.
7727         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7728         Likewise.
7730 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7732         * manual/nss.texi (System Databases and Name Service Switch):
7733         Remove frobnicate @pxref.
7735 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7737         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7738         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7740 2013-02-20  Petr Machata  <pmachata@redhat.com>
7742         * elf/elf.h (R_ARM_TARGET1): New macro.
7743         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7744         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7745         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7746         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7747         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7748         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7749         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7750         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7751         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7752         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7753         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7754         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7755         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7756         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7757         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7758         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7759         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7760         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7761         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7762         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7763         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7764         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7765         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7766         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7767         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7768         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7769         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7770         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7771         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7772         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7773         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7774         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7775         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7776         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7777         (R_ARM_THM_GOT_BREL12): Likewise.
7778         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7779         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7780         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7781         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7782         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7783         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7784         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7785         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7786         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7788 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7790         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7791         __attribute_used__ to __attribute__ ((unused)).
7793 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7795         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7796         powerpc mpa.c.
7797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7798         comment formatting.
7799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7801 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7803         [BZ #13550]
7804         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7805         Remove macro.
7806         (ENTER): Remove both macro definitions.
7807         (LEAVE): Likewise.
7808         (CHECK_BOUNDS_LOW): Likewise.
7809         (CHECK_BOUNDS_HIGH): Likewise.
7810         (CHECK_BOUNDS_BOTH): Likewise.
7811         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7812         (RETURN_BOUNDED_POINTER): Likewise.
7813         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7814         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7815         (POP_ERRNO_LOCATION_RETURN): Likewise.
7816         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7817         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7818         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7819         macros.
7820         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7821         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7822         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7823         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7824         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7825         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7826         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7827         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7828         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7829         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7830         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7831         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7832         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7833         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7834         removed macros.
7835         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7836         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7837         macros.
7838         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7839         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7840         * sysdeps/i386/i586/memset.S (memset): Likewise.
7841         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7842         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7843         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7844         macros.
7845         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7846         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7847         Change uses of L(2) to L(out).
7848         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7849         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7850         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7851         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7852         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
7853         removed macros.
7854         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7855         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
7856         macros.
7857         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7858         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
7859         (RETURN): Do not use macro LEAVE.
7860         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
7861         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
7862         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
7863         * sysdeps/i386/i686/memset.S (memset): Likewise.
7864         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
7865         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
7866         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7867         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
7868         Likewise.
7869         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7870         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
7871         L(1_2) and L(1_3) into L(1).
7872         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7873         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
7874         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7875         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
7876         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7877         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
7878         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
7879         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7880         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
7881         macros.
7882         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
7883         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7884         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
7885         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
7886         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
7887         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7888         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
7889         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
7890         * sysdeps/i386/strcspn.S (strcspn): Likewise.
7891         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
7892         * sysdeps/i386/strrchr.S (strrchr): Likewise.
7893         * sysdeps/i386/strspn.S (strspn): Likewise.
7894         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
7895         conditional code.
7896         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7897         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
7898         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
7899         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
7900         L(1_3) into L(1_1).
7901         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
7902         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7903         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
7904         macros.
7905         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7907 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
7909         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
7910         macro.
7912 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7914         * math/atest-exp.c (exp_mpn): Remove ROUND.
7915         * math/atest-exp2.c (exp_mpn): Likewise.
7916         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
7918         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
7919         * stdlib/tst-tls-atexit-lib.c: Likewise.
7920         * stdlib/tst-tls-atexit.c: Likewise.
7922 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7924         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
7925         and __attribute_alloc_size__.
7927 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7929         * include/programs/xmalloc.h: Change __attribute_alloc_size to
7930         __attribute_alloc_size__.
7931         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
7932         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
7934 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
7936         * include/programs/xmalloc.h: New file.
7937         * catgets/gencat.c: Include it.
7938         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
7939         * elf/pldd.c: Likewise.
7940         * iconv/iconv_charmap.c: Likewise.
7941         * iconv/iconvconfig.c: Likewise.
7942         * iconv/strtab.c: Likewise.
7943         * locale/programs/locale.c: Likewise.
7944         * locale/programs/localedef.h: Likewise.
7945         * locale/programs/simple-hash.c: Likewise.
7946         * nscd/nscd.h: Likewise.
7947         * nss/makedb.c: Likewise.
7948         * sysdeps/generic/ldconfig.h: Likewise.
7950 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7952         * Versions.def: Add GLIBC_2.18.
7953         * include/link.h (struct link_map): New member l_tls_dtor_count.
7954         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
7955         (__call_tls_dtors): Likewise.
7956         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
7957         __cxa_thread_atexit_impl.
7958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7959         Likewise.
7960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7961         Likewise.
7962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
7963         Likewise.
7964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
7965         Likewise.
7966         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
7968         Likewise.
7969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
7970         Likewise.
7971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
7973         Likewise.
7974         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
7975         (tests): Add test case tst-tls-atexit.
7976         (modules-names): Add shared library for tst-tls-atexit.
7977         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
7978         (GLIBC_PRIVATE): Add __call_tls_dtors.
7979         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
7980         for libstdc++.
7981         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
7982         * stdlib/tst-tls-atexit.c: New test case.
7983         * stdlib/tst-tls-atexit-lib.c: New test case.
7985         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
7987         * elf/Versions (ld): Add _dl_find_dso_for_object.
7988         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
7989         * elf/dl-open.c (_dl_find_dso_for_object): New function.
7990         (dl_open_worker): Use _dl_find_dso_for_object.
7991         * elf/dl-sym.c (do_sym): Likewise.
7992         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
7994 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7996         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
7997         Syntactic changes only.
7998         (_dl_runtime_profile): Do a tail-call to the resolved function.
8000 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8002         [BZ #13550]
8003         * sysdeps/x86_64/bp-asm.h: Remove file.
8004         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8005         <bp-sym.h> and <bp-asm.h>.
8006         (__clone): Do not use BP_SYM.
8007         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8008         <bp-sym.h> and <bp-asm.h>.
8009         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8010         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8011         "bp-asm.h".
8012         (_setjmp): Do not use BP_SYM.
8013         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8014         "bp-asm.h".
8015         (setjmp): Do not use BP_SYM.
8016         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8017         libc_hidden_def.
8018         (mempcpy): Do not use BP_SYM in weak_alias.
8019         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8020         "bp-asm.h".
8021         (strchr): Do not use BP_SYM.
8022         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8023         "bp-asm.h".
8024         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8025         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8026         (_start): Do not use BP_SYM.
8027         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8028         "bp-asm.h".
8029         (strcat): Do not use BP_SYM.
8030         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8031         "bp-asm.h".
8032         (STRCMP): Do not use BP_SYM.
8033         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8034         "bp-asm.h".
8035         (STRCPY): Do not use BP_SYM.
8036         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8037         "bp-asm.h".
8038         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8039         "bp-asm.h".
8040         (FUNCTION): Do not use BP_SYM.
8041         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8042         weak_alias.
8043         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8045 2013-02-17  Andreas Jaeger  <aj@suse.de>
8047         * time/Versions: Sort entries.
8048         * string/Versions: Likewise.
8049         * resolv/Versions: Likewise.
8050         * posix/Versions: Likewise.
8051         * iconv/Versions: Likewise.
8052         * elf/Versions: Likewise.
8053         * wcsmbs/Versions: Likewise.
8055 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8057         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8058         loop termination condition.
8060         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8061         variable to calculate EZ.
8062         (__sqr): Likewise.
8064         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8065         the lower precision input.
8067 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #13550]
8070         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8071         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8072         (run-via-rtld-prefix): Do not handle %-bp tests.
8073         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8074         (all-object-suffixes): Remove .ob.
8075         (bppfx): Remove variable.
8076         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8077         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8078         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8079         [$(build-bounded) = yes] (libtype.ob): Likewise.
8080         * Makerules (elide-routines.ob): Remove variable.
8081         (do-tests-clean): Do not handle *-bp.out.
8082         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8083         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8084         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8085         (tests): Do not include $(tests-bp.out).
8086         (xtests): Do not include $(xtests-bp.out).
8087         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8088         [$(build-bounded) = yes] ($(addprefix
8089         $(objpfx),$(binaries-bounded))): Remove rule.
8090         ($(objpfx)%-bp.out): Remove rule.
8091         * config.make.in (build-bounded): Remove variable.
8092         * crypt/Makefile [$(build-bounded) = yes]
8093         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8094         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8095         append to variable.
8096         [$(build-bounded) = yes] (install-lib): Likewise.
8097         [$(build-bounded) = yes] (generated): Likewise.
8098         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8099         Remove rule.
8100         * intl/Makefile [$(build-bounded) = yes]
8101         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8102         * math/Makefile [$(build-bounded) = yes]
8103         ($(tests:%=$(objpfx)%-bp): Likewise.
8104         * misc/Makefile [$(build-bounded) = yes]
8105         ($(objpfx)tst-tsearch-bp): Likewise.
8106         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8107         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8108         Remove dependency.
8109         * string/Makefile (o-objects.ob): Remove variable.
8110         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8111         (CFLAGS-.ob): Remove variable.
8112         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8113         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8114         both definitions of variable.
8115         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8116         (ASFLAGS-.ob): Remove variable.
8118 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8120         [BZ #13550]
8121         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8122         Remove __BOUNDED_POINTERS__ from condition.
8123         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8124         * string/bits/string2.h [!__NO_STRING_INLINES &&
8125         !__BOUNDED_POINTERS__]: Likewise.
8126         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8127         Likewise.
8128         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8129         Remove conditional code.
8130         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8131         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8132         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8133         condition.
8135         [BZ #13550]
8136         * csu/libc-start.c: Do not include <bp-sym.h>.
8137         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8138         * elf/dl-open.c: Do not include <bp-sym.h>.
8139         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8140         * math/fegetenv.c: Do not include <bp-sym.h>.
8141         (fegetenv): Do not use BP_SYM in versioned symbols.
8142         * nptl/sysdeps/pthread/bits/libc-lockP.h
8143         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8144         <bp-sym.h>.
8145         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8146         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8147         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8148         (__pthread_mutex_destroy): Likewise.
8149         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8150         (__pthread_mutex_lock): Likewise.
8151         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8152         (__pthread_mutex_trylock): Likewise.
8153         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8154         (__pthread_mutex_unlock): Likewise.
8155         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8156         (__pthread_mutexattr_init): Likewise.
8157         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8158         (__pthread_mutexattr_destroy): Likewise.
8159         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8160         (__pthread_mutexattr_settype): Likewise.
8161         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8162         (__pthread_rwlock_init): Likewise.
8163         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8164         (__pthread_rwlock_destroy): Likewise.
8165         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8166         (__pthread_rwlock_rdlock): Likewise.
8167         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8168         (__pthread_rwlock_tryrdlock): Likewise.
8169         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8170         (__pthread_rwlock_wrlock): Likewise.
8171         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8172         (__pthread_rwlock_trywrlock): Likewise.
8173         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8174         (__pthread_rwlock_unlock): Likewise.
8175         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8176         (__pthread_key_create): Likewise.
8177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8178         (__pthread_setspecific): Likewise.
8179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8180         (__pthread_getspecific): Likewise.
8181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8182         Likewise.
8183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8184         (_pthread_cleanup_push_defer): Likewise.
8185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8186         (_pthread_cleanup_pop_restore): Likewise.
8187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8188         (pthread_setcancelstate): Likewise.
8189         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8190         <bp-sym.h>.
8191         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8192         (memchr): Do not use BP_SYM in weak_alias.
8193         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8194         (fegetenv): Do not use BP_SYM in versioned symbols.
8195         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8196         (fesetenv): Do not use BP_SYM in versioned symbols.
8197         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8198         (feupdateenv): Do not use BP_SYM in versioned symbols.
8199         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8200         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8201         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8202         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8203         (open64): Do not use BP_SYM in weak_alias.
8204         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8205         (fegetenv): Do not use BP_SYM in versioned symbols.
8206         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8207         (fesetenv): Do not use BP_SYM in versioned symbols.
8208         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8209         (feupdateenv): Do not use BP_SYM in versioned symbols.
8210         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8211         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8212         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8213         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8214         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8215         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8216         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8217         <bp-sym.h>.
8218         (__libc_start_main): Do not use BP_SYM.
8220 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8223         redundant return line.
8224         (norm): Likewise.
8225         (denorm): Likewise.
8226         (dbl_mp): Likewise.
8227         (sub_magnitudes): Likewise.
8228         (__add): Likewise.
8229         (__sub): Likewise.
8230         (__mul): Likewise.
8231         (__inv): Likewise.
8232         (__dvd): Likewise.
8233         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8234         (norm): Likewise.
8235         (denorm): Likewise.
8236         (dbl_mp): Likewise.
8237         (sub_magnitudes): Likewise.
8238         (__add): Likewise.
8239         (__sub): Likewise.
8240         (__mul): Likewise.
8241         (__inv): Likewise.
8242         (__dvd): Likewise.
8244         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8245         instead of __mul.
8246         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8247         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8248         (cc32): Likewise.
8250         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8251         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8253         of __mul for squares.
8254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8255         function
8256         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8257         Likewise.
8258         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8259         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8261 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8263         [BZ #13550]
8264         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8265         code.
8266         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8267         prototype or function definition.  Rename ubp_* variables and
8268         parameters.  Remove argv definitions conditional on
8269         [__BOUNDED_POINTERS__].
8270         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8271         * elf/dl-runtime.c (_dl_fixup): Likewise.
8272         * include/set-hooks.h (RUN_HOOK): Likewise.
8273         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8274         definition.
8275         * string/strcpy.c (strcpy): Do not use __unbounded.
8276         * sysdeps/generic/frame.h (struct layout): Likewise.
8277         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8278         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8279         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8280         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8281         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8282         (__backtrace): Likewise.
8283         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8284         use __ptrvalue.
8285         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8286         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8287         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8288         Likewise.
8289         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8290         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8291         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8292         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8293         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8294         Do not use __unbounded.
8295         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8296         Rename __unboundedrlimits parameter to rlimits in prototype.
8297         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8298         Do not use __unbounded.
8299         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8300         not use __ptrvalue.
8301         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8302         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8303         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8304         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8305         __ptrvalue or __unbounded.
8306         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8307         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8308         use __unbounded.
8309         (__new_msgctl): Do not use __ptrvalue.
8310         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8311         __unbounded.
8312         (__libc_msgrcv): Do not use __ptrvalue.
8313         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8314         startup_info): Do not use __unbounded.
8315         (__libc_start_main): Likewise.  Rename ubp_* variables and
8316         parameters.  Remove argv definitions conditional on
8317         [__BOUNDED_POINTERS__].
8318         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8319         __ptrvalue.
8320         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8321         use __unbounded.
8322         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8323         or __ptrvalue.
8324         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8325         use __unbounded.
8326         (__new_shmctl): Do not use __ptrvalue.
8327         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8328         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8329         Likewise.
8330         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8331         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8332         (__libc_sigaction): Likewise.
8333         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8334         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8335         Likewise.
8336         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8338 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8340         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8342         * string/mempcpy.c: Implement by calling memcpy.
8344 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8348         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8349         evaluation.
8351         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8352         values in the mantissa.
8354         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8355         minimize writes to Z.
8356         (sub_magnitudes): Simplify code a bit.
8358 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8360         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8361         from the message.  The linker prefixes all warnings with that already.
8363 2013-02-12  Andreas Schwab  <schwab@suse.de>
8365         [BZ #15078]
8366         * posix/regexec.c (extend_buffers): Add parameter min_len.
8367         (check_matching): Pass minimum needed length.
8368         (clean_state_log_if_needed): Likewise.
8369         (get_subexp): Likewise.
8370         * posix/Makefile (tests): Add bug-regex34.
8371         (bug-regex34-ENV): Define.
8372         * posix/bug-regex34.c: New file.
8374         [BZ #11561]
8375         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8376         elements compare against the byte sequence of it, not its name.
8377         * posix/Makefile (tests): Add bug-regex35.
8378         (bug-regex35-ENV): Define.
8379         * posix/bug-regex35.c: New file.
8381 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8383         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8384         comment.
8385         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8386         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8387         (CHECK_EOL): Add undef.
8389 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8391         * bits/stdlib-bsearch.h: New file.
8392         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8393         * stdlib/stdlib.h: Likewise.
8395 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8397         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8398         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8399         declaration.
8400         * manual/search.texi (Array Search Function): Add missing const in
8401         lfind prototype.
8402         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8403         declaration to use rlim_t.
8404         (Basic Scheduling Functions): Remove erroneous const from
8405         sched_getparam prototype.  Remove erroneous * from
8406         sched_get_priority_max and sched_get_priority_min prototypes.
8407         (Resource Usage): Fix summary @comment on vtimes to refer to
8408         sys/vtimes.h rather than vtimes.h.
8409         Add missing *s in vtimes prototype.
8410         (Limits on Resources): Fix ulimit prototype to return long int.
8411         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8412         prototypes to use long int rather than double.
8413         (BSD Random): Fix initstate and setstate to use char *, not void *.
8414         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8415         prototype to make second argument 'struct aiocb64 *const[]'.
8416         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8417         (Status of AIO Operations): Remove erroneous const in aio_return and
8418         aio_return64 prototypes.
8419         (Synchronizing I/O): Fix sync prototype to return void.
8420         * manual/startup.texi (Suboptions): Remove an erroneous const in
8421         getsubopt prototype.
8422         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8423         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8424         use size_t rather than int.
8425         (Scanning All Users): Likewise for getpwent_r.
8426         (Setting Groups): Add missing const to setgroups prototype.
8427         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8428         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8429         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8430         'const void *' rather than 'const char *'.
8431         (Host Address Functions): Likewise for inet_ntop.
8432         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8433         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8434         ssize_t for return value.
8435         (Sending Data): Likewise for send, sendto, sendmsg.
8436         (Socket Option Functions): Add a missing const in setsockopt prototype.
8437         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8438         use wchar_t for the argument.
8439         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8440         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8441         take no arguments.
8442         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8443         double/float/long double for second argument.
8444         Fix return types of significand, significandf, significandl.
8445         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8446         argument in fchmod prototype.
8447         (File Owner): Use uid_t and gid_t in fchown prototype.
8448         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8449         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8450         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8451         use 'const struct dirent **' as argument types to CMP function pointer
8452         argument.
8453         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8454         (File Times): Fix summary magic @comment for struct utimbuf and utime
8455         to refer to utime.h, not time.h.
8456         * manual/string.texi (Argz Functions): Add missing const in
8457         argz_extract and argz_next prototypes.
8458         (Finding Tokens in a String): Likewise for basename.
8459         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8460         (Copying and Concatenation): Fix typo in wmemmove prototype.
8461         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8462         (Signal Stack): Remove erroneous const in sigstack prototype.
8463         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8464         prototype.
8465         (Simple Calendar Time): Likewise for stime.
8466         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8467         prototype.
8468         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8469         say sys/sysctl.h instead.
8470         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8471         and vsyslog prototypes.
8473 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8475         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8476         Remove.
8478 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8480         * misc/sys/mman.h: Fix typo in mremap comment.
8482 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8484         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8485         the '\0' terminator.
8487 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8489         [BZ #13550]
8490         * debug/segfault.c: Don't include <bp-checks.h>.
8491         * sysdeps/generic/bp-checks.h: Remove file.
8492         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8493         (__GETDENTS): Don't use CHECK_N.
8494         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8495         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8496         (__getgroups): Don't use CHECK_N.
8497         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8498         (setgroups): Don't use CHECK_N.
8499         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8500         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8501         (__libc_msgrcv): Don't use CHECK_N.
8502         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8503         (__libc_msgsnd): Don't use CHECK_N.
8504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8505         <bp-checks.h>.
8506         (__libc_pread): Don't use CHECK_N.
8507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8508         include <bp-checks.h>.
8509         (__libc_pread64): Don't use CHECK_N.
8510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8511         include <bp-checks.h>.
8512         (__libc_pwrite): Don't use CHECK_N.
8513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8514         include <bp-checks.h>.
8515         (__libc_pwrite64): Don't use CHECK_N.
8516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8517         <bp-checks.h>.
8518         (__libc_pread): Don't use CHECK_N.
8519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8520         include <bp-checks.h>.
8521         (__libc_pread64): Don't use CHECK_N.
8522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8523         include <bp-checks.h>.
8524         (__libc_pwrite): Don't use CHECK_N.
8525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8526         include <bp-checks.h>.
8527         (__libc_pwrite64): Don't use CHECK_N.
8528         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8529         (do_pread): Don't use CHECK_N.
8530         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8531         (do_pread64): Don't use CHECK_N.
8532         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8533         (do_pwrite): Don't use CHECK_N.
8534         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8535         (do_pwrite64): Don't use CHECK_N.
8536         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8537         (__libc_readv): Don't use CHECK_N.
8538         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8539         (semop): Don't use CHECK_N.
8540         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8541         <bp-checks.h>.
8542         (semtimedop): Don't use CHECK_N.
8543         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8544         (__libc_pread): Don't use CHECK_N.
8545         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8546         <bp-checks.h>.
8547         (__libc_pread64): Don't use CHECK_N.
8548         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8549         <bp-checks.h>.
8550         (__libc_pwrite): Don't use CHECK_N.
8551         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8552         <bp-checks.h>.
8553         (__libc_pwrite64): Don't use CHECK_N.
8554         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8555         <bp-checks.h>.
8556         (__libc_msgrcv): Don't use CHECK_N.
8557         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8558         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8559         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8560         (__libc_writev): Don't use CHECK_N.
8562 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8564         * string/strcpy.c: Removed unused variable.
8566         * Makeconfig (+sysdep-includes): Define with := rather than =.
8567         Use an existing include/ subdir of each sysdeps dir before it.
8569 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8571         * nscd/connection.c (register_traced_file): Comment function.
8572         [HAVE_INOTIFY] (union __inev): Define.
8573         [HAVE_INOTIFY] (inotify_check_files): New function.
8574         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8575         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8576         clear_db_cache.
8577         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8579 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8581         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8582         loaded if not already and that a failure is permanent.
8584 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8586         [BZ #15006]
8587         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8588         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8590 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8592         [BZ #13550]
8593         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8594         (CHECK_1_NULL_OK): Likewise.
8595         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8596         (__fxstat): Do not use CHECK_1.
8597         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8598         <bp-checks.h>.
8599         (___fxstat64): Do not use CHECK_1.
8600         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8601         <bp-checks.h>.
8602         (__fxstatat): Do not use CHECK_1.
8603         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8604         <bp-checks.h>.
8605         (__fxstatat64): Do not use CHECK_1.
8606         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8607         <bp-checks.h>.
8608         (__fxstat): Do not use CHECK_1.
8609         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8610         <bp-checks.h>.
8611         (__fxstatat): Do not use CHECK_1.
8612         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8613         <bp-checks.h>.
8614         (__getresgid): Do not use CHECK_1.
8615         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8616         <bp-checks.h>.
8617         (__getresuid): Do not use CHECK_1.
8618         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8619         <bp-checks.h>.
8620         (__lxstat): Do not use CHECK_1.
8621         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8622         <bp-checks.h>.
8623         (__old_msgctl): Do not use CHECK_1.
8624         (__new_msgctl): Likewise.
8625         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8626         <bp-checks.h>.
8627         (__new_setrlimit): Do not use CHECK_1.
8628         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8629         <bp-checks.h>.
8630         (__old_shmctl): Do not use CHECK_1.
8631         (__new_shmctl): Likewise.
8632         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8633         <bp-checks.h>.
8634         (__xstat): Do not use CHECK_1.
8635         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8636         (__lxstat): Do not use CHECK_1.
8637         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8638         <bp-checks.h>.
8639         (___lxstat64): Do not use CHECK_1.
8640         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8641         (__old_msgctl): Do not use CHECK_1.
8642         (__new_msgctl): Likewise.
8643         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8644         <bp-checks.h>.
8645         (__gettimeofday): Do not use CHECK_1.
8646         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8647         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8648         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8649         <bp-checks.h>.
8650         (__gettimeofday): Do not use CHECK_1.
8651         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8652         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8653         (__new_shmctl): Do not use CHECK_1.
8654         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8655         <bp-checks.h>.
8656         (do_sigtimedwait): Do not use CHECK_1.
8657         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8658         <bp-checks.h>.
8659         (do_sigwaitinfo): Do not use CHECK_1.
8660         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8661         <bp-checks.h>.
8662         (msgctl): Do not use CHECK_1.
8663         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8664         <bp-checks.h>.
8665         (shmctl): Do not use CHECK_1.
8666         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8667         (ustat): Do not use CHECK_1.
8668         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8669         <bp-checks.h>.
8670         (__fxstat): Do not use CHECK_1.
8671         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8672         <bp-checks.h>.
8673         (__fxstatat): Do not use CHECK_1.
8674         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8675         <bp-checks.h>.
8676         (__lxstat): Do not use CHECK_1.
8677         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8678         <bp-checks.h>.
8679         (__xstat): Do not use CHECK_1.
8680         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8681         (__xstat): Do not use CHECK_1.
8682         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8683         (___xstat64): Do not use CHECK_1.
8685         [BZ #13550]
8686         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8687         definitions.
8688         (CHECK_BOUNDS_HIGH): Likewise.
8689         * string/strcpy.c: Do not include <bp-checks.h>.
8690         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8692 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8694         * nscd/nscd-client.h (__nscd_drop_map_ref):
8695         Add __attribute__ ((unused)).
8696         * nis/nss-nisplus.h (niserr2nss): Likewise.
8698         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8699         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8701         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8702         Remove inline keyword.
8703         * include/rounding-mode.h (round_away): Likewise.
8704         * libio/wfileops.c (adjust_wide_data): Likewise.
8705         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8706         (__m128i_strloadu_tolower): Likewise.
8707         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8708         (__m128i_strloadu_tolower): Likewise.
8709         * time/mktime.c (ydhms_diff): Likewise.
8710         * locale/elem-hash.h (elem_hash): Likewise.
8711         * locale/setlocale.c (setdata): Likewise.
8712         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8713         (re_string_wchar_at): Likewise.
8714         (bitset_not, bitset_merge, bitset_mask): Likewise.
8715         [!(__GNUC__ > 3)] (inline): Remove macro.
8716         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8717         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8718         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8719         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8720         * string/memcmp.c (memcmp_bytes): Likewise.
8721         * locale/programs/locarchive.c (compute_hashval): Likewise.
8722         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8723         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8724         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8725         * nss/getent.c (print_rpc, print_protocols): Likewise.
8726         (print_passwd, print_group, print_aliases): Likewise.
8727         * nis/nss-nisplus.h (niserr2nss): Likewise.
8728         * nscd/connections.c (restart_p): Likewise.
8729         Change return type to bool.
8731 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8733         * Makeconfig (all-Depend-files): Add existing
8734         $(sorted-subdirs:=/Depend) files.
8735         (all-subdirs): Remove nss.
8736         * sysdeps/unix/inet/Subdirs: Add it here instead.
8737         * hesiod/Depend: New file.
8739         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8740         instead of calling alloca.
8742         * io/lseek.c (__lseek): Rename to __libc_lseek.
8743         Define __lseek as an alias.
8745         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8747 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8749         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8750         else clause and remove check for non-standard endianness.
8752 2013-02-04  David S. Miller  <davem@davemloft.net>
8754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8756 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8758         [BZ #13550]
8759         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8760         (__ubp_memchr): Remove prototype.
8761         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8762         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8763         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8764         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8765         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8766         Remove alias.
8767         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8768         (__ubp_memchr): Likewise.
8769         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8770         (__ubp_memchr): Likewise.
8771         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8772         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8773         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8774         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8775         CHECK_STRING.
8776         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8777         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8778         (__getcwd): Do not use CHECK_STRING.
8779         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8780         <bp-checks.h>.
8781         (__real_chown): Do not use CHECK_STRING.
8782         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8783         <bp-checks.h>.
8784         (fchownat): Do not use CHECK_STRING.
8785         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8786         CHECK_STRING.
8787         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8788         <bp-checks.h>.
8789         (__lchown): Do not use CHECK_STRING.
8790         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8791         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8792         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8793         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8795         include <bp-checks.h>.
8796         (truncate64): Do not use CHECK_STRING.
8797         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8798         <bp-checks.h>.
8799         (__real_chown): Do not use CHECK_STRING.
8800         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8801         <bp-checks.h>.
8802         (__lchown): Do not use CHECK_STRING.
8803         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8804         <bp-checks.h>.
8805         (__chown): Do not use CHECK_STRING.
8806         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8807         <bp-checks.h>.
8808         (truncate64): Do not use CHECK_STRING.
8809         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8810         Likewise.
8811         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8812         (__xmknod): Do not use CHECK_STRING.
8813         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8814         <bp-checks.h>.
8815         (__xmknodat): Do not use CHECK_STRING.
8816         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8817         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8819 2013-02-04  Andreas Schwab  <schwab@suse.de>
8821         [BZ #14142]
8822         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8823         * include/netdb.h: Likewise for h_errno.
8824         * elf/tst-stackguard1.c: Include <tls.h>.
8826 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8828         * elf/link.h (struct link_map): Extend the l_addr comment.
8829         * include/link.h (struct link_map): Likewise.
8831 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8833         [BZ #13550]
8834         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8835         (BOUNDED_1): Remove macro.
8836         * debug/backtrace.c: Don't include <bp-checks.h>.
8837         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8838         (__backtrace): Likewise.
8839         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8840         <bp-checks.h>.
8841         (__backtrace): Don't use BOUNDED_1.
8842         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8843         <bp-checks.h>.
8844         (__backtrace): Don't use BOUNDED_1.
8845         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8846         (__backtrace): Don't use BOUNDED_1.
8847         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8848         (shmat): Don't use BOUNDED_N.
8850 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8852         [BZ #13550]
8853         * sysdeps/generic/bp-start.h: Remove file.
8854         * csu/libc-start.c: Don't include <bp-start.h>.
8855         (LIBC_START_MAIN): Set up __environ directly instead of using
8856         INIT_ARGV_and_ENVIRON.
8857         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
8858         <bp-start.h>.
8860         [BZ #13550]
8861         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
8862         definitions.
8863         (CHECK_FCNTL): Likewise.
8864         (CHECK_N_PAGES): Likewise.
8866         [BZ #13550]
8867         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
8868         definitions.
8869         (CHECK_SIGSET_NULL_OK): Likewise.
8870         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
8871         <bp-checks.h>.
8872         (sigpending): Don't use CHECK_SIGSET.
8873         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
8874         <bp-checks.h>.
8875         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8876         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
8877         <bp-checks.h>.
8878         (do_sigsuspend): Don't use CHECK_SIGSET.
8879         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
8880         use CHECK_SIGSET.
8881         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
8882         (do_sigwait): Don't use CHECK_SIGSET.
8883         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
8884         use CHECK_SIGSET.
8885         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
8886         include <bp-checks.h>.
8887         (sigpending): Don't use CHECK_SIGSET.
8888         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
8889         include <bp-checks.h>.
8890         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8891         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
8892         <bp-checks.h>.
8893         (sigpending): Don't use CHECK_SIGSET.
8894         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
8895         <bp-checks.h>.
8896         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
8898         [BZ #13550]
8899         * sysdeps/generic/bp-semctl.h: Remove file.
8900         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
8901         <bp-checks.h> and <bp-semctl.h>.
8902         (__old_semctl): Don't use CHECK_SEMCTL.
8903         (__new_semctl): Likewise.
8904         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
8905         and <bp-semctl.h>.
8906         (__old_semctl): Don't use CHECK_SEMCTL.
8907         (__new_semctl): Likewise.
8908         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
8909         <bp-checks.h> and <bp-semctl.h>.
8910         (__old_semctl): Don't use CHECK_SEMCTL.
8911         (__new_semctl): Likewise.
8912         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
8913         <bp-checks.h> and <bp-semctl.h>.
8914         (semctl): Don't use CHECK_SEMCTL.
8916         [BZ #13550]
8917         * Makerules (elide-bp-thunks): Remove variable.
8918         (elide-routines.oS): Don't use $(elide-bp-thunks).
8919         (elide-routines.os): Likewise.
8920         (elide-routines.o): Likewise.
8921         (elide-routines.op): Likewise.
8922         (elide-routines.og): Likewise.
8923         (objects): Don't use $(bp-thunks).
8924         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
8925         include.
8926         (common-generated): Do not add s-proto-bp.d.
8927         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
8928         (int): Likewise.
8929         (typ): Likewise.
8930         Do not generate makefile rules for bounded-pointer thunks.
8931         * sysdeps/generic/bp-thunks.h: Remove file.
8932         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
8933         * sysdeps/unix/s-proto-bp.S: Likewise.
8935         [BZ #15062]
8936         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
8937         parts of result separately when argument is not close to line from
8938         -i to i and one part of argument is small.
8939         * math/k_casinhf.c (__kernel_casinhf): Likewise.
8940         * math/k_casinhl.c (__kernel_casinhl): Likewise.
8941         * math/libm-test.inc (cacos_test): Add more tests.
8942         (casin_test): Likewise.
8943         (casinh_test): Likewise.
8944         * sysdeps/i386/fpu/libm-test-ulps: Update.
8945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8947 2013-01-31  David S. Miller  <davem@davemloft.net>
8949         * po/de.po: Update from translation team.
8951 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
8953         * time/tzfile.c: Include stdint.h for SIZE_MAX.
8955 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
8957         * configure.in (_AC_PROG_CC_C89): New definition.
8958         * configure: Regenerate.
8960         * configure.in (AC_PROG_CPP): New definition.
8961         * configure: Regenerate.
8963 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
8965         * debug/tst-backtrace.h: New file.
8966         * debug/tst-backtrace2.c: Include tst-backtrace.h.
8967         (ret): Remove variable.
8968         (x): Likewise.
8969         (FAIL): Remove macro.
8970         (NO_INLINE): Likewise.
8971         (fn1): Use match function instead of strstr.
8972         * debug/tst-backtrace3.c: Include tst-backtrace.h.
8973         (ret): Remove variable.
8974         (x): Likewise.
8975         (FAIL): Remove macro.
8976         (NO_INLINE): Likewise.
8977         (fn): Use match function instead of strstr.
8978         * debug/tst-backtrace4.c: Include tst-backtrace.h.
8979         (ret): Remove variable.
8980         (x): Likewise.
8981         (FAIL): Remove macro.
8982         (NO_INLINE): Likewise.
8983         (handle_signal): Use match function instead of strstr.
8984         * debug/tst-backtrace5.c: Include tst-backtrace.h.
8985         (ret): Remove variable.
8986         (x): Likewise.
8987         (FAIL): Remove macro.
8988         (NO_INLINE): Likewise.
8989         (handle_signal): Use match function instead of strstr.
8991 2013-01-23  Roland McGrath  <roland@hack.frob.com>
8993         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
8995 2013-01-23  David S. Miller  <davem@davemloft.net>
8997         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
8998         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
8999         argument of CAS if possible.
9000         * sysdeps/sparc/sparc64/bits/atomic.h
9001         (__arch_compare_and_exchange_val_32_acq): Likewise.
9002         (__arch_compare_and_exchange_val_64_acq): Likewise.
9004 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9006         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9007         * sysdeps/posix/ulimit.c: ... this.
9008         Include <limits.h>.
9009         * sysdeps/unix/bsd/ulimit.c: Remove file.
9011 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9013         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9014         (LDFLAGS-tst-array5): Likewise.
9016 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9018         [BZ #15036]
9019         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9020         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9021         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9022         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9024 2013-01-21  David S. Miller  <davem@davemloft.net>
9026         * sysdeps/sparc/backtrace.c: New file.
9027         * sysdeps/sparc/sparc32/backtrace.h: New file.
9028         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9029         * sysdeps/sparc/sparc64/backtrace.h: New file.
9030         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9031         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9032         -funwind-tables.
9034 2013-01-21  Andreas Schwab  <schwab@suse.de>
9036         [BZ #15020]
9037         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9038         closed its stdout.
9040 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9043         "mpa2.h".
9044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9046 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9047             Mark Mitchell  <mark@codesourcery.com>
9048             Tom de Vries  <tom@codesourcery.com>
9049             Paul Pluzhnikov  <ppluzhnikov@google.com>
9051         * debug/tst-backtrace2.c: New file.
9052         * debug/tst-backtrace3.c: Likewise.
9053         * debug/tst-backtrace4.c: Likewise.
9054         * debug/tst-backtrace5.c: Likewise.
9055         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9056         (CFLAGS-tst-backtrace3.c): Likewise.
9057         (CFLAGS-tst-backtrace4.c): Likewise.
9058         (CFLAGS-tst-backtrace5.c): Likewise.
9059         (LDFLAGS-tst-backtrace2): Likewise.
9060         (LDFLAGS-tst-backtrace3): Likewise.
9061         (LDFLAGS-tst-backtrace4): Likewise.
9062         (LDFLAGS-tst-backtrace5): Likewise.
9063         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9064         tst-backtrace4 and tst-backtrace5.
9066 2013-01-18  Anton Blanchard  <anton@samba.org>
9067             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9069         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9070         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9071         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9072         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9074         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9075         "+r" and remove output regs list as redundant.  Add explicit inline
9076         asm to specify register of return val to work around compiler codegen
9077         bug.  Remove (int) cast on return value.  Add return type parameter to
9078         use in macro so that this macro does not truncate return value for
9079         64-bit values.
9080         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9081         pass to INTERNAL_VSYSCALL_NCS.
9082         (INLINE_VSYSCALL): Add 'long int' as return type to
9083         INTERNAL_VSYSCALL_NCS macro invocation.
9084         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9085         INTERNAL_VSYSCALL_NCS macro invocation.
9086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9088 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9090         [BZ #14496]
9091         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9092         Fix application of SIMD FP exception mask.
9094         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9095         mp_no from a power of two.
9096         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9097         __mpexp_twomm1.  Use __pow_mp.
9099         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9100         multiplication.
9102 2013-01-17  David S. Miller  <davem@davemloft.net>
9104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9106 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9108         [BZ #15023]
9109         * include/complex.h: Condition contents on [!_COMPLEX_H].
9110         (__kernel_casinhf): New prototype.
9111         (__kernel_casinh): Likewise.
9112         (__kernel_casinhl): Likewise.
9113         * math/Makefile (libm_calls): Add k_casinh.
9114         * math/k_casinh.c: New file.
9115         * math/k_casinhf.c: Likewise.
9116         * math/k_casinhl.c: Likewise.
9117         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9118         finite nonzero arguments.
9119         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9120         finite nonzero arguments.
9121         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9122         finite nonzero arguments.
9123         * math/s_casinh.c: Do not include <float.h>.
9124         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9125         * math/s_casinhf.c: Do not include <float.h>.
9126         (__casinhf): Move code for finite nonzero arguments to
9127         k_casinhf.c.
9128         * math/s_casinhl.c: Do not include <float.h>.
9129         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9130         redefine.
9131         (__casinhl): Move code for finite nonzero arguments to
9132         k_casinhl.c.
9133         * math/libm-test.inc (cacos_test): Add more tests.
9134         * sysdeps/i386/fpu/libm-test-ulps: Update.
9135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9137 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9139         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9140         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9141         [!HAVE_MREMAP]: Remove [defined linux] case.
9142         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9144 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9146         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9148 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9150         * elf/elf.h (R_386_SIZE32): New relocation.
9151         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9152         R_386_SIZE32.
9153         (elf_machine_rela): Likewise.
9154         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9155         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9157 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9159         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9160         (FP_FAST_FMA): Do not define.
9161         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9162         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9163         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9164         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9165         !_SOFT_FLOAT]: Likewise.
9166         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9167         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9168         value.
9169         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9170         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9171         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9172         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9173         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9174         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9175         file.
9177 2013-01-16  Andreas Schwab  <schwab@suse.de>
9179         [BZ #14327]
9180         * include/stdlib.h (__mktemp): Add declaration.
9181         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9182         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9184 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9186         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9187         definitions.
9188         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9189         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9190         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9191         definitions here.
9192         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9193         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9194         definitions.
9195         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9196         and ONE.
9197         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9198         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9199         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9200         definitions.
9201         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9202         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9203         definitions.
9204         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9206         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9208 2013-01-15  David S. Miller  <davem@davemloft.net>
9210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9211         trunc{,f} to libm-sysdep_routes.
9212         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9214         file.
9215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9217         file.
9218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9219         file.
9220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9221         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9222         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9223         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9224         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9225         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9226         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9227         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9230         nearbyint{,f} to libm-sysdep_routes.
9231         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9233         New file.
9234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9235         file.
9236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9237         New file.
9238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9239         file.
9240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9242         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9243         file.
9244         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9245         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9246         file.
9247         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9248         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9249         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9251         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9252         libc_feholdexcept and libc_fesetenv.
9254 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9256         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9258 2013-01-14  David S. Miller  <davem@davemloft.net>
9260         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9261         (SPARC_ASM_VIS2_IFUNC): Likewise.
9262         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9264         use of 'siam' instruction.
9265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9266         Likewise.
9267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9268         Likewise.
9269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9270         Likewise.
9271         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9273         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9274         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9276         file.
9277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9278         file.
9279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9280         file.
9281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9282         file.
9283         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9284         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9285         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9286         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9288         new VIS2 routines.
9289         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9292         Likewise.
9293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9295         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9296         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9298         routines to libm-sysdep_routines.
9299         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9302         fdim/fdimf to libm-sysdep_routines.
9303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9304         file.
9305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9307         file.
9308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9311         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9312         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9313         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9314         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9316 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9319         to optimize copies.
9321         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9322         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9325         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9326         local variable MPTWO.
9327         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9328         Likewise.
9330 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9332         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9333         GLOB_NOESCAPE.
9335 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9337         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9339 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9341         * manual/pattern.texi (glob_t): Document gl_flags.
9342         (glob64_t): Likewise.
9344 2013-01-11  David S. Miller  <davem@davemloft.net>
9346         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9347         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9348         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9349         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9350         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9351         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9352         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9353         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9354         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9355         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9356         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9357         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9358         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9360         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9361         sparc V9 rather than using V8 code.
9362         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9363         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9365         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9366         Move to...
9367         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9368         Here.
9370 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9372         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9373         not in the main loop.
9374         * configure: Regenerated.
9376 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9378         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9379         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9380         to just #else.
9381         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9382         [!__GLIBC_HAVE_LONG_LONG] case.
9383         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9384         condition to just #else.
9385         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9386         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9387         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9388         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9389         unconditional.
9390         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9391         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9392         #elif condition to just #else.
9393         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9394         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9395         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9396         #elif condition to just #else.
9398 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9400         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9401         (EF_MIPS_ARCH_64): Fix value.
9402         (EF_MIPS_ARCH_32R2): New.
9403         (EF_MIPS_ARCH_64R2): New.
9405 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9407         * Makeconfig (+link-pie-before-libc): New.
9408         (+link-pie-after-libc): Likewise.
9409         (+link-pie-tests): Likewise.
9410         (+link-pie): Rewritten.
9411         (link-before-libc): Remove $(config-LDFLAGS).
9412         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9413         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9414         (config-LDFLAGS): Renamed to ...
9415         (rtld-LDFLAGS): This.
9416         (rtld-tests-LDFLAGS): New macro.
9417         (link-libc-rpath-link): Likewise.
9418         (link-libc-tests-rpath-link): Likewise.
9419         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9420         (link-libc): Prepand $(link-libc-rpath-link).
9421         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9422         (test-program-prefix): New macro.
9423         (test-via-rtld-prefix): Likewise.
9424         (test-program-cmd): Likewise.
9425         (host-test-program-cmd): Likewise.
9426         * Makefile ($(common-objpfx)testrun.sh): Replace
9427         $(run-program-prefix) with $(test-program-prefix).
9428         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9429         $(rtld-LDFLAGS).
9430         ($(common-objpfx)shlib.lds): Likewise.
9431         (build-module-helper): Likewise.
9432         ($(common-objpfx)format.lds): Likewise.
9433         * Rules (binaries-pie-tests): New.
9434         (binaries-pie-notests): Likewise.
9435         (binaries-pie): Rewritten.
9436         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9437         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9438         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9439         (make-test-out): Replace $(host-built-program-cmd) with
9440         $(host-test-program-cmd).
9441         * config.make.in (build-hardcoded-path-in-tests): New variable.
9442         * configure.in (--enable-hardcoded-path-in-tests): New configure
9443         option.
9444         (hardcoded_path_in_tests): New AC_SUBST.
9445         * configure: Regenerated.
9446         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9447         $(built-program-cmd) with $(test-program-cmd).
9448         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9449         (test_program_cmd): This.
9450         * elf/Makefile ($(objpfx)order.out): Run test with
9451         $(test-program-prefix).
9452         ($(objpfx)order2.out): Likewise.
9453         ($(objpfx)tst-initorder.out): Likewise.
9454         ($(objpfx)tst-initorder2.out): Likewise.
9455         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9456         $(test-program-cmd).
9457         ($(objpfx)tst-array1-static.out): Likewise.
9458         ($(objpfx)tst-array2.out): Likewise.
9459         ($(objpfx)tst-array3.out): Likewise.
9460         ($(objpfx)tst-array4.out): Likewise.
9461         ($(objpfx)tst-array5.out): Likewise.
9462         ($(objpfx)tst-array5-static.out): Likewise.
9463         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9464         $(test-program-cmd).
9465         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9466         $(run-program-prefix) with $(test-program-prefix).
9467         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9468         (test_program_prefix): This.
9469         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9470         $(run-program-prefix) with $(test-program-prefix).
9471         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9472         (test_program_prefix): This.
9473         * iconvdata/tst-tables.sh: Likewise.
9474         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9475         $(run-program-prefix) with $(test-program-prefix).
9476         ($(objpfx)tst-translit.out): Likewise.
9477         ($(objpfx)tst-gettext2.out): Likewise.
9478         ($(objpfx)tst-gettext4.out): Likewise.
9479         ($(objpfx)tst-gettext6.out): Likewise.
9480         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9481         (test_program_prefix): This.
9482         * intl/tst-gettext2.sh: Likewise.
9483         * intl/tst-gettext4.sh  Likewise.
9484         * intl/tst-gettext6.sh: Likewise.
9485         * intl/tst-translit.sh: Likewise.
9486         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9487         with $(test-program-cmd).
9488         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9489         $(run-program-prefix) with $(test-program-prefix).
9490         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9491         (test_program_prefix): This.
9492         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9493         $(run-program-prefix) with $(test-program-prefix).
9494         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9495         (test_program_prefix): This.
9496         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9497         * posix/Makefile ($(objpfx)globtest.out): Replace
9498         $(run-via-rtld-prefix) and $(test-wrapper) with
9499         $(test-program-prefix) and $(test-via-rtld-prefix).
9500         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9501         $(test-program-prefix).
9502         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9503         $(host-test-program-cmd).
9504         (tst-spawn-ARGS): Likewise.
9505         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9506         $(test-program-prefix).
9507         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9508         (test_via_rtld_prefix): This.
9509         (test_wrapper): Renamed to ...
9510         (test_program_prefix): This.
9511         (run_program_prefix): Replaced by test_program_prefix.
9512         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9513         (test_program_prefix): This.
9514         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9515         with $(host-test-program-cmd).
9516         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9517         $(run-program-prefix) with $(test-program-prefix).
9518         ($(objpfx)tst-printf.out): Likewise.
9519         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9520         $(test-program-cmd).
9521         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9522         (test_program_prefix): This.
9523         * stdio-common/tst-unbputc.sh: Likewise.
9524         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9525         $(run-program-prefix) with $(test-program-prefix).
9526         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9527         (test_program_prefix): This.
9528         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9529         $(built-program-cmd) with $(test-program-cmd).
9531 2013-01-11  Andreas Jaeger  <aj@suse.de>
9533         [BZ #15003]
9534         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9535         value. Sync with Linux 3.7.
9537 2013-01-10  David S. Miller  <davem@davemloft.net>
9539         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9540         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9541         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9543 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9545         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9546         never set.
9547         * configure: Regenerated.
9549 2013-01-10  David S. Miller  <davem@davemloft.net>
9551         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9552         sparc V9 rather than using V8 code.
9553         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9554         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9556 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9558         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9559         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9560         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9561         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9562         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9563         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9564         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9565         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9566         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9567         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9568         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9569         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9570         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9571         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9572         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9573         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9574         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9575         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9576         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9577         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9578         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9579         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9580         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9581         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9582         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9583         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9584         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9586 2013-01-10  David S. Miller  <davem@davemloft.net>
9588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9590 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9592         * posix/Makefile (tests-static): New variable.
9593         (tests): Add $(tests-static).
9594         (tst-exec-static-ARGS): New variable.
9595         (tst-spawn-static-ARGS): Likewise.
9596         * posix/tst-exec-static.c: New file.
9597         * posix/tst-spawn-static.c: Likewise.
9598         * posix/tst-exec.c: Support run directly.
9599         * posix/tst-spawn.c: Likewise.
9601 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9603         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9604         long.
9605         * math/bits/mathcalls.h (llrint): Likewise.
9606         (llround): Likewise.
9607         * stdlib/stdlib.h (struct drand48_data): Likewise.
9608         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9609         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9610         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9611         Likewise.
9612         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9613         Likewise.
9614         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9615         (elf_greg_t): Likewise.
9616         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9617         (__jmp_buf): Likewise.
9618         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9619         definitions.
9620         (llrint): Likewise, for all definitions.
9621         (llrintl): Likewise.
9623         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9624         Remove [__GNUC__] condition.
9625         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9626         condition to just [__USE_ISOC99].
9627         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9629 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9631         [BZ #14200]
9632         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9633         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9634         defined.
9635         (_POSIX_V6_ILP32_OFF32): Likewise.
9636         (_XBS5_ILP32_OFF32): Likewise.
9637         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9638         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9640 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9642         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9644         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9645         doubles __mpexp_twomm1.  Adjust usage.
9646         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9647         Remove.
9649 2013-01-10  Andreas Schwab  <schwab@suse.de>
9651         [BZ #14964]
9652         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9653         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9655 2013-01-09  David S. Miller  <davem@davemloft.net>
9657         [BZ #15003]
9658         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9659         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9660         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9661         TCP_FASTOPEN): Define.
9662         (tcp_repair_opt): New structure.
9663         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9664         enum values.
9665         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9666         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9667         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9668         (tcp_cookie_transactions): New structure.
9670 2013-01-09  Anton Blanchard  <anton@samba.org>
9672         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9673         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9674         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9675         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9677 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9679         * include/features.h (__USE_ANSI): Remove.
9681 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9683         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9685         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9687 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9689         * sysdeps/s390/fpu/libm-test-ulps: Update.
9691         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9693         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9694         (__acr): Likewise.
9695         (__cpy): Likewise.
9696         (norm): Likewise.
9697         (denorm): Likewise.
9698         (__mp_dbl): Likewise.
9699         (__dbl_mp): Likewise.
9700         (add_magnitudes): Likewise.
9701         (sub_magnitudes): Likewise.
9702         (__add): Likewise.
9703         (__sub): Likewise.
9704         (__mul): Likewise.
9705         (__inv): Likewise.
9706         (__dvd): Likewise.
9707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9708         (__acr): Likewise.
9709         (__cpy): Likewise.
9710         (norm): Likewise.
9711         (denorm): Likewise.
9712         (__mp_dbl): Likewise.
9713         (__dbl_mp): Likewise.
9714         (add_magnitudes): Likewise.
9715         (sub_magnitudes): Likewise.
9716         (__add): Likewise.
9717         (__sub): Likewise.
9718         (__mul): Likewise.
9719         (__inv): Likewise.
9720         (__dvd): Likewise.
9721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9722         (__acr): Likewise.
9723         (__cpy): Likewise.
9724         (norm): Likewise.
9725         (denorm): Likewise.
9726         (__mp_dbl): Likewise.
9727         (__dbl_mp): Likewise.
9728         (add_magnitudes): Likewise.
9729         (sub_magnitudes): Likewise.
9730         (__add): Likewise.
9731         (__sub): Likewise.
9732         (__mul): Likewise.
9733         (__inv): Likewise.
9734         (__dvd): Likewise.
9736 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9738         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9739         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9740         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9741         2 && __USE_EXTERN_INLINES]: Likewise.
9743 2013-01-08  Andreas Jaeger  <aj@suse.de>
9745         [BZ# 14985]
9746         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9747         Remove.
9748         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9749         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9751 2013-01-07  Anton Blanchard  <anton@samba.org>
9753         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9754         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9755         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9756         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9757         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9758         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9759         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9760         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9761         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9762         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9763         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9764         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9765         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9766         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9767         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9768         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9769         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9770         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9771         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9772         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9773         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9774         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9775         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9776         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9777         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9778         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9779         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9780         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9781         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9782         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9783         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9785         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9786         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9787         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9788         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9789         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9791         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9792         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9793         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9794         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9795         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9797 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9799         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9800         (__MALLOC_PMT): Likewise.
9801         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9802         [__GNUC__], only on [_LIBC].
9803         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9804         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9805         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9806         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9807         forward declaration.
9808         (realloc_hook_ini): Likewise.
9809         (memalign_hook_ini): Likewise.
9810         (__libc_memalign): Do not use __MALLOC_PMT in variable
9811         declaration.
9812         (__libc_valloc): Likewise.
9813         (__libc_pvalloc): Likewise.
9814         (__libc_calloc): Likewise.
9815         (__posix_memalign): Likewise.
9817         [BZ #14996]
9818         * math/s_casinh.c: Include <float.h>.
9819         (__casinh): Do not do computation with squaring and square root
9820         for large arguments.
9821         * math/s_casinhf.c: Include <float.h>.
9822         (__casinhf): Do not do computation with squaring and square root
9823         for large arguments.
9824         * math/s_casinhl.c: Include <float.h>.
9825         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9826         (__casinhl): Do not do computation with squaring and square root
9827         for large arguments.
9828         * math/libm-test.inc (casin_test): Add more tests.
9829         (casinh_test): Likewise.
9830         * sysdeps/i386/fpu/libm-test-ulps: Update.
9831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9833 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9835         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9836         (__x86_64_raw_data_cache_size): Likewise.
9837         (__x86_64_data_cache_size_half): Likewise.
9838         (__x86_64_raw_data_cache_size_half): Likewise.
9839         (__x86_64_shared_cache_size): Likewise.
9840         (__x86_64_raw_shared_cache_size): Likewise.
9841         (__x86_64_shared_cache_size_half): Likewise.
9842         (__x86_64_raw_shared_cache_size_half): Likewise.
9843         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9844         to ...
9845         (__x86_data_cache_size): This.
9846         (__x86_64_raw_data_cache_size): Renamed to ...
9847         (__x86_raw_data_cache_size): This.
9848         (__x86_64_data_cache_size_half): Renamed to ...
9849         (__x86_data_cache_size_half): This.
9850         (__x86_64_raw_data_cache_size_half): Renamed to ...
9851         (__x86_raw_data_cache_size_half): This.
9852         (__x86_64_shared_cache_size): Renamed to ...
9853         (__x86_shared_cache_size): This.
9854         (__x86_64_raw_shared_cache_size): Renamed to ...
9855         (__x86_raw_shared_cache_size): This.
9856         (__x86_64_shared_cache_size_half): Renamed to ...
9857         (__x86_shared_cache_size_half): This.
9858         (__x86_64_raw_shared_cache_size_half): Renamed to ...
9859         (__x86_raw_shared_cache_size_half): This.
9860         * sysdeps/x86_64/memcpy.S: Updated.
9861         * sysdeps/x86_64/memset.S: Likewise.
9862         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9863         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9864         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9866 2013-01-04  David S. Miller  <davem@davemloft.net>
9868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9870 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
9872         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
9873         1 to avoid redefinition warning.
9874         (__USE_GNU): Don't define.
9875         (init_signaling_nan): Protoize.
9877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9879 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9881         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
9882         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
9883         (__cpymn): Likewise.
9884         (norm): Remove commented code.
9885         (denorm): Likewise.
9886         (__mp_dbl): Likewise.
9887         (__inv): Likewise.
9888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
9889         (__cpymn): Likewise.
9890         (norm): Remove commented code.
9891         (denorm): Likewise.
9892         (__mp_dbl): Likewise.
9893         (__inv): Likewise.
9895         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
9896         mp_no value for 1.0 and 2.0.
9897         (norm): Use RADIXI instead of radixi.d.
9898         (denorm): Likewise.
9899         (__mul): Use 0.0 instead of zero.d.
9900         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
9901         mp_no value for 1.0 and 2.0.
9902         (norm): Use RADIXI instead of radixi.d.
9903         (denorm): Likewise.
9904         (__mul): Use 0.0 instead of zero.d.
9906 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
9908         [BZ #14994]
9909         * math/s_casinh.c (__casinh): Reduce finite argument to first
9910         quadrant then set signs of results at the end.
9911         * math/s_casinhf.c (__casinhf): Likewise.
9912         * math/s_casinhl.c (__casinhl): Likewise.
9913         * math/libm-test.inc (casin_test): Add more tests.
9914         (casinh_test): Likewise.
9915         * sysdeps/i386/fpu/libm-test-ulps: Update.
9916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9918 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9920         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
9922         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
9924         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
9925         declarations.
9926         (denorm): Likewise.
9927         (__mp_dbl): Likewise.
9928         (__inv): Likewise.
9930         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
9931         and adjust the header comment.
9933         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
9934         variable name from declaration.
9936 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
9938         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9939         Initialize COMMON_CPUID_INDEX_7 element.
9940         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
9941         (CPUID_RTM): Likewise.
9942         (HAS_RTM): Likewise.
9943         (COMMON_CPUID_INDEX_7): New enum.
9945 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
9947         [BZ #14981]
9948         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
9949         size is zero, record memory as freed.
9951 2013-01-03  Andreas Jaeger  <aj@suse.de>
9953         * po/ia.po: Add new Interlingua translation.
9955 2012-01-03  Allan McRae  <allan@archlinux.org>
9957         * locale/programs/localedef.c: Fix description of '--posix' flag.
9959 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
9961         * NEWS: Update dates in second copyright notice.
9962         * README: Update copyright dates in example.
9963         * manual/libc.texinfo: Update copyright dates.
9964         * scripts/test-installation.pl: Update copyright date in --version
9965         output.
9967         * hurd/ctty-input.c: Fix copyright notice formatting.
9968         * hurd/ctty-output.c: Likewise.
9969         * hurd/dtable.c: Likewise.
9970         * hurd/hurd-raise.c: Likewise.
9971         * hurd/hurdprio.c: Likewise.
9972         * hurd/msgportdemux.c: Likewise.
9973         * misc/sys/file.h: Likewise.
9974         * misc/sys/ioctl.h: Likewise.
9975         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9976         * sysdeps/mach/hurd/chdir.c: Likewise.
9977         * sysdeps/mach/hurd/fchdir.c: Likewise.
9978         * sysdeps/mach/hurd/rename.c: Likewise.
9979         * sysdeps/mach/hurd/rmdir.c: Likewise.
9980         * sysdeps/mach/hurd/seekdir.c: Likewise.
9981         * sysdeps/mach/hurd/setsid.c: Likewise.
9982         * sysdeps/posix/wait3.c: Likewise.
9984         * All files with FSF copyright notices: Update copyright dates
9985         using scripts/update-copyrights.
9986         * intl/plural.c: Regenerated.
9987         * locale/programs/charmap-kw.h: Likewise.
9988         * locale/programs/locfile-kw.h: Likewise.
9990 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9992         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
9993         four values.
9995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
9996         calculation loop and add branch prediction.
9998         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
9999         check access beyond bounds of m1np.
10001         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10002         MPTWO.
10003         (__inv): Remove local variable MPTWO to use the global
10004         constant.
10005         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10006         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10007         variable MPTWO.
10008         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10009         MP3HALFS static const.
10011 2013-01-01  David S. Miller  <davem@davemloft.net>
10013         * po/ca.po: Update from translation team.
10015 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10017         * scripts/update-copyrights: New file.
10018         * Makeconfig: Reformat copyright notice.
10019         * ctype/ctype.h: Likewise.
10020         * debug/swprintf_chk.c: Likewise.
10021         * elf/dl-cache.c: Likewise.
10022         * elf/dl-debug.c: Likewise.
10023         * elf/dl-object.c: Likewise.
10024         * grp/initgroups.c: Likewise.
10025         * hurd/Makefile: Likewise.
10026         * hurd/hurd/signal.h: Likewise.
10027         * hurd/hurdfault.c: Likewise.
10028         * hurd/hurdioctl.c: Likewise.
10029         * hurd/hurdlookup.c: Likewise.
10030         * hurd/intr-msg.c: Likewise.
10031         * iconv/gconv_open.c: Likewise.
10032         * libio/swprintf.c: Likewise.
10033         * locale/lc-ctype.c: Likewise.
10034         * locale/nl_langinfo.c: Likewise.
10035         * mach/Machrules: Likewise.
10036         * mach/Makefile: Likewise.
10037         * malloc/obstack.h: Likewise.
10038         * manual/Makefile: Likewise.
10039         * manual/tsort.awk: Likewise.
10040         * misc/bits/stab.def: Likewise.
10041         * nis/nis_print_group_entry.c: Likewise.
10042         * nis/nis_table.c: Likewise.
10043         * nis/nss_compat/compat-pwd.c: Likewise.
10044         * nis/nss_compat/compat-spwd.c: Likewise.
10045         * po/Makefile: Likewise.
10046         * posix/fnmatch.c: Likewise.
10047         * posix/regex.h: Likewise.
10048         * resolv/Makefile: Likewise.
10049         * resolv/nss_dns/dns-network.c: Likewise.
10050         * resolv/res_hconf.c: Likewise.
10051         * scripts/gen-sorted.awk: Likewise.
10052         * soft-fp/soft-fp.h: Likewise.
10053         * stdio-common/printf.h: Likewise.
10054         * stdlib/monetary.h: Likewise.
10055         * stdlib/random.c: Likewise.
10056         * stdlib/random_r.c: Likewise.
10057         * sysdeps/generic/Makefile: Likewise.
10058         * sysdeps/gnu/Makefile: Likewise.
10059         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10061         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10063         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10064         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10065         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10066         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10067         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10068         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10069         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10070         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10071         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10072         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10073         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10074         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10075         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10077         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10079         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10080         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10081         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10082         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10083         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10085         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10086         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10087         * sysdeps/mach/hurd/errnos.awk: Likewise.
10088         * sysdeps/mach/hurd/fork.c: Likewise.
10089         * sysdeps/mach/hurd/getcwd.c: Likewise.
10090         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10091         * sysdeps/mach/hurd/mmap.c: Likewise.
10092         * sysdeps/mach/hurd/utimes.c: Likewise.
10093         * sysdeps/mach/hurd/xmknod.c: Likewise.
10094         * sysdeps/posix/profil.c: Likewise.
10095         * sysdeps/posix/readdir_r.c: Likewise.
10096         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10097         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10098         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10099         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10100         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10101         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10102         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10103         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10104         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10105         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10106         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10107         * sysdeps/pthread/lio_listio.c: Likewise.
10108         * sysdeps/sparc/dl-procinfo.h: Likewise.
10109         * sysdeps/unix/i386/sysdep.S: Likewise.
10110         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10111         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10112         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10113         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10115         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10116         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10117         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10118         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10119         * sysdeps/wordsize-32/divdi3.c: Likewise.
10120         * time/sys/time.h: Likewise.
10121         * wcsmbs/Makefile: Likewise.
10123 2013-01-01  David S. Miller  <davem@davemloft.net>
10125         * po/fr.po: Update from translation team.
10127         * catgets/gencat.c: Update copyright year.
10128         * csu/version.c: Likewise.
10129         * debug/catchsegv.sh: Likewise.
10130         * debug/pcprofiledump.c: Likewise.
10131         * debug/xtrace.sh: Likewise.
10132         * elf/ldconfig.c: Likewise.
10133         * elf/ldd.bash.in: Likewise.
10134         * elf/pldd.c: Likewise.
10135         * elf/sotruss.ksh: Likewise.
10136         * elf/sprof.c: Likewise.
10137         * iconv/iconv_prog.c: Likewise.
10138         * iconv/iconvconfig.c: Likewise.
10139         * locale/programs/locale.c: Likewise.
10140         * locale/programs/localedef.c: Likewise.
10141         * login/programs/pt_chown.c: Likewise.
10142         * malloc/memusage.sh: Likewise.
10143         * malloc/memusagestat.c: Likewise.
10144         * malloc/mtrace.pl: Likewise.
10145         * nscd/nscd.c: Likewise.
10146         * nss/getent.c: Likewise.
10147         * nss/makedb.c: Likewise.
10148         * posix/getconf.c: Likewise.
10150 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10152         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10153         numbers.
10155 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10157         * math/bits/mathcalls.h (modf): Use __nonnull.
10159 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10161         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10162         (split): Use macro CN instead of the bare value.
10163         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10164         could be used.
10165         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10166         instead of the bare value.
10167         (power1): Likewise.
10169 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10171         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10172         __ATAN_TWOM.
10173         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10175         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10176         their values.
10177         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10178         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10179         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10180         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10182 2012-12-28  Andreas Jaeger  <aj@suse.de>
10184         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10185         values are from Linux 3.7.
10187         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10188         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10190 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10192         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10193         TRUE case.
10195         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10196         (norm): Likewise.
10197         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10198         variables with preprocessor constants.
10199         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10200         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10201         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10203 2012-12-27  Bruno Haible  <bruno@clisp.org>
10205         [BZ #14317]
10206         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10207         only if needed.
10209 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10211         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10212         and use variable directly.
10213         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10215         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10216         MPONE.
10217         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10218         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10219         variable MPONE.
10220         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10221         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10222         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10223         include directive.  Remove local variable MPONE.
10224         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10225         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10226         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10228 2012-12-25  David S. Miller  <davem@davemloft.net>
10230         * version.h (RELEASE): Set to "development".
10231         (VERSION): Set to "2.17.90".
10232         * NEWS: Add 2.18 section.
10234 2012-12-21  David S. Miller  <davem@davemloft.net>
10236         * po/hr.po: Update from translation team.
10238 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10240         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10242 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10244         * NEWS:  Mention new memcpy for MIPS.
10246 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10248         * manual/contrib.texi (Contributors): Spelling correction.
10250 2012-12-15  David S. Miller  <davem@davemloft.net>
10252         * po/ru.po: Update from translation team.
10254 2012-12-13  David S. Miller  <davem@davemloft.net>
10256         * NEWS: Mention IFUNC testsuite enhancements.
10258         * po/pl.po: Update from translation team.
10259         * po/bg.po: Likewise.
10261         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10262         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10264 2012-12-11  David S. Miller  <davem@davemloft.net>
10266         * po/sv.po: Update from translation team.
10268         * po/vi.po: Update from translation team.
10270         * po/cs.po: Update from translation team.
10272         * po/de.po: Update from translation team.
10273         * po/eo.po: Likewise.
10274         * po/nl.po: Likewise.
10276 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10278         [BZ #14246]
10279         * manual/argp.texi (Argp Helper Functions): Move node to follow
10280         Argp Parsing State.
10282         [BZ #14872]
10283         * manual/conf.texi (Limits on File System Capacity): Mention if
10284         terminating null is included in the max size.
10286 2012-12-10  Andreas Jaeger  <aj@suse.de>
10288         * po/cs.po: Update from translation team.
10290 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10293         void pointer and cast to uintptr_t.
10294         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10295         path.
10296         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10297         * sysdeps/s390/s390-64/memset.S: Likewise.
10299 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10301         [BZ #14833]
10302         * menual/message.texi (Message Translation): Fix typos.
10303         (Helper programs for gettext): Likewise.
10305 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10307         [BZ #14898]
10308         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10309         Change to -1.
10311 2012-12-07  David S. Miller  <davem@davemloft.net>
10313         * po/libc.pot: Update.
10315 2012-12-07  Richard Henderson  <rth@redhat.com>
10317         [BZ #10114]
10318         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10319         normal/normal case to before the switch.
10320         (_FP_DIV): Likewise.
10322 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10323             Mike Frysinger  <vapier@gentoo.org>
10325         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10326         check for __NR_fadvise64_64.
10328 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10330         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10331         0, not just to plain "0" as a statement.
10332         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10333         with cw.
10335 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10337         * NEWS: Use sourceware.org in Bugzilla URL.
10339 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10342         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10344         * stdio-common/tst-put-error.c (do_test): Add newline to the
10345         padded test to ensure flush.
10347 2012-12-05  Jeff Law  <law@redhat.com>
10349         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10351 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10353         * README: Don't refer to ports add-on as distributed separately.
10354         Mention AArch64 in list of systems supported in the ports add-on.
10356         * LICENSES: Add more non-FSF copyright and license notices.
10358         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10359         ((unused)).
10361         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10363         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10364         10000 as width of padded output.
10366 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10368         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10370         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10371         variable LX with __attribute__ ((unused)).
10372         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10373         Likewise.
10374         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10375         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10376         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10377         with __attribute__ ((unused)).
10379 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10381         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10383 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10385         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10386         (CFLAGS-nldbl-acos.c): New variable.
10387         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10388         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10389         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10390         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10391         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10392         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10393         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10394         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10395         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10396         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10397         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10398         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10399         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10400         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10401         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10402         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10403         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10404         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10405         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10406         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10407         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10408         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10409         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10410         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10411         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10412         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10413         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10414         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10415         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10416         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10417         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10418         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10419         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10420         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10421         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10422         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10423         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10424         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10425         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10426         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10427         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10428         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10429         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10430         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10431         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10432         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10433         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10434         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10435         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10436         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10437         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10438         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10439         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10440         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10441         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10442         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10443         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10444         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10445         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10446         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10447         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10448         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10449         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10450         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10451         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10452         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10453         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10454         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10455         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10456         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10457         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10458         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10459         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10460         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10461         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10462         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10463         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10464         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10465         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10466         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10467         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10468         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10469         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10470         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10471         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10472         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10473         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10474         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10475         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10476         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10477         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10478         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10479         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10480         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10481         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10482         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10483         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10486         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10488         [BZ #14914]
10489         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10490         whole low double instead of just low 47 bits when splitting values
10491         into two parts.
10493 2012-12-03  Allan McRae  <allan@archlinux.org>
10495         * manual/stdio.texi (Predefined Printf Handlers): Remove
10496         @hsep and @vsep usage.
10498 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10500         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10501         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10503 2012-12-03  Jeff Law  <law@redhat.com>
10505         * time/sys/time.h (settimeofday): Do not mark TV argument
10506         as __nonnull.
10508 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10510         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10511         when currently writing and seek to current position when not.
10512         * libio/Makefile (tests): Remove bug-fclose1.
10513         * libio/bug-fclose1.c: Delete.
10515 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10517         * manual/arith.texi (feenableexcept): Fix typo.
10518         (fedisableexcept): Likewise.
10520 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10522         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10523         second, differently-typed declaration, rather than a cast.
10525 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10527         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10528         * include/rpc/svc.h: ... here.
10530 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10532         [BZ #13013]
10533         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10534         depending n and resplen2 to catch cases where answer
10535         equals answerp2.
10537 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10539         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10540         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10542 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10544         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10546 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10548         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10550 2012-11-28  Jeff Law  <law@redhat.com>
10552         [BZ #13761]
10553         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10554         dataset_temporary.  Track alloca usage into alloca_used.
10555         If dataset is large allocate and release it via malloc/free.
10557 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10559         [BZ #14197]
10560         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10562 2012-11-28  David S. Miller  <davem@davemloft.net>
10564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10566 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10568         [BZ #14803]
10569         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10570         of pi/2 rounded to nearest to 64 bits.
10571         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10572         nearest to 64 bits.
10573         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10574         bits.
10576 2012-11-28  Jeff Law <law@redhat.com>
10577             Martin Osvald <mosvald@redhat.com>
10579         [BZ #14889]
10580         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10581         * sunrpc/svc.c: Include time.h.
10582         (__svc_accept_failed): New function.
10583         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10584         any reason other than EINTR, call __svc_accept_failed.
10585         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10586         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10588 2012-11-28  Andreas Schwab  <schwab@suse.de>
10590         * scripts/abilist.awk: Also handle indirect functions in .opd
10591         section.
10593 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10595         [BZ #13881]
10596         * sysdeps/x86/fpu/powl_helper.c: New file.
10597         * sysdeps/x86/fpu/Makefile: Likewise.
10598         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10599         (p3): New object.
10600         (__ieee754_powl): Use __powl_helper for finite arguments except
10601         integer exponents below 8.
10602         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10603         (p3): New object.
10604         (__ieee754_powl): Use __powl_helper for finite arguments except
10605         integer exponents below 8.
10606         * math/libm-test.inc (pow_test): Add more tests and enable some
10607         previously disabled tests.
10608         * sysdeps/i386/fpu/libm-test-ulps: Update.
10609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10611 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10612             Carlos O'Donell  <carlos_odonell@mentor.com>
10614         * nss/makedb.c (is_prime): Assert that input is odd and greater
10615         than 4.  Note that fact in a comment too.
10616         (next_prime): Add 4 to input.
10618 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10620         [BZ #11741]
10621         * libio/Makefile (tests): Add test case tst-fwrite-error.
10622         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10623         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10624         * libio/tst-fwrite-error.c: New test case.
10626 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10628         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10629         before casting to void *.
10630         * include/libc-internal.h (__pointer_type): New macro.
10631         (__integer_if_pointer_type_sub): Likewise.
10632         (__integer_if_pointer_type): Likewise.
10633         (cast_to_integer): Likewise.
10634         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10635         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10636         before casting to atomic64_t.
10637         (atomic_exchange_acq): Likewise.
10638         (__arch_exchange_and_add_body): Likewise.
10639         (__arch_add_body): Likewise.
10640         (atomic_add_negative): Likewise.
10641         (atomic_add_zero): Likewise.
10643 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10645         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10646         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10647         (add_fdes): Likewise.
10648         (linear_search_fdes): Likewise.
10649         (binary_search_unencoded_fdes): Likewise.
10651 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10653         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10655 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10657         * configure.in: Autodetect C++ header directories.
10658         * configure: Regenerated.
10660 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10662         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10664 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10668 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10670         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10671         LDBL_MANT_DIG == 106]: Disable some tests.
10672         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10673         Likewise.
10674         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10675         Likewise.
10677         [BZ #14871]
10678         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10679         input for small inputs.  Return +/- pi/2 for large inputs.
10680         * math/libm-test.inc (atan_test): Add more tests.
10682         * sysdeps/generic/unwind-dw2-fde-glibc.c
10683         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10684         __attribute__ ((unused)).
10686         [BZ #14645]
10687         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10688         x * y if x and y are nonzero and z is zero.
10690         [BZ #14811]
10691         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10692         nonzero exponents with absolute value below 0x1p-117 to +/-
10693         0x1p-117.
10695         [BZ #14869]
10696         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10697         up arguments below 2**-450, not just those below 2**-500.
10698         * math/libm-test.inc (hypot_test): Add another test.
10700         [BZ #14868]
10701         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10702         Return a+b for ratio over 2**120, not 2**60.
10703         * math/libm-test.inc (hypot_test): Add another test.
10705         * math/libm-test.inc (clog_test): Use
10706         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10707         (clog10_test): Likewise.
10709         [BZ #6778]
10710         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10712 2012-11-22  Andreas Schwab  <schwab@suse.de>
10714         * sysdeps/i386/fpu/libm-test-ulps: Update.
10716 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10718         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10719         printf output with newline.
10721 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10723         [BZ #14865]
10724         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10725         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10726         -z nodlopen, -z initfirst and -z execstack support.
10727         * configure: Regenerated.
10729         * elf/elf.h (DF_1_NODIRECT): New macro.
10730         (DF_1_IGNMULDEF): Likewise.
10731         (DF_1_NOKSYMS): Likewise.
10732         (DF_1_NOHDR): Likewise.
10733         (DF_1_EDITED): Likewise.
10734         (DF_1_NORELOC): Likewise.
10735         (DF_1_SYMINTPOSE): Likewise.
10736         (DF_1_GLOBAUDIT): Likewise.
10737         (DF_1_SINGLETON): Likewise.
10738         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10739         DT_1_SUPPORTED_MASK bits.
10740         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10742 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10744         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10746 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10748         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10749         macro.
10751         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10752         (sendmmsg): Move declarations...
10753         * socket/sys/socket.h: ... here.
10754         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10755         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10756         include it from...
10757         * socket/recvmmsg.c: ... this new file.
10758         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10759         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10760         definition of __sendmmsg hidden.
10761         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10762         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10763         Move ENOSYS stub into and include it from...
10764         * socket/sendmmsg.c: ... this new file.
10765         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10766         (sysdep_routines): Move recvmmsg and sendmmsg...
10767         * socket/Makefile (routines): ... here.
10768         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10769         (GLIBC_PRIVATE): Add __sendmmsg.
10770         * include/sys/socket.h (__sendmmsg): Add declarations.
10771         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10772         sendmmsg.
10774 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10776         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10777         variable I1 with __attribute__ ((unused)).
10778         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10780 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10782         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10783         DUMMY variables with __attribute__ ((unused)).
10785         * bits/byteswap.h: Include <bits/types.h>.
10786         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10788 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10790         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10791         string_t.  Do not manually set errno.
10792         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10793         length with __strnlen.  Make sure to both set errno and return it on
10794         failure.
10796 2012-11-19  David S. Miller  <davem@davemloft.net>
10798         With help from Joseph Myers.
10799         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10800         very large arguments properly.
10801         * math/libm-test.inc (atan_test): New tests.
10802         (atan2_test): New tests.
10803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10804         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10806 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10808         [BZ #14856]
10809         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10810         Define to 3.
10812         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10813         [POSIX] (EADDRNOTAVAIL): Likewise.
10814         [POSIX] (EAFNOSUPPORT): Likewise.
10815         [POSIX] (EALREADY): Likewise.
10816         [POSIX] (ECONNABORTED): Likewise.
10817         [POSIX] (ECONNREFUSED): Likewise.
10818         [POSIX] (ECONNRESET): Likewise.
10819         [POSIX] (EDESTADDRREQ): Likewise.
10820         [POSIX] (EDQUOT): Likewise.
10821         [POSIX] (EHOSTUNREACH): Likewise.
10822         [POSIX] (EIDRM): Likewise.
10823         [POSIX] (EISCONN): Likewise.
10824         [POSIX] (ELOOP): Likewise.
10825         [POSIX] (EMULTIHOP): Likewise.
10826         [POSIX] (ENETDOWN): Likewise.
10827         [POSIX] (ENETUNREACH): Likewise.
10828         [POSIX] (ENOBUFS): Likewise.
10829         [POSIX] (ENODATA): Likewise.
10830         [POSIX] (ENOLINK): Likewise.
10831         [POSIX] (ENOMSG): Likewise.
10832         [POSIX] (ENOPROTOOPT): Likewise.
10833         [POSIX] (ENOSR): Likewise.
10834         [POSIX] (ENOSTR): Likewise.
10835         [POSIX] (ENOTCONN): Likewise.
10836         [POSIX] (ENOTSOCK): Likewise.
10837         [POSIX] (EOPNOTSUPP): Likewise.
10838         [POSIX] (EOVERFLOW): Likewise.
10839         [POSIX] (EPROTO): Likewise.
10840         [POSIX] (EPROTONOSUPPORT): Likewise.
10841         [POSIX] (EPROTOTYPE): Likewise.
10842         [POSIX] (ESTALE): Likewise.
10843         [POSIX] (ETIME): Likewise.
10844         [POSIX] (ETXTBSY): Likewise.
10845         [POSIX] (EWOULDBLOCK): Likewise.
10846         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10847         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10848         [POSIX] (SEEK_CUR): Likewise.
10849         [POSIX] (SEEK_END): Likewise.
10850         [POSIX || UNIX98] (mode_t): Do not require.
10851         [POSIX] (off_t): Likewise.
10852         [POSIX] (pid_t): Likewise.
10853         [POSIX] (sys/stat.h): Do not allow header.
10854         [POSIX] (unistd.h): Likewise.
10855         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
10856         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
10857         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
10858         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
10859         require.
10860         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
10861         sigevent): Specify elements.
10862         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
10863         entry.
10864         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
10865         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
10867         * conform/data/cpio.h-data [POSIX]: Disable whole file.
10868         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
10869         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
10870         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
10871         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
10872         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
10873         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
10874         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
10875         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
10876         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
10877         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
10878         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
10879         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
10880         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
10881         Likewise.
10882         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
10883         Likewise.
10884         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
10885         Likewise.
10886         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
10887         Likewise.
10888         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
10889         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
10890         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
10891         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
10892         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
10893         Specify lower bound on value.
10894         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
10895         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
10896         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
10897         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
10898         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
10899         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
10900         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
10901         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
10902         value.
10903         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
10904         as optional.
10905         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
10906         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
10907         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
10908         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
10909         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
10910         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
10911         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
10912         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
10913         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
10914         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
10915         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
10916         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
10917         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
10918         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
10919         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
10920         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
10921         entry.
10922         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
10923         optional.
10924         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
10925         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
10926         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
10927         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
10928         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
10929         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
10930         Likewise.
10931         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
10932         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
10933         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
10934         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
10935         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
10936         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
10937         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
10938         as optional.
10939         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
10940         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
10941         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
10942         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
10943         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
10944         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
10945         specify as optional.
10946         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
10947         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
10948         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
10949         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
10950         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
10951         [XPG3] (NL_LANGMAX): Likewise.
10952         [POSIX || XPG3] (NL_MSGMAX): Likewise.
10953         [POSIX || XPG3] (NL_NMAX): Likewise.
10954         [POSIX || XPG3] (NL_SETMAX): Likewise.
10955         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
10956         [XPG3] (NZERO): Likewise.
10957         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
10958         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
10959         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
10960         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
10961         (REG_ERANGE): Expect.
10962         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
10963         optional-constant.
10964         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
10965         Use (void) in prototype.
10966         [POSIX] (*_t): Allow.
10967         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
10968         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
10969         (WRDE_BADVAL): Expect.
10971         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
10972         expect.
10973         [XPG3 || XPG4] (O_RSYNC): Likewise.
10974         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
10975         Likewise.
10976         [XPG3 || XPG4] (pthread_sigmask): Likewise.
10977         [XPG3 || XPG4] (sigqueue): Likewise.
10978         [XPG3 || XPG4] (sigtimedwait): Likewise.
10979         [XPG3 || XPG4] (sigwaitinfo): Likewise.
10980         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
10981         [XPG3 || XPG4] (vsnprintf): Likewise.
10982         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
10983         Likewise.
10984         [XPG3 || XPG4] (blksize_t): Likewise.
10985         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
10986         Likewise.
10987         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
10988         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10989         [XPG3 || XPG4] (struct itimerspec): Likewise.
10990         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
10991         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
10992         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
10993         [XPG3 || XPG4] (clockid_t): Likewise.
10994         [XPG3 || XPG4] (timer_t): Likewise.
10995         [XPG3 || XPG4] (clock_getres): Likewise.
10996         [XPG3 || XPG4] (clock_gettime): Likewise.
10997         [XPG3 || XPG4] (clock_settime): Likewise.
10998         [XPG3 || XPG4] (nanosleep): Likewise.
10999         [XPG3 || XPG4] (timer_create): Likewise.
11000         [XPG3 || XPG4] (timer_delete): Likewise.
11001         [XPG3 || XPG4] (timer_gettime): Likewise.
11002         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11003         [XPG3 || XPG4] (timer_settime): Likewise.
11004         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11005         [XPG3 || XPG4] (getlogin_r): Likewise.
11006         [XPG3 || XPG4] (pread): Likewise.
11007         [XPG3 || XPG4] (pthread_atfork): Likewise.
11008         [XPG3 || XPG4] (pwrite): Likewise.
11010         [BZ #14835]
11011         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11012         <bits/siginfo.h>.
11014 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11016         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11017         finalizing MALLSTREAM.
11019         * sysdeps/mach/hurd/syncfs.c: New file.
11021 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11023         [BZ #14719]
11024         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11025         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11026         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11027         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11028         (_nss_dns_gethostbyname4_r): Likewise.
11029         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11030         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11032 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11034         [BZ #13763]
11035         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11037 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11039         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11040         * elf/cache.c (print_entry): Print ",AArch64" for
11041         FLAG_AARCH64_LIB64
11043         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11044         * elf/cache.c (print_entry): Print ",hard-float" for
11045         FLAG_ARM_LIBHF.
11047 2012-11-18  David S. Miller  <davem@davemloft.net>
11049         With help from Joseph Myers.
11050         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11051         cutoff to 2**-13.
11052         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11053         cutoff to 2**-25.
11054         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11055         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11056         small.
11057         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11058         * math/libm-test.inc (y0_test): New tests.
11059         (y1_test): New tests.
11060         * sysdeps/i386/fpu/libm-test-ulps: Update.
11061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11064 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11066         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11067         64-bit targets.
11068         * configure: Regenerated.
11070 2012-11-17  David S. Miller  <davem@davemloft.net>
11072         [BZ #14811]
11073         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11074         nonzero exponents with absolute value below 0x1p-128 to +/-
11075         0x1p-128.
11077 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11079         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11081         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11083         * posix/getconf-speclist.c: New file.
11084         * posix/posix-envs.def: Likewise.
11085         * posix/confstr.c (START_ENV_GROUP): New macro.
11086         (END_ENV_GROUP): Likewise.
11087         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11088         (KNOWN_PRESENT_ENV_STRING): Likewise.
11089         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11090         (UNKNOWN_ENVIRONMENT): Likewise.
11091         (confstr): Include posix-envs.def instead of handling
11092         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11093         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11094         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11095         (END_ENV_GROUP): Likewise.
11096         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11097         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11098         (UNKNOWN_ENVIRONMENT): Likewise.
11099         (__sysconf): Include posix-envs.def instead of handling associated
11100         cases directly here.
11101         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11102         preprocessing getconf-speclist.c rather than running getconf or
11103         generating empty file.
11105 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11107         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11109 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11111         [BZ #14672]
11112         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11114 2012-11-16  David S. Miller  <davem@davemloft.net>
11116         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11117         smaller than LDBL_EPSILON/2.0L, just return xm1.
11119 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11121         * elf/tst-array1.c (init): Set constructor priority to 1000.
11122         (fini): Set destructor priority to 1000.
11123         * elf/tst-array2dep.c: Likewise.
11125 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11127         [BZ #11741]
11128         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11129         (_IO_new_file_xsputn): Also return EOF if none of the input
11130         data was written when overflow failed.
11131         * libio/iopadn.c (_IO_padn): Likewise.
11132         * libio/iowpadn.c (_IO_wpadn): Likewise.
11133         * stdio-common/tst-put-error.c: Add copyright notice.
11134         (do_test): Add case for printing padded string.
11135         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11136         _IO_padn returned error.
11137         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11138         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11139         return EOF.
11141 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11143         * libio/libioP.h: Add comment note that the references to C++
11144         bits are now obsolete.
11146 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11148         * math/libm-test.inc (check_complex): Use asprintf.
11150 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11152         * debug/pcprofiledump.c (print_version): Update copyright year.
11153         * malloc/memusagestat.c (print_version): Likewise.
11155 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11157         [BZ #14831]
11158         * elf/Makefile (tests): Add tst-audit8.
11159         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11160         ($(objpfx)tst-audit8.out): New target.
11161         (tst-audit8-ENV): New variable.
11162         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11163         audit if l_reloc_result is NULL.
11164         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11165         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11166         * elf/tst-audit8.c: New file.
11168 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11170         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11171         * misc/Makefile (CFLAGS-select.c): Define.
11172         * posix/Makefile (CFLAGS-pause.c): Define.
11174 2012-11-13  David S. Miller  <davem@davemloft.net>
11176         * crypt/Makefile: Move test targets after toplevel Rules
11177         inclusion.  Grab any necessary sysdep routines when linking.
11178         * crypt/md5.c (md5_process_block): Remove define, we will always
11179         name it __md5_process_block.
11180         (md5_finish_ctx): Update md5_process_block call.
11181         (md5_stream): Likewise.
11182         (md5_process_bytes): Likewise.
11183         (md5_process_block): Rename to __md5_process_block and move to ...
11184         * crypt/md5-block.c: ... here.
11185         * crypt/sha256.c (sha256_process_block): Move to ...
11186         * crypt/sha256-block.c: ... here.
11187         * crypt/sha512.c (sha512_process_block): Move to ...
11188         * crypt/sha512-block.c: ... here.
11189         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11190         path.
11191         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11192         * sysdeps/sparc/sparc64/multiarch/Makefile
11193         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11194         crypt subdir.
11195         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11196         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11197         multiarch changes.
11198         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11199         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11200         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11201         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11202         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11203         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11204         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11205         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11206         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11207         file.
11208         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11209         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11210         file.
11211         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11213 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11215         * timezone/tzselect.ksh: Update from tzcode git revision
11216         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11217         * timezone/zdump.c: Likewise.
11218         * timezone/zic.c: Likewise.
11219         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11220         in TZVERSION setting, not $(PKGVERSION).
11221         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11222         REPORT_BUGS_TO settings.
11224         [BZ #14838]
11225         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11226         macro.
11228 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11230         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11231         detection to immediately after _FP_ROUND().
11232         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11233         bits are 0.
11235 2012-11-11  David S. Miller  <davem@davemloft.net>
11237         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11238         inttypes.h
11239         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11240         __close rather than their public counterparts.
11242 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11244         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11245         file.
11246         [UNIX98] (sem_timedwait): Do not expect.
11247         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11248         [XPG4 || UNIX98] (sockatmark): Do not expect.
11249         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11250         (clock_getcpuclockid): Do not expect.
11251         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11252         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11253         Do not expect.
11254         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11255         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11256         [UNIX98] (vwscanf): Likewise.
11257         [UNIX98] (vswscanf): Likewise.
11259 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11261         * timezone/version.h: Remove file.
11262         * timezone/README: Do not refer to version.h.
11263         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11264         $(objpfx)version.h.
11265         ($(objpfx)zdump.o): Likewise.
11266         ($(objpfx)version.h): New target.
11268         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11269         2012i.
11270         * timezone/README: Don't mention modification to tzselect.ksh.
11271         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11272         work on unmodified tzselect.ksh.  Substitute version numbers in
11273         tzselect.ksh.
11275         * Makefile (format-me): Remove.
11276         (INSTALL): Adjust indentation.  Use commands directly instead of
11277         using $(format-me).
11279         * aclocal.m4 (ACX_PKGVERSION): New macro.
11280         (ACX_BUGURL): Likewise.
11281         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11282         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11283         (REPORT_BUGS_TO): Likewise.
11284         * configure: Regenerated.
11285         * config.h.in (PKGVERSION): New macro.
11286         (REPORT_BUGS_TO): Likewise.
11287         * config.make.in (PKGVERSION): New variable.
11288         (PKGVERSION_TEXI): Likewise.
11289         (REPORT_BUGS_TO): Likewise.
11290         (REPORT_BUGS_TEXI): Likewise.
11291         * Makefile (format-me): Use -I$(common-objpfx)manual.
11292         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11293         ($(common-objpfx)manual/%): New target.
11294         (manual/%): Remove target.
11295         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11296         (print_version): Use PKGVERSION.
11297         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11298         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11299         and REPORT_BUGS_TO.
11300         ($(objpfx)xtrace): Likewise.
11301         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11302         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11303         (print_version): Use PKGVERSION.
11304         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11305         (do_version): Use PKGVERSION.
11306         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11307         REPORT_BUGS_TO.
11308         (common-ldd-rewrite): Likewise.
11309         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11310         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11311         (print_version): Use PKGVERSION.
11312         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11313         * elf/pldd.c (argp_program_bug_address): Remove variable.
11314         (more_help): New function.
11315         (argp): Use more_help.
11316         (print_version): Use PKGVERSION.
11317         * elf/sln.c (main): Use PKGVERSION.
11318         (usage): Use REPORT_BUGS_TO.
11319         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11320         (top level): Use PKGVERSION.
11321         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11322         (print_version): Use PKGVERSION.
11323         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11324         (print_version): Use PKGVERSION.
11325         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11326         (print_version): Use PKGVERSION.
11327         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11328         (print_version): Use PKGVERSION.
11329         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11330         (print_version): Use PKGVERSION.
11331         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11332         (print_version): Use PKGVERSION.
11333         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11334         and BUGURL.
11335         ($(objpfx)memusage): Likewise.
11336         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11337         (do_version): Use PKGVERSION.
11338         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11339         (print_version): Use PKGVERSION.
11340         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11341         ($PKGVERSION): New variable.
11342         ($REPORT_BUGS_TO): Likewise.
11343         (usage): Use $REPORT_BUGS_TO.
11344         (top level): Use $PKGVERSION.
11345         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11346         ($(objpfx)pkgvers.texi): New rule.
11347         ($(objpfx)stamp-pkgvers): Likewise.
11348         * manual/install.texi: Include pkgvers.texi.
11349         (--with-pkgversion): Document new configure option.
11350         (--with-bugurl): Likewise.
11351         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11352         than necessarily for this particular distribution.  Use
11353         REPORT_BUGS_TO for where to report bugs.
11354         * INSTALL: Regenerated.
11355         * manual/libc.texinfo: Include pkgvers.texi.
11356         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11357         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11358         (print_version): Use PKGVERSION.
11359         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11360         (print_version): Use PKGVERSION.
11361         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11362         (print_version): Use PKGVERSION.
11363         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11364         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11365         macro.
11366         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11367         (print_version): Use PKGVERSION.
11368         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11369         (print_version): Use PKGVERSION.
11370         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11371         and PKGVERSION.
11373         * timezone/checktab.awk: Update from tzcode 2012i.
11374         * timezone/ialloc.c: Likewise.
11375         * timezone/private.h: Likewise.
11376         * timezone/scheck.c: Likewise.
11377         * timezone/tzfile.h: Likewise.
11378         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11379         (TZVERSION): Hardcode tzcode version number.
11380         * timezone/zdump.c: Update from tzcode 2012i.
11381         * timezone/zic.c: Likewise.
11382         * timezone/version.h: New file.
11383         * timezone/README: Describe version.h.  Update upstream location.
11385         [BZ #14824]
11386         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11387         (mktemp): Enable declaration.
11388         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11389         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11390         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11391         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11392         Likewise.
11393         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11394         Likewise.
11395         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11396         Likewise.
11397         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11398         Likewise.
11399         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11400         Likewise.
11401         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11402         Likewise.
11404         [BZ #14821]
11405         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11406         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11407         for copies of such integer values.
11408         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11409         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11411 2012-11-09  Andreas Jaeger  <aj@suse.de>
11413         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11414         definitions and declarations that are provided by
11415         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11417 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11419         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11420         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11421         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11422         definition.
11424 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11426         * elf/elf.h: Update comment before AArch64 relocations.
11428 2012-11-07  David S. Miller  <davem@davemloft.net>
11430         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11431         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11432         (__start_context): Declare.
11433         (__makecontext_ret): Delete.
11434         (__makecontext): Hook up __start_context instead of
11435         __makecontext_ret.
11436         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11437         (sysdep_routines): Add __start_context when in stdlib.
11439 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11441         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11442         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11443         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11444         hardcoded "nm".
11445         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11446         (READELF): New variable.  Use it instead of hardcoded "readelf".
11448 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11450         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11451         * sysdeps/x86/Makefile: Here.
11452         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11453         * sysdeps/x86/tst-xmmymm.sh: This.
11455 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11457         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11458         expectations.
11459         [UNIX98] (pthread_barrier_t): Do not expect.
11460         [UNIX98] (pthread_barrierattr_t): Likewise.
11461         [UNIX98] (pthread_spinlock_t): Likewise.
11462         [UNIX98] (pthread_barrier_destroy): Likewise.
11463         [UNIX98] (pthread_barrier_init): Likewise.
11464         [UNIX98] (pthread_barrier_wait): Likewise.
11465         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11466         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11467         [UNIX98] (pthread_barrierattr_init): Likewise.
11468         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11469         [UNIX98] (pthread_getcpuclockid): Likewise.
11470         [UNIX98] (pthread_mutex_timedlock): Likewise.
11471         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11472         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11473         [UNIX98] (pthread_sigmask): Likewise.
11474         [UNIX98] (pthread_spin_destroy): Likewise.
11475         [UNIX98] (pthread_spin_init): Likewise.
11476         [UNIX98] (pthread_spin_lock): Likewise.
11477         [UNIX98] (pthread_spin_trylock): Likewise.
11478         [UNIX98] (pthread_spin_unlock): Likewise.
11479         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11480         Do not expect.
11481         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11482         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11483         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11484         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11485         [XPG3 || XPG4] (pthread_key_t): Likewise.
11486         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11487         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11488         [XPG3 || XPG4] (pthread_once_t): Likewise.
11489         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11490         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11491         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11492         [XPG3 || XPG4] (pthread_t): Likewise.
11494         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11495         not expect.
11496         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11498         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11499         Change function return type to int.
11501         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11502         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11503         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11504         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11505         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11506         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11507         [!POSIX] (posix_madvise): Likewise.
11508         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11509         && !UNIX98].
11510         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11511         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11512         (mode_t): Likewise.
11513         (posix_mem_offset): Likewise.
11514         (posix_typed_mem_get_info): Likewise.
11515         (posix_typed_mem_open): Likewise.
11517         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11518         Change condition to [XOPEN2K8].
11520         * conform/conformtest.pl: Preprocess allow-header data with -x c
11521         instead of from stdin.
11522         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11523         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11524         [C99-based standards] (cerfc): Likewise.
11525         [C99-based standards] (cexp2): Likewise.
11526         [C99-based standards] (cexpm1): Likewise.
11527         [C99-based standards] (clog10): Likewise.
11528         [C99-based standards] (clog1p): Likewise.
11529         [C99-based standards] (clog2): Likewise.
11530         [C99-based standards] (clgamma): Likewise.
11531         [C99-based standards] (ctgamma): Likewise.
11532         [C99-based standards] (cerff): Likewise.
11533         [C99-based standards] (cerfcf): Likewise.
11534         [C99-based standards] (cexp2f): Likewise.
11535         [C99-based standards] (cexpm1f): Likewise.
11536         [C99-based standards] (clog10f): Likewise.
11537         [C99-based standards] (clog1pf): Likewise.
11538         [C99-based standards] (clog2f): Likewise.
11539         [C99-based standards] (clgammaf): Likewise.
11540         [C99-based standards] (ctgammaf): Likewise.
11541         [C99-based standards] (cerfl): Likewise.
11542         [C99-based standards] (cerfcl): Likewise.
11543         [C99-based standards] (cexp2l): Likewise.
11544         [C99-based standards] (cexpm1l): Likewise.
11545         [C99-based standards] (clog10l): Likewise.
11546         [C99-based standards] (clog1pl): Likewise.
11547         [C99-based standards] (clog2l): Likewise.
11548         [C99-based standards] (clgammal): Likewise.
11549         [C99-based standards] (ctgammal): Likewise.
11550         * conform/data/inttypes.h-data [C99-based standards]: Include
11551         stdint.h-data.  Remove all expectations for stdint.h contents.
11552         [C99-based standards] (PRI*): Do not allow.
11553         [C99-based standards] (SCN*): Likewise.
11554         [C99-based standards] (*_t): Likewise.
11555         [C99-based-standards] (PRId8): Expect macro.
11556         [C99-based-standards] (PRIi8): Likewise.
11557         [C99-based-standards] (PRIo8): Likewise.
11558         [C99-based-standards] (PRIu8): Likewise.
11559         [C99-based-standards] (PRIx8): Likewise.
11560         [C99-based-standards] (PRIX8): Likewise.
11561         [C99-based-standards] (SCNd8): Likewise.
11562         [C99-based-standards] (SCNi8): Likewise.
11563         [C99-based-standards] (SCNo8): Likewise.
11564         [C99-based-standards] (SCNu8): Likewise.
11565         [C99-based-standards] (SCNx8): Likewise.
11566         [C99-based-standards] (PRIdLEAST8): Likewise.
11567         [C99-based-standards] (PRIiLEAST8): Likewise.
11568         [C99-based-standards] (PRIoLEAST8): Likewise.
11569         [C99-based-standards] (PRIuLEAST8): Likewise.
11570         [C99-based-standards] (PRIxLEAST8): Likewise.
11571         [C99-based-standards] (PRIXLEAST8): Likewise.
11572         [C99-based-standards] (SCNdLEAST8): Likewise.
11573         [C99-based-standards] (SCNiLEAST8): Likewise.
11574         [C99-based-standards] (SCNoLEAST8): Likewise.
11575         [C99-based-standards] (SCNuLEAST8): Likewise.
11576         [C99-based-standards] (SCNxLEAST8): Likewise.
11577         [C99-based-standards] (PRIdFAST8): Likewise.
11578         [C99-based-standards] (PRIiFAST8): Likewise.
11579         [C99-based-standards] (PRIoFAST8): Likewise.
11580         [C99-based-standards] (PRIuFAST8): Likewise.
11581         [C99-based-standards] (PRIxFAST8): Likewise.
11582         [C99-based-standards] (PRIXFAST8): Likewise.
11583         [C99-based-standards] (SCNdFAST8): Likewise.
11584         [C99-based-standards] (SCNiFAST8): Likewise.
11585         [C99-based-standards] (SCNoFAST8): Likewise.
11586         [C99-based-standards] (SCNuFAST8): Likewise.
11587         [C99-based-standards] (SCNxFAST8): Likewise.
11588         [C99-based-standards] (PRId16): Likewise.
11589         [C99-based-standards] (PRIi16): Likewise.
11590         [C99-based-standards] (PRIo16): Likewise.
11591         [C99-based-standards] (PRIu16): Likewise.
11592         [C99-based-standards] (PRIx16): Likewise.
11593         [C99-based-standards] (PRIX16): Likewise.
11594         [C99-based-standards] (SCNd16): Likewise.
11595         [C99-based-standards] (SCNi16): Likewise.
11596         [C99-based-standards] (SCNo16): Likewise.
11597         [C99-based-standards] (SCNu16): Likewise.
11598         [C99-based-standards] (SCNx16): Likewise.
11599         [C99-based-standards] (PRIdLEAST16): Likewise.
11600         [C99-based-standards] (PRIiLEAST16): Likewise.
11601         [C99-based-standards] (PRIoLEAST16): Likewise.
11602         [C99-based-standards] (PRIuLEAST16): Likewise.
11603         [C99-based-standards] (PRIxLEAST16): Likewise.
11604         [C99-based-standards] (PRIXLEAST16): Likewise.
11605         [C99-based-standards] (SCNdLEAST16): Likewise.
11606         [C99-based-standards] (SCNiLEAST16): Likewise.
11607         [C99-based-standards] (SCNoLEAST16): Likewise.
11608         [C99-based-standards] (SCNuLEAST16): Likewise.
11609         [C99-based-standards] (SCNxLEAST16): Likewise.
11610         [C99-based-standards] (PRIdFAST16): Likewise.
11611         [C99-based-standards] (PRIiFAST16): Likewise.
11612         [C99-based-standards] (PRIoFAST16): Likewise.
11613         [C99-based-standards] (PRIuFAST16): Likewise.
11614         [C99-based-standards] (PRIxFAST16): Likewise.
11615         [C99-based-standards] (PRIXFAST16): Likewise.
11616         [C99-based-standards] (SCNdFAST16): Likewise.
11617         [C99-based-standards] (SCNiFAST16): Likewise.
11618         [C99-based-standards] (SCNoFAST16): Likewise.
11619         [C99-based-standards] (SCNuFAST16): Likewise.
11620         [C99-based-standards] (SCNxFAST16): Likewise.
11621         [C99-based-standards] (PRId32): Likewise.
11622         [C99-based-standards] (PRIi32): Likewise.
11623         [C99-based-standards] (PRIo32): Likewise.
11624         [C99-based-standards] (PRIu32): Likewise.
11625         [C99-based-standards] (PRIx32): Likewise.
11626         [C99-based-standards] (PRIX32): Likewise.
11627         [C99-based-standards] (SCNd32): Likewise.
11628         [C99-based-standards] (SCNi32): Likewise.
11629         [C99-based-standards] (SCNo32): Likewise.
11630         [C99-based-standards] (SCNu32): Likewise.
11631         [C99-based-standards] (SCNx32): Likewise.
11632         [C99-based-standards] (PRIdLEAST32): Likewise.
11633         [C99-based-standards] (PRIiLEAST32): Likewise.
11634         [C99-based-standards] (PRIoLEAST32): Likewise.
11635         [C99-based-standards] (PRIuLEAST32): Likewise.
11636         [C99-based-standards] (PRIxLEAST32): Likewise.
11637         [C99-based-standards] (PRIXLEAST32): Likewise.
11638         [C99-based-standards] (SCNdLEAST32): Likewise.
11639         [C99-based-standards] (SCNiLEAST32): Likewise.
11640         [C99-based-standards] (SCNoLEAST32): Likewise.
11641         [C99-based-standards] (SCNuLEAST32): Likewise.
11642         [C99-based-standards] (SCNxLEAST32): Likewise.
11643         [C99-based-standards] (PRIdFAST32): Likewise.
11644         [C99-based-standards] (PRIiFAST32): Likewise.
11645         [C99-based-standards] (PRIoFAST32): Likewise.
11646         [C99-based-standards] (PRIuFAST32): Likewise.
11647         [C99-based-standards] (PRIxFAST32): Likewise.
11648         [C99-based-standards] (PRIXFAST32): Likewise.
11649         [C99-based-standards] (SCNdFAST32): Likewise.
11650         [C99-based-standards] (SCNiFAST32): Likewise.
11651         [C99-based-standards] (SCNoFAST32): Likewise.
11652         [C99-based-standards] (SCNuFAST32): Likewise.
11653         [C99-based-standards] (SCNxFAST32): Likewise.
11654         [C99-based-standards] (PRId64): Likewise.
11655         [C99-based-standards] (PRIi64): Likewise.
11656         [C99-based-standards] (PRIo64): Likewise.
11657         [C99-based-standards] (PRIu64): Likewise.
11658         [C99-based-standards] (PRIx64): Likewise.
11659         [C99-based-standards] (PRIX64): Likewise.
11660         [C99-based-standards] (SCNd64): Likewise.
11661         [C99-based-standards] (SCNi64): Likewise.
11662         [C99-based-standards] (SCNo64): Likewise.
11663         [C99-based-standards] (SCNu64): Likewise.
11664         [C99-based-standards] (SCNx64): Likewise.
11665         [C99-based-standards] (PRIdLEAST64): Likewise.
11666         [C99-based-standards] (PRIiLEAST64): Likewise.
11667         [C99-based-standards] (PRIoLEAST64): Likewise.
11668         [C99-based-standards] (PRIuLEAST64): Likewise.
11669         [C99-based-standards] (PRIxLEAST64): Likewise.
11670         [C99-based-standards] (PRIXLEAST64): Likewise.
11671         [C99-based-standards] (SCNdLEAST64): Likewise.
11672         [C99-based-standards] (SCNiLEAST64): Likewise.
11673         [C99-based-standards] (SCNoLEAST64): Likewise.
11674         [C99-based-standards] (SCNuLEAST64): Likewise.
11675         [C99-based-standards] (SCNxLEAST64): Likewise.
11676         [C99-based-standards] (PRIdFAST64): Likewise.
11677         [C99-based-standards] (PRIiFAST64): Likewise.
11678         [C99-based-standards] (PRIoFAST64): Likewise.
11679         [C99-based-standards] (PRIuFAST64): Likewise.
11680         [C99-based-standards] (PRIxFAST64): Likewise.
11681         [C99-based-standards] (PRIXFAST64): Likewise.
11682         [C99-based-standards] (SCNdFAST64): Likewise.
11683         [C99-based-standards] (SCNiFAST64): Likewise.
11684         [C99-based-standards] (SCNoFAST64): Likewise.
11685         [C99-based-standards] (SCNuFAST64): Likewise.
11686         [C99-based-standards] (SCNxFAST64): Likewise.
11687         [C99-based-standards] (PRIdMAX): Likewise.
11688         [C99-based-standards] (PRIiMAX): Likewise.
11689         [C99-based-standards] (PRIoMAX): Likewise.
11690         [C99-based-standards] (PRIuMAX): Likewise.
11691         [C99-based-standards] (PRIxMAX): Likewise.
11692         [C99-based-standards] (PRIXMAX): Likewise.
11693         [C99-based-standards] (SCNdMAX): Likewise.
11694         [C99-based-standards] (SCNiMAX): Likewise.
11695         [C99-based-standards] (SCNoMAX): Likewise.
11696         [C99-based-standards] (SCNuMAX): Likewise.
11697         [C99-based-standards] (SCNxMAX): Likewise.
11698         [C99-based-standards] (PRIdPTR): Likewise.
11699         [C99-based-standards] (PRIiPTR): Likewise.
11700         [C99-based-standards] (PRIoPTR): Likewise.
11701         [C99-based-standards] (PRIuPTR): Likewise.
11702         [C99-based-standards] (PRIxPTR): Likewise.
11703         [C99-based-standards] (PRIXPTR): Likewise.
11704         [C99-based-standards] (SCNdPTR): Likewise.
11705         [C99-based-standards] (SCNiPTR): Likewise.
11706         [C99-based-standards] (SCNoPTR): Likewise.
11707         [C99-based-standards] (SCNuPTR): Likewise.
11708         [C99-based-standards] (SCNxPTR): Likewise.
11709         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11710         allow.
11711         * conform/data/stdint.h-data: Update comments to clarify
11712         requirements.
11713         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11714         type.
11715         [C99-based standards] (INT8_MAX): Likewise.
11716         [C99-based standards] (INT16_MIN): Likewise.
11717         [C99-based standards] (INT16_MAX): Likewise.
11718         [C99-based standards] (INT32_MIN): Likewise.
11719         [C99-based standards] (INT32_MAX): Likewise.
11720         [C99-based standards] (INT64_MIN): Likewise.
11721         [C99-based standards] (INT64_MAX): Likewise.
11722         [C99-based standards] (UINT8_MAX): Likewise.
11723         [C99-based standards] (UINT16_MAX): Likewise.
11724         [C99-based standards] (UINT32_MAX): Likewise.
11725         [C99-based standards] (UINT64_MAX): Likewise.
11726         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11727         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11728         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11729         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11730         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11731         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11732         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11733         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11734         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11735         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11736         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11737         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11738         [C99-based standards] (INT_FAST8_MIN): Likewise.
11739         [C99-based standards] (INT_FAST8_MAX): Likewise.
11740         [C99-based standards] (INT_FAST16_MIN): Likewise.
11741         [C99-based standards] (INT_FAST16_MAX): Likewise.
11742         [C99-based standards] (INT_FAST32_MIN): Likewise.
11743         [C99-based standards] (INT_FAST32_MAX): Likewise.
11744         [C99-based standards] (INT_FAST64_MIN): Likewise.
11745         [C99-based standards] (INT_FAST64_MAX): Likewise.
11746         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11747         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11748         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11749         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11750         [C99-based standards] (INTPTR_MIN): Likewise.
11751         [C99-based standards] (INTPTR_MAX): Likewise.
11752         [C99-based standards] (UINTPTR_MAX): Likewise.
11753         [C99-based standards] (INTMAX_MIN): Likewise.
11754         [C99-based standards] (INTMAX_MAX): Likewise.
11755         [C99-based standards] (UINTMAX_MAX): Likewise.
11756         [C99-based standards] (PTRDIFF_MIN): Likewise.
11757         [C99-based standards] (PTRDIFF_MAX): Likewise.
11758         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11759         [C99-based standards] (SIZE_MAX): Likewise.
11760         [C99-based standards] (WCHAR_MAX): Likewise.
11761         [C99-based standards] (WINT_MAX): Likewise.
11762         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11763         constraint on value.
11764         [C99-based standards] (WCHAR_MIN): Likewise.
11765         [C99-based standards] (WINT_MIN): Likewise.
11766         [C99-based standards] (*_t): Allow.
11767         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11768         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11769         Include math.h-data and complex.h-data.  Remove all expectations
11770         of math.h and complex.h contents.
11771         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11772         at end of line.
11773         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11774         (struct tm): Expect tag.
11775         [C99-based-standards] (wcstof): Expect function.
11776         [C99-based-standards] (wcstold): Likewise.
11777         [C99-based-standards] (wcstoll): Likewise.
11778         [C99-based-standards] (wcstoull): Likewise.
11779         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11780         macro-int-constant.  Specify type.
11781         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11782         constraint on value.
11783         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11784         Specify type.
11785         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11786         Specify value.
11787         [ISO C standards]: Do not allow headers.
11788         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11789         wcs[abcdefghijklmnopqrstuvwxyz]*.
11790         [ISO C standards] (*_t): Do not allow.
11791         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11792         Expect function.
11793         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11794         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11795         Specify type.
11796         [ISO C standards]: Do not allow headers.
11797         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11798         is[abcdefghijklmnopqrstuvwxyz]*.
11799         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11800         to[abcdefghijklmnopqrstuvwxyz]*.
11801         [ISO C standards] (*_t): Do not allow.
11802         * conform/data/stdalign.h-data: New file.
11803         * conform/data/stdbool.h-data: Likewise.
11804         * conform/data/stdnoreturn.h-data: Likewise.
11806 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11808         [BZ #14815]
11809         * manual/filesys.texi (Directory Entries): Typo fix.
11810         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11812 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11814         * elf/elf.h (EM_AARCH64): New macro.
11815         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11816         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11817         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11818         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11819         (R_AARCH64_TLSDESC): Likewise.
11820         (NT_ARM_TLS): Likewise.
11821         (NT_ARM_HW_BREAK): Likewise.
11822         (NT_ARM_HW_WATCH): Likewise.
11824 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11826         [BZ #14811]
11827         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11828         (__ieee754_powl): Saturate nonzero exponents with absolute value
11829         below 0x1p-79 to +/- 0x1p-79.
11830         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11831         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11832         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11833         nonzero exponents with absolute value below 0x1p-32 to +/-
11834         0x1p-32.
11835         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11836         (__ieee754_powl): Saturate nonzero exponents with absolute value
11837         below 0x1p-79 to +/- 0x1p-79.
11838         * math/libm-test.inc (pow_test): Add more tests.
11840 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11842         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11843         _dl_s390_cap_flags with kernel. Increase string length.
11844         (_dl_s390_platforms): Add z196 and zEC12.
11846 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11848         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11849         Change XOPEN21K to XOPEN2K.
11851 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
11853         * string/memmove.c: Use memcpy when possible.
11855 2012-11-06  Andreas Jaeger  <aj@suse.de>
11857         * po/eo.po: Update from translation team.
11859 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
11861         [BZ #14793]
11862         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
11863         exponent and small x and y exponents, scale x or y up.  Increase
11864         by 2 the exponent used in scaling up.
11865         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11866         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11867         * math/libm-test.inc (fma_test): Add more tests.
11868         (fma_test_towardzero): Likewise.
11869         (fma_test_downward): Likewise.
11870         (fma_test_upward): Likewise.
11872 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
11874         [BZ #14805]
11875         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
11876         fenv_t *.
11878         [BZ #14801]
11879         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
11880         namespace for names of struct fields.
11881         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
11882         fenv_t fields.
11883         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11884         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
11886 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11888         [BZ #3665]
11889         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
11891 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11893         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
11894         PTR_DEMANGLE.
11896         [BZ #5246]
11897         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
11898         PTR_DEMANGLE.
11900 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
11902         [BZ #14797]
11903         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
11904         definitely overflow as x * y not x * y + z.
11905         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11906         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11907         * math/libm-test.inc (fma_test): Add more tests.
11908         (fma_test_towardzero): Likewise.
11909         (fma_test_downward): Likewise.
11910         (fma_test_upward): Likewise.
11912 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
11914         [BZ #157]
11916         * include/stub-tag.h: Remove file.
11917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
11918         '#include' of it.
11919         * manual/maint.texi (Porting): Don't reference it.
11920         * Makerules ($(objpfx)stubs): Likewise.
11921         * dirent/closedir.c: Don't include <stub-tag.h>.
11922         * dirent/dirfd.c: Likewise.
11923         * dirent/fdopendir.c: Likewise.
11924         * dirent/getdents.c: Likewise.
11925         * dirent/getdents64.c: Likewise.
11926         * dirent/opendir.c: Likewise.
11927         * dirent/readdir.c: Likewise.
11928         * dirent/readdir64.c: Likewise.
11929         * dirent/readdir64_r.c: Likewise.
11930         * dirent/readdir_r.c: Likewise.
11931         * dirent/rewinddir.c: Likewise.
11932         * dirent/seekdir.c: Likewise.
11933         * dirent/telldir.c: Likewise.
11934         * gmon/profil.c: Likewise.
11935         * grp/setgroups.c: Likewise.
11936         * inet/if_index.c: Likewise.
11937         * io/access.c: Likewise.
11938         * io/chdir.c: Likewise.
11939         * io/chmod.c: Likewise.
11940         * io/chown.c: Likewise.
11941         * io/close.c: Likewise.
11942         * io/dup.c: Likewise.
11943         * io/dup2.c: Likewise.
11944         * io/dup3.c: Likewise.
11945         * io/euidaccess.c: Likewise.
11946         * io/faccessat.c: Likewise.
11947         * io/fchdir.c: Likewise.
11948         * io/fchmod.c: Likewise.
11949         * io/fchmodat.c: Likewise.
11950         * io/fchown.c: Likewise.
11951         * io/fchownat.c: Likewise.
11952         * io/fcntl.c: Likewise.
11953         * io/flock.c: Likewise.
11954         * io/fstatfs.c: Likewise.
11955         * io/fstatfs64.c: Likewise.
11956         * io/fstatvfs.c: Likewise.
11957         * io/fstatvfs64.c: Likewise.
11958         * io/futimens.c: Likewise.
11959         * io/fxstat.c: Likewise.
11960         * io/fxstat64.c: Likewise.
11961         * io/fxstatat.c: Likewise.
11962         * io/fxstatat64.c: Likewise.
11963         * io/getcwd.c: Likewise.
11964         * io/isatty.c: Likewise.
11965         * io/lchmod.c: Likewise.
11966         * io/lchown.c: Likewise.
11967         * io/link.c: Likewise.
11968         * io/linkat.c: Likewise.
11969         * io/lseek.c: Likewise.
11970         * io/lseek64.c: Likewise.
11971         * io/lxstat64.c: Likewise.
11972         * io/mkdir.c: Likewise.
11973         * io/mkdirat.c: Likewise.
11974         * io/mkfifo.c: Likewise.
11975         * io/mkfifoat.c: Likewise.
11976         * io/open.c: Likewise.
11977         * io/open64.c: Likewise.
11978         * io/openat.c: Likewise.
11979         * io/openat64.c: Likewise.
11980         * io/pipe.c: Likewise.
11981         * io/pipe2.c: Likewise.
11982         * io/poll.c: Likewise.
11983         * io/posix_fadvise.c: Likewise.
11984         * io/posix_fadvise64.c: Likewise.
11985         * io/posix_fallocate.c: Likewise.
11986         * io/posix_fallocate64.c: Likewise.
11987         * io/read.c: Likewise.
11988         * io/readlink.c: Likewise.
11989         * io/readlinkat.c: Likewise.
11990         * io/rmdir.c: Likewise.
11991         * io/sendfile.c: Likewise.
11992         * io/sendfile64.c: Likewise.
11993         * io/statfs.c: Likewise.
11994         * io/statfs64.c: Likewise.
11995         * io/statvfs.c: Likewise.
11996         * io/statvfs64.c: Likewise.
11997         * io/symlink.c: Likewise.
11998         * io/symlinkat.c: Likewise.
11999         * io/ttyname.c: Likewise.
12000         * io/ttyname_r.c: Likewise.
12001         * io/umask.c: Likewise.
12002         * io/unlink.c: Likewise.
12003         * io/unlinkat.c: Likewise.
12004         * io/utime.c: Likewise.
12005         * io/utimensat.c: Likewise.
12006         * io/write.c: Likewise.
12007         * io/xmknod.c: Likewise.
12008         * io/xmknodat.c: Likewise.
12009         * io/xstat.c: Likewise.
12010         * io/xstat64.c: Likewise.
12011         * login/getpt.c: Likewise.
12012         * login/grantpt.c: Likewise.
12013         * login/unlockpt.c: Likewise.
12014         * math/e_acoshl.c: Likewise.
12015         * math/e_acosl.c: Likewise.
12016         * math/e_asinl.c: Likewise.
12017         * math/e_atan2l.c: Likewise.
12018         * math/e_atanhl.c: Likewise.
12019         * math/e_coshl.c: Likewise.
12020         * math/e_expl.c: Likewise.
12021         * math/e_fmodl.c: Likewise.
12022         * math/e_gammal_r.c: Likewise.
12023         * math/e_hypotl.c: Likewise.
12024         * math/e_j0l.c: Likewise.
12025         * math/e_j1l.c: Likewise.
12026         * math/e_jnl.c: Likewise.
12027         * math/e_lgammal_r.c: Likewise.
12028         * math/e_log10l.c: Likewise.
12029         * math/e_log2l.c: Likewise.
12030         * math/e_logl.c: Likewise.
12031         * math/e_powl.c: Likewise.
12032         * math/e_rem_pio2l.c: Likewise.
12033         * math/e_sinhl.c: Likewise.
12034         * math/e_sqrtl.c: Likewise.
12035         * math/fclrexcpt.c: Likewise.
12036         * math/fedisblxcpt.c: Likewise.
12037         * math/feenablxcpt.c: Likewise.
12038         * math/fegetenv.c: Likewise.
12039         * math/fegetexcept.c: Likewise.
12040         * math/fegetround.c: Likewise.
12041         * math/feholdexcpt.c: Likewise.
12042         * math/fesetenv.c: Likewise.
12043         * math/fesetround.c: Likewise.
12044         * math/feupdateenv.c: Likewise.
12045         * math/fgetexcptflg.c: Likewise.
12046         * math/fraiseexcpt.c: Likewise.
12047         * math/fsetexcptflg.c: Likewise.
12048         * math/ftestexcept.c: Likewise.
12049         * math/k_cosl.c: Likewise.
12050         * math/k_rem_pio2l.c: Likewise.
12051         * math/k_sinl.c: Likewise.
12052         * math/k_tanl.c: Likewise.
12053         * math/s_asinhl.c: Likewise.
12054         * math/s_atanl.c: Likewise.
12055         * math/s_cbrtl.c: Likewise.
12056         * math/s_erfl.c: Likewise.
12057         * math/s_expm1l.c: Likewise.
12058         * math/s_log1pl.c: Likewise.
12059         * math/s_tanhl.c: Likewise.
12060         * misc/acct.c: Likewise.
12061         * misc/brk.c: Likewise.
12062         * misc/chflags.c: Likewise.
12063         * misc/chroot.c: Likewise.
12064         * misc/fchflags.c: Likewise.
12065         * misc/fgetxattr.c: Likewise.
12066         * misc/flistxattr.c: Likewise.
12067         * misc/fremovexattr.c: Likewise.
12068         * misc/fsetxattr.c: Likewise.
12069         * misc/fsync.c: Likewise.
12070         * misc/ftruncate.c: Likewise.
12071         * misc/futimes.c: Likewise.
12072         * misc/futimesat.c: Likewise.
12073         * misc/getdomain.c: Likewise.
12074         * misc/getdtsz.c: Likewise.
12075         * misc/gethostid.c: Likewise.
12076         * misc/gethostname.c: Likewise.
12077         * misc/getloadavg.c: Likewise.
12078         * misc/getpagesize.c: Likewise.
12079         * misc/getsysstats.c: Likewise.
12080         * misc/getxattr.c: Likewise.
12081         * misc/gtty.c: Likewise.
12082         * misc/ioctl.c: Likewise.
12083         * misc/lgetxattr.c: Likewise.
12084         * misc/listxattr.c: Likewise.
12085         * misc/llistxattr.c: Likewise.
12086         * misc/lremovexattr.c: Likewise.
12087         * misc/lsetxattr.c: Likewise.
12088         * misc/lutimes.c: Likewise.
12089         * misc/madvise.c: Likewise.
12090         * misc/mincore.c: Likewise.
12091         * misc/mlock.c: Likewise.
12092         * misc/mlockall.c: Likewise.
12093         * misc/mmap.c: Likewise.
12094         * misc/mprotect.c: Likewise.
12095         * misc/msync.c: Likewise.
12096         * misc/munlock.c: Likewise.
12097         * misc/munlockall.c: Likewise.
12098         * misc/munmap.c: Likewise.
12099         * misc/preadv.c: Likewise.
12100         * misc/preadv64.c: Likewise.
12101         * misc/ptrace.c: Likewise.
12102         * misc/pwritev.c: Likewise.
12103         * misc/pwritev64.c: Likewise.
12104         * misc/readv.c: Likewise.
12105         * misc/reboot.c: Likewise.
12106         * misc/remap_file_pages.c: Likewise.
12107         * misc/removexattr.c: Likewise.
12108         * misc/revoke.c: Likewise.
12109         * misc/select.c: Likewise.
12110         * misc/setdomain.c: Likewise.
12111         * misc/setegid.c: Likewise.
12112         * misc/seteuid.c: Likewise.
12113         * misc/sethostid.c: Likewise.
12114         * misc/sethostname.c: Likewise.
12115         * misc/setregid.c: Likewise.
12116         * misc/setreuid.c: Likewise.
12117         * misc/setxattr.c: Likewise.
12118         * misc/sstk.c: Likewise.
12119         * misc/stty.c: Likewise.
12120         * misc/swapoff.c: Likewise.
12121         * misc/swapon.c: Likewise.
12122         * misc/sync.c: Likewise.
12123         * misc/syncfs.c: Likewise.
12124         * misc/syscall.c: Likewise.
12125         * misc/truncate.c: Likewise.
12126         * misc/ualarm.c: Likewise.
12127         * misc/usleep.c: Likewise.
12128         * misc/ustat.c: Likewise.
12129         * misc/utimes.c: Likewise.
12130         * misc/vhangup.c: Likewise.
12131         * misc/writev.c: Likewise.
12132         * posix/_exit.c: Likewise.
12133         * posix/alarm.c: Likewise.
12134         * posix/execve.c: Likewise.
12135         * posix/fexecve.c: Likewise.
12136         * posix/fork.c: Likewise.
12137         * posix/fpathconf.c: Likewise.
12138         * posix/getaddrinfo.c: Likewise.
12139         * posix/getegid.c: Likewise.
12140         * posix/geteuid.c: Likewise.
12141         * posix/getgid.c: Likewise.
12142         * posix/getgroups.c: Likewise.
12143         * posix/getlogin.c: Likewise.
12144         * posix/getlogin_r.c: Likewise.
12145         * posix/getpgid.c: Likewise.
12146         * posix/getpid.c: Likewise.
12147         * posix/getppid.c: Likewise.
12148         * posix/getresgid.c: Likewise.
12149         * posix/getresuid.c: Likewise.
12150         * posix/getsid.c: Likewise.
12151         * posix/getuid.c: Likewise.
12152         * posix/glob64.c: Likewise.
12153         * posix/nanosleep.c: Likewise.
12154         * posix/pathconf.c: Likewise.
12155         * posix/pause.c: Likewise.
12156         * posix/posix_madvise.c: Likewise.
12157         * posix/pread.c: Likewise.
12158         * posix/pread64.c: Likewise.
12159         * posix/pwrite.c: Likewise.
12160         * posix/pwrite64.c: Likewise.
12161         * posix/sched_getaffinity.c: Likewise.
12162         * posix/sched_getp.c: Likewise.
12163         * posix/sched_gets.c: Likewise.
12164         * posix/sched_primax.c: Likewise.
12165         * posix/sched_primin.c: Likewise.
12166         * posix/sched_rr_gi.c: Likewise.
12167         * posix/sched_setaffinity.c: Likewise.
12168         * posix/sched_setp.c: Likewise.
12169         * posix/sched_sets.c: Likewise.
12170         * posix/sched_yield.c: Likewise.
12171         * posix/setgid.c: Likewise.
12172         * posix/setlogin.c: Likewise.
12173         * posix/setpgid.c: Likewise.
12174         * posix/setresgid.c: Likewise.
12175         * posix/setresuid.c: Likewise.
12176         * posix/setsid.c: Likewise.
12177         * posix/setuid.c: Likewise.
12178         * posix/sleep.c: Likewise.
12179         * posix/spawni.c: Likewise.
12180         * posix/sysconf.c: Likewise.
12181         * posix/times.c: Likewise.
12182         * posix/wait.c: Likewise.
12183         * posix/wait3.c: Likewise.
12184         * posix/wait4.c: Likewise.
12185         * posix/waitpid.c: Likewise.
12186         * resolv/gai_sigqueue.c: Likewise.
12187         * resource/getpriority.c: Likewise.
12188         * resource/getrlimit.c: Likewise.
12189         * resource/getrusage.c: Likewise.
12190         * resource/nice.c: Likewise.
12191         * resource/setpriority.c: Likewise.
12192         * resource/setrlimit.c: Likewise.
12193         * resource/ulimit.c: Likewise.
12194         * rt/aio_cancel.c: Likewise.
12195         * rt/aio_fsync.c: Likewise.
12196         * rt/aio_read.c: Likewise.
12197         * rt/aio_sigqueue.c: Likewise.
12198         * rt/aio_suspend.c: Likewise.
12199         * rt/aio_write.c: Likewise.
12200         * rt/clock_getres.c: Likewise.
12201         * rt/clock_gettime.c: Likewise.
12202         * rt/clock_nanosleep.c: Likewise.
12203         * rt/clock_settime.c: Likewise.
12204         * rt/lio_listio.c: Likewise.
12205         * rt/mq_close.c: Likewise.
12206         * rt/mq_getattr.c: Likewise.
12207         * rt/mq_notify.c: Likewise.
12208         * rt/mq_open.c: Likewise.
12209         * rt/mq_receive.c: Likewise.
12210         * rt/mq_send.c: Likewise.
12211         * rt/mq_setattr.c: Likewise.
12212         * rt/mq_timedreceive.c: Likewise.
12213         * rt/mq_timedsend.c: Likewise.
12214         * rt/mq_unlink.c: Likewise.
12215         * rt/shm_open.c: Likewise.
12216         * rt/shm_unlink.c: Likewise.
12217         * rt/timer_create.c: Likewise.
12218         * rt/timer_delete.c: Likewise.
12219         * rt/timer_getoverr.c: Likewise.
12220         * rt/timer_gettime.c: Likewise.
12221         * rt/timer_settime.c: Likewise.
12222         * setjmp/__longjmp.c: Likewise.
12223         * setjmp/setjmp.c: Likewise.
12224         * signal/kill.c: Likewise.
12225         * signal/killpg.c: Likewise.
12226         * signal/raise.c: Likewise.
12227         * signal/sigaction.c: Likewise.
12228         * signal/sigaltstack.c: Likewise.
12229         * signal/sigblock.c: Likewise.
12230         * signal/sigignore.c: Likewise.
12231         * signal/sigintr.c: Likewise.
12232         * signal/signal.c: Likewise.
12233         * signal/sigpause.c: Likewise.
12234         * signal/sigpending.c: Likewise.
12235         * signal/sigqueue.c: Likewise.
12236         * signal/sigreturn.c: Likewise.
12237         * signal/sigset.c: Likewise.
12238         * signal/sigsetmask.c: Likewise.
12239         * signal/sigstack.c: Likewise.
12240         * signal/sigsuspend.c: Likewise.
12241         * signal/sigtimedwait.c: Likewise.
12242         * signal/sigvec.c: Likewise.
12243         * signal/sigwait.c: Likewise.
12244         * signal/sigwaitinfo.c: Likewise.
12245         * signal/sysv_signal.c: Likewise.
12246         * socket/accept.c: Likewise.
12247         * socket/accept4.c: Likewise.
12248         * socket/bind.c: Likewise.
12249         * socket/connect.c: Likewise.
12250         * socket/getpeername.c: Likewise.
12251         * socket/getsockname.c: Likewise.
12252         * socket/getsockopt.c: Likewise.
12253         * socket/isfdtype.c: Likewise.
12254         * socket/listen.c: Likewise.
12255         * socket/recv.c: Likewise.
12256         * socket/recvfrom.c: Likewise.
12257         * socket/recvmsg.c: Likewise.
12258         * socket/send.c: Likewise.
12259         * socket/sendmsg.c: Likewise.
12260         * socket/sendto.c: Likewise.
12261         * socket/setsockopt.c: Likewise.
12262         * socket/shutdown.c: Likewise.
12263         * socket/sockatmark.c: Likewise.
12264         * socket/socket.c: Likewise.
12265         * socket/socketpair.c: Likewise.
12266         * stdio-common/ctermid.c: Likewise.
12267         * stdio-common/cuserid.c: Likewise.
12268         * stdio-common/remove.c: Likewise.
12269         * stdio-common/rename.c: Likewise.
12270         * stdio-common/renameat.c: Likewise.
12271         * stdio-common/tempname.c: Likewise.
12272         * stdlib/getcontext.c: Likewise.
12273         * stdlib/makecontext.c: Likewise.
12274         * stdlib/setcontext.c: Likewise.
12275         * stdlib/swapcontext.c: Likewise.
12276         * stdlib/system.c: Likewise.
12277         * streams/fattach.c: Likewise.
12278         * streams/fdetach.c: Likewise.
12279         * streams/getmsg.c: Likewise.
12280         * streams/getpmsg.c: Likewise.
12281         * streams/putmsg.c: Likewise.
12282         * streams/putpmsg.c: Likewise.
12283         * sysdeps/unix/bsd/getpt.c: Likewise.
12284         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12285         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12286         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12288         Likewise.
12289         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12290         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12291         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12292         * sysvipc/msgctl.c: Likewise.
12293         * sysvipc/msgget.c: Likewise.
12294         * sysvipc/msgrcv.c: Likewise.
12295         * sysvipc/msgsnd.c: Likewise.
12296         * sysvipc/semctl.c: Likewise.
12297         * sysvipc/semget.c: Likewise.
12298         * sysvipc/semop.c: Likewise.
12299         * sysvipc/semtimedop.c: Likewise.
12300         * sysvipc/shmat.c: Likewise.
12301         * sysvipc/shmctl.c: Likewise.
12302         * sysvipc/shmdt.c: Likewise.
12303         * sysvipc/shmget.c: Likewise.
12304         * termios/tcdrain.c: Likewise.
12305         * termios/tcflow.c: Likewise.
12306         * termios/tcflush.c: Likewise.
12307         * termios/tcgetattr.c: Likewise.
12308         * termios/tcgetpgrp.c: Likewise.
12309         * termios/tcsendbrk.c: Likewise.
12310         * termios/tcsetattr.c: Likewise.
12311         * termios/tcsetpgrp.c: Likewise.
12312         * time/adjtime.c: Likewise.
12313         * time/clock.c: Likewise.
12314         * time/getitimer.c: Likewise.
12315         * time/gettimeofday.c: Likewise.
12316         * time/setitimer.c: Likewise.
12317         * time/settimeofday.c: Likewise.
12318         * time/stime.c: Likewise.
12319         * time/time.c: Likewise.
12321 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12323         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12324         /usr/old/bin.
12326         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12327         instead of spaces.
12328         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12330 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12332         [BZ #14796]
12333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12334         FE_TONEAREST before applying Dekker multiplication and Knuth
12335         addition.  Clear inexact exceptions and check for exact zero
12336         results afterwards.
12337         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12338         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12340         * math/libm-test.inc (fma_test): Add more tests.
12341         (fma_test_towardzero): Likewise.
12342         (fma_test_downward): Likewise.
12343         (fma_test_upward): Likewise.
12344         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12345         function.
12346         (libc_fesetround): New macro.
12347         (libc_fesetroundf): Likewise.
12348         (libc_fesetroundl): Likewise.
12349         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12350         function.
12351         (libc_fesetround_387): Likewise.
12352         (libc_fesetroundf): New macro.
12353         (libc_fesetround): Likewise.
12354         (libc_fesetroundl): Likewise.
12355         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12356         function.
12357         (libc_fesetroundf): New macro.
12358         (libc_fesetround): Likewise.
12359         (libc_fesetroundl): Likewise.
12360         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12361         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12362         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12363         libm_hidden_ver.
12364         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12365         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12366         libm_hidden_def.
12367         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12368         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12369         libm_hidden_ver.
12370         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12371         libm_hidden_def.
12373         [BZ #3439]
12374         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12375         integer constant usable in #if and use that to give value to enum
12376         constant.
12377         (FE_DIVBYZERO): Likewise.
12378         (FE_UNDERFLOW): Likewise.
12379         (FE_OVERFLOW): Likewise.
12380         (FE_INVALID): Likewise.
12381         (FE_INVALID_SNAN): Likewise.
12382         (FE_INVALID_ISI): Likewise.
12383         (FE_INVALID_IDI): Likewise.
12384         (FE_INVALID_ZDZ): Likewise.
12385         (FE_INVALID_IMZ): Likewise.
12386         (FE_INVALID_COMPARE): Likewise.
12387         (FE_INVALID_SOFTWARE): Likewise.
12388         (FE_INVALID_SQRT): Likewise.
12389         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12390         (FE_TONEAREST): Likewise.
12391         (FE_TOWARDZERO): Likewise.
12392         (FE_UPWARD): Likewise.
12393         (FE_DOWNWARD): Likewise.
12394         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12395         (FE_DIVBYZERO): Likewise.
12396         (FE_OVERFLOW): Likewise.
12397         (FE_UNDERFLOW): Likewise.
12398         (FE_INEXACT): Likewise.
12399         (FE_TONEAREST): Likewise.
12400         (FE_DOWNWARD): Likewise.
12401         (FE_UPWARD): Likewise.
12402         (FE_TOWARDZERO): Likewise.
12403         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12404         (FE_UNDERFLOW): Likewise.
12405         (FE_OVERFLOW): Likewise.
12406         (FE_DIVBYZERO): Likewise.
12407         (FE_INVALID): Likewise.
12408         (FE_TONEAREST): Likewise.
12409         (FE_TOWARDZERO): Likewise.
12410         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12411         (FE_OVERFLOW): Likewise.
12412         (FE_UNDERFLOW): Likewise.
12413         (FE_DIVBYZERO): Likewise.
12414         (FE_INEXACT): Likewise.
12415         (FE_TONEAREST): Likewise.
12416         (FE_TOWARDZERO): Likewise.
12417         (FE_UPWARD): Likewise.
12418         (FE_DOWNWARD): Likewise.
12419         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12420         (FE_DIVBYZERO): Likewise.
12421         (FE_OVERFLOW): Likewise.
12422         (FE_UNDERFLOW): Likewise.
12423         (FE_INEXACT): Likewise.
12424         (FE_TONEAREST): Likewise.
12425         (FE_DOWNWARD): Likewise.
12426         (FE_UPWARD): Likewise.
12427         (FE_TOWARDZERO): Likewise.
12429 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12431         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12433 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12435         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12436         commands.  Quote $PWD.
12437         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12438         -x" by "export".
12439         (remove_newlines): Remove.
12441 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12443         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12444         * stdlib/stdlib.h (atof): Moved to ...
12445         * include/bits/stdlib-float.h: Here.  New file.
12446         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12447         * stdlib/bits/stdlib-float.h: New file.
12448         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12449         -mno-sse -mno-mmx.
12450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12451         <xmmintrin.h>.
12453 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12455         * conform/conformtest.pl (@headers): Add fenv.h.
12456         * conform/data/fenv.h-data: New file.
12457         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12458         include of <math/fenv.h>.
12460         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12461         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12462         && !UNIX98].  Enables tests for XOPEN2K8.
12463         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12464         POSIX2008]: Likewise.
12466         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12467         (struct rusage): Do not expect type or its members.
12469         [BZ #3439]
12470         * math/math.h (FP_NAN): Define macro to integer constant usable in
12471         #if and use that to give value to enum constant.
12472         (FP_INFINITE): Likewise.
12473         (FP_ZERO): Likewise.
12474         (FP_SUBNORMAL): Likewise.
12475         (FP_NORMAL): Likewise.
12477 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12479         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12480         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12481         arguments.
12483 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12485         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12486         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12487         autoconf-time if not.
12488         * configure.in: Remove AC_PREREQ.
12490 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12492         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12493         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12494         of the internal implementation.
12496 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12498         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12499         except include of <misc/sys/syslog.h>.
12501 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12504         function returns with a NULL context exit with zero.
12506 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12508         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12510 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12512         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12513         (run_program_cmd): This.
12514         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12515         (tst_langinfo): New variable.  Use it.
12517 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12519         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12520         floating point opcodes.
12522 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12524         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12525         variable.
12527         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12529         * sysdeps/mach/hurd/powerpc: Remove directory.
12530         * sysdeps/mach/powerpc: Likewise.
12532 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12534         * scripts/check-local-headers.sh: Ignore c++ headers.
12536 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12538         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12539         __libc_cleanup_region_start argument.
12541 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12543         [BZ #14784]
12544         [BZ #14785]
12545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12546         x * y using scaling, not as x * y + z.
12547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12549         * math/libm-test.inc (fma_test): Add more tests.
12550         (fma_test_towardzero): Likewise.
12551         (fma_test_downward): Likewise.
12552         (fma_test_upward): Likewise.
12554 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12556         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12558 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12560         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12561         New variable.
12563 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12565         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12567 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12570         Fix sort order.
12571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12572         Likewise.
12574 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12577         Fix the order of the list for glibc 2.17.
12578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12579         Likewise.
12581 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12585 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12587         [BZ #14610]
12588         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12589         for low part of x being zero before using __atanl (y).
12590         * math/libm-test.inc (atan2_test): Add another test.
12592         * manual/install.texi (Configuring and compiling): Document
12593         general use of test-wrapper and test-wrapper-env.
12594         * INSTALL: Regenerated.
12596         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12597         (__fma): Do not extract and scale down low bits on after-rounding
12598         systems when result rounded to normal precision would have normal
12599         exponent.
12600         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12601         (__fmal): Do not extract and scale down low bits on after-rounding
12602         systems when result rounded to normal precision would have normal
12603         exponent.
12604         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12605         (__fmal): Do not extract and scale down low bits on after-rounding
12606         systems when result rounded to normal precision would have normal
12607         exponent.
12608         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12609         macro.
12610         (fma_test): Add more tests.
12611         (fma_test_towardzero): Likewise.
12612         (fma_test_downward): Likewise.
12613         (fma_test_upward): Likewise.
12615 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12617         * sysdeps/i386/tininess.h: Renamed to ...
12618         * sysdeps/x86/tininess.h: This.
12619         * sysdeps/x86_64/tininess.h: Removed.
12621 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12623         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12624         input.  Use $(build-program-cmd).
12625         ($(objpfx)tst-array1-static.out): Likewise.
12626         ($(objpfx)tst-array2.out): Likewise.
12627         ($(objpfx)tst-array3.out): Likewise.
12628         ($(objpfx)tst-array4.out): Likewise.
12629         ($(objpfx)tst-array5.out): Likewise.
12630         ($(objpfx)tst-array5-static.out): Likewise.
12632 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12634         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12635         if defined.
12637         * nss/nsswitch.h (nss_interface_function): Provide new
12638         macro for use with NSS functions.
12639         * grp/initgroups.c: Use new macro.
12640         * nss/getXXbyYY.c: Likewise.
12641         * nss/getXXbyYY_r.c: Likewise.
12642         * nss/getXXent.c: Likewise.
12643         * nss/getXXent_r.c: Likewise.
12644         * sysdeps/posix/getaddrinfo.c: Likewise.
12646 2012-10-30  Andreas Jaeger  <aj@suse.de>
12648         * po/ru.po: Update Russion translation from translation project.
12650 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12652         [BZ #14152]
12653         [BZ #14783]
12654         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12655         result and shift together with sticky bit instead of replicating
12656         round-to-nearest rounding.
12657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12658         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12659         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12660         missing underflow exceptions.
12661         (fma_test_towardzero): Add more tests.
12662         (fma_test_downward): Likewise.
12663         (fma_test_upward): Likewise.
12665         [BZ #14047]
12666         * sysdeps/generic/tininess.h: New file.
12667         * sysdeps/i386/tininess.h: Likewise.
12668         * sysdeps/sh/tininess.h: Likewise.
12669         * sysdeps/x86_64/tininess.h: Likewise.
12670         * stdlib/tst-strtod-underflow.c: Likewise.
12671         * stdlib/tst-tininess.c: Likewise.
12672         * stdlib/strtod_l.c: Include <tininess.h>.
12673         (round_and_return): Do not set errno for exact underflow cases.
12674         Force an underflow exception when setting errno for underflow.
12675         Determine underflow based on rounding to normal precision if
12676         TININESS_AFTER_ROUNDING.
12677         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12678         ERANGE for exact underflow cases.
12679         * stdlib/Makefile (tests): Add tst-tininess and
12680         tst-strtod-underflow.
12681         ($(objpfx)tst-tininess): Use $(link-libm).
12682         ($(objpfx)tst-strtod-underflow): Likewise.
12684 2012-10-30  Andreas Jaeger  <aj@suse.de>
12686         [BZ#14767]
12687         * elf/Makefile (tests): Remove conditional for have-initfini-array
12688         since this is now always required and the variable does not exist
12689         anymore.
12690         (tests-static): Likewise.
12691         (modules-names): Likewise.
12693         * po/eo.po: Add Esperanto translation from translation project.
12695         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12696         merged with constructor/destructor.
12697         (init_array): Likewise.
12698         * elf/tst-array2dep.c (fini_array): Likewise.
12699         (init_array): Likewise.
12701 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12703         * manual/message.texi: Delete @cartouche tags.
12705 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12707         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12708         EOPNOTSUPP.
12709         * sysdeps/mach/hurd/fsync.c: Likewise.
12711         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12712         [_POSIX_REALTIME_SIGNALS]: Change condition to
12713         [_POSIX_REALTIME_SIGNALS > 0].
12715 2012-10-27  Andreas Jaeger  <aj@suse.de>
12717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12718         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12719         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12720         [__WORDSIZE != 64]: Likewise.
12722 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12724         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12725         *  iconvdata/tst-tables.sh: Likewise.
12727 2012-10-25  David S. Miller  <davem@davemloft.net>
12729         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12730         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12731         of strtoull.
12733         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12734         ifunc-impl-list.c
12735         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12736         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12737         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12738         file.
12740 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12742         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12743         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12744         __getdirentries.
12746 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12747             Jim Blandy  <jimb@codesourcery.com>
12749         * scripts/cross-test-ssh.sh: New file.
12750         * manual/install.texi (Configuring and compiling): Document use of
12751         cross-test-ssh.sh.
12752         * INSTALL: Regenerated.
12754 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12756         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12757         EOPNOTSUPP.
12759 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12761         * Makeconfig (run-program-prefix): Fix comment.
12763 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12764             Jim Blandy  <jimb@codesourcery.com>
12766         * Makeconfig (test-wrapper): New variable,
12767         (test-wrapper-env): Likewise.
12768         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12769         (run-built-tests): Define to yes.
12770         (run-program-prefix): Use $(test-wrapper).
12771         (built-program-cmd): Likewise.
12772         * Rules (make-test-out): Use $(test-wrapper-env) and
12773         $(host-built-program-cmd).
12774         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12775         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12776         tst-pathopt.sh.
12777         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12778         $(test-wrapper-env) to tst-rtld-load-self.sh.
12779         ($(objpfx)order2.out): Use $(test-wrapper).
12780         ($(objpfx)tst-initorder.out): Likewise.
12781         ($(objpfx)tst-initorder2.out): Likewise.
12782         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12783         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12784         (test_wrapper_env): New variable.  Use it to run ld.so.
12785         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12786         Use it to run ld.so.
12787         (test_wrapper_env): Likewise.
12788         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12789         $(test-wrapper) to run-iconv-test.sh.
12790         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12791         (ICONV): Use $test_wrapper.
12792         * posix/Makefile ($(objpfx)globtest.out): Pass
12793         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12794         globtest.sh, not $(run-program-prefix).
12795         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12796         (test_wrapper): Likewise.
12797         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12798         set together with run_via_rtld_prefix.
12799         (run_program_prefix): Define in terms of test_wrapper and
12800         run_via_rtld_prefix.
12802 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12804         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12805         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12806         Targets removed.
12808         [BZ #14743]
12809         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12810         Declare __clock_getres, __clock_gettime, __clock_settime,
12811         __clock_nanosleep, and __clock_getcpuclockid.
12812         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12813         Remove librt_hidden_def (clock_gettime).
12814         * sysdeps/unix/clock_gettime.c: Likewise.
12815         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12816         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12817         * rt/clock_getres.c: Define __clock_getres as an alias.
12818         * sysdeps/posix/clock_getres.c: Likewise.
12819         * rt/clock_settime.c: Define __clock_settime as an alias.
12820         * sysdeps/unix/clock_settime.c: Likewise.
12821         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12822         * sysdeps/unix/clock_nanosleep.c: Likewise.
12823         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12824         * rt/clock-compat.c: New file.
12825         * rt/Makefile (librt-routines): Add clock-compat and move
12826         $(clock-routines) to ...
12827         (routines): ... here, new variable.
12828         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12829         Don't add get_clockfreq here.
12830         * rt/Versions (libc: GLIBC_2.17): New version set.
12831         Add clock_* symbols here.
12832         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12833         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12834         (GLIBC_2.17): Add clock_* symbols.
12835         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12837         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12839         Likewise.
12840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12841         Likewise.
12842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12846         * NEWS: Mention the move.
12848         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12849         Use __open, __read, __close rather than their public counterparts.
12850         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12851         (__get_clockfreq_via_cpuinfo): Likewise.
12852         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
12853         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
12855         * config.h.in (HAVE_IFUNC): New #undef.
12856         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
12857         was successful.
12858         * configure: Regenerated.
12860 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12862         * configure.in: Move READELF check to start of file.
12863         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
12864         libc_cv_asm_gnu_indirect_function in the process.
12865         * configure: Regenerated.
12867 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
12869         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
12870         send the output to /dev/null.
12871         (libc_cv_cc_with_libunwind): Likewise.
12872         (libc_cv_as_noexecstack): Likewise.
12873         * configure: Regenerate.
12875 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12877         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
12879         * posix/globtest.sh (TMPDIR): Do not set.
12880         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
12881         (testout): Likewise.
12883 2012-10-24  Andreas Jaeger  <aj@suse.de>
12885         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
12886         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
12887         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
12888         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
12889         posix_fadvise64, posix_fallocate64.
12891         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
12892         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
12893         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
12894         Likewise.
12895         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
12896         Likewise.
12897         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
12899         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
12900         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
12901         <bits/fcntl-linux.h>.
12902         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
12904         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
12905         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
12906         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
12907         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
12908         [__WORDSIZE != 64]: Likewise.
12910 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12912         * Makeconfig (run-built-tests): New variable.
12913         * Rules [$(cross-compiling) = yes]: Change condition to
12914         [$(run-built-tests) = no].
12915         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
12916         to [$(run-built-tests) = yes].
12917         * elf/Makefile [$(cross-compiling) = no]: Likewise
12918         * grp/Makefile [$(cross-compiling) = no]: Likewise.
12919         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
12920         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
12921         * intl/Makefile [$(cross-compiling) = no]: Likewise.
12922         * io/Makefile [$(cross-compiling) = no]: Likewise.
12923         * libio/Makefile [$(cross-compiling) = no]: Likewise.
12924         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
12925         * misc/Makefile [$(cross-compiling) = no]: Likewise.
12926         * posix/Makefile [$(cross-compiling) = no]: Likewise.
12927         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
12928         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
12929         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
12930         * string/Makefile [$(cross-compiling) = no]: Likewise.
12932         * posix/Makefile ($(objpfx)globtest.out): Pass
12933         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
12934         $(rtld-installed-name).
12935         * posix/globtest.sh (elf_objpfx): Remove variable.
12936         (rtld_installed_name): Likewise.
12937         (library_path): Likewise.
12938         (run_program_prefix): New variable.  Use for running globtest
12939         binary.
12941 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
12942             Joseph Myers  <joseph@codesourcery.com>
12944         * Makeconfig (host-built-program-cmd): New variable.
12945         * elf/Makefile (tst-stackguard1-ARGS): Use
12946         $(host-built-program-cmd).
12947         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
12948         (tst-spawn-ARGS): Likewise.
12949         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
12951 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
12952             Jim Blandy  <jimb@codesourcery.com>
12954         * Makeconfig (run-via-rtld-prefix): New variable.
12955         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
12956         (built-program-cmd): Likewise.
12958 2012-10-22  Andreas Jaeger  <aj@suse.de>
12960         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
12961         __O_RSYNC if it exists, otherwise to O_SYNC.
12963 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
12964             Joseph Myers  <joseph@codesourcery.com>
12966         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
12967         /dev/null.
12968         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
12969         from /dev/null
12970         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
12971         /dev/null.
12973 2012-10-22  Andreas Jaeger  <aj@suse.de>
12975         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
12976         Define always.
12977         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
12979         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12980         bits/fcntl-linux.h.
12982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
12983         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
12985         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
12986         to __O_LARGEFILE.
12987         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
12988         to __O_LARGEFILE.
12990 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
12991             Joseph Myers  <joseph@codesourcery.com>
12993         * config.make.in (NM): New variable.
12995 2012-10-21  Andreas Jaeger  <aj@suse.de>
12997         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
12998         definitions and declarations that are provided by
12999         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13001 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13003         [BZ #14683]
13004         * elf/Makefile (tests-static): Add tst-leaks1-static.
13005         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13006         ($(objpfx)tst-leaks1-static): New rule.
13007         ($(objpfx)tst-leaks1-static-mem): Likewise.
13008         (tst-leaks1-static-ENV): New macro.
13009         * elf/dl-open.c (dl_open_worker): Check the main application
13010         only if SHARED is defined.
13011         * elf/tst-leaks1-static.c: New file.
13013 2012-10-20  Andreas Jaeger  <aj@suse.de>
13015         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13016         generic values for Linux.
13017         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13018         and declarations that are provided by <bits/fcntl-linux.h> and
13019         include <bits/fcntl-linux.h>.
13020         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13021         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13023 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13025         * io/fcntl.h: Move include of <bits/types.h> to the top and
13026         include it unconditionally.
13028 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13030         * wcsmbs/Makefile (tests-ifunc): New variable.
13031         (tests): Add $(tests-ifunc).
13032         * wcsmbs/test-wcschr-ifunc.c: New file.
13033         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13034         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13035         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13036         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13037         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13039         * string/Makefile (tests-ifunc): New variable.
13040         (tests): Add $(tests-ifunc).
13041         * string/test-memccpy.c (TEST_NAME): New macro.
13042         * string/test-memchr.c (TEST_NAME): Likewise.
13043         * string/test-memcmp.c (TEST_NAME): Likewise.
13044         * string/test-memcpy.c (TEST_NAME): Likewise.
13045         * string/test-memmem.c (TEST_NAME): Likewise.
13046         * string/test-memmove.c (TEST_NAME): Likewise.
13047         * string/test-memset.c (TEST_NAME): Likewise.
13048         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13049         * string/test-stpcpy.c (TEST_NAME): Likewise.
13050         * string/test-stpncpy.c (TEST_NAME): Likewise.
13051         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13052         * string/test-strcasestr.c (TEST_NAME): Likewise.
13053         * string/test-strcat.c (TEST_NAME): Likewise.
13054         * string/test-strchr.c (TEST_NAME): Likewise.
13055         * string/test-strcmp.c(TEST_NAME): Likewise.
13056         * string/test-strcpy.c (TEST_NAME): Likewise.
13057         * string/test-strcspn.c (TEST_NAME): Likewise.
13058         * string/test-strlen.c (TEST_NAME): Likewise.
13059         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13060         * string/test-strncmp.c (TEST_NAME): Likewise.
13061         * string/test-strncpy.c (TEST_NAME): Likewise.
13062         * string/test-strnlen.c (TEST_NAME): Likewise.
13063         * string/test-strpbrk.c (TEST_NAME): Likewise.
13064         * string/test-strrchr.c (TEST_NAME): Likewise.
13065         * string/test-strspn.c (TEST_NAME): Likewise.
13066         * string/test-strstr.c (TEST_NAME): Likewise.
13067         * string/test-bcopy-ifunc.c: New file.
13068         * string/test-bzero-ifunc.c: Likewise.
13069         * string/test-memccpy-ifunc.c: Likewise.
13070         * string/test-memchr-ifunc.c: Likewise.
13071         * string/test-memcmp-ifunc.c: Likewise.
13072         * string/test-memcpy-ifunc.c: Likewise.
13073         * string/test-memmem-ifunc.c: Likewise.
13074         * string/test-memmove-ifunc.c: Likewise.
13075         * string/test-mempcpy-ifunc.c: Likewise.
13076         * string/test-memset-ifunc.c: Likewise.
13077         * string/test-rawmemchr-ifunc.c: Likewise.
13078         * string/test-stpcpy-ifunc.c: Likewise.
13079         * string/test-stpncpy-ifunc.c: Likewise.
13080         * string/test-strcasecmp-ifunc.c: Likewise.
13081         * string/test-strcasestr-ifunc.c: Likewise.
13082         * string/test-strcat-ifunc.c: Likewise.
13083         * string/test-strchr-ifunc.c: Likewise.
13084         * string/test-strchrnul-ifunc.c: Likewise.
13085         * string/test-strcmp-ifunc.c: Likewise.
13086         * string/test-strcpy-ifunc.c: Likewise.
13087         * string/test-strcspn-ifunc.c: Likewise.
13088         * string/test-strlen-ifunc.c: Likewise.
13089         * string/test-strncasecmp-ifunc.c: Likewise.
13090         * string/test-strncat-ifunc.c: Likewise.
13091         * string/test-strncmp-ifunc.c: Likewise.
13092         * string/test-strncpy-ifunc.c: Likewise.
13093         * string/test-strnlen-ifunc.c: Likewise.
13094         * string/test-strpbrk-ifunc.c: Likewise.
13095         * string/test-strrchr-ifunc.c: Likewise.
13096         * string/test-strspn-ifunc.c: Likewise.
13097         * string/test-strstr-ifunc.c: Likewise.
13099         * debug/Makefile (tests-ifunc): New variable.
13100         (tests): Add $(tests-ifunc).
13101         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13102         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13103         * debug/test-stpcpy_chk-ifunc.c: New file.
13104         * debug/test-strcpy_chk-ifunc.c: Likewise.
13106 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13108         [BZ #13601]
13109         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13110         header is not read in.
13112 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13114         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13115         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13116         directly.  Pass built executable to script as
13117         $(built-program-cmd).
13118         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13119         $testprogram without using LD_LIBRARY_PATH and $ldso.
13121         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13122         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13123         $(rtld-installed-name).
13124         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13125         (rtld_installed_name): Likewise.
13126         (library_path): Likewise.
13127         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13128         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13129         $(run-program-prefix) to tst-tables.sh.
13130         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13131         it to run tst-table-from and tst-table-to.
13132         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13133         Pass it to tst-table.sh.
13134         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13135         $(run-program-prefix) to tst-gettext.sh.
13136         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13137         tst-translit.sh.
13138         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13139         tst-gettext2.sh.
13140         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13141         to run tst-gettext.
13142         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13143         to run tst-gettext2.
13144         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13145         to run tst-translit.
13146         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13147         $(run-program-prefix) to tst-mtrace.sh.
13148         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13149         to run tst-mtrace.
13150         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13151         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13152         $(rtld-installed-name).
13153         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13154         (rtld_installed_name): Likewise.
13155         (run_program_prefix): New variable.  Use it to run wordexp-test.
13157         * Makeconfig (ARCH): Remove all definitions.
13158         (machine): Likewise.
13159         [ARCH]: Remove conditional code.
13160         [!objdir]: Give error.
13161         [!objdir] (objpfx): Remove.
13162         [!objdir] (common-objpfx): Likewise.
13163         [!objdir] (common-objdir): Likewise.
13164         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13165         AC_CONFIG_FILES call.
13166         * configure: Regenerated.
13168         [BZ #13888]
13169         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13170         or TMPDIR.
13171         (testout): Likewise.
13173         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13174         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13175         $(rtld-installed-name).
13176         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13177         (rtld_installed_name): Likwise.
13178         (runit): Remove function.
13179         (run_getconf): New variable,  Use it for running getconf binary.
13181 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13183         [BZ #14716]
13184         * string/test-memmem.c (check_result): New function.
13185         (do_one_test): Use it.
13186         (check1): New function.
13187         (test_main): Use it.
13189 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13191         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13193 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13195         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13196         (_G_LSEEK64): Likewise.
13197         (_G_MMAP64): Likewise.
13198         (_G_FSTAT64): Likewise.
13199         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13200         (_G_LSEEK64): Likewise.
13201         (_G_MMAP64): Likewise.
13202         (_G_FSTAT64): Likewise.
13203         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13204         unconditional.  Call __mmap64 directly.
13205         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13206         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13207         __lseek64 directly.
13208         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13209         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13210         __mmap64 directly.
13211         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13212         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13213         __lseek64 directly.
13214         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13215         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13216         __lseek64 directly.
13217         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13218         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13219         __lseek64 directly.
13220         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13221         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13222         __fxstat64 directly.
13223         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13224         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13225         unconditional.
13226         (freopen64) [!_G_OPEN64]: Remove conditional code.
13227         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13228         unconditional.
13229         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13230         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13231         unconditional.
13232         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13233         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13234         unconditional.
13235         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13236         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13237         unconditional.
13238         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13239         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13240         unconditional.
13241         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13242         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13243         unconditional.
13244         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13245         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13246         unconditional.
13247         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13249 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13251         [BZ #12140]
13252         * manual/memory.texi (Malloc Tunable Parameters): Add note
13253         about free list pointers overwriting some perturb bytes.
13254         Wording suggested by Roland McGrath.
13256 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13258         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13259         (lgamma_test): Likewise.
13260         (tgamma_test): Likewise.
13262 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13264         [BZ #14700]
13265         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13266         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13268 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13270         * NEWS: Mention BZ #14716.
13271         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13272         when removing AVAILABLE1_USES_J macro.
13274 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13276         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13277         (__bswap_64): __uint64_t for unsigned 64-bit int.
13279 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13281         * include/string.h (memmem): Declare libc hidden alias.
13282         * string/memmem.c (memmem): Define libc hidden alias.
13283         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13284         __read, __close instead of open, read, close.
13286 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13288         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13289         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13290         global and hidden.
13291         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13292         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13293         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13294         Likewise.
13295         (__rawmemchr_sse2): Likewise.
13296         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13297         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13298         (__strchr_sse2): Likewise.
13299         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13300         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13301         (__strcasecmp_sse2): Likewise.
13302         (__strncasecmp_sse2): Likewise.
13303         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13304         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13305         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13306         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13307         (__strrchr_sse2): Likewise.
13308         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13309         ifunc-impl-list.c.
13310         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13311         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13312         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13313         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13314         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13315         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13316         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13317         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13318         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13319         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13320         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13321         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13322         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13323         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13324         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13325         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13326         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13327         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13328         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13329         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13330         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13331         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13332         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13333         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13334         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13335         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13336         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13337         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13338         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13339         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13341         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13342         global and hidden.
13343         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13344         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13345         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13346         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13347         Likewise.
13348         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13349         Likewise.
13350         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13351         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13352         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13353         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13354         ifunc-impl-list.c.
13355         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13356         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13357         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13358         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13359         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13360         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13361         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13362         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13363         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13364         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13365         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13366         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13367         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13368         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13369         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13370         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13371         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13372         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13373         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13374         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13375         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13376         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13377         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13378         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13379         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13380         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13381         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13382         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13383         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13384         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13385         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13386         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13387         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13388         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13389         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13390         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13391         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13392         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13393         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13394         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13395         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13397         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13398         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13399         * include/ifunc-impl-list.h: New file.
13400         * misc/ifunc-impl-list.c: Likewise.
13401         * misc/Makefile (routines): Add ifunc-impl-list.
13402         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13403         * string/test-string.h: Include <ifunc-impl-list.h>.
13404         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13405         impl_array): New variables.
13406         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13407         are defined.
13408         (test_init): Call __libc_ifunc_impl_list to initialize
13409         func_list if TEST_IFUNC and TEST_NAME are defined.
13411         * string/Makefile (strop-tests): Add bcopy and bzero.
13412         * string/test-bcopy.c: New file.
13413         * string/test-bzero.c: Likewise.
13414         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13415         defined.
13416         * string/test-memset.c: Support bzero test if TEST_BZERO is
13417         defined.
13418         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13419         __libc_memmove.
13420         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13421         __libc_memset.
13422         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13423         of memset.
13425 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13427         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13428         * configure: Regenerated.
13430         * Makeconfig (+link-static-before-libc): Don't include
13431         $(link-static-libc).
13433         * libio/libio.h (_IO_pos_t): Remove.
13435 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13437         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13438         McGrath.
13440 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13442         * crypt/crypt-entry.c: Include fips-private.h.
13443         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13444         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13445         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13446         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13448 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13450         * crypt/crypt-private.h: Include stdbool.h.
13451         (_ufc_setup_salt_r): Return bool.
13452         * crypt/crypt-entry.c: Include errno.h.
13453         (__crypt_r): Return NULL with EINVAL for bad salt.
13454         * crypt/crypt_util.c (bad_for_salt): New.
13455         (_ufc_setup_salt_r): Check that salt is long enough and within
13456         the specified alphabet.
13457         * crypt/badsalttest.c: New file.
13458         * crypt/Makefile (tests): Add it.
13459         ($(objpfx)badsalttest): New.
13461 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13463         * NEWS: Add entry for BZ #14602.
13465 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13467         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13468         type-generic.
13469         * math/libm-test.inc: Update comment listing what functions and
13470         macros are tested.
13471         (isgreater_test): New function.
13472         (isgreaterequal_test): Likewise.
13473         (isless_test): Likewise.
13474         (islessequal_test): Likewise.
13475         (islessgreater_test): Likewise.
13476         (isunordered_test): Likewise.
13477         (main): Call the new functions.
13479 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13481         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13482         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13483         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13484         * sysdeps/i386/configure: Regenerated.
13485         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13486         * sysdeps/mach/configure: Regenerated.
13487         * sysdeps/mach/hurd/configure: Regenerated.
13488         * sysdeps/powerpc/configure: Regenerated.
13489         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13490         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13491         * sysdeps/s390/s390-32/configure: Regenerated.
13492         * sysdeps/s390/s390-64/configure: Regenerated.
13493         * sysdeps/sh/configure: Regenerated.
13494         * sysdeps/sparc/configure: Regenerated.
13495         * sysdeps/unix/sysv/linux/configure: Regenerated.
13496         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13497         * sysdeps/x86_64/configure: Regenerated.
13499         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13500         defined.  Don't check if MAP is NULL.
13502 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13504         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13505         (_G_stat64): Likewise.
13506         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13507         (_G_stat64): Likewise.
13508         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13509         instead of struct _G_stat64.
13510         * libio/fileops.c (mmap_remap_check): Likewise.
13511         (decide_maybe_mmap): Likewise.
13512         (_IO_new_file_seekoff): Likewise.
13513         (_IO_file_stat): Likewise.
13514         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13515         _G_off64_t.
13516         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13517         instead of struct _G_stat64.
13518         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13520 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13522         [BZ #14602]
13523         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13524         Replace with ...
13525         (CHECK_EOL): New macro.
13526         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13527         CHECK_EOL.
13528         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13529         Replace with CHECK_EOL.
13530         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13531         Replace with CHECK_EOL.
13533 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13535         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13536         type-generic.
13537         * math/libm-test.inc: Update comment listing what functions and
13538         macros are tested.
13539         (finite_test): New function.
13540         (isinf_test): Likewise.
13541         (isnan_test): Likewise.
13542         (fpclassify_test): Test subnormal input.
13543         (isfinite_test): Likewise.
13544         (isnormal_test): Likewise.
13545         (main): Call the new functions.
13547 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13549         [BZ #14660]
13550         * Makerules (%.dynsym): Force C locale when running
13551         $(OBJDUMP) --dynamic-syms.
13553 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13555         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13556         <stdint.h>.
13558 2012-10-06  David S. Miller  <davem@davemloft.net>
13560         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13561         upper 32-bits of the length value in %o2 since we use branch-on-register
13562         tests which consider the entire 64-bit register.
13564 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13566         * string/test-strstr.c (check2): Add a test for page boundary.
13568 2012-10-05  David S. Miller  <davem@davemloft.net>
13570         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13571         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13572         file.
13573         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13574         sysdep_routines.
13575         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13576         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13577         and bzero when HWCAP_SPARC_CRYPTO is present.
13579 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13581         [BZ #14602]
13582         * string/test-strstr.c (check2): New function.
13583         (test_main): Call check2.
13585         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13586         and bug-strchr1.
13587         * string/bug-strcasestr1.c (do_test): Moved to ...
13588         * string/test-strcasestr.c (check1): Here.  New function.
13589         (do_one_test): Break out result checking code into ...
13590         (check_result): This.  New function.
13591         (do_one_test): Call check_result.
13592         (test_main): Call check1.
13593         * string/bug-strchr1.c (do_test): Moved to ...
13594         * string/test-strchr.c (check1): Here.  New function.
13595         (do_one_test): Break out result checking code into ...
13596         (check_result): This.  New function.
13597         (do_one_test): Call check_result.
13598         (test_main): Call check1.
13599         * string/bug-strstr1.c (main): Moved to ...
13600         * string/test-strstr.c (check1): Here.  New function.
13601         (do_one_test): Break out result checking code into ...
13602         (check_result): This.  New function.
13603         (do_one_test): Call check_result.
13604         (test_main): Call check1.
13605         * string/bug-strcasestr1.c: Removed.
13606         * string/bug-strchr1.c: Likewise.
13607         * string/bug-strstr1.c: Likewise.
13609         * elf/Makefile (dl-routines): Add hwcaps.
13610         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13611         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13612         (_dl_important_hwcaps): Moved to ...
13613         * elf/dl-hwcaps.c: Here.  New file.
13614         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13616         [BZ #14557]
13617         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13618         if IS_IN_rtld isn't defined.
13620         * elf/dl-support.c (_dl_sysinfo_map): New.
13621         Include "get-dynamic-info.h" and "setup-vdso.h".
13622         (_dl_non_dynamic_init): Call setup_vdso.
13623         * elf/dynamic-link.h: Don't include <assert.h>.
13624         (elf_get_dynamic_info): Moved to ...
13625         * elf/get-dynamic-info.h: Here.  New file.
13626         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13627         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13628         * elf/setup-vdso.h: Here.  New file.
13629         * elf/rtld.c: Include "setup-vdso.h".
13630         (dl_main): Call setup_vdso.
13632 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13634         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13635         creal in comment listing functions tested.  List finite, isinf,
13636         isnan, isless, islessequal, isgreater, isgreaterequal,
13637         islessgreater, isunordered, lgamma_r and pow10 as functions and
13638         macros not tested.  Mention which functions not tested are aliases
13639         for other functions.  Fix typo.  Note that signs of NaNs are not
13640         tested.
13642         * scripts/config.guess: Update from config.git.
13643         * scripts/config.sub: Likewise.
13645 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13647         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13648         * misc/madvise.c (madvise): Renamed to __madvise.
13649         Make madvise a weak alias.
13650         * include/sys/mman.h: Declare __madvise.
13651         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13652         * sysdeps/unix/syscalls.list
13653         (madvise): Make __madvise the strong name, and madvise a weak alias.
13654         * sysdeps/unix/sysv/linux/syscalls.list
13655         (madvise, mmap): Remove redundant entries.
13656         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13657         * malloc/malloc.c (mtrim): Likewise.
13658         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13660 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13662         * sysdeps/mach/hurd/dl-cache.c: File removed.
13663         * config.h.in (USE_LDCONFIG): New #undef.
13664         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13665         * configure: Regenerated.
13666         * elf/Makefile (dl-routines): Add dl-cache only under
13667         [$(use-ldconfig) = yes].
13668         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13669         cache on [USE_LDCONFIG].
13670         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13671         [USE_LDCONFIG].
13672         * elf/rtld.c (dl_main): Likewise.
13674 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13676         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13677         _SC_LEVEL4_CACHE_LINESIZE.
13679 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13681         * sysdeps/unix/bsd/confstr.h: File removed.
13683 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13685         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13686         sys/sdt-config.h.
13688 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13690         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13691         Make 'mapoff' field ElfW(Off) rather than off_t.
13693 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13695         * nscd/Makefile: Remove nscd-cflags and all its users.
13696         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13697         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13699         [BZ #10631]
13700         * malloc.c (malloc_printerr): Clarify error message.
13702 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13704         [BZ #14648]
13705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13706         Set bit_FMA_Usable if FMA is supported.
13707         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13708         macro.
13709         (bit_FMA4_Usable): Updated.
13710         (index_FMA_Usable): New macro.
13711         (CPUID_FMA): Likewise
13712         (HAS_FMA): Defined with bit_FMA_Usable.
13714 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13716         * bits/types.h (__swblk_t): Type removed.
13717         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13718         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13720         (__SWBLK_T_TYPE): Likewise.
13721         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13722         (__SWBLK_T_TYPE): Likewise.
13723         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13724         (__SWBLK_T_TYPE): Likewise.
13725         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13726         (__SWBLK_T_TYPE): Likewise.
13728 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13729             Honza Horak <hhorak@redhat.com>
13731         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13732         (xdr_mapname): Use YPMAXMAP as maxsize.
13733         (xdr_peername): Use YPMAXPEER as maxsize.
13734         (xdr_keydat): Use YPAXRECORD as maxsize.
13735         (xdr_valdat): Use YPMAXRECORD as maxsize.
13737 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13739         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13741         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13742         * csu/init-first.c: ... here.
13743         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13744         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13745         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13746         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13747         * sysdeps/i386/init-first.c: File removed.
13748         * sysdeps/sh/init-first.c: File removed.
13750 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13752         [BZ #14645]
13753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13754         if x * y might underflow to zero and z is zero.
13755         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13756         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13757         * math/libm-test.inc (min_subnorm_value): New variable.
13758         (fma_test): Add more tests.
13759         (fma_test_towardzero): Likewise.
13760         (fma_test_downward): Likewise
13761         (fma_test_upward): Likewise.
13762         (initialize): Set min_subnorm_value.
13764 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13766         [BZ #14638]
13767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13768         0 + 0.
13769         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13770         mode for addition resulting in exact zero.
13771         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13773         exact 0 + 0.
13774         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13775         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13776         * math/libm-test.inc (fma_test): Add more tests.
13777         (fma_test_towardzero): New function.
13778         (fma_test_downward): Likewise.
13779         (fma_test_upward): Likewise.
13780         (main): Call the new functions.
13782 2012-09-28  David S. Miller  <davem@davemloft.net>
13784         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13786 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13788         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13789         instead of SIGALRM.
13791         * sysdeps/gnu/_G_config.h: Moved to ...
13792         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13793         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13794         * sysdeps/generic/_G_config.h: ... here.
13796         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13798         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13800         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13801         Conditionalize target on [libnss_test1.so-version].
13803         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13805         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13806         (elfobjdir): Move out of conditionals.
13808         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13809         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13810         (__nss_lookup_function): Conditionalize label remove_from_tree on
13811         [!DO_STATIC_NSS || SHARED], matching its only use.
13813 2012-09-28  David S. Miller  <davem@davemloft.net>
13815         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13816         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13817         file.
13818         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13819         sysdep_routines.
13820         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13821         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13822         when HWCAP_SPARC_CRYPTO is present.
13824 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13826         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13828 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13830         [BZ #6530]
13831         * stdio-common/vfprintf.c (process_string_arg): Revert
13832         2000-07-22 change.
13834 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13836         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13837         for testcase.
13838         * stdio-common/tst-sprintf.c: Include <locale.h>
13839         (main): Test sprintf's handling of incomplete multibyte
13840         characters.
13842 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13844         * elf/dl-runtime.c (VERSYMIDX): Removed.
13845         * elf/dl-version.c (VERSYMIDX): Likewise.
13846         * elf/do-rel.h (VERSYMIDX): Likewise.
13847         (VALIDX): Likewise.
13848         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13849         * elf/rtld.c (VALIDX): Likewise.
13850         (ADDRIDX): Likewise.
13851         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13852         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
13853         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
13854         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
13855         (VALIDX): Likewise.
13856         (ADDRIDX): Likewise.
13858 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13860         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
13862 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
13864         [BZ #11438]
13865         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
13866         to global scope.
13867         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
13868         addresses are in the same scope as 192.0.2/24.
13869         * posix/gai.conf: Document new scope table defaults.
13871 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13873         [BZ #5298]
13874         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
13875         for ftell.  Compute offsets from write pointers instead.
13876         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13878 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13880         [BZ #14543]
13881         * libio/Makefile (tests): New test case tst-fseek.
13882         * libio/tst-fseek.c: New test case to verify that fseek/ftell
13883         combination works in wide mode.
13884         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
13885         state when the external buffer state changes.
13887 2012-09-27  David S. Miller  <davem@davemloft.net>
13889         [BZ #14376]
13890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
13891         pass reloc->r_addend in as the 'high' argument to
13892         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
13894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13896 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13898         * rt/tst-aio2.c: Include <pthread.h>.
13899         * rt/tst-aio3.c: Likewise.
13901 2012-09-27  Steve Ellcey  <sellcey@mips.com>
13903         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
13905 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
13907         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
13908         contents on [SHARED].
13910 2012-09-26  Marek Polacek  <polacek@redhat.com>
13912         [BZ #14530]
13913         [BZ #13741]
13914         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
13915         for C++ and GCC <4.3 as well as for non GCC compilers.
13917 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
13919         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13921 2012-09-25  Roland McGrath  <roland@hack.frob.com>
13923         * Makefile.in (all, install): Declare with .PHONY.
13924         Reported by Michael Hope <michael.hope@linaro.org>.
13926 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13928         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
13929         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
13930         system header.
13931         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
13932         Likewise.
13933         (sydep_routines): Add the new and the internal functions.
13934         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
13935         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
13937         (GLIBC_2.17): Add the new function.
13938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
13939         (GLIBC_2.17): Likewise.
13940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
13941         (GLIBC_2.17): Likewise.
13942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
13943         (GLIBC_2.17): Likewise.
13944         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
13946 2012-09-25  Alan Modra  <amodra@gmail.com>
13948         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
13949         Add release barrier before setting once_control to say
13950         initialisation is done.  Add hints on lwarx.  Use macro in
13951         place of isync.
13952         (clear_once_control): Add release barrier.
13954 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
13956         [BZ #13629]
13957         * math/s_clog.c (__clog): Handle more values close to |z| = 1
13958         specially.
13959         * math/s_clog10.c (__clog10): Likewise.
13960         * math/s_clog10f.c (__clog10f): Likewise.
13961         * math/s_clog10l.c (__clog10l): Likewise.
13962         * math/s_clogf.c (__clogf): Likewise.
13963         * math/s_clogl.c (__clogl): Likewise.
13964         * math/Makefile (libm-calls): Add x2y2m1.
13965         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
13966         (__x2y2m1): Likewise.
13967         (__x2y2m1l): Likewise.
13968         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
13969         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
13970         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
13971         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13972         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
13973         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
13974         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
13975         * sysdeps/i386/fpu/libm-test-ulps: Update.
13976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13978         [BZ #14621]
13979         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
13980         int as type of variable DEPTH.
13981         (glob): Use size_t instead of int as type of variables NEWCOUNT
13982         and OLD_PATHC.
13984 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
13986         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13987         Add s_sincosf-sse2.
13988         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
13989         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
13990         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
13991         macros for using routine as __sincosf_ia32.
13992         Use macro for function declaration and weak_alias.
13993         * sysdeps/i386/fpu/libm-test-ulps: Update.
13995         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
13996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13998         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
13999         subnormal argument.
14000         * math/s_cexpf.c (__cexpf): Likewise.
14001         * math/s_csinf.c (__csinf): Likewise.
14002         * math/s_csinhf.c (__csinhf): Likewise.
14003         * math/s_ctanf.c (__ctanf): Likewise.
14004         * math/s_ctanhf.c (__ctanhf): Likewise.
14005         * math/s_ccosh.c (__ccoshf): Likewise.
14006         * math/s_cexp.c (__cexpl): Likewise.
14007         * math/s_csin.c (__csin): Likewise.
14008         * math/s_csinh.c (__csinh): Likewise.
14009         * math/s_ctan.c (__ctan): Likewise.
14010         * math/s_ctanh.c (ctanh): Likewise.
14011         * math/s_ccoshl.c (__ccoshl): Likewise.
14012         * math/s_cexpl.c (__cexpl): Likewise.
14013         * math/s_csinl.c (__csinl): Likewise.
14014         * math/s_csinhl.c (__csinhl): Likewise.
14015         * math/s_ctanl.c (__ctanl): Likewise.
14016         * math/s_ctanhl.c (__ctanhl): Likewise.
14018 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14020         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14021         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14022         (_IO_off_t): Define to __off_t, not _G_off_t.
14023         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14024         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14025         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14026         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14027         type of __dummy and __dummy2 fields.
14028         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14029         (_G_ssize_t): Likewise.
14030         (_G_off_t): Likewise.
14031         (_G_pid_t): Likewise.
14032         (_G_uid_t): Likewise.
14033         (_G_wchar_t): Likewise.
14034         (_G_wint_t): Likewise.
14035         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14036         (_G_ssize_t): Likewise.
14037         (_G_off_t): Likewise.
14038         (_G_pid_t): Likewise.
14039         (_G_uid_t): Likewise.
14040         (_G_wchar_t): Likewise.
14041         (_G_wint_t): Likewise.
14042         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14043         (_G_ssize_t): Likewise.
14044         (_G_off_t): Likewise.
14045         (_G_pid_t): Likewise.
14046         (_G_uid_t): Likewise.
14047         (_G_wchar_t): Likewise.
14048         (_G_wint_t): Likewise.
14050 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14052         * malloc/arena.c: Include malloc-sysdep.h.
14053         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14054         is sufficient to shrink the heap or an unmap is needed.
14055         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14056         new function check_may_shrink_heap.
14057         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14058         new function check_may_shrink_heap.
14060 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14062         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14063         comments.
14065 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14067         * catgets/test-gencat.sh: Add "set -e".
14068         * elf/tst-pathopt.sh: Likewise.
14069         * grp/tst_fgetgrent.sh: Likewise.
14070         * iconvdata/run-iconv-test.sh: Likewise.
14071         * intl/tst-gettext.sh: Likewise.
14072         * intl/tst-gettext2.sh: Likewise.
14073         * intl/tst-gettext4.sh: Likewise.
14074         * intl/tst-gettext6.sh: Likewise.
14075         * intl/tst-translit.sh: Likewise.
14076         * io/ftwtest-sh: Likewise.
14077         * libio/test-freopen.sh: Likewise.
14078         * malloc/tst-mtrace.sh: Likewise.
14079         * posix/globtest.sh: Likewise.
14080         * posix/tst-getconf.sh: Likewise.
14081         * posix/wordexp-tst.sh: Likewise.
14082         * stdio-common/tst-printf.sh: Likewise.
14083         * stdio-common/tst-unbputc.sh: Likewise.
14084         * stdlib/tst-fmtmsg.sh: Likewise.
14085         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14086         * catgets/Makefile: Do not specify -e option when running
14087         testsuite shell scripts.
14088         * elf/Makefile: Likewise.
14089         * grp/Makefile: Likewise.
14090         * iconvdata/Makefile: Likewise.
14091         * intl/Makefile: Likewise.
14092         * io/Makefile: Likewise.
14093         * libio/Makefile: Likewise.
14094         * malloc/Makefile: Likewise.
14095         * posix/Makefile: Likewise.
14096         * stdio-common/Makefile: Likewise.
14097         * stdlib/Makefile: Likewise.
14098         * sysdeps/x86_64/Makefile: Likewise.
14100         * io/ftwtest-sh: Add copyright header.
14101         * posix/globtest.sh: Likewise.
14102         * posix/tst-getconf.sh: Likewise.
14103         * posix/wordexp-tst.sh: Likewise.
14104         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14106 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14108         [BZ #13679]
14109         * Makeconfig (+link): Defined as $(+link-static) if
14110         $(build-shared) isn't yes.
14111         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14112         isn't yes.
14113         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14115         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14117         [BZ #14562]
14118         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14119         new chunk size with MALLOC_ALIGN_MASK.
14121 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14123         [BZ #5044]
14124         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14125         <rounding-mode.h>.
14126         (__printf_fphex): Determine rounding using get_rounding_mode and
14127         round_away.
14128         * stdio-common/tst-printf-round.c (struct hex_test): New
14129         structure.
14130         (hex_tests): New variable.
14131         (test_hex_in_one_mode): New function.
14132         (do_test): Also run tests for hex float output.
14134 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14136         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14137         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14138         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14139         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14140         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14141         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14142         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14143         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14145 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14147         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14148         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14149         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14150         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14152 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14154         [BZ #14579]
14155         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14156         mode only.
14157         * elf/tst-rtld-load-self.sh: New test.
14158         * elf/Makefile: Run it.
14160 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14162         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14163         (tst-writev-ENV): Remove.
14164         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14166 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14168         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14170 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14172         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14173         unconditional.
14174         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14175         Likewise.
14176         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14177         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14178         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14179         Likewise.
14181 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14183         [BZ #14587]
14184         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14185         * config.make.in (have-cpp-asm-debuginfo): Removed.
14186         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14187         * configure: Regenerated.
14189 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14191         [BZ #5044]
14192         * stdio-common/printf_fp.c: Include <stdbool.h> and
14193         <rounding-mode.h>.
14194         (___printf_fp): Determine rounding using get_rounding_mode and
14195         round_away.
14196         * stdio-common/tst-printf-round.c: New file.
14197         * stdio-common/Makefile (tests): Add tst-printf-round.
14198         (link-libm): New variable.
14199         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14201 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14203         [BZ #14576]
14204         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14205         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14206         Likewise.
14207         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14208         Likewise.
14210 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14212         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14213         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14214         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14215         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14217 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14219         [BZ #14518]
14220         * include/rounding-mode.h: New file.
14221         * sysdeps/generic/get-rounding-mode.h: Likewise.
14222         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14223         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14224         (MAX_VALUE): New macro.
14225         (MIN_VALUE): Likewise.
14226         (overflow_value): New function.
14227         (underflow_value): Likewise.
14228         (round_and_return): Use overflow_value and underflow_value to
14229         determine return values in overflow and underflow cases.  Use
14230         round_away to determine rounding depending on rounding mode.
14231         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14232         determine return values in overflow and underflow cases.
14233         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14234         (struct test_results): New structure.
14235         (struct test): Use struct test_results to store expected results
14236         for all rounding modes.
14237         (TEST): Include expected results for all rounding modes.
14238         (test_in_one_mode): New function.
14239         (do_test): Use test_in_one_mode to compute and check results.
14240         Check results for all rounding modes.
14241         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14242         $(link-libm).
14244 2012-12-09  Allan McRae  <allan@archlinux.org>
14246         * sysdeps/i386/fpu/libm-test-ulps: Update
14248 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14250         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14251         (_G_int32_t): Likewise.
14252         (_G_uint16_t): Likewise.
14253         (_G_uint32_t): Likewise.
14254         (_G_HAVE_BOOL): Likewise.
14255         (_G_HAVE_ATEXIT): Likewise.
14256         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14257         (_G_HAVE_IO_FILE_OPEN): Likewise.
14258         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14259         (_G_int32_t): Likewise.
14260         (_G_uint16_t): Likewise.
14261         (_G_uint32_t): Likewise.
14262         (_G_HAVE_BOOL): Likewise.
14263         (_G_HAVE_ATEXIT): Likewise.
14264         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14265         (_G_HAVE_IO_FILE_OPEN): Likewise.
14266         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14267         (_G_int32_t): Likewise.
14268         (_G_uint16_t): Likewise.
14269         (_G_uint32_t): Likewise.
14270         (_G_HAVE_BOOL): Likewise.
14271         (_G_HAVE_ATEXIT): Likewise.
14272         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14273         (_G_HAVE_IO_FILE_OPEN): Likewise.
14275 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14277         * csu/libc-tls.c: Update copyright years.
14279 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14281         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14282         [!_G_USING_THUNKS]: Remove conditional code.
14283         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14284         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14286         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14287         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14288         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14289         (_G_VTABLE_LABEL_PREFIX): Likewise.
14290         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14291         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14292         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14293         (_G_VTABLE_LABEL_PREFIX): Likewise.
14294         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14295         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14296         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14297         (_G_VTABLE_LABEL_PREFIX): Likewise.
14298         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14300 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14302         * libio/Makefile: Include ../Makeconfig before tests.
14303         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14304         only if $(build-shared) is yes.
14306         * iconv/gconv_db.c: Update copyright years.
14308 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14310         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14311         unwind info if defined PIC. Fix special cases description.
14312         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14314         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14315         DP_HI_MASK entry.
14316         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14318 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14320         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14322         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14323         is NULL.
14325         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14326         (LDLIBS-tst-chk4): This.
14327         (LDFLAGS-tst-chk5): Renamed to ...
14328         (LDLIBS-tst-chk5): This.
14329         (LDFLAGS-tst-chk6): Renamed to ...
14330         (LDLIBS-tst-chk6): This.
14331         (LDFLAGS-tst-lfschk4): Renamed to ...
14332         (LDLIBS-tst-lfschk4): This.
14333         (LDFLAGS-tst-lfschk5): Renamed to ...
14334         (LDLIBS-tst-lfschk5): This.
14335         (LDFLAGS-tst-lfschk6): Renamed to ...
14336         (LDLIBS-tst-lfschk6): This.
14338         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14339         on $(common-objpfx)soversions.mk.
14341 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14343         [BZ #10014]
14344         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14345         example host name.
14347 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14349         * malloc/arena.c (arena_get_retry): New function that gets
14350         another arena for the caller to try its request on.
14351         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14352         current arena cannot fulfill the request.
14353         (__libc_memalign): Likewise.
14354         (__libc_memalign): Likewise.
14355         (__libc_pvalloc): Likewise.
14356         (__libc_calloc): Likewise.
14358 2012-09-05  John Tobey  <john.tobey@gmail.com>
14360         [BZ #13542]
14361         * manual/arith.texi (Operations on Complex): Fix description
14362         of carg branch cut.
14364 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14366         [BZ #10014]
14367         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14368         host name.
14370         [BZ #10038]
14371         * manual/memory.texi (Memory): Make order of menu items match
14372         order of sections.
14374 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14376         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14377         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14378         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14380 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14382         * csu/libc-tls.c (static_dtv): Renamed to ...
14383         (_dl_static_dtv): This.  Make it global.
14384         (_dl_initial_dtv): Removed.
14385         (__libc_setup_tls): Updated.
14386         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14387         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14388         DL_INITIAL_DTV.
14390 2012-09-06  Petr Machata  <pmachata@redhat.com>
14392         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14393         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14394         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14395         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14397 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14399         [BZ #14545]
14400         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14401         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14402         freeing dtv[-1].
14404 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14406         [BZ #14544]
14407         * Makeconfig (link-static-before-libc): Replace $(+prector)
14408         with $(+prectorT).
14409         (link-static-after-libc): Replace $(+postctor) with
14410         $(+postctorT).
14411         (link-bounded): Replace $(+prector)/$(+postctor) with
14412         $(+prectorT)/$(+postctorT).
14413         (+prectorT): New macro.
14414         (+postctorT): Likewise.
14416 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14418         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14419         (round_str): Handle values above the maximum for IBM long double
14420         as inexact.
14421         * stdlib/tst-strtod-round.c (tests): Regenerated.
14423 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14425         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14426         assembler flag.
14427         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14428         zarch_nohighgprs around the zarch optimized routines.
14429         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14430         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14431         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14432         for zarch.
14434 2012-09-05  David S. Miller  <davem@davemloft.net>
14436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14438         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14439         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14440         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14441         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14442         entries.
14444 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14446         * malloc/arena.c: Fold copyright years.
14447         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14449 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14451         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14453 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14455         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14457 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14459         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14460         change internal state upon failure.
14462 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14464         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14465         * malloc/memusage.c (mmap): Likewise.
14466         (mmap64, mremap): Likewise.  Adjust name in comment.
14468 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14470         * libio/fileops.c: Fix typos in comments.
14471         * libio/oldfileops.c: Likewise.
14472         * libio/wfileops.c: Likewise.
14474 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14476         [BZ #1349]
14477         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14478         (tst-malloc-usable-ENV): Set environment for test case.
14479         * malloc/hooks.c (malloc_check_get_size): New function to get
14480         requested size.
14481         * malloc/malloc.c (musable): Use malloc_check_get_size.
14482         * malloc/tst-malloc-usable.c: New test case.
14484 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14486         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14488 2012-09-05  Allan McRae  <allan@archlinux.org>
14490         [BZ #13966]
14491         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14492         determine header location.
14493         * configure: Regenerated.
14495 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14497         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14498         float format.
14499         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14500         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14501         format.
14502         (test): Regenerate.
14504 2012-09-04  David S. Miller  <davem@davemloft.net>
14506         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14507         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14508         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14510 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14512         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14513         failures.
14515         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14517 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14519         [BZ #9914]
14520         * libio/iogetdelim.c: Include <limits.h>.
14521         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14522         + len + 1 would overflow.
14524 2012-09-03  Andreas Jaeger  <aj@suse.de>
14526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14527         * sysdeps/i386/fpu/libm-test-ulps: Update.
14529 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14531         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14532         Add s_sinf-sse2, s_conf-sse2.
14534         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14535         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14536         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14537         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14539         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14540         for using routine as __sinf_ia32.
14541         Use macro for function declaration and weak_alias.
14542         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14543         for using routine as __cosf_ia32.
14544         Use macro for function declaration and weak_alias.
14546         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14547         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14549         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14550         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14553         * math/libm-test.inc (cos_test): Add more test cases.
14554         (sin_test): Likewise.
14555         (sincos_test): Likewise.
14557 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14559         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14560         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14561         hidden.
14562         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14564 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14566         [BZ #14538]
14567         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14568         first element of the GOT.
14569         (elf_machine_load_address): Return the difference between
14570         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14572 2012-09-01  Allan McRae  <allan@archlinux.org>
14574         [BZ #13412]
14575         * configure.in (AWK): Require gawk version 3.0 or later.
14576         * configure: Regenerated.
14578 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14580         * sysdeps/unix/sysv/linux/kernel-features.h
14581         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14582         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14583         [__NR_clock_getres]: Make code unconditional.
14584         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14585         (clock_getcpuclockid): Remove code left unreachable by removal of
14586         conditionals.
14587         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14588         code unconditional.
14589         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14590         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14591         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14592         Make code unconditional.
14593         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14594         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14595         * sysdeps/unix/sysv/linux/clock_settime.c
14596         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14597         conditional code.
14598         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14599         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14601 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14603         [BZ #14476]
14604         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14605         scripts/test-installation.pl.
14607         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14608         and $ld_so_version if it is set.
14610 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14612         [BZ #14516]
14613         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14614         failure if reading from procfs failed.
14615         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14617 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14619         * sysdeps/unix/sysv/linux/kernel-features.h
14620         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14621         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14622         Remove conditional code.
14623         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14624         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14625         Remove conditional code.
14626         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14627         * sysdeps/unix/sysv/linux/i386/fxstat.c
14628         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14629         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14630         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14631         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14632         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14633         * sysdeps/unix/sysv/linux/i386/lxstat.c
14634         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14635         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14636         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14637         Remove conditional code.
14638         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14639         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14640         Remove conditional code.
14641         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14642         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14643         <kernel-features.h>.
14644         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14645         Remove.
14646         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14647         Remove conditional code.
14648         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14649         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14650         Remove conditional.
14652 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14654         [BZ #5400]
14655         * NEWS: Add fixed bug number.
14657 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14659         [BZ #14519]
14660         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14661         underflowing exponent in case of negative sign.
14662         * stdlib/tst-strtod-round-data: Add more tests.
14663         * stdlib/tst-strtod-round.c (tests): Regenerated.
14665         [BZ #3479]
14666         * stdlib/strtod_l.c (NDIG): Remove.
14667         (HEXNDIG): Likewise.
14668         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14669         smallest representable value.
14670         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14671         lie within an exact representation of 1/2 ulp of the result.
14672         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14673         unconditionally.
14674         (TENS_P9_IDX): Define unconditionally.
14675         (TENS_P9_SIZE): Likewise.
14676         (TENS_P10_IDX): Likewise.
14677         (TENS_P10_SIZE): Likewise.
14678         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14679         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14680         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14681         entries for 10^2^13 and 10^2^14.
14682         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14683         (TENS_P13_IDX): Define.
14684         (TENS_P13_SIZE): Likewise.
14685         (TENS_P14_IDX): Likewise.
14686         (TENS_P14_SIZE): Likewise.
14687         (_fpioconst_pow10): Change array size to
14688         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14689         unconditional.
14690         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14691         1024]: Add entries for 10^2^13 and 10^2^14.
14692         [LAST_POW10 > _LAST_POW10]: Remove #error.
14693         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14694         (_fpioconst_pow10): Change array size to
14695         FPIOCONST_POW10_ARRAY_SIZE.
14696         * stdlib/gen-fpioconst.c: New file.
14697         * stdlib/gen-tst-strtod-round.c: Likewise.
14698         * stdlib/tst-strtod-round-data: Likewise.
14699         * stdlib/tst-strtod-round.c: Likewise.
14700         * stdlib/Makefile (tests): Add tst-strtod-round.
14702         [BZ #14459]
14703         * stdlib/strtod_l.c: Include <stdint.h>.
14704         (NDEBUG): Do not define.
14705         (round_and_return): Change EXPONENT parameter to type intmax_t.
14706         Rearrange calculations to avoid internal overflow possibilities.
14707         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14708         Rearrange calculations to avoid internal overflow possibilities.
14709         Assert that number fits inside MPNSIZE limbs.
14710         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14711         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14712         calculations and add assertions to avoid internal overflow
14713         possibilities.  Add casts to avoid signed/unsigned operations.
14714         * stdlib/tst-strtod-overflow.c: New file.
14715         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14717 2012-08-25  Marek Polacek  <polacek@redhat.com>
14719         * time/time.h: Fix some typos in comments.
14721 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14723         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14724         * posix/tst-rfc3484-2.c: Likewise.
14725         * posix/tst-rfc3484-3.c: Likewise.
14727 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14729         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14730         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14732 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14734         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14735         #include of fxstatat64.c.
14737 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14739         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14740         * shadow/getspent_r.c: Likewise.
14741         * shadow/getspnam.c: Likewise.
14742         * shadow/getspnam_r.c: Likewise.
14743         * gshadow/getsgent.c: Likewise.
14744         * gshadow/getsgent_r.c: Likewise.
14745         * gshadow/getsgnam.c: Likewise.
14746         * gshadow/getsgnam_r.c: Likewise.
14747         * inet/getnetbyad.c: Likewise.
14748         * inet/getnetbyad_r.c: Likewise.
14749         * inet/getnetbynm.c: Likewise.
14750         * inet/getnetbynm_r.c: Likewise.
14751         * inet/getnetent.c: Likewise.
14752         * inet/getnetent_r.c: Likewise.
14753         * inet/getproto.c: Likewise.
14754         * inet/getproto_r.c: Likewise.
14755         * inet/getprtent.c: Likewise.
14756         * inet/getprtent_r.c: Likewise.
14757         * inet/getprtname.c: Likewise.
14758         * inet/getprtname_r.c: Likewise.
14759         * inet/getrpcbyname.c: Likewise.
14760         * inet/getrpcbyname_r.c: Likewise.
14761         * inet/getrpcbynumber.c: Likewise.
14762         * inet/getrpcbynumber_r.c: Likewise.
14763         * inet/getrpcent.c: Likewise.
14764         * inet/getrpcent_r.c: Likewise.
14765         * inet/getaliasent.c: Likewise.
14766         * inet/getaliasent_r.c: Likewise.
14767         * inet/getaliasname.c: Likewise.
14768         * inet/getaliasname_r.c: Likewise.
14769         * nscd/getgrgid_r.c: Likewise.
14770         * nscd/getgrnam_r.c: Likewise.
14771         * nscd/gethstbyad_r.c: Likewise.
14772         * nscd/gethstbynm3_r.c: Likewise.
14773         * nscd/getpwnam_r.c: Likewise.
14774         * nscd/getpwuid_r.c: Likewise.
14775         * nscd/getsrvbynm_r.c: Likewise.
14776         * nscd/getsrvbypt_r.c: Likewise.
14777         * nscd/gai.c: Likewise.
14779         * configure.in (build_nscd): New substituted variable, set
14780         by --disable-build-nscd and defaults to $use_nscd.
14781         * configure: Regenerated.
14782         * config.make.in (build-nscd): New substituted variable.
14783         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14784         Change conditional to require [$(build-nscd) = yes] as well.
14785         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14787         [BZ# 13696]
14788         * configure.in (use_nscd): New substituted variable, set by
14789         --disable-nscd.  If enabled, define USE_NSCD.
14790         * configure: Regenerated.
14791         * config.h.in: Add USE_NSCD.
14792         * config.make.in (use-nscd): New substituted variable.
14793         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14794         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14795         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14796         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14797         (CFLAGS-getgrnam_r.c): Likewise.
14798         (CFLAGS-initgroups.c): Likewise.
14799         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14800         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14801         Variables removed.
14802         * inet/getnetgrent_r.c
14803         (nscd_setnetgrent): New function, broken out of ...
14804         (setnetgrent): ... here.  Call it.
14805         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14806         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14807         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14808         * nscd/Makefile (routines, aux): Move definitions after include of
14809         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14810         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14811         Conditionalize on [USE_NSCD].
14812         (is_nscd, nscd_init_cb): Likewise.
14813         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14814         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14815         * nss/nss_db/db-init.c: Likewise.
14816         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14817         [USE_NSCD].
14818         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14819         (make_request): Use it.
14820         (cache_valid_p): New function.
14821         (__check_pf): Use it.
14822         * NEWS: Add item for --disable-nscd.
14824 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14826         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14827         to support sed >= 4.2.1-20-ga9bf076.
14828         * configure: Regenerated.
14830 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14832         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14833         Conditionalize whole body on [IREL].
14835 2012-08-22  Jeff Law <law@redhat.com>
14837         [BZ #14505]
14838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14839         if the family is PF_UNSPEC.
14841 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14843         * Makerules (lib-version): Rename from V.
14844         (install-lib-nosubdir): Change V to lib-version.
14846 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14848         [BZ #14252]
14849         * powerpc32/power6/wcschr.c: New file.
14850         * powerpc32/power6/wcscpy.c: New file.
14851         * powerpc32/power6/wcsrchr.c: New file.
14852         * powerpc64/power6/wcschr.c: New file.
14853         * powerpc64/power6/wcscpy.c: New file.
14854         * powerpc64/power6/wcsrchr.c: New file.
14856 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14858         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
14859         (two_way_short_needle): Use it.
14860         * string/strstr.c (AVAILABLE1_USES_J): Define.
14861         * string/strcasestr.c: Likewise.
14863         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
14864         array references.
14865         * string/strcasestr.c (TOLOWER): Make side-effect safe.
14867         [BZ #11607]
14868         * NEWS: Add an entry.
14869         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
14870         define their defaults.
14871         (two_way_short_needle): Detect end-of-string on-the-fly.
14872         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
14873         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
14874         * string/bug-strcasestr1.c: New test.
14875         * string/Makefile: Run it.
14877 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
14879         [BZ #11607]
14880         * string/str-two-way.h (two_way_short_needle): Optimize matching of
14881         the first character.
14883 2012-08-21  Roland McGrath  <roland@hack.frob.com>
14885         * csu/elf-init.c (__libc_csu_irel): Function removed.
14886         * csu/libc-start.c (apply_irel): New function.
14887         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
14889 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
14891         * sysdeps/unix/sysv/linux/kernel-features.h
14892         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
14893         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14894         <kernel-features.h>.
14895         [__NR_fadvise64_64]: Make code unconditional.
14896         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
14897         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14898         !__NR_fadvise64_64)]: Likewise.
14899         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
14900         !__NR_fadvise64_64))]: Likewise.
14901         [__NR_fadvise64]: Make code unconditional.
14902         [!__NR_fadvise64]: Remove conditional code.
14903         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
14904         <kernel-features.h>.
14905         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14906         unconditional.
14907         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14908         conditional code.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
14910         not include <kernel-features.h>.
14911         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14912         unconditional.
14913         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14914         conditional code.
14915         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
14916         include <kernel-features.h>.
14917         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
14918         unconditional.
14919         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
14920         conditional code.
14922 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
14924         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
14925         slight instruction rearrangements per scrollpipe analysis.
14926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
14928 2012-08-20  Roland McGrath  <roland@hack.frob.com>
14930         * manual/syslog.texi (syslog; vsyslog, closelog):
14931         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
14932         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
14934         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
14935         DSOCAPS to match condition on defining it.
14937 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
14939         * sysdeps/unix/sysv/linux/kernel-features.h
14940         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
14942         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14943         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
14945         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14946         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
14948         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
14949         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
14951         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
14952         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
14954         * sysdeps/unix/sysv/linux/kernel-features.h
14955         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
14956         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
14957         unconditional.
14958         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14959         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
14960         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14961         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14962         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
14963         Make code unconditional.
14964         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14965         (__mmap64) [!__NR_mmap2]: Likewise.
14966         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
14967         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
14968         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14969         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
14970         [__NR_mmap2]: Make code unconditional.
14971         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
14972         (__mmap64) [!__NR_mmap2]: Likewise.
14974 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14976         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
14978 2012-08-18  Andreas Jaeger  <aj@suse.de>
14980         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
14982 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14984         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
14985         * include/unistd.h (__have_sock_cloexec): Likewise.
14986         (__have_pipe2): Likewise.
14987         (__have_dup3): Likewise.
14989 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
14991         [BZ #9685]
14992         * include/unistd.h (__have_pipe2): Change define into an extern int.
14993         (__have_dup3): Likewise.
14994         * socket/have_sock_cloexec.c: Include fcntl.h.
14995         (__have_pipe2): New variable.
14996         (__have_dup3): Likewise.
14998 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15000         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15002 2012-08-17  Marek Polacek  <polacek@redhat.com>
15004         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15005         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15007 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15009         * configure.in: Add AC_SUBST for sysheaders.
15010         * configure: Regenerated.
15011         * config.make.in (sysheaders): New substituted variable.
15013         * sysdeps/unix/mkfifo.c: Moved ...
15014         * sysdeps/posix/mkfifo.c: ... here.
15015         * sysdeps/unix/mkfifoat.c: Moved ...
15016         * sysdeps/posix/mkfifoat.c: ... here.
15018         * sysdeps/unix/utime.c: Moved ...
15019         * sysdeps/posix/utime.c: ... here.
15021         * sysdeps/unix/time.c: Moved ...
15022         * sysdeps/posix/time.c: ... here.
15023         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15024         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15026         * sysdeps/unix/nice.c: Moved ...
15027         * sysdeps/posix/nice.c: ... here.
15029         * sysdeps/unix/alarm.c: Moved ...
15030         * sysdeps/posix/alarm.c: ... here.
15032         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15034 2012-08-17  Jeff Law <law@redhat.com>
15036         * intl/Makefile (codeset_mo): New variable.
15037         ($(codeset_mo)): New target.
15038         (tst-codeset.out): Depend on that.  Remove explicit rule.
15039         (tst-gettext3.out, tst-gettext5.out): Likewise.
15040         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15041         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15042         * intl/tst-codeset.sh: Remove.
15043         * intl/tst-gettext3.sh: Likewise.
15044         * intl/tst-gettext5.sh: Likewise.
15046 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15048         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15049         * sysdeps/unix/syscalls.list: ... here.
15051         * sysdeps/posix/getaddrinfo.c
15052         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15053         (gaiconf_init, gaiconf_reload): Use them.
15054         [!_STATBUF_ST_NSEC]
15055         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15056         Define using time_t rather than struct timespec.
15058         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15059         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15060         Macros removed.
15061         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15062         [!NO_THREADS].
15063         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15064         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15065         Likewise.
15067         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15068         __libc_cleanup_push argument.
15070         * bits/param.h: New file.
15071         * misc/sys/param.h: New file.
15072         * include/sys/param.h: New file.
15073         * misc/Makefile (headers): Add bits/param.h.
15074         * sysdeps/generic/sys/param.h: File removed.
15075         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15076         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15077         * sysdeps/mach/hurd/bits/param.h: New file.
15078         * sysdeps/mach/hurd/sys/param.h: File removed.
15080         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15081         last change.
15083         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15084         [_IO_MTSAFE_IO].
15085         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15086         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15087         New macros.
15089         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15090         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15091         rather than -D_IO_MTSAFE_IO conditionally.
15092         * stdio-common/Makefile (CPPFLAGS): Likewise.
15093         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15094         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15095         Use $(libio-mtsafe).
15096         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15097         of -D_IO_MTSAFE_IO.
15098         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15099         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15100         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15101         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15102         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15103         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15104         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15105         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15106         (CFLAGS-fread_u_chk.c): Likewise.
15107         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15108         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15109         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15110         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15111         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15112         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15113         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15114         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15115         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15117         * libio/Makefile: Test [$(libc-reentrant) = yes]
15118         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15120         * Makeconfig
15121         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15122         * sysdeps/pthread/configure: File removed.
15123         * sysdeps/pthread/Makeconfig: New file.
15124         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15125         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15127 2012-08-16  Gary Benson  <gbenson@redhat.com>
15129         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15130         unmapping the first object in a namespace.
15132 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15134         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15135         (__internal_setnetgrent): ... this.  Add internal_function to
15136         definition.  Add libc_hidden_def.
15137         (setnetgrent): Update caller.
15138         (internal_endnetgrent): Renamed to ...
15139         (__internal_endnetgrent): ... this.  Add internal_function to
15140         definition.  Add libc_hidden_def.
15141         (endnetgrent): Update caller.
15142         (internal_getnetgrent_r): Renamed to ...
15143         (__internal_getnetgrent_r): ... this.  Add internal_function to
15144         definition.  Add libc_hidden_def.
15145         (__getnetgrent_r): Update caller.
15146         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15148 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15150         * stdlib/longlong.h: Update from GCC.
15152 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15154         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15155         on _QL, which is set by umul_ppmm but never used.
15156         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15157         variables, which are set by GMP macros but never used.
15158         * stdio-common/_itowa.c (_itowa): Likewise.
15159         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15160         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15162 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15164         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15165         struct La_sh_regs is not constant.
15166         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15167         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15168         and struct La_sparc64_regs are not constant.
15170 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15172         * sysdeps/unix/sysv/linux/kernel-features.h
15173         (__ASSUME_POSIX_TIMERS): Remove.
15174         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15175         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15176         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15177         Make code unconditional.
15178         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15179         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15180         Make code unconditional.
15181         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15182         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15183         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15184         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15185         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15186         Make code unconditional.
15187         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15188         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15189         (__libc_missing_posix_timers): Remove.
15191 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15193         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15194         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15196         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15198         * elf/dl-sym.c: Include <stdlib.h>.
15200         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15201         constants, which avoids warnings in 32-bit builds.
15203         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15204         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15206         * misc/lseek.c: File moved to ...
15207         * io/lseek.c: ... here.
15209         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15211         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15212         shifting LEN more than 31 bits at once.
15214 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15216         [BZ #14195]
15217         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15218         segmentation fault for a case of two empty input strings.
15219         * string/test-strncasecmp.c (check1): Renamed to...
15220         (bz12205): ...this.
15221         (bz14195): Add new testcase for two empty input strings and N > 0.
15222         (test_main): Call new testcase, adapt for renamed function.
15224 2012-08-15  Andreas Jaeger  <aj@suse.de>
15226         [BZ #14090]
15227         * crypt/md5test2.c: New test, based on test supplied by Serge
15228         Belyshev <belyshev@depni.sinp.msu.ru>.
15229         * crypt/Makefile (xtests): Add md5test-giant..
15230         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15232 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15234         [BZ #14090]
15235         * crypt/md5.c (md5_process_block): Don't assume the buffer
15236         length is less than 2**32.
15237         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15238         length is less than 2**64.
15240 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15242         * string/str-two-way.h: Include <sys/param.h>.
15243         (MAX): Macro removed.
15245         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15246         Move #define and #undef of memmove to just before and after
15247         including <string.h>.
15249         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15250         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15251         and after including <string.h>.  Move declarations of
15252         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15253         to before #include "string/memmove.c".
15255         * include/dirent.h: Declare __getdirentries.
15257         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15258         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15260 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15262         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15263         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15264         * sysdeps/i386/configure: Regenerated.
15265         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15266         STABS_CURRENT_FILE, and STABS_FUN.
15267         (END): Remove call to STABS_FUN_END.
15268         (STABS_CURRENT_FILE1): Delete.
15269         (STABS_CURRENT_FILE): Likewise.
15270         (STABS_FUN): Likewise.
15271         (STABS_FUN_END): Likewise.
15272         (STABS_FUN2): Likewise.
15273         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15274         * sysdeps/x86_64/configure: Regenerated.
15276 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15278         * elf/dl-open.c: Include <atomic.h>.
15279         * elf/dl-lookup.c: Likewise.
15281 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15283         * sysdeps/unix/sysv/linux/kernel-features.h
15284         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15285         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15286         unconditionally.
15287         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15288         unconditionally.
15289         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15290         condition on __ASSUME_CLONE_THREAD_FLAGS.
15292 2012-08-14  Andreas Jaeger  <aj@suse.de>
15294         * sysdeps/i386/fpu/libm-test-ulps: Update.
15296 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15298         * include/atomic.h (atomic_exchange_and_add): Split into ...
15299         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15300         New atomic macros.
15302 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15306 2012-08-13  Jeff Law <law@redhat.com>
15308         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15309         null byte in the output string.
15311 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15313         * sysdeps/unix/sysv/linux/kernel-features.h
15314         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15315         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15316         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15317         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15318         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15319         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15320         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15322 2012-08-09  Jeff Law <law@redhat.com>
15324         [BZ #13939]
15325         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15326         When avoid_arena is set, don't retry in the that arena.  Pick the
15327         next one, whatever it might be.
15328         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15329         (arena_lock): Pass in new parameter to arena_get2.
15330         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15331         arena_get2.
15332         (__libc_malloc): Unify retrying after main arena failure with
15333         __libc_memalign version.
15334         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15336 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15338         [BZ #14166]
15339         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15340         to __redirect_strstr.
15341         (__strstr_sse42): Use typeof __redirect_strstr.
15342         (__strstr_ia32): Likewise.
15343         (__libc_strstr): New prototype.
15344         (strstr): Renamed to ...
15345         (__libc_strstr): This.
15346         (strstr): New strong alias of __libc_strstr.
15347         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15348         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15349         __redirect_time.
15350         Include <time.h>.
15351         (__libc_time): New prototype.
15352         (time_ifunc): Replace time with __libc_time.
15353         (time): New strong alias and hidden definition of __libc_time.
15354         (__GI_time): Remove strong alias.
15355         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15356         Include <stddef.h>.
15357         (memmove): Redefined to __redirect_memmove.
15358         (__memmove_sse2): Use typeof __redirect_memmove.
15359         (__memmove_ssse3): Likewise.
15360         (__memmove_ssse3_back): Likewise.
15361         (__libc_memmove): New prototype.
15362         (memmove): Renamed to ...
15363         (__libc_memmove): This.
15364         (memmove): New strong alias of __libc_memmove.
15366 2012-08-08  Mark Salter  <msalter@redhat.com>
15368         * elf/elf.h
15369         (R_MN10300_TLS_GD): Define.
15370         (R_MN10300_TLS_LD): Likewise.
15371         (R_MN10300_TLS_LDO): Likewise.
15372         (R_MN10300_TLS_GOTIE): Likewise.
15373         (R_MN10300_TLS_IE): Likewise.
15374         (R_MN10300_TLS_LE): Likewise.
15375         (R_MN10300_TLS_DTPMOD): Likewise.
15376         (R_MN10300_TLS_DTPOFF): Likewise.
15377         (R_MN10300_TLS_TPOFF): Likewise.
15378         (R_MN10300_SYM_DIFF): Likewise.
15379         (R_MN10300_ALIGN): Likewise.
15380         (R_MN10300_NUM): Update.
15382 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15384         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15385         Remove.
15387 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15389         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15391         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15392         sysdeps/unix -> sysdeps/posix move.
15393         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15395 2012-08-07      Allan McRae     <allan@archlinux.org>
15397         [BZ #14303]
15398         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15399         (SUNOS_CPP): Likewise.
15400         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15401         not found.
15402         (open_input): Call CPP using execvp.
15404 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15406         * sysdeps/unix/sysv/linux/kernel-features.h
15407         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15408         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15409         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15410         (__ASSUME_WAITID_SYSCALL): Likewise.
15411         * sysdeps/unix/sysv/linux/dl-execstack.c
15412         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15413         code unconditional.
15414         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15415         conditional code.
15416         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15417         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15418         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15419         code.
15420         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15421         unconditional.
15422         [__ASSUME_WAITID_SYSCALL]: Likewise.
15423         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15425 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15427         * sysdeps/unix/closedir.c: Renamed to ...
15428         * sysdeps/posix/closedir.c: ... here.
15429         * sysdeps/unix/dirfd.c: Renamed to ...
15430         * sysdeps/posix/dirfd.c: ... here.
15431         * sysdeps/unix/dirstream.h: Renamed to ...
15432         * sysdeps/posix/dirstream.h: ... here.
15433         * sysdeps/unix/fdopendir.c: Renamed to ...
15434         * sysdeps/posix/fdopendir.c: ... here.
15435         * sysdeps/unix/opendir.c: Renamed to ...
15436         * sysdeps/posix/opendir.c: ... here.
15437         * sysdeps/unix/readdir.c: Renamed to ...
15438         * sysdeps/posix/readdir.c: ... here.
15439         * sysdeps/unix/readdir_r.c: Renamed to ...
15440         * sysdeps/posix/readdir_r.c: ... here.
15441         * sysdeps/unix/rewinddir.c: Renamed to ...
15442         * sysdeps/posix/rewinddir.c: ... here.
15443         * sysdeps/unix/seekdir.c: Renamed to ...
15444         * sysdeps/posix/seekdir.c: ... here.
15445         * sysdeps/unix/telldir.c: Renamed to ...
15446         * sysdeps/posix/telldir.c: ... here.
15447         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15448         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15449         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15450         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15452         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15453         * bits/fcntl.h: ... here.
15455         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15456         not 0.
15457         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15458         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15459         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15460         (struct flock): Move l_start, l_len to the beginning.
15461         Use __pid_t for l_pid.
15462         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15463         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15464         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15465         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15466         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15467         [__USE_LARGEFILE64] (struct flock64): New type.
15468         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15470         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15471         * bits/dirent.h: ... here.
15473         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15474         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15476 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15478         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15479         Change from 2.6.0 to 2.6.16.
15480         * sysdeps/unix/sysv/linux/configure: Regenerated.
15481         * sysdeps/unix/sysv/linux/kernel-features.h
15482         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15483         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15484         version.
15485         (__ASSUME_UTIMES): Likewise.
15486         (__ASSUME_CLONE_STOPPED): Remove.
15487         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15488         architectures, not kernel version.
15489         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15490         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15491         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15492         (__ASSUME_WAITID_SYSCALL): Likewise.
15493         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15494         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15495         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15496         refer to older versions.
15498 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15500         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15501         Define alphasort64 as an alias.
15502         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15503         Define versionsort64 as an alias.
15504         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15505         Define scandir64 as an alias.
15506         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15507         Define scandirat64 as an alias.
15508         * dirent/alphasort64.c (alphasort64):
15509         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15510         * dirent/versionsort64.c: Likewise.
15511         * dirent/scandir64.c: Likewise.
15512         * dirent/scandirat64.c: Likewise.
15513         * sysdeps/wordsize-64/alphasort.c: File removed.
15514         * sysdeps/wordsize-64/alphasort64.c: File removed.
15515         * sysdeps/wordsize-64/scandir.c: File removed.
15516         * sysdeps/wordsize-64/scandir64.c: File removed.
15517         * sysdeps/wordsize-64/scandirat.c: File removed.
15518         * sysdeps/wordsize-64/scandirat64.c: File removed.
15519         * sysdeps/wordsize-64/versionsort.c: File removed.
15520         * sysdeps/wordsize-64/versionsort64.c: File removed.
15521         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15522         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15523         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15524         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15525         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15526         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15527         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15528         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15530         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15531         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15532         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15533         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15534         [defined __arch64__ || defined __sparcv9]
15535         (__INO_T_MATCHES_INO64_T): New macro.
15536         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15537         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15538         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15539         * sysdeps/unix/sysv/linux/bits/dirent.h
15540         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15541         (_DIRENT_MATCHES_DIRENT64): New macro.
15543         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15544         Define lockf64 as an alias.
15545         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15546         Define fseeko64 as an alias.
15547         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15548         Define ftello64 as an alias.
15549         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15550         Define _IO_fgetpos64 and fgetpos64 as aliases.
15551         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15552         Define _IO_fsetpos64 and fsetpos64 as aliases.
15553         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15554         Conditionalize body on this.
15555         * libio/fseeko64.c: Likewise.
15556         * libio/ftello64.c: Likewise.
15557         * libio/iofgetpos64.c: Likewise.
15558         * libio/iofsetpos64.c: Likewise.
15559         * sysdeps/wordsize-64/lockf.c: File removed.
15560         * sysdeps/wordsize-64/lockf64.c: File removed.
15561         * sysdeps/wordsize-64/fseeko.c: File removed.
15562         * sysdeps/wordsize-64/fseeko64.c: File removed.
15563         * sysdeps/wordsize-64/ftello.c: File removed.
15564         * sysdeps/wordsize-64/ftello64.c: File removed.
15565         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15566         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15567         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15568         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15569         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15570         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15571         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15572         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15573         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15574         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15575         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15576         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15577         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15578         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15580         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15581         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15582         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15583         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15584         [defined __arch64__ || defined __sparcv9]
15585         (__OFF_T_MATCHES_OFF64_T): New macro.
15586         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15587         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15588         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15589         (__OFF_T_MATCHES_OFF64_T): New macro.
15591 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15593         * stdlib/secure-getenv.c (__secure_getenv): Replace
15594         GLIBC_2_16 with GLIBC_2_17.
15596 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15598         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15599         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15601 2012-08-03  David S. Miller  <davem@davemloft.net>
15603         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15605 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15607         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15608         Remove.
15609         (__ASSUME_CORRECT_SI_PID): Likewise.
15610         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15611         (__ASSUME_TMPFS_NAME): Likewise.
15612         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15613         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15614         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15615         (HAVE_AUX_SECURE): Make definition unconditional.
15616         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15617         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15619 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15621         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15622         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15623         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15624         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15625         __eloop_threshold instead of SYMLOOP_MAX.
15627         * sysdeps/generic/eloop-threshold.h: New file.
15628         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15629         of MAXSYMLINKS.
15630         * elf/chroot_canon.c (chroot_canon): Likewise.
15632 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15634         [BZ #13717]
15635         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15636         Change to 2.6.0 everywhere.
15637         * sysdeps/unix/sysv/linux/configure: Regenerated.
15638         * sysdeps/unix/sysv/linux/kernel-features.h
15639         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15640         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15641         kernel versions.
15642         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15643         (__ASSUME_FUTEX_REQUEUE): Remove.
15644         (__ASSUME_STATFS64): Define unconditionally.
15645         (__ASSUME_AT_SECURE): Likewise.
15646         (__ASSUME_CORRECT_SI_PID): Likewise.
15647         (__ASSUME_TGKILL): Define without depending on kernel version for
15648         i386.
15649         (__ASSUME_UTIMES): Likewise.
15650         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15651         kernel version.
15652         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15653         (__ASSUME_TMPFS_NAME): Likewise.
15654         * README: Update reference to Linux kernel versions.
15656 2012-08-02  Marek Polacek  <polacek@redhat.com>
15658         [BZ# 14150]
15659         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15660         libc_cv_asm_type_prefix with %.
15661         * configure: Regenerated.
15662         * include/libc-symbols.h: Remove comment about
15663         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15664         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15665         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15666         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15667         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15668         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15669         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15670         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15671         * elf/tst-unique2mod1.c: Likewise.
15672         * elf/tst-unique1mod2.c: Likewise.
15673         * elf/tst-unique1mod1.c: Likewise.
15674         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15675         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15676         Replace ASM_TYPE_DIRECTIVE with .type.
15677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15678         * sysdeps/i386/sysdep.h: Likewise.
15679         * sysdeps/x86_64/sysdep.h: Likewise.
15680         * sysdeps/sh/sysdep.h: Likewise.
15681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15682         Do not define ASM_TYPE_DIRECTIVE.
15683         * sysdeps/powerpc/sysdep.h: Likewise.
15684         * sysdeps/powerpc/powerpc32/sysdep.h:
15685         Replace ASM_TYPE_DIRECTIVE with .type.
15686         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15687         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15688         * sysdeps/i386/fpu/e_powf.S: Likewise.
15689         * sysdeps/i386/fpu/e_expl.S: Likewise.
15690         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15691         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15692         * sysdeps/i386/fpu/e_pow.S: Likewise.
15693         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15694         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15695         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15696         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15697         * sysdeps/i386/fpu/e_log2.S: Likewise.
15698         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15699         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15700         * sysdeps/i386/fpu/e_powl.S: Likewise.
15701         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15702         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15703         * sysdeps/i386/fpu/e_logl.S: Likewise.
15704         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15705         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15706         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15707         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15708         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15709         * sysdeps/i386/fpu/e_log.S: Likewise.
15710         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15711         * sysdeps/i386/fpu/e_logf.S: Likewise.
15712         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15713         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15714         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15715         * sysdeps/i386/fpu/e_log10.S: Likewise.
15716         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15717         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15718         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15719         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15720         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15721         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15722         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15723         * sysdeps/i386/i686/strtok.S: Likewise.
15724         * sysdeps/i386/i386-mcount.S: Likewise.
15725         * sysdeps/i386/strtok.S: Likewise.
15726         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15727         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15728         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15730         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15731         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15732         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15733         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15734         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15735         * sysdeps/x86_64/_mcount.S: Likewise.
15736         * sysdeps/x86_64/strtok.S: Likewise.
15737         * sysdeps/sh/_mcount.S: Likewise.
15739 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15741         * libio/iofopen.c: Include <fcntl.h>.
15742         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15743         (_IO_fopen64, fopen64): Define as aliases.
15744         * libio/iofopen64.c: Include <fcntl.h>.
15745         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15746         Conditionalize body on this.
15747         * sysdeps/wordsize-64/iofopen.c: File removed.
15748         * sysdeps/wordsize-64/iofopen64.c: File removed.
15750 2012-08-01  Marek Polacek  <polacek@redhat.com>
15752         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15753         Use dlfcn directly instead of a variable.
15754         (binfmt-subdir): Do not define.
15755         (dlfcn): Likewise.
15757 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15760         Remove all definitions.
15761         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15762         <kernel-features.h>.
15763         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15764         (miss_F_GETOWN_EX): Remove all definitions.
15765         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15766         macro definition.
15767         [!__ASSUME_FCNTL64]: Remove conditional code.
15768         [__ASSUME_FCNTL64]: Make code unconditional.
15769         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15770         <kernel-features.h>.
15771         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15772         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15773         (lockf64) [__NR_fcntl64]: Make code unconditional.
15774         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15776         * sysdeps/unix/sysv/linux/kernel-features.h
15777         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15778         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15779         Make code unconditional.
15780         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15781         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15783         [__NR_vfork]: Make code unconditional.
15784         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15785         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15787         [__NR_vfork]: Make code unconditional.
15788         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15789         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15791 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15793         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15794         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15796         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15797         Define mkstemp64 as an alias.
15798         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15799         Define mkstemps64 as an alias.
15800         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15801         Define mkostemp64 as an alias.
15802         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15803         Define mkostemps64 as an alias.
15804         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15805         Conditionalize body on this.
15806         * misc/mkostemp64.c: Likewise.
15807         * misc/mkostemps64.c: Likewise.
15808         * misc/mkstemps64.c: Likewise.
15809         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15810         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15811         * sysdeps/wordsize-64/mkostemp.c: File removed.
15812         * sysdeps/wordsize-64/mkstemp.c: File removed.
15813         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15814         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15815         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15816         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15818         [BZ #14138]
15819         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15820         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15821         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15822         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15824         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15825         compat_symbol macros from <shlib-compat.h> rather than the underlying
15826         default_symbol_version and symbol_version macros, so that DEFAULT
15827         lines in shlib-versions are respected.
15828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15830 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15832         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15833         Declare with warn_unused_result.
15834         (setgid, setregid, setegid, setresgid): Likewise.
15835         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15836         Likewise.
15837         * WUR-REPORT: Remove set*id functions.
15839 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15841         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15843 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15845         [BZ #10191]
15846         * include/sys/socket.h (__libc_accept, __libc_accept4):
15847         Add attribute_hidden.
15848         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15850         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15851         use of PTR_MANGLE.
15852         * inet/getnetgrent_r.c (setup): Likewise.
15854         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
15856 2012-07-31  David S. Miller  <davem@davemloft.net>
15858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15860 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
15862         [BZ #13629]
15863         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
15864         value between 1.0 and 2.0 and smaller part has absolute value less
15865         than 1.0.
15866         * math/s_clog10.c (__clog10): Likewise.
15867         * math/s_clog10f.c (__clog10f): Likewise.
15868         * math/s_clog10l.c (__clog10l): Likewise.
15869         * math/s_clogf.c (__clogf): Likewise.
15870         * math/s_clogl.c (__clogl): Likewise.
15871         * math/libm-test.inc (clog_test): Add more tests.
15872         (clog10_test): Likewise.
15873         * sysdeps/i386/fpu/libm-test-ulps: Update.
15874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15876 2012-07-31  Florian Weimer  <fweimer@redhat.com>
15878         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
15879         Exit with zero in case no suitable GID is found, and write a
15880         message to standard error.
15882 2012-07-30  Roland McGrath  <roland@hack.frob.com>
15884         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
15885         rather than to 1.
15886         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
15887         (MAXPATHLEN): Removed.
15888         (NOGROUP, NODEV): New macros.
15889         (setbit, clrbit, isset, isclr): New macros.
15890         (howmany, roundup, powerof2): New macros.
15891         (DEV_BSIZE): New macro.
15893         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
15894         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
15896         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
15897         definition on [!__NO_LONG_DOUBLE_MATH].
15899         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
15900         PTR_MANGLE and PTR_DEMANGLE.
15902         * socket/accept4.c (accept4): Rename to __libc_accept4.
15903         Define accept4 as a weak alias.
15905         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
15906         on [_DIRENT_HAVE_D_TYPE].
15907         * io/ftw.c (ftw_dir): Likewise.
15909         * io/xmknod.c (__xmknod): Don't check PATH for being null.
15911         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
15913         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
15914         Use the BSD numbers rather than the arbitrary ones we had.
15915         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
15916         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
15917         (SIGXCPU, SIGXFSZ): New macros.
15918         (_NSIG): Now 32.
15920         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
15921         initializer on [_LIBC_REENTRANT].
15923         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
15924         definitions inside [_POSIX_MAPPED_FILES].
15926         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
15928         * dirent/opendir.c: Include <fcntl.h>.
15930         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
15931         (__libc_getspecific): Likewise.
15932         (__libc_key_create): Likewise.
15934         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
15935         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
15936         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
15937         (tmpfile64): Define as alias.
15938         * sysdeps/wordsize-64/tmpfile.c: File removed.
15939         * sysdeps/wordsize-64/tmpfile64.c: File removed.
15940         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
15941         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
15943         * stdio-common/vfscanf.c: Include <stdbool.h>.
15944         * nss/makedb.c: Likewise.
15945         * stdio-common/_i18n_number.h: Likewise.
15946         * argp/argp-help.c: Likewise.
15947         * posix/wordexp.c: Likewise.
15948         * sysdeps/posix/spawni.c: Likewise.
15949         * nss/nss_files/files-initgroups.c: Likewise.
15950         * stdio-common/reg-modifier.c: Include <stdlib.h>.
15951         * nss/nss_files/files-initgroups.c: Likewise.
15952         * nss/nss_db/db-netgrp.c: Likewise.
15953         * nss/nss_db/db-initgroups.c: Likewise.
15954         * io/fchmodat.c: Include <sys/stat.h>.
15956         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
15957         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
15959         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
15960         [HAVE_MMAP].
15962         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
15963         Add multiple inclusion protection.
15965 2012-07-27  David S. Miller  <davem@davemloft.net>
15967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15969 2012-07-27  Gary Benson  <gbenson@redhat.com>
15971         [BZ #14298]
15972         * elf/rtld.c: Include <stap-probe.h>.
15973         (dl_main): Added static probes "init_start" and "init_complete".
15974         * elf/dl-load.c: Include <stap-probe.h>.
15975         (lose): Take new parameter "nsid".
15976         Added static probe "map_failed".
15977         (_dl_map_object_from_fd): Pass namespace id to lose.
15978         Added static probe "map_start".
15979         (open_verify): Pass namespace id to lose.
15980         * elf/dl-open.c: Include <stap-probe.h>.
15981         (dl_open_worker) Added static probes "map_complete", "reloc_start"
15982         and "reloc_complete".
15983         * elf/dl-close.c: Include <stap-probe.h>.
15984         (_dl_close_worker): Added static probes "unmap_start" and
15985         "unmap_complete".
15986         * elf/rtld-debugger-interface.txt: New file documenting the above.
15988 2012-07-26  Roland McGrath  <roland@hack.frob.com>
15990         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
15991         rather than a string variable.
15992         * sunrpc/rpc_main.c (h_output): Likewise.
15993         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
15995 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
15997         * inet/check_native.c: New file.
15999 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16001         [BZ #13629]
16002         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16003         if larger part has absolute value 1.0.
16004         * math/s_clog10.c (__clog10): Likewise.
16005         * math/s_clog10f.c (__clog10f): Likewise.
16006         * math/s_clog10l.c (__clog10l): Likewise.
16007         * math/s_clogf.c (__clogf): Likewise.
16008         * math/s_clogl.c (__clogl): Likewise.
16009         * math/libm-test.inc (clog_test): Add more tests.
16010         (clog10_test): Likewise.
16011         * sysdeps/i386/fpu/libm-test-ulps: Update.
16012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16014         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16015         (pltexit): Likewise.
16016         (La_regs): Likewise.
16017         (La_retval): Likewise.
16018         (int_retval): Likewise.
16019         Update #error for removed macros to refer only to definitions in
16020         tst-audit.h.
16021         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16022         macro.
16023         (pltexit): Likewise.
16024         (La_regs): Likewise.
16025         (La_retval): Likewise.
16026         (int_retval): Likewise.
16027         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16028         macro.
16029         (pltexit): Likewise.
16030         (La_regs): Likewise.
16031         (La_retval): Likewise.
16032         (int_retval): Likewise.
16033         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16034         macro.
16035         (pltexit): Likewise.
16036         (La_regs): Likewise.
16037         (La_retval): Likewise.
16038         (int_retval): Likewise.
16039         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16040         macro.
16041         (pltexit): Likewise.
16042         (La_regs): Likewise.
16043         (La_retval): Likewise.
16044         (int_retval): Likewise.
16045         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16046         macro.
16047         (pltexit): Likewise.
16048         (La_regs): Likewise.
16049         (La_retval): Likewise.
16050         (int_retval): Likewise.
16051         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16052         macro.
16053         (pltexit): Likewise.
16054         (La_regs): Likewise.
16055         (La_retval): Likewise.
16056         (int_retval): Likewise.
16057         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16058         macro definitions in tst-audit.h.
16059         * sysdeps/i386/tst-audit.h: New file.
16060         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16061         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16062         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16063         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16064         * sysdeps/sh/tst-audit.h: Likewise.
16065         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16066         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16067         * sysdeps/x86_64/tst-audit.h: Likewise.
16069 2012-07-26  Andreas Jaeger  <aj@suse.de>
16071         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16072         ptrace.
16074         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16075         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16076         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16077         PTRACE_O_MASK.
16078         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16079         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16080         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16082         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16083         value.
16085         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16086         _sigsys.
16087         (si_call_addr, si_syscall, si_arch): Define new macro.
16088         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16089         _sigsys.
16090         (si_call_addr, si_syscall, si_arch): Define new marcro.
16091         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16092         _sigsys.
16093         (si_call_addr, si_syscall, si_arch): Define new macro.
16094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16095         _sigsys.
16096         (si_call_addr, si_syscall, si_arch): Define new macro.
16098 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16100         [BZ #13717]
16101         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16102         Change to 2.4.21 where previously 2.4.1.
16103         * sysdeps/unix/sysv/linux/configure: Regenerated.
16104         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16105         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16106         Linux kernel version.
16107         (__ASSUME_STD_AUXV): Remove.
16108         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16109         kernel version.
16110         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16111         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16112         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16113         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16114         (__ASSUME_NETLINK_SUPPORT): Likewise.
16115         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16116         (__no_netlink_support): Remove conditional definition.
16117         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16118         Remove.
16119         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16120         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16121         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16122         (if_nameindex_ioctl): Remove.
16123         (if_nameindex_netlink): Do not handle __no_netlink_support.
16124         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16125         code.
16126         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16127         Remove conditional code.
16128         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16129         code.
16130         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16131         unconditional.
16132         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16133         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16134         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16135         Remove.
16136         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16137         [!__ASSUME_STD_AUXV]: Remove conditional code.
16138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16139         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16140         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16142         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16143         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16144         code.
16145         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16147         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16148         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16149         conditional code.
16150         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16152         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16153         code.
16154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16155         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16156         conditional code.
16157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16158         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16159         code unconditional.
16160         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16161         conditional code.
16162         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16163         unconditional.
16164         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16165         conditional code.
16166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16167         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16168         unconditional.
16169         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16170         conditional code.
16171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16172         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16173         code unconditional.
16174         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16175         conditional code.
16176         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16177         unconditional.
16178         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16179         conditional code.
16180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16181         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16182         code unconditional.
16183         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16184         conditional code.
16185         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16186         unconditional.
16187         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16188         conditional code.
16190 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16192         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16193         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16194         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16195         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16196         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16197         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16198         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16199         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16200         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16201         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16202         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16203         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16204         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16205         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16206         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16207         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16208         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16209         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16210         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16211         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16212         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16213         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16214         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16216 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16218         * Versions.def: Add GLIBC_2.17.
16219         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16220         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16221         Introduce __libc_secure_getenv.
16222         * stdlib/Versions (2.17): Add secure_getenv
16223         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16224         * stdlib/secure-getenv.c: Rename __secure_getenv to
16225         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16226         symbol __secure_getenv for GLIBC_2.0.
16227         * stdlib/tst-secure-getenv.c: New.
16228         * stdlib/Makefile (tests): Add testcase.
16229         * manual/startup.texi (Environment Access): Document
16230         secure_getenv.
16231         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16232         __libc_secure_getenv.
16233         * inet/ruserpass.c (ruserpass): Likewise.
16234         * malloc/mtrace.c (mtrace): Likewise.
16235         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16236         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16237         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16238         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16239         HAVE_SECURE_GETENV.
16240         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16241         __secure_getenv to __libc_secure_getenv.
16242         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16244         Likewise.
16245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16246         Likewise.
16247         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16255 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16257         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16258         (struct La_i86_retval): Likewise.
16259         (struct La_x86_64_regs): Likewise.
16260         (struct La_x86_64_retval): Likewise.
16261         (struct La_x32_regs): Likewise.
16262         (struct La_x32_retval): Likewise.
16263         (struct La_ppc32_regs): Likewise.
16264         (struct La_ppc32_retval): Likewise.
16265         (struct La_ppc64_regs): Likewise.
16266         (struct La_ppc64_retval): Likewise.
16267         (struct La_sh_regs): Likewise.
16268         (struct La_sh_retval): Likewise.
16269         (struct La_s390_32_regs): Likewise.
16270         (struct La_s390_32_retval): Likewise.
16271         (struct La_s390_64_regs): Likewise.
16272         (struct La_s390_64_retval): Likewise.
16273         (struct La_sparc32_regs): Likewise.
16274         (struct La_sparc32_retval): Likewise.
16275         (struct La_sparc64_regs): Likewise.
16276         (struct La_sparc64_retval): Likewise.
16277         (struct audit_ifaces): Remove architecture-specific pltenter and
16278         pltexit members.
16279         * sysdeps/i386/ldsodefs.h: New file.
16280         * sysdeps/powerpc/ldsodefs.h: Likewise.
16281         * sysdeps/s390/ldsodefs.h: Likewise.
16282         * sysdeps/sh/ldsodefs.h: Likewise.
16283         * sysdeps/sparc/ldsodefs.h: Likewise.
16284         * sysdeps/x86_64/ldsodefs.h: Likewise.
16286 2012-07-25  Marek Polacek  <polacek@redhat.com>
16288         [BZ #6808]
16289         * math/libm-test.inc (yn_test): Add another test.
16290         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16291         to ERANGE when the result is +-Inf.
16292         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16293         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16294         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16295         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16297 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16299         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16300         equal to 0.
16301         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16302         clock_t.
16303         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16305 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16307         * configure.in <sysdeps resolving>: Correct printing
16308         Implies_before.
16309         * configure: Regenerate.
16311 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16313         * math/w_ilogb.c: Include <limits.h>.
16314         * math/w_ilogbl.c: Likewise.
16316 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16318         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16319         va_copy.  Document allowing for unavailable va_copy only as
16320         pre-C99 compatibility.
16321         * manual/string.texi (Copying and Concatenation): Use va_copy
16322         instead of __va_copy in concat example.
16324 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16326         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16327         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16328         it if not null.
16330         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16331         with O_NOLINK passed to __file_name_lookup.
16333         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16334         with O_NOLINK passed to __file_name_lookup.
16336         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16337         negative N or less than NGIDS.
16339         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16340         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16341         enough.  Use memcpy instead of strncpy.
16343 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16345         * elf/Makefile (check-data): Remove.
16346         (localplt.data): New vpath directive.
16347         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16348         instead of $(check-data).
16349         * scripts/data/localplt-generic.data: Move to ...
16350         * sysdeps/generic/localplt.data: ... here.
16351         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16352         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16353         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16355         ... here.
16356         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16358         ... here.
16359         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16360         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16361         ... here.
16362         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16364         ... here.
16365         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16367         ... here.
16368         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16370         ... here.
16372 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16374         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16375         PPC32 and PPC64 files.
16376         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16377         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16379 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16381         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16382         __makecontext_ret to ...
16383         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16384         ... here and call exit if uc_link is NULL.  New file.
16385         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16386         __makecontext_ret.S.
16387         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16388         __makecontext_ret to ...
16389         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16390         ... here and call exit if uc_link is NULL.  New file.
16391         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16392         __makecontext_ret.S.
16394 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16396         * elf/elf.h (R_390_IRELATIVE): New definition.
16397         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16398         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16399         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16400         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16401         (elf_machine_lazy_rel): Likewise.
16402         * sysdeps/s390/dl-irel.h: New file.
16403         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16404         * sysdeps/s390/s390-64/memset.S: New asm code.
16405         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16406         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16407         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16408         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16409         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16410         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16411         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16412         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16413         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16414         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16415         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16416         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16417         * sysdeps/s390/s390-32/memset.S: New asm code.
16418         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16420 2012-07-17  Marek Polacek  <polacek@redhat.com>
16422         [BZ #14349]
16423         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16424         * sysdeps/s390/s390-64/configure.in: Likewise.
16425         * sysdeps/sparc/configure.in: Likewise.
16426         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16427         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16428         * sysdeps/i386/configure.in: Likewise.
16429         * sysdeps/x86_64/configure.in: Likewise.
16430         * sysdeps/sh/configure.in: Likewise.
16431         * sysdeps/s390/s390-32/configure: Regenerated.
16432         * sysdeps/s390/s390-64/configure: Likewise.
16433         * sysdeps/x86_64/configure: Likewise.
16434         * sysdeps/sh/configure: Likewise.
16435         * sysdeps/powerpc/powerpc64/configure: Likewise.
16436         * sysdeps/powerpc/powerpc32/configure: Likewise.
16437         * sysdeps/sparc/configure: Likwise.
16438         * sysdeps/i386/configure: Likewise.
16440         * elf/dl-open.c: Comment fixes.
16442 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16444         * Makefile [CXX] (check-data): Remove.
16445         [CXX] (c++-types.data): New vpath directive.
16446         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16447         vpath.  Do not allow for C++ type data being missing.
16448         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16449         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16450         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16451         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16452         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16453         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16454         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16456         ... here.
16457         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16459         ... here.
16460         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16461         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16462         ... here.
16463         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16465         ... here.
16466         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16468         ... here.
16469         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16471         ... here.
16472         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16474         ... here.
16475         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16476         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16478         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16479         definitions to architecture-specific files.
16480         (TLS_IE): Likewise.
16481         (TLS_LD): Likewise.
16482         (TLS_GD): Likewise.
16483         * sysdeps/i386/tls-macros.h: New file.
16484         * sysdeps/powerpc/tls-macros.h: Likewise.
16485         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16486         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16487         * sysdeps/sh/tls-macros.h: Likewise.
16488         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16489         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16490         * sysdeps/x86_64/tls-macros.h: Likewise.
16492 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16494         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16495         zero value for regular exit case.
16497         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16498         (__start_context): Preserve zero value for regular exit case.
16500 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16501             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16503         * manual/setjmp.texi (setcontext): Clarify normal process
16504         termination when uc_link is the null pointer.
16505         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16506         exit call.
16508 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16510         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16511         preprocessor.  Test for each exception mask separately.
16513 2012-07-16  Andreas Jaeger  <aj@suse.de>
16515         * po/ru.po: Update from translation team.
16517 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16519         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16520         equal to 0.
16521         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16522         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16523         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16524         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16525         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16527 2012-07-13  Andreas Jaeger  <aj@suse.de>
16529         * po/fr.po: Update from translation team.
16531 2012-07-12  Marek Polacek  <polacek@redhat.com>
16533         [BZ #14173]
16534         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16535         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16536         loop condition.
16538 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16540         [BZ #13717]
16541         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16542         Change to 2.4.1 where previously 2.4.0.
16543         * sysdeps/unix/sysv/linux/configure: Regenerated.
16544         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16545         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16546         version.
16547         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16548         (__ASSUME_AT_CLKTCK): Remove.
16549         (__ASSUME_AT_PAGESIZE): Likewise.
16550         (__ASSUME_AT_XID): Likewise.
16551         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16552         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16553         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16554         unconditionally.
16555         (HAVE_AUX_PAGESIZE): Likewise.
16556         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16557         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16558         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16560 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16562         [BZ #14307]
16563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16564         the temporary buffer used to invoke __gethostbyname2_r,
16565         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16566         host_data / struct gaih_addrtuple.
16567         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16568         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16569         header file nss/nsswitch.h.
16570         * nss/nsswitch.h (global scope): Add definition of implementation
16571         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16572         resolv/nss_dns/dns-host.c).
16574 2012-07-11  Andreas Jaeger  <aj@suse.de>
16576         * po/fr.po: Update from translation team.
16578         * po/sv.po: Update from translation team
16579         * po/fr.po: Another update from translation team.
16581 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16583         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16584         for subnormals or multiply small sinh result by itself.
16585         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16588 2012-07-11  David S. Miller  <davem@davemloft.net>
16590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16592 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16594         [BZ #14347]
16595         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16596         (INTERNAL_MARK): Shift it here.
16598 2012-07-10  Marek Polacek  <polacek@redhat.com>
16600         [BZ #14151]
16601         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16602         libc_cv_asm_global_directive with .globl.
16603         * configure: Regenerated.
16604         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16605         with .globl.
16606         * sysdeps/i386/configure: Regenerated.
16607         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16608         with .globl.
16609         * sysdeps/x86_64/configure: Regenerated.
16610         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16611         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16612         * elf/tst-unique2mod2.c: Likewise.
16613         * elf/tst-unique2mod1.c: Likewise.
16614         * elf/tst-unique1mod2.c: Likewise.
16615         * elf/tst-unique1mod1.c: Likewise.
16616         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16617         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16618         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16620         * sysdeps/mach/sysdep.h: Likewise.
16621         * sysdeps/i386/sysdep.h: Likewise.
16622         * sysdeps/i386/i386-mcount.S: Likewise.
16623         * sysdeps/x86_64/_mcount.S: Likewise.
16624         * sysdeps/x86_64/sysdep.h: Likewise.
16625         * sysdeps/sh/_mcount.S: Likewise.
16626         * sysdeps/sh/sysdep.h: Likewise.
16627         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16628         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16629         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16630         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16631         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16632         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16633         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16634         * locale/localeinfo.h: Likewise.
16635         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16636         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16638 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16640         [BZ #14336]
16641         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16642         system".
16643         * manual/message.texi (The Uniforum approach): Likewise.
16644         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16645         (glibc iconv Implementation): Likewise.
16647 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16649         [BZ #14337]
16650         * math/s_clog.c (__clog): Avoid scaling a value down where that
16651         could result in underflow.
16652         * math/s_clog10.c (__clog10): Likewise.
16653         * math/s_clog10f.c (__clog10f): Likewise.
16654         * math/s_clog10l.c (__clog10l): Likewise.
16655         * math/s_clogf.c (__clogf): Likewise.
16656         * math/s_clogl.c (__clogl): Likewise.
16657         * math/libm-test.inc (clog_test): Add more tests.
16658         (clog10_test): Likewise.
16659         * sysdeps/i386/fpu/libm-test-ulps: Update.
16660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16662 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16664         [BZ #14283]
16665         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16666         by 7 not 8 to examine high bit of fractional part.
16668         [BZ #14042]
16669         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16670         for call to __mcount_internal.
16671         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16672         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16673         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16675 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16677         [BZ #14154]
16678         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16679         approximation for values within 0x1p-13f of an odd multiple of
16680         pi/4.
16681         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16682         exception.  Add more tests.
16683         * sysdeps/i386/fpu/libm-test-ulps: Update.
16685         [BZ #6778]
16686         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16687         inputs and return -1 for them.  Do not check for +Inf in case not
16688         reachable for +Inf.
16689         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16690         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16691         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16692         and return -1 for them.  Do not check for +Inf in case not
16693         reachable for +Inf.
16694         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16695         define.
16696         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16697         and return -1 for them.  Do not check for +Inf in case not
16698         reachable for +Inf.
16699         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16700         spurious underflow.
16701         * sysdeps/i386/fpu/libm-test-ulps: Update.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16704 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16706         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16708 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #14157]
16711         [BZ #14331]
16712         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16713         could result in spurious underflow.  Scale down values above
16714         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16715         * math/s_csqrtf.c (__csqrtf): Likewise.
16716         * math/s_csqrtl.c (__csqrtl): Likewise.
16717         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16718         spurious underflow.
16719         * sysdeps/i386/fpu/libm-test-ulps: Update.
16720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16722 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16724         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16725         xopen-msg.sed.
16726         * catgets/xopen-msg.awk: New file.
16727         * catgets/xopen-msg.sed: Removed.
16729         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16730         po2text.sed.
16731         * intl/po2test.awk: New file.
16732         * intl/po2test.sed: Removed.
16734 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16736         [BZ #14328]
16737         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16738         or multiply small sinh result by itself.
16739         * math/s_ctanf.c (__ctanf): Likewise.
16740         * math/s_ctanh.c (__ctanh): Likewise.
16741         * math/s_ctanhf.c (__ctanhf): Likewise.
16742         * math/s_ctanhl.c (__ctanhl): Likewise.
16743         * math/s_ctanl.c (__ctanl): Likewise.
16744         * math/libm-test.inc (ctan_test_tonearest): New function.
16745         (ctan_test_towardzero): Likewise.
16746         (ctan_test_downward): Likewise.
16747         (ctan_test_upward): Likewise.
16748         (ctanh_test_tonearest): Likewise.
16749         (ctanh_test_towardzero): Likewise.
16750         (ctanh_test_downward): Likewise.
16751         (ctanh_test_upward): Likewise.
16752         (main): Call these new functions.
16753         * sysdeps/i386/fpu/libm-test-ulps: Update.
16754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16756 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16758         * .gitignore: Delete /ports entry.
16760 2012-07-03  Andreas Jaeger  <aj@suse.de>
16762         * po/bg.po: Update from translation team.
16763         * po/cs.po: Likewise.
16764         * po/de.po: Likewise.
16765         * po/hr.po: Likewise.
16766         * po/nl.pl: Likewise.
16767         * po/pl.po: Likewise.
16768         * po/vi.po: Likewise.
16770 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16772         * Makeconfig [!+link] (+link-before-libc): New variable.
16773         [!+link] (+link-after-libc): Likewise.
16774         [!+link] (+link-tests): Likewise.
16775         [!+link] (+link): Define in terms of $(+link-before-libc) and
16776         $(+link-after-libc).
16777         [!+link-static] (+link-static-before-libc): New variable.
16778         [!+link-static] (+link-static-after-libc): Likewise.
16779         [!+link-static] (+link-static-tests): Likewise.
16780         [!+link-static] (+link-static): Define in terms of
16781         $(+link-static-before-libc) and $(+link-static-after-libc).
16782         [build-shared] (link-libc-before-gnulib): New variable.
16783         [build-shared] (link-libc-tests): Likewise.
16784         [build-shared] (link-libc): Define in terms of
16785         $(link-libc-before-gnulib).
16786         [!build-shared] (link-libc-tests): New variable.
16787         (link-libc-static-tests): New variable.
16788         [!gnulib] (gnulib-arch): New variable.
16789         [!gnulib] (gnulib-tests): Likewise.
16790         [!gnulib] (static-gnulib-arch): Likewise.
16791         [!gnulib] (static-gnulib-tests): Likewise.
16792         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16793         Define with "=" instead of ":=".
16794         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16795         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16796         * Rules (binaries-all-notests): New variable.
16797         (binaries-all-tests): Likewise.
16798         (binaries-static-notests): Likewise.
16799         (binaries-static-tests): Likewise.
16800         (binaries-all): Define using $(binaries-all-notests) and
16801         $(binaries-all-tests).
16802         (binaries-static): Define using $(binaries-static-notests) and
16803         $(binaries-static-tests).
16804         (binaries-shared-tests): New variable.
16805         (binaries-shared-notests): Likewise.
16806         (binaries-shared): Remove variable.
16807         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16808         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16809         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16810         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16811         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16812         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16813         * elf/Makefile (sln-modules): New variable.
16814         (extra-objs): Add $(sln-modules:=.o).
16815         (ldconfig-modules): Add static-stubs.
16816         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16817         * elf/static-stubs.c: New file.
16819         [BZ #14283]
16820         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16821         by 7 not 8 to examine high bit of fractional part.  Use volatile
16822         variables when splitting into final array of floats if
16823         __FLT_EVAL_METHOD__ != 0.
16824         * math/libm-test.inc (cos_test): Add another test.
16825         (sin_test): Likewise.
16826         * sysdeps/i386/fpu/libm-test-ulps: Update.
16828         [BZ #14273]
16829         * math/libm-test.inc (cosh_test): Add more tests.
16831         * version.h (RELEASE): Set to "development".
16832         (VERSION): Set to "2.16.90".
16834 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16836         * NEWS: Update copyright. Remove last-updated date.
16837         Mention math library bug fixes and timezone data changes.
16838         * README: Mention GNU/Hurd, x32, and HPPA support status.
16840 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16842         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16844 2012-06-27  Andreas Jaeger  <aj@suse.de>
16846         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16848 2012-06-25  Andreas Jaeger  <aj@suse.de>
16850         * sysdeps/s390/fpu/libm-test-ulps: Update.
16852 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
16853             Thomas Schwinge  <thomas@codesourcery.com>
16855         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
16856         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
16857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
16858         fanotify_mark.
16860 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
16862         * sysdeps/mach/start.c: Remove file.
16863         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
16864         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
16865         * sysdeps/sh/init-first.c: Likewise.
16867         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
16868         registers for frame unwinding purposes, add CFI directives.
16869         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16870         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
16871         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
16872         Likewise.
16874         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
16875         __fortify_fail returning.
16876         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
16878         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
16879         sysdeps/sh/____longjmp_chk.S.
16880         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
16881         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
16882         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
16883         (gen-as-const-headers): Append sigaltstack-offsets.sym.
16885         * sysdeps/sh/abort-instr.h: New file.
16886         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
16887         process in case exit returns.
16889         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
16890         initialize the GOT register before use.
16892         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
16893         calculation of ARGC > 4.
16895         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
16896         meaningful names to some local labels.
16898 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
16899             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16901         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
16902         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
16903         (__arch_compare_and_exchange_val_16_acq): Likewise.
16904         (__arch_compare_and_exchange_val_32_acq): Likewise.
16905         (atomic_exchange_and_add): Fix gUSA sequence.
16906         (atomic_add): Likewise.
16907         (atomic_add_negative): Likewise.
16908         (atomic_add_zero): Likewise.
16909         (atomic_bit_test_set): Likewise.
16911 2012-06-22  Andreas Schwab  <schwab@redhat.com>
16913         [BZ #13579]
16914         * include/link.h (struct link_map): Add l_free_initfini.
16915         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
16916         l_initfini.
16917         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
16918         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
16919         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
16920         set.
16922 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
16924         * configure.in: Use AC_LANG_SOURCE.
16925         * configure: Regenerate.
16927 2012-06-22  Roland McGrath  <roland@hack.frob.com>
16929         * configure.in (libc_cv_localstatedir): New substituted variable.
16930         * configure: Regenerated.
16931         * config.make.in (localstatedir): New variable, substituted from
16932         libc_cv_localstatedir.
16933         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
16934         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
16935         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
16936         * sysdeps/gnu/configure: Regenerated.
16938 2012-06-21  Jeff Law  <law@redhat.com>
16940         [BZ #14277]
16941         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
16942         free.  Simplify list management for _LIBC case.
16944 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
16946         [BZ #14273]
16947         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
16948         Clear sign bit of 64-bit integer value before comparing against
16949         overflow value.
16951         * sysdeps/mach/configure: Regenerated.
16953 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
16955         [BZ #14278]
16956         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
16958 2012-06-21  Jeff Law  <law@redhat.com>
16960         [BZ #13882]
16961         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
16962         uint16_t for elements in the "seen" array to avoid char overflows.
16963         * elf/dl-fini.c (_dl_sort_fini): Likewise.
16964         * elf/dl-open.c (dl_open_worker): Likewise.
16966 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
16968         * scripts/list-sources.sh: Scan PORTS for translations.
16969         * po/libc.pot: Regenerated.
16971 2012-06-21  Andreas Jaeger  <aj@suse.de>
16973         [BZ #12194]
16974         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
16975         warning.
16976         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
16977         * bits/byteswap-16.h (__bswap_16): Likewise.
16978         * bits/byteswap.h (__bswap_constant_16): Likewise.
16980 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
16982         [BZ #14117]
16983         * sysdeps/i386/fpu_control.h: Removed.
16984         * sysdeps/x86_64/fpu_control.h: Moved to ...
16985         * sysdeps/x86/fpu_control.h: Here.
16987         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
16988         (_FPU_SETCW): Likewise.
16990 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
16992         [BZ #14117]
16993         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
16994         * sysdeps/x86/fpu/bits/mathinline.h: This.
16995         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
16997         [BZ #14050]
16998         [BZ #14117]
16999         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17000         functions if __x86_64__ is defined.
17002 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17004         * string/endian.h: Add !__ASSEMBLER__ condition for including
17005         conversion interfaces.
17007 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17009         [BZ #14241]
17010         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17011         of ABS(x) in calculating zero to negative powers other than odd
17012         integers.
17013         * math/libm-test.inc (pow_test): Add more tests.
17015 2012-06-15  Andreas Jaeger  <aj@suse.de>
17017         * manual/contrib.texi (Contributors): Update entry of Liubov
17018         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17019         Machado Filho.
17021 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17023         * string/string.h: Add __wur to GNU version of strerror_r.
17025 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17027         [BZ #14229]
17028         * string/Makefile (tests): Add tst-strtok_r.
17029         * string/tst-strtok_r.c: New file.
17030         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17031         RAX_LP/RDX_LP on SAVE_PTR.
17033 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17035         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17037 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17039         * libm_test.inc (csqrt_test): Allow more spurious underflow
17040         exceptions.
17041         (j0_test): Likewise.
17042         (j1_test): Likewise.
17043         (y0_test): Likewise.
17044         (y1_test): Likewise.
17046 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17048         * po/Makefile (libc.pot): Use UTF-8 charset.
17050 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17052         [BZ #14210]
17053         Suppress sign-conversion warning from FD_SET.
17054         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17055         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17056         not unsigned long int.
17057         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17059 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17061         [BZ #14050]
17062         [BZ #14117]
17063         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17064         __extern_always_inline instead of __extern_inline.
17065         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17066         (__signbit): Likewise.
17067         (__signbitl): Support C++ namespace.
17068         (lrintf): New inline function.
17069         (lrint): Likewise.
17070         (llrintf): Likewise.
17071         (llrint): Likewise.
17072         (fmaxf): Likewise.
17073         (fmax): Likewise.
17074         (fminf): Likewise.
17075         (fmin): Likewise.
17076         (rint): Likewise.
17077         (rintf): Likewise.
17078         (ceil): Likewise.
17079         (ceilf): Likewise.
17080         (floor): Likewise.
17081         (floorf): Likewise.
17082         (nearbyint): Likewise.
17083         (nearbyintf): Likewise.
17085 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17087         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17088         non-default versions.
17090 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17092         [BZ #14218]
17093         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17095 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17097         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17098         (FE_UPWARD, FE_DOWNWARD): Don't define.
17099         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17100         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17102         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17103         reading it.
17104         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17105         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17107 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17109         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17111         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17112         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17114 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17116         [BZ #14117]
17117         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17118         * sysdeps/i386/fpu/Implies: New file.
17119         * sysdeps/x86_64/fpu/Implies: Likewise.
17120         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17121         * sysdeps/x86/fpu/bits/fenv.h: This.
17123         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17124         __SSE_MATH__.
17126 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17128         [BZ #14134]
17129         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17130         character 0xffff that matches the last element of the
17131         conversion table.
17133 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17135         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17136         fmodl commit.
17138 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17140         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17141         values higher than 25.6283.
17143 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17145         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17146         subnormal exponent extraction and add some __builtin_expect.
17147         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17148         Fix for subnormal mantissa calculation.
17150 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17152         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17153         cpu2 is -1 and errno is not ENOSYS.
17155 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17157         [BZ #14117]
17158         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17159         * sysdeps/x86/bits/string.h: This.
17160         * sysdeps/x86_64/bits/string.h: Removed.
17162         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17163         if not compiling for x86-64, but compiling for >= i486.
17165         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17166         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17168         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17169         New macro from Linux kernel 3.4.0.
17170         (FP_XSTATE_MAGIC2): Likewise.
17171         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17172         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17173         (struct _fpx_sw_bytes): New struct.
17174         (struct _xsave_hdr): Likewise.
17175         (struct _ymmh_state): Likewise.
17176         (struct _xstate): Likewise.
17178         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17179         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17180         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17181         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17182         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17183         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17185         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17186         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17187         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17188         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17189         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17190         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17192 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17194         [BZ #13743]
17195         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17196         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17197         (sysdep_headers): Include sys/platform/ppc.h.
17198         * sysdeps/powerpc/test-gettimebase.c: Test for
17199         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17200         * manual/Makefile (appendices): Include platform.texi.
17201         * manual/contrib.texi (Contributors): Update @node pointers.
17202         * manual/maint.texi (Maintenance): Likewise.
17203         (Platform): New node.
17204         * manual/platform.texi: New file.  Document the new features.
17206 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17207             Jakub Jelinek  <jakub@redhat.com>
17209         [BZ #14188]
17210         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17211         where __builtin_expect is unavailable.
17213 2012-06-03  David S. Miller  <davem@davemloft.net>
17215         * stdlib/longlong.h: Updated from GCC.
17217 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17219         [BZ #14042]
17220         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17221         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17222         __mcount_internal.
17223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17224         (GLIBC_2.16): Likewise.
17226 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17228         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17230 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17233         (default-abi): New variable.
17234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17235         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17236         variable.
17237         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17238         Likewise.
17239         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17240         Likewise.
17241         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17242         Likewise.
17244         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17245         definition.  Document in comment.
17247 2012-06-01  David S. Miller  <davem@davemloft.net>
17249         * stdlib/longlong.h: Updated from GCC.
17251 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17253         [BZ #14117]
17254         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17255         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17256         sys/debugreg.h sys/io.h here.
17257         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17258         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17259         sys/io.h.
17260         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17261         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17262         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17263         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17264         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17265         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17267         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17268         Define only if __x86_64__ is defined.
17270 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #14048]
17273         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17274         Use int64_t for variable i.
17275         * math/libm-test.inc (fmod_test): Add more tests.
17277         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17278         z computation is not scheduled after fetestexcept.
17279         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17280         Use math_force_eval instead of asm to ensure calculation scheduled
17281         before exception test.
17282         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17283         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17285 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17287         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17288         computation is not scheduled after fetestexcept.
17290 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17292         [BZ #14117]
17293         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17294         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17296 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17298         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17299         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17301 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17303         [BZ #14117]
17304         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17305         <bits/wordsize.h>.
17306         (__WCHAR_MIN): Support __WORDSIZE == 64.
17307         (__WCHAR_MAX): Likewise.
17309         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17310         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17312         [BZ #14183]
17313         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17314         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17316         [BZ #14117]
17317         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17318         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17320         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17321         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17323         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17324         Defined to 1 if __x86_64__ isn't defined.
17325         (_STAT_VER_LINUX_OLD): New.
17326         (st_atime): Remove duplicate.
17327         (st_mtime): Likewise.
17328         (st_ctime): Likewise.
17330 2012-05-31  David S. Miller  <davem@davemloft.net>
17332         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17333         entries.
17335 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17337         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17338         gen-libm-test.pl.
17340         [BZ #14132]
17341         * elf/dl-reloc.c: Include <_itoa.h>.
17342         (_dl_reloc_bad_type): Remove use of INTUSE.
17343         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17344         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17345         * stdio-common/psiginfo.c (psiginfo): Likewise.
17346         * stdio-common/psignal.c (psignal): Likewise.
17347         * string/strsignal.c (strsignal): Likewise.
17348         * include/signal.h (_sys_siglist): Declare hidden proto.
17349         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17350         INTVARDEF with libc_hidden_data_def.
17351         * stdio-common/itoa-udigits.c: Likewise.
17352         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17353         (_itoa_lower_digits_internal): Remove declaration.
17354         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17355         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17356         (_sys_sigabbrev_internal): Remove aliases.
17357         (_sys_siglist): Define hidden alias.
17359 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17362         bits/sysctl.h.
17364 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17366         [BZ #14117]
17367         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17368         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17370         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17371         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17372         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17373         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17374         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17375         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17377         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17378         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17379         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17381         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17382         with __addr.
17383         (insw): Likewise.
17384         (insl): Likewise.
17385         (outsb): Likewise.
17386         (outsw): Likewise.
17387         (outsl): Likewise.
17389         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17390         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17391         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17393         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17394         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17395         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17396         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17397         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17398         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17400         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17401         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17403         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17404         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17406         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17407         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17408         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17410         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17411         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17412         to ...
17413         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17415         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17416         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17417         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17419         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17420         for x86-64.
17421         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17423 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17425         * math/math.h (M_El): Use two more decimal places.
17426         (M_LOG2El): Likewise.
17427         (M_LOG10El): Likewise.
17428         (M_LN2l): Likewise.
17429         (M_LN10l): Likewise.
17430         (M_PIl): Likewise.
17431         (M_PI_2l): Likewise.
17432         (M_PI_4l): Likewise.
17433         (M_1_PIl): Likewise.
17434         (M_2_PIl): Likewise.
17435         (M_2_SQRTPIl): Likewise.
17436         (M_SQRT2l): Likewise.
17437         (M_SQRT1_2l): Likewise.
17439 2012-05-31  David S. Miller  <davem@davemloft.net>
17441         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17442         values between float registers.
17443         * sysdeps/sparc/sparc64/memset.S: Likewise.
17444         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17446 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17448         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17449         -D_FORTIFY_SOURCE=1.
17450         (CPPFLAGS-tst-longjmp_chk.c): Define.
17451         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17452         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17453         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17454         CFLAGS-tst-wchar-h.c.
17456 2012-05-31  Marek Polacek  <polacek@redhat.com>
17458         [BZ #14132]
17459         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17460         __endmntent_internal): Remove declaration.
17461         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17462         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17463         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17465 2012-05-30  David S. Miller  <davem@davemloft.net>
17467         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17468         (___Q_simulate_exceptions): Use real FP ops rather than writing
17469         into the %fsr.
17470         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17471         Likewise.
17473 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17475         [BZ #14117]
17476         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17477         * sysdeps/x86/bits/xtitypes.h: This.
17479         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17480         * sysdeps/x86/bits/wordsize.h: This.
17482         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17483         * sysdeps/x86/bits/huge_vall.h: This.
17485         * sysdeps/i386/bits/select.h: Removed.
17486         * sysdeps/x86_64/bits/select.h: Renamed to ...
17487         * sysdeps/x86/bits/select.h: This.
17489         * sysdeps/i386/bits/setjmp.h: Removed.
17490         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17491         * sysdeps/x86/bits/setjmp.h: This.
17493         * sysdeps/i386/bits/mathdef.h: Removed.
17494         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17495         * sysdeps/x86/bits/mathdef.h: This.
17497 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17499         [BZ #14132]
17500         * include/sys/socket.h (__connect_internal)
17501         (__libc_sa_len_internal): Remove declaration.
17502         (__connect, __libc_sa_len): Declare hidden_proto.
17503         (SA_LEN): Remove use of INTUSE.
17504         * socket/connect.c: Add libc_hidden_def.
17505         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17506         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17507         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17508         alias.
17509         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17511         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17512         of adding _internal alias.
17514 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17516         [BZ #14117]
17517         * sysdeps/i386/bits/link.h: Removed.
17518         * sysdeps/i386/bits/linkmap.h: Likewise.
17519         * sysdeps/x86_64/bits/link.h: Renamed to ...
17520         * sysdeps/x86/bits/link.h: This.
17521         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17522         * sysdeps/x86/bits/linkmap.h: This.
17524         * sysdeps/i386/bits/endian.h: Removed.
17525         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17526         * sysdeps/x86/bits/endian.h: This.
17528         * sysdeps/i386/bits/byteswap.h: Removed.
17529         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17530         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17531         * sysdeps/x86/bits/byteswap.h: This.
17532         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17533         * sysdeps/x86/bits/byteswap-16.h: This.
17534         * sysdeps/i386/Implies: Add x86.
17535         * sysdeps/x86_64/Implies: Likewise.
17537 2012-05-30  David S. Miller  <davem@davemloft.net>
17539         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17540         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17541         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17542         (FP_TRAPPING_EXCEPTIONS): Define.
17543         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17544         (FP_TRAPPING_EXCEPTIONS): Define.
17545         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17546         subnormals only when inexact has been signalled or underflow
17547         exceptions are enabled.
17548         (_FP_PACK_CANONICAL): Likewise.
17550 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17552         [BZ #14183]
17553         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17554         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17556 2012-05-30  Richard Henderson  <rth@twiddle.net>
17558         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17559         with #ifndef NOT_IN_libc.
17561         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17562         marked to avoid plt entry.
17564 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17566         [BZ #14112]
17567         * Makeconfig (default-abi): New macro.
17568         (abi-includes): Likewise.
17569         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17570         $(abi-$(default-abi)-lib-soname) for soname if defined.
17571         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17572         abi-variants.
17573         * Makefile (installed-stubs): Likewise.
17574         * include/stubs-biarch.h: Removed.
17575         * scripts/lib-names.awk: Only handle one library at a time.
17576         * scripts/soversions.awk: Remove WORDSIZE support.
17577         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17578         entries.
17579         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17580         Removed.
17581         (syscall-list-default-condition): Likewise.
17582         (syscall-list-default-condition): Likewise.
17583         (syscall-list-includes): Likewise.
17584         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17585         syscall-list-* with abi-*.  Handle undefined abi-variants.
17586         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17587         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17588         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17589         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17590         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17591         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17592         Removed.
17593         (syscall-list-32-options): Likewise.
17594         (syscall-list-32-condition): Likewise.
17595         (syscall-list-64-options): Likewise.
17596         (syscall-list-64-condition): Likewise.
17597         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17598         macro.
17599         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17600         Renamed to ...
17601         (abi-*): This.
17602         (abi-64-ld-soname): New macro.
17603         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17604         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17605         Renamed to ...
17606         (abi-*): This.
17607         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17608         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17610 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17612         * sysdeps/unix/sysv/linux/kernel-features.h
17613         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17614         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17615         include <kernel-features.h>.
17616         [!__NR_ftruncate64]: Remove conditional code.
17617         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17618         [__NR_ftruncate64]: Make code unconditional.
17619         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17620         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17621         include <kernel-features.h>.
17622         [!__NR_ftruncate64]: Remove conditional code.
17623         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17624         [__NR_ftruncate64]: Make code unconditional.
17625         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17627         include <kernel-features.h>.
17628         [!__NR_ftruncate64]: Remove conditional code.
17629         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17630         [__NR_ftruncate64]: Make code unconditional.
17631         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17633         include <kernel-features.h>.
17634         [!__NR_ftruncate64]: Remove conditional code.
17635         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17636         [__NR_ftruncate64]: Make code unconditional.
17637         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17639         * configure.in (libc_cv_fpie): Weaken to a compile test using
17640         LIBC_TRY_CC_OPTION.
17641         * configure: Regenerated.
17643 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17647         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17649         Refreshed.
17650         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17652         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17656         Refreshed.
17658 2012-05-27  David S. Miller  <davem@davemloft.net>
17660         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17661         (___Q_zero): New.
17662         (__Q_simulate_exceptions): Return void.  Change to simulate
17663         exceptions by writing into the %fsr.
17664         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17665         (__Qp_handle_exceptions): Likewise.
17666         (numbers): Delete.
17667         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17668         __Qp_handle_exceptions.
17669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17670         __Qp_handle_exceptions.
17671         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17672         as unused and give dummy FP_RND_NEAREST initializer.
17673         (FP_INHIBIT_RESULTS): Define.
17674         (___Q_simulate_exceptions): Update declaration.
17675         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17676         formatting.
17677         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17678         as unused and give dummy FP_RND_NEAREST initializer.
17679         (__Qp_handle_exceptions): Update declaration.
17680         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17681         formatting.
17683 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17685         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17686         the temporary FPU control word.
17687         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17688         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17689         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17690         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17691         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17692         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17693         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17694         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17695         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17696         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17697         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17699 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17701         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17702         fields.
17704 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17706         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17707         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17708         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17709         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17710         Likewise.
17711         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17712         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17713         Likewise.
17715 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17717         * po/h.po: Update from translation team.
17719 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17721         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17723         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17724         handling of denormals.
17725         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17726         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17727         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17728         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17729         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17730         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17731         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17732         Likewise.
17734 2012-05-26  Marek Polacek  <polacek@redhat.com>
17736         [BZ #14152]
17737         * math/libm-test.inc (fma_test): Don't always expect underflow
17738         exception.
17740 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17742         [BZ #12416]
17743         * elf/tst-execstack.c: Include stackinfo.h.
17744         (do_test): Adjust test case to ensure that pthread_getattr_np
17745         behaviour remains the same after marking stack executable.
17747 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17749         * sysdeps/unix/sysv/linux/kernel-features.h
17750         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17751         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17752         kernel-features.h.
17753         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17754         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17755         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17756         kernel-features.h.
17757         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17758         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17760 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17762         * configure.in: Define the default includes to being none.
17763         * configure: Regenerated.
17765 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17767         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17768         * sysdeps/x86_64/setjmp.S: Likewise.
17769         * sysdeps/i386/bsd-setjmp.S: Likewise.
17770         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17771         * sysdeps/i386/setjmp.S: Likewise.
17772         * sysdeps/i386/__longjmp.S: Likewise.
17773         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17774         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17776         * include/stap-probe.h: New file.
17777         * configure.in: Handle --enable-systemtap.
17778         * configure: Regenerated.
17779         * config.h.in (USE_STAP_PROBE): New #undef.
17780         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17781         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17782         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17784 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17786         [BZ #13717]
17787         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17788         to 2.4.0 where earlier.
17789         * sysdeps/unix/sysv/linux/configure: Regenerated.
17790         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17791         <kernel-features.h>.
17792         [__ASSUME_32BITUIDS]: Make code unconditional.
17793         [!__ASSUME_32BITUIDS]: Remove conditional code.
17794         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17795         <kernel-features.h>.
17796         [__ASSUME_32BITUIDS]: Make code unconditional.
17797         [!__ASSUME_32BITUIDS]: Remove conditional code.
17798         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17799         [__ASSUME_32BITUIDS]: Make code unconditional.
17800         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17801         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17802         <kernel-features.h>.
17803         [__ASSUME_32BITUIDS]: Make code unconditional.
17804         [!__ASSUME_32BITUIDS]: Remove conditional code.
17805         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17806         <kernel-features.h>.
17807         [__ASSUME_32BITUIDS]: Make code unconditional.
17808         [!__ASSUME_32BITUIDS]: Remove conditional code.
17809         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17810         <kernel-features.h>.
17811         [__ASSUME_32BITUIDS]: Make code unconditional.
17812         [!__ASSUME_32BITUIDS]: Remove conditional code.
17813         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17814         <kernel-features.h>.
17815         [__ASSUME_32BITUIDS]: Make code unconditional.
17816         [!__ASSUME_32BITUIDS]: Remove conditional code.
17817         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17818         <kernel-features.h>.
17819         [__ASSUME_32BITUIDS]: Make code unconditional.
17820         [!__ASSUME_32BITUIDS]: Remove conditional code.
17821         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17822         <kernel-features.h>.
17823         [__ASSUME_32BITUIDS]: Make code unconditional.
17824         [!__ASSUME_32BITUIDS]: Remove conditional code.
17825         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17826         <kernel-features.h>.
17827         [__ASSUME_32BITUIDS]: Make code unconditional.
17828         [!__ASSUME_32BITUIDS]: Remove conditional code.
17829         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17830         <kernel-features.h>.
17831         [__ASSUME_32BITUIDS]: Make code unconditional.
17832         [!__ASSUME_32BITUIDS]: Remove conditional code.
17833         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17834         <kernel-features.h>.
17835         [__ASSUME_32BITUIDS]: Make code unconditional.
17836         [!__ASSUME_32BITUIDS]: Remove conditional code.
17837         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17838         <kernel-features.h>.
17839         [__ASSUME_32BITUIDS]: Make code unconditional.
17840         [!__ASSUME_32BITUIDS]: Remove conditional code.
17841         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17842         <kernel-features.h>.
17843         [__NR_setresgid] (__setresgid): Do not declare.
17844         [__ASSUME_32BITUIDS]: Make code unconditional.
17845         [!__ASSUME_32BITUIDS]: Remove conditional code.
17846         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17847         <kernel-features.h>.
17848         [__NR_setresuid] (__setresuid): Do not declare.
17849         [__ASSUME_32BITUIDS]: Make code unconditional.
17850         [!__ASSUME_32BITUIDS]: Remove conditional code.
17851         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17852         <kernel-features.h>.
17853         [__ASSUME_32BITUIDS]: Make code unconditional.
17854         [!__ASSUME_32BITUIDS]: Remove conditional code.
17855         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
17856         <kernel-features.h>.
17857         [__ASSUME_32BITUIDS]: Make code unconditional.
17858         [!__ASSUME_32BITUIDS]: Remove conditional code.
17859         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
17860         <kernel-features.h>.
17861         [__ASSUME_32BITUIDS]: Make code unconditional.
17862         [!__ASSUME_32BITUIDS]: Remove conditional code.
17863         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
17864         <kernel-features.h>.
17865         [__ASSUME_32BITUIDS]: Make code unconditional.
17866         [!__ASSUME_32BITUIDS]: Remove conditional code.
17867         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
17868         <kernel-features.h>.
17869         [__ASSUME_32BITUIDS]: Make code unconditional.
17870         [!__ASSUME_32BITUIDS]: Remove conditional code.
17871         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
17872         <kernel-features.h>.
17873         [__ASSUME_32BITUIDS]: Make code unconditional.
17874         [!__ASSUME_32BITUIDS]: Remove conditional code.
17875         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
17876         <kernel-features.h>.
17877         [__ASSUME_32BITUIDS]: Make code unconditional.
17878         [!__ASSUME_32BITUIDS]: Remove conditional code.
17879         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
17880         <kernel-features.h>.
17881         [__ASSUME_32BITUIDS]: Make code unconditional.
17882         [!__ASSUME_32BITUIDS]: Remove conditional code.
17883         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
17884         <kernel-features.h>.
17885         [__ASSUME_32BITUIDS]: Make code unconditional.
17886         [!__ASSUME_32BITUIDS]: Remove conditional code.
17887         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17888         <kernel-features.h>.
17889         [__ASSUME_32BITUIDS]: Make code unconditional.
17890         [!__ASSUME_32BITUIDS]: Remove conditional code.
17891         * sysdeps/unix/sysv/linux/kernel-features.h
17892         (__ASSUME_SETRESUID_SYSCALL): Remove.
17893         (__ASSUME_SETRESGID_SYSCALL): Likewise.
17894         (__ASSUME_32BITUIDS): Likewise.
17895         (__ASSUME_LDT_WORKS): Likewise.
17896         (__ASSUME_O_DIRECTORY): Likewise.
17897         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
17898         architecture but not kernel version.
17899         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17900         (__ASSUME_MMAP2_SYSCALL): Likewise.
17901         (__ASSUME_STAT64_SYSCALL): Likewise.
17902         (__ASSUME_IPC64): Likewise.
17903         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
17904         <kernel-features.h>.
17905         [__ASSUME_32BITUIDS]: Make code unconditional.
17906         [!__ASSUME_32BITUIDS]: Remove conditional code.
17907         * sysdeps/unix/sysv/linux/opendir.c: Do not include
17908         <kernel-features.h>.
17909         [__ASSUME_O_DIRECTORY]: Make code unconditional.
17910         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
17911         132096]: Remove conditional code.
17912         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
17913         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17914         <kernel-features.h>.
17915         [__ASSUME_32BITUIDS]: Make code unconditional.
17916         [!__ASSUME_32BITUIDS]: Remove conditional code.
17917         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17918         <kernel-features.h>.
17919         [__ASSUME_32BITUIDS]: Make code unconditional.
17920         [!__ASSUME_32BITUIDS]: Remove conditional code.
17921         * sysdeps/unix/sysv/linux/setegid.c: Do not include
17922         <kernel-features.h>.
17923         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
17924         unconditional.
17925         (__setresgid): Do not declare.
17926         [__ASSUME_32BITUIDS]: Make code unconditional.
17927         [!__ASSUME_32BITUIDS]: Remove conditional code.
17928         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
17929         <kernel-features.h>.
17930         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
17931         unconditional.
17932         (__setresuid): Do not declare.
17933         [__ASSUME_32BITUIDS]: Make code unconditional.
17934         [!__ASSUME_32BITUIDS]: Remove conditional code.
17935         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17936         <kernel-features.h>.
17937         [__ASSUME_32BITUIDS]: Make code unconditional.
17938         [!__ASSUME_32BITUIDS]: Remove conditional code.
17939         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
17940         <kernel-features.h>.
17941         [__ASSUME_32BITUIDS]: Make code unconditional.
17942         [!__ASSUME_32BITUIDS]: Remove conditional code.
17944 2012-05-25  Richard Henderson  <rth@twiddle.net>
17946         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
17947         dl_hwcap to ifunc resolver.
17948         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
17949         elf_ifunc_invoke.
17950         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
17951         dl_hwcap to ifunc resolver.
17952         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
17954 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17956         [BZ #14153]
17957         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
17958         for |x| <= 2**-26, not 2**-57.
17959         * math/libm-test.inc (acos_test): Do not allow spurious underflow
17960         exception.
17962 2012-05-24  Jeff Law  <law@redhat.com>
17964         * stdio-common/Makefile (tests): Add bug25.
17965         * stdio-common/bug25.c: New test.
17967 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
17969         [BZ #13576]
17970         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
17971         multiple of MALLOC_ALIGNMENT in size.
17972         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
17974 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
17976         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
17977         Require >= 256.
17978         (FILENAME_MAX): Use macro-int-constant.
17979         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
17980         (_IOFBF): Use macro-int-constant.
17981         (_IOLBF): Likewise.
17982         (_IONBF): Likewise.
17983         (SEEK_CUR): Likewise.
17984         (SEEK_END): Likewise.
17985         (SEEK_SET): Likewise.
17986         (TMP_MAX): Likewise.
17987         (EOF): Use macro-int-constant.  Require < 0.
17988         (NULL): Use macro-constant.  Require == 0.
17989         (stdin): Require type to be FILE *.
17990         (stdout): Likewise.
17991         (stderr): Likewise.
17992         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
17993         macro-int-constant.
17994         (EXIT_SUCCESS): Likewise.
17995         (NULL): Use macro-constant.  Require == 0.
17996         (RAND_MAX): Use macro-int-constant.
17997         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
17998         [C99-based standards] (strtof): Require function.
17999         [C99-based standards] (strtold): Likewise.
18000         [C99-based standards] (strtoll): Likewise.
18001         [C99-based standards] (strtoull): Likewise.
18002         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18003         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18004         [ISO || ISO99 || ISO11] (math.h): Likewise.
18005         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18006         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18007         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18009 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18011         [BZ #14132]
18012         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18013         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18014         * intl/dgettext.c (DCGETTEXT): Likewise.
18015         * intl/gettext.c (DCGETTEXT): Likewise.
18016         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18017         * posix/regex_internal.h (gettext): Likewise.
18018         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18019         Remove declaration.
18020         * include/argz.h (__argz_count_internal)
18021         (__argz_stringify_internal): Remove declaration.
18022         (__argz_count, __argz_stringify): Declare hidden proto.
18023         * intl/dcgettext.c: Remove use of INTDEF.
18024         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18025         * string/argz-stringify.c: Likewise.
18026         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18027         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18028         Declare hidden proto.
18029         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18030         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18031         Declare hidden proto.
18032         * include/stdio.h (__asprintf_internal): Don't declare.
18033         (__asprintf): Don't define as macro.  Declare hidden proto.
18034         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18035         (__fsetlocking): Declare hidden proto.
18036         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18037         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18038         hidden proto.
18039         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18040         (_IO_setlinebuf): Remove use of INTUSE.
18041         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18042         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18043         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18044         Remove declaration.
18045         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18046         (_IO_do_flush): Remove use of INTUSE.
18047         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18048         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18049         (_IO_adjust_column, _IO_least_wmarker)
18050         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18051         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18052         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18053         (_IO_default_doallocate, _IO_wdefault_doallocate)
18054         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18055         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18056         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18057         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18058         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18059         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18060         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18061         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18062         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18063         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18064         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18065         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18066         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18067         proto.
18068         (_IO_flush_all_internal, _IO_adjust_column_internal)
18069         (_IO_default_uflow_internal, _IO_default_finish_internal)
18070         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18071         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18072         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18073         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18074         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18075         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18076         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18077         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18078         (_IO_file_close_internal, _IO_file_close_it_internal)
18079         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18080         (_IO_file_init_internal, _IO_file_attach_internal)
18081         (_IO_file_fopen_internal, _IO_file_read_internal)
18082         (_IO_file_sync_internal, _IO_file_seek_internal)
18083         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18084         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18085         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18086         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18087         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18088         (_IO_list_all_internal, _IO_link_in_internal)
18089         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18090         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18091         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18092         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18093         (_IO_do_write_internal, _IO_padn_internal)
18094         (_IO_getline_info_internal, _IO_getline_internal)
18095         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18096         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18097         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18098         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18099         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18100         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18101         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18102         with libc_hidden_ver, remove use of INTUSE.
18103         * libio/genops.c: Likewise.
18104         * libio/freopen.c: Likewise.
18105         * libio/freopen64.c: Likewise.
18106         * libio/iofclose.c: Likewise.
18107         * libio/iofdopen.c: Likewise.
18108         * libio/iofflush.c: Likewise.
18109         * libio/iofflush_u.c: Likewise.
18110         * libio/iofgets.c: Likewise.
18111         * libio/iofgets_u.c: Likewise.
18112         * libio/iofopen.c: Likewise.
18113         * libio/iofopncook.c: Likewise.
18114         * libio/iofread.c: Likewise.
18115         * libio/iofread_u.c: Likewise.
18116         * libio/ioftell.c: Likewise.
18117         * libio/iofwrite.c: Likewise.
18118         * libio/iogetline.c: Likewise.
18119         * libio/iogets.c: Likewise.
18120         * libio/iogetwline.c: Likewise.
18121         * libio/iopadn.c: Likewise.
18122         * libio/iopopen.c: Likewise.
18123         * libio/ioseekoff.c: Likewise.
18124         * libio/ioseekpos.c: Likewise.
18125         * libio/iosetbuffer.c: Likewise.
18126         * libio/iosetvbuf.c: Likewise.
18127         * libio/ioungetc.c: Likewise.
18128         * libio/ioungetwc.c: Likewise.
18129         * libio/iovdprintf.c: Likewise.
18130         * libio/iovsprintf.c: Likewise.
18131         * libio/iovsscanf.c: Likewise.
18132         * libio/memstream.c: Likewise.
18133         * libio/obprintf.c: Likewise.
18134         * libio/oldfileops.c: Likewise.
18135         * libio/oldiofclose.c: Likewise.
18136         * libio/oldiofdopen.c: Likewise.
18137         * libio/oldiofopen.c: Likewise.
18138         * libio/oldiopopen.c: Likewise.
18139         * libio/oldstdfiles.c: Likewise.
18140         * libio/putc.c: Likewise.
18141         * libio/setbuf.c: Likewise.
18142         * libio/setlinebuf.c: Likewise.
18143         * libio/stdfiles.c: Likewise.
18144         * libio/strops.c: Likewise.
18145         * libio/vasprintf.c: Likewise.
18146         * libio/vscanf.c: Likewise.
18147         * libio/vsnprintf.c: Likewise.
18148         * libio/vswprintf.c: Likewise.
18149         * libio/wfiledoalloc.c: Likewise.
18150         * libio/wfileops.c: Likewise.
18151         * libio/wgenops.c: Likewise.
18152         * libio/wmemstream.c: Likewise.
18153         * libio/wstrops.c: Likewise.
18154         * libio/__fpurge.c: Likewise.
18155         * libio/__fsetlocking.c: Likewise.
18156         * assert/assert.c: Likewise.
18157         * debug/fgets_chk.c: Likewise.
18158         * debug/fgets_u_chk.c: Likewise.
18159         * debug/fread_chk.c: Likewise.
18160         * debug/fread_u_chk.c: Likewise.
18161         * debug/gets_chk.c: Likewise.
18162         * debug/obprintf_chk.c: Likewise.
18163         * debug/vasprintf_chk.c: Likewise.
18164         * debug/vdprintf_chk.c: Likewise.
18165         * debug/vsnprintf_chk.c: Likewise.
18166         * debug/vsprintf_chk.c: Likewise.
18167         * malloc/mtrace.c: Likewise.
18168         * misc/error.c: Likewise.
18169         * misc/syslog.c: Likewise.
18170         * stdio-common/asprintf.c: Likewise.
18171         * stdio-common/fxprintf.c: Likewise.
18172         * stdio-common/getw.c: Likewise.
18173         * stdio-common/isoc99_fscanf.c: Likewise.
18174         * stdio-common/isoc99_scanf.c: Likewise.
18175         * stdio-common/isoc99_vfscanf.c: Likewise.
18176         * stdio-common/isoc99_vscanf.c: Likewise.
18177         * stdio-common/isoc99_vsscanf.c: Likewise.
18178         * stdio-common/printf-prs.c: Likewise.
18179         * stdio-common/printf_fp.c: Likewise.
18180         * stdio-common/printf_fphex.c: Likewise.
18181         * stdio-common/printf_size.c: Likewise.
18182         * stdio-common/putw.c: Likewise.
18183         * stdio-common/scanf.c: Likewise.
18184         * stdio-common/sprintf.c: Likewise.
18185         * stdio-common/tmpfile.c: Likewise.
18186         * stdio-common/vfprintf.c: Likewise.
18187         * stdio-common/vfscanf.c: Likewise.
18188         * stdlib/strfmon_l.c: Likewise.
18189         * sunrpc/openchild.c: Likewise.
18190         * sunrpc/xdr_stdio.c: Likewise.
18191         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18192         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18194 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18196         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18198         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18199         in the third column, to generate for the shared library an IFUNC
18200         that uses _dl_vdso_vsym.
18201         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18202         * Makeconfig (object-suffixes-noshared): New variable.
18204         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18205         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18206         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18207         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18209         [BZ #14132]
18210         * include/sys/time.h (__gettimeofday): Remove macro.
18211         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18212         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18213         Remove INTDEF.
18214         (__gettimeofday): Add libc_hidden_def.
18215         (gettimeofday): Add libc_hidden_weak.
18216         * sysdeps/mach/gettimeofday.c: Likewise.
18217         * sysdeps/posix/gettimeofday.c: Likewise.
18218         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18219         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18220         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18221         (__gettimeofday_internal): Remove strong_alias.
18222         (__gettimeofday): Add libc_hidden_def.
18223         (gettimeofday): Add libc_hidden_weak.
18224         * sysdeps/unix/syscalls.list (gettimeofday):
18225         Remove __gettimeofday_internal alias.
18227 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18228             H.J. Lu  <hongjiu.lu@intel.com>
18230         [BZ #12495]
18231         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18232         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18233         (largebin_index_32_big): New.
18234         (largebin_index): Use it for 16-byte alignment.
18235         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18236         correction with front_misalign.
18238 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18241         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18242         Likewise.
18243         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18244         Likewise.
18245         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18246         Likewise.
18247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18248         Likewise.
18249         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18250         Likewise.
18251         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18252         Likewise.
18253         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18254         Likewise.
18255         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18256         Likewise.
18257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18258         Likewise.
18259         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18260         Likewise.
18261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18262         Likewise.
18263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18264         Likewise.
18266         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18267         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18269 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18271         [BZ #10846]
18272         [BZ #14036]
18273         * math/libm-test.inc (exp_test): Add test from bug 14036.
18274         (pow_test): Add test from bug 10846.
18276         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18277         and other flags.
18278         (special_function): Do not include flags in test name.
18279         (parse_args): Likewise.
18280         * sysdeps/i386/fpu/libm-test-ulps: Update.
18281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18282         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18283         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18286         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18287         exceptions.
18288         * math/libm-test.inc ("Philosophy"): Update comment about
18289         exception testing.
18290         (UNDERFLOW_EXCEPTION): New macro.
18291         (UNDERFLOW_EXCEPTION_OK): Likewise.
18292         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18293         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18294         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18295         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18296         (INVALID_EXCEPTION_OK): Update value.
18297         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18298         (OVERFLOW_EXCEPTION_OK): Likewise.
18299         (IGNORE_ZERO_INF_SIGN): Likewise.
18300         (test_exceptions): Handle underflow exceptions.
18301         (acos_test): Update for underflow exception expectations.
18302         (cexp_test): Likewise.
18303         (clog_test): Likewise.
18304         (clog10_test): Likewise.
18305         (csqrt_test): Likewise.
18306         (ctan_test): Likewise.
18307         (ctanh_test): Likewise.
18308         (exp_test): Likewise.
18309         (exp10_test): Likewise.
18310         (exp2_test): Likewise.
18311         (expm1_test): Likewise.
18312         (fma_test): Likewise.
18313         (j0_test): Likewise.
18314         (jn_test): Likewise.
18315         (nexttoward_test): Likewise.
18316         (pow_test): Likewise.
18317         (scalbn_test): Likewise.
18318         (scalbln_test): Likewise.
18319         (tan_test): Likewise.
18320         (y1_test): Likewise.
18321         * sysdeps/i386/fpu/libm-test-ulps: Update.
18322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18324 2012-05-23  David S. Miller  <davem@davemloft.net>
18326         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18327         (__libc_sigaction): Remove unused local variables.
18329 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18331         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18333 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18335         mktime: avoid signed integer overflow
18336         * time/mktime.c (__mktime_internal): Do not mishandle the case
18337         where diff == INT_MIN.
18339         mktime: simplify computation of average
18340         * time/mktime.c (ranged_convert): Use new time_t_avg function
18341         instead of rolling our own (probably-slower) code.
18343         mktime: do not assume signed right shift propagates sign bit
18344         * time/mktime.c (isdst_differ): New static function.
18345         (__mktime_internal): No need to normalize tm_isdst now.
18346         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18347         tm_isdst values.
18349         mktime: merge another wrapv change from gnulib
18350         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18351         from some compilers.
18353         mktime: remove incorrect attempt at unusual arithmetics
18354         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18355         The code didn't really work on such machines anyway.
18356         (TYPE_MINIMUM): Assume two's complement.
18357         (twos_complement_arithmetic): Verify that long_int and time_t
18358         are two's complement (or unsigned, in the latter case).
18360         mktime: check signed shifts on long_int and time_t, too
18361         * time/mktime.c (SHR): Check that shifts work as desired
18362         on the types long_int and time_t too, as SHR is used on
18363         such types.
18365         mktime: do not assume 'long' is wide enough
18366         * time/mktime.c (verify): Move decl up.
18367         (long_int): New type.
18368         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18369         to remove assumption in the code that 'long' is wide enough to
18370         store year values.  This assumption is not true on x32 and on
18371         some non-glibc platforms.
18373         mktime: merge wrapv change from gnulib
18374         * time/mktime.c (WRAPV): New macro.
18375         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18376         (guess_time_tm, __mktime_internal): Do not assume that signed
18377         integer overflow wraps around; modern compilers generate code
18378         where this assumption is no longer valid.
18380 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18382         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18383         Replace "jmp L(pseudo_end)" with "ret".
18384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18385         Likewise.
18387 2012-05-23  Andreas Jaeger  <aj@suse.de>
18389         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18390         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18392 2012-05-23  Andreas Jaeger  <aj@suse.de>
18393             Maximilian Attems  <max@stro.at>
18395         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18396         New macros.
18398 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18400         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18401         code so that pseudo_end is just ret and the stack pointer is
18402         correct also for static library in error case.
18404 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18406         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18407         move to syscalls.list.
18408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18413         * manual/install.texi (Running make install): Do not mention Linux
18414         kernel version for which pt_chown is not needed.
18415         (Linux): Do not mention problems with nscd with 2.0 kernels.
18416         * INSTALL: Regenerated.
18418 2012-05-23  Andreas Jaeger  <aj@suse.de>
18420         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18421         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18422         macro.
18423         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18424         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18425         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18426         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18427         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18428         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18429         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18430         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18431         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18432         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18433         * sysdeps/unix/sysv/linux/bits/in.h
18434         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18436 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18438         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18439         (PREPARE_VERSION): Just use assert instead, it will be elided
18440         under [NDEBUG] anyway.
18442 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18444         * sysdeps/unix/sysv/linux/Makefile: Include
18445         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18446         (sysdep_routines): Remove sysctl.
18447         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18448         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18449         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18450         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18451         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18453 2012-05-22  Andreas Jaeger  <aj@suse.de>
18455         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18456         that pseudo_end is just ret and the stack pointer is correct also
18457         for static library in error case.
18459 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18461         [BZ #14122]
18462         * nss/nsswitch.c (defconfig_entries): New variable.
18463         (__nss_database_lookup): Don't leak defconfig entries.
18464         (nss_parse_service_list): Don't leak on error paths.
18465         (free_database_entries): New function.
18466         (free_defconfig): New function.
18467         (free_mem): Move common code to free_database_entries.
18469 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18471         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18472         Add arch_prctl.
18473         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18475         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18476         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18477         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18478         New macro.
18479         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18480         (INTERNAL_SYSCALL_TYPES): Likewise.
18481         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18482         (LOAD_REGS_TYPES_[1-6]): Likewise.
18483         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18484         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18486 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18488         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18489         copysignl for GLIBC_2_0.
18490         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18491         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18492         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18493         logbl for GLIBC_2_0.
18494         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18495         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18497 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18499         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18502         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18503         Use "neg %eax".
18505         * time/mktime.c: Update copyright years.
18507 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18509         mktime: merge comment-quoting-style change from gnulib
18510         * time/mktime.c: Quote 'like this' in comments.
18511         The GNU coding standards suggest that we no longer quote `like this',
18512         as "`" and "'" are typically rendered asymmetrically nowadays.
18513         The typical gnulib style is to quote 'like this' when quoting
18514         code, and "like this" when quoting English.
18516         * time/mktime.c (compile-command): Add "-I.".
18518         mktime: merge mktime-internal.h change from gnulib
18519         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18521         mktime: merge time_r change from gnulib
18522         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18524         mktime: merge DEBUG change from gnulib
18525         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18526         case system <time.h> has a #define.
18528         mktime: merge <sys/types.h> change from gnulib
18529         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18530         since <time.t> is now guaranteed to define time_t.
18532         mktime: merge HAVE_CONFIG_H change from gnulib
18533         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18535 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18537         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18538         Use "neg %eax".
18540         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18541         __rlim_t cast.
18542         (struct rusage): Use anonymous union to pad each field to
18543         __syscall_slong_t.
18545 2012-05-21  David S. Miller  <davem@davemloft.net>
18547         * Makefules (o-iterator): Remove .s cases.
18548         (compile-command.s): Delete.
18549         (COMPILE.s): Delete.
18550         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18552 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18554         * configure.in (libc_cv_predef_stack_protector): Only consider
18555         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18556         * configure: Regenerated.
18558 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18560         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18561         New macro.  Use R*LP on int and pointer.
18562         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18563         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18564         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18565         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18567         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18568         [__WORDSIZE_TIME64_COMPAT32] instead of
18569         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18570         (struct utmp): Likewise.
18571         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18572         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18573         Renamed to ...
18574         (__WORDSIZE_TIME64_COMPAT32): This.
18575         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18576         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18577         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18578         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18579         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18580         (__WORDSIZE_TIME64_COMPAT32): New macro.
18582 2012-05-21  Andreas Jaeger  <aj@suse.de>
18584         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18585         only if [SHARED]. Add prototype for __wcschr_ia32.
18587 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18589         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18590         of %rbp unmolested in the jmp_buf while mangling the low bits.
18591         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18592         unmolested high bits of %rbp while demangling the low bits.
18593         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18595 2012-05-21  Andreas Jaeger  <aj@suse.de>
18597         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18598         * sunrpc/svc_simple.c: Use it for registerrpc.
18599         * sunrpc/xcrypt.c: Use it for passwd2des.
18601         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18603 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18605         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18606         Don't define if [__SYSCALL_WORDSIZE != 32].
18607         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18608         New macro.
18610 2012-05-21  Bruno Haible  <bruno@clisp.org>
18611             Andreas Jaeger  <aj@suse.de>
18613         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18614         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18615         inptr and inend for must_buffer_ch.
18616         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18617         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18618         * stdio-common/Makefile (tests): Remove bug15.
18619         (bug15-ENV): Remove macro.
18620         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18621         anymore.
18623 2012-05-19  Andreas Jaeger  <aj@suse.de>
18624             Roland McGrath  <roland@hack.frob.com>
18626         * manual/contrib.texi: Completely rewritten. It contains now an
18627         alphabetical list of contributors and their contributions.
18629 2012-05-21  Richard Henderson  <rth@twiddle.net>
18631         * misc/getauxval.c (__getauxval): Use unsigned long int.
18632         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18633         (getauxval): Use unsigned long int.
18635 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18637         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18639 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18641         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18642         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18643         __alignof__ (long double).
18645 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18649 2012-05-20  Richard Henderson  <rth@twiddle.net>
18651         * misc/getauxval.c: New file.
18652         * misc/sys/auxv.h: New file.
18653         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18654         (routines): Add getauxval.
18655         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18656         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18657         * elf/dl-sysdep.c (_dl_auxv): Remove.
18658         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18659         * elf/dl-support.c (_dl_auxv): New variable.
18660         (_dl_aux_init): Initialize it.
18661         * manual/startup.texi (Auxiliary Vector): New node.
18662         * sysdeps/generic/bits/hwcap.h: New file.
18663         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18664         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18665         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18666         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18667         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18668         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18670         Update.
18671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18673         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18674         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18680 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18684 2012-05-19  David S. Miller  <davem@davemloft.net>
18686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18688 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18690         [BZ #14123]
18691         * math/s_ccosh.c: Include <float.h>
18692         (__ccosh): Avoid internal overflow calculating sinh and cosh
18693         values before multiplying by sin and cos values.
18694         * math/s_ccoshf.c: Likewise.
18695         * math/s_ccoshl.c: Likewise.
18696         * math/s_csin.c: Likewise.
18697         * math/s_csinf.c: Likewise.
18698         * math/s_csinl.c: Likewise.
18699         * math/s_csinh.c: Likewise.
18700         * math/s_csinhf.c: Likewise.
18701         * math/s_csinhl.c: Likewise.
18702         * math/libm-test.inc (ccos_test): Add more tests.
18703         (ccosh_test): Likewise.
18704         (csin_test): Likewise.
18705         (csinh_test): Likewise.
18706         * sysdeps/i386/fpu/libm-test-ulps: Update.
18707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18709 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18711         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18712         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18714         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18716 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18718         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18719         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18720         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18721         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18722         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18723         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18724         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18725         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18726         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18727         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18728         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18729         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18730         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18731         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18732         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18733         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18734         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18735         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18736         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18737         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18738         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18739         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18740         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18741         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18742         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18743         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18744         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18745         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18746         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18747         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18748         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18750 2012-05-18  Andreas Jaeger  <aj@suse.de>
18752         * csu/.gitignore: Delete.
18754 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18756         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18757         (timex): Use __syscall_slong_t.
18759 2012-05-18  Andreas Jaeger  <aj@suse.de>
18760             Carlos O'Donell  <carlos_odonell@mentor.com>
18762         * manual/install.texi (Configuring and compiling): Update
18763         description about files modified in the source directory.
18764         * INSTALL: Regenerated.
18766 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18768         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18769         value.  Use "or" to set return value to -1.
18770         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18771         negate return value.
18773 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18775         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18776         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18777         failure if the compiler has Graphite support disabled.
18778         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18779         Likewise.
18780         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18781         CFLAGS-memmove.c): Likewise.
18782         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18783         Likewise.
18785 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18787         * sysdeps/x86_64/x32/_itoa.h: New file.
18789         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18790         getdents system call only if kernel and user dirents have the
18791         same d_ino and d_off.
18793         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18794         LLONG_MAX != LONG_MAX.
18795         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18796         (_fitoa_word): Likewise.
18798         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18799         years.
18800         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18801         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18802         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18804         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18805         include <bits/wordsize.h>.  Check __x86_64__ instead of
18806         __WORDSIZE.
18807         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18808         if __x86_64__ is defined.  Use anonymous union on fpstate.
18810         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18811         anonymous union.
18813 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18815         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18816         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18817         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18818         Refer to _rtld_local_ro instead of _rtld_global_ro.
18819         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18820         Likewise.
18821         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18822         Likewise.
18823         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18824         Likewise.
18825         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18826         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18827         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18829         * sysdeps/powerpc/powerpc32/dl-machine.c
18830         (__elf_machine_runtime_setup) [PROF]: Don't reference
18831         _dl_prof_resolve.
18833 2012-05-18  Andreas Jaeger  <aj@suse.de>
18835         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18836         function only available for GCCs before 3.4 since GCC 3.4
18837         introduced a builtin.
18838         (lrint): Likewise.
18839         (llrintf): Likewise.
18840         (llrint): Likewise.
18841         (fmaxf): Likewise.
18842         (fmax): Likewise.
18843         (fminf): Likewise.
18844         (fmin): Likewise.
18845         (rint): Likewise.
18846         (rintf): Likewise.
18847         (nearbyint): Likewise.
18848         (nearbyintf): Likewise.
18849         (ceil): Likewise.
18850         (ceilf): Likewise.
18851         (floor): Likewise.
18852         (floorf): Likewise.
18854 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18856         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
18857         on both fields and cast pointer to __syscall_ulong_t.
18859         * bits/types.h (__fsword_t): New type.
18860         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
18861         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
18862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18863         (__FSWORD_T_TYPE): Likewise.
18864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
18865         (__FSWORD_T_TYPE): Likewise.
18866         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18867         (__FSWORD_T_TYPE): Likewise.
18868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
18869         (__FSWORD_T_TYPE): Likewise.
18870         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
18871         __SWORD_TYPE with __fsword_t.
18872         (statfs64): Likewise.
18874 2012-05-17  David S. Miller  <davem@davemloft.net>
18876         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
18878 2012-05-17  Andreas Jaeger  <aj@suse.de>
18880         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
18881         warning.
18883 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18885         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
18887 2012-05-17  Andreas Jaeger  <aj@suse.de>
18889         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
18890         when it is used.
18892 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18894         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
18896 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
18898         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
18899         * sysdeps/x86_64/tst-mallocalign1.c: New file.
18901 2012-05-17  Andreas Jaeger  <aj@suse.de>
18902             Carlos O'Donell  <carlos_odonell@mentor.com>
18904         [BZ #14059]
18905         * sysdeps/x86_64/multiarch/init-arch.h
18906         (bit_YMM_Usable): Rename to...
18907         (bit_AVX_Usable): ... this.
18908         (bit_FMA4_Usable): New macro.
18909         (bit_XMM_state): New macro.
18910         (bit_YMM_state): New macro.
18911         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
18912         [__ASSEMBLER__] (index_AVX_Usable): ... this.
18913         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
18914         (CPUID_OSXSAVE): New macro.
18915         (CPUID_AVX): New macro.
18916         (CPUID_FMA4): New macro.
18917         (index_YMM_Usable): Rename to...
18918         (index_AVX_Usable): ... this.
18919         (HAS_AVX): Use HAS_ARCH_FEATURE.
18920         (HAS_FMA4): Likewise.
18921         (HAS_YMM_USABLE): Remove.
18922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18923         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
18924         are present.
18925         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
18926         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
18927         * sysdeps/x86_64/multiarch/Makefile: Likewise.
18928         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
18929         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
18931 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
18933         * math/libm-test.c: Support platforms without multiple rounding modes.
18934         * math/bug-nextafter.c: Support platforms without FP exceptions.
18935         * math/bug-nexttoward.c: Likewise.
18936         * math/test-fenv.c: Likewise.
18937         * math/test-misc.c: Likewise.
18938         * stdlib/bug-getcontext.c: Likewise.
18940 2012-05-17  Andreas Jaeger  <aj@suse.de>
18942         * manual/examples/search.c (critter_cmp): Change signature to
18943         avoid warnings.
18944         * manual/string.texi (Collation Functions): Likewise.
18946 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18948         * bits/types.h: Fold copyright years.
18949         * bits/typesizes.h: Likewise.
18950         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
18951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18952         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
18953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
18954         * time/time.h: Likewise.
18956 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
18958         [BZ #208]
18959         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
18960         in instead of returning them.  Return void.
18961         (__libc_mallinfo): Accumulate over all arenas.
18962         (__malloc_stats): Adjust for change in int_mallinfo interface.
18964 2012-05-16  Roland McGrath  <roland@hack.frob.com>
18966         [BZ #10375]
18967         * configure.in (NM): Add AC_CHECK_TOOL for it.
18968         (libc_extra_cflags): New substituted variable.
18969         Check for -fstack-protector being used implicitly.
18970         * configure: Regenerated.
18971         * config.make.in (config-extra-cflags): New variable,
18972         gets @libc_extra_cflags@.
18973         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
18975         [BZ #10375]
18976         * configure.in: Check for _FORTIFY_SOURCE being predefined.
18977         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
18978         * configure: Regenerated.
18979         * config.make.in (CPPUNDEFS): New substituted variable.
18980         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
18981         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
18982         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
18984 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18986         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
18987         (mq_attr): Use __syscall_slong_t.
18989 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
18991         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
18992         Check __x86_64__ instead of __WORDSIZE.
18993         (_STAT_VER_LINUX): Likewise.
18994         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
18995         __syscall_ulong_t and __syscall_slong_t.
18996         (stat64): Likewise.
18998 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19000         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19002 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19004         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19006 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19008         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19009         __syscall_ulong_t.
19011         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19012         include <bits/wordsize.h>.  Check __x86_64__ instead of
19013         __WORDSIZE.
19014         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19015         defined.
19016         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19018         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19019         include <bits/wordsize.h>.  Check __x86_64__ instead of
19020         __WORDSIZE.
19021         (user_regs_struct): Use "__extension__ unsigned long long"
19022         instead of "unsigned long" if __x86_64__ is defined.
19023         (user): Likewise.  Pad after pointer field if __ILP32__ is
19024         defined.
19026 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19028         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19029         versions 5 to 9.
19030         * configure: Regenerated.
19031         * manual/install.texi (texinfo): Increase version requirement to
19032         4.5 or later.
19033         * INSTALL: Regenerated.
19035         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19037 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19039         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19041         * sysdeps/x86_64/x32/ffs.c: New file.
19043         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19044         __syscall_ulong_t.
19045         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19046         defined.  Use __syscall_ulong_t.
19047         (shminfo): Use __syscall_ulong_t.
19048         (shm_info): Likewise.
19050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19051         __syscall_ulong_t.
19053         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19054         <bits/wordsize.h>.
19055         (msgqnum_t): Use __syscall_ulong_t.
19056         (msglen_t): Likewise.
19057         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19058         __syscall_ulong_t.
19060         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19061         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19063         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19065         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19066         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19068         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19069         __syscall_slong_t.
19071         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19072         include <bits/wordsize.h>.  Check __x86_64__ instead of
19073         __WORDSIZE.
19075         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19076         "unsigned long long int" if __x86_64__ is defined.
19077         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19079         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19080         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19081         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19083         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19084         <stdint.h>.
19085         (GET_PC): Cast to uintptr_t first.
19086         (GET_FRAME): Likewise.
19087         (GET_STACK): Likewise.
19089         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19090         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19092         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19094         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19095         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19096         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19097         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19098         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19099         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19100         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19101         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19103         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19104         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19105         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19106         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19107         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19108         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19109         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19110         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19111         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19112         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19113         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19114         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19115         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19116         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19117         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19119 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19121         * Makerules (+depfiles): Also collect depfiles from .oS in
19122         $(extra-objs).
19123         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19124         .oS, $(libnldbl-routines)).
19126         * Makerules (native-compile-mkdep-flags): Define.
19127         * sunrpc/Makefile (extra-objs): Add $(addprefix
19128         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19129         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19130         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19131         calling $(make-target-directory).
19133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19135         * bits/types.h (__snseconds_t): Removed.
19136         * time/time.h (struct timespec): Replace __snseconds_t with
19137         __syscall_slong_t.
19138         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19139         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19140         Likewise.
19141         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19142         (__SNSECONDS_T_TYPE): Likewise.
19143         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19144         (__SNSECONDS_T_TYPE): Likewise.
19145         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19146         (__SNSECONDS_T_TYPE): Likewise.
19148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19150         * sysdeps/mach/hurd/bits/typesizes.h
19151         (__SYSCALL_SLONG_TYPE): New macro.
19152         (__SYSCALL_ULONG_TYPE): Likewise.
19154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19156         * bits/types.h (__syscall_slong_t): New type.
19157         (__syscall_ulong_t): Likewise.
19159         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19160         (__SYSCALL_ULONG_TYPE): Likewise.
19161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19162         (__SYSCALL_SLONG_TYPE): Likewise.
19163         (__SYSCALL_ULONG_TYPE): Likewise.
19164         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19165         (__SYSCALL_SLONG_TYPE): Likewise.
19166         (__SYSCALL_ULONG_TYPE): Likewise.
19167         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19168         (__SYSCALL_SLONG_TYPE): Likewise.
19169         (__SYSCALL_ULONG_TYPE): Likewise.
19171 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19173         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19174         Add sigaltstack-offsets.sym.
19175         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19176         <sigaltstack-offsets.h>.
19177         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19178         longjmp_msg pointer.
19179         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19180         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19181         signal stack.
19182         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19184 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19186         * elf/stackguard-macros.h: Remove file.
19187         * sysdeps/generic/stackguard-macros.h: New file.
19188         * sysdeps/i386/stackguard-macros.h: Likewise.
19189         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19190         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19191         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19192         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19193         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19194         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19195         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19196         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19197         <elf/stackguard-macros.h>.
19199         [BZ #14109]
19200         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19201         __aligned__ in attribute.
19202         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19203         (gregset_t): Likewise.
19205 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19207         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19208         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19209         * sysdeps/x86_64/x32/Implies-after: New file.
19211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19213         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19214         and access return value for _dl_profile_fixup.  Use R10_LP to
19215         load frame size.
19217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19219         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19221 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19223         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19224         * sysdeps/x86_64/x32/sysdep.h: New file.
19226 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19228         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19229         * sysdeps/x86_64/setjmp.S: Likewise.
19231 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19233         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19234         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19235         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19236         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19237         remove unused global constant.
19239 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19241         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19242         include of <not-cancel.h>.
19244 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19246         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19248 2012-05-15  Jeff Law  <law@redhat.com>
19249             Andreas Jaeger  <aj@suse.de>
19251         [BZ #13594]
19252         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19253         out from...
19254         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19255         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19256         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19257         code changing __hst_map_handle.map.
19259 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19261         * configure.in (sysnames): Look for Implies-before and Implies-after
19262         files.
19263         * configure: Regenerated.
19265 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19267         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19268         8-byte data alignment with LP_SIZE alignment.
19270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19272         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19273         into R10_LP.
19275 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19277         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19279 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19281         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19282         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19283         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19284         Likewise.
19285         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19287 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19289         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19290         (stackinfo_sub_sp): Likewise.
19292 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19294         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19295         RAX_LP.
19297 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19299         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19300         into R*_LP.
19302 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19304         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19305         sizes into R*_LP.
19307 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19309         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19313         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19314         into R11_LP and load __x86_64_shared_cache_size_half into
19315         R8_LP.
19317 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19319         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19320         R8_LP.
19322 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19324         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19325         logb for POWER7.
19326         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19327         logbf for POWER7.
19328         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19329         logbl for POWER7.
19330         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19331         powerpc32/power7/fpu/s_logb.c via #include.
19332         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19333         powerpc32/power7/fpu/s_logbf.c via #include.
19334         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19335         powerpc32/power7/fpu/s_logbl.c via #include.
19337 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19339         * README.libm: Remove file.
19341 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19343         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19344         count for x32.  Use R*_LP and omit operand-size suffix.
19346 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19348         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19349         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19350         * sysdeps/x86_64/x32/shlib-versions: New file.
19352 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19354         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19355         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19356         Use _dl_fatal_printf instead.
19358 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19360         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19361         set if not set by the user.  Do not allow for being unset.
19362         * sysdeps/unix/sysv/linux/configure: Regenerated.
19364 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19366         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19367         the `q' suffix from lea and replace .quad with ASM_ADDR.
19369 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19371         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19372         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19373         instead of $17.
19374         (PTR_DEMANGLE): Likewise.
19376 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19378         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19379         (LP_OP): Likewise.
19380         (ASM_ADDR): Likewise.
19381         (RAX_LP): Likewise.
19382         (RBP_LP): Likewise.
19383         (RBX_LP): Likewise.
19384         (RCX_LP): Likewise.
19385         (RDI_LP): Likewise.
19386         (RSI_LP): Likewise.
19387         (RSP_LP): Likewise.
19388         (R8_LP): Likewise.
19389         (R9_LP): Likewise.
19390         (R10_LP): Likewise.
19391         (R10_LP): Likewise.
19392         (R11_LP): Likewise.
19393         (R12_LP): Likewise.
19394         (R13_LP): Likewise.
19395         (R14_LP): Likewise.
19396         (R15_LP): Likewise.
19398 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19400         * sysdeps/x86_64/x32/dl-machine.h: New file.
19402 2012-05-14  Andreas Jaeger  <aj@suse.de>
19404         * manual/Makefile (subdir): Remove export of subdir.
19405         (all): Remove target.
19406         (.PHONY): Remove all from list.
19407         (mkinstalldirs): Remove.
19408         (.PHONY): Remove installdirs from list.
19409         ($(inst_infodir)/libc.info): Use make-target-directory.
19410         (installdirs): Remove.
19411         (subdir_%): Remove.
19412         (glibc-targets): Remove.
19413         (lib): Remove.
19414         (stubs): Remove.
19415         ($(objpfx)stubs ../po/manual.pot): Remove.
19416         ($(objpfx)stamp%): Remove.
19417         (make-target-directory): Remove.
19418         (subdir_install): Remove.
19419         (routines): Remove.
19420         (aux): Remove.
19421         (sources): Remove.
19422         (objects): Remove.
19423         (headers): Remove.
19425         [BZ #13750]
19426         * manual/.gitignore: Remove, it's not needed anymore.
19427         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19428         all files in it.
19429         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19430         directory.
19431         (texis): Renamed to $(objpfx)texis.
19432         (texis-path): New, contains path to generated files.
19433         (chapters.%): Use texis-path for complete path, add extra argument
19434         libc-texinfo.sh.
19435         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19436         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19437         (summary,texi, stamp-summary): Use complete path of
19438         files. Generate files in build dir.
19439         (dir-add.texi): Build in build dir.
19440         (libm-err.texi,stamp-libm-err): Likewise.
19441         (version.texi, stamp-version): Likewise.
19442         (.%c.texi): Likewise.
19443         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19444         (mostlyclean): Remove target.
19445         (realclean): Remove target.
19446         (generated): Add new variable with contents from mostlyclean and
19447         realclean, remove entries duplicated in common-mostlyclean, add
19448         stamp-libm-err and stamp-version.
19449         (generated-dirs): Add libc directory.
19450         ($(inst_infodir)/libc.info): Install files from build dir.
19452         * manual/install.texi (Configuring and compiling): Adjust since
19453         the info files are not part of the tar ball anymore.
19455 2012-05-14  Andreas Jaeger  <aj@suse.de>
19457         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19458         variable.
19460 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19462         [BZ #13717]
19463         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19464         to 2.2.0 where earlier.
19465         * sysdeps/unix/sysv/linux/configure: Regenerated.
19466         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19467         Remove conditional code.
19468         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19469         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19470         Remove conditional code.
19471         [!__NR_lchown]: Likewise.
19472         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19473         [__NR_lchown]: Likewise.
19474         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19475         comment referencing __ASSUME_LCHOWN_SYSCALL.
19476         * sysdeps/unix/sysv/linux/i386/sigaction.c
19477         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19478         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19479         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19480         Remove conditional code.
19481         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19482         (__protocol_available): Remove #if 0 code.
19483         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19484         conditional code.
19485         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19486         * sysdeps/unix/sysv/linux/kernel-features.h
19487         (__ASSUME_GETCWD_SYSCALL): Don't define.
19488         (__ASSUME_REALTIME_SIGNALS): Likewise.
19489         (__ASSUME_PREAD_SYSCALL): Likewise.
19490         (__ASSUME_PWRITE_SYSCALL): Likewise.
19491         (__ASSUME_POLL_SYSCALL): Likewise.
19492         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19493         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19494         non-SPARC.
19495         (__ASSUME_SIOCGIFNAME): Don't define.
19496         (__ASSUME_MSG_NOSIGNAL): Likewise.
19497         (__ASSUME_SENDFILE): Define unconditionally.
19498         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19499         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19500         conditional code.
19501         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19502         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19503         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19504         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19505         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19506         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19507         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19509         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19510         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19512         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19513         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19515         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19516         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19518         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19519         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19521         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19522         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19524         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19525         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19527         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19528         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19530         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19531         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19532         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19533         Remove conditional code.
19534         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19535         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19536         Remove conditional code.
19537         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19538         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19539         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19540         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19541         Remove conditional code.
19542         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19543         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19544         Remove conditional code.
19545         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19546         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19547         Remove conditional code.
19548         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19549         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19550         Remove conditional code.
19551         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19552         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19553         Remove conditional code.
19554         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19555         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19556         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19557         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19558         * sysdeps/unix/sysv/linux/sigaction.c
19559         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19560         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19561         * sysdeps/unix/sysv/linux/sigpending.c
19562         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19563         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19564         * sysdeps/unix/sysv/linux/sigprocmask.c
19565         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19566         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19567         * sysdeps/unix/sysv/linux/sigsuspend.c
19568         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19569         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19570         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19571         (__libc_missing_rt_sigs): Remove.
19572         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19573         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19574         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19575         Remove conditional code.
19576         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19577         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19578         return 1.
19579         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19580         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19581         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19582         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19584 2012-05-14  Andreas Jaeger  <aj@suse.de>
19586         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19587         it's not used in glibc.
19588         (__coshm1): Likewise.
19589         (__acosh1p): Likewise.
19590         (__sgn): Likewise.
19592         * manual/string.texi (Copying and Concatenation): Add missing
19593         variable in concat example.
19594         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19596 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19598         [BZ #14103]
19599         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19600         __builtin_clzl with __builtin_clzll.
19602 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19604         [BZ #14104]
19605         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19606         libc_freeres_ptr.
19608 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19610         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19611         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19612         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19613         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19615 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19617         * NEWS: Update ia64 info.
19619 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19621         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19622         used as bcopy.
19624 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19626         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19627         * sysdeps/unix/syscalls.list (dup3): Likewise.
19628         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19629         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19631 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19633         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19634         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19636 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19638         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19639         thread pointer.
19640         (TLS_IE): Use mov/add instead of movq/addq to load thread
19641         pointer.
19642         (TLS_GD_PREFIX): New.
19643         (TLS_GD): Use it.
19645 2012-05-11  David S. Miller  <davem@davemloft.net>
19647         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19648         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19649         (_FPU_SETCW): Likewise.
19651 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19653         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19654         is 32-byte aligned.
19656 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19658         [BZ #11837]
19659         * iconvdata/gb18030.c: Update tables.
19660         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19661         characters specially.
19662         (BODY for TO_LOOP): Add encoding of missing ranges.
19664 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19666         [BZ #13673]
19667         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19668         * sysdeps/mach/hurd/dup3.c: Likewise.
19669         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19670         * sysdeps/powerpc/memmove.c:: Likewise.
19672 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19674         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19675         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19677 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19679         * elf/elf.h (R_X86_64_RELATIVE64): New.
19680         (R_X86_64_NUM): Updated.
19681         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19682         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19683         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19684         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19685         tst-quad1pie tst-quad2pie
19686         (modules-names): Add tst-quadmod1 tst-quadmod2.
19687         ($(objpfx)tst-quad1): New dependency.
19688         ($(objpfx)tst-quad2): Likewise.
19689         ($(objpfx)tst-quad1pie): Likewise.
19690         ($(objpfx)tst-quad2pie): Likewise.
19691         * sysdeps/x86_64/tst-quad1.c: New file.
19692         * sysdeps/x86_64/tst-quad1pie.c: New file.
19693         * sysdeps/x86_64/tst-quad2.c: Likewise.
19694         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19695         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19696         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19697         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19698         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19700 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19702         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19703         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19704         * streams/stropts.h (t_scalar_t): Define type.
19706         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19707         (_PATH_PRESERVE): Set to "/var/lib".
19708         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19710         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19711         instead of int.
19713         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19714         if __dir_mkfile succeeded.
19716         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19717         checking for _hurd_dtablesize.  Unlock it right after having
19718         finished _hurd_dtable allocation.
19720 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19722         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19723         * sysdeps/mach/hurd/configure: Regenerated.
19724         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19725         special-casing to...
19726         * sysdeps/gnu/configure.in: ... this new file.
19727         * sysdeps/unix/sysv/linux/configure: Regenerated.
19728         * sysdeps/gnu/configure: New generated file.
19730         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19731         for Linux: use nsec instead of usec, as well as:
19732         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19733         members of type struct timespec.
19734         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19735         New macros.
19736         (struct stat64): Likewise.
19737         (_STATBUF_ST_NSEC): New macro.
19738         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19740         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19741         __strtoul_internal rather than strtoul.
19743 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19745         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19746         and reject them.
19748 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19750         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19751         which preserves existing values.
19752         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19754 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19756         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19757         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19758         greater than FD_SETSIZE.
19760 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19762         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19763         allocated, call __vm_protect to finish enabling the existing space, and
19764         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19765         allocate the remainder.
19767 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19769         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19770         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19772 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19774         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19775         sysdeps/mach/hurd/readlink.c.
19777         * posix/tst-sysconf.c (posix_options): Only use
19778         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19779         _POSIX_SYNCHRONIZED_IO when they are defined
19780         * sysdeps/mach/hurd/bits/posix_opt.h:
19781         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19782         (_XOPEN_REALTIME): Undefine macro.
19783         (_XOPEN_REALTIME_THREADS): Undefine macro.
19784         (_XOPEN_SHM): Undefine macro.
19785         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19786         macro to -1.
19787         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19788         macro to -1.
19789         (_POSIX_ASYNC_IO): Undefine macro.
19790         (_POSIX_PRIORITIZED_IO): Undefine macro.
19791         (_POSIX_SPIN_LOCKS): Define macro to -1.
19793         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19794         SA_NODEFER, SA_RESETHAND.
19795         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19796         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19797         F_DUPFD_CLOEXEC.
19799 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19801         * elf/Makefile (pldd-modules): Define unconditionally.
19803 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19805         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19809         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19810         Return ENOENT when name is empty.
19811         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19813 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19815         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19817         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19821         Fix mlock in all cases except non-readable pages.
19822         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19823         instead of VM_PROT_ALL as parameter to __vm_wire function.
19825         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19826         (__mkdir): When path is `/', just fail with EEXIST.
19827         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19829 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19831         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19832         <sys/uio.h> (for writev).
19833         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19834         and <sys/param.h> (for MIN).
19836 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19838         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19839         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19840         if interrupted.
19842 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19844         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19845         Depend on against $(link-rpcuserlibs).
19847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19849         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19850         (__libc_stack_end): Do not use attribute_relro.
19851         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19852         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
19853         to libthread-provided value.
19854         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
19855         attribute_relro.
19857 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19859         [BZ #3748]
19860         * bits/libc-lock.h (__libc_once_get): New macro.
19861         * sysdeps/mach/bits/libc-lock.h: Likewise.
19862         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
19863         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
19864         instead of using implementation details.
19866         * libio/fileops.c: Unconditionally include <kernel-features.h>.
19867         * libio/freopen.c: Likewise.
19868         * libio/freopen64.c: Likewise.
19869         * misc/syslog.c: Likewise.
19870         * nscd/connections.c: Likewise.
19871         * nscd/netgroupcache.c: Likewise.
19872         * sysdeps/posix/getcwd.c: Likewise.
19874 2012-05-10  Roland McGrath  <roland@hack.frob.com>
19876         * math/w_ilogbf.c: Add #include <limits.h>.
19878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19880         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
19881         path instead of returning without unlocking.
19883         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
19884         immediate-write ioctls.
19885         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
19887 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19889         * sysdeps/mach/hurd/i386/init-first.c (init): Use
19890         __builtin_frame_address instead of making assumptions about the
19891         location of the return address relative to DATA.  Force early load of
19892         the return address.
19893         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
19894         __builtin_frame_address.
19896         dup3 for GNU Hurd.
19897         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
19898         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
19899         implement dup3 and do some further code clean-ups.
19900         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
19901         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
19903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19905         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
19907         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
19908         HURD_CRITICAL_END around holding _hurd_dtable_lock.
19909         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
19910         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
19911         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
19912         d->port.lock.
19914         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
19915         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
19916         when handler == SIG_ERR, not when handler != SIG_ERR.
19918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19920         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
19921         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
19922         definitions.
19924         accept4 for GNU Hurd.
19925         * include/sys/socket.h (__libc_accept4): New prototype.
19926         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
19927         to implement __libc_accept4.
19928         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
19929         __libc_accept4.
19930         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
19932         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
19933         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
19934         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
19935         signal-defines.sym.
19937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19939         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
19941 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19943         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
19944         assertion on O_CLOEXEC flag.
19945         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
19946         * hurd/intern-fd.c: Likewise.
19947         * hurd/port2fd.c: Likewise.
19949 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19951         [BZ #3906]
19952         * bits/in.h (IPV6_PKTINFO): Define new macro.
19953         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
19955 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19957         [BZ #13954]
19958         [BZ #13955]
19959         [BZ #13956]
19960         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
19961         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19962         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
19963         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19964         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19965         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19966         * math/libm-test.inc (logb_test) : Additional logb tests.
19968 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
19969             Andreas Jaeger  <aj@suse.de>
19971         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
19972         * configure: Regenerated.
19973         * config.h.in (LINK_OBSOLETE_RPC): New macro.
19974         * config.make.in (link-obsolete-rpc): New substituted variable.
19975         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
19976         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
19977         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19978         (shared-only-routines): Don't set it under [link-obsolete-rpc],
19979         so that libc.a contains the symbols.
19980         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
19981         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
19982         * sunrpc/auth_none.c: Likewise.
19983         * sunrpc/auth_unix.c: Likewise.
19984         * sunrpc/authdes_prot.c: Likewise.
19985         * sunrpc/authuxprot.c: Likewise.
19986         * sunrpc/clnt_gen.c: Likewise.
19987         * sunrpc/clnt_perr.c: Likewise.
19988         * sunrpc/clnt_raw.c: Likewise.
19989         * sunrpc/clnt_simp.c: Likewise.
19990         * sunrpc/clnt_tcp.c: Likewise.
19991         * sunrpc/clnt_udp.c: Likewise.
19992         * sunrpc/clnt_unix.c: Likewise.
19993         * sunrpc/des_crypt.c: Likewise.
19994         * sunrpc/des_soft.c: Likewise.
19995         * sunrpc/get_myaddr.c: Likewise.
19996         * sunrpc/key_call.c: Likewise.
19997         * sunrpc/key_prot.c: Likewise.
19998         * sunrpc/netname.c: Likewise.
19999         * sunrpc/pm_getmaps.c: Likewise.
20000         * sunrpc/pm_getport.c: Likewise.
20001         * sunrpc/pmap_clnt.c: Likewise.
20002         * sunrpc/pmap_prot.c: Likewise.
20003         * sunrpc/pmap_prot2.c: Likewise.
20004         * sunrpc/pmap_rmt.c: Likewise.
20005         * sunrpc/publickey.c: Likewise.
20006         * sunrpc/rpc_cmsg.c: Likewise.
20007         * sunrpc/rpc_common.c: Likewise.
20008         * sunrpc/rpc_dtable.c: Likewise.
20009         * sunrpc/rpc_prot.c: Likewise.
20010         * sunrpc/rpc_thread.c: Likewise.
20011         * sunrpc/rtime.c: Likewise.
20012         * sunrpc/svc.c: Likewise.
20013         * sunrpc/svc_auth.c: Likewise.
20014         * sunrpc/svc_raw.c: Likewise.
20015         * sunrpc/svc_run.c: Likewise.
20016         * sunrpc/svc_tcp.c: Likewise.
20017         * sunrpc/svc_udp.c: Likewise.
20018         * sunrpc/svc_unix.c: Likewise.
20019         * sunrpc/svcauth_des.c: Likewise.
20020         * sunrpc/xcrypt.c: Likewise.
20021         * sunrpc/xdr.c: Likewise.
20022         * sunrpc/xdr_array.c: Likewise.
20023         * sunrpc/xdr_float.c: Likewise.
20024         * sunrpc/xdr_intXX_t.c: Likewise.
20025         * sunrpc/xdr_mem.c: Likewise.
20026         * sunrpc/xdr_rec.c: Likewise.
20027         * sunrpc/xdr_ref.c: Likewise.
20028         * sunrpc/xdr_sizeof.c: Likewise.
20029         * sunrpc/xdr_stdio.c: Likewise.
20031 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20033         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20034         change.  Update copyright years.
20036 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20038         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20040 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20041             Joseph Myers  <joseph@codesourcery.com>
20042             Paul Pluzhnikov  <ppluzhnikov@google.com>
20044         [BZ #14012]
20045         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20046         requiring rpcgen.
20047         [cross-compiling] (extra-libs): Likewise.
20048         [cross-compiling] (extra-libs-others): Likewise.
20049         [cross-compiling] (librpcsvc-routines): Likewise.
20050         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20051         [cross-compiling] (omit-deps): Likewise.
20052         (sunrpc-CPPFLAGS): New variable.
20053         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20054         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20055         (cross-rpcgen-objs): New variable.
20056         (extra-objs): Append $(cross-rpcgen-objs).
20057         ($(cross-rpcgen-objs)): New rule.
20058         ($(objpfx)cross-rpcgen): Likewise.
20059         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20060         comment.
20061         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20062         ($(objpfx)x%.stmp): Likewise.
20063         * sunrpc/proto.h [IS_IN_build] (_): Define.
20064         [IS_IN_build] (_libc_intl_domainname): Likewise.
20066 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20068         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20069         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20070         and R_X86_64_TPOFF64.
20072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20074         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20075         sysdeps/unix/sysv/syscalls.list.
20076         (stime): Likewise.
20077         (utime): Likewise.
20078         * sysdeps/unix/sysv/syscalls.list: Remove file.
20080 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20082         [BZ #3440]
20083         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20084         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20085         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20086         (__LC_IDENTIFICATION): Make these macros useful in #if
20087         expressions, as required by C99.
20089 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20091         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20092         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20093         after this.
20095 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20097         * stdlib/longlong.h: Updated from GCC.
20099 2012-05-09  Andreas Jaeger  <aj@suse.de>
20101         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20102         default is first entry.
20103         (run_mode): Set type.
20104         (main): Remove informal message about syslog.
20105         (options): Fix typo.
20107         [BZ #14053]
20108         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20109         to asm.
20110         (lrint): Likewise.
20111         (llrintf): Likewise.
20112         (llrint): Likewise.
20113         (rint): Likewise.
20114         (rintf): Likewise.
20115         (nearbyint): Likewise.
20116         (nearbyintf): Likewise.
20118 2012-05-09  Andreas Jaeger  <aj@suse.de>
20119             Pedro Alves  <palves@redhat.com>
20121         * nscd/nscd.c (run_mode): Use enum.
20122         (main): Cleanup coding style issue.
20124 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20125             Andreas Jaeger  <aj@suse.de>
20127         * nscd/nscd.c (go_background): Replaced with...
20128         (run_mode): ... this.
20129         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20130         (options): Add -F --foreground.
20131         (main): Implement it.
20132         (parse_opt): Parse it.
20134 2012-05-09  Andreas Jaeger  <aj@suse.de>
20136         [BZ #14083]
20137         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20138         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20139         -Wconversion warning.
20140         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20141         Likewise.
20143 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20145         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20146         == 0.
20147         (LC_ALL): Use macro-int-constant.
20148         (LC_COLLATE): Likewise.
20149         (LC_CTYPE): Likewise.
20150         (LC_MESSAGES): Likewise.
20151         (LC_MONETARY): Likewise.
20152         (LC_NUMERIC): Likewise.
20153         (LC_TIME): Likewise.
20154         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20155         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20156         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20157         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20158         Specify type.
20159         [C99-based standards] (float_t): Expect type.
20160         [C99-based standards] (double_t): Expect type.
20161         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20162         type.
20163         [C99-based standards] (HUGE_VALL): Likewise.
20164         [C99-based standards] (INFINITY): Likewise.
20165         [C99-based standards] (NAN): Likewise.
20166         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20167         [C99-based standards] (FP_NAN): Likewise.
20168         [C99-based standards] (FP_NORMAL): Likewise.
20169         [C99-based standards] (FP_SUBNORMAL): Likewise.
20170         [C99-based standards] (FP_ZERO): Likewise.
20171         [C99-based standards] (FP_FAST_FMA): Use
20172         optional-macro-int-constant.  Specify type.  Require == 1.
20173         [C99-based standards] (FP_FAST_FMAF): Likewise.
20174         [C99-based standards] (FP_FAST_FMAL): Likewise.
20175         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20176         [C99-based standards] (FP_ILOGBNAN): Likewise.
20177         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20178         Specify type.
20179         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20180         [C99-based standards] (math_errhandling): Specify type.
20181         [ISO99 || ISO11] (signgam): Do not allow.
20182         [non-C99-based standards] (copysignf): Do not allow.
20183         [non-C99-based standards] (exp2f): Likewise.
20184         [non-C99-based standards] (log2f): Likewise.
20185         [non-C99-based standards] (modff): Allow.
20186         [non-C99-based standards] (erff): Do not allow.
20187         [non-C99-based standards] (erfcf): Likewise.
20188         [non-C99-based standards] (gammaf): Likewise.
20189         [non-C99-based standards] (hypotf): Likewise.
20190         [non-C99-based standards] (j0f): Likewise.
20191         [non-C99-based standards] (j1f): Likewise.
20192         [non-C99-based standards] (jnf): Likewise.
20193         [non-C99-based standards] (lgammaf): Likewise.
20194         [non-C99-based standards] (tgammaf): Likewise.
20195         [non-C99-based standards] (y0f): Likewise.
20196         [non-C99-based standards] (y1f): Likewise.
20197         [non-C99-based standards] (ynf): Likewise.
20198         [non-C99-based standards] (isnanf): Likewise.
20199         [non-C99-based standards] (acoshf): Likewise.
20200         [non-C99-based standards] (asinhf): Likewise.
20201         [non-C99-based standards] (atanhf): Likewise.
20202         [non-C99-based standards] (cbrtf): Likewise.
20203         [non-C99-based standards] (expm1f): Likewise.
20204         [non-C99-based standards] (ilogbf): Likewise.
20205         [non-C99-based standards] (log1pf): Likewise.
20206         [non-C99-based standards] (logbf): Likewise.
20207         [non-C99-based standards] (nextafterf): Likewise.
20208         [non-C99-based standards] (remainderf): Likewise.
20209         [non-C99-based standards] (rintf): Likewise.
20210         [non-C99-based standards] (scalbf): Likewise.
20211         [non-C99-based standards] (copysignl): Likewise.
20212         [non-C99-based standards] (exp2l): Likewise.
20213         [non-C99-based standards] (log2l): Likewise.
20214         [non-C99-based standards] (modfl): Allow.
20215         [non-C99-based standards] (erfl): Do not allow.
20216         [non-C99-based standards] (erfcl): Likewise.
20217         [non-C99-based standards] (gammal): Likewise.
20218         [non-C99-based standards] (hypotl): Likewise.
20219         [non-C99-based standards] (j0l): Likewise.
20220         [non-C99-based standards] (j1l): Likewise.
20221         [non-C99-based standards] (jnl): Likewise.
20222         [non-C99-based standards] (lgammal): Likewise.
20223         [non-C99-based standards] (tgammal): Likewise.
20224         [non-C99-based standards] (y0l): Likewise.
20225         [non-C99-based standards] (y1l): Likewise.
20226         [non-C99-based standards] (ynl): Likewise.
20227         [non-C99-based standards] (isnanl): Likewise.
20228         [non-C99-based standards] (acoshl): Likewise.
20229         [non-C99-based standards] (asinhl): Likewise.
20230         [non-C99-based standards] (atanhl): Likewise.
20231         [non-C99-based standards] (cbrtl): Likewise.
20232         [non-C99-based standards] (expm1l): Likewise.
20233         [non-C99-based standards] (ilogbl): Likewise.
20234         [non-C99-based standards] (log1pl): Likewise.
20235         [non-C99-based standards] (logbl): Likewise.
20236         [non-C99-based standards] (nextafterl): Likewise.
20237         [non-C99-based standards] (remainderl): Likewise.
20238         [non-C99-based standards] (rintl): Likewise.
20239         [non-C99-based standards] (scalbl): Likewise.
20240         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20241         [non-C99-based standards] (FP_*): Do not allow.
20242         [C99-based standards] (FP_*): Change to
20243         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20244         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20245         allow.
20246         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20247         (SIG_ERR): Likewise.
20248         [X/Open-based standards] (SIG_HOLD): Likewise.
20249         (SIG_IGN): Likewise.
20250         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20251         positive value.
20252         (SIGFPE): Likewise.
20253         (SIGILL): Likewise.
20254         (SIGINT): Likewise.
20255         (SIGSEGV): Likewise.
20256         (SIGTER): Likewise.
20257         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20258         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20259         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20260         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20261         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20262         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20263         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20264         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20265         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20266         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20267         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20268         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20269         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20270         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20271         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20272         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20273         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20274         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20275         [X/Open-based standards] (SIGTRAP): Likewise.
20276         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20277         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20278         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20279         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20280         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20281         allow.
20283 2012-05-08  Ian Wienand  <ianw@vmware.com>
20285         [BZ #14080]
20286         * time/tzset.c (__tzset_parse_tz): Update default rules for
20287         daylight time changes in the Energy Policy Act of 2005.
20289 2012-05-09  Andreas Jaeger  <aj@suse.de>
20291         [BZ #13983]
20292         * elf/ldconfig.c (parse_conf): Change string to make clear that
20293         ldconfig only issued a warning if ld.so.conf does not exist.
20295 2012-05-08  David S. Miller  <davem@davemloft.net>
20297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20298         movxtod instead of popping the value on the stack.
20300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20302 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20304         * config.h.in: Add HAVE_ARM_PCS_VFP.
20306 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20308         [BZ #13979]
20309         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20310         checking but the checks are disabled for any reason.
20312 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20314         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20315         and ELF64_R_TYPE with ELFW(R_TYPE).
20317 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20319         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20320         (ulimit): Likewise.
20322         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20323         (settimeofday): Likewise.
20325 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20327         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20328         a struct th_u2 inside the union, and move tu_block/tu_code into
20329         a new th_u3 union of tu_block/tu_code inside of that.  Move
20330         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20331         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20332         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20333         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20334         (th_stuff): Change to th_u1.tu_stuff.
20335         (th_data): Define.
20336         (th_msg): Change to th_u1.th_u2.tu_data.
20338 2012-05-07  David S. Miller  <davem@davemloft.net>
20340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20342         [BZ #14074]
20343         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20344         (SETUP_PIC_REG): Use it.
20345         (SETUP_PIC_REG_LEAF): Use it.
20347 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20349         [BZ #13885]
20350         [BZ #13923]
20351         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20352         USE_AS_EXPM1L.
20353         (EXPL_FINITE): Likewise.
20354         (FLDLOG): Likewise.
20355         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20356         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20357         e_expl.S.
20358         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20359         USE_AS_EXPM1L.
20360         (EXPL_FINITE): Likewise.
20361         (FLDLOG): Likewise.
20362         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20363         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20364         e_expl.S.
20365         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20366         test of -max_value argument for long double.
20367         * sysdeps/i386/fpu/libm-test-ulps: Update.
20368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20370 2012-05-06  David S. Miller  <davem@davemloft.net>
20372         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20373         quad soft-float symbols whose references which are compiler
20374         generated.
20375         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20377 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20379         [BZ #13884]
20380         [BZ #13914]
20381         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20382         USE_AS_EXP10L.
20383         (EXPL_FINITE): Likewise.
20384         (FLDLOG): Likewise.
20385         (c0): Likewise.
20386         (c1): Likewise.
20387         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20388         Adjust comments for base varying.
20389         (__expl_finite): Change alias to EXPL_FINITE.
20390         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20391         e_expl.S.
20392         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20393         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20394         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20395         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20396         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20397         USE_AS_EXP10L.
20398         (EXPL_FINITE): Likewise.
20399         (FLDLOG): Likewise.
20400         (c0): Likewise.
20401         (c1): Likewise.
20402         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20403         Adjust comments for base varying.
20404         (__expl_finite): Change alias to EXPL_FINITE.
20405         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20406         tests for bugs.
20407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20409         [BZ #14064]
20410         * math/libm-test.inc (check_float_internal): Correct ulp
20411         calculation for subnormal expected results.
20413 2012-05-06  Andreas Jaeger  <aj@suse.de>
20415         * Makeconfig (+math-flags): New, set to -frounding-math.
20416         (+cflags): Add +math-flags so that all of glibc gets compiled with
20417         it.
20419         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20421 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20423         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20424         Disable one test.
20426         [BZ #13787]
20427         [BZ #13922]
20428         [BZ #14036]
20429         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20430         (__ieee754_expl): Allow for and saturate large arguments.
20431         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20432         (u_threshold): Likewise.
20433         (__exp): Call __ieee754_exp before checking for overflow and
20434         underflow.
20435         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20436         (u_threshold): Likewise.
20437         (__expf): Call __ieee754_expf before checking for overflow and
20438         underflow.
20439         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20440         (u_threshold): Likewise.
20441         (__expl): Call __ieee754_expl before checking for overflow and
20442         underflow.
20443         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20444         (__ieee754_expl): Allow for and saturate large arguments.
20445         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20446         missing overflow exception on overflow.
20447         (expm1_test): Do not allow missing overflow exception on overflow.
20449         * sysdeps/i386/fpu/e_expl.c: Move to ...
20450         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20451         rather than using inline asm.
20452         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20453         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20454         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20456         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20457         (nice): Likewise.
20458         (poll): Likewise.
20459         (signal): Likewise.
20460         (time): Likewise.
20461         (times): Likewise.
20463 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20465         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20466         sysdeps/unix/common/syscalls.list.
20467         (fchmod): Likewise.
20468         (fchown): Likewise.
20469         (ftruncate): Likewise.
20470         (getrusage): Likewise.
20471         (gettimeofday): Likewise.
20472         (setpgid): Likewise.
20473         (setregid): Likewise.
20474         (setreuid): Likewise.
20475         (sigaction): Likewise.
20476         (truncate): Likewise.
20477         (vhangup): Likewise.
20478         * sysdeps/unix/common/syscalls.list: Remove file.
20479         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20480         * sysdeps/unix/sysv/linux/Implies: Likewise.
20482 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20484         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20486         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20487         Moved to ...
20488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20489         Here.
20490         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20491         to ...
20492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20493         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20494         to ...
20495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20496         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20497         to ...
20498         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20499         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20500         to ...
20501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20502         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20503         to ...
20504         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20505         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20506         to ...
20507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20508         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20509         to ...
20510         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20511         Here.
20512         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20513         to ...
20514         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20515         Here.
20516         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20517         to ...
20518         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20519         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20520         Moved to ...
20521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20522         Here.
20523         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20524         to ...
20525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20527 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20529         * sysdeps/unix/common/bits/dirent.h: Remove file.
20530         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20532         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20533         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20534         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20535         * sysdeps/unix/bsd/isatty.c: Likewise.
20536         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20537         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20538         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20540 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20542         [BZ #13563]
20543         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20544         long double comparison inaccuracies.
20545         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20548 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20550         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20551         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20553 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20555         [BZ #14049]
20556         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20557         nonzero digits before rounding a hex value.
20558         * stdlib/tst-strtod.c (tests): Add another test.
20560 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20562         * sysdeps/s390/fpu/libm-test-ulps: Update.
20564 2012-05-03  Andreas Jaeger  <aj@suse.de>
20566         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20567         does not get optimized out.
20568         (malloc_opt_barrier): New.
20570 2012-05-03  Andreas Jaeger  <aj@suse.de>
20571             Roland McGrath  <roland@hack.frob.com>
20573         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20574         intermediate file deletion.
20575         (generated): Add .symlist files.
20577 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20579         [BZ #13775]
20580         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20581         Redirect under this condition.
20582         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20583         [__USE_GNU] (__dprintf_chk): Not under this condition.
20584         [__USE_GNU] (__vdprintf_chk): Likewise.
20585         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20586         under this condition.
20587         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20588         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20589         [__USE_XOPEN2K8] (vdprintf): Likewise.
20590         [__USE_GNU] (__dprintf_chk): Not under this condition.
20591         [__USE_GNU] (__vdprintf_chk): Likewise.
20592         [__USE_GNU] (dprintf): Likewise.
20593         [__USE_GNU] (vdprintf): Likewise.
20595 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20597         * elf/Makefile (common-generated): Set this instead of generated for
20598         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20599         $(all-built-dso)-derived lists.
20601 2012-05-03  Andreas Jaeger  <aj@suse.de>
20603         * sysdeps/i386/fpu/libm-test-ulps: Update.
20605         * FAQ: Removed.
20606         * FAQ.in: Likewise.
20607         * scripts/gen-FAQ.pl: Likewise.
20608         * manual/install.texi (Installation): Point to online location of
20609         FAQ.
20610         * Makefile (files-for-dist): Remove FAQ.
20611         (FAQ): Remove.
20613 2012-05-02  Allan McRae  <allan@archlinux.org>
20615         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20616         (LDFLAGS-reldepmod5.so): Likewise.
20617         (LDFLAGS-reldep6mod1.so): Likewise.
20618         (LDFLAGS-reldep6mod4.so): Likewise.
20619         (LDFLAGS-reldep8mod3.so): Likewise.
20620         (LDFLAGS-unload4mod1.so): Likewise.
20621         (LDFLAGS-unload4mod2.so): Likewise.
20622         (LDFLAGS-tst-initorder): Likewise.
20623         (LDFLAGS-tst-initordera2.so): Likewise.
20624         (LDFLAGS-tst-initordera3.so): Likewise.
20625         (LDFLAGS-tst-initordera4.so): Likewise.
20626         (LDFLAGS-tst-initorderb2.so): Likewise.
20627         (LDFLAGS-noload): Likewise.
20628         (LDFLAGS-next): Likewise.
20629         (LDFLAGS-order2mod1.so): Likewise.
20630         (LDFLAGS-order2mod2.so): Likewise.
20631         (LDFLAGS-tst-initorder2): Likewise.
20632         (LDFLAGS-tst-initorder2a.so): Likewise.
20633         (LDFLAGS-tst-initorder2b.so): Likewise.
20634         (LDFLAGS-tst-initorder2c.so): Likewise.
20635         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20637 2012-05-02  David S. Miller  <davem@davemloft.net>
20639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20641 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20643         [BZ #14055]
20644         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20646 2012-05-02  Andreas Jaeger  <aj@suse.de>
20648         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20649         since we manipulate rounding mode.
20650         (CPPFLAGS-test-idouble.c): Likewise.
20651         (CPPFLAGS-test-ifloat.c): Likewise.
20652         (CFLAGS-test-ldouble.c): Likewise.
20653         (CFLAGS-test-double.c): Likewise.
20654         (CFLAGS-test-float.c): Likewise.
20655         (CFLAGS-test-misc.c): Likewise.
20656         (CFLAGS-test-test-fenv.c): Likewise.
20658 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20660         [BZ #2550]
20661         [BZ #2570]
20662         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20663         comparisons to determine direction to adjust input.
20665 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20667         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20668         output to the target.
20670         * scripts/localplt.awk: New file.
20671         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20672         (check-localplt-CFLAGS): Variable removed.
20673         ($(all-built-dso:=.jmprel)): New static pattern rule.
20674         (generated): Add those targets.
20675         (localplt-built-dso): New variable.
20676         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20678         * elf/check-localplt.c: File removed.
20680         * scripts/check-execstack.awk: New file.
20681         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20682         (check-execstack-CFLAGS): Variable removed.
20683         ($(objpfx)check-execstack.h): Target removed.
20684         ($(objpfx)execstack-default): New target.
20685         (generated): Add that instead of check-execstack.h.
20686         ($(all-built-dso:=.phdr)): New static pattern rule.
20687         (generated): Add those targets.
20688         * elf/check-execstack.c: File removed.
20690         * scripts/check-textrel.awk: New file.
20691         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20692         (check-textrel-CFLAGS): Variable removed.
20693         (all-built-dso): Use := to define.o
20694         ($(all-built-dso:=.dyn)): New static pattern rule.
20695         (generated): Add those targets.
20696         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20697         * config.make.in (READELF): New substituted variable.
20698         * elf/check-textrel.c: File removed.
20700 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20702         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20703         allow.
20704         * conform/data/ctype.h-data [C99-based standards] (isblank):
20705         Expect function.
20706         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20707         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20709         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20710         Specify type.  Require positive value.
20711         (EILSEQ): Likewise.
20712         (ERANGE): Likewise.
20713         [ISO || POSIX] (EILSEQ): Do not expect.
20714         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20715         Specify type.  Require positive value.
20716         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20717         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20718         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20719         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20720         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20721         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20722         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20723         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20724         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20725         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20726         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20727         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20728         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20729         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20730         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20731         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20732         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20733         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20734         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20735         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20736         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20737         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20738         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20739         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20740         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20741         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20742         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20743         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20744         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20745         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20746         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20747         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20748         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20749         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20750         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20751         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20752         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20753         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20754         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20755         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20756         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20757         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20758         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20759         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20760         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20761         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20762         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20763         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20764         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20765         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20766         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20767         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20768         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20769         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20770         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20771         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20772         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20773         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20774         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20775         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20776         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20777         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20778         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20779         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20780         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20781         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20782         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20783         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20784         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20785         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20786         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20787         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20788         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20789         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20790         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20791         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20792         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20793         Require >= 2.
20794         (FLT_ROUNDS): Expect as macro, not constant.
20795         (FLT_MANT_DIG): Use macro-int-constant.
20796         (DBL_MANT_DIG): Likewise.
20797         (LDBL_MANT_DIG): Likewise.
20798         (FLT_DIG): Likewise.
20799         (DBL_DIG): Likewise.
20800         (LDBL_DIG): Likewise.
20801         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20802         (DBL_MIN_EXP): Likewise.
20803         (LDBL_MIN_EXP): Likewise.
20804         (FLT_MAX_EXP): Use macro-int-constant.
20805         (DBL_MAX_EXP): Likewise.
20806         (LDBL_MAX_EXP): Likewise.
20807         (FLT_MAX_10_EXP): Likewise.
20808         (DBL_MAX_10_EXP): Likewise.
20809         (LDBL_MAX_10_EXP): Likewise.
20810         (FLT_MAX): Use macro-constant.
20811         (DBL_MAX): Likewise.
20812         (LDBL_MAX): Likewise.
20813         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20814         (DBL_EPSILON): Likewise.
20815         (LDBL_EPSILON): Likewise.
20816         (FLT_MIN): Likewise.
20817         (DBL_MIN): Likewise.
20818         (LDBL_MIN): Likewise.
20819         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20820         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20821         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20822         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20823         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20824         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20825         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20826         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20827         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20828         [ISO11] (FLT_TRUE_MIN): Likewise.
20829         [ISO11] (LDBL_TRUE_MIN): Likewise.
20830         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20831         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20832         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20833         (SCHAR_MAX): Likewise.
20834         (UCHAR_MAX): Likewise.
20835         (CHAR_MIN): Likewise.
20836         (CHAR_MAX): Likewise.
20837         (MB_LEN_MAX): Use macro-int-constant.
20838         (SHRT_MIN): Use macro-int-constant.  Specify type.
20839         (SHRT_MAX): Likewise.
20840         (USHRT_MAX): Likewise.
20841         (INT_MAX): Likewise.
20842         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20843         bound negative.
20844         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20845         bound with "U".
20846         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20847         bound with "L".
20848         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20849         bound negative.  Suffix upper bound with "L".
20850         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20851         bound with "UL".
20852         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
20853         Specify type.
20854         [C99-based standards] (LLONG_MAX): Likewise.
20855         [C99-based standards] (ULLONG_MAX): Likewise.
20856         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
20857         == 0.
20858         [ISO11] (max_align_t): Require type.
20859         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20861         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
20862         from $CFLAGS, without defining away __attribute__ calls.
20863         (checknamespace): Use $CFLAGS_namespace.
20865         * conform/conformtest.pl (@keywords): Only include C99 keywords
20866         for standards based on C99 or C11.
20868         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
20869         Disable tests.
20870         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
20871         UNIX98]: Likewise.
20873         * conform/conformtest.pl: Handle "macro-int-constant" and test for
20874         usability of symbols in #if.
20876         * conform/conformtest.pl: If macro or constant types start
20877         "promoted:", expect the symbol to be of the following type
20878         promoted by the integer promotions.
20880         * conform/conformtest.pl: Parse all "constant" and "macro" lines
20881         in one place.  Also handle "macro-constant".
20883         * conform/conformtest.pl: Only accept expected macro values with
20884         "==".  Parse all "macro" lines in one place.
20885         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
20887         * conform/conformtest.pl: Handle braced types on "constant" lines
20888         instead of handling "typed-constant".
20889         * conform/data/signal.h-data: Use "constant" instead of
20890         "typed-constant".
20892         * conform/conformtest.pl: Handle "optional-" at start of lines in
20893         one place rather than duplicating several cases.  Handle each
20894         format of "macro" line with initial "optional-".
20896         * conform/conformtest.pl: Only accept expected constant or
20897         optional-constant values with "==".  Parse all "constant" lines in
20898         one place.  Parse all "optional-constant" lines in one place.
20899         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
20900         * conform/data/fmtmsg.h-data: Likewise.
20901         * conform/data/netinet/in.h-data: Likewise.
20902         * conform/data/tar.h-data: Likewise.
20903         * conform/data/limits.h-data: Use "==" form on "constant" and
20904         "optional-constant" lines.
20906         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
20907         Use -std=c99 for XOPEN2K.
20908         (@knownproblems): Remove.
20909         (newtoken): Don't check %isknown.
20911         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
20912         Do not expect macro.
20913         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
20914         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
20915         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
20916         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
20917         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
20918         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
20919         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
20920         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
20921         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
20922         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
20923         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
20924         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
20925         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
20926         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
20927         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
20928         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
20929         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
20930         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
20931         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
20932         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
20933         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
20934         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
20935         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
20936         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
20937         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
20938         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
20939         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
20940         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
20941         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
20942         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
20943         [XPG3] (acosh): Likewise.
20944         [XPG3] (asinh): Likewise.
20945         [XPG3] (atanh): Likewise.
20946         [XPG3] (cbrt): Likewise.
20947         [XPG3] (expm1): Likewise.
20948         [XPG3] (ilogb): Likewise.
20949         [XPG3] (log1p): Likewise.
20950         [XPG3] (logb): Likewise.
20951         [XPG3] (nextafter): Likewise.
20952         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
20953         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
20954         [XPG3] (remainder): Likewise.
20955         [XPG3] (rint): Likewise.
20956         [XPG3 || XPG4 || UNIX98] (round): Likewise.
20957         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
20958         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
20959         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
20960         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
20961         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
20962         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
20963         [UNIX98 || XOPEN2K] (scalb): Expect.
20964         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
20965         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
20966         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
20967         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
20968         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
20969         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
20970         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
20971         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
20972         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
20973         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
20974         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
20975         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
20976         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
20977         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
20978         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
20979         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
20980         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
20981         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
20982         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
20983         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
20984         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
20985         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
20986         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
20987         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
20988         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
20989         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
20990         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
20991         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
20992         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
20993         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
20994         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
20995         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
20996         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
20997         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
20998         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
20999         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21000         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21001         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21002         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21003         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21004         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21005         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21006         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21007         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21008         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21009         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21010         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21011         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21012         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21013         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21014         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21015         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21016         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21017         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21018         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21019         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21020         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21021         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21022         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21023         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21024         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21025         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21026         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21027         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21028         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21029         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21030         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21031         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21032         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21033         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21034         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21035         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21036         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21037         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21038         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21039         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21040         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21041         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21042         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21043         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21044         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21045         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21046         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21047         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21048         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21049         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21050         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21051         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21052         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21053         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21054         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21055         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21056         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21057         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21058         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21059         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21060         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21061         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21062         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21063         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21064         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21065         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21066         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21067         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21068         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21069         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21070         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21071         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21072         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21073         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21074         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21075         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21076         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21077         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21078         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21079         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21080         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21081         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21082         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21083         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21084         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21085         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21086         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21087         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21088         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21089         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21090         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21091         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21092         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21093         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21094         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21095         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21096         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21097         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21098         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21099         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21100         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21102         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21103         _XOPEN_SOURCE_EXTENDED for XPG4.
21105         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21107         * Makeconfig (localtime): Remove variable.
21108         (inst_localtime-file): Likewise.
21110 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21113         Update.
21114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21115         Update.
21116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21117         Update.
21118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21119         Update.
21120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21121         Update.
21122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21123         Update.
21124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21125         Update.
21126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21127         Update.
21128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21129         Update.
21131 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #2550]
21134         [BZ #2570]
21135         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21136         comparisons to determine direction to adjust input.
21137         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21138         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21139         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21140         Likewise.
21141         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21142         Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21144         Likewise.
21145         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21146         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21147         Likewise.
21148         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21149         Likewise.
21150         * math/libm-test.inc (nexttoward_test): Add more tests.
21152 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21154         [BZ #14040]
21155         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21156         in version GLIBC_2.1, not GLIBC_2.0.
21157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21158         Likewise.
21160 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21162         [BZ #13942]
21163         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21164         (1 - x) * (1 + x).
21165         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21166         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21167         * math/libm-test.inc (acos_test): Add more tests.
21168         (asin_test): Likewise.
21169         * sysdeps/i386/fpu/libm-test-ulps: Update.
21170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21172         [BZ #14034]
21173         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21174         of square root.
21175         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21176         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21177         * math/libm-test.inc (acos_test_tonearest): New function.
21178         (acos_test_towardzero): Likewise.
21179         (acos_test_downward): Likewise.
21180         (acos_test_upward): Likewise.
21181         (asin_test_tonearest): Likewise.
21182         (asin_test_towardzero): Likewise.
21183         (asin_test_downward): Likewise.
21184         (asin_test_upward): Likewise.
21185         (main): Call the new functions.
21186         * sysdeps/i386/fpu/libm-test-ulps: Update.
21187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21189         [BZ #13884]
21190         [BZ #13924]
21191         * math/e_exp10.c: Include <float.h>.
21192         (__ieee754_exp10): Handle underflow here rather than multiplying
21193         large negative argument by M_LN10.
21194         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21195         of __ieee754_expf.
21196         * math/e_exp10l.c: Include <float.h>.
21197         (__ieee754_exp10l): Handle underflow here rather than multiplying
21198         large negative argument by M_LN10l.
21199         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21200         spurious overflow exception on underflow.
21202 2012-04-29  Marek Polacek  <polacek@redhat.com>
21204         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21205         (__fortify_function): New macro.
21206         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21207         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21208         __extern_always_inline.
21209         * libio/bits/stdio2.h: Likewise.
21210         * libio/bits/stdio.h: Likewise.
21211         * string/string.h: Likewise.
21212         * string/bits/string3.h: Likewise.
21213         * include/stdio.h: Likewise.
21214         * stdlib/bits/stdlib.h: Likewise.
21215         * stdlib/stdlib.h: Likewise.
21216         * rt/bits/mqueue2.h: Likewise.
21217         * rt/mqueue.h: Likewise.
21218         * posix/bits/unistd.h: Likewise.
21219         * posix/unistd.h: Likewise.
21220         * io/bits/poll2.h: Likewise.
21221         * io/bits/fcntl2.h: Likewise.
21222         * io/fcntl.h: Likewise.
21223         * io/sys/poll.h: Likewise.
21224         * misc/bits/syslog.h: Likewise.
21225         * misc/bits/syslog-ldbl.h: Likewise.
21226         * misc/sys/syslog.h: Likewise.
21227         * socket/bits/socket2.h: Likewise.
21228         * socket/sys/socket.h: Likewise.
21229         * debug/tst-chk1.c: Likewise.
21230         * wcsmbs/bits/wchar2.h: Likewise.
21231         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21232         * wcsmbs/wchar.h: Likewise.
21234 2012-04-29  Andreas Jaeger  <aj@suse.de>
21236         * Makerules (tests): Remove enable-check-abi protection.
21237         (check-abi-warn): Remove.
21238         (check-abi-%): Remove check-abi-warn usage.
21240         * configure.in: Remove check-abi configure option.
21241         * configure: Regenerated.
21242         * config.make.in (enable-check-abi): Remove.
21244 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21246         [BZ #14033]
21247         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21248         double functions to double *_finite functions.
21250         [BZ #13941]
21251         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21252         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21253         LDBL_MIN_EXP.
21254         * stdio-common/Makefile (tests): Add tst-sprintf3.
21255         * stdio-common/tst-sprintf3.c: New file.
21257         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21258         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21260 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21262         * conform/conformtest.pl: Remove duplicate typed-constant
21263         handling.
21265 2012-04-28  David S. Miller  <davem@davemloft.net>
21267         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21268         (check-abi-%): Remove AWK script prerequisite and explicit
21269         abilist directory.
21270         (check-abi): Rewrite to just diff the symlist with the abilist.
21271         (config-tls, config-abi-config): Delete, no longer used.
21272         (update-abi-%): Remove AWK script and explicit abilist directory.
21273         (update-abi): Rewrite to simply compare and conditionally copy the
21274         symlist and the sysdep abilist file.  Remove update-abi-config
21275         checks.
21276         * abilist/ld.abilist: Remove.
21277         * abilist/libBrokenLocale.abilist: Remove.
21278         * abilist/libanl.abilist: Remove.
21279         * abilist/libcrypt.abilist: Remove.
21280         * abilist/libdl.abilist: Remove.
21281         * abilist/librt.abilist: Remove.
21282         * abilist/libthread_db.abilist: Remove.
21283         * abilist/libutil.abilist: Remove.
21284         * scripts/extract-abilist.awk: Remove.
21285         * scripts/merge-abilist.awk: Remove.
21286         * sysdeps/generic/libcidn.abilist: New file.
21287         * sysdeps/generic/libnss_compat.abilist: New file.
21288         * sysdeps/generic/libnss_db.abilist: New file.
21289         * sysdeps/generic/libnss_dns.abilist: New file.
21290         * sysdeps/generic/libnss_files.abilist: New file.
21291         * sysdeps/generic/libnss_hesiod.abilist: New file.
21292         * sysdeps/generic/libnss_nis.abilist: New file.
21293         * sysdeps/generic/libnss_nisplus.abilist: New file.
21294         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21295         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21296         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21297         file.
21298         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21299         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21300         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21301         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21302         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21303         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21304         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21305         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21306         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21307         file.
21308         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21309         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21310         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21311         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21312         file.
21313         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21314         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21315         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21316         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21317         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21318         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21319         file.
21320         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21321         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21322         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21323         file.
21324         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21325         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21326         New file.
21327         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21328         New file.
21329         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21330         New file.
21331         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21332         New file.
21333         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21334         New file.
21335         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21336         New file.
21337         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21338         New file.
21339         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21340         New file.
21341         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21342         New file.
21343         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21344         New file.
21345         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21346         New file.
21347         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21348         New file.
21349         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21350         New file.
21351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21352         file.
21353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21354         New file.
21355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21356         New file.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21358         file.
21359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21360         New file.
21361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21362         New file.
21363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21364         file.
21365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21366         New file.
21367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21368         New file.
21369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21370         New file.
21371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21372         New file.
21373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21374         New file.
21375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21376         New file.
21377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21378         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21379         file.
21380         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21381         New file.
21382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21383         file.
21384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21385         file.
21386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21387         file.
21388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21389         file.
21390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21391         file.
21392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21393         New file.
21394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21395         file.
21396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21397         file.
21398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21399         New file.
21400         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21401         file.
21402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21404         file.
21405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21406         New file.
21407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21408         file.
21409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21410         file.
21411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21412         file.
21413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21414         file.
21415         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21416         file.
21417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21418         New file.
21419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21420         file.
21421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21422         file.
21423         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21424         New file.
21425         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21426         file.
21427         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21428         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21429         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21430         file.
21431         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21432         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21433         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21434         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21435         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21436         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21437         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21438         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21439         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21440         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21441         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21442         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21443         file.
21444         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21445         New file.
21446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21447         file.
21448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21449         file.
21450         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21451         file.
21452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21453         file.
21454         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21455         file.
21456         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21457         New file.
21458         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21459         New file.
21460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21461         file.
21462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21463         New file.
21464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21465         file.
21466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21467         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21468         file.
21469         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21470         New file.
21471         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21472         file.
21473         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21474         file.
21475         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21476         file.
21477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21478         file.
21479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21480         file.
21481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21482         New file.
21483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21484         New file.
21485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21486         file.
21487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21488         New file.
21489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21490         file.
21492 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21494         * conform/conformtest.pl: Fix typo in handling typed-constant from
21495         allow-header.
21497 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21499         * README: Cut down references to pre-2.6 Linux kernels and
21500         Linuxthreads.  Update lists of configurations in libc and ports
21501         and sort alphabetically.  Say "or newer" with Linux kernel version
21502         requirements.
21504         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21506 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21508         [BZ #887]
21509         * math/libm-test.inc (logb_test_downward): New test to expose
21510         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21511         rounding mode.
21513 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21515         [BZ #14027]
21516         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21517         to be done.
21518         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21519         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21521 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21523         * sysdeps/unix/i386/brk.S: Remove file.
21524         * sysdeps/unix/i386/dl-brk.S: Likewise.
21525         * sysdeps/unix/i386/pipe.S: Likewise.
21526         * sysdeps/unix/i386/sigreturn.S: Likewise.
21527         * sysdeps/unix/i386/syscall.S: Likewise.
21528         * sysdeps/unix/i386/vfork.S: Likewise.
21529         * sysdeps/unix/i386/wait.S: Likewise.
21531         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21532         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21534         * configure.in (arm*-none*): Do not allow without
21535         --enable-hacker-mode.
21536         (netbsd*): Remove case setting base_os.
21537         (386bsd*): Likewise.
21538         (freebsd*): Likewise.
21539         (bsdi*): Likewise.
21540         (osf*): Likewise.
21541         (sunos*): Likewise.
21542         (ultrix*): Likewise.
21543         (newsos*): Likewise.
21544         (dynix*): Likewise.
21545         (*bsd*): Likewise.
21546         (sysv*): Likewise.
21547         (isc*): Likewise.
21548         (esix*): Likewise.
21549         (sco*): Likewise.
21550         (minix*): Likewise.
21551         (irix4*): Likewise.
21552         (irix6*): Likewise.
21553         (solaris[2-9]*): Likewise.
21554         (none): Likewise.
21555         * configure: Regenerated.
21557 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21559         [BZ #11521]
21560         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21561         overflow or cancellation in calculating denominator.
21562         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21563         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21564         down expression to avoid unexpected rounding in newer GCCs.
21565         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21567 2012-04-26  David S. Miller  <davem@davemloft.net>
21569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21570         long-double compat symbols.
21571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21585 2012-04-25  David S. Miller  <davem@davemloft.net>
21587         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21588         HWCAP_* values only after the memory barriers have been defined.
21589         (atomic_full_barrier): Define.
21590         (atomic_read_barrier): Define.
21591         (atomic_write_barrier): Define.
21593 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21595         * shlib-versions: Add libgcc_s version information.
21596         * sysdeps/generic/libgcc_s.h: Remove.
21597         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21598         libgcc_s.h.
21599         * sysdeps/gnu/unwind-resume.c: Likewise.
21600         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21602 2012-04-25  David S. Miller  <davem@davemloft.net>
21604         * sysdeps/unix/sparc/brk.S: Delete.
21605         * sysdeps/unix/sparc/dl-brk.S: Delete.
21606         * sysdeps/unix/sparc/pipe.S: Delete.
21607         * sysdeps/unix/sparc/sysdep.S: Delete.
21608         * sysdeps/unix/sparc/sysdep.h: Delete.
21609         * sysdeps/unix/sparc/vfork.S: Delete.
21610         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21611         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21612         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21613         ret_ERRVAL, r0, r1, MOVE): Define.
21614         (JUMPTARGET): Remove.
21615         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21616         sysdeps/unix/sparc/sysdep.h
21617         (ENTRY, END): Remove.
21618         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21620 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21622         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21623         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21624         -DIS_IN_build.
21626         * timezone/README: Update upstream location and email address for
21627         tzcode and tzdata.
21628         * timezone/zdump.c: Update from tzcode 2012b.
21629         * timezone/zic.c: Likewise.
21631         * configure.in (libc_cv_as_needed): Remove test.
21632         * configure: Regenerated.
21633         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21634         conditional definition.
21635         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21636         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21637         * config.make.in (have-as-needed): Remove variable.
21639 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21640             Paul Pluzhnikov  <ppluzhnikov@google.com>
21642         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21643         strings correctly.
21645 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21647         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21648         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21649         * sysdeps/sh/strlen.S: Likewise.
21651 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21653         * sysdeps/unix/fork.S: Remove file.
21654         * sysdeps/unix/i386/fork.S: Likewise.
21655         * sysdeps/unix/sparc/fork.S: Likewise.
21657         * sysdeps/unix/system.c: Remove file.
21658         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21660         * sysdeps/unix/getegid.S: Remove file.
21661         * sysdeps/unix/geteuid.S: Likewise.
21663 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21665         * scripts/check-localplt.awk: New file.
21666         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21667         of diff.
21668         * scripts/data/localplt-generic.data: Add a comment.
21670         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21671         NODE when __dir_mkfile failed.
21672         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21673         Reported by Ludovic Courtès <ludo@gnu.org>.
21675 2012-04-24  Andreas Jaeger  <aj@suse.de>
21677         * Makerules (common-clean): Also remove gen-as-const-headers
21678         files.
21680 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21682         * Makerules (native-compile): Do not change working directory for
21683         build.  Use $(OUTPUT_OPTION) in command.
21684         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21686 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21688         [BZ #13886]
21689         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21690         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21691         * math/libm-test.inc (floor_test): Add more tests.
21692         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21694 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21696         * sysdeps/unix/getdents.c: Remove file.
21697         * sysdeps/unix/sysv/getdents.c: Likewise.
21698         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21700         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21701         sysdeps/unix/mman/syscalls.list.
21702         (mmap): Likewise.
21703         (mprotect): Likewise.
21704         (msync): Likewise.
21705         (munmap): Likewise.
21706         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21707         * sysdeps/unix/mman/syscalls.list: Remove.
21708         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21710         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21711         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21712         * configure: Regenerated.
21713         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21714         $(libgcc_s_suffix).
21715         * config.make.in (libgcc_s_suffix): Remove variable.
21717 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21719         * sysdeps/unix/sysv/gethostname.c: Move to ...
21720         * sysdeps/posix/gethostname.c: ... here.
21722         * sysdeps/unix/execve.S: Remove file.
21724         * sysdeps/unix/_exit.S: Remove file.
21726 2012-04-23  Andreas Jaeger  <aj@suse.de>
21728         [BZ #13739]
21729         * manual/Makefile: Remove make dist support, there's no
21730         need for a stand-alone documentation tar ball.
21731         (TEXI2DVI): Define always, it's not in Makeconfig.
21732         (dist): Removed.
21733         (tar-it): Removed.
21734         (edition): Removed.
21735         (glibc-doc-$(edition).tar): Removed
21736         (%.Z): Removed.
21737         (%.gz): Removed.
21738         (%.uu): Removed.
21739         (ETAGS): Remove, it's in Makeconfig.
21740         (move-if-change): Remove, it's in Makeconfig.
21742 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21744         [BZ #13970]
21745         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21746         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21747         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21748         (strtod_l, strtof_l, strtold_l): Remove __wur.
21749         It is not necessarily an error to ignore strtol's return value.
21750         One can reliably look at the stored endptr to decide whether
21751         the number had valid syntax.
21753 2012-04-21  Andreas Jaeger  <aj@suse.de>
21755         [BZ #13739]
21756         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21758 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21760         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21761         * sysdeps/unix/sysv/Versions: Remove file.
21763 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21765         [BZ #13927]
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21768 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21770         [BZ #7064]
21771         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21772         version from __vm86.
21774 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21776         * sysdeps/unix/common/lxstat.c: Remove file.
21777         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21779         * sysdeps/unix/sysv/Makefile: Remove file.
21781         * sysdeps/unix/sysv/direct.h: Remove file.
21783         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21784         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21785         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21786         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21787         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21788         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21789         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21791         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21793         * sysdeps/unix/xmknod.c: Remove file.
21794         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21796         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21798         * sysdeps/unix/sysv/i386/time.S: Remove file.
21800         * sysdeps/unix/fxstat.c: Remove file.
21801         * sysdeps/unix/xstat.c: Likewise.
21802         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21804         * sysdeps/unix/sysv/sigaction.c: Remove file.
21806         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21807         (sysdep_headers): Remove variable.
21808         [termio.h not in sysdep_headers] (generated): Likewise.
21809         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21810         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21811         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21812         * sysdeps/unix/sysv/tcflow.c: Likewise.
21813         * sysdeps/unix/sysv/tcflush.c: Likewise.
21814         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21815         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21816         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21817         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21818         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21820         * sysdeps/unix/siglist.c: Remove file.
21822         * sysdeps/unix/getppid.S: Remove file.
21824         * sysdeps/unix/mkdir.c: Remove file.
21825         * sysdeps/unix/rmdir.c: Likewise.
21827 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21829         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21830         ERR_MAX value.
21831         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21832         errlist-compat value.
21834 2012-04-18  David S. Miller  <davem@davemloft.net>
21836         * sysdeps/generic/memcopy.h (reg_char): Delete.
21837         * debug/strcat_chk.c: Use char, not reg_char.
21838         * debug/strcpy_chk.c: Likewise.
21839         * debug/strncat_chk.c: Likewise.
21840         * debug/strncpy_chk.c: Likewise.
21841         * string/memchr.c: Likewise.
21842         * string/memrchr.c: Likewise.
21843         * string/rawmemchr.c: Likewise.
21844         * string/strcat.c: Likewise.
21845         * string/strchr.c: Likewise.
21846         * string/strchrnul.c: Likewise.
21847         * string/strcmp.c: Likewise.
21848         * string/strcpy.c: Likewise.
21849         * string/strncat.c: Likewise.
21850         * string/strncmp.c: Likewise.
21851         * string/strncpy.c: Likewise.
21853 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21855         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
21856         __builtin_memcopy is called when src and dest ranges are known to not
21857         overlap.
21859 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21861         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
21862         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
21863         fwd_align_merge macro call.
21864         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
21865         bwd_align_merge macro call.
21866         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21868 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
21870         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
21871         bwd_align_merge macros.
21872         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
21873         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
21874         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
21876 2012-04-18  David S. Miller  <davem@davemloft.net>
21878         * sysdeps/sparc/sparc64/memcopy.h: Delete.
21880 2012-04-18  Andreas Jaeger  <aj@suse.de>
21882         [BZ# 6794]
21883         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
21884         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
21885         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
21888         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
21889         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21891         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
21892         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
21893         Adjust for changed ldbl-128 files.
21895         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
21896         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
21897         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
21899 2012-04-17  David S. Miller  <davem@davemloft.net>
21901         * sysdeps/sparc/sparc32/memcopy.h: Delete.
21903 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
21905         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
21906         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
21907         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
21908         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
21909         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21910         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
21912 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21914         [BZ #6794]
21915         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
21916         * math/libm-test.inc: Add ilogb errno and exception tests.
21917         * math/w_ilogb.c: New file: ilogb wrapper.
21918         * math/w_ilogbf.c: New file: ilogbf wrapper.
21919         * math/w_ilogbl.c: New file: ilogbl wrapper.
21920         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
21921         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
21922         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
21923         exception being thrown with 0.0 as argument.
21924         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
21925         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
21926         exception being thrown with 0.0 as argument.
21927         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
21928         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21929         exception being thrown with 0.0 as argument.
21930         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
21931         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
21932         exception being thrown with 0.0 as argument.
21933         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
21934         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
21935         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
21936         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
21937         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
21938         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
21939         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
21940         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
21941         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
21943 2012-04-17  Petr Baudis  <pasky@ucw.cz>
21945         * include/sys/uio.h: Change __vector to __iovec to avoid clash
21946         with altivec.
21948 2012-04-16  Marek Polacek  <polacek@redhat.com>
21950         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
21952 2012-04-16  Marek Polacek  <polacek@redhat.com>
21954         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
21955         operands of fdivp instruction.
21957 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21959         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
21960         * elf/tst-auditmod3b.c: Likewise.
21961         * elf/tst-auditmod4b.c: Likewise.
21962         * elf/tst-auditmod5b.c: Likewise.
21963         * elf/tst-auditmod6b.c: Likewise.
21964         * elf/tst-auditmod6c.c: Likewise.
21965         * elf/tst-auditmod7b.c: Likewise.
21966         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
21967         * sysdeps/x86_64/preconfigure.in: Likewise.
21968         * sysdeps/x86_64/preconfigure: Regenerated.
21970 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
21972         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
21973         __ILP32__.
21975 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
21977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21978         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
21980 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
21982         [BZ #13973]
21983         * locale/iso-639.def: Fix gl language name. Spotted by
21984         Yaron Shahrabani.
21986 2012-04-12  Roland McGrath  <roland@hack.frob.com>
21988         [BZ #2074]
21989         * libio/libio.h (__io_write_fn): Update comment.
21991 2012-04-12  Petr Baudis  <pasky@ucw.cz>
21993         [BZ #2074]
21994         * stdio.texi (Hook Functions): The user provided writer function
21995         is not allowed to return -1.
21997 2012-04-11  David S. Miller  <davem@davemloft.net>
21999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22001 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22003         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22004         Add a leading slash to rtkaio.
22006 2012-04-11  Jim Meyering  <meyering@redhat.com>
22008         [BZ #11959]
22009         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22010         It is not necessarily an error to ignore fwrite's return
22011         value.  One can reliably use ferror to test for errors after
22012         the fact.
22014 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22016         * bits/types.h (__snseconds_t): New type.
22017         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22019         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22020         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22021         (__SNSECONDS_T_TYPE): Likewise.
22022         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22023         (__SNSECONDS_T_TYPE): Likewise.
22024         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22025         (__SNSECONDS_T_TYPE): Likewise.
22027 2012-04-10  Andreas Jaeger  <aj@suse.de>
22029         [BZ #2636]
22030         * manual/time.texi (Processor Time): Return type of times is
22031         elapsed real time since an arbitrary point in the past.
22032         (CPU Time): Move CLK_TCK from here...
22033         (Processor Time): ...to here.  Correct description.
22034         * manual/conf.texi (Constants for Sysconf): Correct description of
22035         _SC_CLK_TCK.
22037 2012-04-10  David S. Miller  <davem@davemloft.net>
22039         [BZ #13967]
22040         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22041         where the is a gap between DT_REL(A) and DT_JMPREL.
22043 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22045         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22046         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22047         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22049 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22051         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22052         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22053         (dl_main): Handle --inhibit-cache.
22054         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22055         _dl_inhibit_cache.
22056         * elf/dl-load.c (_dl_map_object): Use it.
22057         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22059 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22061         [BZ #13872]
22062         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22063         (__ieee754_powl): Saturate large exponents rather than testing for
22064         overflow of y*log2(x).
22065         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22066         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22067         exceptions.
22069         [BZ #11521]
22070         * math/s_ctan.c: Include <float.h>.
22071         (__ctan): Avoid internal overflow or cancellation in calculating
22072         denominator.
22073         * math/s_ctanf.c: Likewise.
22074         * math/s_ctanl.c: Likewise.
22075         * math/s_ctanh.c: Likewise.
22076         * math/s_ctanhf.c: Likewise.
22077         * math/s_ctanhl.c: Likewise.
22078         * math/libm-test.inc (ctan_test): Add more tests.
22079         (ctanh_test): Likewise.
22080         * sysdeps/i386/fpu/libm-test-ulps: Update.
22081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22083 2012-04-09  Andreas Jaeger  <aj@suse.de>
22085         [BZ #6894]
22086         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22087         is an optional BSD extension.
22089         [BZ #10254]
22090         * manual/stdio.texi (Opening Streams): Document additional fopen
22091         parameters.
22093 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22095         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22096         %eax without telling the compiler.
22098 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22100         [BZ # 13963]
22101         * manual/install.texi: Use sourceware.org.
22103 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22105         [BZ #13873]
22106         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22107         (__ieee754_pow): Generate overflow and underflow using huge*huge
22108         and tiny*tiny rather than just returning constant infinity or zero
22109         for large exponents.
22110         * math/libm-test.inc (pow_test): Require overflow exceptions for
22111         applicable cases of large exponents.
22113         [BZ #706]
22114         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22115         (__ieee754_pow): Use iterative multiplication algorithm only for
22116         integer exponents with absolute value below 1024.  Check for odd
22117         integer exponents when using algorithm for real exponents.
22118         * math/libm-test.inc (pow_test): Add more tests.
22119         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22121 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22123         [BZ #13705]
22124         * math/libm-test.inc (exp_test): Do not allow overflow exception
22125         on underflow test.
22127 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22129         [BZ #13705]
22130         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22131         instead of __kernel_standard_f.
22133 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22135         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22136         * sysdeps/x86_64/memset_chk.S: Likewise.
22138 2012-04-08  Andreas Jaeger  <aj@suse.de>
22140         [BZ #10153]
22141         * manual/startup.texi (Environment Access): Describe return value
22142         for putenv and setenv.
22144         [BZ #6895]
22145         * manual/filesys.texi (Directory Entries): Add description for
22146         DT_LNK.
22148         [BZ #6890]
22149         * manual/filesys.texi (Directory Entries): Clarify that it's file
22150         system not operating system in the description of DT_UNKNOWN.
22152         [BZ #6578]
22153         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22155 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22157         [BZ #6649]
22158         * manual/llio.texi (Opening and Closing Files): Add cross
22159         reference to explain mode argument.
22161 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22163         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22164         * sysdeps/x86_64/memset_chk.S: Likewise.
22166 2012-04-07  David S. Miller  <davem@davemloft.net>
22168         * elf/elf.h (R_SPARC_WDISP10): Define.
22169         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22170         R_SPARC_SIZE32.
22171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22172         R_SPARC_SIZE64 and R_SPARC_H34.
22174 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22176         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22177         conditions and remove no longer applicable assertion.
22179 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22181         * bits/byteswap.h: Include <features.h>.
22182         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22183         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22185 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22187         * bits/byteswap.h (__bswap_16): Removed.
22188         Include <bits/byteswap-16.h> to get __bswap_16.
22189         * sysdeps/i386/bits/byteswap.h: Likewise.
22190         * sysdeps/s390/bits/byteswap.h: Likewise.
22191         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22192         * bits/byteswap-16.h: New file.
22193         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22194         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22195         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22196         * string/Makefile (headers): Add bits/byteswap-16.h.
22198 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22200         [BZ #13895]
22201         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22202         extra indirection.
22203         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22204         * nss/tst-nss-static.c: New.
22206 2012-04-06  Robert Millan  <rmh@gnu.org>
22208         [BZ #6486]
22209         * manual/llio.texi (File Position Primitive): lseek
22210         refers to WHENCE when it really means OFFSET.
22212 2012-04-06  Andreas Jaeger  <aj@suse.de>
22214         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22215         strncmp declarations.
22217         * abilist/libc.abilist: Add __poll and __ppoll.
22219 2012-04-05  David S. Miller  <davem@davemloft.net>
22221         * scripts/check-local-headers.sh: Accept a host triplet in the
22222         path matched by the exclude regexp.
22224         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22225         definition.
22226         * sysdeps/powerpc/powerpc32/dl-machine.h
22227         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22228         * sysdeps/s390/s390-32/dl-machine.h
22229         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22230         * sysdeps/sparc/sparc32/dl-machine.h
22231         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22232         * sysdeps/sparc/sparc64/dl-machine.h
22233         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22235         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22236         lazy binding.
22237         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22238         undefined symbol errors.
22240         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22241         DT_NEEDED entries.
22243 2012-04-05  Michael Matz  <matz@suse.de>
22245         [BZ #13592]
22246         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22248 2012-04-05  Andreas Jaeger  <aj@suse.de>
22250         [BZ #13908]
22251         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22252         comment.
22254 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22256         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22257         which ROUND is no valid rounding mode.
22259 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22261         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22262         read again.
22263         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22265 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22267         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22268         an exception using FPU order intentionally.
22270 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22272         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22273         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22274         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22275         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22277 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22279         [BZ #12340]
22280         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22281         EINVAL when BUFLEN is too smal.
22283 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22285         [BZ #13553]
22286         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22287         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22289 2012-04-03  Andreas Jaeger  <aj@suse.de>
22291         [BZ #13938]
22292         * manual/setjmp.texi (System V contexts): Fix sentence.
22294         [BZ #13926]
22295         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22296         New macro for this case.
22297         [!__GNUC__] (__bswap_64): New inline function for this case.
22298         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22299         * bits/byteswap.h: Likewise.
22300         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22301         ull, guard with __GLIBC_HAVE_LONG_LONG.
22303         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22304         __GLIBC_HAVE_LONG_LONG.
22306         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22307         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22309 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22311         [BZ #13691]
22312         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22313         inptr and inend, rather than using last_ch.
22315 2012-04-02  David S. Miller  <davem@davemloft.net>
22317         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22318         * stdio-common/printf-parse.h (read_int): Change return type to
22319         'int', return -1 on INT_MAX overflow.
22320         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22321         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22322         overflows INT_MAX.  Check for overflow of in-format-string precision
22323         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22324         SIZE_MAX not INT_MAX for integer overflow test.
22325         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22326         skip the construct in the format string but do not record anything.
22327         * stdio-common/bug22.c: Adjust to test both width/prevision
22328         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22329         explicitly for proper errno values.
22331 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22333         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22334         CHAR_MAX.
22335         * string/test-strcmp.c [! WIDE]: Likewise.
22336         * time/tst-mktime2.c: Likewise for INT_MAX.
22337         * string/test-string.h: #include <sys/param.h> for MIN.
22339         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22340         * sysdeps/i386/init-first.c (init): Likewise.
22341         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22342         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22343         * sysdeps/sh/init-first.c (init): Likewise.
22345 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22347         * po/ru.po: Update from translation team.
22348         * po/vi.po: Likewise.
22350 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22352         * resolv/nss_dns/dns-host.c: Merge copyright years.
22354 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22356         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22357         Optimize memcpy with prefetch if
22358         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22359         src, dst pointers have unequal 16 byte alignments.
22361 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22363         [BZ #13928]
22364         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22365         from a CNAME entry and return the minimum ttl for the query.
22366         (gaih_getanswer_slice): Likewise.
22368 2012-03-30  Jeff Law  <law@redhat.com>
22370         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22371         due to long keys.
22372         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22373         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22375         * resolv/nss_dns/dns-host.c: Update copyright year.
22377 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22379         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22380         requests to save a system call.  Fix check that all bytes are sent.
22382         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22383         comments for sendmmsg.
22385 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22387         [BZ #13691]
22388         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22389         with only 1 character between 0x0041 and 0x01b0.
22390         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22391         * wcsmbs/tst-mbsnrtowcs.c: New file.
22393 2012-03-29  David S. Miller  <davem@davemloft.net>
22395         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22396         small copies by hand.
22398 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22400         [BZ #13761]
22401         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22402         _nss_compat_initgroups_dyn): Fall back to malloc/free
22403         for large group memberships.
22405 2012-03-28  David S. Miller  <davem@davemloft.net>
22407         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22408         that branches into memcpy.
22409         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22410         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22411         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22412         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22413         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22414         bits.
22415         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22416         implementation too.
22417         * sysdeps/sparc/mempcpy.S: New file.
22419         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22420         the IFUNC routine in the libc case.
22421         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22423         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22424         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22425         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22426         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22427         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22428         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22429         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22430         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22432         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22433         loop to 256 bytes instead of 64 bytes and fix test signedness.
22435         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22436         * sysdeps/sparc/sparc32/Makefile: rather than here...
22437         * sysdeps/sparc/sparc64/Makefile: and here.
22439 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22441         * malloc/mallocbug.c: Avoid warnings about unused variables.
22443 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22445         [BZ #13760]
22446         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22447         in the right place. Discard and retry query if response is
22448         larger than input buffer size.
22450 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22452         [BZ #369]
22453         [BZ #2678]
22454         [BZ #3866]
22455         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22456         x for large integer exponent.
22457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22458         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22459         sign of result as needed afterwards.
22460         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22461         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22462         result for underflowing pow the same as for overflow.
22463         (__kernel_standard_l): Handle powl overflow and underflow here
22464         rather than calling __kernel_standard.
22465         * math/libm-test.inc (pow_test): Add more tests.
22467         [BZ #3868]
22468         [BZ #13879]
22469         [BZ #13910]
22470         [BZ #13911]
22471         [BZ #13912]
22472         [BZ #13913]
22473         [BZ #13915]
22474         [BZ #13916]
22475         [BZ #13917]
22476         [BZ #13918]
22477         [BZ #13919]
22478         [BZ #13920]
22479         [BZ #13921]
22480         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22481         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22482         (__kernel_standard_l): New function.
22483         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22484         __kernel_standard.
22485         * math/w_acosl.c (__acosl): Likewise.
22486         * math/w_asinl.c (__asinl): Likewise.
22487         * math/w_atan2l.c (__atan2l): Likewise.
22488         * math/w_atanhl.c (__atanhl): Likewise.
22489         * math/w_coshl.c (__coshl): Likewise.
22490         * math/w_exp10l.c (__exp10l): Likewise.
22491         * math/w_exp2l.c (__exp2l): Likewise.
22492         * math/w_fmodl.c (__fmodl): Likewise.
22493         * math/w_hypotl.c (__hypotl): Likewise.
22494         * math/w_j0l.c (__j0l, __y0l): Likewise.
22495         * math/w_j1l.c (__j1l, __y1l): Likewise.
22496         * math/w_jnl.c (__jnl, __ynl): Likewise.
22497         * math/w_lgammal.c (__lgammal): Likewise.
22498         * math/w_log10l.c (__log10l): Likewise.
22499         * math/w_log2l.c (__log2l): Likewise.
22500         * math/w_logl.c (__logl): Likewise.
22501         * math/w_powl.c (__powl): Likewise.
22502         * math/w_remainderl.c (__remainderl): Likewise.
22503         * math/w_scalbl.c (sysv_scalbl): Likewise.
22504         * math/w_sinhl.c (__sinhl): Likewise.
22505         * math/w_sqrtl.c (__sqrtl): Likewise.
22506         * math/w_tgammal.c (__tgammal): Likewise.
22507         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22508         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22509         * math/libm-test.inc (acos_test): Add more tests.
22510         (acosh_test): Likewise.
22511         (asin_test): Likewise.
22512         (atanh_test): Likewise.
22513         (exp_test): Likewise.
22514         (exp10_test): Likewise.
22515         (exp2_test): Likewise.
22516         (expm1_test): Likewise.
22517         (lgamma_test): Likewise.
22518         (log_test): Likewise.
22519         (log10_test): Likewise.
22520         (log1p_test): Likewise.
22521         (log2_test): Likewise.
22522         (pow_test): Do not allow some spurious overflow exceptions.
22523         (sqrt_test): Add more tests.
22524         (tgamma_test): Likewise.
22525         (y0_test): Likewise.
22526         (y1_test): Likewise.
22527         (yn_test): Likewise.
22529 2012-03-27  Anton Blanchard  <anton@samba.org>
22531         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22532         MAP_HUGETLB.
22533         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22534         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22535         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22537 2012-03-27  David S. Miller  <davem@davemloft.net>
22539         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22541         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22542         have-as-vis3 check.
22544 2012-03-27  Andreas Jaeger  <aj@suse.de>
22546         * sysdeps/x86_64/elf/configure.in: Moved to ...
22547         * sysdeps/x86_64/configure.in: ... here.
22548         * sysdeps/x86_64/elf/start.S: Moved to ...
22549         * sysdeps/x86_64/start.S: ... here.
22550         * sysdeps/x86_64/elf/configure: Delete.
22552         * sysdeps/x86_64/configure.in: Merge contents from
22553         sysdeps/i386/configure.in (without i686 check).
22555         * sysdeps/i386/elf/Versions: Merge into ...
22556         * sysdeps/i386/Versions: ... this.
22557         * sysdeps/i386/elf/Versions: Delete file.
22558         * sysdeps/i386/elf/start.S: Moved to ...
22559         * sysdeps/i386/start.S: ...here.
22560         * sysdeps/i386/elf/configure.in: Merge into...
22561         * sysdeps/i386/configure.in: ...here.
22562         * sysdeps/i386/elf/configure.in: Delete file.
22563         * sysdeps/i386/elf/configure: Delete file.
22565         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22566         * debug/backtracesyms.c: ... here.
22567         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22568         * debug/backtracesymsfd.c: ... here.
22569         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22570         * sysdeps/generic/ifunc-sel.h: ... here.
22572         * sysdeps/unix/i386/start.c: Delete file.
22573         * sysdeps/unix/sparc/start.c: Delete file.
22574         * sysdeps/unix/start.c: Delete file.
22576         * sysdeps/sh/elf/configure.in: Moved to ...
22577         * sysdeps/sh/configure.in: ... here.
22578         * sysdeps/sh/elf/start.S: Moved to ...
22579         * sysdeps/sh/start.S: ... here.
22580         * sysdeps/sh/elf/configure: Delete file.
22582         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22583         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22584         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22585         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22586         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22587         * sysdeps/powerpc/powerpc64/start.S: here.
22588         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22589         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22590         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22591         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22592         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22594         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22595         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22596         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22597         * sysdeps/powerpc/powerpc32/start.S: ... here.
22598         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22599         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22600         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22602         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22603         * sysdeps/powerpc/ifunc-sel.h: ... here.
22604         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22605         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22607         * sysdeps/sparc/elf/configure.in: Moved to ...
22608         * sysdeps/sparc/configure.in: ... here.
22609         * sysdeps/sparc/elf/configure: Delete file.
22610         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22611         * sysdeps/sparc/sparc32/start.S: ... here.
22612         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22613         * sysdeps/sparc/sparc64/start.S: ... here.
22614         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22615         * sysdeps/sparc/sparc32/Makefile: ... this.
22616         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22617         * sysdeps/sparc/sparc64/Makefile: ... this.
22619         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22620         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22621         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22622         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22623         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22624         * sysdeps/s390/s390-32/setjmp.S: ... here.
22625         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22626         * sysdeps/s390/s390-32/configure.in: ... here.
22627         * sysdeps/s390/s390-32/elf/configure: Delete file.
22628         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22629         * sysdeps/s390/s390-32/start.S: ... here.
22631         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22632         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22633         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22634         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22635         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22636         * sysdeps/s390/s390-64/setjmp.S: ... here.
22637         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22638         * sysdeps/s390/s390-64/configure.in: ... here
22639         * sysdeps/s390/s390-64/elf/configure: Delete file.
22640         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22641         * sysdeps/s390/s390-64/start.S: ... here.
22642         * sysdeps/s390/s390-64/elf/configure: Delete.
22644         * configure.in: Remove support for elf directories in sysdeps.
22646         * configure: Regenerated.
22647         * sysdeps/i386/configure: Regenerated.
22648         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22649         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22650         * sysdeps/s390/s390-32/configure: Regenerated.
22651         * sysdeps/s390/s390-64/configure: Regenerated.
22652         * sysdeps/sh/configure: Regenerated.
22653         * sysdeps/sparc/configure: Regenerated.
22654         * sysdeps/x86_64/configure: Regenerated.
22656 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22660         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22661         denormal result into account.
22663 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22665         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22666         Reported by Allan McRae <allan@archlinux.org>.
22668 2012-03-23  Jeff Law  <law@redhat.com>
22670         * nss/getnssent.c (__nss_getent): Fix typo.
22672 2012-03-23  David S. Miller  <davem@davemloft.net>
22674         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22676 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22678         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22679         to pad to uint64_t for each field.
22680         (dl_tls_index): Replace unsigned long with uint64_t.
22682 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22683         Paul Pluzhnikov  <ppluzhnikov@google.com>
22685         [BZ #6528]
22686         * grp/Makefile (otherlibs): Don't set it.
22687         * inet/Makefile (otherlibs): Likewise.
22688         * login/Makefile (otherlibs): Likewise.
22689         * nscd/Makefile (otherlibs): Likewise.
22690         * posix/Makefile (otherlibs): Likewise.
22691         * pwd/Makefile (otherlibs): Likewise.
22692         * rt/Makefile (otherlibs): Likewise.
22693         * sunrpc/Makefile (otherlibs): Likewise.
22694         * nss/Makefile (otherlibs): Likewise.
22695         Add libnss_files to routines and static-only-routines.
22696         ($(objpfx)getent): Remove rule.
22697         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22698         static-only-routines.
22700 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22702         [BZ #13892]
22703         * math/s_cexp.c: Include <float.h>.
22704         (__cexp): Handle exp result overflowing not necessarily
22705         overflowing both real and imaginary parts of result.
22706         * math/s_cexpf.c: Likewise.
22707         * math/s_cexpl.c: Likewise.
22708         * math/libm-test.inc (cexp_test): Add more tests.
22709         * sysdeps/i386/fpu/libm-test-ulps: Update.
22710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22712 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22714         * include/link.h (ELFW): New macro.
22715         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22716         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22718 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22720         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22721         with uint64_t.
22723 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22725         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22726         declaration.
22727         (struct La_x32_retval): Likewise.
22729 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22731         * sysdeps/x86_64/preconfigure.in: New file.
22732         * sysdeps/x86_64/preconfigure: New generated file.
22734 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22736         [BZ #13824]
22737         * math/e_exp2l.c: Include <float.h>.
22738         (__ieee754_exp2l): Handle overflow and underflow cases
22739         separately.  Only pass fractional part of argument to
22740         __ieee754_expl.
22741         * math/libm-test.inc (exp2_test): Add more tests.
22743         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22744         negating x to take absolute value.
22745         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22746         Likewise.
22747         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22748         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22749         Likewise.
22750         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22751         computing low part if x was negated.
22752         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22754 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22756         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22757         la_x32_gnu_pltexit.
22758         (pltexit): Cast int_retval to ptrdiff_t.
22759         * elf/tst-auditmod3b.c: Likewise.
22760         * elf/tst-auditmod4b.c: Likewise.
22761         * elf/tst-auditmod5b.c: Likewise.
22762         * elf/tst-auditmod6b.c: Likewise.
22763         * elf/tst-auditmod6c.c: Likewise.
22764         * elf/tst-auditmod7b.c: Likewise.
22766         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22767         and x32_gnu_pltexit.
22769         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22770         __ELF_NATIVE_CLASS.
22771         (La_x32_regs): New macro.
22772         (La_x32_retval): Likewise.
22773         (la_x32_gnu_pltenter): New function prototype.
22774         (la_x32_gnu_pltexit): Likewise.
22776 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22778         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22779         exponent.
22781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22783         * configure.in (libc_cv_cc_nofma): Check for option to disable
22784         generation of FMA instructions.
22785         * configure: Regenerate.
22786         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22787         * sysdeps/ieee754/dbl-64/Makefile: New file.
22788         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22789         Remove brandred-fma4.
22790         (CFLAGS-brandred-fma4.c): Remove.
22791         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22792         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22793         define.
22794         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22795         define.
22797 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22799         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22800         LLONG_MAX != LONG_MAX.
22801         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22802         (_fitoa_word): Likewise.
22803         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22804         LLONG_MAX != LONG_MAX.
22805         * stdio-common/_itowa.h: Include <_itoa.h>.
22806         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22807         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22808         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22809         only if not defined.
22810         (_ITOA_WORD_TYPE): Likewise.
22811         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22812         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22814 2012-03-21  David S. Miller  <davem@davemloft.net>
22816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22818 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22820         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22821         of x86_64 when setting libc_cv_slibdir, libdir and
22822         libc_cv_localedir.
22823         * sysdeps/unix/sysv/linux/configure: Regenerated.
22825 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22827         * manual/lang.texi (Old Varargs): Remove section.
22828         (How Variadic): Update menu.
22829         (va_start): Do not mention varargs.h.
22831 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22832             Joseph Myers  <joseph@codesourcery.com>
22834         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22835         link test.
22836         * configure: Regenerated.
22838 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22840         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22841         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22842         conformtest.pl
22844 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22846         * NOTES: Remove.
22847         * Makefile (files-for-dist): Remove NOTES.
22848         (NOTES): Remove rule.
22849         * README: Don't refer to NOTES.
22850         * manual/creature.texi: Don't include macros.texi.
22851         * manual/intro.texi (creature.texi): Remove comment referring to
22852         NOTES.
22854         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
22855         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
22856         * configure: Regenerated.
22857         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
22858         LIBC_TRY_CC_OPTION.
22859         (libc_cv_as_i686): Likewise.
22860         (libc_cv_cc_avx): Likewise.
22861         (libc_cv_cc_sse2avx): Likewise.
22862         (libc_cv_cc_fma4): Likewise.
22863         (libc_cv_cc_novzeroupper): Likewise.
22864         * sysdeps/i386/configure: Regenerated.
22866         [BZ #13883]
22867         * sysdeps/i386/fpu/s_cexp.S: Remove.
22868         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
22869         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
22870         * math/libm-test.inc (cexp_test): Add more tests.
22871         * sysdeps/i386/fpu/libm-test-ulps: Update.
22872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22874 2012-03-21  Allan McRae  <allan@archlinux.org>
22876         * timezone/Makefile: Do not install iso3166.tab and zone.tab
22878 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22880         [BZ #13871]
22881         * math/w_exp2.c: Do not include <float.h>.
22882         (o_threshold, u_threshold): Remove.
22883         (__exp2): Calculate result before checking finiteness and calling
22884         __kernel_standard.
22885         * math/w_exp2f.c: Likewise.
22886         * math/w_exp2l.c: Likewise.
22887         * math/libm-test.inc (exp2_test): Require overflow exception for
22888         1e6 input.
22890         [BZ #3866]
22891         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
22892         range of signed 64-bit integers before using fistpll.  Remove
22893         checks for whether integers fit in mantissa bits.
22894         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
22895         the range of signed 32-bit integers before using fistpl.  Remove
22896         checks for whether integers fit in mantissa bits.
22897         * sysdeps/i386/fpu/e_powl.S (p64): New object.
22898         (__ieee754_powl): Test for y outside the range of signed 64-bit
22899         integers before using fistpll.  Reduce 64-bit values to 63-bit
22900         ones as needed.
22901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
22902         divide-by-zero is raised for zero to large negative powers.
22903         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
22904         (__ieee754_powl): Test for y outside the range of signed 64-bit
22905         integers before using fistpll.  Reduce 64-bit values to 63-bit
22906         ones as needed.
22907         * math/libm-test.inc (pow_test): Add more tests.
22909 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22911         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
22912         <stdio-common/_itoa.h>.
22913         * debug/segfault.c: Likewise.
22914         * elf/dl-cache.c: Likewise.
22915         * elf/dl-minimal.c: Likewise.
22916         * elf/dl-misc.c: Likewise.
22917         * elf/dl-sysdep.c: Likewise.
22918         * elf/dl-version.c: Likewise.
22919         * elf/rtld.c: Likewise.
22920         * hurd/hurdsock.c: Likewise.
22921         * hurd/lookup-retry.c: Likewise.
22922         * malloc/malloc.c: Likewise.
22923         * malloc/mtrace.c: Likewise.
22924         * nscd/nscd_getgr_r.c: Likewise.
22925         * nscd/nscd_getpw_r.c: Likewise.
22926         * nscd/nscd_getserv_r.c: Likewise.
22927         * posix/getopt_init.c: Likewise.
22928         * posix/wordexp.c: Likewise.
22929         * stdio-common/_itoa.c: Likewise.
22930         * stdio-common/printf_fphex.c: Likewise.
22931         * stdio-common/vfprintf.c: Likewise.
22932         * string/_strerror.c: Likewise.
22933         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
22934         * sysdeps/i386/i686/hp-timing.h: Likewise.
22935         * sysdeps/mach/_strerror.c: Likewise.
22936         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
22937         * sysdeps/mach/hurd/sethostid.c: Likewise.
22938         * sysdeps/mach/hurd/xmknodat.c: Likewise.
22939         * sysdeps/mach/xpg-strerror.c: Likewise.
22940         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22941         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22942         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
22943         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
22944         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
22945         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
22946         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
22947         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
22948         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
22949         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
22950         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
22951         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22952         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
22953         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22954         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22955         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
22956         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
22957         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
22958         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
22959         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
22960         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
22962         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
22964         * stdio-common/_itoa.h: Moved to ...
22965         * sysdeps/generic/_itoa.h: Here.
22967         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
22969         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
22970         instead of "_itoa.h" and "_itowa.h".
22971         * stdio-common/vfprintf.: Likewise.
22973 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22975         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
22976         <bits/wordsize.h>.
22977         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
22978         (__signbit): Likwise.
22979         (llrintf): Likwise.
22980         (llrint): Likwise.
22982 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
22984         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
22985         __WORDSIZE != 64.
22987 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
22989         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
22990         OVERFLOW_EXCEPTION_OK.
22991         * math/libm-test.inc ("Philosophy"): Update comment about
22992         exception testing.
22993         (OVERFLOW_EXCEPTION): Define.
22994         (OVERFLOW_EXCEPTION_OK): Likewise.
22995         (INVALID_EXCEPTION_OK): Renumber.
22996         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
22997         (IGNORE_ZERO_INF_SIGN): Likewise.
22998         (test_exceptions): Handle FE_OVERFLOW.
22999         (exp10_test): Expect overflow exceptions.
23000         (exp2_test): Likewise.
23001         (expm1_test): Likewise.
23002         (nextafter_test): Likewise.
23003         (pow_test): Likewise.
23004         (scalbn_test): Likewise.
23005         (scalbln_test): Likewise.
23007 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23009         * sysdeps/x86_64/bits/atomic.h
23010         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23011         64bit integer.
23012         (atomic_exchange_acq): Likewise.
23013         (__arch_exchange_and_add_body): Likewise.
23014         (__arch_add_body): Likewise.
23015         (atomic_add_negative): Likewise.
23016         (atomic_add_zero): Likewise.
23018 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23020         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23021         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23023 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23025         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23026         Check __x86_64__ instead of __WORDSIZE.
23028 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23030         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23032 2012-03-19  David S. Miller  <davem@davemloft.net>
23034         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23036         * sysdeps/sparc/fpu/fenv_private.h: New file.
23037         * sysdeps/sparc/fpu/math_private.h: Use it.
23038         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23039         Remove.
23040         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23041         (libc_feholdexcept_setroundl): Remove.
23042         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23043         Remove.
23044         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23045         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23047 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23049         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23050         int64_t instead of long int.
23051         (INSERT_WORDS64): Likwise.
23053 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23055         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23056         _Unwind_GetCFA return to _Unwind_Ptr first.
23058 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23060         [BZ #13629]
23061         * math/s_clog.c: Include <float.h>.
23062         (__clog): Scale large or subnormal inputs.
23063         * math/s_clogf.c: Likewise.
23064         * math/s_clogl.c: Likewise.
23065         * math/s_clog10.c: Include <float.h>.
23066         (M_LOG10_2): Define.
23067         (__clog10): Scale large or subnormal inputs.
23068         * math/s_clog10f.c: Likewise.
23069         * math/s_clog10l.c: Likewise.
23070         * math/libm-test.inc (clog_test): Add more tests.
23071         (clog10_test): Likewise.
23072         * sysdeps/i386/fpu/libm-test-ulps: Update.
23073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075         [BZ #11451]
23076         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23077         x and y.
23078         * math/libm-test.inc (atan2_test): Add another test.
23080         * Makerules (common-objdir-compile): Remove.
23081         * sysdeps/unix/Makefile (config-generated): Do not add
23082         $(unix-generated) to variable.
23083         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23084         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23085         Remove rule.
23086         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23087         Likewise.
23088         [generic bits/local_lim.h] (before-compile): Do not append to
23089         variable.
23090         [generic bits/local_lim.h] (common-generated): Likewise.
23091         [generic sys/param.h] (before-compile): Do not append to variable.
23092         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23093         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23094         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23095         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23096         include.
23097         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23098         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23099         [generic sys/param.h] ($(addprefix
23100         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23101         [generic sys/param.h] (common-generated): Do not append to
23102         variable.
23103         [generic sys/param.h] (sysdep_headers): Likewise.
23104         [generic bits/errno.h] (before-compile): Do not append to
23105         variable.
23106         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23107         rule.
23108         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23109         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23110         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23111         [generic bits/errno.h] (common-generated): Do not append to
23112         variable.
23113         [generic bits/ioctls.h] (before-compile): Do not append to
23114         variable.
23115         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23116         rule.
23117         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23118         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23119         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23120         rule.
23121         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23122         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23123         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23124         [generic bits/ioctls.h] (common-generated): Do not append to
23125         variable.
23126         [generic sys/syscall.h] (syscall.h): Remove variable.
23127         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23128         rule.
23129         [generic sys/syscall.h] (before-compile): Do not append to
23130         variable.
23131         [generic sys/syscall.h] (common-generated): Likewise.
23132         * sysdeps/unix/errnos-tmpl.c: Remove file.
23133         * sysdeps/unix/errnos.awk: Likewise.
23134         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23135         * sysdeps/unix/ioctls.awk: Likewise.
23136         * sysdeps/unix/mk-local_lim.c: Likewise.
23137         * sysdeps/unix/snarf-ioctls: Likewise.
23139 2012-03-19  Richard Henderson  <rth@twiddle.net>
23141         * sysdeps/i386/fpu/fenv_private.h: New file.
23142         * sysdeps/i386/fpu/math_private.h: Use it.
23143         (math_opt_barrier, math_force_eval): Remove.
23144         (libc_feholdexcept_setround_53bit): Remove.
23145         (libc_feupdateenv_53bit): Remove.
23146         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23147         (math_opt_barrier, math_force_eval): Remove.
23148         (libc_feholdexcept): Remove.
23149         (libc_feholdexcept_setround): Remove.
23150         (libc_fetestexcept, libc_fesetenv): Remove.
23151         (libc_feupdateenv_test): Remove.
23152         (libc_feupdateenv, libc_feholdsetround): Remove.
23153         (libc_feresetround): Remove.
23155         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23156         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23158         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23159         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23160         (libc_feupdateenv_testl): New.
23161         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23162         (libc_feupdateenv_testf): New.
23163         (libc_feupdateenv): Use libc_feupdateenv_test.
23164         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23165         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23167         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23168         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23169         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23170         (libc_feresetround_noex): New.
23171         (libc_feresetround_noexf): New.
23172         (libc_feresetround_noexl): New.
23173         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23174         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23175         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23176         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23177         SET_RESTORE_ROUND.
23178         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23180         (__cos): Likewise.
23181         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23182         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23183         SET_RESTORE_ROUND_NOEX.
23184         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23185         SET_RESTORE_ROUND_NOEXF.
23186         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23187         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23188         (libc_feholdsetroundf): New.
23189         (libc_feresetround, libc_feresetroundf): New.
23191         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23192         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23193         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23195         * sysdeps/generic/math_private.h: Include <fenv.h>.
23196         (default_libc_feholdexcept): New.
23197         (default_libc_feholdexcept_setround): New.
23198         (default_libc_fesetenv, default_libc_feupdateenv): New.
23199         (libc_feholdexcept): Only define if undefined.
23200         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23201         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23202         (libc_feholdexcept_setroundl): Likewise.
23203         (libc_feholdexcept_setround_53bit): Likewise.
23204         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23205         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23206         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23207         (libc_feupdateenv_53bit): Likewise.
23208         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23209         (libc_feholdexcept): Convert from macro to inline function.
23210         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23211         (libc_fesetenv, libc_feupdateenv): Likewise.
23213         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23214         not previously defined.
23215         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23216         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23217         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23218         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23219         * sysdeps/ieee754/flt-32/math_private.h: New file.
23220         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23221         math_private.h below SET_FLOAT_WORD.
23222         (__isnan, __isinf_ns, __finite): Remove.
23223         (__isnanf, __isinf_nsf, __finitef): Remove.
23225 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23229 2012-03-17  David S. Miller  <davem@davemloft.net>
23231         [BZ #6471]
23232         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23233         for 2.16.
23235 2012-03-16  David S. Miller  <davem@davemloft.net>
23237         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23238         warnings.
23240         [BZ #6471]
23241         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23242         properly.
23243         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23244         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23245         sysdep_routines when subdir is sysvipc.
23246         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23247         __getshmlba helper.
23249         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23251 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23253         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23254         [__LP64__].
23256 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23258         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23259         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23260         (__lround): Renamed to ...
23261         (__llround): This.  Replace long int with long long int.
23262         Define lround functions as aliases of llround functions.
23263         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23265 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23267         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23268         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23269         adresses to uintptr_t.  Replace "long int" and "unsigned long
23270         int" with "greg_t" on va_arg.
23272 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23274         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23275         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23277         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23278         Move e_machine check before EI_CLASS check.  Handle x32
23279         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23280         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23281         SKIP_EM_IA_64 and include
23282         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23284         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23285         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23286         (add_system_dir): New macro.
23288         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23289         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23291 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23293         [BZ #2551]
23294         [BZ #2552]
23295         [BZ #2553]
23296         [BZ #2554]
23297         [BZ #2562]
23298         [BZ #2563]
23299         [BZ #2565]
23300         [BZ #2566]
23301         [BZ #2576]
23302         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23303         (y0): Likewise.
23304         * math/w_j0f.c (j0f): Likewise.
23305         (y0f): Likewise.
23306         * math/w_j0l.c (__j0l): Likewise.
23307         (__y0l): Likewise.
23308         * math/w_j1.c (j1): Likewise.
23309         (y1): Likewise.
23310         * math/w_j1f.c (j1f): Likewise.
23311         (y1f): Likewise.
23312         * math/w_j1l.c (__j1l): Likewise.
23313         (__y1l): Likewise.
23314         * math/w_jn.c (jn): Likewise.
23315         (yn): Likewise.
23316         * math/w_jnf.c (jnf): Likewise.
23317         (ynf): Likewise.
23318         * math/w_jnl.c (__jnl): Likewise.
23319         (__ynl): Likewise.
23320         * math/libm-test.inc (j0_test): Add more tests.
23321         (j1_test): Likewise.
23322         (jn_test): Likewise.  Add trailing semicolon to existing test.
23323         (y0_test): Likewise.
23324         (y1_test): Likewise.
23325         * sysdeps/i386/fpu/libm-test-ulps: Update.
23326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23328         [BZ #13851]
23329         [BZ #13854]
23330         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23331         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23332         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23333         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23334         (__tanl): Set errno for infinite argument.
23335         * sysdeps/i386/fpu/mptan.c: Remove.
23336         * sysdeps/i386/fpu/s_tan.S: Likewise.
23337         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23338         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23339         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23340         * math/libm-test.inc (tan_test): Add more tests and enable more
23341         tests for double and long double.
23342         * sysdeps/i386/fpu/libm-test-ulps: Update.
23343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23345 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23347         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23348         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23350 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23352         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23353         * configure.in: Use it for both main tree and add-ons.
23354         * configure: Regenerated.
23356 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23358         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23360 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23362         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23363         in comment.
23365         [BZ #13851]
23366         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23367         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23368         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23369         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23370         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23371         infinite argument.
23372         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23374         != 0 for prec == 2.
23375         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23376         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23377         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23378         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23379         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23380         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23381         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23382         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23383         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23384         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23385         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23386         * math/libm-test.inc (cos_test): Add more tests and enable more
23387         tests for long double.
23388         (sin_test): Likewise.
23389         (sincos_test): Likewise.
23390         * sysdeps/i386/fpu/libm-test-ulps: Update.
23391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23393 2012-03-16  David S. Miller  <davem@davemloft.net>
23395         * sysdeps/sparc/fpu/math_private.h: New file.
23397 2012-03-15  David S. Miller  <davem@davemloft.net>
23399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23400         file.
23401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23403         file.
23404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23405         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23406         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23407         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23408         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23410         sysdep routines.
23411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23413         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23414         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23416         * sysdeps/sparc/sparc-ifunc.h: New file.
23417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23418         sparc-ifunc.h
23419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23421         Likewise.
23422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23423         Likewise.
23424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23428         Likewise.
23429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23434         Likewise.
23435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23436         Likewise.
23437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23443         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23451         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23455         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23456         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23457         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23458         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23459         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23460         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23462 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23464         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23465         scaling.
23466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23468 2012-03-15  Andreas Jaeger  <aj@suse.de>
23470         [BZ #13852]
23471         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23472         ieee754/flt-32 implementation for sin, cos and sincos.
23473         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23474         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23475         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23476         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23477         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23478         ieee754/flt-32 implementation for tan.
23480         * math/libm-test.inc (cos_test): Enable some large input tests for
23481         float as well
23482         (sin_test): Likewise.
23483         (sincos_test): Likewise.
23484         (tan_test): Add tests for large input.
23486         * sysdeps/i386/fpu/libm-test-ulps: Update.
23488 2012-03-15  Andreas Jaeger  <aj@suse.de>
23490         [BZ #13658]
23491         * math/libm-test.inc (cos_test): Add more test cases.
23492         (sin_test): Likewise.
23493         (sincos_test): Likewise.
23495 2012-03-15  Andreas Jaeger  <aj@suse.de>
23497         [BZ #13837]
23498         * math/libm-test.inc (cos_test): Add a test case for large input
23499         value.
23500         (sin_test): Likewise.
23501         (sincos_test): Likewise.
23503 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23504         Joseph Myers  <joseph@codesourcery.com>
23506         [BZ #13658]
23507         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23508         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23509         * sysdeps/i386/fpu/branred.c: Likewise.
23510         * sysdeps/i386/fpu/dosincos.c: Likewise.
23511         * sysdeps/i386/fpu/mpa.c: Likewise.
23512         * sysdeps/i386/fpu/s_cos.S: Likewise.
23513         * sysdeps/i386/fpu/s_sin.S: Likewise.
23514         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23515         * sysdeps/i386/fpu/sincos32.c: Likewise.
23517         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23518         Define.
23519         (libc_feupdateenv_53bit): Define.
23520         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23521         Define.
23522         (libc_feupdateenv_53bit): Define.
23524         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23525         53 bit (without extend i386 double precision).
23527         * math/libm-test.inc (sincos_test): Add tests for large input.
23528         (sin): Likewise.
23529         (cos): Likewise.
23531         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23533 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23535         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23537 2012-03-15  David S. Miller  <davem@davemloft.net>
23539         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23540         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23541         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23542         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23547         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23548         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23549         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23550         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23551         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23555         file.
23556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23558         file.
23559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23561         file.
23562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23564         file.
23565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23566         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23567         fmin/fmax sysdep routines.
23568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23570 2012-03-14  David S. Miller  <davem@davemloft.net>
23572         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23573         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23574         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23576         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23577         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23578         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23579         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23580         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23581         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23582         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23583         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23584         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23585         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23586         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23587         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23588         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23589         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23590         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23591         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23592         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23593         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23594         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23595         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23596         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23597         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23598         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23599         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23600         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23601         routines.
23602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23603         file.
23604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23606         file.
23607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23609         file.
23610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23612         file.
23613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23615         file.
23616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23618         file.
23619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23620         file.
23621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23622         file.
23623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23624         file.
23625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23626         New file.
23627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23628         file.
23629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23630         file.
23631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23633         file.
23634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23636         file.
23637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23639         file.
23640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23642         VIS3 routines.
23644         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23645         New file.
23647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23649         * sysdeps/sparc/configure.in: New file.
23650         * sysdeps/sparc/configure: Generate.
23651         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23652         * configure: Regenerate.
23653         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23654         * config.make.in (have-as-vis3): New.
23655         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23656         available use -Av9d instead of -Av9a.
23657         * sysdeps/sparc/sparc64/Makefile: Likewise.
23658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23660         New file.
23661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23662         file.
23663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23664         New file.
23665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23666         file.
23667         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23668         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23669         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23670         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23671         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23673         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23674         fzeros/fnegs to load 0x80000000 into a float register instead of
23675         using the stack.
23676         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23678 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23681         bits/syscall.h.
23682         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23683         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23684         ($(inst_includedir)/bits/syscall.h): Remove rule.
23685         ($(objpfx)bits/syscall.d): Include instead of
23686         $(objpfx)syscall-list.d.
23687         (generated): Change syscall-list.h and syscall-list.d to
23688         bits/syscall.h and bits/syscall.d.
23690 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23692         [BZ #13846]
23693         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23695 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23697         [BZ #13841]
23698         * math/s_csqrt.c: Include <float.h>.
23699         (__csqrt): Scale large or subnormal inputs.
23700         * math/s_csqrtf.c: Likewise.
23701         * math/s_csqrtl.c: Likewise.
23702         * math/libm-test.inc (csqrt_test): Add more tests.
23703         * sysdeps/i386/fpu/libm-test-ulps: Update.
23704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23706         [BZ #13840]
23707         * math/libm-test.inc (hypot_test): Add more tests.
23709 2012-03-13  David S. Miller  <davem@davemloft.net>
23711         [BZ #13840]
23712         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23713         double-precision for the calculation instead of scaling.
23715 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23717         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23718         manipulate bits before adding and subtracting TWO52[sx].
23719         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23720         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23721         Likewise.
23722         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23724 2012-03-13  David S. Miller  <davem@davemloft.net>
23726         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23727         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23728         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23729         rtld-global-offsets.h
23730         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23732         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23733         large parameters.
23735         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23737         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23738         'err' in the ifdef scope in which it is actually used.
23740         * nss/nss_db/db-init.c: Include string.h
23742 2012-03-12  David S. Miller  <davem@davemloft.net>
23744         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23745         masking out of the most significant byte of random value used.
23746         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23747         Fix coding style in previous change.
23749         * sysdeps/unix/sysv/linux/kernel-features.h
23750         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23751         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23752         expression.
23753         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23754         later.
23756 2012-03-11  David S. Miller  <davem@davemloft.net>
23758         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23759         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23760         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23761         for 'resultvar' otherwise things get truncated on 64-bit.
23763         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23764         Fix masking out of the most significant byte of random value used.
23766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23768 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23772 2012-03-09  David S. Miller  <davem@davemloft.net>
23774         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23775         variables with appropriate CPP guards.
23776         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23777         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23778         on resulting framesize and the management of the outregs buffer for pltexit.
23779         Preserve floating point return values across _dl_call_pltexit call.
23780         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23781         framesize and the management of the outregs buffer for pltexit.
23782         Preserve floating point return values across _dl_call_pltexit
23783         call.
23784         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23785         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23786         (print_exit): Fix format string for return register value.
23788 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23790         * sunrpc/Makefile (others): Add rpcgen.
23791         ($(objpfx)rpcgen): Remove special build rule and dependency on
23792         libc.
23793         * sunrpc/rpcgen.c: New file.
23795 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23797         [BZ #13673]
23798         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23799         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23800         * sysdeps/i386/crti.S: Likewise.
23801         * sysdeps/i386/crtn.S: Likewise.
23802         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23803         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23804         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23805         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23806         * sysdeps/sh/crti.S: Likewise.
23807         * sysdeps/sh/crtn.S: Likewise.
23808         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23810         [BZ #13673]
23811         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23812         with URL.
23813         * locale/programs/locfile-kw.gperf: Likewise.
23814         * locale/programs/charmap-kw.h: Regenerated.
23815         * locale/programs/locfile-kw.h: Likewise.
23817         [BZ #13673]
23818         * intl/plural.y: Replace FSF snail mail address with URL.
23819         * intl/plural.c: Regenerated.
23821 2012-03-09  Richard Henderson  <rth@twiddle.net>
23823         * include/math_private.h: Remove file.
23824         * math/math_private.h: Move file ...
23825         * sysdeps/generic/math_private.h: ... here.
23827         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23828         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23829         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23831         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23832         and <math_private.h>.
23833         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23834         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23835         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23836         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23837         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23838         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23839         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23841         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23842         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23843         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23844         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23845         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23846         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23847         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23848         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23849         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23850         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23851         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23852         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
23853         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23854         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23855         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23856         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23857         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23858         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23859         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23860         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23862         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23863         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23864         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23865         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23866         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23867         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23868         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23869         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23870         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23871         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23872         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23873         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
23874         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23875         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
23876         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23877         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23878         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23879         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
23880         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23881         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23882         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23883         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23884         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
23885         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23886         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23887         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23888         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23889         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
23890         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23891         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23892         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
23893         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23894         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23895         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23896         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23897         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
23898         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23899         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23900         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23901         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
23902         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
23903         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
23904         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
23905         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
23906         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
23907         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
23908         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
23909         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
23910         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
23911         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
23912         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
23913         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
23914         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
23915         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
23916         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
23917         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
23918         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
23919         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
23920         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
23921         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
23922         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
23923         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
23924         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
23925         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23926         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
23927         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
23928         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
23929         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
23930         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23931         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23932         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
23933         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
23934         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
23935         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
23936         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
23937         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23938         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
23939         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
23940         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
23941         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23942         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23943         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23944         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23945         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
23946         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23947         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
23948         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
23949         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23950         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
23951         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23952         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
23953         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23954         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
23955         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
23956         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
23957         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23958         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
23959         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
23960         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
23961         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
23962         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
23963         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
23964         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
23965         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23966         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
23967         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
23968         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
23969         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
23970         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
23971         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
23972         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
23973         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
23974         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
23975         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
23976         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
23977         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
23978         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
23979         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
23980         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
23981         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
23982         * sysdeps/ieee754/k_standard.c: Likewise.
23983         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
23984         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
23985         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
23986         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
23987         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
23988         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
23989         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
23990         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
23991         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23992         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23993         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23994         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23995         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
23996         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
23997         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
23998         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
23999         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24000         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24001         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24002         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24003         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24004         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24005         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24006         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24007         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24008         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24009         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24010         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24011         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24012         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24013         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24014         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24015         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24016         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24017         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24018         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24019         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24020         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24021         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24022         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24023         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24024         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24025         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24026         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24027         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24028         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24029         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24030         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24031         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24032         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24034         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24035         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24036         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24037         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24038         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24039         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24040         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24041         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24042         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24043         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24044         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24045         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24046         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24050         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24053         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24054         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24055         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24056         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24057         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24058         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24059         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24060         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24061         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24062         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24063         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24064         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24065         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24066         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24067         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24068         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24069         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24070         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24071         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24072         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24073         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24074         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24075         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24076         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24077         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24078         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24079         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24080         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24081         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24082         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24083         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24084         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24085         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24086         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24087         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24088         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24089         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24090         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24091         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24092         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24093         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24094         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24095         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24096         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24097         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24098         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24099         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24100         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24101         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24102         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24103         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24104         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24105         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24106         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24107         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24108         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24109         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24110         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24111         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24112         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24113         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24114         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24115         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24116         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24117         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24118         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24119         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24120         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24121         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24122         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24123         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24124         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24125         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24126         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24127         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24128         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24129         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24130         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24131         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24132         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24133         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24134         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24135         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24136         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24137         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24138         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24139         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24140         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24141         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24142         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24143         * sysdeps/ieee754/s_lib_version.c: Likewise.
24144         * sysdeps/ieee754/s_matherr.c: Likewise.
24145         * sysdeps/ieee754/s_signgam.c: Likewise.
24146         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24147         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24148         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24149         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24150         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24151         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24152         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24153         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24154         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24155         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24156         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24157         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24158         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24159         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24160         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24161         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24162         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24163         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24164         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24165         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24166         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24168 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24170         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24171         * sunrpc/rpc_main.c: Likewise.
24172         * sunrpc/rpc_svcout.c: Likewise.
24174 2012-03-09  David S. Miller  <davem@davemloft.net>
24176         * include/math_private.h: New file.
24178 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24180         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24181         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24182         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24183         from <bits/socket_type.h>.
24184         (enum __socket_type): Don't define here.
24185         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24187         bits/socket_type.h.
24189         [BZ #13566]
24190         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24191         checking __USE_GNU.
24193         * Makerules ($(inst_includedir)/%.h): New rule.
24194         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24195         (install-others): Remove variable setting.
24196         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24198 2012-03-08  Richard Henderson  <rth@twiddle.net>
24200         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24201         from macro to inline function; merge with the
24202         !__LIBC_INTERNAL_MATH_INLINES version.
24203         (__ieee754_sqrtf): Likewise.
24205         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24206         to inline function.
24207         (__rintf, __floor, __floorf): Likewise.
24209         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24210         macro to inline function.
24211         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24213         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24214         not <math/math_private.h>.
24216 2012-03-08  David S. Miller  <davem@davemloft.net>
24218         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24219         copyright year.
24220         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24222 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24224         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24225         normalization.
24226         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24227         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24229 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24231         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24232         be defined individually, they must be defined as a block.  Define
24233         S for printing a string instead of hidint the different by using a
24234         macro for adding the 'l'.
24235         * stdio-common/tst-fphex-wide.c: Adjust.
24237 2012-03-07  Marek Polacek  <polacek@redhat.com>
24239         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24241 2012-03-08  Marek Polacek  <polacek@redhat.com>
24243         [BZ #13806]
24244         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24245         * stdio-common/tst-fphex.c: Define a few macros to make the
24246         test reusable.  Use them.
24247         * stdio-common/tst-fphex-wide.c: New file.
24249 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24251         [BZ #6911]
24252         * manual/macros.texi (gnusystems): New macro.
24253         (nongnusystems): Likewise.
24254         (gnulinuxhurdsystems): Likewise.
24255         (gnuhurdsystems): Likewise..
24256         (gnulinuxsystems): Likewise.
24257         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24258         variants of the GNU system, not "GNU system".
24259         * manual/conf.texi: Likewise.
24260         * manual/errno.texi: Likewise.  Update example of errno macro
24261         expansion.
24262         * manual/filesys.texi: Likewise.
24263         (getumask): Document as specific to GNU/Hurd.
24264         * manual/install.texi: Likewise.  Reword some references to
24265         GNU/Linux.
24266         * manual/intro.texi: Likewise.
24267         * manual/io.texi: Likewise.
24268         (File Name Portability): Detail which constraints are inapplicable
24269         to all GNU systems and which are only inapplicable to GNU/Hurd.
24270         * manual/job.texi: Likewise.
24271         * manual/llio.texi: Likewise.
24272         (O_NOCTTY): Document as present on GNU/Linux.
24273         * manual/maint.texi: Likewise.
24274         * manual/memory.texi: Likewise.
24275         * manual/pattern.texi: Likewise.
24276         * manual/pipe.texi: Likewise.
24277         * manual/process.texi: Likewise.
24278         * manual/resource.texi: Likewise.
24279         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24280         child on GNU/Hurd.
24281         * manual/setjmp.texi: Likewise.
24282         * manual/signal.texi: Likewise.
24283         * manual/startup.texi: Likewise.
24284         * manual/stdio.texi: Likewise.
24285         * manual/terminal.texi: Likewise.
24286         (ONLCR): Document as POSIX.
24287         (OXTABS): Document availability on GNU/Linux as XTABS.
24288         (ONOEOT): Document availability separately from other bits.
24289         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24290         * manual/time.texi: Likewise.
24291         * manual/users.texi: Likewise.
24292         * INSTALL: Regenerated.
24293         * sysdeps/gnu/errlist.c: Regenerated.
24295         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24296         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24297         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24298         puts.
24299         * configure: Regenerated.
24301 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24303         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24304         default includes instead of AC_HEADER_CHECK.
24305         * sysdeps/i386/configure: Regenerated.
24307         [BZ #10716]
24308         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24309         * math/s_cacoshf.c (__cacoshf): Likewise.
24310         * math/s_cacoshl.c (__cacoshl): Likewise.
24311         * math/s_casinh.c (__casinh): Set signs of result from argument.
24312         * math/s_casinhf.c (__casinhf): Likewise.
24313         * math/s_casinhl.c (__casinhl): Likewise.
24314         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24315         (casinh_test): Add more tests.
24316         * sysdeps/i386/fpu/libm-test-ulps: Update.
24317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24319 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24321         * po/zh_TW.po: Update from translation team.
24323         * login/Makefile (distribute): Remove variable.
24324         * catgets/Makefile: Likewise.
24325         * mach/Makefile: Likewise.
24326         * malloc/Makefile: Likewise.
24327         * misc/Makefile: Likewise.
24328         * iconv/Makefile: Likewise.
24329         * nscd/Makefile: Likewise.
24330         * hurd/Makefile: Likewise.
24331         * manual/Makefile: Likewise.
24332         * locale/Makefile: Likewise.
24333         * intl/Makefile: Likewise.
24334         * conform/Makefile: Likewise.
24335         * nss/Makefile: Likewise.
24336         * time/Makefile: Likewise.
24337         * soft-fp/Makefile: Likewise.
24338         * dirent/Makefile: Likewise.
24339         * gmon/Makefile: Likewise.
24340         * po/Makefile: Likewise.
24341         * rt/Makefile: Likewise.
24342         * socket/Makefile: Likewise.
24343         * math/Makefile: Likewise.
24344         * signal/Makefile: Likewise.
24345         * debug/Makefile: Likewise.
24346         * elf/Makefile: Likewise.
24347         * timezone/Makefile: Likewise.
24348         * stdlib/Makefile: Likewise.
24349         * iconvdata/Makefile: Likewise.
24350         * sunrpc/Makefile: Likewise.
24351         * io/Makefile: Likewise.
24352         * argp/Makefile: Likewise.
24353         * inet/Makefile: Likewise.
24354         * hesiod/Makefile: Likewise.
24355         * grp/Makefile: Likewise.
24356         * csu/Makefile: Likewise.
24357         * wctype/Makefile: Likewise.
24358         * crypt/Makefile: Likewise.
24359         * libio/Makefile: Likewise.
24360         * string/Makefile: Likewise.
24361         * nis/Makefile: Likewise.
24362         * resolv/Makefile: Likewise.
24363         * stdio-common/Makefile: Likewise.
24364         * wcsmbs/Makefile: Likewise.
24365         * dlfcn/Makefile: Likewise.
24366         * posix/Makefile: Likewise.
24368         [BZ #6959]
24369         * timezone/Makefile: Don't install timezone files, just the programs
24370         and scripts.
24372 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24374         * nss/databases.def: Add missing gshadow entry.
24376         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24378 2012-03-06  Marek Polacek  <polacek@redhat.com>
24380         [BZ #13726]
24381         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24382         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24383         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24384         * stdio-common/tst-long-dbl-fphex.c: New file.
24386 2012-03-06  David S. Miller  <davem@davemloft.net>
24388         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24389         (set_obp_int): New function.
24390         (get_obp_int): New function.
24391         (__get_clockfreq_via_dev_openprom): Likewise.
24392         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24393         Avoid unused variable warnings on 'val' and use builtin_expect.
24394         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24395         __builtin_expect.
24396         (INLINE_CLONE_SYSCALL): Likewise.
24398 2012-03-05  David S. Miller  <davem@davemloft.net>
24400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24402 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24404         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24406         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24407         only for |x| >= 40.
24408         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24410 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24412         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24413         Replace gettimeofday with __vdso_gettimeofday.
24415         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24416         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24417         __vdso_clock_gettime and __vdso_getcpu.
24419         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24420         time with __vdso_time.
24422 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24424         * manual/lang.texi (size_t): Note types to which size_t may be
24425         equivalent with the GNU C Library, but do not describe when
24426         differences between them are significant.
24428 2012-03-05  Andreas Jaeger  <aj@suse.de>
24430         * sysdeps/i386/fpu/libm-test-ulps: Update.
24432 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24434         [BZ #3976]
24435         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24436         (__ieee754_pow): Save and restore rounding mode and use
24437         round-to-nearest for main computations.
24438         * math/libm-test.inc (pow_test_tonearest): New function.
24439         (pow_test_towardzero): Likewise.
24440         (pow_test_downward): Likewise.
24441         (pow_test_upward): Likewise.
24442         (main): Call the new functions.
24443         * sysdeps/i386/fpu/libm-test-ulps: Update.
24444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24446         [BZ #3976]
24447         * math/libm-test.inc (cosh_test_tonearest): New function.
24448         (cosh_test_towardzero): Likewise.
24449         (cosh_test_downward): Likewise.
24450         (cosh_test_upward): Likewise.
24451         (sinh_test_tonearest): Likewise.
24452         (sinh_test_towardzero): Likewise.
24453         (sinh_test_downward): Likewise.
24454         (sinh_test_upward): Likewise.
24455         (main): Call the new functions.
24456         * sysdeps/i386/fpu/libm-test-ulps: Update.
24457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24459 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24461         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24462         default stack guard is set in last bytes.
24463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24465 2012-03-05  Kees Cook  <keescook@chromium.org>
24467         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24469         [BZ #13656]
24470         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24471         possibly allocate from heap instead of stack.
24472         * stdio-common/bug-vfprintf-nargs.c: New file.
24473         * stdio-common/Makefile (tests): Add nargs overflow test.
24475 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24477         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24479 2012-03-03  Marek Polacek  <polacek@redhat.com>
24481         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24482         * math/math_private.h: Likewise.
24483         * stdlib/tst-strtod.c: Likewise.
24484         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24485         * sysdeps/x86_64/bits/atomic.h: Likewise.
24487 2012-03-02  David S. Miller  <davem@davemloft.net>
24489         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24490         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24491         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24493         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24494         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24495         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24496         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24498 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24500         [BZ #13792]
24501         * manual/examples/README: New file, says the example source files
24502         can be used under GPL>=2.
24503         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24504         line containing just "*/".
24505         * manual/examples/add.c: Add copyright header (GPL>=2).
24506         * manual/examples/argp-ex1.c: Likewise.
24507         * manual/examples/argp-ex2.c: Likewise.
24508         * manual/examples/argp-ex3.c: Likewise.
24509         * manual/examples/argp-ex4.c: Likewise.
24510         * manual/examples/atexit.c: Likewise.
24511         * manual/examples/db.c: Likewise.
24512         * manual/examples/dir.c: Likewise.
24513         * manual/examples/dir2.c: Likewise.
24514         * manual/examples/execinfo.c: Likewise.
24515         * manual/examples/filecli.c: Likewise.
24516         * manual/examples/filesrv.c: Likewise.
24517         * manual/examples/fmtmsgexpl.c: Likewise.
24518         * manual/examples/genpass.c: Likewise.
24519         * manual/examples/inetcli.c: Likewise.
24520         * manual/examples/inetsrv.c: Likewise.
24521         * manual/examples/isockad.c: Likewise.
24522         * manual/examples/longopt.c: Likewise.
24523         * manual/examples/memopen.c: Likewise.
24524         * manual/examples/memstrm.c: Likewise.
24525         * manual/examples/mkfsock.c: Likewise.
24526         * manual/examples/mkisock.c: Likewise.
24527         * manual/examples/mygetpass.c: Likewise.
24528         * manual/examples/pipe.c: Likewise.
24529         * manual/examples/popen.c: Likewise.
24530         * manual/examples/rprintf.c: Likewise.
24531         * manual/examples/search.c: Likewise.
24532         * manual/examples/select.c: Likewise.
24533         * manual/examples/setjmp.c: Likewise.
24534         * manual/examples/sigh1.c: Likewise.
24535         * manual/examples/sigusr.c: Likewise.
24536         * manual/examples/stpcpy.c: Likewise.
24537         * manual/examples/strdupa.c: Likewise.
24538         * manual/examples/strftim.c: Likewise.
24539         * manual/examples/strncat.c: Likewise.
24540         * manual/examples/subopt.c: Likewise.
24541         * manual/examples/swapcontext.c: Likewise.
24542         * manual/examples/termios.c: Likewise.
24543         * manual/examples/testopt.c: Likewise.
24544         * manual/examples/testpass.c: Likewise.
24545         * manual/examples/timeval_subtract.c: Likewise.
24547         [BZ #13792]
24548         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24549         function to ...
24550         * manual/timeval_subtract.c.texi: ... here, new file.
24552 2012-03-02  David S. Miller  <davem@davemloft.net>
24554         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24556 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24558         [BZ #3976]
24559         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24560         (__sin): Save and restore rounding mode and use round-to-nearest
24561         for all computations.
24562         (__cos): Save and restore rounding mode and use round-to-nearest
24563         for all computations.
24564         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24565         <fenv.h>.
24566         (tan): Save and restore rounding mode and use round-to-nearest for
24567         all computations.
24568         * math/libm-test.inc (cos_test_tonearest): New function.
24569         (cos_test_towardzero): Likewise.
24570         (cos_test_downward): Likewise.
24571         (cos_test_upward): Likewise.
24572         (sin_test_tonearest): Likewise.
24573         (sin_test_towardzero): Likewise.
24574         (sin_test_downward): Likewise.
24575         (sin_test_upward): Likewise.
24576         (tan_test_tonearest): Likewise.
24577         (tan_test_towardzero): Likewise.
24578         (tan_test_downward): Likewise.
24579         (tan_test_upward): Likewise.
24580         (main): Call the new functions.
24581         * sysdeps/i386/fpu/libm-test-ulps: Update.
24582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24584         [BZ #10135]
24585         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24586         small n, then large n, before computing and testing k+n.
24587         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24588         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24589         Likewise.
24590         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24591         Likewise.
24592         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24593         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24594         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24595         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24596         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24597         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24598         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24600         * math/libm-test.inc (scalbn_test): Add more tests.
24601         (scalbln_test): Likewise.
24603         * manual/filesys.texi (mode_t): Describe constraints on size and
24604         signedness, not exact equivalence to a particular type.
24605         (ino_t): Likewise.
24606         (ino64_t): Likewise.
24607         (dev_t): Likewise.
24608         (nlink_t): Likewise.
24609         (blkcnt_t): Likewise.
24610         (blkcnt64_t): Likewise.
24611         * manual/llio.texi (off_t): Likewise.
24613         [BZ #3976]
24614         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24615         (__ieee754_exp): Save and restore rounding mode and use
24616         round-to-nearest for all computations.
24617         * math/libm-test.inc (exp_test_tonearest): New function.
24618         (exp_test_towardzero): Likewise.
24619         (exp_test_downward): Likewise.
24620         (exp_test_upward): Likewise.
24621         (main): Call the new functions.
24622         * sysdeps/i386/fpu/libm-test-ulps: Update.
24623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24625 2012-03-01  Chris Demetriou  <cgd@google.com>
24627         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24628         have predictable order.
24630 2012-03-01  David S. Miller  <davem@davemloft.net>
24632         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24634         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24635         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24636         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24637         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24639         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24640         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24641         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24643         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24644         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24645         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24646         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24647         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24651         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24652         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24653         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24655         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24656         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24657         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24658         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24659         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24660         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24661         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24662         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24663         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24664         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24665         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24666         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24667         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24668         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24669         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24670         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24671         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24672         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24673         * sysdeps/sparc/elf/configure: Regenerated.
24675 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24677         * configure.in (AS, LD): Require binutils 2.20 or later.
24678         * configure: Regenerated.
24679         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24680         as required minimum version.
24681         * INSTALL: Regenerated.
24683         [BZ #2541]
24684         [BZ #4108]
24685         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24686         before squaring exponent.
24687         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24688         bottom long double and 27 bits of top long double before squaring
24689         exponent.
24690         * math/libm-test.inc (erfc_test): Add more tests.
24691         * sysdeps/i386/fpu/libm-test-ulps: Update.
24692         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24695 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24697         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24698         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24699         containing bit-fields.
24700         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24701         * soft-fp/single.h (_FP_UNION_S): Likewise.
24702         * soft-fp/double.h (_FP_UNION_D): Likewise.
24704 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24706         [BZ #13786]
24707         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24708         not include ../strcmp.S.
24709         [USE_AS_STRNCASECMP_L]: Likewise.
24710         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24711         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24712         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24713         (__strncasecmp_l_ia32): Define as alias to
24714         __strncasecmp_l_nonascii.
24716         [BZ #5794]
24717         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24718         * sysdeps/i386/fpu/libm-test-ulps: Update.
24719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24721         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24724 2012-02-29  Jeff Law  <law@redhat.com>
24726         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24727         out of bounds read.
24729 2012-02-29  Marek Polacek  <polacek@redhat.com>
24731         [BZ #13706]
24732         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24733         * elf/Makefile: Add rules to run tst-unused-dep.out.
24735 2012-02-28  David S. Miller  <davem@davemloft.net>
24737         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24738         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24739         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24740         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24741         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24742         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24744 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24746         * math/libm-test.inc (llround_test): Move one test from
24747         lround_test.  Use TEST_f_L in moved test.
24748         (lround_test): Move misplaced test to llround_test.  Add testcase
24749         from bug 2561.
24751 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24753         * sysdeps/x86_64/fpu/e_expf.S: New file.
24754         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24756 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24758         [BZ #13637]
24759         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24760         of remain_len that may cause incomplete multi-byte character and
24761         false match.
24762         * posix/bug-regex33.c: New file.
24763         * posix/Makefile (tests): Add bug-regex33.
24765 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24767         * manual/macros.texi: New file.
24768         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24769         * manual/libc.texinfo: Include macros.texi.
24770         * manual/creatute.texi: Likewise.
24771         * manual/install.texi: Likewise.
24772         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24773         @glibcadj{} in references to the GNU C Library.
24774         * manual/charset.texi: Likewise.
24775         * manual/conf.texi: Likewise.
24776         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24777         when not using those macros.
24778         * manual/creature.texi: Likewise.
24779         * manual/crypt.texi: Likewise.
24780         * manual/errno.texi: Likewise.
24781         * manual/filesys.texi: Likewise.
24782         * manual/header.texi: Likewise.
24783         * manual/install.texi: Likewise.
24784         * manual/intro.texi: Likewise.
24785         * manual/io.texi: Likewise.
24786         * manual/job.texi: Likewise.
24787         * manual/lang.texi: Likewise.
24788         * manual/libc.texiinfo: Likewise.
24789         * manual/llio.texi: Likewise.
24790         * manual/locale.texi: Likewise.
24791         * manual/maint.texi: Likewise.
24792         * manual/math.texi: Likewise.
24793         * manual/memory.texi: Likewise.
24794         * manual/message.texi: Likewise.
24795         * manual/nss.texi: Likewise.
24796         * manual/pattern.texi: Likewise.
24797         * manual/process.texi: Likewise.
24798         * manual/resource.texi: Likewise.
24799         * manual/search.texi: Likewise.
24800         * manual/setjmp.texi: Likewise.
24801         * manual/signal.texi: Likewise.
24802         * manual/socket.texi: Likewise.
24803         * manual/startup.texi: Likewise.
24804         * manual/stdio.texi: Likewise.
24805         * manual/string.texi: Likewise.
24806         * manual/sysinfo.texi: Likewise.
24807         * manual/syslog.texi: Likewise.
24808         * manual/terminal.texi: Likewise.
24809         * manual/time.texi: Likewise.
24810         * manual/users.texi: Likewise.
24811         * INSTALL: Regenerated.
24812         * NOTES: Regenerated.
24813         * sysdeps/gnu/errlist.c: Regenerated.
24815 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24817         * include/dirent.h: Include <dirstream.h> before
24818         <dirent/dirent.h>.
24820 2012-02-28  David S. Miller  <davem@davemloft.net>
24822         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24823         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24824         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24825         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24827 2012-02-27  David S. Miller  <davem@davemloft.net>
24829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24831         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24832         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24835         frame pointer instead of stack pointer relative arg slot.
24836         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24837         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24838         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24840 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24842         [BZ #3992]
24843         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24845 2012-02-27  David S. Miller  <davem@davemloft.net>
24847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24851         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24852         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24853         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
24854         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
24856 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24858         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
24859         later.  Allow versions 5-9.
24860         * configure: Regenerated.
24861         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
24862         required minimum version and 4.6 as recommended version.  Do not
24863         mention bugs in GCC 2.7 and 2.8.
24864         * INSTALL: Regenerated.
24866 2012-02-27  David S. Miller  <davem@davemloft.net>
24868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
24869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
24870         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
24871         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
24872         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
24873         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
24874         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
24875         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
24877         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
24878         manipulate bits before adding and subtracting TWO112[sx].
24879         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24881 2012-02-27  Roland McGrath  <roland@hack.frob.com>
24883         [BZ #13775]
24884         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
24885         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
24886         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
24887         being in POSIX, because they are in 1003.1-2008.
24889         * rt/tst-aio.c: Include <fcntl.h>.
24890         * rt/tst-aio7.c: Likewise.
24891         * rt/tst-aio64.c: Likewise.
24893         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
24895 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
24897         * manual/install.texi (--with-headers): Describe headers as
24898         interface headers, not private headers.
24899         (Specific advice for GNU/Linux systems): Describe use of headers
24900         from "make headers_install", not private headers from older
24901         kernels.
24902         * INSTALL: Regenerated.
24903         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
24904         Change to 2.6.19.
24905         * sysdeps/unix/sysv/linux/configure: Regenerated.
24907         * manual/llio.texi (fclean): Remove documentation.
24909         * manual/Makefile (libc-texi-generated): New variable.  Include
24910         version.texi.
24911         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
24912         $(libc-texi-generated), not duplicated list of files.
24913         (version.texi, stamp-version): New rules.
24914         (realclean): Remove $(libc-texi-generated), not individual files
24915         from that list.  Do not remove dir-add.texinfo.
24916         * manual/libc.texinfo: Comment out uses of edition numbers and
24917         references to printed manual.  Remove last-updated dates.
24918         (EDITION): Comment out.
24919         (ISBN): Likewise.
24920         (VERSION, UPDATED): Remove.
24921         (version.texi): Include.
24923 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
24925         * sysdeps/posix/spawni.c: Include <signal.h>.
24926         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
24927         * sysdeps/pthread/aio_fsync.c: Likewise.
24929 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
24931         * conform/Makefile (tests): Run only when not cross-compiling and
24932         when fast-check is not defined.
24934         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
24935         * conform/data/limits.h-data: Fixes for POSIX2008.
24936         * conform/run-conformtest.sh: Run all tests.
24937         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
24938         headers.
24939         * include/bits/dlfcn.h: Likewise.
24940         * include/langinfo.h: Likewise.
24941         * include/monetary.h: Likewise.
24942         * include/sys/poll.h: Likewise.
24944         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
24945         for __USE_GNU.
24946         * posix/spawn.h: Define __need_sigset_t.
24947         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
24948         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
24949         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
24950         to get sigevent_t only.
24951         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
24952         only for __USE_GNU.
24953         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24954         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
24955         process_vm_writev only for __USE_GNU.
24956         * termios/termios.h: Declare tcgetsid also for POSIX2008.
24958         * conform/Makefile: For now ignore errors from run-conformtest.
24959         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
24960         POSIX to avoid namespace pollution.  Don't prepend headers.
24961         * conform/data/aio.h-data: Fixes for POSIX testing.
24962         * conform/data/fcntl.h-data: Likewise.
24963         * conform/data/glob.h-data: Likewise.
24964         * conform/data/grp.h-data: Likewise.
24965         * conform/data/pthread.h-data: Likewise.
24966         * conform/data/pwd.h-data: Likewise.
24967         * conform/data/signal.h-data: Likewise.
24968         * conform/data/spawn.h-data: Likewise.
24969         * conform/data/stdio.h-data: Likewise.
24970         * conform/data/stdlib.h-data: Likewise.
24971         * conform/data/stropts.h-data: Likewise.
24972         * conform/data/sys/mman.h-data: Likewise.
24973         * conform/data/sys/stat.h-data: Likewise.
24974         * conform/data/sys/types.h-data: Likewise.
24975         * conform/data/sys/wait.h-data: Likewise.
24976         * conform/data/time.h-data: Likewise.
24977         * conform/data/unistd.h-data: Likewise.
24978         * conform/data/utime.h-data: Likewise.
24980         * io/sys/stat.h: fchmod was always in POSIX.
24981         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
24982         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
24983         * rt/aio.h: Define __need_timespec before including <time.h>.
24984         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
24985         struct.  Add forward declaration of pthread_attr_t and use it in
24986         sigevent.
24987         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24988         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24989         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
24990         always remove CLK_TCK definition.
24992 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
24994         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
24996 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
24998         * conform/run-conformtest.sh: New file.
24999         * conform/Makefile: Run run-conformtest for tests.
25000         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25001         support.
25003         * conform/data/uchar.h-data: New file.
25004         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25005         * conform/data/arpa/inet.h-data: Likewise.
25006         * conform/data/assert.h-data: Likewise.
25007         * conform/data/complex.h-data: Likewise.
25008         * conform/data/cpio.h-data: Likewise.
25009         * conform/data/ctype.h-data: Likewise.
25010         * conform/data/dirent.h-data: Likewise.
25011         * conform/data/dlfcn.h-data: Likewise.
25012         * conform/data/errno.h-data: Likewise.
25013         * conform/data/fcntl.h-data: Likewise.
25014         * conform/data/float.h-data: Likewise.
25015         * conform/data/fmtmsg.h-data: Likewise.
25016         * conform/data/fnmatch.h-data: Likewise.
25017         * conform/data/ftw.h-data: Likewise.
25018         * conform/data/glob.h-data: Likewise.
25019         * conform/data/grp.h-data: Likewise.
25020         * conform/data/iconv.h-data: Likewise.
25021         * conform/data/inttypes.h-data: Likewise.
25022         * conform/data/langinfo.h-data: Likewise.
25023         * conform/data/libgen.h-data: Likewise.
25024         * conform/data/limits.h-data: Likewise.
25025         * conform/data/locale.h-data: Likewise.
25026         * conform/data/math.h-data: Likewise.
25027         * conform/data/monetary.h-data: Likewise.
25028         * conform/data/mqueue.h-data: Likewise.
25029         * conform/data/ndbm.h-data: Likewise.
25030         * conform/data/net/if.h-data: Likewise.
25031         * conform/data/netdb.h-data: Likewise.
25032         * conform/data/netinet/in.h-data: Likewise.
25033         * conform/data/nl_types.h-data: Likewise.
25034         * conform/data/poll.h-data: Likewise.
25035         * conform/data/pthread.h-data: Likewise.
25036         * conform/data/pwd.h-data: Likewise.
25037         * conform/data/regex.h-data: Likewise.
25038         * conform/data/sched.h-data: Likewise.
25039         * conform/data/search.h-data: Likewise.
25040         * conform/data/semaphore.h-data: Likewise.
25041         * conform/data/setjmp.h-data: Likewise.
25042         * conform/data/signal.h-data: Likewise.
25043         * conform/data/spawn.h-data: Likewise.
25044         * conform/data/stdarg.h-data: Likewise.
25045         * conform/data/stdio.h-data: Likewise.
25046         * conform/data/stdlib.h-data: Likewise.
25047         * conform/data/string.h-data: Likewise.
25048         * conform/data/strings.h-data: Likewise.
25049         * conform/data/stropts.h-data: Likewise.
25050         * conform/data/sys/ipc.h-data: Likewise.
25051         * conform/data/sys/mman.h-data: Likewise.
25052         * conform/data/sys/msg.h-data: Likewise.
25053         * conform/data/sys/resource.h-data: Likewise.
25054         * conform/data/sys/select.h-data: Likewise.
25055         * conform/data/sys/sem.h-data: Likewise.
25056         * conform/data/sys/shm.h-data: Likewise.
25057         * conform/data/sys/socket.h-data: Likewise.
25058         * conform/data/sys/stat.h-data: Likewise.
25059         * conform/data/sys/statvfs.h-data: Likewise.
25060         * conform/data/sys/time.h-data: Likewise.
25061         * conform/data/sys/timeb.h-data: Likewise.
25062         * conform/data/sys/times.h-data: Likewise.
25063         * conform/data/sys/types.h-data: Likewise.
25064         * conform/data/sys/uio.h-data: Likewise.
25065         * conform/data/sys/un.h-data: Likewise.
25066         * conform/data/sys/utsname.h-data: Likewise.
25067         * conform/data/sys/wait.h-data: Likewise.
25068         * conform/data/syslog.h-data: Likewise.
25069         * conform/data/tar.h-data: Likewise.
25070         * conform/data/termios.h-data: Likewise.
25071         * conform/data/utime.h-data: Likewise.
25072         * conform/data/utmpx.h-data: Likewise.
25073         * conform/data/varargs.h-data: Likewise.
25074         * conform/data/wchar.h-data: Likewise.
25075         * conform/data/wctype.h-data: Likewise.
25076         * conform/data/wordexp.h-data: Likewise.
25078         * include/stropts.h: New file.
25079         * include/uchar.h: New file.
25080         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25081         * include/assert.h: Likewise.
25082         * include/ctype.h: Likewise.
25083         * include/dirent.h: Likewise.
25084         * include/dlfcn.h: Likewise.
25085         * include/fcntl.h: Likewise.
25086         * include/fnmatch.h: Likewise.
25087         * include/glob.h: Likewise.
25088         * include/grp.h: Likewise.
25089         * include/libio.h: Likewise.
25090         * include/locale.h: Likewise.
25091         * include/math.h: Likewise.
25092         * include/net/if.h: Likewise.
25093         * include/netdb.h: Likewise.
25094         * include/netinet/in.h: Likewise.
25095         * include/pthread.h: Likewise.
25096         * include/pwd.h: Likewise.
25097         * include/regex.h: Likewise.
25098         * include/sched.h: Likewise.
25099         * include/search.h: Likewise.
25100         * include/setjmp.h: Likewise.
25101         * include/signal.h: Likewise.
25102         * include/stdio.h: Likewise.
25103         * include/stdlib.h: Likewise.
25104         * include/string.h: Likewise.
25105         * include/sys/cdefs.h: Likewise.
25106         * include/sys/mman.h: Likewise.
25107         * include/sys/msg.h: Likewise.
25108         * include/sys/resource.h: Likewise.
25109         * include/sys/select.h: Likewise.
25110         * include/sys/socket.h: Likewise.
25111         * include/sys/stat.h: Likewise.
25112         * include/sys/statvfs.h: Likewise.
25113         * include/sys/time.h: Likewise.
25114         * include/sys/times.h: Likewise.
25115         * include/sys/uio.h: Likewise.
25116         * include/sys/utsname.h: Likewise.
25117         * include/sys/wait.h: Likewise.
25118         * include/termios.h: Likewise.
25119         * include/time.h: Likewise.
25120         * include/ulimit.h: Likewise.
25121         * include/unistd.h: Likewise.
25122         * include/utime.h: Likewise.
25123         * include/wchar.h: Likewise.
25124         * include/wctype.h: Likewise.
25125         * include/wordexp.h: Likewise.
25127         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25129         * time/time.h: TIME_UTC must be a macro.
25130         Make timespec_get available for ISO C11 only as well.
25132 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25134         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25135         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25137 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25139         * configure.in: Use -o not -a in test for unsupported multi-arch.
25141 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25143         * manual/texinfo.tex: Update to version 2012-01-19.16.
25145 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25147         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25149 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25151         [BZ #13738]
25152         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25153         * manual/fdl-1.3.texi: New file.
25154         * manual/fdl-1.1.texi: File removed.
25156         [BZ #13738]
25157         * manual/libc.texinfo (FDL_VERSION): New @set.
25158         Use it for mention of FDL in cover text.
25159         (Documentation License): Use it in @include file name.
25161 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25162             Roland McGrath  <roland@hack.frob.com>
25164         [BZ #5461]
25165         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25166         not LONG_LONG_MAX and LONG_LONG_MIN.
25167         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25168         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25169         name.
25170         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25172 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25174         [BZ #2547]
25175         [BZ #11365]
25176         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25177         manipulate bits before adding and subtracting TWO23[sx].
25178         * math/libm-test.inc (nearbyint_test): Add more tests.
25180 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25182         [BZ #2548]
25183         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25184         bits before adding and subtracting TWO23[sx].
25185         * math/libm-test.inc (rint_test): Add more tests.
25186         (rint_test_tonearest): Likewise.
25187         (rint_test_towardzero): Likewise.
25188         (rint_test_downward): Likewise.
25189         (rint_test_upward: Likewise.
25191 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25193         [BZ #10110]
25194         * include/stdc-predef.h: New file.  Extracted from features.h.
25195         * include/features.h: Include stdc-predef.h.
25196         * Makefile (headers): Add stdc-predef.h.
25197         * CONFORMANCE (Compiler limitations): Update.
25199 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25201         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25203 2012-02-21  David S. Miller  <davem@davemloft.net>
25205         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25206         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25208 2012-02-20  David S. Miller  <davem@davemloft.net>
25210         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25211         using a normal save/restore sequence, rather than allocating a
25212         dummy stack frame just to store a frame pointer and restore.
25213         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25215 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25217         * manual/install.texi: Fix stray word in line-wrapped comment.
25219 2012-02-20  David S. Miller  <davem@davemloft.net>
25221         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25222         both binutils and gcc support GOTDATA.
25224         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25225         "rd %pc" in the PIC register setup sequences.
25227         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25228         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25229         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25230         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25231         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25232         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25233         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25234         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25235         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25236         (SYSCALL_ERROR_HANDLER): Likewise.
25237         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25238         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25240         (SYSCALL_ERROR_HANDLER): Likewise.
25242         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25243         (HAVE_GCC_GOTDATA): New.
25244         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25245         relocation support in both binutils and gcc.
25246         * sysdeps/sparc/elf/configure: Regenerate.
25248         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25249         * sysdeps/sparc/sparc32/elf/configure: Delete.
25250         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25251         * sysdeps/sparc/sparc64/elf/configure: Delete.
25252         * sysdeps/sparc/elf/configure.in: New file.
25253         * sysdeps/sparc/elf/configure: Generate.
25255         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25256         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25257         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25258         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25259         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25261 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25263         * manual/install.texi: Do not mention specific glibc version
25264         numbers.
25265         * manual/libc.texinfo (VERSION, UPDATED): Update.
25266         (@copying): Use @copyright{} and range of years.
25268 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25270         [BZ #13695]
25271         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25272         [crti.S not in sysdirs] (generated): Do not append.
25273         [crti.S not in sysdirs] (omit-deps): Likewise.
25274         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25275         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25276         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25277         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25278         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25279         Likewise.
25280         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25281         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25282         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25283         * csu/defs.awk: Remove file.
25284         * sysdeps/generic/initfini.c: Likewise.
25285         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25286         variable.
25287         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25288         Likewise.
25290 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25292         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25293         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25294         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25295         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25296         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25297         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25298         <bits/epoll.h>.
25299         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25300         (__EPOLL_PACKED): Define to empty if not defined by
25301         <bits/epoll.h>.
25302         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25304         bits/epoll.h.
25306 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25308         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25309         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25310         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25311         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25312         <bits/timerfd.h>.
25313         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25314         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25315         bits/timerfd.h.
25317 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25319         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25320         in C locale.
25321         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25322         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25323         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25326 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25328         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25329         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25331 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25333         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25334         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25335         defined.
25336         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25337         Likewise.
25338         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25339         entry for 2.16.
25341 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25343         * math/w_acos.c: Use non-signaling floating-point comparisons.
25344         * math/w_acosf.c: Likewise.
25345         * math/w_acosh.c: Likewise.
25346         * math/w_acoshf.c: Likewise.
25347         * math/w_acoshl.c: Likewise.
25348         * math/w_acosl.c: Likewise.
25349         * math/w_asin.c: Likewise.
25350         * math/w_asinf.c: Likewise.
25351         * math/w_asinl.c: Likewise.
25352         * math/w_atanh.c: Likewise.
25353         * math/w_atanhf.c: Likewise.
25354         * math/w_atanhl.c: Likewise.
25355         * math/w_exp2.c: Likewise.
25356         * math/w_exp2f.c: Likewise.
25357         * math/w_exp2l.c: Likewise.
25358         * math/w_j0.c: Likewise.
25359         * math/w_j0f.c: Likewise.
25360         * math/w_j0l.c: Likewise.
25361         * math/w_j1.c: Likewise.
25362         * math/w_j1f.c: Likewise.
25363         * math/w_j1l.c: Likewise.
25364         * math/w_jn.c: Likewise.
25365         * math/w_jnf.c: Likewise.
25366         * math/w_log.c: Likewise.
25367         * math/w_log10.c: Likewise.
25368         * math/w_log10f.c: Likewise.
25369         * math/w_log10l.c: Likewise.
25370         * math/w_log2.c: Likewise.
25371         * math/w_log2f.c: Likewise.
25372         * math/w_log2l.c: Likewise.
25373         * math/w_logf.c: Likewise.
25374         * math/w_logl.c: Likewise.
25375         * math/w_sqrt.c: Likewise.
25376         * math/w_sqrtf.c: Likewise.
25377         * math/w_sqrtl.c: Likewise.
25378         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25379         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25380         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25381         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25382         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25384 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25386         [BZ #9739]
25387         * manual/string.texi (strnlen): Use correct parameter name in
25388         equivalent expression.
25390 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25392         [BZ #11174]
25393         * manual/users.texi (seteuid): Consistently use neweuid for
25394         argument name.
25396 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25398         [BZ #13704]
25399         * manual/nss.texi (Services in the NSS configuration): Correct
25400         list of services in example configuration file.
25402 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25404         [BZ #11322]
25405         * manual/arith.texi: Remove statements about negative zero
25406         behaving identically to zero.
25408 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25410         [BZ #5993]
25411         * manual/install.texi: Do not document upgrading from libc5.
25413 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25415         [BZ #4596]
25416         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25418 2012-02-18  David S. Miller  <davem@davemloft.net>
25420         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25421         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25422         %o7 across the call.
25423         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25424         instead.
25425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25426         SETUP_PIC_REG_LEAF.
25427         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25428         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25429         * sysdeps/sparc/crtn.S: Likewise.
25431 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25433         * aout/Makefile: Remove.
25435 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25437         [BZ #13058]
25438         * manual/examples/argp-ex1.c (main): Format definition in GNU
25439         style.
25440         * manual/examples/argp-ex2.c (main): Likewise.
25441         * manual/examples/argp-ex3.c (main): Likewise.
25442         * manual/examples/argp-ex4.c (main): Likewise.
25443         * manual/examples/longopt.c (main): Use new-style prototype
25444         definition.
25445         * manual/examples/strncat.c (main): Specify return type and use
25446         (void) for arguments.
25447         * manual/examples/subopt.c (main): Use char **argv argument.
25449 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25451         [BZ #5077]
25452         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25453         rounding modes.
25455 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25457         [BZ #6907]
25458         * manual/string.texi (strchr): Change when strchrnul is
25459         recommended.
25461 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25463         [BZ #174]
25464         * manual/locale.texi (setlocale): Document LOCPATH.
25466 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25468         [BZ #10210]
25469         * manual/process.texi (execle): Move @dots{} before last argument.
25471 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25473         [BZ #12047]
25474         * manual/charset.texi (Generic Charset Conversion): Fix typo
25475         (LC_TYPE -> LC_CTYPE).
25477 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25479         [BZ #5805]
25480         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25481         (scalbnf): Likewise.
25482         (scalbnl): Likewise.
25483         (scalbln): Likewise.
25484         (scalblnf): Likewise.
25485         (scalblnl): Likewise.
25486         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25487         (vwarnx): Likewise.
25488         (verr): Likewise.
25489         (verrx): Likewise.
25490         * manual/filesys.texi (telldir): Use braces around return type.
25491         * manual/llio.texi (mmap): Add space after comma.
25492         (mmap64): Likewise.
25493         * manual/math.texi (jn): Use @var{} on parameter names.
25494         (jnf): Likewise.
25495         (jnl): Likewise.
25496         (yn): Likewise.
25497         (ynf): Likewise.
25498         (ynl): Likewise.
25499         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25500         line.
25501         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25502         "...".
25503         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25504         (sched_get_priority_max): Likewise.
25505         * manual/signal.texi (sigvec): Add space after comma.
25506         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25507         names.
25508         (if_indextoname): Likewise.
25509         (if_freenameindex): Likewise.
25510         (sendto): Use ',' instead of '.' in prototype.
25511         * manual/startup.texi (syscall): Use @dots{} instead of literal
25512         "...".
25513         * manual/stdio.texi (__fpending): Separate initial words of
25514         paragraph from @deftypefun line.
25515         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25516         "...".
25517         (vsyslog): Use @var{} on parameter names.
25518         * manual/terminal.texi (stty): Use @var{} on parameter names.
25519         * manual/users.texi (getutmp): Use @var{} on parameter names.
25520         (getutmpx): Likewise.
25522 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25524         [BZ #6884]
25525         * manual/stdio.texi (fopen): Fix typos in description of
25526         ",ccs=STRING".
25528 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25530         [BZ #4026]
25531         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25532         get clock_id definition.
25534 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25536         [BZ #4822]
25537         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25538         (madvise): Cast every argument to void on its own.
25540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25542         [BZ #9902]
25543         * manual/startup.texi (Exit Status): Fix typo.
25545 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25547         [BZ #10140]
25548         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25549         * manual/examples/argp-ex2.c: Likewise.
25550         * manual/examples/argp-ex3.c: Likewise.
25552 2012-02-16  Richard Henderson  <rth@redhat.com>
25554         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25555         * sysdeps/s390/s390-32/initfini.c: Remove.
25556         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25557         * sysdeps/s390/s390-64/initfini.c: Remove.
25559 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25561         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25562         compiler output for sysdeps/generic/initfini.c.
25563         * sysdeps/sh/elf/initfini.c: Remove file.
25565 2012-02-16  David S. Miller  <davem@davemloft.net>
25567         [BZ #11494]
25568         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25570         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25571         * sysdeps/sparc/crti.S: New file.
25572         * sysdeps/sparc/crtn.S: New file.
25573         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25574         * sysdeps/sparc/sparc64/Makefile: Likewise.
25576 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25578         [BZ #3335]
25579         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25581 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25583         [BZ #4822]
25584         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25586         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25587         (write, read, close): Likewise.
25588         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25590 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25592         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25593         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25594         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25595         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25596         <bits/signalfd.h>.
25597         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25598         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25599         bits/signalfd.h.
25601 2012-02-14  Marek Polacek  <polacek@redhat.com>
25603         * sysdeps/x86_64/crti.S: New file.
25604         * sysdeps/x86_64/crtn.S: New file.
25605         * sysdeps/x86_64/elf/initfini.c: Remove file.
25607 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25609         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25610         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25611         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25612         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25613         <bits/inotify.h>.
25614         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25615         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25616         bits/inotify.h.
25618 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25620         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25621         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25622         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25623         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25624         <bits/eventfd.h>.
25625         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25626         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25627         bits/eventfd.h.
25629 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25631         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25632         __feraiseexcept instead of feraiseexcept.
25634         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25635         nanosleep invocations.
25636         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25637         strings, and add error checking for a nanosleep invocations.
25639 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25641         Replace FSF snail mail address with URLs, as per GNU coding standards.
25642         Most of the snail mail addresses were wrong anyway, and omitting
25643         them makes the source code easier to maintain.  Almost all of the
25644         changes are to license notices and to locale LC_IDENTIFICATION
25645         addresses, except for this one:
25646         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25647         not its snail mail address.
25649 2012-02-09  Richard Henderson  <rth@twiddle.net>
25651         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25652         of kernel-features.h.
25654         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25656 2012-02-08  Marek Polacek  <polacek@redhat.com>
25658         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25659         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25660         * sysdeps/gnu/_G_config.h: Likewise.
25661         * sysdeps/generic/_G_config.h: Likewise.
25663 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25665         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25666         tests.
25667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25669         * sysdeps/powerpc/powerpc32/crti.S: New file.
25670         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25671         * sysdeps/powerpc/powerpc64/crti.S: New file.
25672         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25674         * Makeconfig (have-initfini): Don't set.
25675         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25676         * configure.in (nopic_initfini): Don't substitute.
25677         * config.h.in (HAVE_INITFINI): Don't #undef.
25678         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25679         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25681 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25683         Support crti.S and crtn.S provided directly by architectures.
25684         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25685         [crti.S in sysdirs] (omit-deps): Likewise.
25686         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25687         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25688         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25689         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25690         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25691         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25692         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25693         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25694         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25695         compiler output for sysdeps/generic/initfini.c.
25696         * sysdeps/i386/elf/Makefile: Remove file.
25697         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25699 2012-02-07  Marek Polacek  <polacek@redhat.com>
25701         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25702         * sysdeps/gnu/_G_config.h: Likewise.
25703         * sysdeps/mach/hurd/_G_config.h: Likewise.
25705 2012-02-07  Marek Polacek  <polacek@redhat.com>
25707         * math/Makefile (tests): Add tst-CMPLX2.
25708         * math/tst-CMPLX2.c: New file.
25710 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25712         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25714         * math/libm-test.inc (jn_test): Add missing L suffix.
25716 2012-02-06  Marek Polacek  <polacek@redhat.com>
25718         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25719         * sysdeps/i386/fpu/e_powf.S: Likewise.
25720         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25721         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25722         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25723         * sysdeps/i386/fpu/e_pow.S: Likewise.
25724         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25725         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25726         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25727         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25728         * sysdeps/i386/fpu/e_log2.S: Likewise.
25729         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25730         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25731         * sysdeps/i386/fpu/e_powl.S: Likewise.
25732         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25733         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25734         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25735         * sysdeps/i386/fpu/e_logl.S: Likewise.
25736         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25737         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25738         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25739         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25740         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25741         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25742         * sysdeps/i386/fpu/e_log.S: Likewise.
25743         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25744         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25745         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25746         * sysdeps/i386/fpu/e_logf.S: Likewise.
25747         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25748         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25749         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25750         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25751         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25752         * sysdeps/i386/fpu/e_log10.S: Likewise.
25753         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25754         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25755         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25756         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25757         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25758         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25759         * sysdeps/i386/asm-syntax.h: Likewise.
25760         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25761         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25762         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25763         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25764         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25765         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25766         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25767         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25768         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25769         * sysdeps/powerpc/sysdep.h: Likewise.
25770         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25771         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25773 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25775         [BZ #411]
25776         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25778 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25780         * sysdeps/i386/sysdep.h: Include <features.h>.
25781         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25782         version.
25784 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25786         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25787         Define.
25788         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25789         LOAD_PIC_REG_STR.
25791 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25793         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25794         (SETUP_PIC_REG): Use GET_PC_THUNK.
25795         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25796         macro.
25798 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25800         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25801         for non-PIC compilation.
25802         (SETUP_PIC_REG): Add .p2align directive.
25803         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25804         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25805         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25806         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25807         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25808         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25809         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25810         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25811         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25812         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25813         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25814         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25815         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25816         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25817         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25818         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25819         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25820         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25821         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25822         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25824         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25825         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25826         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25827         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25829         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25830         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25831         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25832         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25833         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25834         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25835         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25836         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25837         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25838         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25839         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25840         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25841         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25842         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25843         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25845 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25847         * math/tst-CMPLX.c: Include <stdio.h>.
25849 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25851         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25852         float.
25853         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
25854         * sysdeps/sparc/bits/mathdef.h: Likewise.
25856 2012-01-31  Marek Polacek  <polacek@redhat.com>
25858         * libio/libio.h: Don't define _PARAMS.
25859         * locale/programs/config.h: Don't define PARAMS.
25860         * stdlib/strtol_l.c: Likewise.
25861         (__strtol_l): Remove PARAMS from the prototype.
25863 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
25865         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
25866         names.  Just use the correct names.  Remove unnecessary wrapper
25867         functions.
25868         * malloc/arena.c: Likewise.
25869         * malloc/hooks.c: Likewise.
25871         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
25872         ARENA_TEST says not to.  Simplify test for creation of a new arena.
25873         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
25875 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
25877         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
25878         into tail calls.
25879         (update_get_addr): New function.
25880         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
25881         GET_ADDR_MODULE parameter.
25883 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25885         * crypt/cert.c: Remove __STDC__ conditionals.
25886         * crypt/crypt-entry.c: Likewise.
25887         * crypt/crypt_util.c: Likewise.
25888         * libio/filedoalloc.c: Likewise.
25889         * libio/fileops.c: Likewise.
25890         * libio/genops.c: Likewise.
25891         * libio/iofclose.c: Likewise.
25892         * libio/iofdopen.c: Likewise.
25893         * libio/iofopen.c: Likewise.
25894         * libio/iofopen64.c: Likewise.
25895         * libio/iogetdelim.c: Likewise.
25896         * libio/iopopen.c: Likewise.
25897         * libio/obprintf.c: Likewise.
25898         * libio/oldfileops.c: Likewise.
25899         * libio/oldiofclose.c: Likewise.
25900         * libio/oldiofdopen.c: Likewise.
25901         * libio/oldiofopen.c: Likewise.
25902         * libio/oldiopopen.c: Likewise.
25903         * libio/wfiledoalloc.c: Likewise.
25904         * libio/wgenops.c: Likewise.
25905         * locale/programs/xmalloc.c: Likewise.
25906         * misc/syslog.c: Likewise.
25907         * stdio-common/xbug.c: Likewise.
25908         * string/memchr.c: Likewise.
25909         * string/memcmp.c: Likewise.
25910         * string/memrchr.c: Likewise.
25911         * string/rawmemchr.c: Likewise.
25912         * sysdeps/posix/getcwd.c: Likewise.
25913         * time/strftime_l.c: Likewise.
25915 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
25917         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
25918         * config.make.in (config-cflags-sse2avx): Define.
25919         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
25920         Fix typo.
25922 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
25924         * scripts/config.guess: Update from upstream config git repository.
25925         * scripts/config.sub: Likewise.
25927 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
25929         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
25930         (EM_NUM): Update.
25931         (R_TILEPRO_*, R_TILEGX_*): New macros.
25933         * scripts/firstversions.awk: Fix bug in version range handling.
25935         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
25937         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
25939         * include/sys/epoll.h: New file.
25940         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
25941         libc_hidden_def.
25943 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
25945         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
25946         Avoid unnecessary __WORDSIZE == 64 test.
25947         (fmaxf): Use VEX format if possible.
25948         (fmax): Likewise.
25949         (fminf): Likewise.
25950         (fmin): Likewise.
25952         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
25953         * math/math_private.h: Remove libc_fegetround* and
25954         libc_fesetround*.
25955         * sysdeps/i386/configure.in: Check for -msse2avx.
25956         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
25957         also if SSE2AVX is defined.
25958         Remove libc_fegetround* and libc_fesetround*.
25959         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
25960         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
25961         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
25962         of HAS_YMM_USABLE.
25963         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25964         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25965         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25966         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25967         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25969         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
25971 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25973         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
25974         size is not set.
25975         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
25977 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
25979         [BZ #13618]
25980         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
25981         relocation.
25982         * Makeconfig (libm): Define.
25983         * elf/Makefile: Add rules to build and run tst-relsort1.
25984         * elf/tst-relsort1.c: New file.
25985         * elf/tst-relsort1mod1.c: New file.
25986         * elf/tst-relsort1mod2.c: New file.
25988 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
25990         * math/s_ldexp.c: Remove __STDC__ conditionals.
25991         * math/s_ldexpf.c: Likewise.
25992         * math/s_ldexpl.c: Likewise.
25993         * math/s_nextafter.c: Likewise.
25994         * math/s_nexttowardf.c: Likewise.
25995         * math/s_significand.c: Likewise.
25996         * math/s_significandf.c: Likewise.
25997         * math/s_significandl.c: Likewise.
25998         * math/w_jnl.c: Likewise.
25999         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26000         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26001         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26002         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26003         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26004         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26005         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26006         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26007         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26008         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26009         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26010         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26011         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26012         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26013         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26014         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26015         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26016         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26017         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26018         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26019         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26020         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26021         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26022         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26023         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26024         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26025         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26026         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26027         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26028         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26029         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26030         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26031         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26032         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26033         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26034         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26035         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26036         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26037         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26038         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26039         * sysdeps/ieee754/k_standard.c: Likewise.
26040         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26041         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26042         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26043         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26044         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26045         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26046         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26047         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26048         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26049         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26050         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26051         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26052         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26053         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26054         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26055         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26056         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26057         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26058         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26059         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26060         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26061         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26062         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26063         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26064         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26065         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26066         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26067         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26068         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26069         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26070         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26071         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26072         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26073         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26074         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26075         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26076         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26077         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26078         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26079         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26080         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26082         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26083         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26084         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26085         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26086         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26089         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26090         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26091         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26092         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26093         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26094         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26095         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26096         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26097         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26098         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26099         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26100         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26101         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26102         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26103         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26104         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26105         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26106         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26107         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26108         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26109         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26110         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26111         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26112         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26113         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26114         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26115         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26116         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26117         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26118         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26119         * sysdeps/ieee754/s_matherr.c: Likewise.
26120         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26121         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26122         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26123         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26125 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26127         * crypt/md5.h: Remove __STDC__ conditionals.
26128         * libio/libioP.h: Likewise.
26129         * locale/programs/config.h: Likewise.
26130         * sysdeps/generic/sysdep.h: Likewise.
26131         * sysdeps/i386/asm-syntax.h: Likewise.
26132         * sysdeps/s390/asm-syntax.h: Likewise.
26133         * sysdeps/unix/sysdep.h: Likewise.
26134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26137 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26139         * libio/libio.h: Remove __STDC__ conditionals.
26140         * malloc/obstack.h: Likewise.
26141         * math/complex.h: Likewise.
26142         * math/math.h: Likewise.
26143         * sysdeps/generic/_G_config.h: Likewise.
26144         * sysdeps/gnu/_G_config.h: Likewise.
26145         * sysdeps/mach/hurd/_G_config.h: Likewise.
26146         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26147         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26148         * sysdeps/sparc/bits/mathdef.h: Likewise.
26150 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26152         [BZ #13583]
26153         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26154         Clean up HAS_* macros.
26155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26156         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26157         possible.
26158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26159         HAS_AVX.
26160         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26161         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26162         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26163         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26164         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26166 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26168         * elf/tst-unique3.cc (gets): Remove declaration.
26169         * elf/tst-unique3lib.cc (gets): Likewise.
26170         * elf/tst-unique3lib2.cc (gets): Likewise.
26171         * elf/tst-unique4.cc (gets): Likewise.
26173 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26175         * include/stdio.h: Add C++ protection.  Add gets declarations and
26176         definitions.
26177         * debug/tst-chk1.c: Don't declare gets here.
26178         * stdio-common/tst-gets.c: Likewise.
26180 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26182         * posix/glob: Remove directory.
26184 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26186         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26188 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26190         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26191         of the non-standard EPFNOSUPPORT.
26193 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26195         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26196         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26197         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26199 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26201         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26203 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26205         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26206         transient errors.
26207         * nscd/grpcache.c (cache_addgr): Likewise.
26208         * nscd/hstcache.c (cache_addhst): Likewise.
26209         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26210         * nscd/pwdcache.c (cache_addpw): Likewise.
26211         * nscd/servicescache.c (cache_addserv): Likewise.
26213 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26215         * malloc/malloc.c: Various cleanups.
26216         * malloc/hooks.c: Likewise.
26218         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26219         * stdlib/bug-fmtmsg1.c: New file.
26221         * stdlib/fmtmsg.c (init): Add missing unlock.
26222         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26224 2012-01-12  Marek Polacek  <polacek@redhat.com>
26226         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26227         and _GNU_SOURCE.
26229 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26231         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26232         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26233         macro to ensure uniqueness of label name.
26234         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26235         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26237 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26239         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26241         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26242         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26243         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26246 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26248         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26250         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26251         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26252         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26254         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26256         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26257         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26258         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26259         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26261         * math/bits/math-finite.h: Add ldexp support.
26263 2012-01-10  Marek Polacek  <polacek@redhat.com>
26265         * locale/programs/localedef.h (show_archive_content): Add noreturn
26266         attribute.
26268 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26270         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26272 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26274         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26276         * io/Makefile (headers): Add bits/poll2.h.
26278 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26281         typo #include statement.
26283 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26285         * include/sys/cdefs.h: Define __attribute_alloc_size.
26286         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26287         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26288         * elf/pldd.c: Likewise.
26289         * iconv/iconv_charmap.c: Likewise.
26290         * iconv/iconvconfig.c: Likewise.
26291         * iconv/strtab.c: Likewise.
26292         * locale/programs/locale.c: Likewise.
26293         * locale/programs/localedef.h: Likewise.
26294         * locale/programs/simple-hash.c: Likewise.
26295         * nscd/nscd.h: Likewise.
26296         * nss/makedb.c: Likewise.
26297         * sysdeps/generic/ldconfig.h: Likewise.
26298         * locale/programs/localedef.c: Remove xmalloc prototype.
26299         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26301 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26303         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26304         appropriate.
26306 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26308         * math/Makefile (tests): Add tst-CMPLX.
26309         * math/tst-CMPLX.c: New file.
26311         * math/complex.h (CMPLXL): Fix typo.
26313         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26314         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26315         GLIBC_2.16.
26316         * debug/tst-chk1.c: Add poll and ppoll tests.
26317         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26318         * include/sys/poll.h: Add hidden proto for ppoll.
26319         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26320         * sysdeps/mach/hurd/ppoll.c: Likewise.
26321         * io/ppoll.c: Likewise.
26322         * debug/poll_chk.c: New file.
26323         * debug/ppoll_chk.c: New file.
26324         * include/bits/poll2.h: New file.
26325         * io/bits/poll2.h: New file.
26327         [BZ #1350]
26328         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26330         * configure.in: static is always set to yes.  Remove.
26331         * config.make.in: Don't set build-static.
26332         * Makeconfig: Remove use of build-static.
26333         * dlfcn/Makefile: Likewise.
26334         * elf/Makefile: Likewise.
26335         * math/Makefile: Likewise.
26336         * misc/Makefile: Likewise.
26337         * nptl/Makefile: Likewise.
26338         * sysdeps/mach/hurd/Makefile: Likewise.
26340         * configure.in: PWD_P is not used anymore.
26341         * config.make.in: Remove PWD_P entry.
26343         * configure.in: Remove last remnants of RANLIB.
26344         No need to check for signed size_t anymore.
26345         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26346         and IA-64.
26347         Remove __builtin_expect test because we require at least gcc 3.4.
26348         * aclocal.m4: Likewise.
26350         * wcsmbs/mbrtoc16.c: Implement using towc function.
26351         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26352         * wcsmbs/wcsmbsload.c: Likewise.
26353         * iconv/gconv_simple.c: Likewise.
26354         * iconv/gconv_int.h: Likewise.
26355         * iconv/gconv_builtin.h: Likewise.
26356         * iconv/iconv_prog.c: Remove CHAR16 handling.
26358         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26360         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26362         * configure.in: Remove --with-elf and --enable-bounded options.
26363         Dont set base_machine for ia64.  More non-ELF conditions removed.
26364         Remove testing and setting of leading underscore information.
26365         * config.make.in (build-bounded): Set to no.
26366         * config.h.in: Remove NO_UNDERSCORES entry.
26367         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26368         them.
26369         * csu/start.c: Remove !NO_UNDERSCORE code.
26370         * locale/localeinfo.h: Likewise.
26371         * sysdeps/generic/machine-gmon.h: Likewise.
26372         * sysdeps/generic/sysdep.h: Likewise.
26373         * sysdeps/i386/sysdep.h: Likewise.
26374         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26375         * sysdeps/mach/sysdep.h: Likewise.
26376         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26378         * sysdeps/sh/sysdep.h: Likewise.
26379         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26380         * sysdeps/unix/i386/sysdep.S: Likewise.
26381         * sysdeps/unix/sparc/start.c: Likewise.
26382         * sysdeps/unix/sparc/sysdep.S: Likewise.
26383         * sysdeps/unix/sparc/sysdep.h: Likewise.
26384         * sysdeps/unix/start.c: Likewise.
26385         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26386         * sysdeps/x86_64/sysdep.h: Likewise.
26388 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26390         [BZ #13553]
26391         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26392         for non-gcc.
26393         * argp/argp-fmtstream.h: Use const instead __const.
26394         * argp/argp.h: Likewise.
26395         * assert/assert.h: Likewise.
26396         * bits/fenv.h: Likewise.
26397         * bits/sched.h: Likewise.
26398         * bits/sigset.h: Likewise.
26399         * bits/sigthread.h: Likewise.
26400         * catgets/nl_types.h: Likewise.
26401         * conform/data/pthread.h-data: Likewise.
26402         * crypt/crypt-private.h: Likewise.
26403         * crypt/crypt.h: Likewise.
26404         * crypt/crypt_util.c: Likewise.
26405         * ctype/ctype.h: Likewise.
26406         * debug/execinfo.h: Likewise.
26407         * debug/mbsnrtowcs_chk.c: Likewise.
26408         * debug/mbsrtowcs_chk.c: Likewise.
26409         * debug/wcsnrtombs_chk.c: Likewise.
26410         * debug/wcsrtombs_chk.c: Likewise.
26411         * debug/wcstombs_chk.c: Likewise.
26412         * dirent/dirent.h: Likewise.
26413         * dlfcn/dlfcn.h: Likewise.
26414         * elf/neededtest4.c: Likewise.
26415         * grp/grp.h: Likewise.
26416         * gshadow/gshadow.h: Likewise.
26417         * iconv/gconv.h: Likewise.
26418         * iconv/gconv_int.h: Likewise.
26419         * iconv/gconv_simple.c: Likewise.
26420         * iconv/iconv.h: Likewise.
26421         * iconv/loop.c: Likewise.
26422         * iconv/skeleton.c: Likewise.
26423         * include/aio.h: Likewise.
26424         * include/aliases.h: Likewise.
26425         * include/argz.h: Likewise.
26426         * include/arpa/inet.h: Likewise.
26427         * include/assert.h: Likewise.
26428         * include/dirent.h: Likewise.
26429         * include/dlfcn.h: Likewise.
26430         * include/execinfo.h: Likewise.
26431         * include/fcntl.h: Likewise.
26432         * include/fenv.h: Likewise.
26433         * include/glob.h: Likewise.
26434         * include/grp.h: Likewise.
26435         * include/libintl.h: Likewise.
26436         * include/mntent.h: Likewise.
26437         * include/netdb.h: Likewise.
26438         * include/pwd.h: Likewise.
26439         * include/rpc/netdb.h: Likewise.
26440         * include/sched.h: Likewise.
26441         * include/search.h: Likewise.
26442         * include/shadow.h: Likewise.
26443         * include/signal.h: Likewise.
26444         * include/stdio.h: Likewise.
26445         * include/stdlib.h: Likewise.
26446         * include/string.h: Likewise.
26447         * include/sys/socket.h: Likewise.
26448         * include/sys/stat.h: Likewise.
26449         * include/sys/statfs.h: Likewise.
26450         * include/sys/statvfs.h: Likewise.
26451         * include/sys/syslog.h: Likewise.
26452         * include/sys/time.h: Likewise.
26453         * include/sys/uio.h: Likewise.
26454         * include/time.h: Likewise.
26455         * include/unistd.h: Likewise.
26456         * include/utmp.h: Likewise.
26457         * include/wchar.h: Likewise.
26458         * include/wctype.h: Likewise.
26459         * inet/aliases.h: Likewise.
26460         * inet/arpa/inet.h: Likewise.
26461         * inet/netinet/ether.h: Likewise.
26462         * inet/netinet/in.h: Likewise.
26463         * intl/libintl.h: Likewise.
26464         * io/bits/fcntl2.h: Likewise.
26465         * io/fcntl.h: Likewise.
26466         * io/ftw.h: Likewise.
26467         * io/sys/poll.h: Likewise.
26468         * io/sys/stat.h: Likewise.
26469         * io/sys/statfs.h: Likewise.
26470         * io/sys/statvfs.h: Likewise.
26471         * io/utime.h: Likewise.
26472         * libio/bits/stdio.h: Likewise.
26473         * libio/bits/stdio2.h: Likewise.
26474         * libio/libio.h: Likewise.
26475         * libio/libioP.h: Likewise.
26476         * libio/stdio.h: Likewise.
26477         * locale/lc-ctype.c: Likewise.
26478         * locale/locale.h: Likewise.
26479         * login/utmp.h: Likewise.
26480         * malloc/arena.c: Likewise.
26481         * malloc/malloc.c: Likewise.
26482         * malloc/malloc.h: Likewise.
26483         * malloc/mcheck.c: Likewise.
26484         * malloc/mtrace.c: Likewise.
26485         * math/bits/mathcalls.h: Likewise.
26486         * math/fenv.h: Likewise.
26487         * math/math_private.h: Likewise.
26488         * misc/bits/error.h: Likewise.
26489         * misc/bits/syslog.h: Likewise.
26490         * misc/err.h: Likewise.
26491         * misc/error.h: Likewise.
26492         * misc/fstab.h: Likewise.
26493         * misc/mntent.h: Likewise.
26494         * misc/regexp.h: Likewise.
26495         * misc/search.h: Likewise.
26496         * misc/sgtty.h: Likewise.
26497         * misc/sys/mman.h: Likewise.
26498         * misc/sys/syslog.h: Likewise.
26499         * misc/sys/uio.h: Likewise.
26500         * misc/sys/xattr.h: Likewise.
26501         * misc/ttyent.h: Likewise.
26502         * nis/rpcsvc/ypclnt.h: Likewise.
26503         * nss/nss.h: Likewise.
26504         * posix/bits/unistd.h: Likewise.
26505         * posix/fnmatch.h: Likewise.
26506         * posix/glob.h: Likewise.
26507         * posix/sched.h: Likewise.
26508         * posix/spawn.h: Likewise.
26509         * posix/sys/wait.h: Likewise.
26510         * posix/unistd.h: Likewise.
26511         * posix/wordexp.h: Likewise.
26512         * pwd/pwd.h: Likewise.
26513         * resolv/netdb.h: Likewise.
26514         * resource/sys/resource.h: Likewise.
26515         * rt/aio.h: Likewise.
26516         * rt/bits/mqueue2.h: Likewise.
26517         * rt/mqueue.h: Likewise.
26518         * shadow/shadow.h: Likewise.
26519         * signal/signal.h: Likewise.
26520         * socket/send.c: Likewise.
26521         * socket/sendto.c: Likewise.
26522         * socket/sys/socket.h: Likewise.
26523         * stdio-common/printf.h: Likewise.
26524         * stdlib/bits/stdlib.h: Likewise.
26525         * stdlib/fmtmsg.h: Likewise.
26526         * stdlib/monetary.h: Likewise.
26527         * stdlib/stdlib.h: Likewise.
26528         * stdlib/ucontext.h: Likewise.
26529         * streams/stropts.h: Likewise.
26530         * string/argz.h: Likewise.
26531         * string/bits/string2.h: Likewise.
26532         * string/string.h: Likewise.
26533         * string/strings.h: Likewise.
26534         * sunrpc/rpc/auth.h: Likewise.
26535         * sunrpc/rpc/auth_des.h: Likewise.
26536         * sunrpc/rpc/clnt.h: Likewise.
26537         * sunrpc/rpc/netdb.h: Likewise.
26538         * sunrpc/rpc/pmap_clnt.h: Likewise.
26539         * sunrpc/rpc/xdr.h: Likewise.
26540         * sysdeps/generic/inttypes.h: Likewise.
26541         * sysdeps/generic/net/if.h: Likewise.
26542         * sysdeps/generic/sys/swap.h: Likewise.
26543         * sysdeps/gnu/net/if.h: Likewise.
26544         * sysdeps/gnu/utmpx.h: Likewise.
26545         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26546         * sysdeps/i386/i486/bits/string.h: Likewise.
26547         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26548         * sysdeps/s390/bits/string.h: Likewise.
26549         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26550         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26551         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26552         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26553         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26554         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26555         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26556         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26557         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26558         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26559         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26560         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26561         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26562         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26563         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26564         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26565         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26567         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26568         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26569         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26570         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26571         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26572         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26573         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26574         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26575         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26576         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26577         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26578         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26579         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26580         * sysvipc/sys/ipc.h: Likewise.
26581         * sysvipc/sys/msg.h: Likewise.
26582         * sysvipc/sys/sem.h: Likewise.
26583         * sysvipc/sys/shm.h: Likewise.
26584         * termios/termios.h: Likewise.
26585         * time/sys/time.h: Likewise.
26586         * time/time.h: Likewise.
26587         * wcsmbs/bits/wchar2.h: Likewise.
26588         * wcsmbs/uchar.h: Likewise.
26589         * wcsmbs/wchar.h: Likewise.
26590         * wctype/wctype.h: Likewise.
26592         [BZ #13551]
26593         * Makeconfig: Remove all but ELF support including AIX support.
26594         * Makerules: Likewise.
26595         * config.h.in: Likewise.
26596         * config.make.in: Likewise.
26597         * configure: Likewise.
26598         * configure.in: Likewise.
26599         * csu/Makefile: Likewise.
26600         * csu/version.c: Likewise.
26601         * debug/Makefile: Likewise.
26602         * dlfcn/Makefile: Likewise.
26603         * elf/Makefile: Likewise.
26604         * extra-lib.mk: Likewise.
26605         * iconv/Makefile: Likewise.
26606         * include/libc-symbols.h: Likewise.
26607         * include/shlib-compat.h: Likewise.
26608         * resolv/Makefile: Likewise.
26609         * resolv/res_libc.c: Likewise.
26610         * rt/Makefile: Likewise.
26611         * sysdeps/i386/asm-syntax.h: Likewise.
26612         * sysdeps/i386/sysdep.h: Likewise.
26613         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26614         * sysdeps/mach/sysdep.h: Likewise.
26615         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26616         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26617         * sysdeps/s390/asm-syntax.h: Likewise.
26618         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26619         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26620         * sysdeps/sh/sysdep.h: Likewise.
26621         * sysdeps/unix/sparc/sysdep.h: Likewise.
26622         * sysdeps/wordsize-32/divdi3.c: Likewise.
26623         * sysdeps/x86_64/sysdep.h: Likewise.
26625         * argp/Versions: Remove _argp_unlock_xxx.
26627         [BZ #13559]
26628         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26629         * abilist/libBrokenLocale.abilist: Likewise.
26630         * abilist/libanl.abilist: Likewise.
26631         * abilist/libc.abilist: Likewise.
26632         * abilist/libcrypt.abilist: Likewise.
26633         * abilist/libdl.abilist: Likewise.
26634         * abilist/libm.abilist: Likewise.
26635         * abilist/libnsl.abilist: Likewise.
26636         * abilist/libpthread.abilist: Likewise.
26637         * abilist/libresolv.abilist: Likewise.
26638         * abilist/librt.abilist: Likewise.
26639         * abilist/libthread_db.abilist: Likewise.
26640         * abilist/libutil.abilist: Likewise.
26641         * abilist/libnss_db.abilist: New file.
26643         * scripts/abilist.awk: Add support for indirect functions.
26645         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26647         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26649         * shlib-versions: Remove entries for ports architectures.
26651         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26652         files in ports.
26653         * elf/stackguard-macros.h: Remove support for IA-64.
26654         * elf/tst-auditmod1.c: Likewise.
26655         * sysdeps/generic/ldsodefs.h: Likewise.
26657         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26658         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26659         configure files.
26661         [BZ #13552]
26662         * configure.in: Remove --enable-omitfp support.
26663         * FAQ.in: Adjust.
26664         * config.make.in: Likewise.
26665         * Makeconfig: Likewise.
26666         * manual/install.texi: Likewise.
26668         In case anyone cares, the IA-64 architecture could move to ports.
26669         * sysdeps/ia64/*: Removed.
26670         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26671         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26673         [BZ #13555]
26674         * configure.in: Remove entries for unsupported architectures.
26676         [BZ #13533]
26677         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26678         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26679         routines.
26680         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26681         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26682         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26683         fall back to using wcrtomb.
26684         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26685         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26686         renaming.
26687         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26688         * wcsmbs/tst-c16c32-1.c: New file.
26690         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26691         local variable.
26693         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26695         * elf/tst-unique3.cc: Add explicit declaration of gets.
26696         * elf/tst-unique3lib.cc: Likewise.
26697         * elf/tst-unique3lib2.cc: Likewise.
26698         * elf/tst-unique4.cc: Likewise.
26700         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26702 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26704         [BZ #13566]
26705         * assert/assert.h (static_assert): Don't define for C++.
26706         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26707         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26709 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26711         * iconv/loop.c (single loop): Fix assertion in storing of
26712         remaining bytes.
26714         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26716 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26718         * posix/getconf.c: Update copyright year.
26719         * nss/getent.c: Likewise.
26720         * nss/makedb.c: Likewise.
26721         * iconv/iconvconfig.c: Likewise.
26722         * iconv/iconv_prog.c: Likewise.
26723         * elf/ldconfig.c: Likewise.
26724         * elf/pldd.c: Likewise.
26725         * elf/sotruss.ksh: Likewise.
26726         * catgets/gencat.c: Likewise.
26727         * csu/version.c: Likewise.
26728         * elf/ldd.bash.in: Likewise.
26729         * elf/sprof.c (print_version): Likewise.
26730         * locale/programs/locale.c: Likewise.
26731         * locale/programs/localedef.c: Likewise.
26732         * login/programs/pt_chown.c: Likewise.
26733         * nscd/nscd.c (print_version): Likewise.
26734         * debug/xtrace.sh: Likewise.
26735         * malloc/memusage.sh: Likewise.
26736         * malloc/mtrace.pl: Likewise.
26737         * debug/catchsegv.sh: Likewise.
26739 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26741         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26742         pure attribute.
26744 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26746         [BZ #13533]
26747         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26748         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26749         transformations.
26750         * iconv/gconv_int.h: Likewise.
26751         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26752         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26753         from libc for GLIBC_2.16.
26754         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26755         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26756         * wcsmbs/uchar.h: Really define mbstate_t.
26757         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26758         * wcsmbs/c16rtomb.c: New file.
26759         * wcsmbs/mbrtoc16.c: New file.
26760         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26761         for C/POSIX locale.
26762         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26763         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26765         * wcsmbs/wchar.h: Add missing __restrict.
26767 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26769         [BZ #13532]
26770         * time/Makefile (routines): Add timespec_get.
26771         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26772         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26773         timespec for ISO C11.
26774         * time/timespec_get.c: New file.
26775         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26776         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26778         [BZ #13531]
26779         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26780         * stdlib/stdlib.h: Declare aligned_alloc.
26781         * Versions.def: Add GLIBC_2.16 for libc.
26782         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26784         [BZ 13527]
26785         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26786         ISO C11.
26788         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26789         code.
26791         [BZ #13528]
26792         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26794         [BZ #13529]
26795         * assert/assert.h (static_assert): Define.
26797         * version.h: Update for 2.16 development version.
26799         [BZ #13526]
26800         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26801         _ISOC11_SOURCE.
26803         * version.h (RELEASE): Bump for 2.15 release.
26804         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26806         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26807         Patch by Marek Polacek <mpolacek@redhat.com>.
26809         * bits/byteswap.h: Protect long long constants with __extension__.
26810         * sysdeps/i386/bits/byteswap.h: Likewise.
26811         * sysdeps/ia64/bits/byteswap.h: Likewise.
26812         * sysdeps/s390/bits/byteswap.h: Likewise.
26813         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26815 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26817         [BZ #13540]
26818         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26819         destination buffer.
26820         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26822 2011-12-23  Marek Polacek  <polacek@redhat.com>
26824         * elf/dl-addr.c (determine_info): Add inline keyword.
26825         * elf/tst-auditmod4b.c (check_avx): Likewise.
26826         * elf/tst-auditmod6b.c (check_avx): Likewise.
26827         * elf/tst-auditmod6c.c (check_avx): Likewise.
26828         * elf/tst-auditmod7b.c (check_avx): Likewise.
26830 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26832         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26833         !__SSE_MATH__.
26835 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26837         [BZ #13540]
26838         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26839         processing for last bytes.
26841 2011-08-06  Bruno Haible  <bruno@clisp.org>
26843         [BZ #13061]
26844         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26845         U+0385, not to U+1FEE.
26847         [BZ #13062]
26848         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26849         entry for U+00A5 U+0301.
26851 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26853         [BZ #13166]
26854         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
26855         buffer for the output is too small.
26857         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
26858         optimization.
26860         [BZ #13185]
26861         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
26862         SSE flags if possible.
26864 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26866         [BZ #13540]
26867         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
26868         processing for last bytes.
26870 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
26872         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
26873         (syscall-list-default-options, syscall-list-default-condition)
26874         (syscall-list-includes): Define.
26875         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
26876         list of ABIs and options and #if conditions for each ABI.  Do not
26877         handle common syscalls between ABIs specially.
26878         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
26879         Remove.
26880         (syscall-list-variants, syscall-list-32bit-options)
26881         (syscall-list-32bit-condition, syscall-list-64bit-options)
26882         (syscall-list-64bit-condition): Define.
26883         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
26884         (syscall-list-variants, syscall-list-32bit-options)
26885         (syscall-list-32bit-condition, syscall-list-64bit-options)
26886         (syscall-list-64bit-condition): Define.
26887         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
26888         Remove.
26889         (syscall-list-variants, syscall-list-32bit-options)
26890         (syscall-list-32bit-condition, syscall-list-64bit-options)
26891         (syscall-list-64bit-condition): Define.
26892         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
26893         Remove.
26894         (syscall-list-variants, syscall-list-32bit-options)
26895         (syscall-list-32bit-condition, syscall-list-64bit-options)
26896         (syscall-list-64bit-condition): Define.
26898 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
26900         * locale/iso-639.def: Add brx entry.
26902         [BZ #13328]
26903         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
26904         Proposed by Mariusz_Cukr <marcukr@op.pl>.
26906         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
26907         __feraiseexcept_renamed.
26909 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26911         [BZ #13538]
26912         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
26913         EPOLLET with unsigned values.
26914         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26915         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26917         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
26918         to large cancellation.
26919         * math/s_cacoshf.c: Likewise.
26920         * math/s_cacoshl.c: Likewise.
26922 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
26924         [BZ #13305]
26925         [BZ #12786]
26926         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
26927         * math/s_cacoshf.c: Likewise.
26928         * math/s_cacoshl.c: Likewise.
26930 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
26932         [BZ #13439]
26933         * iconv/gconv.h: Define __GCONV_SWAP.
26934         * iconvdata/unicode.c: The swap bit must be stored in __flags.
26935         * iconvdata/utf-16.c: Likewise.
26936         * iconvdata/utf-32.c: Likewise.
26938 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
26940         [BZ #13524]
26941         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
26942         numerator after shifting it by one limb.
26944 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
26946         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
26947         under [__USE_EXTERN_INLINES].
26949 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26951         [BZ #13446]
26952         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
26954 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26956         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
26957         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
26958         optimized code.
26959         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
26960         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
26961         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
26962         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
26963         for strncasecmp/strncasecmp_l compilation.
26964         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
26965         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
26967 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
26969         [BZ #13484]
26970         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
26971         of __asm__.
26973 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
26975         [BZ #13506]
26976         * time/tzfile.c (__tzfile_read): Check values from file header.
26978 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26980         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
26981         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
26982         * powerpc/powerpc32/dl-start.S: Likewise.
26983         * powerpc/powerpc32/elf/start.S: Likewise.
26984         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26985         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
26986         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
26987         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
26988         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26989         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
26990         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
26991         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26992         * powerpc/powerpc32/fpu/s_round.S: Likewise.
26993         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26994         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26995         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26996         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26997         * powerpc/powerpc32/memset.S: Likewise.
26998         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26999         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27000         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27001         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27002         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27003         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27004         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27005         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27006         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27007         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27008         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27009         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27010         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27012 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         * math/libm-test.inc: Added more nearbyint tests.
27015         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27016         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27018         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27020 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27022         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27023         FD_CLOEXEC.
27025 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27027         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27028         Add wcscpy-ssse3 wcscpy-c.
27029         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27030         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27031         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27032         * sysdeps/x86_64/wcschr.S: New file.
27033         * sysdeps/x86_64/wcsrchr.S: New file.
27034         * string/test-strcmp.c: Remove checking of wcscmp function for
27035         wrong alignments.
27036         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27037         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27038         wcsrchr-sse2 wcsrchr-c.
27039         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27040         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27041         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27042         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27043         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27044         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27045         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27046         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27047         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27048         * wcsmbc/wcschr.c (WCSCHR): New macro.
27050 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27052         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27053         * wcsmbs/test-wcsrchr.c: New file.
27054         * string/test-strrchr.c: Add wcsrchr support.
27055         (WIDE): New macro.
27056         * wcsmbs/test-wcscpy.c: New file.
27057         * string/test-strcpy.c: Add wcscpy support.
27058         (WIDE): New macro.
27060 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27062         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27063         the inner loop.
27065 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27067         [BZ #13472]
27068         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27070 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27072         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27073         Minor optimizations.
27075         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27076         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27077         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27079 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27081         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27082         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27083         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27084         for gcc to avoid warnings.
27085         * inet/Makefile (tests): Add tst-checks.
27086         * inet/tst-checks.c: New file.
27088         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27089         warning.
27091         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27092         __wmemcmp_sse2.
27094         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27095         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27097         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27099 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27101         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27102         problem.
27104         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27106 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27108         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27109         conditional on GCC version.
27110         (__arch_compare_and_exchange_val_8_acq)
27111         (__arch_compare_and_exchange_val_16_acq)
27112         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27113         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27114         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27116 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27118         * sysdeps/sh/backtrace.c: New file.
27120 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27122         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27123         parenthesis.
27125 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27127         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27128         falling back to utime.
27130 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27132         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27133         expectations for float.
27135 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27137         * locale/weight.h (findidx): Add parameter len.
27138         * locale/weightwc.h (findidx): Likewise.
27139         * posix/fnmatch_loop.c (FCT): Adjust caller.
27140         * posix/regcomp.c (build_equiv_class): Likewise.
27141         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27142         * posix/regexec.c (check_node_accept_bytes): Likewise.
27143         * string/strcoll_l.c (STRCOLL): Likewise.
27144         * string/strxfrm_l.c (STRXFRM): Likewise.
27146 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27148         * Makefile.in: Remove CVSOPT handling.
27149         * configure.in: Remove use of AC_REVISION.
27150         * iconvdata/Makefile (distribute): No need to filter out CVS.
27151         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27152         handling.
27154 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27156         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27157         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27158         [USE_AS_STRNCASECMP_L]: Likewise.
27159         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27160         NO_TLS_DIRECT_SEG_REFS.
27161         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27162         Fix argument offsets for non-PIC.
27163         [USE_AS_STRNCASECMP_L]: Likewise.
27164         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27165         NO_TLS_DIRECT_SEG_REFS.
27167 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27169         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27170         O_CLOEXEC.
27171         * locale/loadlocale.c (_nl_load_locale): Likewise.
27173 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27175         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27176         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27177         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27178         (SYSCALL_GETTIME): Set errno on error.
27180         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27181         count references to noai6ai_cached.
27183 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27185         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27187         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27188         FD_CLOEXEC for /proc/self/maps.
27190         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27191         FD_CLOEXEC for /proc/meminfo.
27193         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27194         gai.conf.
27196         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27197         FD_CLOEXEC for given file.
27199         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27201         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27202         FD_CLOEXEC for /etc/hosts.
27203         (_gethtent): Likewise.
27205         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27207         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27208         cancellation and set FD_CLOEXEC for /etc/netgroup.
27210         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27211         reading /etc/publickey.
27213         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27214         allow cancellation when reading /etc/group.
27216         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27217         cancellation.
27218         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27220         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27221         when using data file.
27223         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27225         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27226         (write_nis_obj): Use "c" and "e" in fopen.
27228         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27230         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27232         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27234         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27236         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27237         locale.alias.
27239         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27241         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27243         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27245         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27246         file parsing and set FD_CLOEXEC.
27248 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27250         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27252 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27254         * malloc/arena.c (arena_get2): Don't call reused_arena when
27255         _int_new_arena failed.
27257 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27259         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27260         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27261         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27262         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27263         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27264         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27265         to compile strcasecmp and strncasecmp.
27266         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27267         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27271 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27273         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27274         locale-defines.sym to gen-as-const-headers.
27275         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27276         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27278         to compile strcasecmp and strncasecmp.
27279         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27280         strcasecmp_l and strncasecmp_l.
27281         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27282         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27283         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27284         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27285         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27286         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27287         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27288         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27289         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27290         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27291         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27293 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27295         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27296         result of SYSDEP_GETTIME_CPU to retval.
27297         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27298         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27300         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27301         variable.
27303         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27304         mantissa words.
27305         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27307         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27308         from unused variable.
27310         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27311         DWARF definitions.
27312         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27313         for assembling.
27315         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27316         over namespaces.
27318         * sunrpc/rpc_prot.c (rejected): Fix case value.
27320         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27321         unsigned long long int to avoid warnings in shift.
27323         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27324         of use of trans.
27325         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27326         variable tmp.
27328         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27329         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27330         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27332         * nis/nis_table.c (nis_list): Use variable of correct type for
27333         result of __follow_path call.
27335 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27337         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27338         of math functions ceil, trunc, floor, round, and sqrt, when
27339         avaliable on the platform.
27340         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27341         name clash.
27342         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27343         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27344         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27346 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27348         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27349         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27351 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27353         * include/unistd.h: Fix __readlink return type.
27354         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27356 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27358         * stdlib/ucontext.h: Undo last change for makecontext.
27360 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27362         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27364         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27365         * setjmp/setjmp.h: Mark functions as non-leaf.
27366         * setjmp/bits/setjmp2.h: Likewise.
27367         * stdlib/ucontext.h: Likewise.
27369 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27371         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27372         (reused_arena): Don't check arena limit.
27373         (arena_get2): Atomically check arena limit.
27375 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27377         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27378         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27381         instructions.
27383 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27385         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27386         handler when locking.
27388         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27389         Fix size of allocated buffer.
27391 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27393         [BZ #10103]
27394         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27395         declarations for long double functions.
27396         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27398         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27400 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27402         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27403         installed.
27405         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27406         is disabled.
27408 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27410         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27412 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27414         * include/alloca.h (stackinfo_alloca_round): Define.
27415         (extend_alloca): Use it.
27416         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27417         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27418         here.
27420         * scripts/check-local-headers.sh: Ignore libaudit.h.
27422         * nscd/Makefile (extra-objs): Make recursively expanded.
27424 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27426         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27427         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27429         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27430         * posix/tst-rfc3484-2.c: Likewise.
27431         * posix/tst-rfc3484-3.c: Likewise.
27433         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27434         process_vm_writev.
27435         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27436         process_vm_writev.
27437         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27438         process_vm_writev from libc using GLIBC_2.15 version.
27440         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27442 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27444         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27445         stack usage.
27447 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27449         [BZ #13367]
27450         * nss/getent.c (initgroups_keys): Show error message in case no group
27451         names are given.
27453         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27454         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27455         __bump_nl_timestamp.
27456         * nscd/connections (nscd_init): When host database is served open
27457         netlink socket and request notification about configuration changes.
27458         (main_loop_poll): Track netlink file descriptor and bump timestamp
27459         in case data becomes available.
27460         (main_loop_epoll): Likewise.
27461         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27462         (database_pers_head): Add extra_data fileds.
27463         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27464         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27465         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27466         Adjust caller.
27467         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27468         in6ai data, call __free_in6ai.
27469         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27470         Add -DHAVE_NETLINK.
27471         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27472         interface information.  Reuse previous data if netlink timestamp
27473         is not changed.
27474         (__bump_nl_timestamp): New function.
27475         (__free_in6ai): New function.
27477 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27479         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27480         close_not_cancel_no_status here.
27481         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27483 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27485         [BZ #13276]
27486         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27487         return value.
27489         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27490         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27491         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27493 2011-07-03  Andreas Jaeger  <aj@suse.de>
27495         [BZ #10709]
27496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27497         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27498         * math/libm-test.inc (sin_test): Add test case.
27500 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27502         [BZ #13337]
27503         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27504         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27506         * elf/chroot_canon.c (chroot_canon): Cleanups.
27508         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27510         [BZ #13335]
27511         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27512         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27514         * string/test-strchr.c: Make usable for strchrnul testing.
27515         * string/test-strchrnul.c: New file.
27516         * string/Makefile (strop-tests): Add strchrnul.
27518         * po/it.po: Update from translation team.
27519         * po/es.po: Likewise.
27521 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27523         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27524         the three constants needed as parameters.  Drop the others.
27525         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27526         __m128i_strloadu_tolower.
27527         Create and initialize variable zero and use it in all the places
27528         where _mm_setzero_si128 was used.
27530         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27531         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27532         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27533         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27534         anymore.
27535         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27536         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27537         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27538         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27539         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27540         __mpranred, __mptan.
27541         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27542         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27543         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27544         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27545         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27546         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27547         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27548         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27549         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27551 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27553         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27554         redefine if SHARED.
27555         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27558         wide char related routines to wcsmbs subdir.
27560 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27562         [BZ #13344]
27563         * misc/sys/cdefs.h (__THROWNL): Define.
27564         * posix/unistd.h: Use __THREADNL instead of __THREAD
27565         for memory synchronization functions.
27567 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27569         [BZ #13349]
27570         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27571         doesn't exist.
27572         * manual/stdio.texi (Obstack Streams): Node removed.
27574 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27576         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27577         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27578         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27580         * math/math_private.h (math_force_eval): Allow non-addressable
27581         arguments.
27582         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27584 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27586         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27587         file is not needed.
27589         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27590         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27591         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27592         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27593         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27594         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27595         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27596         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27597         Add AVX variants.
27598         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27599         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27600         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27601         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27602         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27603         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27604         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27605         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27606         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27607         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27608         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27609         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27610         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27611         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27612         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27613         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27614         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27615         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27616         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27618         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27619         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27621         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27622         place.  Use VEX encoding when compiling for AVX.
27624 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27626         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27627         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27629         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27631 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27633         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27634         useless if() expression.
27635         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27636         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27637         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27638         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27639         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27640         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27641         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27642         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27643         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27644         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27645         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27646         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27647         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27648         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27649         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27650         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27651         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27652         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27653         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27655         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27657 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27659         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27660         condition.
27661         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27663 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27665         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27666         .text section.  Avoid duplicate constants.
27667         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27669         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27670         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27671         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27672         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27673         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27675         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27676         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27677         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27678         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27679         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27680         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27681         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27682         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27683         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27684         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27685         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27686         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27687         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27688         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27689         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27690         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27691         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27692         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27693         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27694         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27695         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27696         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27697         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27698         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27699         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27700         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27701         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27702         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27703         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27704         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27705         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27706         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27707         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27708         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27709         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27710         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27711         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27713 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27715         * sysdeps/x86_64/dla.h: Move to ...
27716         * sysdeps/x86_64/fpu/dla.h: ...here.
27717         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27718         situations.  Use __builtin_fma only for gcc 4.6 and up.
27720         * config.make.in: Add have-mfma4 entry.
27721         * configure.in: Substitute libc_cv_cc_fma4.
27722         * math/Makefile (dbl-only-routines): Add sincostab.
27723         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27724         Use __sincostab not sincos.
27725         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27726         name is a macro.
27727         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27728         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27729         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27730         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27731         using __copysign.
27732         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27733         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27734         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27735         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27736         and __inv.
27737         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27738         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27739         __copysign.
27740         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27741         define aliases when function name is a macro.
27742         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27743         sysdeps/ieee754/dbl-64/sincos.tbl.
27744         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27745         fma4-enabled routines.
27746         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27747         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27748         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27749         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27750         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27751         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27752         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27753         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27754         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27755         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27756         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27757         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27758         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27759         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27760         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27761         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27762         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27763         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27764         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27765         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27766         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27767         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27768         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27769         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27770         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27771         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27772         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27773         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27774         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27775         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27777         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27778         rename.
27779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27780         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27781         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27782         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27783         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27788 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27790         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27792 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27794         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27796         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27797         prediction.
27798         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27800         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27801         Remove unused variable magic_bits.
27802         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27804         * string/strnlen.c: Define and use STRNLEN macro.
27805         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27806         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27807         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27808         * wcsmbs/wcslen.c: Define and use WCSLEN.
27809         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27810         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27811         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27812         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27813         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27814         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27815         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27817 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27819         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27820         strnlen-sse2-no-bsf.
27821         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27822         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27823         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27824         Add strnlen support.
27825         (USE_AS_STRNLEN): New macro.
27826         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27827         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27828         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27829         * sysdeps/x86_64/wcslen.S: New file.
27831 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27833         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27834         XMM-moves are used for copying on small sizes.
27836 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27838         * wcsmbs/Makefile (strop-tests): Add wcschr.
27839         * wcsmbs/test-wcschr.c: New file.
27840         * string/test-strchr.c: Update.
27841         Add wcschr support.
27842         (WIDE): New macro.
27844 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27846         * wcsmbs/Makefile (strop-tests): Add wcslen.
27847         * wcsmbs/test-wcslen.c: New file.
27848         * string/test-strlen.c: Update.
27849         Add wcslen support.
27850         (WIDE): New macro.
27852 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27854         * po/it.po: Update from translation team.
27856 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27858         * sysdeps/x86_64/wcscmp.S: Update.
27859         Fix wrong comparison semantics.
27860         wcscmp shall use signed comparison not unsigned.
27861         Don't use substraction to avoid overflow bug.
27862         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
27863         * wcsmbc/wcscmp.c: Likewise.
27864         * string/test-strcmp.c: Likewise.
27865         Add new tests to check cases with negative values.
27867 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27869         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
27870         * sysdeps/x86_64/dla.h: ...here.  New file.
27871         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
27872         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27873         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27874         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27878         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27881 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
27883         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
27884         __ynl_finite aliases.
27886 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27890         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
27891         define DLA_FMA.
27892         [DLA_FMA] (EMULV): Use DLA_FMA.
27893         [DLA_FMA] (MUL12): Use EMULV.
27894         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
27895         that are not needed.
27896         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27897         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27899         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27900         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27901         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27902         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27904 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
27906         * math/s_nan.c: Undef __nan.
27907         * math/s_nanf.c: Undef __nanf.
27908         * math/s_nanl.c: Undef __nanl.
27909         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
27910         "math_private.h".
27912 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
27914         * math/s_catan.c: Add branch predictions.
27915         * math/s_catanf.c: Likewise.
27916         * math/s_catanh.c: Likewise.
27917         * math/s_catanhf.c: Likewise.
27918         * math/s_catanhl.c: Likewise.
27919         * math/s_catanl.c: Likewise.
27920         * math/s_cexp.c: Likewise.
27921         * math/s_cexpf.c: Likewise.
27922         * math/s_cexpl.c: Likewise.
27923         * math/s_clog.c: Likewise.
27924         * math/s_clog10.c: Likewise.
27925         * math/s_clog10f.c: Likewise.
27926         * math/s_clog10l.c: Likewise.
27927         * math/s_clogf.c: Likewise.
27928         * math/s_clogl.c: Likewise.
27929         * math/s_csqrt.c: Likewise.
27930         * math/s_csqrtf.c: Likewise.
27931         * math/s_csqrtl.c: Likewise.
27932         * math/s_ctanf.c: Likewise.
27933         * math/s_ctanh.c: Likewise.
27934         * math/s_ctanhf.c: Likewise.
27935         * math/s_ctanhl.c: Likewise.
27936         * math/s_ctanl.c: Likewise.
27938         * math/math_private.h: Define __nan, __nanf, __nanl.
27939         * math/s_cacosh.c: Include <math_private.h>.
27940         * math/s_cacoshl.c: Likewise.
27941         * math/s_casinh.c: Likewise.
27942         * math/s_casinhf.c: Likewise.
27943         * math/s_casinhl.c: Likewise.
27944         * math/s_ccos.c: Rely entire on ccosh.
27945         * math/s_ccosf.c: Rely entire on ccoshf.
27946         * math/s_ccosl.c: Rely entirely on ccoshl.
27947         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
27948         Remove tests for FE_INVALID.
27949         * math/s_ccoshf.c: Likewise.
27950         * math/s_ccoshl.c: Likewise.
27951         * math/s_csin.c: Likewise.
27952         * math/s_csinf.c: Likewise.
27953         * math/s_csinh.c Likewise.
27954         * math/s_csinhf.c: Likewise.
27955         * math/s_csinhl.c: Likewise.
27956         * math/s_csinl.c: Likewise.
27957         * math/s_ctan.c: Likewise.
27958         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
27959         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
27960         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
27962 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
27964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
27965         compilation problems.
27967         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
27968         __builtin_expect.
27970 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
27972         * sysdeps/i386/configure.in: Test for -mfma4 option.
27973         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
27974         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
27975         COMMON_CPUID_INDEX_80000001.
27976         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
27977         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
27978         use it if FMA3 is not supported.
27979         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27981         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
27982         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
27984 2011-10-20  Andreas Schwab  <schwab@redhat.com>
27986         [BZ #12892]
27987         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
27988         it would create a cycle with a link time dependency.
27990 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
27992         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
27993         instruction.
27994         * string/Makefile (strop-tests): Add rawmemchr.
27995         * string/test-rawmemchr.c: New file.
27997         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
27998         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
27999         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28000         when compiling str{,n}casecmp and when AVX is available.  Hook up
28001         new optimized code in initializers.
28003 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28005         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28006         __feraiseexcept instead of feraiseexcept.
28008 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28010         * math/math_private.h: Define defaults for libc_fetestexcept and
28011         libc_feupdateenv.
28012         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28013         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28014         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28015         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28016         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28017         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28018         libc_fetestexcept and libc_feupdateenv.
28020         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28021         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28022         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28023         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28024         libc_feholdexcept_setround.
28026         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28027         Add s_nearbyint-c and s_nearbyintf-c.
28028         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28029         nearbyintf inlines.
28030         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28031         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28032         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28033         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28035         * math/math_private.h: Define defaults for libc_fegetround,
28036         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28037         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28038         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28039         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28040         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28041         standard functions.
28042         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28043         Remove comments and hacks for old compiler versions.
28044         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28045         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28046         libc_feholdexceptl.
28048 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28050         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28051         (__feraiseexcept_renamed): Add __NTH.
28052         (feraiseexcept): Add __NTH.  Rename local variables to fix
28053         namespace violations.
28055 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28057         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28059         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28061         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28062         recently added interfaces.
28063         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28065         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28066         about macro parameter expansion.
28068         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28069         __NO_MATH_INLINES is defined.  Cleanups.
28071         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28072         and __floorf is target has SSE4.1.
28073         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28074         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28075         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28076         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28078         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28079         name.
28080         (floorf): Likewise.
28082         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28084 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28086         * misc/sys/cdefs.h: Fix last change.
28088         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28089         database lookup.
28091 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28093         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28095         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28096         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28097         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28098         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28099         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28100         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28101         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28102         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28103         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28104         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28105         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28106         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28107         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28108         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28109         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28110         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28111         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28112         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28113         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28114         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28115         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28116         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28118         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28119         ceil, ceilf, floor, floorf.
28121         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28122         Perform IRELATIVE relocations last.
28124         * elf/do-rel.h: Add another parameter nrelative, replacing the
28125         local variable with the same name.  Change name of the function
28126         to end in Rel or Rela (uppercase).
28127         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28128         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28129         elf_dynamic_do_##reloc function.
28131 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28133         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28134         is sufficient, at least on modern CPUs.
28136         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28138         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28139         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28141         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28142         __expl_finite.
28143         * math/bits/math-finite.h: Add entries for exp.
28144         * math/e_expl.c: Add __*_finite alias.
28145         * sysdeps/i386/fpu/e_exp.S: Likewise.
28146         * sysdeps/i386/fpu/e_expf.S: Likewise.
28147         * sysdeps/i386/fpu/e_expl.c: Likewise.
28148         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28149         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28150         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28151         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28152         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28153         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28154         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28156         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28157         is sufficient, at least on modern CPUs.
28159         * ctype/ctype-info.c (__ctype_init): Define.
28160         * include/ctype.h (__ctype_init): Declare.
28161         (__ctype_b_loc): The variable is always initialized.
28162         (__ctype_toupper_loc): Likewise.
28163         (__ctype_tolower_loc): Likewise.
28164         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28165         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28167 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28169         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28171         * configure.in: Also look in $cxxmachine/include for C++ system
28172         headers.
28174 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28176         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28177         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28178         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28179         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28180         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28181         (USE_AS_WMEMCMP): New macro.
28182         Fixing indents.
28183         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28184         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28185         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28186         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28188         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28189         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28190         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28191         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28192         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28193         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28194         (USE_AS_WMEMCMP): New macro.
28195         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28196         * sysdeps/string/test-memcmp.c: Update.
28197         Fix simple_wmemcmp.
28198         Add new tests.
28199         * wcsmbs/wmemcmp.c: Update.
28200         (WMEMCMP): New macro.
28201         Fix overflow bug.
28203 2011-10-12  Andreas Jaeger  <aj@suse.de>
28205         [BZ #13268]
28206         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28208 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28210         * libio/iofwide.c (do_length): Avoid warning.
28212         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28214 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28216         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28218         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28219         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28220         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28221         * sysdeps/i386/i686/fpu/e_log.S: New file.
28222         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28223         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28225         * ctype/ctype.h: Add support for inlined isXXX functions when
28226         compiling C++ code.
28228 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28230         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28232         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28234 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28236         [BZ #13291]
28237         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28239 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28241         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28242         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28243         feraiseexcept.
28245         * sysdeps/x86_64/memrchr.S: Check for zero size.
28247         * string/stratcliff.c: Add memrchr tests.
28249 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28251         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28252         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28253         rawmemchr-sse2 rawmemchr-sse2-bsf.
28254         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28255         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28256         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28257         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28258         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28259         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28260         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28261         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28262         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28263         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28264         * string/memrchr.c (MEMRCHR): New macro.
28266 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28268         Add integration with gcc's -ffinite-math-only and optimize wrapper
28269         functions in libm.
28270         * Versions.def: Define GLIBC_2.15 version for libm.
28271         * math/Makefile (headers): Add bits/math-finite.h.
28272         * math/bits/math-finite.h: New file.
28273         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28274         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28275         * math/e_acoshl.c: Add __*_finite alias.
28276         * math/e_acosl.c: Likewise.
28277         * math/e_asinl.c: Likewise.
28278         * math/e_atan2l.c: Likewise.
28279         * math/e_atanhl.c: Likewise.
28280         * math/e_coshl.c: Likewise.
28281         * math/e_exp10.c: Likewise.
28282         * math/e_exp10f.c: Likewise.
28283         * math/e_exp10l.c: Likewise.
28284         * math/e_exp2l.c: Likewise.
28285         * math/e_fmodl.c: Likewise.
28286         * math/e_gammal_r.c: Likewise.
28287         * math/e_hypotl.c: Likewise.
28288         * math/e_j0l.c: Likewise.
28289         * math/e_j1l.c: Likewise.
28290         * math/e_jnl.c: Likewise.
28291         * math/e_lgammal_r.c: Likewise.
28292         * math/e_log10l.c: Likewise.
28293         * math/e_log2l.c: Likewise.
28294         * math/e_logl.c: Likewise.
28295         * math/e_powl.c: Likewise.
28296         * math/e_sinhl.c: Likewise.
28297         * math/e_sqrtl.c: Likewise.
28298         * math/e_scalb.c: Completely rewritten and optimized.
28299         * math/e_scalbf.c: Likewise.
28300         * math/e_scalbl.c: Likewise.
28301         * math/w_acos.c: Likewise.
28302         * math/w_acosf.c: Likewise.
28303         * math/w_acosl.c: Likewise.
28304         * math/w_acosh.c: Likewise.
28305         * math/w_acoshf.c: Likewise.
28306         * math/w_acoshl.c: Likewise.
28307         * math/w_asin.c: Likewise.
28308         * math/w_asinf.c: Likewise.
28309         * math/w_asinl.c: Likewise.
28310         * math/w_atan2.c: Likewise.
28311         * math/w_atan2f.c: Likewise.
28312         * math/w_atan2l.c: Likewise.
28313         * math/w_atanh.c: Likewise.
28314         * math/w_atanhf.c: Likewise.
28315         * math/w_atanhl.c: Likewise.
28316         * math/w_exp10.c: Likewise.
28317         * math/w_exp10f.c: Likewise.
28318         * math/w_exp10l.c: Likewise.
28319         * math/w_fmod.c: Likewise.
28320         * math/w_fmodf.c: Likewise.
28321         * math/w_fmodl.c: Likewise.
28322         * math/w_j0.c: Likewise.
28323         * math/w_j0f.c: Likewise.
28324         * math/w_j0l.c: Likewise.
28325         * math/w_j1.c: Likewise.
28326         * math/w_j1f.c: Likewise.
28327         * math/w_j1l.c: Likewise.
28328         * math/w_jn.c: Likewise.
28329         * math/w_jnf.c: Likewise.
28330         * math/w_log.c: Likewise.
28331         * math/w_logf.c: Likewise.
28332         * math/w_logl.c: Likewise.
28333         * math/w_log10.c: Likewise.
28334         * math/w_log10f.c: Likewise.
28335         * math/w_log10l.c: Likewise.
28336         * math/w_log2.c: Likewise.
28337         * math/w_log2f.c: Likewise.
28338         * math/w_log2l.c: Likewise.
28339         * math/w_pow.c: Likewise.
28340         * math/w_powf.c: Likewise.
28341         * math/w_powl.c: Likewise.
28342         * math/w_remainder.c: Likewise.
28343         * math/w_remainderf.c: Likewise.
28344         * math/w_remainderl.c: Likewise.
28345         * math/w_scalb.c: Likewise.
28346         * math/w_scalbf.c: Likewise.
28347         * math/w_scalbl.c: Likewise.
28348         * math/w_sqrt.c: Likewise.
28349         * math/w_sqrtf.c: Likewise.
28350         * math/w_sqrtl.c: Likewise.
28351         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28352         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28353         used.
28354         * math/math_private.h: Declare __kernel_standard_f.
28355         * math/w_cosh.c: Remove cruft and optimize a bit.
28356         * math/w_coshf.c: Likewise.
28357         * math/w_coshl.c: Likewise.
28358         * math/w_exp2.c: Likewise.
28359         * math/w_exp2f.c: Likewise.
28360         * math/w_exp2l.c: Likewise.
28361         * math/w_hypot.c: Likewise.
28362         * math/w_hypotf.c: Likewise.
28363         * math/w_hypotl.c: Likewise.
28364         * math/w_lgamma.c: Likewise.
28365         * math/w_lgamma_r.c: Likewise.
28366         * math/w_lgammaf.c: Likewise.
28367         * math/w_lgammaf_r.c: Likewise.
28368         * math/w_lgammal.c: Likewise.
28369         * math/w_lgammal_r.c: Likewise.
28370         * math/w_sinh.c: Likewise.
28371         * math/w_sinhf.c: Likewise.
28372         * math/w_sinhl.c: Likewise.
28373         * math/w_tgamma.c: Likewise.
28374         * math/w_tgammaf.c: Likewise.
28375         * math/w_tgammal.c: Likewise.
28376         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28377         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28378         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28379         Minor optimizations.  Pretty printing.  Remove cruft.
28380         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28381         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28382         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28383         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28384         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28385         * sysdeps/i386/fpu/e_asin.S: Likewise.
28386         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28387         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28388         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28389         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28390         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28391         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28392         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28393         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28394         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28395         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28396         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28397         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28398         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28399         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28400         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28401         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28402         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28403         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28404         * sysdeps/i386/fpu/e_log.S: Likewise.
28405         * sysdeps/i386/fpu/e_log10.S: Likewise.
28406         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28407         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28408         * sysdeps/i386/fpu/e_log2.S: Likewise.
28409         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28410         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28411         * sysdeps/i386/fpu/e_logf.S: Likewise.
28412         * sysdeps/i386/fpu/e_logl.S: Likewise.
28413         * sysdeps/i386/fpu/e_pow.S: Likewise.
28414         * sysdeps/i386/fpu/e_powf.S: Likewise.
28415         * sysdeps/i386/fpu/e_powl.S: Likewise.
28416         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28417         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28418         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28419         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28420         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28421         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28422         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28423         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28424         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28425         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28426         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28428         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28429         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28430         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28431         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28432         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28433         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28434         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28435         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28436         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28437         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28438         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28439         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28440         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28441         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28442         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28443         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28444         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28445         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28446         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28447         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28448         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28449         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28450         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28451         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28452         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28453         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28454         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28455         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28456         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28457         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28458         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28459         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28460         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28461         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28462         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28463         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28464         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28465         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28466         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28467         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28468         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28469         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28470         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28471         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28472         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28473         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28474         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28475         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28476         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28477         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28478         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28479         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28480         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28481         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28482         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28483         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28484         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28485         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28486         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28489         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28490         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28491         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28492         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28493         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28494         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28495         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28496         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28497         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28499         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28501         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28502         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28503         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28504         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28505         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28506         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28507         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28508         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28509         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28510         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28511         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28512         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28513         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28514         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28515         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28516         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28517         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28518         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28519         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28520         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28521         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28522         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28523         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28524         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28525         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28526         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28527         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28528         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28529         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28530         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28531         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28532         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28533         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28534         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28535         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28536         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28537         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28538         (__isnanf): Likewise.
28539         (__isinf_ns): Likewise.
28540         (__isinf_nsf): Likewise.
28541         (__finite): Likewise.
28542         (__finitef): Likewise.
28543         (__ieee754_sqrt): Define as macro.
28544         (__ieee754_sqrtf): Define as macro.
28545         (__ieee754_sqrtl): Define as macro.
28546         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28547         inlined copy.
28548         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28549         __FINITE_MATH_ONLY__ consistent.
28550         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28552 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28554         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28555         of rawmemchr.
28557         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28559 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28561         * po/ja.po: Update from translation team.
28563 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28565         * locale/programs/locarchive.c (prepare_address_space): New function.
28566         (create_archive, enlarge_archive, open_archive): Use it.
28568         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28569         inside [SHARED], where it is used.
28571         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28573         * nss/getent.c (netgroup_keys): Remove unused variable.
28574         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28576 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28578         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28579         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28580         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28581         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28582         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28583         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28584         * math/Makefile (libm-calls): Add s_isinf_ns.
28585         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28586         * math/multc3.c: Likewise.
28587         * math/s_casin.c: Likewise.
28588         * math/s_casinf.c: Likewise.
28589         * math/s_casinl.c: Likewise.
28590         * math/s_ccos.c: Likewise.
28591         * math/s_ccosf.c: Likewise.
28592         * math/s_ccosl.c: Likewise.
28593         * math/s_ctan.c: Likewise.
28594         * math/s_ctanf.c: Likewise.
28595         * math/s_ctanh.c: Likewise.
28596         * math/s_ctanhf.c: Likewise.
28597         * math/s_ctanhl.c: Likewise.
28598         * math/s_ctanl.c: Likewise.
28599         * math/w_fmod.c: Likewise.
28600         * math/w_fmodf.c: Likewise.
28601         * math/w_fmodl.c: Likewise.
28602         * math/w_remainder.c: Likewise.
28603         * math/w_remainderf.c: Likewise.
28604         * math/w_remainderl.c: Likewise.
28605         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28606         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28608         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28609         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28610         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28611         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28612         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28614         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28615         of the number.
28616         * stdio-common/printf_fphex.c: Likewise.
28617         * stdio-common/printf_size.c: Likewise.
28619         * math/e_exp10.c: Include math_private.h using <...> not "...".
28620         * math/e_exp10f.c: Likewise.
28621         * math/e_exp10l.c: Likewise.
28622         * math/e_exp2l.c: Likewise.
28623         * math/e_j0l.c: Likewise.
28624         * math/e_j1l.c: Likewise.
28625         * math/e_jnl.c: Likewise.
28626         * math/e_lgammal_r.c: Likewise.
28627         * math/e_rem_pio2l.c: Likewise.
28628         * math/e_scalb.c: Likewise.
28629         * math/e_scalbf.c: Likewise.
28630         * math/e_scalbl.c: Likewise.
28631         * math/k_cosl.c: Likewise.
28632         * math/k_sinl.c: Likewise.
28633         * math/k_tanl.c: Likewise.
28634         * math/s_cacoshf.c: Likewise.
28635         * math/s_catan.c: Likewise.
28636         * math/s_catanf.c: Likewise.
28637         * math/s_catanh.c: Likewise.
28638         * math/s_catanhf.c: Likewise.
28639         * math/s_catanhl.c: Likewise.
28640         * math/s_catanl.c: Likewise.
28641         * math/s_ccosh.c: Likewise.
28642         * math/s_ccoshf.c: Likewise.
28643         * math/s_ccoshl.c: Likewise.
28644         * math/s_cexp.c: Likewise.
28645         * math/s_cexpf.c: Likewise.
28646         * math/s_cexpl.c: Likewise.
28647         * math/s_clog.c: Likewise.
28648         * math/s_clog10.c: Likewise.
28649         * math/s_clog10f.c: Likewise.
28650         * math/s_clog10l.c: Likewise.
28651         * math/s_clogf.c: Likewise.
28652         * math/s_clogl.c: Likewise.
28653         * math/s_csin.c: Likewise.
28654         * math/s_csinf.c: Likewise.
28655         * math/s_csinh.c: Likewise.
28656         * math/s_csinhf.c: Likewise.
28657         * math/s_csinhl.c: Likewise.
28658         * math/s_csinl.c: Likewise.
28659         * math/s_csqrt.c: Likewise.
28660         * math/s_csqrtf.c: Likewise.
28661         * math/s_csqrtl.c: Likewise.
28662         * math/s_ctan.c: Likewise.
28663         * math/s_ctanf.c: Likewise.
28664         * math/s_ctanh.c: Likewise.
28665         * math/s_ctanhf.c: Likewise.
28666         * math/s_ctanhl.c: Likewise.
28667         * math/s_ctanl.c: Likewise.
28668         * math/s_ldexp.c: Likewise.
28669         * math/s_ldexpf.c: Likewise.
28670         * math/s_ldexpl.c: Likewise.
28671         * math/s_significand.c: Likewise.
28672         * math/s_significandf.c: Likewise.
28673         * math/s_significandl.c: Likewise.
28674         * math/w_acos.c: Likewise.
28675         * math/w_acosf.c: Likewise.
28676         * math/w_acosh.c: Likewise.
28677         * math/w_acoshf.c: Likewise.
28678         * math/w_acoshl.c: Likewise.
28679         * math/w_acosl.c: Likewise.
28680         * math/w_asin.c: Likewise.
28681         * math/w_asinf.c: Likewise.
28682         * math/w_asinl.c: Likewise.
28683         * math/w_atan2.c: Likewise.
28684         * math/w_atan2f.c: Likewise.
28685         * math/w_atan2l.c: Likewise.
28686         * math/w_atanh.c: Likewise.
28687         * math/w_atanhf.c: Likewise.
28688         * math/w_atanhl.c: Likewise.
28689         * math/w_cosh.c: Likewise.
28690         * math/w_coshf.c: Likewise.
28691         * math/w_coshl.c: Likewise.
28692         * math/w_dremf.c: Likewise.
28693         * math/w_exp10.c: Likewise.
28694         * math/w_exp10f.c: Likewise.
28695         * math/w_exp10l.c: Likewise.
28696         * math/w_exp2.c: Likewise.
28697         * math/w_exp2f.c: Likewise.
28698         * math/w_fmod.c: Likewise.
28699         * math/w_fmodf.c: Likewise.
28700         * math/w_fmodl.c: Likewise.
28701         * math/w_hypot.c: Likewise.
28702         * math/w_hypotf.c: Likewise.
28703         * math/w_hypotl.c: Likewise.
28704         * math/w_j0.c: Likewise.
28705         * math/w_j0f.c: Likewise.
28706         * math/w_j0l.c: Likewise.
28707         * math/w_j1.c: Likewise.
28708         * math/w_j1f.c: Likewise.
28709         * math/w_j1l.c: Likewise.
28710         * math/w_jn.c: Likewise.
28711         * math/w_jnf.c: Likewise.
28712         * math/w_jnl.c: Likewise.
28713         * math/w_lgamma.c: Likewise.
28714         * math/w_lgamma_r.c: Likewise.
28715         * math/w_lgammaf.c: Likewise.
28716         * math/w_lgammaf_r.c: Likewise.
28717         * math/w_lgammal.c: Likewise.
28718         * math/w_lgammal_r.c: Likewise.
28719         * math/w_log.c: Likewise.
28720         * math/w_log10.c: Likewise.
28721         * math/w_log10f.c: Likewise.
28722         * math/w_log10l.c: Likewise.
28723         * math/w_log2.c: Likewise.
28724         * math/w_log2f.c: Likewise.
28725         * math/w_log2l.c: Likewise.
28726         * math/w_logf.c: Likewise.
28727         * math/w_logl.c: Likewise.
28728         * math/w_pow.c: Likewise.
28729         * math/w_powf.c: Likewise.
28730         * math/w_powl.c: Likewise.
28731         * math/w_remainder.c: Likewise.
28732         * math/w_remainderf.c: Likewise.
28733         * math/w_remainderl.c: Likewise.
28734         * math/w_scalb.c: Likewise.
28735         * math/w_scalbf.c: Likewise.
28736         * math/w_scalbl.c: Likewise.
28737         * math/w_sinh.c: Likewise.
28738         * math/w_sinhf.c: Likewise.
28739         * math/w_sinhl.c: Likewise.
28740         * math/w_sqrt.c: Likewise.
28741         * math/w_sqrtf.c: Likewise.
28742         * math/w_sqrtl.c: Likewise.
28743         * math/w_tgamma.c: Likewise.
28744         * math/w_tgammaf.c: Likewise.
28745         * math/w_tgammal.c: Likewise.
28747         * po/ja.po: Update from translation team.
28749 2011-09-29  Andreas Jaeger  <aj@suse.de>
28751         [BZ #13179]
28752         * sunrpc/netname.c (netname2host): Fix logic.
28754         [BZ #6779]
28755         [BZ #6783]
28756         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28757         correctly.
28758         * math/w_remainder.c (__remainder): Likewise.
28759         * math/w_remainderf.c (__remainderf): Likewise.
28760         * math/libm-test.inc (remainder_test): Add test cases.
28762 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28764         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28765         sdiv_qrnnd.
28767 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28769         * string/test-memcmp.c: Avoid unncessary #defines.
28770         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28772 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28774         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28775         Use new sse2 version for core i3 - i7 as it's faster
28776         than sse42 version.
28777         (bit_Prefer_PMINUB_for_stringop): New.
28778         * sysdeps/x86_64/rawmemchr.S: Update.
28779         Replace with faster SSE2 version.
28780         * sysdeps/x86_64/memrchr.S: New file.
28781         * sysdeps/x86_64/memchr.S: Update.
28782         Replace with faster SSE2 version.
28784 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28786         * elf/dl-load.c (lose): Add cast to avoid warning.
28788 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28790         * po/ca.po: Update from translation team.
28792         * inet/getnetgrent_r.c: Hook up nscd.
28793         * nscd/Makefile (routines): Add nscd_netgroup.
28794         (nscd-modules): Add netgroupcache.
28795         (CFLAGS-netgroupcache.c): Define.
28796         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28797         (cache_search): Add const to second parameter.
28798         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28799         INNETGR.
28800         (dbs): Add netgrdb entry.
28801         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28802         (verify_persistent_db): Handle netgrdb.
28803         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28804         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28805         GETFDNETGR.
28806         (netgroup_response_header): Define.
28807         (innetgroup_response_header): Define.
28808         (datahead): Add netgroup_response_header and innetgroup_response_header
28809         elements.
28810         * nscd/nscd.conf: Add entries for netgroup cache.
28811         * nscd/nscd.h (dbtype): Add netgrdb.
28812         (_PATH_NSCD_NETGROUP_DB): Define.
28813         (netgroup_iov_disabled): Declare.
28814         (xmalloc, xcalloc, xrealloc): Move declarations here.
28815         (cache_search): Adjust prototype.
28816         Add netgroup-related prototypes.
28817         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28818         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28819         (__nscd_innetgr): Declare.
28820         * nscd/selinux.c (perms): Use access_vector_t as element type and
28821         add netgroup-related initializers.
28822         * nscd/netgroupcache.c: New file.
28823         * nscd/nscd_netgroup.c: New file.
28824         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28825         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28826         For four parameters use innetgr.
28827         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28828         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28829         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28830         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28832         * nscd/connections.c (register_traced_file): Don't register file
28833         for disabled databases.
28835 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28837         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28839         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28840         from tree and freeing node.
28842 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28844         * nss/nsswitch.c (__nss_database_lookup): Handle
28845         nss_parse_service_list out of memory case.
28847 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28849         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28850         out of memory case.
28852 2011-10-04  Andreas Schwab  <schwab@redhat.com>
28854         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
28855         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
28856         pass it down.
28857         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
28858         elf_machine_rela, elf_machine_lazy_rel.
28859         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
28860         (ELF_DYNAMIC_DO_REL): Likewise.
28861         (ELF_DYNAMIC_DO_RELA): Likewise.
28862         (ELF_DYNAMIC_RELOCATE): Likewise.
28863         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
28864         to ELF_DYNAMIC_DO_REL.
28865         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
28866         (dl_main): In trace mode always set __RTLD_NOIFUNC.
28867         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
28868         elf_machine_rela.
28869         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
28870         skip_ifunc, don't call ifunc function if non-zero.
28871         (elf_machine_rela): Likewise.
28872         (elf_machine_lazy_rel): Likewise.
28873         (elf_machine_lazy_rela): Likewise.
28874         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
28875         (elf_machine_lazy_rel): Likewise.
28876         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
28877         Likewise.
28878         (elf_machine_lazy_rel): Likewise.
28879         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28880         Likewise.
28881         (elf_machine_lazy_rel): Likewise.
28882         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
28883         (elf_machine_lazy_rel): Likewise.
28884         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
28885         (elf_machine_lazy_rel): Likewise.
28886         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28887         (elf_machine_lazy_rel): Likewise.
28888         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
28889         (elf_machine_lazy_rel): Likewise.
28890         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
28891         (elf_machine_lazy_rel): Likewise.
28892         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28893         (elf_machine_lazy_rel): Likewise.
28895 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
28897         * nss/nss_files/files-init.c (_nss_files_init): Use static
28898         initialization for all the *_traced_file variables.
28900 2011-09-28  Andreas Schwab  <schwab@redhat.com>
28902         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28904 2011-09-27  Roland McGrath  <roland@hack.frob.com>
28906         [BZ #13226]
28907         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
28909 2011-09-27  Andreas Schwab  <schwab@redhat.com>
28911         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28912         Reread the line before reparsing it.
28914 2011-09-26  Andreas Schwab  <schwab@redhat.com>
28916         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
28918 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
28919             Maxim Kuvyrkov  <maxim@codesourcery.com>
28920             Joseph Myers  <joseph@codesourcery.com>
28922         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
28923         if needed for __stack_chk_guard.
28925 2011-09-19  Roland McGrath  <roland@hack.frob.com>
28927         * sysdeps/posix/spawni.c (script_execute): Always define it.
28928         It will be optimized away if unused.
28929         (maybe_script_execute): New function.
28930         (__spawni): Call it.
28932         * Makerules: Don't include tls.make.
28933         (config-tls): Always set to thread.
28934         * tls.make.c: File removed.
28936 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
28938         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
28939         * config.make.in (CPPFLAGS-config): New substituted variable.
28941 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
28945         [BZ #13192]
28946         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
28947         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
28949 2011-09-15  Roland McGrath  <roland@hack.frob.com>
28951         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
28952         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
28953         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
28954         (CALL_FAIL): Likewise.
28955         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
28956         (CALL_FAIL): Macro removed.
28957         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
28959 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
28961         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
28962         for __FINITE_MATH_ONLY__ == 1.
28964 2011-09-15  Andreas Schwab  <schwab@redhat.com>
28966         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
28967         __ieee754_sqrt instead of sqrt.
28968         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
28969         __ieee754_sqrtf instead of sqrtf.
28970         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
28971         __floorf instead of floorf.
28972         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
28973         __floorf, __truncf instead of floorf, truncf.
28975 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
28977         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
28979         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
28980         __extern_always_inline.
28981         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
28982         32-bit.
28984 2011-09-14  Andreas Schwab  <schwab@redhat.com>
28986         * elf/rtld.c (dl_main): Also relocate in dependency order when
28987         doing symbol dependency testing.
28989 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
28991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28992         Always define `refsym'.
28994 2011-09-13  Andreas Schwab  <schwab@redhat.com>
28996         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
28997         (__FD_ELT): Renamed from __FDELT.
28998         * misc/bits/select2.h (__FD_ELT): Likewise.
28999         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29000         __FD_MASK instead of __FDELT, __FDMASK.
29001         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29002         Likewise.
29003         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29004         Likewise.
29006         * elf/Makefile (gen-ldd): Fix pattern.
29008         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29009         (init_tls): Likewise.
29011 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29013         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29015 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29017         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29018         `struct cmsghdr *' instead of `void *'.
29019         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29020         Likewise.
29022 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29024         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29025         if non-absolute.
29026         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29027         ldd_rewrite_script.
29029 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29031         * configure.in: Remove --with-tls option.
29032         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29033         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29034         out in case it is missing.
29035         * sysdeps/ia64/elf/configure.in: Likewise.
29036         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29037         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29038         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29039         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29040         * sysdeps/sh/elf/configure.in: Likewise.
29041         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29042         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29043         * sysdeps/x86_64/elf/configure.in: Likewise.
29044         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29045         * sysdeps/mach/hurd/tls.h: Likewise.
29047         [BZ #13067]
29048         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29050         [BZ #13090]
29051         * configure.in: Fix use of AC_INIT.
29053         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29055 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29057         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29058         __set_errno.
29059         * malloc/hooks.c: Likewise.
29061         [BZ #11929]
29062         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29063         variables statically.
29064         (narenas): Initialize.
29065         (list_lock): Initialize.
29066         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29067         initializtion of main_arena and list_lock.  Small cleanups.
29068         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29069         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29070         Add initializers to main_arena and mp_.
29071         (malloc_state): Remove pagesize member.  Change all users to use
29072         GLRO(dl_pagesize).
29074         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29075         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29076         is always initialized.
29078         * malloc/malloc.c: Removed unused configurations and dead code.
29079         * malloc/arena.c: Likewise.
29080         * malloc/hooks.c: Likewise.
29081         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29083         * include/tls.h: Removed.  USE___THREAD must always be defined.
29084         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29085         * elf/dl-libc.c: Likewise.
29086         * elf/dl-tsd.c: Likewise.
29087         * include/errno.h: Likewise.
29088         * include/netdb.h: Likewise.
29089         * include/resolv.h: Likewise.
29090         * inet/herrno-loc.c: Likewise.
29091         * inet/herrno.c: Likewise.
29092         * malloc/arena.c: Likewise.
29093         * malloc/hooks.c: Likewise.
29094         * malloc/malloc.c: Likewise.
29095         * resolv/res-state.c: Likewise.
29096         * resolv/res_libc.c: Likewise.
29097         * sysdeps/i386/dl-machine.h: Likewise.
29098         * sysdeps/ia64/dl-machine.h: Likewise.
29099         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29100         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29101         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29102         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29103         * sysdeps/sh/dl-machine.h: Likewise.
29104         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29105         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29106         * sysdeps/unix/i386/sysdep.S: Likewise.
29107         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29108         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29109         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29110         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29111         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29112         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29113         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29114         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29115         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29117         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29118         * sysdeps/x86_64/dl-machine.h: Likewise.
29119         * tls.make.c: Likewise.
29121         * configure.in: Remove --with-__thread option.  Make tests for
29122         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29123         tls_model attribute fail if no support is available.  Remove
29124         USE_IN_LIBIO.
29125         * Makeconfig: Adjust for dropped configure option.  All features are
29126         now mandatory.
29127         * Makerules: Likewise.
29128         * Versions.def: Likewise.
29129         * argp/argp-fmtstream.c: Likewise.
29130         * argp/argp-fmtstream.h: Likewise.
29131         * argp/argp-help.c: Likewise.
29132         * assert/assert.c: Likewise.
29133         * config.h.in: Likewise.
29134         * config.make.in: Likewise.
29135         * configure: Likewise.
29136         * configure.in: Likewise.
29137         * csu/Versions: Likewise.
29138         * csu/init.c: Likewise.
29139         * elf/tst-audit2.c: Likewise.
29140         * elf/tst-tls10.c: Likewise.
29141         * elf/tst-tls10.h: Likewise.
29142         * elf/tst-tls11.c: Likewise.
29143         * elf/tst-tls12.c: Likewise.
29144         * elf/tst-tls14.c: Likewise.
29145         * elf/tst-tlsmod11.c: Likewise.
29146         * elf/tst-tlsmod12.c: Likewise.
29147         * elf/tst-tlsmod13.c: Likewise.
29148         * elf/tst-tlsmod13a.c: Likewise.
29149         * elf/tst-tlsmod14a.c: Likewise.
29150         * elf/tst-tlsmod15b.c: Likewise.
29151         * elf/tst-tlsmod16a.c: Likewise.
29152         * elf/tst-tlsmod16b.c: Likewise.
29153         * elf/tst-tlsmod7.c: Likewise.
29154         * elf/tst-tlsmod8.c: Likewise.
29155         * elf/tst-tlsmod9.c: Likewise.
29156         * gmon/gmon.c: Likewise.
29157         * grp/fgetgrent_r.c: Likewise.
29158         * grp/putgrent.c: Likewise.
29159         * hurd/fopenport.c: Likewise.
29160         * include/libc-symbols.h: Likewise.
29161         * include/tls.h: Likewise.
29162         * intl/gettextP.h: Likewise.
29163         * intl/loadinfo.h: Likewise.
29164         * locale/global-locale.c: Likewise.
29165         * locale/localeinfo.h: Likewise.
29166         * mach/devstream.c: Likewise.
29167         * malloc/arena.c: Likewise.
29168         * malloc/set-freeres.c: Likewise.
29169         * misc/err.c: Likewise.
29170         * misc/getttyent.c: Likewise.
29171         * misc/mntent_r.c: Likewise.
29172         * posix/getopt.c: Likewise.
29173         * posix/wordexp.c: Likewise.
29174         * pwd/fgetpwent_r.c: Likewise.
29175         * resolv/Versions: Likewise.
29176         * resolv/res_hconf.c: Likewise.
29177         * shadow/fgetspent_r.c: Likewise.
29178         * shadow/putspent.c: Likewise.
29179         * stdio-common/printf_fphex.c: Likewise.
29180         * stdio-common/tmpfile.c: Likewise.
29181         * stdlib/abort.c: Likewise.
29182         * stdlib/fmtmsg.c: Likewise.
29183         * sunrpc/auth_unix.c: Likewise.
29184         * sunrpc/clnt_perr.c: Likewise.
29185         * sunrpc/clnt_tcp.c: Likewise.
29186         * sunrpc/clnt_udp.c: Likewise.
29187         * sunrpc/clnt_unix.c: Likewise.
29188         * sunrpc/openchild.c: Likewise.
29189         * sunrpc/svc_simple.c: Likewise.
29190         * sunrpc/svc_tcp.c: Likewise.
29191         * sunrpc/svc_udp.c: Likewise.
29192         * sunrpc/svc_unix.c: Likewise.
29193         * sunrpc/xdr.c: Likewise.
29194         * sunrpc/xdr_array.c: Likewise.
29195         * sunrpc/xdr_rec.c: Likewise.
29196         * sunrpc/xdr_ref.c: Likewise.
29197         * sunrpc/xdr_stdio.c: Likewise.
29199 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29201         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29203 2011-07-03  Andreas Jaeger  <aj@suse.de>
29205         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29206         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29207         regenerate with gen-libm-tests.pl.
29209 2010-05-12  Petr Baudis  <pasky@suse.cz>
29211         [BZ #11589]
29212         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29213         around j0() zero points by switching to j1().
29214         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29217         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29219 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29221         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29222         instead of 0.
29223         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29224         instead of 0.
29225         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29226         Patch in part by Pavel Roskin <proski@gnu.org>.
29228         [BZ #13138]
29229         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29230         realloc.
29231         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29232         Free memory block if necessary.
29234         [BZ #12847]
29235         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29236         be NULL.  Don't lock in this case.
29238 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29240         * elf/elf.h (ELFOSABI_GNU): New macro.
29241         (ELFOSABI_LINUX): Define to that.
29243 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29245         * string/strncat.c (strncat): Undef the symbol in case it has been
29246         defined in bits/string.h.
29248 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29250         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29252         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29253         link map.
29255 2011-08-17  Andreas Jaeger  <aj@suse.de>
29257         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29259 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29260             Ian Lance Taylor  <iant@google.com>
29262         * math/libm-test.inc (lround_test): New testcase.
29263         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29265 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29267         * Makefile: Remove support for automatic cvs check-ins.
29268         * Makerules: Likewise.
29269         * config.make.in: Likewise.
29270         * configure.in: Likewise.
29271         * intl/Makefile: Likewise.
29272         * locale/Makefile: Likewise.
29273         * po/Makefile: Likewise.
29274         * posix/Makefile: Likewise.
29275         * sysdeps/gnu/Makefile: Likewise.
29276         * sysdeps/mach/hurd/Makefile: Likewise.
29277         * sysdeps/sparc/sparc32/Makefile: Likewise.
29279         [BZ #13118]
29280         * posix/Makefile (bug-regex32-ENV): Define.
29281         Patch by John Stanley <jpsinthemix@verizon.net>.
29283         * misc/Makefile (headers): Add bits/select2.h.
29284         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29285         * misc/bits/select2.h: New file.
29286         * include/bits/select2.h: New file.
29287         * debug/Makefile (routines): Add fdelt_chk.
29288         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29289         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29290         FD_ISSET.
29291         * debug/fdelt_chk.c: New file.
29293         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29294         * wcsmbs/test-wmemcmp.c: Likewise.
29295         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29296         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29298 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29300         * string/Makefile (strop-tests): Add memcmp.
29301         * string/test-wmemcmp.c: New file.
29302         * string/test-memcmp.c: Add wmemcmp support.
29304 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29306         [BZ #13153]
29307         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29308         2011-07-19 change.
29310         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29311         garbage value in a __mach_port_mod_refs call in the cases of the
29312         task-self and thread-self ports.
29314 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29316         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29318 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29320         * elf/dl-load.c (lose): Check for non-null L.
29322 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29324         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29326         * elf/dl-libc.c (dlerror_run): Pass back error code from
29327         dl_catch_error.
29329         [BZ #13123]
29330         * elf/dl-load.c (lose): Free l_origin if it is valid.
29332         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29333         names.
29334         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29335         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29336         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29337         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29338         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29339         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29341 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29343         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29344         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29345         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29346         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29347         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29348         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29349         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29350         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29351         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29352         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29354 2011-08-15  Alan Modra  <amodra@gmail.com>
29356         [BZ #13092]
29357         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29358         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29359         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29360         ppc_mcount to static-only-routines.
29361         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29362         __mcount_internal.
29363         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29364         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29366 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29368         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29369         for finite and infinity parameters.
29371 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29373         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29374         and add nop instructions for throughput optimization.
29375         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29377 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29379         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29380         aligned copy for power7 with vector-scalar instructions.
29381         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29383 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29385         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29386         AVX check.
29388 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29390         [BZ #13144]
29391         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29392         last change.
29394 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29396         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29397         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29398         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29399         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29400         clock_gettime.
29402 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29404         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29405         Forgot to demangle the pointer.
29407         * sysdeps/i386/sysdep.h: Define atom_text_section.
29408         * sysdeps/x86_64/sysdep.h: Likewise.
29409         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29410         section with atom_text_section.
29411         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29412         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29413         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29414         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29415         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29417         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29418         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29419         already be defined.  Change to take two parameters and don't assign
29420         result to variable.  Adjust all users.
29421         Define INTERNAL_GETTIME if not already defined.
29422         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29423         call.
29424         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29425         HAVE_CLOCK_GETTIME_VSYSCALL.
29426         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29428         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29429         gettimeofday vsyscall, just use time.
29431 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29433         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29434         <errno.h>.
29436 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29438         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29439         syscall on x86-64.
29440         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29441         syscall.
29442         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29443         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29444         syscall if possible.
29446 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29448         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29449         e_ident.  Don't pass to find_mapsXX.
29450         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29452 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29454         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29455         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29456         * sysdeps/x86_64/multiarch/strchr.S: Update.
29457         Check bit_slow_BSF bit.
29458         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29459         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29460         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29462 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29464         [BZ #13134]
29465         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29466         before glibc 2.15.
29467         (tryshell): Define.
29468         (__spawni): Change last parameter to be flag.  Test
29469         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29470         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29471         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29472         * posix/spawni.c: Likewise.
29473         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29474         * posix/spawnp.c: Likewise.  Change normal version to use
29475         SPAWN_XFLAGS_USE_PATH.
29476         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29477         SPAWN_XFLAGS_TRY_SHELL.
29479         [BZ #13150]
29480         * posix/glob.h: Remove gcc 1.x support.
29482         [BZ #13068]
29483         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29485 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29487         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29488         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29489         strrchr-sse2-bsf
29490         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29491         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29492         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29493         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29494         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29495         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29497 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29499         * sysdeps/x86_64/wcscmp.S: New file.
29501         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29502         wcscmp-c wcscmp-sse2
29503         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29504         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29505         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29506         * wcsmbs/wcscmp.c: Allow renaming.
29508 2011-09-05  David S. Miller  <davem@davemloft.net>
29510         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29511         stack slot, rather than the struct return pointer slot.
29512         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29513         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29515         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29517 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29519         * po/ja.po: Update from translation team.
29521         [BZ #13144]
29522         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29523         kernel in 64-bit binaries.
29525 2011-09-01  David S. Miller  <davem@davemloft.net>
29527         * elf/elf.h (HWCAP_SPARC_*): Move to..
29528         * sysdeps/sparc/sysdep.h: this new file and add new values.
29529         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29530         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29531         _DL_HWCAP_COUNT to 24.
29532         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29533         entries.
29534         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29535         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29536         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29537         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29538         instead of magic constants.
29539         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29541 2011-08-31  David S. Miller  <davem@davemloft.net>
29543         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29544         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29545         Reimplement to do errno handling inline.
29546         (SYSCALL_ERROR_HANDLER): New macro.
29547         (__SYSCALL_STRING): Do not do errno handling in asm.
29548         (__CLONE_SYSCALL_STRING): Delete.
29549         (__INTERNAL_SYSCALL_STRING): Delete.
29550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29551         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29552         (PSEUDO): Reimplement to do errno handling inline.
29553         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29554         (SYSCALL_ERROR_HANDLER): New macro.
29555         (__SYSCALL_STRING): Do not do errno handling in asm.
29556         (__CLONE_SYSCALL_STRING): Delete.
29557         (__INTERNAL_SYSCALL_STRING): Delete.
29558         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29559         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29560         i386.
29561         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29562         (inline_syscall*): Add 'err' argument.
29563         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29564         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29565         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29566         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29568         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29569         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29571 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29573         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29575 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29577         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29578         directive.
29580 2011-08-24  David S. Miller  <davem@davemloft.net>
29582         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29584 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29586         * elf/Makefile: Add rules to build and run unload8 test.
29587         * elf/unload8.c: New file.
29588         * elf/unload8mod1.c: New file.
29589         * elf/unload8mod1x.c: New file.
29590         * elf/unload8mod2.c: New file.
29591         * elf/unload8mod3.c: New file.
29593         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29594         it wasn't used.
29596 2011-08-23  David S. Miller  <davem@davemloft.net>
29598         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29599         subtract stack bias.
29600         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29601         %sp not %fp in calculations.
29602         (_JMPBUF_UNWINDS_ADJ): Likewise.
29604         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29605         (aio_suspend): Call it to force an exception region around the
29606         AIO_MISC_WAIT() invocation.
29608 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29610         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29611         backslash.
29613 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29615         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29616         protection macro.
29617         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29618         and <dl-machine.h>.
29619         (Elf64_FuncDesc): Remove.
29621 2011-08-22  David S. Miller  <davem@davemloft.net>
29623         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29624         sigaltstack check, add missing cfi directives.
29625         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29626         missing cfi directives, and sigaltstack handling.
29628 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29630         [BZ #11724]
29631         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29632         object is seen twice.
29633         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29635         * elf/Makefile (distribute): Add tst-initorder2.c.
29636         (tests): Add tst-initorder2.
29637         (modules-names): Add tst-initorder2a tst-initorder2b
29638         tst-initorder2c tst-initorder2d.  Add rules to build them.
29639         ($(objpfx)tst-initorder2.out): New rule.
29640         * elf/tst-initorder2.c: New file.
29641         * elf/tst-initorder2.exp: New file.
29643 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29645         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29647         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29648         dependencies back to end of function.
29650         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29651         $(elfobjdir)/ld.so.
29653 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29655         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29656         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29657         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29658         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29659         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29660         of __vdso_gettimeofday.
29661         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29662         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29663         attribute_hidden.
29664         (_libc_vdso_platform_setup): Remove initialization of
29665         __vdso_gettimeofday and __vdso_time.
29667 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29669         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29670         and fgetc_unlocked.
29671         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29672         getc_unlocked.
29674         * elf/dl-open.c (add_to_global): Report additions to the global scope
29675         for LD_DEBUG=scopes.
29676         (dl_open_worker): Also print scope of newly loaded dependencies.
29677         (_dl_show_scope): Indicate if there is no scope.
29679         [BZ #13114]
29680         * stdio-common/Makefile (tests): Add bug24.
29681         * stdio-common/bug24.c: New file.
29683 2011-08-19  Andreas Jaeger  <aj@suse.de>
29685         [BZ #13114]
29686         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29687         non-existant file when using close-on-exec mode.
29689 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29692         the very first instruction.
29694         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29695         the CFI state in the end.
29696         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29697         inclusion of dl-trampoline.h.
29698         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29700 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29702         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29703         expectations for long double.
29705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29706         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29708 2011-08-14  David S. Miller  <davem@davemloft.net>
29710         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29711         artificual limit depends upon the system page size.
29713 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29715         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29716         * resolv/Makefile: Define CFLAGS-libresolv.
29718 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29720         * nss/makedb.c (compute_tables): Make variables used in nested
29721         function static.
29723 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29725         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29726         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29727         if buffer was too small.
29729         * elf/pldd.c (main): Attach to all threads in the process.
29730         Rewrite /proc handling to use *at functions.
29732 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29734         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29735         specifies first scope to show.
29736         (dl_open_worker): Update callers.  Move printing scope of new
29737         object to before the relocation.
29738         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29739         * sysdeps/generic/ldsodefs.h: Update declaration.
29741         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29742         string for the scope number.
29744 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29746         * nscd/servicescache.c (cache_addserv): Make sure written is always
29747         initialized.
29749 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29751         * sysdeps/i386/i486/bits/atomic.h
29752         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29753         statement expression, so as to suppress "set but not used" warning.
29754         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29756         * string/strncat.c (STRNCAT): Use prototype definition.
29758         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29759         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29760         -Iprograms here.
29761         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29762         (localedef-modules): Add localedef.
29763         (locale-modules): Add locale.
29765         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29766         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29767         to avoid a warning.
29769 2011-08-14  David S. Miller  <davem@davemloft.net>
29771         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29772         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29774 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29776         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29777         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29778         * elf/rtld.c (dl_main): Set l_name of vDSO.
29779         Call _dl_show_scope when DL_DEBUG_SCOPES.
29780         (process_dl_debug): Recognize scopes flag and also set it for all.
29781         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29782         Declare _dl_show_scope.
29784         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29785         (do_dlopen): Pass caller_dlopen to dl_open.
29786         (__libc_dlopen_mode): Initialize caller_dlopen.
29788         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29789         of libc.  Make tolower call locale-independent.  Optimize a bit by
29790         using isdigit instead of isalnum.
29791         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29793 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29795         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29796         was a dependency or dynamically loaded.
29798 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29800         * intl/l10nflist.c: Allow architecture-specific pop function.
29801         * sysdeps/x86_64/l10nflist.c: New file.
29803         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29804         classification.
29806 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29808         * include/dirent.h: Add libc_hidden_proto for scandirat and
29809         scandirat64.  Don't declare __scandirat64.
29810         * dirent/scandirat.c: Add libc_hidden_def.
29811         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29812         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29814 2011-08-10  David S. Miller  <davem@davemloft.net>
29816         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29817         enum.
29818         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29819         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29820         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29822 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29824         * Versions.def [libc]: Add GLIBC_2.15.
29825         * dirent/Makefile (routines): Add scandirat and scandirat64.
29826         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29827         GLIBC_2.15.
29828         * dirent/dirent.h: Declare scandirat and scandirat64.
29829         * dirent/scandirat.c: New file.
29830         * dirent/scandirat64.c: New file.
29831         * sysdeps/wordsize-64/scandirat.c: New file.
29832         * sysdeps/wordsize-64/scandirat64.c: New file.
29833         * dirent/opendir.c: Define opendirat.
29834         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29835         using scandirat.
29836         * dirent/scandir64.c: Adjust for scandir.c change.
29837         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29838         __scandirat64, and __scandir_cancel_handler.
29839         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29840         additional parameter and use openat instead of open (outside of ld.so).
29841         Add new __opendir as wrapper around __opendirat.
29842         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29843         here without requiring old scandirat implementation.
29845 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29847         * dirent/scandir.c (cancel_handler): Renamed to
29848         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29849         defined.  Adjust users.
29850         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29851         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
29853 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
29855         * string/test-string.h (IMPL): Use __STRING to expand name and then
29856         stringify it.
29858         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
29859         of cleanups.
29861 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29863         * string/Makefile: Update.
29864         (strop-tests): Append strncat.
29865         * string/test-wcscmp.c: New file.
29866         New comprehensive test for wcscmp.
29867         * string/test-strcmp.c: Update.
29868         (WIDE): New define.
29870 2011-07-22  Andreas Schwab  <schwab@redhat.com>
29872         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
29873         line.
29875 2011-07-26  Andreas Schwab  <schwab@redhat.com>
29877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
29878         encoding to ACE if AI_IDN.
29880 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
29882         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
29883         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
29885 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29887         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
29888         Fix overflow bug in strncat.
29889         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29891         * string/test-strncat.c: Update.
29892         Add new tests for checking overflow bugs.
29894 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29897         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
29898         * sysdeps/i386/i686/multiarch/strcat.S: New file.
29899         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
29900         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
29901         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
29902         * sysdeps/i386/i686/multiarch/strncat.S: New file.
29903         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
29904         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
29906         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
29907         (USE_AS_STRCAT): Define.
29908         Add strcat and strncat support.
29909         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29911 2011-07-25  Andreas Schwab  <schwab@redhat.com>
29913         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
29914         __n bigger than INT_MAX+1.
29915         (__strncmp_g): Likewise.
29917 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
29919         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
29920         * libio/stido.h: Likewise.
29922         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
29923         (AF_NFC): Define.
29924         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
29925         (AF_NFC): Define.
29927         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
29928         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29929         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29930         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
29931         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29933         [BZ #13021]
29934         * scripts/test-installation.pl: Don't expect libnss_test1 to be
29935         installed.
29937         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
29938         typo.
29939         (_dl_x86_64_save_sse): Likewise.
29941 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
29943         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
29944         OSXSAVE.
29945         (_dl_x86_64_save_sse): Likewise.
29947         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
29949         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
29951 2011-07-21  Andreas Schwab  <schwab@redhat.com>
29953         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
29954         change.
29955         (_dl_x86_64_save_sse): Use correct AVX check.
29957 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29959         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
29960         bug in strncpy/strncat.
29961         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
29963 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
29965         * string/tester.c (test_strcat): Add tests for different alignments
29966         of source and destination.
29967         (test_strncat): Likewise.
29969 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29971         [BZ #12852]
29972         * posix/glob.c (glob): Check passed in values before using them in
29973         expressions to avoid some overflows.
29974         (glob_in_dir): Likewise.
29976         [BZ #13007]
29977         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
29978         check for AVX enablement so that we don't crash with old kernels and
29979         new hardware.
29980         * elf/tst-audit4.c: Add same checks here.
29981         * elf/tst-audit6.c: Likewise.
29983         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
29985 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
29987         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
29989 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
29991         * po/cs.po: Update from translation team.
29992         * po/bg.po: Likewise.
29994 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
29996         * misc/sys/cdefs.h: Add support for const attribute.
29997         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
29998         to gnu_dev_{major,minor,makedev} functions.
30000 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30002         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30004 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30006         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30007         strlen results.
30009 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30012         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30013         register in order to avoid conflicts with the soft frame pointer
30014         being held in r11 when necessary.
30015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30016         (INTERNAL_VSYSCALL_NCS): Likewise.
30018 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30020         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30021         * elf/dl-fini.c (_dl_fini): Adjust caller.
30022         * elf/dl-close.c (_dl_close_worker): Likewise.
30023         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30025 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30027         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30028         "aux_cache->nlibs < 0".
30030         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30031         in the reload-count case.
30033 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30036         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30037         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30038         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30039         * sysdeps/x86_64/multiarch/strcat.S: New file.
30040         * sysdeps/x86_64/multiarch/strncat.S: New file.
30041         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30042         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30043         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30044         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30045         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30046         (USE_AS_STRCAT): Define.
30047         Add strcat and strncat support.
30048         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30049         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30050         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30051         * string/strncat.c: Update.
30052         (USE_AS_STRNCAT): Define.
30053         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30054         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30055         and i7.
30056         * sysdeps/x86_64/multiarch/init-arch.h
30057         (bit_Prefer_PMINUB_for_stringop): New.
30058         (index_Prefer_PMINUB_for_stringop): Likewise.
30059         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30060         bit_Prefer_PMINUB_for_stringop.
30062 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30064         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30065         buffer64.
30066         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30067         of casting of buffer.
30068         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30069         buffer32 and buffer64.
30070         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30071         writes instead of casting of buffer.
30072         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30073         buffer32.
30074         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30075         casting of buffer.
30077 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30079         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30081 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30083         * nscd/nscd.c (termination_handler): Don't do anything for a database
30084         if it has not yet been initialized.
30086 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30088         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30090 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30092         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30094 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30096         * po/nl.po: Update from translation team.
30097         * po/sv.po: Likewise.
30099 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30101         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30102         now disallowed by GCC.
30104         * configure.in (use-default-link): Default to yes if a test -shared
30105         link meets our qualifications.
30106         * configure: Regenerated.
30108         * config.make.in (output-format): New variable.
30109         * configure.in: Check for ld --print-output-format support.
30110         * configure: Regenerated.
30111         * Makerules ($(common-objpfx)format.lds)
30112         [$(output-format) != unknown]: Just use $(output-format),
30113         instead of the linker-script munging.
30115 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30117         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30118         of $(common-objpfx)shlib.lds.
30119         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30121         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30122         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30124         * configure.in (-z relro check): Adjust test code to add a large
30125         writable data section after it.
30126         * configure: Regenerated.
30128 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30130         * configure.in (-z relro check): Fix test code to make the variable
30131         truly const.
30132         * configure: Regenerated.
30134 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30136         * nscd/nscd.h (struct traced_file): Define.
30137         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30138         elements.  Add traced_files.
30139         (inotify_fd): Declare.
30140         (register_traced_file): Declare.
30141         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30142         (inotify_fd): Export.
30143         (resolv_conf_descr): Remove.
30144         (nscd_init): Move inotify descriptor creation to main.
30145         Don't register files for notification here.
30146         (register_traced_file): New function.
30147         (invalidate_cache): Don't use reset_res to determine whether to call
30148         res_init, go through the list of registered files.
30149         (main_loop_poll): The inotify descriptors are now stored in the
30150         structures for the traced files.
30151         (main_loop_epoll): Likewise
30152         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30153         to __nss_disable_nscd.
30154         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30155         for a database anymore.  Check the records for all the registered
30156         files instead.
30157         * nss/Makefile (libnss_files-routines): Add files-init.
30158         (libnss_db-routines): Add db-init.
30159         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30160         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30161         * nss/nss_db/db-init.c: New file.
30162         * nss/nss_files/files-init.c: New file.
30163         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30164         __nss_lookup_function.
30165         (__nss_lookup_function): Call nss_load_library.
30166         (nss_load_all_libraries): New function.
30167         (__nss_disable_nscd): Take parameter with callback function for files
30168         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30169         used for the cached services.
30170         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30171         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30172         options for features to all the files in nscd.
30174         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30176 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30178         * csu/elf-init.c (__libc_csu_init): Comment typo.
30180 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30182         * po/pl.po: Update from translation team.
30183         * po/ja.po: Likewise.
30184         * po/ru.po: Likewise.
30185         * po/ko.po: Likewise.
30186         * po/fr.po: Likewise.
30188 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30190         * configure.in (.ctors/.dtors header and trailer check):
30191         Use an empirical test on a built program.
30192         * configure: Regenerated.
30194         * configure.in (-z relro check): Use an empirical test on a built DSO.
30195         Detect, but do not require, on ia64.
30196         * configure: Regenerated.
30198         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30199         Update tests that use readelf to use $READELF instead.
30200         * configure: Regenerated.
30202 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30204         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30205         if the result is not used.
30207 2011-07-05  Andreas Jaeger  <aj@suse.de>
30209         [BZ#9696]
30210         * stdlib/tst-strtod.c: Add testcase.
30212 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30214         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30215         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30216         The latter has a higher limit.  Take additional parameter to pass to
30217         the new function.
30218         (__pathconf): Pass file to __statfs_link_max.
30219         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30220         __statfs_link_max.
30221         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30222         __statfs_link_max.
30224         [BZ #12868]
30225         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30226         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30227         Handle Lustre.
30228         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30229         (__statfs_filesize_max): Likewise.
30230         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30232 2011-07-05  Andreas Jaeger  <aj@suse.de>
30234         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30236 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30238         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30239         `status' variable.
30240         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30241         Likewise.
30243 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30245         * Makefile (strop-tests): Add strncat.
30246         * string/test-strncat.c: New file.
30248 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30250         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30252 2011-06-21  Andreas Jaeger  <aj@suse.de>
30254         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30255         Copy rule from iconvdata/Makefile.
30257 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30259         [BZ #12922]
30260         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30261         but no long options are defined, just return 'W'.
30263 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30265         [BZ #9696]
30266         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30268 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30270         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30271         netgroups to read.
30272         (innetgr): Likewise.
30274 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30276         * config.make.in (install_root): Default to $(DESTDIR).
30278 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30280         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30282 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30284         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30286         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30287         containing directory rather than embedding absolute directory names.
30289         * scripts/check-local-headers.sh: Rewritten using awk.
30290         Match by word, not by line.  Print error messages for matches.
30291         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30293         * Makerules [shlib-lds-flags empty]:
30294         ($(common-objpfx)libc_pic.opts): New target.
30295         ($(common-objpfx)libc_pic.os.clean): New target.
30296         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30298         * config.make.in (OBJCOPY): New variable.
30299         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30300         * configure: Regenerated.
30302         * config.make.in (use-default-link): New variable.
30303         * configure.in (use_default_link): Grok --with-default-link to set it.
30304         * configure: Regenerated.
30305         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30306         (shlib-lds, shlib-lds-flags): Define to empty.
30308         * Makerules (shlib-lds): New variable.
30309         (shlib-lds-flags): New variable.
30310         (build-shlib, build-moduile, build-module-asneeded): Use it.
30311         ($(common-objpfx)libc.so): Use $(shlib-lds).
30312         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30313         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30315         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30316         DT_FLAGS/DT_FLAGS_1 with zero flags.
30318         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30319         linker script munging.
30321 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30323         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30324         as 128-bit value.
30325         * crypt/sha512.c (sha512_process_block): Perform total addition using
30326         128-bit if possible.
30327         (__sha512_finish_ctx): Likewise.
30328         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30329         as 64-bit value.
30330         * crypt/sha256.c (SWAP64): Define.
30331         (sha256_process_block): Perform total addition using 64-bit if
30332         possible.
30333         (__sha256_finish_ctx): Likewise.
30335 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30337         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30338         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30339         * nscd/hstcache.c (cache_addhst): Likewise.
30340         * nscd/grpcache.c (cache_addgr): Likewise.
30341         * nscd/aicache.c (addhstaiX): Likewise
30342         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30344 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30346         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30347         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30348         * nscd/hstcache.c (cache_addhst): Likewise.
30349         * nscd/grpcache.c (cache_addgr): Likewise.
30350         * nscd/aicache.c (addhstaiX): Likewise
30352 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30354         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30355         domain only when needed.
30357 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30360         is always restored.
30362 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30364         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30365         are re-adding the entry.
30366         * nscd/servicescache.c (cache_addserv): Likewise.
30368 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30370         * sysdeps/generic/dl-irel.h: fix protection against multiple
30371         inclusions.
30372         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30374 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30376         [BZ #12935]
30377         * malloc/memusage.sh: Fix quoting in message.
30378         * debug/xtrace.sh: Likewise.
30380         * configure.in: Remove support for --experimental-malloc option, make
30381         it the default.
30382         * config.make.in: Likewise.
30383         * malloc/Makefile: Likewise.
30385 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30387         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30388         two-byte characters.
30390 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30392         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30393         AC_CACHE_CHECK invocation.
30394         * configure: Regenerated.
30396         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30398 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30400         [BZ #12350]
30401         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30402         bit from old_res_options.
30404         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30406         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30407         value type for setfct.
30409 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30411         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30412         __gettimeofday instead of gettimeofday.
30414 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30416         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30418 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30420         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30422         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30423         info.
30425 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30427         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30428         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30429         strcpy-sse2-unaligned strncpy-sse2-unaligned
30430         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30431         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30432         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30433         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30434         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30435         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30436         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30437         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30438         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30439         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30440         (STRCPY): Support SSE2 and SSSE3 versions.
30442 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30444         [BZ #12874]
30445         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30446         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30447         kernels which artificially limit size of requests.
30449 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30451         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30452         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30453         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30454         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30455         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30456         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30457         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30458         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30459         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30460         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30461         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30462         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30463         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30464         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30465         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30466         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30467         Enable unaligned load optimization for Intel Core i3, i5 and i7
30468         processors.
30469         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30470         Define.
30471         (index_Fast_Unaligned_Load): Define.
30472         (HAS_FAST_UNALIGNED_LOAD): Define.
30474 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30476         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30478 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30480         [BZ #12907]
30481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30482         until it is clear that the information is realy needed.
30483         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30485 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30489 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30491         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30492         /sys/devices/system/cpu/online if it is usable.
30494         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30495         reading the information from the /proc filesystem to once a second.
30497 2011-06-21  Andreas Jaeger  <aj@suse.de>
30499         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30500         NULL after inclusion of kernel headers.
30502 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30504         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30505         calls to internal_setent.
30507         [BZ #12885]
30508         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30509         addresses using gethostbyname4_r ignore IPv4 addresses.
30511         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30512         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30514         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30516 2011-06-20  David S. Miller  <davem@davemloft.net>
30518         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30519         inclusions.
30520         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30522         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30523         (elf_irel): Use it.
30524         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30525         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30526         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30527         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30528         * sysdeps/x86_64/dl-irel.h: Likewise.
30530         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30531         * elf/dl-sym.c: Likewise.
30533 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30535         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30536         need to dereference resplen2.
30538 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30540         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30542 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30544         * Makeconfig: Define vardbdir and inst_vardbdir.
30545         * nss/Makefile: Add rules to install db-Makefile.
30547         * nss/nss_db/db-XXX.c: Cleanup.
30549         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30550         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30551         GLIBC_PRIVATE.
30552         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30553         * nss/makedb.c: Implement -g option to specify that value strings
30554         are generated and should not be added to table iterated over for
30555         get*ent calls.
30556         * nss/nss_db/db-initgroups.c: New file.
30558         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30559         interface.
30561         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30562         (internal_getgrouplist): Adjust to name change.
30563         Update use_initgroups_entry if this is not the first call.
30564         * nss/databases.def: Add initgroups entry.
30566         * nss/makedb.c (compute_tables): Check result of multiple hash table
30567         sizes to minimize maximum chain length.
30569 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30571         * Versions.def: Add entry for libnss_db.
30572         * shlib-versions: Likewise.
30573         * nss/Makefile: Add rules to build libnss_db.
30574         * nss/Versions: Add libnss_db information.  Organize libnss_files
30575         entries better.
30576         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30577         makedb progra.  Some minor improvements to generate smaller files.
30578         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30579         here from...
30580         * nss/makedb.c: ...here.
30581         Improve database format to be smaller and require less memory at
30582         runtime.
30583         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30584         db anymore.
30585         * nss/nss_db/db-netgrp.c: Likewise.
30586         * nss/nss_db/db-open.c: Likewise.
30587         * nss/nss_files/flies-XXX.x: Adjust comments.
30588         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30589         * nss/nss_files/files-grp.c: Likewise.
30590         * nss/nss_files/files-hosts.c: Likewise.
30591         * nss/nss_files/files-network.c: Likewise.
30592         * nss/nss_files/files-proto.c: Likewise.
30593         * nss/nss_files/files-pwd.c: Likewise.
30594         * nss/nss_files/files-rpc.c: Likewise.
30595         * nss/nss_files/files-service.c: Likewise.
30596         * nss/nss_files/files-sgrp.c: Likewise.
30597         * nss/nss_files/files-spwd.c: Likewise.
30598         * nss/nss_db/db-alias.c: Removed.
30599         * nss/nss_db/dummy-db.h: Removed.
30601 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30603         * nss/makedb.c: Rewritten to not use database library.
30604         * nss/Makefile: Update to build new makedb program.
30606 2011-06-14  Andreas Jaeger  <aj@suse.de>
30608         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30609         memset declaration.
30611 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30613         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30614         tmpbuf.
30616 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30618         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30619         * elf/Makefile ($(objpfx)ld.so): Likewise.
30621         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30622         Don't list ld.so twice in dependencies.
30624         * posix/bug-regex31.c: Include <stdlib.h>.
30626         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30628         * nis/nss_compat/compat-spwd.c
30629         (getspent_next_nss_netgr): Remove unused variable.
30630         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30632         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30633         nonmembers" output to use the right array.
30635         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30637         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30639         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30640         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30641         * catgets/gencat.c (read_input_file): Likewise.
30642         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30644         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30645         variable definition inside #if's controlling its use.
30647         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30649         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30651         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30653         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30654         unreachable code.
30656         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30658         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30659         * configure: Regenerated.
30661         * Makerules: Revert last change.
30662         * elf/Makefile: Likewise.
30664 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30666         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30667         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30668         (reloc-link): Likewise.
30670 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30672         * elf/Makefile: Add rules to build pldd.
30673         * elf/pldd.c: New file.
30674         * elf/pldd-xx.c: New file.
30676 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30678         * version.h: Update for 2.15 development version.
30680 2011-06-07  David S. Miller  <davem@davemloft.net>
30682         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30683         ifuncs.
30684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30685         elf_machine_lazy_rel): Likewise.
30686         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30687         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30688         elf_machine_lazy_rel): Likewise.
30689         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30690         dl_hwcap via passed in argument.
30691         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30692         Likewise.
30694 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30696         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30698 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30700         [BZ #12849]
30701         * manual/fdl-1.1.texi: New file, verbatim from:
30702         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30703         * manual/lgpl-2.1.texi: New file, verbatim from:
30704         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30705         * manual/Makefile (licenses): New variable, list those new file names.
30706         (texis): Use it.
30707         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30709         * manual/fdl.texi: File removed.
30710         * manual/lesser.texi: File removed.
30711         * manual/libc.texinfo (Copying, Documentation License):
30712         Use new @include file names, put @appendix directive before @include.
30714 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30716         [BZ #12841]
30717         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30718         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30719         (mq_open): Add __NTH.
30721 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30723         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30724         Assume Intel Core i3/i5/i7 processor if AVX is available.
30726 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30728         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30729         typo.
30731 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30733         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30734         memory.  Use alloca_account.  Fix memory leak when retrying.
30736 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30738         * version.h (RELEASE): Bump for 2.14 release.
30739         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30741         * config.make.in (RANLIB): Remove entry.
30743 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30745         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30746         (libc.pot): Work around missing support for .ksh extension in xgettext.
30748         [BZ #12684]
30749         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30750         if both request failed.
30751         (send_dg): In case of server errors clear resplen or *resplen2.
30753         [BZ #12454]
30754         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30755         when there are multiple maps.
30756         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30757         (_dl_fini): Remove test here.
30759         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30761 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30763         [BZ #12350]
30764         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30765         bit from old_res_options.
30766         (gaih_inet): Likewise.
30768         [BZ #11099]
30769         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30770         as signed.
30772         * resolv/res_init.c (res_setoptions): Make the code more compact.
30774         [BZ #11558]
30775         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30776         set RES_USEVC.
30778         [BZ #11634]
30779         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30781         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30783         [BZ #11781]
30784         * malloc/malloc.h: Declare malloc hook variables as volatile.
30786         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30787         in last patch.
30789         [BZ #11799]
30790         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30791         raise in the comment.
30792         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30793         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30794         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30796 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30798         [BZ #12811]
30799         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30800         grow the buffers more if it already has to be sufficient.
30801         (build_wcs_upper_buffer): Likewise.
30802         * posix/regexec.c (check_matching): Likewise.
30803         (clean_state_log_if_needed): Likewise.
30804         (extend_buffers): Don't enlarge buffers beyond size of the input
30805         buffer.
30806         Patches mostly by Emil Wojak <emil@wojak.eu>.
30807         * posix/bug-regex32.c: New file.
30808         * posix/Makefile (tests): Add bug-regex32.
30810         * locale/findlocale.c (_nl_find_locale): Return right away if
30811         _nl_explode_name failed.
30812         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30814         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30816         * debug/xtrace.sh: Unify messages.
30817         * malloc/memusage.sh: Likewise.
30819         [BZ #12813]
30820         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30821         time symbol from vDSO.  Substitute with vsyscall if not available.
30822         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30823         __vdso_time.
30825         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30826         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30827         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30828         Add sendmmsg and internal_sendmmsg.
30829         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30830         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30831         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30833         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30834         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30835         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30837 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30839         [BZ #12813]
30840         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30841         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30842         available.
30843         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30844         __vdso_getcpu.
30846         [BZ #12814]
30847         * iconvdata/Makefile (tests): Add bug-iconv9.
30848         * iconvdata/bug-iconv9.c: New file.
30850 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30852         [BZ #12814]
30853         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
30855 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
30857         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30858         (struct user_regs_struct): Change intcs field back to cs.
30860 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
30862         * po/ja.po: Update from translation team.
30864 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
30866         [BZ #12795]
30867         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
30868         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
30870 2011-05-20  Andreas Schwab  <schwab@redhat.com>
30872         * stdlib/longlong.h: Update from GCC.
30874 2011-05-23  Andreas Schwab  <schwab@redhat.com>
30876         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
30877         parameter name.
30878         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
30879         Add parameter name.
30880         (__sysconf): Pass it down.
30882 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
30884         [BZ #12671]
30885         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
30886         some situations.
30887         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
30888         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
30889         add in in __libc_use_alloca calls.  Adjust callers.
30890         (glob): Use malloc in some situations.
30892         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
30893         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
30894         pltexit.
30896 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
30898         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
30899         and CLOCK_BOOTTIME_ALARM.
30901         [BZ #12782]
30902         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
30903         is returned.
30905         * string/_strerror.c (__strerror_r): Print negative errors as signed
30906         numbers.
30908         [BZ #12777]
30909         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
30910         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
30911         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
30913         * configure.in: Fix typo in redirection and correct removal of test
30914         files in two cases.
30916         [BZ #12788]
30917         * locale/setlocale.c (new_composite_name): Fix test to check for
30918         identical name of all categories.
30920         [BZ #12792]
30921         * libio/filedoalloc.c (local_isatty): New function.
30922         (_IO_file_doallocate): Use local_isatty.
30923         * stdio-common/perror.c (perror): In case a new stream is used
30924         forward the stream error.
30925         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
30926         error flag.
30928 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
30930         [BZ #11869]
30931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
30932         alloca.
30933         * include/alloca.h (extend_alloca_account): Define.
30935         [BZ #11857]
30936         * posix/regex.h: Fix comments with documentation of user-accessible
30937         fields after compilation and describe correct free'ing of pattern
30938         after re_compile_pattern.
30939         Patch by Reuben Thomas <rrt@sc3d.org>.
30941 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
30943         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
30944         and -mno-altivec to prevent the compiler from using Altivec and/or
30945         VSX instructions when the corresponding registers are not available.
30947 2011-05-19  Andreas Schwab  <schwab@redhat.com>
30949         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
30951 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
30953         * libio/freopen.c (freopen): Use __dup2, not dup2.
30954         * libio/freopen64.c (freopen64): Likewise.
30956 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30958         [BZ #12775]
30959         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
30960         * math/Makefile (tests): Add test-powl.
30961         (CFLAGS-test-powl.c): Define.
30962         * math/test-powl.c: New file.
30964 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30966         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
30968 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
30970         [BZ #11837]
30971         * iconvdata/gb18030.c: Update to GB18020-2005.
30973 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
30975         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
30976         RE_SYNTAX_POSIX_AWK): Update to match recent development.
30977         Patch by Aharon Robbins <arnold@skeeve.com>.
30979         [BZ #11892]
30980         * stdlib/putenv.c (putenv): Don't always create copy of the variable
30981         on the stack.
30983         [BZ #11895]
30984         * misc/pselect.c (__pselect): Handle timeout value errors hidden
30985         through underflows.
30987         [BZ #12766]
30988         * misc/error.c (error_at_line): Ensure file_name and old_file_name
30989         point to strings before performing equality test for error_one_per_line
30990         mode.
30992         [BZ #11697]
30993         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
30995         [BZ #11820]
30996         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
30997         (struct user_fpregs_struct): Avoid __uint*_t types.
30999         [BZ #6420]
31000         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31001         symbol info.  Use it instead of calling _dl_addr locally.
31002         (lock_and_info): New function.
31003         (tr_freehook): Call lock_and_info and pass symbol info as additional
31004         parameter to tr_where.
31005         (tr_mallochook): Likewise.
31006         (tr_reallochook): Likewise.
31007         (tr_memalignhook): Likewise.
31009         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31010         used and couldn't be at all thread-safe.
31012 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31014         * libio/freopen.c (freopen): Don't close old file descriptor
31015         before the new one is opened.  Instead dup the new file descriptor
31016         to the old one after the new stream is created.
31017         * libio/freopen64.c (freopen64): Likewise.
31018         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31019         * libio/fileops.c (_IO_new_file_close_it): Handle new
31020         _IO_FLAGS2_NOCLOSE flag.
31021         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31022         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31023         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31024         _IO_FLAGS2_NOCLOSE flag.
31025         * include/unistd.h: Add hidden_proto for dup3.
31026         Define __have_dup3.
31027         * io/dup3.c: Define hidden symbol.
31028         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31030         [BZ #7101]
31031         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31032         when an incomplete long option is used.
31033         * posix/tst-getopt_long1.c: New file.
31034         * posix/Makefile (tests): Add tst-getopt_long1.
31036         [BZ #10138]
31037         * scripts/config.guess: Update from autoconf-2.68.
31038         * scripts/config.sub: Likewise.
31040         [BZ #10157]
31041         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31042         tests into ...
31043         (has_cpuclock): ...this.  New function.
31044         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31045         macro here based on has_cpuclock code.
31047         [BZ #10149]
31048         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31049         First byte (not low byte) is now always NUL.
31050         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31052         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31053         Use non-cancelable interfaces.
31055         [BZ #9809]
31056         * locale/iso-639.def: Add entry for Sorani.
31058         [BZ #11901]
31059         * include/stdlib.h: Move include protection to the right place.
31060         Define abort_msg_s.  Declare __abort_msg with it.
31061         * stdlib/abort.c (__abort_msg): Adjust type.
31062         * assert/assert.c (__assert_fail_base): New function.  Majority
31063         of code from __assert_fail.  Allocate memory for __abort_msg with
31064         mmap.
31065         (__assert_fail): Now call __assert_fail_base.
31066         * assert/assert-perr.c: Remove bulk of implementation.  Use
31067         __assert_fail_base.
31068         * include/assert.hL Declare __assert_fail_base.
31069         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31070         mmap.
31071         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31073 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31075         [BZ #11952]
31076         [BZ #12453]
31077         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31078         until all modules are registered in the DTV.
31079         * elf/Makefile: Add rules to build and run tst-tls19.
31080         * elf/tst-tls19.c: New file.
31081         * elf/tst-tls19mod1.c: New file.
31082         * elf/tst-tls19mod2.c: New file.
31083         * elf/tst-tls19mod3.c: New file.
31084         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31086         [BZ #12083]
31087         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31088         correctly.
31090         [BZ #12601]
31091         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31092         two-byte sequence errors.
31093         * iconvdata/Makefile (tests): Add bug-iconv8.
31094         * iconvdata/bug-iconv8.c: New file.
31096         [BZ #12626]
31097         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31098         buf2 definition.
31100         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31102         [BZ #12432]
31103         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31104         (dummy_getcfa): New function.
31105         (init): Get _Unwind_GetCFA address, use dummy if not found.
31106         (backtrace_helper): In recursion check, also check whether CFA changes.
31107         (__backtrace): Completely initialize arg.
31109         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31110         storing incomplete byte sequence in state object.  Avoid testing for
31111         guaranteed too small input if we know there is enough data available.
31113 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31115         * Makeconfig (+link-pie): Indent.
31116         * Rules (binaries-pie): Define if $(have-fpie) and
31117         $(build-shared).
31118         (binaries-shared): Also filter out $(binaries-pie).
31119         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31120         * nscd/Makefile (others-pie): Add nscd.
31121         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31122         ($(objpfx)nscd): Remove command override.
31123         * login/Makefile (others-pie): Add pt_chown.
31124         ($(objpfx)pt_chown): Remove command override.
31125         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31126         remove command overrides.
31128 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31130         * libio/tst_putwc.c: Fix error messages.
31132         [BZ #12724]
31133         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31134         currently writing and seek to current position when not.
31135         * libio/Makefile (tests): Add bug-fclose1.
31136         * libio/bug-fclose1.c: New file.
31138 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31140         [BZ #12511]
31141         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31142         don't set DF_1_NODELETE here.
31143         (do_lookup_x): When entering new entry test for copy relocation
31144         and if necessary set DF_1_NODELETE flag.
31145         * elf/tst-unique4.cc: New file.
31146         * elf/tst-unique4.h: New file.
31147         * elf/tst-unique4lib.cc: New file.
31148         * elf/Makefile: Add rules to build and run tst-unique4.
31149         Patch by Piotr Bury <pbury@goahead.com>.
31151 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31153         [BZ #12052]
31154         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31156         [BZ #12625]
31157         * misc/mntent_r.c (addmntent): Flush the stream after the output
31159         [BZ #12393]
31160         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31161         (is_trusted_path_normalize): Skip initial colon.  Append slash
31162         to empty buffer.  Duplicate is_trusted_path code but allow
31163         constructed patch to be prefix.
31164         (is_dst): Allow $ORIGIN followed by /.
31165         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31166         Correct testing of result of is_trusted_path_normalize
31167         (decompose_rpath): Fix warning.
31169 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31171         [BZ #11257]
31172         * grp/initgroups.c (internal_getgrouplist): When we found the service
31173         list through the initgroups entry in nsswitch.conf do not always
31174         continue on a successful lookup.  Don't always use the
31175         __nss_group_database value if it is set.
31176         * nss/nsswitch.conf (initgroups): Change action for successful db
31177         lookup to continue for compatibility.
31179 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31181         [BZ #11532]
31182         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31183         and CP774 modules.
31184         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31185         and CP774 modules.
31186         * iconvdata/tst-tables.sh: Likewise.
31187         * iconvdata/cp770.c: New file.
31188         * iconvdata/cp771.c: New file.
31189         * iconvdata/cp772.c: New file.
31190         * iconvdata/cp773.c: New file.
31191         * iconvdata/cp774.c: New file.
31192         * iconvdata/testdata/CP770: New file.
31193         * iconvdata/testdata/CP770..UTF8: New file.
31194         * iconvdata/testdata/CP771: New file.
31195         * iconvdata/testdata/CP771..UTF8: New file.
31196         * iconvdata/testdata/CP772: New file.
31197         * iconvdata/testdata/CP772..UTF8: New file.
31198         * iconvdata/testdata/CP773: New file.
31199         * iconvdata/testdata/CP773..UTF8: New file.
31200         * iconvdata/testdata/CP774: New file.
31201         * iconvdata/testdata/CP774..UTF8: New file.
31203         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31204         END CHARMAP line.
31205         * iconvdata/gen-8bit-gap.sh: Likewise.
31206         * iconvdata/gen-8bit.sh: Likewise.
31208         * locale/iso-639.def: Add ary entry.
31210         [BZ #11258]
31211         * locale/C-translit.h.in: Add U20A1 transliteration.
31213         [BZ #12178]
31214         * locale/iso-639.def: Add wae entry.
31215         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31217         [BZ #12545]
31218         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31219         for n.
31221         [BZ #12711]
31222         * locale/C-translit.h.in: Add entry for U20B9.
31223         Patch by pravin.d.s@gmail.com.
31225 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31227         [BZ #12713]
31228         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31229         ENAMETOOLONG use generic getcwd.
31230         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31231         in rtld.  Use *stat64.
31232         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31233         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31234         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31235         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31236         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31237         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31238         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31239         __fstatat64 macros.
31240         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31241         * dirent/rewinddir.c: Add libc_hidden_def.
31242         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31243         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31245         * include/dirent.h (__alloc_dir): Add flags parameter.
31246         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31247         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31248         __alloc_dir.
31249         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31250         from fdopendir if O_CLOEXEC is already set.
31252 2011-03-15  Alan Modra  <amodra@gmail.com>
31254         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31255         l_tls_firstbyte_offset non-zero.  Save padding offset in
31256         l_tls_firstbyte_offset for later use.
31257         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31258         freeing static tls block.
31260 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31262         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31263         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31264         being defined by the kernel headers.
31266 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31268         [BZ #12734]
31269         * resolv/resolv.h: Define RES_NOTLDQUERY.
31270         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31271         no-tld-query and set RES_NOTLDQUERY.
31272         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31273         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31274         modern BIND to search name as TLD unless forbidden.
31276 2011-05-07  Petr Baudis  <pasky@suse.cz>
31277             Ulrich Drepper  <drepper@gmail.com>
31279         [BZ #12393]
31280         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31281         (is_trusted_path): ...to here.
31282         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31283         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31284         using is_trusted_path_normalize() in setuid scripts.
31286 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31288         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31289         __BEGIN/__END_DECLS.
31291 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31293         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31294         NSS_STATUS_NOTFOUND if no record was found.
31296 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31298         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31299         (headers-not-in-tirpc): Remove rpc/netdb.h
31300         * resolv/netdb.h: Revert last change.
31302 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31304         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31305         circular dependency between libgcc.a and libc.a.
31307 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31309         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31310         * nis/Makefile: Don't install rpcsvc/*.
31311         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31312         instead of <rpc/types.h>.
31313         (MAXHOSTNAMELEN): Define.
31315 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31317         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31319 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31321         [BZ #12714]
31322         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31323         gethostbyname4_r when IPv6 results are possible.
31325 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31327         [BZ #12723]
31328         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31329         _PC_PIPE_BUF handling.
31331 2011-04-30  Bruno Haible  <bruno@clisp.org>
31333         [BZ #12717]
31334         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31335         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31336         to 'int'.
31337         * inet/getnameinfo.c (getnameinfo): Likewise.
31339 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31341         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31342         to groups setting in database lookup.
31343         * nss/nsswitch.conf: Add initgroups entry.
31345 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31347         [BZ #12685]
31348         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31349         mode string.
31350         Patch by Eric Blake <eblake@redhat.com>.
31352 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31354         * sunrpc/Makefile (need-export-routines): Add svc_run.
31355         (routines): Remove svc_run.
31356         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31357         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31358         * sunrpc/svc_run.c (svc_run): Likewise.
31359         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31361 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31363         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31364         problem in reallocation in last patch.
31366 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31368         * sunrpc/Makefile: Move inclusion of Rules.
31370 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31372         * nss/nss_files/files-initgroups.c: New file.
31373         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31374         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31375         _nss_files_initgroups_dyn.
31377 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31379         * elf/elf.h (R_ARM_IRELATIVE): Define.
31381 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31383         * po/ru.po: Update from translation team.
31385 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31387         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31388         dependencies.
31390 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31392         [BZ #12653]
31393         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31394         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31395         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31396         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31397         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31399 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31401         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31402         differing bytes.
31403         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31404         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31407 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31409         [BZ #12420]
31410         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31411         storing it.
31412         * stdlib/bug-getcontext.c: New file.
31413         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31415 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31417         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31418         instructions into .machine "z9-109".
31419         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31420         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31422 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31424         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31425         between environment variables and auxiliary vector.
31427 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31429         * Makefile: Add rules to build linkobj/libc.so.
31430         * include/libc-symbols.h: Define libc_hidden_nolink.
31431         * include/rpc/auth.h: Mark functions which are to be hidden.
31432         * include/rpc/auth_des.h: Likewise.
31433         * include/rpc/auth_unix.h: Likewise.
31434         * include/rpc/clnt.h: Likewise.
31435         * include/rpc/des_crypt.h: Likewise.
31436         * include/rpc/key_prot.h: Likewise.
31437         * include/rpc/pmap_clnt.h: Likewise.
31438         * include/rpc/pmap_prot.h: Likewise.
31439         * include/rpc/pmap_rmt.h: Likewise.
31440         * include/rpc/rpc_msg.h: Likewise.
31441         * include/rpc/svc.h: Likewise.
31442         * include/rpc/svc_auth.h: Likewise.
31443         * include/rpc/xdr.h: Likewise.
31444         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31445         * nss/Makefile: Likewise.
31446         * sunrpc/Makefile: Don't install headers.  Build library with normal
31447         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31448         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31449         for the compat linking library.  Remove use of INTDEF/INTUSE.
31450         * sunrpc/auth_none.c: Likewise.
31451         * sunrpc/auth_unix.c: Likewise.
31452         * sunrpc/authdes_prot.c: Likewise.
31453         * sunrpc/authuxprot.c: Likewise.
31454         * sunrpc/clnt_gen.c: Likewise.
31455         * sunrpc/clnt_perr.c: Likewise.
31456         * sunrpc/clnt_raw.c: Likewise.
31457         * sunrpc/clnt_simp.c: Likewise.
31458         * sunrpc/clnt_tcp.c: Likewise.
31459         * sunrpc/clnt_udp.c: Likewise.
31460         * sunrpc/clnt_unix.c: Likewise.
31461         * sunrpc/des_crypt.c: Likewise.
31462         * sunrpc/des_soft.c: Likewise.
31463         * sunrpc/get_myaddr.c: Likewise.
31464         * sunrpc/key_call.c: Likewise.
31465         * sunrpc/key_prot.c: Likewise.
31466         * sunrpc/netname.c: Likewise.
31467         * sunrpc/pm_getmaps.c: Likewise.
31468         * sunrpc/pm_getport.c: Likewise.
31469         * sunrpc/pmap_clnt.c: Likewise.
31470         * sunrpc/pmap_prot.c: Likewise.
31471         * sunrpc/pmap_prot2.c: Likewise.
31472         * sunrpc/pmap_rmt.c: Likewise.
31473         * sunrpc/publickey.c: Likewise.
31474         * sunrpc/rpc_cmsg.c: Likewise.
31475         * sunrpc/rpc_common.c: Likewise.
31476         * sunrpc/rpc_dtable.c: Likewise.
31477         * sunrpc/rpc_prot.c: Likewise.
31478         * sunrpc/rpc_thread.c: Likewise.
31479         * sunrpc/rtime.c: Likewise.
31480         * sunrpc/svc.c: Likewise.
31481         * sunrpc/svc_auth.c: Likewise.
31482         * sunrpc/svc_authux.c: Likewise.
31483         * sunrpc/svc_raw.c: Likewise.
31484         * sunrpc/svc_run.c: Likewise.
31485         * sunrpc/svc_simple.c: Likewise.
31486         * sunrpc/svc_tcp.c: Likewise.
31487         * sunrpc/svc_udp.c: Likewise.
31488         * sunrpc/svc_unix.c: Likewise.
31489         * sunrpc/svcauth_des.c: Likewise.
31490         * sunrpc/xcrypt.c: Likewise.
31491         * sunrpc/xdr.c: Likewise.
31492         * sunrpc/xdr_array.c: Likewise.
31493         * sunrpc/xdr_float.c: Likewise.
31494         * sunrpc/xdr_intXX_t.c: Likewise.
31495         * sunrpc/xdr_mem.c: Likewise.
31496         * sunrpc/xdr_rec.c: Likewise.
31497         * sunrpc/xdr_ref.c: Likewise.
31498         * sunrpc/xdr_sizeof.c: Likewise.
31499         * sunrpc/xdr_stdio.c: Likewise.
31501 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31503         [BZ #12650]
31504         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31505         * sysdeps/ia64/dl-tls.h: Likewise.
31506         * sysdeps/powerpc/dl-tls.h: Likewise.
31507         * sysdeps/s390/dl-tls.h: Likewise.
31508         * sysdeps/sh/dl-tls.h: Likewise.
31509         * sysdeps/sparc/dl-tls.h: Likewise.
31510         * sysdeps/x86_64/dl-tls.h: Likewise.
31511         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31513 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31515         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31516         rpath element also skip the following colon.
31517         (expand_dynamic_string_token): Add is_path parameter and pass
31518         down to DL_DST_REQUIRED and _dl_dst_substitute.
31519         (decompose_rpath): Call expand_dynamic_string_token with
31520         non-zero is_path.  Ignore empty rpaths.
31521         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31522         with zero is_path.
31524 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31527         Make cancelable.
31529 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31531         [BZ #12655]
31532         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31533         Patch by Filipe David Manana <fdmanana@apache.org>.
31535 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31537         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31538         Maintain aligned stack.
31539         (CHECK_RSP): Remove unused macro.
31541 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31543         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31544         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31546 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31548         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31550         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31552 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31554         [BZ #12518]
31555         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31556         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31557         * sysdeps/x86_64/memmove.c: New file.
31558         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31559         (memcpy): Renamed to ...
31560         (__new_memcpy): This.
31561         (memcpy): Provide GLIBC_2_14 memcpy.
31562         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31563         (memcpy): Provide GLIBC_2_2_5 memcpy.
31565 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31567         [BZ #12631]
31568         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31570 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31572         * misc/syncfs.c: New file.
31573         * misc/Makefile (routines): Add syncfs.
31574         * posix/unistd.h: Declare syncfs.
31575         * sysdeps/unix/syscalls.list: Add syncfs.
31577 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31579         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31580         open_by_handle_at.
31581         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31582         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31583         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31584         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31585         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31586         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31587         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31589 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31591         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31592         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31593         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31594         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31595         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31596         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31599         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31600         sync_file_range.c with -fexceptions.
31601         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31602         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31603         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31604         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31605         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31606         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31608         sync_file_range as cancellation point
31609         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31610         now a wrapper around __call_sync_file_range with cancellation handling.
31611         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31612         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31613         function name to __call_sync_file_range.
31614         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31615         Add call_sync_file_range.
31617 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31619         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31620         bits/timex.h.
31622 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31624         * iconv/iconv.h: Fix typo in comment.
31625         * io/fcntl.h: Likewise.
31626         * libio/stdio.h: Likewise.
31627         * posix/spawn.h: Likewise.
31628         * posix/unistd.h: Likewise.
31629         * stdlib/stdlib.h: Likewise.
31630         * time/time.h: Likewise.
31631         * wcsmbs/wchar.h: Likewise.
31633         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31634         open_by_handle): Add.
31635         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31636         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31637         Augment a few comments.
31638         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31640         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31642         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31643         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31644         open_by_handle.
31646         * io/fcntl.h (AT_EMPTY_PATH): Define.
31648 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31650         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31651         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31652         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31653         to...
31654         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31655         * Versions.def: Add GLIBC_2.14.
31656         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31657         Export.
31659 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31661         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31662         round counter.
31663         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31665 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31667         [BZ #12597]
31668         * string/test-strncmp.c (do_page_test): New function.
31669         (check2): Likewise.
31670         (test_main): Call check2.
31671         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31673 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31675         [BZ #12587]
31676         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31677         Handle cache information in CPU leaf 4.
31678         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31680 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31682         [BZ #12583]
31683         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31684         character representation.
31685         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31687 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31689         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31690         END(__isnan) to END(__isnanf) to match function entry point/label
31691         EALIGN(__isnanf,...).
31693 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31695         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31697 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31699         [BZ #12510]
31700         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31701         copy from the symbol referenced in the relocation to initialize the
31702         used variable.
31703         Patch by Piotr Bury <pbury@goahead.com>.
31704         * elf/Makefile: Add rules to build and tst-unique3.
31705         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31706         * elf/tst-unique3.cc: New file.
31707         * elf/tst-unique3.h: New file.
31708         * elf/tst-unique3lib.cc: New file.
31709         * elf/tst-unique3lib2.cc: New file.
31711         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31713 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31715         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31716         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31717         to _start.
31719 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31721         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31722         to-be-loaded object along a path to loader is ld.so.
31724 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31725             Ulrich Drepper  <drepper@gmail.com>
31727         * sysdeps/x86_64/memset.S: After aligning destination, code
31728         branches to different locations depending on the value of
31729         misalignment, when multiarch is enabled. Fix this.
31731 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31733         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31734         Set _x86_64_preferred_memory_instruction for AMD processsors.
31735         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31736         Set bit_Prefer_SSE_for_memop for AMD processors.
31738 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31740         * libio/fmemopen.c (fmemopen): Optimize a bit.
31742 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31744         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31746 2011-03-03  Roland McGrath  <roland@redhat.com>
31748         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31750 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31752         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31753         __bzero_ultra1 instead of __memset_ultra1.
31755 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31756             Ulrich Drepper  <drepper@gmail.com>
31758         [BZ #12509]
31759         * include/link.h (struct link_map): Add l_orig_initfini.
31760         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31761         returning unsuccessfully.
31762         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31763         close of a file loaded at startup, restore the original l_initfini
31764         list.
31765         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31766         list, store the pointer.
31767         * elf/Makefile ($(objpfx)noload-mem): New rule.
31768         (noload-ENV): Define.
31769         (tests): Add $(objpfx)noload-mem.
31770         * elf/noload.c: Include <memcheck.h>.
31771         (main): Call mtrace.  Close all opened handles.
31773 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31775         [BZ #12454]
31776         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31777         dependencies are missing.
31779 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31781         Fix __if_freereq crash: Unlike the generic version which uses free,
31782         Hurd needs munmap.
31783         * sysdeps/mach/hurd/ifreq.h: New file.
31785 2011-01-27  Petr Baudis  <pasky@suse.cz>
31786             Ulrich Drepper  <drepper@gmail.com>
31788         [BZ 12445]#
31789         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31790         to extend_alloca().
31791         * stdio-common/bug23.c: New file.
31792         * stdio-common/Makefile (tests): Add bug23.
31794 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31795             Ulrich Drepper  <drepper@gmail.com>
31797         [BZ #12489]
31798         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31799         before performing relro protection.  At old place add assertion
31800         to make sure nothing changed.
31802 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31803             Glauber de Oliveira Costa  <glommer@gmail.com>
31805         * elf/elf.h: Add new ARM TLS relocs.
31807 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31810         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31811         cast from r3.
31812         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31813         'tests' variable.
31814         * sysdeps/wordsize-64/tst-writev.c: New file.
31816 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31818         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31819         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31820         insns in _dl_start to prevent a TOC reference before relocs are
31821         resolved.
31823 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31825         [BZ #12469]
31826         * Makeconfig: Remove RANLIB definition.
31827         * Makerules: Don't use RANLIB.
31828         * aclocal.m4: Remove ranlib test.
31829         * configure.in: No need to check for ranlib.
31830         * elf/rtld-Rules: Don't use RANLIB.
31832 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31834         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31835         protection macro.
31836         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31837         inclusion protection macro.
31839         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31840         SIGRTMIN and SIGRTMAX and print information in that case only when
31841         SIGRTMIN is defined.
31843 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31845         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31846         arginfo fn returning -1.
31848         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31849         and thousands string is zero terminated.
31851 2011-02-03  Andreas Schwab  <schwab@redhat.com>
31853         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
31854         sysdeps/unix/sysv/linux/bits/socket.h.
31856 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31858         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
31859         (__CPU_COUNT): Remove old macros.
31860         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
31861         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
31862         (__CPU_ALLOC, __CPU_FREE): Add macros.
31863         (__sched_cpualloc, __sched_cpufree): Add declarations.
31865 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
31867         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
31868         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
31869         * nscd/aicache.c (addhstaiX): Return timeout of added value.
31870         (readdhstai): Return value of addhstaiX call.
31871         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
31872         (addgrbyX): Return value returned by cache_addgr.
31873         (readdgrbyname): Return value returned by addgrbyX.
31874         (readdgrbygid): Likewise.
31875         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
31876         (addpwbyX): Return value returned by cache_addpw.
31877         (readdpwbyname): Return value returned by addhstbyX.
31878         (readdpwbyuid): Likewise.
31879         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
31880         (addservbyX): Return value returned by cache_addserv.
31881         (readdservbyname): Return value returned by addservbyX:
31882         (readdservbyport): Likewise.
31883         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
31884         (addhstbyX): Return value returned by cache_addhst.
31885         (readdhstbyname): Return value returned by addhstbyX.
31886         (readdhstbyaddr): Likewise.
31887         (readdhstbynamev6): Likewise.
31888         (readdhstbyaddrv6): Likewise.
31889         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
31890         (readdinitgroups): Return value returned by addinitgroupsX.
31891         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
31892         (prune_cache): Keep track of timeout value of re-added entries.
31893         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
31894         * nscd/nscd.h: Adjust prototypes of readd* functions.
31896 2011-02-04  Roland McGrath  <roland@redhat.com>
31898         * nis/nis_server.c (nis_servstate): Use the right name for 0.
31899         (nis_stats): Likewise.
31900         * nis/nis_modify.c (nis_modify): Likewise.
31901         * nis/nis_remove.c (nis_remove): Likewise.
31902         * nis/nis_add.c (nis_add): Likewise.
31904         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
31906         * posix/fnmatch_loop.c: Add some consts.
31908         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
31910 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
31912         [BZ #12460]
31913         * config.make.in (config-cflags-novzeroupper): Define.
31914         * configure.in: Substitute libc_cv_cc_novzeroupper.
31915         * elf/Makefile (AVX-CFLAGS): Define.
31916         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
31917         (CFLAGS-tst-auditmod4a.c): Likewise.
31918         (CFLAGS-tst-auditmod4b.c): Likewise.
31919         (CFLAGS-tst-auditmod6b.c): Likewise.
31920         (CFLAGS-tst-auditmod6c.c): Likewise.
31921         (CFLAGS-tst-auditmod7b.c): Likewise.
31922         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
31924 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
31926         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
31927         function to the callback.
31928         Patch partly by Jiri Olsa <jolsa@redhat.com>.
31930 2011-02-02  Andreas Schwab  <schwab@redhat.com>
31932         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
31933         of errno.
31935 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
31937         [BZ #11724]
31938         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
31939         of constructors.
31940         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
31941         of destructors.
31942         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
31944         [BZ #11724]
31945         * elf/Makefile: Add rules to build and run new test.
31946         * elf/tst-initorder.c: New file.
31947         * elf/tst-initorder.exp: New file.
31948         * elf/tst-initordera1.c: New file.
31949         * elf/tst-initordera2.c: New file.
31950         * elf/tst-initordera3.c: New file.
31951         * elf/tst-initordera4.c: New file.
31952         * elf/tst-initorderb1.c: New file.
31953         * elf/tst-initorderb2.c: New file.
31954         * elf/tst-order-a1.c: New file.
31955         * elf/tst-order-a2.c: New file.
31956         * elf/tst-order-a3.c: New file.
31957         * elf/tst-order-a4.c: New file.
31958         * elf/tst-order-b1.c: New file.
31959         * elf/tst-order-b2.c: New file.
31960         * elf/tst-order-main.c: New file.
31961         New test case by George Gensure <werkt0@gmail.com>.
31963 2010-10-01  Andreas Schwab  <schwab@redhat.com>
31965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31966         decoding ACE if AI_CANONIDN.
31968 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
31970         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
31972 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
31974         * version.h (RELEASE): Bump for 2.13 release.
31975         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
31977         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
31979         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
31980         MADV_NOHUGEPAGE.
31981         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
31982         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31983         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31984         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31985         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31986         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
31988         * posix/getconf.c: Update copyright year.
31989         * catgets/gencat.c: Likewise.
31990         * csu/version.c: Likewise.
31991         * debug/catchsegv.sh: Likewise.
31992         * debug/xtrace.sh: Likewise.
31993         * elf/ldconfig.c: Likewise.
31994         * elf/ldd.bash.in: Likewise.
31995         * elf/sprof.c (print_version): Likewise.
31996         * iconv/iconv_prog.c: Likewise.
31997         * iconv/iconvconfig.c: Likewise.
31998         * locale/programs/locale.c: Likewise.
31999         * locale/programs/localedef.c: Likewise.
32000         * malloc/memusage.sh: Likewise.
32001         * malloc/mtrace.pl: Likewise.
32002         * nscd/nscd.c (print_version): Likewise.
32003         * nss/getent.c: Likewise.
32005         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32006         PF_CAIF, and PF_ALG.
32007         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32009 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32011         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32012         (modules-names): Use them.
32013         (ifunc-test-modules, ifunc-pie-tests): Define.
32014         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32015         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32016         (test-extras): Likewise.
32017         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32018         $(compile-command.c).
32019         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32020         (all-built-dso): Define.
32021         (check-textrel.out, check-execstack.out): Depend on it.
32023         * configure.in: Don't override --enable-multi-arch.
32025 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32027         [BZ #6812]
32028         * nscd/hstcache.c (tryagain): Define.
32029         (cache_addhst): Return tryagain not notfound for temporary errors.
32030         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32031         failed.
32033 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32035         [BZ #10563]
32036         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32037         to make the syscall.
32038         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32040         [BZ #12378]
32041         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32042         and fall back to matching as normal character if the string ends before
32043         the matching ']' is found.  This is what POSIX requires.
32044         * posix/testfnm.c: Adjust test result.
32045         * posix/globtest.sh: Adjust test result.  Add new test.
32046         * posix/tst-fnmatch.input: Likewise.
32047         * posix/tst-fnmatch2.c: Add new test.
32049 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32051         * elf/Makefile (check-execstack): Revert last change.  Depend on
32052         check-execstack.h.
32053         (check-execstack.h): New target.
32054         (generated): Add check-execstack.h.
32055         * elf/check-execstack.c: Include "check-execstack.h".
32056         (main): Revert last change.
32057         (handle_file): Return zero if GNU_STACK is absent and
32058         DEFAULT_STACK_PERMS doesn't include PF_X.
32060 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32062         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32063         in child fails because the descriptor is already closed.
32064         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32065         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32066         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32068         [BZ #12397]
32069         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32070         syscall.
32072         [BZ #10484]
32073         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32074         temporary buffer used to handle multi lookups locally.
32075         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32077 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32079         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32080         loader is ld.so.
32082 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32084         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32085         alignment for SSE2.
32087 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32089         [BZ #12394]
32090         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32091         characters.  When rounding increased number of integer digits recompute
32092         number of groups.
32093         * stdio-common/tst-grouping.c: New file.
32094         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32096 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32098         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32099         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32101         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32102         void.
32103         * bits/select.h: Likewise.
32105 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32107         * po/ja.po: Update from translation team.
32109 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32111         [BZ #11155]
32112         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32113         implementation just like for lxstat, fxstatat, et al.
32115 2010-12-27  Jim Meyering  <meyering@redhat.com>
32117         [BZ #12348]
32118         * posix/regexec.c (build_trtable): Return failure indication upon
32119         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32121 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32123         [BZ #12201]
32124         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32125         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32126         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32127         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32129         [BZ #12207]
32130         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32132         [BZ #12204]
32133         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32134         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32136 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32138         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32139         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32140         script has SORT_BY_INIT_PRIORITY.
32141         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32142         NO_CTORS_DTORS_SECTIONS is defined.
32143         * elf/soinit.c: Likewise.
32144         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32145         NO_CTORS_DTORS_SECTIONS is defined.
32146         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32147         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32148         * sysdeps/sh/init-first.c: Likewise.
32149         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32151 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32153         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32154         always use the slow path.
32156 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32158         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32159         similar rule which adds the sysdep directories to the header search in
32160         order to pick up the correct platform stackinfo.h.
32161         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32162         perform test if it is, otherwise return successfully without testing.
32163         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32164         DEFAULT_STACK_PERMS define in stackinfo.h.
32165         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32166         defined in stackinfo.h.
32167         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32168         DEFAULT_STACK_PERMS defined in stackinfo.h.
32169         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32170         * sysdeps/ia64/stackinfo.h: Likewise.
32171         * sysdeps/s390/stackinfo.h: Likewise.
32172         * sysdeps/sh/stackinfo.h: Likewise.
32173         * sysdeps/sparc/stackinfo.h: Likewise.
32174         * sysdeps/x86_64/stackinfo.h: Likewise.
32175         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32176         PF_X for powerpc64.  Retain PF_X for powerpc32.
32178 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32180         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32181         accurately.
32182         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32183         GETDENTS_64BIT_ALIGNED.
32185 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32187         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32189 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32191         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32192         _GNU_SOURCE.
32194         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32195         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32196         Remove __restrict.
32197         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32198         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32200 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32202         [BZ #11655]
32203         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32204         are initialized.
32206 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32208         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32210 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32212         * po/it.po: Update from translation team.
32214 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32217         unused codes.
32219 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32221         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32223 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32225         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32226         specially.
32227         (gaih_getanswer_slice): Likewise.
32229 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32231         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32233 2010-05-31  Petr Baudis  <pasky@suse.cz>
32235         [BZ #11149]
32236         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32237         silently even in the chroot mode.
32239 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32241         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32242         last patch a bit.  Pretty printing
32244 2010-05-31  Petr Baudis <pasky@suse.cz>
32246         [BZ #10085]
32247         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32248         initialization of skip_initgroups_dyn.
32250 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32252         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32253         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32255 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32257         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32259 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32261         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32262         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32263         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32264         ($(objpfx)tst-fnmatch-mem): New rule.
32265         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32266         * posix/tst-fnmatch.c (main): Call mtrace.
32268 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32271         Support Intel processor model 6 and model 0x2c.
32273 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32275         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32276           signed comparison.
32278 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32280         [BZ #12205]
32281         * string/test-strncasecmp.c (check_result): New function.
32282         (do_one_test): Use it.
32283         (check1): New function.
32284         (test_main): Use it.
32285         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32286         Support strcasecmp and strncasecmp.
32288 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32290         [BZ #12194]
32291         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32292         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32294 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32296         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32297         IFUNC support.
32298         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32299         memset-x86-64.
32300         * sysdeps/x86_64/multiarch/bzero.S: New file.
32301         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32302         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32303         * sysdeps/x86_64/multiarch/memset.S: New file.
32304         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32306         Set bit_Prefer_SSE_for_memop for Intel processors.
32307         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32308         Define.
32309         (index_Prefer_SSE_for_memop): Define.
32310         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32312 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32314         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32317 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32319         [BZ #12191]
32320         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32321         (__x86_64_raw_data_cache_size_half): Likewise.
32322         (__x86_64_raw_shared_cache_size): Likewise.
32323         (__x86_64_raw_shared_cache_size_half): Likewise.
32325         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32326         (__x86_64_raw_data_cache_size_half): Likewise.
32327         (__x86_64_raw_shared_cache_size): Likewise.
32328         (__x86_64_raw_shared_cache_size_half): Likewise.
32329         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32330         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32331         and __x86_64_raw_shared_cache_size_half.  Round
32332         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32333         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32334         to multiple of 256 bytes.
32336 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32338         [BZ #12167]
32339         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32340         of inacessible symlinks.  Verify result of symlink before returning it.
32341         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32342         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32344 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32346         * math/math.h (isinf): Fix typo in comment.
32348 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32350         * po/da.po: Update from translation team.
32352 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32354         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32355         is added to the list.
32357 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32358             Ulrich Drepper  <drepper@gmail.com>
32360         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32361         the global list here.  Move code to...
32362         (_dl_add_to_namespace_list): ...here.  New function.
32363         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32364         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32365         * elf/dl-load.c (lose): Don't remove the element from the list.
32366         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32367         (_dl_map_object): Likewise.
32369 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32371         [BZ #12159]
32372         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32373         into all bytes of SSE register.
32374         Patch by Richard Li <richardpku@gmail.com>.
32376 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32378         [BZ #12140]
32379         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32380         perturbing.
32382 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32384         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32385         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32386         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32387         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32389         submachine.
32390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32392 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32394         * include/dlfcn.h (__RTLD_SECURE): Define.
32395         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32396         mode & __RTLD_SECURE instead.
32397         (open_path): Rename preloaded parameter to secure.
32398         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32399         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32400         * elf/dl-deps.c (openaux): Likewise.
32401         * elf/rtld.c (struct map_args): Remove is_preloaded.
32402         (map_doit): Don't use it.
32403         (dl_main): Likewise.
32404         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32405         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32407 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32409         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32410         (sysd-rules-targets): Remove duplicates.
32411         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32412         rtld-%.$o dependency.
32414 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32416         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32417         _dl_map_object do it.
32419 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32421         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32422         fast fma builtins, define the macros in the C99 standard.
32423         (FP_FAST_FMAF): Likewise.
32424         (FP_FAST_FMAL): Likewise.
32425         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32427         * bits/mathdef.h: Update copyright year.
32428         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32430 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32432         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32433         builtins, define the macros in the C99 standard.
32434         (FP_FAST_FMAF): Likewise.
32435         (FP_FAST_FMAL): Likewise.
32436         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32437         multiply/add.
32438         (FP_FAST_FMAF): Likewise.
32440 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32442         [BZ #3268]
32443         * math/libm-test.inc (fma_test): Some new testcases.
32444         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32445         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32446         y and infinite z.  Do multiplication by C already in long double.
32447         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32449         y and infinite z.  Do bitwise or of inexact bit into u.d.
32450         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32451         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32452         * sysdeps/i386/fpu/s_fma.S: Removed.
32453         * sysdeps/i386/fpu/s_fmal.S: Removed.
32455 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32457         [BZ #3268]
32458         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32460         computation is not scheduled after fetestexcept.  Fix value
32461         of minimum denormal long double.
32463 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32465         [BZ #3268]
32466         * math/libm-test.inc (fma_test): Add some more tests.
32467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32468         correctly.
32470 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32472         * scripts/data/localplt-s390-linux-gnu.data: New file.
32473         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32475 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32477         [BZ #3268]
32478         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32479         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32480         instead of dbl-64.
32481         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32482         inlines.
32483         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32484         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32485         if one of x and y is very large and the other is subnormal.
32486         * sysdeps/s390/fpu/s_fmaf.c: New file.
32487         * sysdeps/s390/fpu/s_fma.c: New file.
32488         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32489         * sysdeps/powerpc/fpu/s_fma.S: New file.
32490         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32491         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32492         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32494 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32496         [BZ #3268]
32497         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32498         fma tests.
32499         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32500         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32501         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32502         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32503         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32504         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32507 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32509         [BZ #12078]
32510         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32511         * posix/bug-regex31.input: Add test case.
32513 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32515         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32516         * posix/bug-regex31.input: New file.
32518         [BZ #12078]
32519         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32520         (parse_sub_exp): Fix last change, use postorder.
32522         * posix/bug-regex31.c: New file.
32523         * posix/Makefile: Add rules to build and run bug-regex31.
32525         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32527         [BZ #12078]
32528         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32530         [BZ #12108]
32531         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32532         to have entries in sys_siglist.
32534         [BZ #12093]
32535         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32536         be NULL.
32538 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32540         [BZ #3268]
32541         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32542         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32543         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32544         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32545         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32546         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32547         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32548         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32549         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32550         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32551         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32552         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32553         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32554         * math/ftestexcept.c (fetestexcept): Likewise.
32555         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32556         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32557         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32558         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32559         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32560         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32561         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32563 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32565         [BZ #12107]
32566         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32567         newline.
32569 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32571         * string/bug-strstr1.c: New file.
32572         * string/Makefile: Add rules to build and run bug-strstr1.
32574 2010-10-05  Eric Blake  <eblake@redhat.com>
32576         [BZ #12092]
32577         * string/str-two-way.h (two_way_long_needle): Always clear memory
32578         when skipping input due to the shift table.
32580 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32582         [BZ #12005]
32583         * malloc/mcheck.c: Handle large requests.
32585         [BZ #12077]
32586         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32587         for strncmp and strncasecmp.
32588         * string/stratcliff.c: Add tests for strcmp and strncmp.
32589         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32591 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32593         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32594         __set_fpscr.
32596 2010-09-30  Andreas Jaeger  <aj@suse.de>
32598         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32599         (CGROUP_SUPER_MAGIC): Define.
32600         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32601         Handle btrfs and cgroup file systems.
32602         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32603         Likewise.
32605 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32607         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32608         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32610 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32612         [BZ #12067]
32613         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32614         trying to locate the ELF header.
32616 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32618         [BZ #11611]
32619         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32620         Mask out sign-bit copies when constructing f_fsid.
32622 2010-09-24  Petr Baudis <pasky@suse.cz>
32624         * debug/stack_chk_fail_local.c: Add missing licence exception.
32625         * debug/warning-nop.c: Likewise.
32627 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32629         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32630         implementing getdents64 using getdents syscall, set d_type if
32631         __ASSUME_GETDENTS32_D_TYPE.
32633 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32635         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32636         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32638 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32640         [BZ #12037]
32641         * posix/unistd.h: Undo change of feature selection for ftruncate from
32642         2010-01-11.
32644 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32646         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32647         detection.
32649 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32651         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32652         fanotify_mark.
32653         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32655 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32657         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32658         variables after CHECK_SP call.
32659         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32661 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32662             Ulrich Drepper  <drepper@redhat.com>
32664         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32665         re-relocationg ld.so.
32666         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32667         _dl_init_paths call.
32668         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32669         here anymore.
32671 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32673         * resolv/res_init.c (__res_vinit): Count the default server we added.
32675 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32676             Ulrich Drepper  <drepper@redhat.com>
32678         [BZ #11968]
32679         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32680         (____longjmp_chk): Use %ebx for saving value across system call.
32681         Add unwind info.
32683 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32685         * manual/Makefile: Don't mix pattern rules with normal rules.
32687 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32689         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32690         operation.
32691         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32692         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32693         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32694         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32695         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32696         Likewise.
32698 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32700         [BZ #11979]
32701         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32702         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32704 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32706         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32707         * sysdeps/x86_64/addmul_1.S: Likewise.
32708         * sysdeps/x86_64/lshift.S: Likewise.
32709         * sysdeps/x86_64/mul_1.S: Likewise.
32710         * sysdeps/x86_64/rshift.S: Likewise.
32711         * sysdeps/x86_64/sub_n.S: Likewise.
32712         * sysdeps/x86_64/submul_1.S: Likewise.
32714 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32716         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32717         Define __sched_param instead of SCHED_* and sched_param when
32718         <bits/sched.h> is included with __need_schedparam defined.
32719         * bits/sched.h [__need_schedparam]
32720         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32721         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32722         (__defined_schedparam): Define to 1.
32723         (__sched_param): New structure, identical to sched_param.
32724         (__need_schedparam): Undefine.
32726 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32728         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32729         (epoll_create1): Declare.
32731         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32733 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32735         [BZ #7066]
32736         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32737         shifting retval into place.
32739 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32741         * nis/rpcsvc/nis.h: Update copyright notice.
32742         * nis/rpcsvc/nis.x: Likewise.
32743         * nis/rpcsvc/nis_callback.h: Likewise.
32744         * nis/rpcsvc/nis_callback.x: Likewise.
32745         * nis/rpcsvc/nis_object.x: Likewise.
32746         * nis/rpcsvc/nis_tags.h: Likewise.
32747         * nis/rpcsvc/yp.h: Likewise.
32748         * nis/rpcsvc/yp.x: Likewise.
32749         * nis/rpcsvc/ypupd.h: Likewise.
32750         * nis/yp_xdr.c: Likewise.
32751         * nis/ypupdate_xdr.c: Likewise.
32753         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32754         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32755         (pmap_getport): Use __libc_rpc_getport.
32756         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32757         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32758         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32760 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32763         fanotify_mark.
32765 2010-08-27  Roland McGrath  <roland@redhat.com>
32767         * sysdeps/i386/i686/multiarch/Makefile
32768         (CFLAGS-varshift.c): New variable.
32770 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32772         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32773         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32775         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32777         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32779 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32781         * sysdeps/x86_64/strlen.S: Unroll the loop.
32782         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32783         strlen-sse2 strlen-sse2-bsf.
32784         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32785         __strlen_no_bsf if bit_Slow_BSF is set.
32786         (__strlen_sse42): Removed.
32787         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32788         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32790 2010-08-25  Roland McGrath  <roland@redhat.com>
32792         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32793         * sysdeps/x86_64/multiarch/varshift.c: New file.
32794         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32795         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32796         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32797         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32799 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32801         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32802         strlen-sse2 strlen-sse2-bsf.
32803         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32804         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32805         (__strlen_sse2): Removed.
32806         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32807         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32808         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32809         bit_Slow_BSF for Atom.
32810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32811         (index_Slow_BSF): Define.
32812         (HAS_SLOW_BSF): Define.
32814 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32816         [BZ #10851]
32817         * resolv/res_init.c (__res_vinit): When no server address at all
32818         is given default to loopback.
32820 2010-08-24  Roland McGrath  <roland@redhat.com>
32822         * configure.in: Remove config-name.h generation.
32823         * configure: Regenerated.
32824         * config-name.in: File removed.
32825         * scripts/config-uname.sh: New file.
32826         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32827         ($(objdir)config-name.h): New target.
32829         * sunrpc/rpc_parse.h: Avoid nested comment.
32831 2010-08-24  Richard Henderson  <rth@redhat.com>
32832             Ulrich Drepper  <drepper@redhat.com>
32833             H.J. Lu  <hongjiu.lu@intel.com>
32835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32836         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32837         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32838         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32839         _mm_alignr_epi8 with _mm_loadu_si128.
32840         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32841         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32842         (__m128i_shift_right): Removed.
32843         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32844         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32845         * sysdeps/x86_64/multiarch/varshift.h: New file.
32846         * sysdeps/x86_64/multiarch/varshift.S: New file.
32848 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32850         * configure.in: Move assembler checks to before sysdep dir checking.
32852 2010-08-20  Petr Baudis  <pasky@suse.cz>
32854         * LICENSES: Sync the sunrpc license.
32856 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
32858         * sunrpc/auth_des.c: Update copyright notice once again.
32859         * sunrpc/auth_none.c: Likewise.
32860         * sunrpc/auth_unix.c: Likewise.
32861         * sunrpc/authdes_prot.c: Likewise.
32862         * sunrpc/authuxprot.c: Likewise.
32863         * sunrpc/bindrsvprt.c: Likewise.
32864         * sunrpc/clnt_gen.c: Likewise.
32865         * sunrpc/clnt_perr.c: Likewise.
32866         * sunrpc/clnt_raw.c: Likewise.
32867         * sunrpc/clnt_simp.c: Likewise.
32868         * sunrpc/clnt_tcp.c: Likewise.
32869         * sunrpc/clnt_udp.c: Likewise.
32870         * sunrpc/clnt_unix.c: Likewise.
32871         * sunrpc/des_crypt.c: Likewise.
32872         * sunrpc/des_soft.c: Likewise.
32873         * sunrpc/get_myaddr.c: Likewise.
32874         * sunrpc/getrpcport.c: Likewise.
32875         * sunrpc/key_call.c: Likewise.
32876         * sunrpc/key_prot.c: Likewise.
32877         * sunrpc/openchild.c: Likewise.
32878         * sunrpc/pm_getmaps.c: Likewise.
32879         * sunrpc/pm_getport.c: Likewise.
32880         * sunrpc/pmap_clnt.c: Likewise.
32881         * sunrpc/pmap_prot.c: Likewise.
32882         * sunrpc/pmap_prot2.c: Likewise.
32883         * sunrpc/pmap_rmt.c: Likewise.
32884         * sunrpc/rpc/auth.h: Likewise.
32885         * sunrpc/rpc/auth_unix.h: Likewise.
32886         * sunrpc/rpc/clnt.h: Likewise.
32887         * sunrpc/rpc/des_crypt.h: Likewise.
32888         * sunrpc/rpc/key_prot.h: Likewise.
32889         * sunrpc/rpc/netdb.h: Likewise.
32890         * sunrpc/rpc/pmap_clnt.h: Likewise.
32891         * sunrpc/rpc/pmap_prot.h: Likewise.
32892         * sunrpc/rpc/pmap_rmt.h: Likewise.
32893         * sunrpc/rpc/rpc.h: Likewise.
32894         * sunrpc/rpc/rpc_des.h: Likewise.
32895         * sunrpc/rpc/rpc_msg.h: Likewise.
32896         * sunrpc/rpc/svc.h: Likewise.
32897         * sunrpc/rpc/svc_auth.h: Likewise.
32898         * sunrpc/rpc/types.h: Likewise.
32899         * sunrpc/rpc/xdr.h: Likewise.
32900         * sunrpc/rpc_clntout.c: Likewise.
32901         * sunrpc/rpc_cmsg.c: Likewise.
32902         * sunrpc/rpc_common.c: Likewise.
32903         * sunrpc/rpc_cout.c: Likewise.
32904         * sunrpc/rpc_dtable.c: Likewise.
32905         * sunrpc/rpc_hout.c: Likewise.
32906         * sunrpc/rpc_main.c: Likewise.
32907         * sunrpc/rpc_parse.c: Likewise.
32908         * sunrpc/rpc_parse.h: Likewise.
32909         * sunrpc/rpc_prot.c: Likewise.
32910         * sunrpc/rpc_sample.c: Likewise.
32911         * sunrpc/rpc_scan.c: Likewise.
32912         * sunrpc/rpc_scan.h: Likewise.
32913         * sunrpc/rpc_svcout.c: Likewise.
32914         * sunrpc/rpc_tblout.c: Likewise.
32915         * sunrpc/rpc_util.c: Likewise.
32916         * sunrpc/rpc_util.h: Likewise.
32917         * sunrpc/rpcinfo.c: Likewise.
32918         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
32919         * sunrpc/rpcsvc/key_prot.x: Likewise.
32920         * sunrpc/rpcsvc/klm_prot.x: Likewise.
32921         * sunrpc/rpcsvc/mount.x: Likewise.
32922         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
32923         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
32924         * sunrpc/rpcsvc/rex.x: Likewise.
32925         * sunrpc/rpcsvc/rstat.x: Likewise.
32926         * sunrpc/rpcsvc/rusers.x: Likewise.
32927         * sunrpc/rpcsvc/sm_inter.x: Likewise.
32928         * sunrpc/rpcsvc/spray.x: Likewise.
32929         * sunrpc/rpcsvc/yppasswd.x: Likewise.
32930         * sunrpc/rtime.c: Likewise.
32931         * sunrpc/svc.c: Likewise.
32932         * sunrpc/svc_auth.c: Likewise.
32933         * sunrpc/svc_authux.c: Likewise.
32934         * sunrpc/svc_raw.c: Likewise.
32935         * sunrpc/svc_run.c: Likewise.
32936         * sunrpc/svc_simple.c: Likewise.
32937         * sunrpc/svc_tcp.c: Likewise.
32938         * sunrpc/svc_udp.c: Likewise.
32939         * sunrpc/svc_unix.c: Likewise.
32940         * sunrpc/svcauth_des.c: Likewise.
32941         * sunrpc/xcrypt.c: Likewise.
32942         * sunrpc/xdr.c: Likewise.
32943         * sunrpc/xdr_array.c: Likewise.
32944         * sunrpc/xdr_float.c: Likewise.
32945         * sunrpc/xdr_mem.c: Likewise.
32946         * sunrpc/xdr_rec.c: Likewise.
32947         * sunrpc/xdr_ref.c: Likewise.
32948         * sunrpc/xdr_sizeof.c: Likewise.
32949         * sunrpc/xdr_stdio.c: Likewise.
32951         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
32952         handling.
32954 2010-08-19  Andreas Schwab  <schwab@redhat.com>
32956         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
32958 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
32960         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
32961         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
32962         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
32963         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
32964         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
32965         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
32966         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
32967         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
32968         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
32969         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
32970         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
32971         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
32972         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
32973         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
32975 2010-07-26  Anton Blanchard  <anton@samba.org>
32977         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
32978         * malloc/arena.c (heap_trim): Likewise.
32980 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
32982         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
32983         here.  Not...
32984         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
32985         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
32987 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
32989         * sysdeps/i386/elf/Makefile: New file.
32991 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
32993         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
32994         from fanotify_init.
32995         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
32996         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
32998 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33000         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33001         of strncasecmp_l.
33002         * sysdeps/multiarch/strcmp.S: Likewise.
33004 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33006         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33007         strncase_l-nonascii.
33008         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33009         Add strncase_l-ssse3.
33010         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33011         * sysdeps/x86_64/strcmp.S: Likewise.
33012         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33013         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33014         * sysdeps/x86_64/strncase.S: New file.
33015         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33016         * sysdeps/x86_64/strncase_l.S: New file.
33017         * string/Makefile (strop-tests): Add strncasecmp.
33018         * string/test-strncasecmp.c: New file.
33020         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33021         warning.
33023         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33024         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33026 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33028         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33030 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33032         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33033         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33034         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33036 2010-05-01  Alan Modra  <amodra@gmail.com>
33038         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33039         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33040         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33041         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33042         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33043         tidying.  Don't tail-call __sigjmp_save for static lib.
33044         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33045         save location.
33046         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33047         (CALL_MCOUNT): Add eh info, and nop after bl.
33048         (TAIL_CALL_SYSCALL_ERROR): New macro.
33049         (PSEUDO_RET): Use it.
33050         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33051         Correct save location of integer regs and cr.
33052         (_dl_profile_resolve): Correct cr save location.  Delete nops
33053         after bl when SHARED.  Reduce cfi size a little by better
33054         placement of cfi directives.
33055         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33056         make a stack frame.  Instead use parm save area as a temp.
33057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33058         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33060         Don't make a stack frame for parent, use parm save area.
33061         Increase child stack frame to 112 bytes.  Don't save unused reg,
33062         and adjust reg usage.  Set up cfi on error recovery and
33063         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33065         (__makecontext): Add dummy nop after jump to exit.
33066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33067         Use correct parm save area and cr save, reduce stack frame.
33068         Correct cfi for possible PSEUDO_RET frame setup.
33069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33070         Branch to local label emitted by PSEUDO_RET rather than
33071         __syscall_error.
33073 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33075         [BZ #11904]
33076         * locale/programs/locale.c (print_assignment): New function.
33077         (show_locale_vars): Use it.
33079 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33081         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33082         field.
33083         (struct statfs64): Likewise.
33084         (_STATFS_F_FLAGS): Define.
33085         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33086         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33087         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33088         (ST_VALID): Define locally.
33089         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33090         __statvfs_getflags, use the provided value.
33091         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33092         __ASSUME_STATFS_F_FLAGS.
33094         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33096         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33097         Add sys/fanotify.h.
33098         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33099         fanotify_mask for GLIBC_2.13.
33100         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33101         fanotify_init and fanotify_mark.
33102         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33103         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33105         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33106         Add prlimit.
33107         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33108         prlimit64 for GLIBC_2.13.
33109         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33110         prlimit64.
33111         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33112         syscall.
33113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33114         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33115         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33116         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33117         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33118         add prlimit alias.
33119         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33121         [BZ #11903]
33122         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33123         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33125         * nss/Makefile: Add rules to build and run tst-nss-test1.
33126         * shlib-versions: Add entry for libnss_test1.
33127         * nss/nss_test1.c: New file.
33128         * nss/tst-nss-test1.c: New file.
33130         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33131         (__nss_configure_lookup): Set appropriate entry in
33132         __nss_configure_lookup to true.
33133         * nss/nsswitch.h: Define enum with indeces of databases in
33134         databases and __nss_database_custom arrays.  Declare
33135         __nss_database_custom.
33136         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33137         to avoid using nscd when custom rules are installed.
33138         * nss/getXXbyYY_r.c: Likewise.
33139         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33141         * nss/nss_files/files-parse.c: Whitespace fixes.
33143 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33145         [BZ #11883]
33146         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33147         * posix/fnmatch_loop.c: Likewise.
33149 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33151         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33152         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33153         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33154         * Versions.def [GLIBC_2.13]: Add.
33156 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33158         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33159         Also fail if tpwd after pwuid call is NULL.
33161 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33163         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33164         when converting to ms.
33166 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33168         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33169         EOPNOTSUPP errors with ENOTTY.
33170         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33171         EOPNOTSUPP errors with ENOTTY.
33173 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33175         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33176         Add strcasecmp_l-ssse3.
33177         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33178         strcasecmp.
33179         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33180         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33181         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33183 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33185         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33187         * string/Makefile (strop-tests): Add strcasecmp.
33188         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33189         strcasecmp_l-nonascii.
33190         (gen-as-const-headers): Add locale-defines.sym.
33191         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33192         * sysdeps/x86_64/strcasecmp.S: New file.
33193         * sysdeps/x86_64/strcasecmp_l.S: New file.
33194         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33195         * sysdeps/x86_64/locale-defines.sym: New file.
33196         * string/test-strcasecmp.c: New file.
33198         * string/test-strcasestr.c: Test both ends of the range of characters.
33199         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33201 2010-07-29  Roland McGrath  <roland@redhat.com>
33203         [BZ #11856]
33204         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33206 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33208         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33209         for ld.so.
33211 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33213         * manual/memory.texi (Malloc Tunable Parameters): Document
33214         M_PERTURB.
33216 2010-07-26  Roland McGrath  <roland@redhat.com>
33218         [BZ #11840]
33219         * configure.in (-fgnu89-inline check): Set and substitute
33220         gnu89_inline, not libc_cv_gnu89_inline.
33221         * configure: Regenerated.
33222         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33224 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33226         * string/test-strnlen.c: New file.
33227         * string/Makefile (strop-tests): Add strnlen.
33228         * string/tester.c (test_strnlen): Add a few more test cases.
33229         * string/tst-strlen.c: Better error reporting.
33231         * sysdeps/x86_64/strnlen.S: New file.
33233 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33235         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33236         lower-latency instructions.
33238 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33240         * string/test-strcasestr.c: New file.
33241         * string/test-strstr.c: New file.
33242         * string/Makefile (strop-tests): Add strstr and strcasestr.
33243         * string/str-two-way.h: Don't undefine MAX.
33244         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33246 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33249         strcasestr-nonascii.
33250         (CFLAGS-strcasestr-nonascii.c): Define.
33251         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33252         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33253         Remove unused attribute.
33255 2010-07-20  Roland McGrath  <roland@redhat.com>
33257         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33258         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33259         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33260         like LD_HWCAP_MASK can disable hwcaps.
33262 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33264         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33266 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33268         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33269         call in strcasestr.
33270         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33271         __strcasestr_sse42_nonascii.
33272         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33273         strcasestr-nonascii.c.
33274         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33276 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33278         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33279         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33280         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33281         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33283 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33285         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33286         fcntl.
33288 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33290         [BZ #11577]
33291         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33292         dl_signal_cerror.
33294 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33296         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33297         _PC_PIPE_BUF using F_GETPIPE_SZ.
33299 2010-07-05  Roland McGrath  <roland@redhat.com>
33301         * manual/arith.texi (Rounding Functions): Fix rint description
33302         implicit in round description.
33304 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33306         * elf/Makefile: Fix linking for a few tests to make recent linker
33307         happy.
33309 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33311         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33312         $(common-objpfx)libc_nonshared.a.
33314 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33316         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33317         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33318         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33319         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33320         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33321         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33322         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33323         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33338         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33339         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33340         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33341         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33342         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33343         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33344         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33345         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33346         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33347         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33348         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33349         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33365 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33367         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33368         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33369         * string/memmove.c (memmove): Renamed to ...
33370         (MEMMOVE): ...this.  Default to memmove.
33371         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33372         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33373         (END_CHK): Define.
33374         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33375         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33376         mempcpy-ssse3-back memmove-ssse3-back.
33377         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33378         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33379         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33380         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33381         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33382         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33383         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33384         * sysdeps/x86_64/multiarch/memmove.c: New file.
33385         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33386         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33387         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33388         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33389         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33390         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33391         Define.
33392         (index_Fast_Copy_Backward): Define.
33393         (HAS_ARCH_FEATURE): Define.
33394         (HAS_FAST_REP_STRING): Define.
33395         (HAS_FAST_COPY_BACKWARD): Define.
33397 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33399         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33400         Restore proper fallback handling.
33402 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33404         [BZ #11701]
33405         * posix/group_member.c (__group_member): Correct checking loop.
33407         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33408         OOM in getpwuid_r correctly.  Return error number when the caller
33409         should return, otherwise -1.
33410         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33411         call returning > 0 value.
33412         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33414 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33416         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33417         libc_nonshared.a from targets in modules-names.
33419 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33421         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33422         requires it.
33424 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33426         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33427         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33428         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33429         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33431 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33433         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33435 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33437         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33438         and F_GETPIPE_SZ.
33439         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33440         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33442         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33443         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33444         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33446 2010-06-14  Roland McGrath  <roland@redhat.com>
33448         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33450 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33452         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33453         __REDIRECT followed by __THROW.
33454         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33455         * posix/getopt.h (getopt): Likewise.
33457 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33459         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33460         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33461         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33462         in AT_FLAGS.
33463         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33464         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33466 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33468         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33470 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33472         [BZ #11640]
33473         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33474         Properly check family and model.
33476 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33478         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33480 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33482         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33484 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33486         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33487         symbol reference.
33489 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33491         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33492         symbol reference.
33494 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33496         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33497         and internal_recvmmsg.
33498         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33499         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33500         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33501         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33503         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33504         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33505         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33507 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33509         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33511 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33513         POWER7 optimizations.
33514         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33515         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33517 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33519         * version.h: Update for 2.13 development version.
33521 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33523         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33524         exceptions.  Return 0.
33526 2010-05-07  Roland McGrath  <roland@redhat.com>
33528         * elf/ldconfig.c (main): Add a const.
33530 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33532         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33533         (args_options): Add no-idn option.
33534         (ahosts_keys_int): Add idn_flags to ai_flags.
33535         (parse_option): Handle 'i' option to clear idn_flags.
33537         * malloc/malloc.c (_int_free): Possible race in the most recently
33538         added check.  Only act on the data if no current modification
33539         happened.
33541 See ChangeLog.17 for earlier changes.