PowerPC makecontext
[glibc.git] / ChangeLog
blob07aaa256d3004840576a747470f33c41aedc5ff9
1 2013-10-04  Alan Modra  <amodra@gmail.com>
3         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
4         conditional form of branch and link when obtaining pc.
5         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7 2013-10-04  Alan Modra  <amodra@gmail.com>
9         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10         HIWORD/LOWORD.
11         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
12         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14 2013-10-04  Alan Modra  <amodra@gmail.com>
16         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
17         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
18         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28             Alistair Popple <alistair@ozlabs.au.ibm.com>
29             Alan Modra <amodra@gmail.com>
31         [BZ #15723]
32         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
34         _dl_hwcap access for little-endian.
35         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
36         destroy vmx regs when saving unaligned.
37         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
38         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39         destroy vmx regs when saving unaligned.
41 2013-10-04  Alan Modra  <amodra@gmail.com>
43         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
44         Don't use a union to pack hi/low value.
46 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49         for little-endian.
50         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
51         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
53         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
54         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
56 2013-10-04  Alan Modra  <amodra@gmail.com>
58         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59         constants to usual value for .cst8 section, and remove redundant
60         high address load.
61         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62         constant for 0x1p52.  Load little-endian words of double from
63         correct stack offsets.
65 2013-10-04  Alan Modra  <amodra@gmail.com>
67         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
68         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
69         words of double from correct stack offsets.
70         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
71         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
72         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
73         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
74         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
75         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
76         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
77         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
78         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
79         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
80         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
81         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
82         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
83         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
85         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
86         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
88 2013-10-04  Alan Modra  <amodra@gmail.com>
90         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
91         64-bit int/double union.
92         (_FPU_SETCW): Likewise.
93         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
94         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
96 2013-10-04  Alan Modra  <amodra@gmail.com>
98         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
99         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
101 2013-10-04  Alan Modra  <amodra@gmail.com>
103         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
104         use vector int constants.
105         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
109         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
110         array with long long.
111         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
112         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
113         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
114         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
115         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
116         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
117         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
118         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
119         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
120         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
121         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
122         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
123         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
125 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
127         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
128         (__signbit): Likewise.  Correct for little-endian.
129         (__signbitl): Call __signbit.
130         (lrint): Correct for little-endian.
131         (lrintf): Call lrint.
133 2013-10-04  Alan Modra  <amodra@gmail.com>
135         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
136         union 32-bit int array member with 64-bit int array.
137         (t515, tm256): Double rather than long double.
138         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
140 2013-10-04  Alan Modra  <amodra@gmail.com>
142         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
143         Delete.
144         (IEEE854_LONG_DOUBLE_BIAS): Delete.
145         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
146         version of math_ldbl.h.
148 2013-10-04  Alan Modra  <amodra@gmail.com>
150         [BZ #15734], [BZ #15735]
151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
152         all uses of ieee875 long double macros and unions.  Simplify test
153         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
154         ldbl_extract_mantissa value for ix,iy exponents.  Properly
155         normalize after ldbl_extract_mantissa, and don't add hidden bit
156         already handled.  Don't treat low word of ieee854 mantissa like
157         low word of IBM long double and mask off bit when testing for
158         zero.
159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
160         all uses of ieee875 long double macros and unions.  Simplify tests
161         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
162         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
163         two1022, instead use their values.  Recognise that tests for large
164         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
165         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
166         Rewrite all uses of ieee875 long double macros and unions.  Simplify
167         test for 0.0L and nan.  Correct negation.
168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
169         ieee875 long double macros and unions.  Correct output for large
170         magnitude x.  Correct absolute value calculation.
171         (__erfcl): Likewise.
172         * math/libm-test.inc: Add tests for errors discovered in IBM long
173         double versions of fmodl, remainderl, erfl and erfcl.
175 2013-10-04  Alan Modra  <amodra@gmail.com>
177         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
178         all uses of ieee854 long double macros and unions.  Simplify tests
179         for long doubles that are fully specified by the high double.
180         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
181         Likewise.
182         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
183         Remove dead code too.
184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
185         (__ieee754_ynl): Likewise.
186         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
187         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
189         Remove dead code too.
190         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
191         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
192         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
193         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
194         Simplify.
195         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
196         Simplify.
197         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
198         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
199         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
200         Comment on variable precision.
201         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
203         Likewise.
204         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
205         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
206         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
207         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
208         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
210 2013-10-04  Alan Modra  <amodra@gmail.com>
212         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
213         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
214         all uses of ieee854 long double macros and unions.
215         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
216         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
217         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
218         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
219         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
220         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
221         Likewise.
222         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
223         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
224         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
225         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
226         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
227         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
228         Simplify sign and nan test too.
229         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
230         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
231         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
232         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
233         Likewise.
234         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
235         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
236         Likewise.
237         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
238         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
239         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
241         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
242         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
244 2013-10-04  Alan Modra  <amodra@gmail.com>
246         * stdio-common/printf_size.c (__printf_size): Don't use
247         union ieee854_long_double in fpnum union.
248         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
249         signbit macro to retrieve sign from long double.
250         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
251         retrieve sign from long double.
252         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
253         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
254         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
255         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
256         * math/test-misc.c (main): Don't use union ieee854_long_double.
258 2013-10-04  Alan Modra  <amodra@gmail.com>
260         [BZ #15680]
261         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
262         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
263         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
264         calculation.  Remove unnecessary test for denormal exponent.
265         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
266         Correct handling of denormals.  Avoid undefined shift behaviour.
267         Correct normalisation of low mantissa when low double is denormal.
268         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
269         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
270         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
271         Correct normalisation of low mantissa.  Test for overflow of high
272         mantissa and normalise.
273         (ldbl_nearbyint): Use more readable constant for two52.
274         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
275         (__mpn_construct_long_double): Fix test for overflow of high
276         mantissa and correct normalisation.  Avoid undefined shift.
278 2013-10-04  Alan Modra  <amodra@gmail.com>
280         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
281         (union ibm_extended_long_double): Define as an array of ieee754_double.
282         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
283         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
284         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
285         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
286         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
287         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
289         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
290         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
291         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
292         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
294 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
296         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
297         page size instead of calling getpagesize.
299         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
300         (LOCFILE_ALIGN_MASK): Likewise.
301         (LOCFILE_ALIGN_UP): Likewise.
302         (LOCFILE_ALIGNED_P): Likewise.
303         * locale/programs/ld-collate.c (collate_output): Use the new
304         macros instead of __alignof__ (int32_t).
305         * locale/weight.h (findidx): Likewise.
307 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
309         [BZ #431]
310         * manual/string.texi: Fix strncat and wcsncat.
312 2013-10-03  Brooks Moses  <bmoses@google.com>
314         [BZ #15915]
315         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
316         * Makerules: ...here, and adjust associated comments.
318 2013-10-02  Will Newton  <will.newton@linaro.org>
320         * malloc/Makefile: Add tst-pvalloc.
321         * malloc/tst-pvalloc.c: New file.
323 2013-10-02  Will Newton  <will.newton@linaro.org>
325         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
326         improve test coverage.
328 2013-10-02  Will Newton  <will.newton@linaro.org>
330         * malloc/Makefile: Add tst-posix_memalign.
331         * malloc/tst-posix_memalign.c: New file.
333 2013-10-01  Eric Blake  <eblake@redhat.com>
335         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
336         Use __THROWNL rather than __THROW on static functions.
338 2013-09-30  Petr Machata  <pmachata@redhat.com>
340         * elf/elf.h (R_AARCH64_ABS16): New macro.
341         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
342         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
343         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
344         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
345         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
346         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
347         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
348         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
349         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
350         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
351         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
352         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
353         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
354         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
355         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
356         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
357         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
358         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
359         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
360         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
361         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
362         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
363         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
364         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
365         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
366         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
367         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
368         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
369         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
370         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
371         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
372         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
373         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
374         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
375         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
376         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
377         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
378         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
379         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
380         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
381         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
382         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
383         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
384         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
385         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
386         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
387         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
388         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
389         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
390         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
391         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
392         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
393         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
394         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
395         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
396         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
397         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
398         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
399         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
400         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
401         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
402         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
403         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
404         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
405         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
406         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
407         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
408         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
409         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
410         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
411         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
412         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
413         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
414         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
415         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
416         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
417         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
418         (R_AARCH64_TLSDESC_LDR): Likewise.
419         (R_AARCH64_TLSDESC_ADD): Likewise.
420         (R_AARCH64_TLSDESC_CALL): Likewise.
422 2013-09-30  Andreas Schwab  <schwab@suse.de>
424         [BZ #15048]
425         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
426         the nss database lookup.
427         * nscd/initgrcache.c (addinitgroupsX): Likewise.
428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
430 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
432         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
434 2013-09-28  P. J. McDermott  <pj@pehjota.net>
436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
437         ${Bash-specific parameter/pattern/string} parameter expansion.
438         * sysdeps/unix/make-syscalls.sh: Likewise.
440 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
442         * sysdeps/sh/stackguard-macros.h: New file.
444 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
446         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
447         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
448         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
449         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
450         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
451         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
453 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
455         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
456         Fix thread ID register.
458 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
460         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
461         [POSIX || UNIX98]: Require rather than permitting all symbols from
462         <time.h>.
463         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
464         element of struct sched_param.
465         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
466         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
467         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
468         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
469         constant.
471 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
473         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
474         argument calculation.
476 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
478         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
479         Expect macro.
480         [POSIX] (pthread_attr_t): Do not require type.
481         [POSIX] (pthread_cond_t): Likewise.
482         [POSIX] (pthread_condattr_t): Likewise.
483         [POSIX] (pthread_key_t): Likewise.
484         [POSIX] (pthread_mutex_t): Likewise.
485         [POSIX] (pthread_mutexattr_t): Likewise.
486         [POSIX] (pthread_once_t): Likewise.
487         [POSIX] (pthread_t): Likewise.
488         [POSIX-based standards] (pthread_atfork): Expect function.
490 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
491             Richard Sandiford  <richard@codesourcery.com>
493         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
494         (swap_endianness_p): New extern variable.
495         (set_big_endian): New inline function.
496         (maybe_swap_uint32): Likewise.
497         (maybe_swap_uint32_array): Likewise.
498         (maybe_swap_uint32_obstack): Likewise.
499         * locale/programs/locfile.c: Include <stdbool.h>.
500         (swap_endianness_p): New variable.
501         (add_locale_uint32): Call maybe_swap_uint32.
502         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
503         (write_locale_data): Call maybe_swap_uint32_array.
504         * locale/programs/ld-collate.c (obstack_int32_grow): Call
505         maybe_swap_uint32.
506         (obstack_int32_grow_fast): Likewise.
507         (output_weightwc): Call maybe_swap_uint32_obstack.
508         (collate_output): Likewise.
509         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
510         (OPT_LITTLE_ENDIAN): Likewise.
511         (options): Add --little-endian and --big-endian options.
512         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
513         * locale/programs/locarchive.c: Include "locfile.h".
514         (GET): New macro.
515         (SET): Likewise.
516         (INC): Likewise.
517         (create_archive): Use the new macros to access fields of
518         structures directly mapped from or written to locale archives.
519         (oldlocrecentcmp): Likewise.
520         (enlarge_archive): Likewise.
521         (insert_name): Likewise.
522         (add_alias): Likewise.
523         (add_locale): Likewise.
524         (delete_locales_from_archive): Likewise.
525         (show_archive_content): Likewise.
526         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
527         locale data.
529 2013-09-24  Roland McGrath  <roland@hack.frob.com>
531         * manual/freemanuals.texi: Updated from (newly) canonical copy at
532         http://www.gnu.org/doc/freemanuals.texi.
533         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
535 2013-09-24  Will Newton  <will.newton@linaro.org>
537         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
538         macro.
540 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
542         * locale/hashval.h (compute_hashval): Interpret bytes of key as
543         unsigned char.
545 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
547         * manual/threads.texi (POSIX Threads): Fix a typo.
549 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
551         [BZ #14547]
552         * string/tst-strcoll-overflow.c: New test case.
553         * string/Makefile (xtests): Add tst-strcoll-overflow.
554         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
555         cache if string sizes may cause integer overflow.
557         [BZ #14547]
558         * string/strcoll_l.c (coll_seq): New members rule, idx,
559         save_idx and back_us.
560         (get_next_seq_nocache): New function.
561         (do_compare_nocache): New function.
562         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
563         when malloc fails.
565 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
567         [BZ #15754]
568         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
569         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
570         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
572         [BZ #15754]
573         * elf/Makefile (tests): Add tst-ptrguard1.
574         (tests-static): Add tst-ptrguard1-static.
575         (tst-ptrguard1-ARGS): Define.
576         (tst-ptrguard1-static-ARGS): Define.
577         * elf/tst-ptrguard1.c: New file.
578         * elf/tst-ptrguard1-static.c: New file.
579         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
580         * sysdeps/i386/stackguard-macros.h: Likewise.
581         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
582         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
583         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
584         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
585         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
586         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
588 2013-09-23  Hector Marco  <hecmargi@upv.es>
589             Ismael Ripoll  <iripoll@disca.upv.es>
590             Carlos O'Donell  <carlos@redhat.com>
592         [BZ #15754]
593         * sysdeps/generic/stackguard-macros.h: Define
594         __pointer_chk_guard_local and POINTER_CHK_GUARD.
595         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
596         Define __pointer_chk_guard_local.
597         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
598         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
600 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
602         [BZ #15859]
603         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
605 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
607         * include/string.h (__ffs): Declare as hidden.
608         * string/ffs.c (__ffs): Define as hidden.
609         * sysdeps/i386/ffs.c (__ffs): Likewise.
610         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
611         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
612         * sysdeps/s390/ffs.c (__ffs): Likewise.
613         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
615 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
617         * NEWS: Mention malloc probes.
619         * malloc/arena.c (new_heap): New memory_heap_new probe.
620         (grow_heap): New memory_heap_more probe.
621         (shrink_heap): New memory_heap_less probe.
622         (heap_trim): New memory_heap_free probe.
623         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
624         (systrim): New memory_sbrk_less probe.
625         * manual/probes.texi: Document them.
627         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
628         * manual/probes.texi: Document it.
630         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
631         (__libc_realloc): Add memory_realloc_retry probe.
632         (__libc_memalign): Add memory_memalign_retry probe.
633         (__libc_valloc): Add memory_valloc_retry probe.
634         (__libc_pvalloc): Add memory_pvalloc_retry probe.
635         (__libc_calloc): Add memory_calloc_retry probe.
636         * manual/probes.texi: Document them.
638         * malloc/arena.c (get_free_list): Add probe
639         memory_arena_reuse_free_list.
640         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
641         and memory_arena_reuse.
642         (arena_get2) [!PER_THREAD]: Likewise.
643         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
644         memory_arena_reuse_realloc.
645         * manual/probes.texi: Document them.
647         * malloc/malloc.c (__libc_free): Add
648         memory_mallopt_free_dyn_thresholds probe.
649         (__libc_mallopt): Add multiple memory_mallopt probes.
650         * manual/probes.texi: Document them.
652         * malloc/malloc.c: Include stap-probe.h.
653         (__libc_mallopt): Add memory_mallopt probe.
654         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
655         * manual/probes.texi: New.
656         * manual/Makefile (chapters): Add probes.
657         * manual/threads.texi: Set next node.
659 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
661         [BZ #15963, #13985]
662         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
663         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
664         Add `Chinese' to `nan' entry name.
666 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
668         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
669         (POLYNOMIAL): Likewise.
670         (TAYLOR_SINCOS): Likewise.
671         (TAYLOR_SLOW): Likewise.
672         (__sin): Use TAYLOR_SINCOS.
673         (__cos): Likewise.
674         (slow): Use TAYLOR_SLOW.
675         (sloww): Likewise.
676         (bsloww): Likewise.
677         (csloww): Likewise.
679 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
681         * stdlib/strtod_l.c: Fix buffer overrun.
683 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
685         * benchtests/Makefile (bench): Add sincos.
686         * benchtests/bench-sincos.c: New file.
688         * math/libm-test.inc (cos_test_data): New test inputs.
689         (sin_test_data): Likewise.
691         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
692         macro.
693         (__sin): Use it.
694         (__cos): Likewise.
695         (slow1): Likewise.
696         (slow2): Likewise.
697         (sloww1): Likewise.
698         (sloww2): Likewise.
699         (bsloww1): Likewise.
700         (bsloww2): Likewise.
701         (cslow2): Likewise.
702         (csloww1): Likewise.
703         (csloww2): Likewise.
705         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
706         function.
707         (__sin): Use it.
708         (__cos): Likewise.
710         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
711         gotos.
712         (__cos): Likewise.
714 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
716         * config.h.in (HAVE_MIPS_NAN2008): New macro.
717         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
718         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
719         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
720         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
721         * elf/cache.c (print_entry): Handle the new cache flags.
723 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
724             Aldy Hernandez  <aldyh@redhat.com>
726         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
727         Change condition to [_SOFT_FLOAT].
728         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
730         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
732         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
740         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
743         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
744         declaration.
746 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
748         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
749         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
750         (__longjmp): Use LOAD_GP to load saved GPRs.
751         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
752         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
753         (__sigsetjmp): Use SAVE_GP to save GPRs.
755         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
756         Do not append -msoft-float.
757         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
759 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
761         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
763 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
765         [BZ #15966]
766         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
767         (_FPU_GETCW): Use initial "__" on variable and field names but not
768         on macro parameter name.
769         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
770         parentheses around reference to macro parameter.
772 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
774         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
775         prototype.
776         (ctype_startup): Use uint32_t in cast and sizeof for
777         ctype->charnames.
779 2013-09-11  Jia Liu  <proljc@gmail.com>
781         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
782         __daddr_t_defined.
783         [__FreeBSD__]: Likewise.
785 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
787         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
788         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
789         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
790         (strchr): Remove __strchr_sse42 ifunc selection.
791         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
792         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
794 2013-09-11  Will Newton  <will.newton@linaro.org>
796         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
797         parameter to RES. Remove hardcoded 1000 value.
798         * benchtests/bench-skeleton.c (main): Pass RES parameter
799         to TIMING_INIT and multiply result by 1000.
801 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
805 2013-09-11  Andreas Schwab  <schwab@suse.de>
807         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
808         if not defined.
809         (O_TMPFILE) [__USE_GNU]: Define.
810         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
811         Define.
813 2013-09-11  Will Newton  <will.newton@linaro.org>
815         [BZ #15857]
816         * malloc/malloc.c (__libc_memalign): Check the value of bytes
817         does not overflow.
819 2013-09-11  Will Newton  <will.newton@linaro.org>
821         [BZ #15856]
822         * malloc/malloc.c (__libc_valloc): Check the value of bytes
823         does not overflow.
825 2013-09-11  Will Newton  <will.newton@linaro.org>
827         [BZ #15855]
828         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
829         does not overflow.
831 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
833         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
834         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
835         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
839 2013-09-10  Allan McRae  <allan@archlinux.org>
841         [BZ #15748]
842         * manual/arith.texi (Parsing of Floats): Clarify
843         cross-reference.
845         [BZ #15849]
846         * manual/install.texi (Running make install): Mention
847         --enable-pt-chown.
848         * INSTALL: Regenerated.
850 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
852         * csu/init-first.c (_init): Remove the !SHARED condition around
853         FPU control word initialization.
854         * elf/dl-support.c (_dl_fpu_control): New variable.
855         (_dl_aux_init) <AT_FPUCW>: Initialize it.
856         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
857         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
858         * math/test-fpucw-static.c: New file.
859         * math/test-fpucw-ieee.c: New file.
860         * math/test-fpucw-ieee-static.c: New file.
861         * math/Makefile (tests): Add `test-fpucw-ieee' and
862         `$(tests-static)'.
863         (tests-static): New variable.
864         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
865         dependency to...
866         [($(build-shared),yes)]
867         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
868         ... this.
869         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
870         New dependency.
872 2013-09-09  Allan McRae  <allan@archlinux.org>
874         [BZ #15939]
875         * manual/string.texi (Collation Functions): Fix typo in
876         strcoll example.
877         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
879         [BZ #15893]
880         * stdlib/isomac.c (get_null_defines): Fix memory leak.
882         [BZ #15892]
883         * libio/memstream.c (open_memstream): Fix memory leak.
884         * libio/wmemstream.c (open_wmemstream): Likewise.
886         [BZ #15895]
887         * nscd/netgroupcache.c: Fix nesting of ifdefs.
889 2013-09-09  Will Newton  <will.newton@linaro.org>
891         * malloc/Makefile: Add tst-realloc to tests.
892         * malloc/tst-realloc.c: New file.
894 2013-09-09  Allan McRae  <allan@archlinux.org>
896         [BZ #15844]
897         * COPYING: Update from GNU website to fix FSF address.
898         * COPYING.LIB: Likewise.
900 2013-09-06  David S. Miller  <davem@davemloft.net>
902         * po/zh_TW.po: Update Chinese (traditional) translation from
903         translation project.
905 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
906             Joseph Myers  <joseph@codesourcery.com>
908         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
909         "localeinfo.h".
910         (obstack_chunk_alloc): New macro.
911         (obstack_chunk_free): Likewise.
912         (record_offset): New function.
913         (init_locale_data): Likewise.
914         (align_locale_data): Likewise.
915         (add_locale_empty): Likewise.
916         (add_locale_raw_data): Likewise.
917         (add_locale_raw_obstack): Likewise.
918         (add_locale_string): Likewise.
919         (add_locale_wstring): Likewise.
920         (add_locale_uint32): Likewise.
921         (add_locale_uint32_array): Likewise.
922         (add_locale_char): Likewise.
923         (start_locale_structure): Likewise.
924         (end_locale_structure): Likewise.
925         (start_locale_prelude): Likewise.
926         (end_locale_prelude): Likewise.
927         (write_locale_data): Take locale_file structure rather than an
928         iovec.
929         * locale/programs/locfile.h: Include "obstack.h".
930         (struct locale_file): Change to store locale file contents instead
931         of header.
932         (init_locale_data): New prototype.
933         (align_locale_data): Likewise.
934         (add_locale_empty): Likewise.
935         (add_locale_raw_data): Likewise.
936         (add_locale_raw_obstack): Likewise.
937         (add_locale_string): Likewise.
938         (add_locale_wstring): Likewise.
939         (add_locale_uint32): Likewise.
940         (add_locale_uint32_array): Likewise.
941         (add_locale_char): Likewise.
942         (start_locale_structure): Likewise.
943         (end_locale_structure): Likewise.
944         (start_locale_prelude): Likewise.
945         (end_locale_prelude): Likewise.
946         (write_locale_data): Update prototype.
947         * locale/programs/3level.h (struct TABLE): Remove result field.
948         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
949         Use new locale_file interface.
950         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
951         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
952         * locale/programs/ld-address.c (address_output): Use new
953         locale_file interface.
954         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
955         NO_ADD_LOCALE.
956         (collate_finish): Don't call collseq_table_finalize.
957         (collate_output): Use new locale_file interface.
958         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
959         in file.
960         (NO_FINALIZE): Change to NO_ADD_LOCALE.
961         (TABLE): Move defines earlier in file.
962         (ELEMENT): Likewise.
963         (DEFAULT): Likewise.
964         (wctrans_table_add): Move macro and inline function earlier in
965         file.
966         (struct wctype_table): Move type earlier in file.
967         (add_locale_wctype_table): New static prototype.
968         (struct locale_ctype_t): Use logical types instead of struct iovec
969         pointers for members.
970         (ctype_output): Use new locale_file interface.
971         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
972         new locale_file interface.
973         (allocate_arrays): Update for use of new locale_file interface.
974         * locale/programs/ld-identification.c (identification_output): Use
975         new locale_file interface.
976         * locale/programs/ld-measurement.c (measurement_output): Likewise.
977         * locale/programs/ld-messages.c (messages_output): Likewise.
978         * locale/programs/ld-monetary.c (monetary_output): Likewise.
979         * locale/programs/ld-name.c (name_output): Likewise.
980         * locale/programs/ld-numeric.c (numeric_output): Likewise.
981         * locale/programs/ld-paper.c (paper_output): Likewise.
982         * locale/programs/ld-telephone.c (telephone_output): Likewise.
983         * locale/programs/ld-time.c (time_output): Likewise.
985 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
987         * benchtests/Makefile: Add memrchr benchmark.
988         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
989         benchmark as memrchr.
990         * benchtests/bench-memrchr-ifunc.c: New file.
991         * benchtests/bench-memrchr.c: New file.
993 2013-09-06   Will Newton  <will.newton@linaro.org>
995         * benchtests/Makefile (string-bench): Add memcpy.
997 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
998             Cong Wang  <amwang@redhat.com>
1000         * sysdeps/unix/sysv/linux/bits/in.h
1001         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
1002         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
1003         before __USE_KERNEL_IPV6_DEFS uses.
1004         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
1005         IPPROTO_BEETPH.
1006         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
1007         sockaddr_in6, or ipv6_mreq.
1009 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1011         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
1012         memory access for final bytes in some large inputs.
1013         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
1015 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1017         * string/test-memrchr.c: New file.
1018         * string/test-memrchr-ifunc.c: New file.
1019         * string/Makefile: Add new memrchr testcase.
1021 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
1023         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
1024         fanotify_init returns EPERM.
1026 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1028         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
1029         errors.
1030         (top level): Treat second token from macro or constant entries for
1031         allowed headers as allowed.
1032         * include/complex.h: Condition internal declarations on
1033         [!_ISOMAC].
1034         * include/fenv.h: Condition include of <stdbool.h> and internal
1035         declarations on [!_ISOMAC].
1037 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
1039         [BZ #15923]
1040         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
1042 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
1044         * configure.in (--enable-versioning): Remove configure option.
1045         (libc_cv_asm_symver_directive): Remove configure test.
1046         (libc_cv_ld_version_script_option): Likewise.
1047         (VERSIONING): Remove variable and AC_SUBST.
1048         (DO_VERSIONING): Remove AC_DEFINE.
1049         * configure: Regenerated.
1050         * config.h.in (DO_VERSIONING): Remove macro.
1051         * Makerules [$(versioning) = yes]: Change conditionals to
1052         [$(build-shared) = yes].
1053         * config.make.in (versioning): Remove variable.
1054         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
1055         [$(build-shared) = yes].
1056         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
1057         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
1058         * elf/Makefile [$(versioning) = yes]: Change conditionals to
1059         [$(build-shared) = yes].
1060         * extra-lib.mk [$(versioning) = yes]: Likewise.
1061         * hurd/Makefile [$(versioning) = yes]: Likewise.
1062         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
1063         [SHARED].
1064         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
1065         [SHARED].
1066         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1067         [SHARED && !NO_HIDDEN].
1068         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
1069         [SHARED].
1070         [SHARED && DO_VERSIONING]: Likewise..
1071         * libio/Makefile [$(versioning) = yes]: Change conditionals to
1072         [$(build-shared) = yes].
1073         * manual/install.texi (--disable-versioning): Remove
1074         documentation.
1075         * INSTALL: Regenerated.
1076         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
1077         to [SHARED].
1078         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
1079         [$(build-shared) = yes].
1080         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
1081         * sysdeps/i386/i686/multiarch/strstr-c.c
1082         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
1083         [SHARED && !NO_HIDDEN].
1084         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
1085         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
1086         * sysdeps/powerpc/powerpc32/dl-machine.c
1087         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
1088         * sysdeps/powerpc/powerpc32/sysdep.h
1089         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
1090         to [SHARED && PIC && !NO_HIDDEN].
1091         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
1092         conditional to [SHARED].
1094 2013-09-04   Will Newton  <will.newton@linaro.org>
1096         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
1097         * benchtests/bench-string.h: Include bench-timing.h instead
1098         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
1099         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
1100         call to HP_TIMING_DIFF_INIT.
1101         * benchtests/bench-memccpy.c: Use bench-timing.h macros
1102         instead of hp-timing.h macros.
1103         * benchtests/bench-memchr.c: Likewise.
1104         * benchtests/bench-memcmp.c: Likewise.
1105         * benchtests/bench-memcpy.c: Likewise.
1106         * benchtests/bench-memmem.c: Likewise.
1107         * benchtests/bench-memmove.c: Likewise.
1108         * benchtests/bench-memset.c: Likewise.
1109         * benchtests/bench-rawmemchr.c: Likewise.
1110         * benchtests/bench-strcasecmp.c: Likewise.
1111         * benchtests/bench-strcasestr.c: Likewise.
1112         * benchtests/bench-strcat.c: Likewise.
1113         * benchtests/bench-strchr.c: Likewise.
1114         * benchtests/bench-strcmp.c: Likewise.
1115         * benchtests/bench-strcpy.c: Likewise.
1116         * benchtests/bench-strcpy_chk.c: Likewise.
1117         * benchtests/bench-strlen.c: Likewise.
1118         * benchtests/bench-strncasecmp.c: Likewise.
1119         * benchtests/bench-strncat.c: Likewise.
1120         * benchtests/bench-strncmp.c: Likewise.
1121         * benchtests/bench-strncpy.c: Likewise.
1122         * benchtests/bench-strnlen.c: Likewise.
1123         * benchtests/bench-strpbrk.c: Likewise.
1124         * benchtests/bench-strrchr.c: Likewise.
1125         * benchtests/bench-strspn.c: Likewise.
1126         * benchtests/bench-strstr.c: Likewise.
1128 2013-09-04  Will Newton  <will.newton@linaro.org>
1130         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
1132 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
1134         [BZ #15427]
1135         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1136         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
1137         * math/libm-test.inc (lgamma_test_data): Add more tests.
1138         * sysdeps/i386/fpu/libm-test-ulps: Update.
1139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1141 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
1143         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
1144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1145         Add ifunc.
1146         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1147         Add strcmp-sse2-unaligned
1148         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
1150 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1152         * Versions.def (libc): Add GLIBC_2.19.
1154 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
1156         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
1157         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
1159 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
1161         [BZ #14155]
1162         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
1163         intermediate calculations in recurrence.
1164         (__ieee754_ynf): Likewise.
1165         * math/libm-test.inc (jn_test_data): Do not allow spurious
1166         underflow exception.  Add more tests.
1167         (yn_test_data): Add more tests.
1168         * sysdeps/i386/fpu/libm-test-ulps: Update.
1169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1171 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
1173         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
1175 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1177         * csu/init-first.c: Fix then/than typos.
1178         * locale/programs/ld-collate.c: Likewise.
1179         * locale/programs/linereader.h: Likewise.
1180         * manual/charset.texi: Likewise.
1181         * manual/filesys.texi: Likewise.
1182         * manual/stdio.texi: Likewise.
1183         * manual/string.texi: Likewise.
1184         * stdlib/fmtmsg.c: Likewise.
1185         * sysdeps/i386/stpncpy.S: Likewise.
1186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1187         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1188         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1189         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1191 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
1193         * elf/dl-open.c: Fix typos.
1194         * iconvdata/gbbig5.c: Likewise.
1195         * iconvdata/iso-2022-jp.c: Likewise.
1196         * iconv/gconv_int.h: Likewise.
1197         * iconv/loop.c: Likewise.
1198         * nis/rpcsvc/nis.h: Likewise.
1199         * resolv/ns_name.c: Likewise.
1200         * stdio-common/vfscanf.c: Likewise.
1201         * streams/stropts.h: Likewise.
1202         * sunrpc/rpc_thread.c: Likewise.
1203         * sysdeps/i386/strpbrk.S: Likewise.
1204         * sysdeps/ieee754/k_standard.c: Likewise.
1205         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1206         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1207         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
1208         * sysdeps/mach/hurd/profil.c: Likewise.
1209         * sysdeps/s390/dl-procinfo.h: Likewise.
1210         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
1212         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
1213         * sysdeps/x86_64/dl-trampoline.S: Likewise.
1214         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
1216 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
1218         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
1219         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
1221 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
1223         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
1224         aix specific files.
1225         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
1226         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
1227         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
1228         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
1229         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
1230         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
1231         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
1232         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
1234 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1235             Roland McGrath  <roland@hack.frob.com>
1237         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
1238         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1240 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1242         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
1243         __executable_start symbol instead of _start.
1245 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
1247         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
1248         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
1249         Move macros to...
1250         * sysdeps/gnu/ldsodefs.h: ... this new file.
1252         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
1253         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
1254         instead of ELFOSABI_LINUX.
1256         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
1257         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
1258         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
1259         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
1260         Likewise.
1261         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
1262         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
1263         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
1264         Likewise.
1265         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1266         (ibm_extended_long_double): Add ieee_nan member.
1267         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
1268         (do_test): New function.
1270         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
1271         TEST_TRUNC.
1272         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
1273         functions, renamed from truncdfsf_test, trunctfsf_test,
1274         trunctfdf_test.
1275         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
1276         functions.
1277         (do_test): Run all these.
1279 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
1281         * argp/argp-help.c: Fix typos.
1282         * argp/argp-parse.c: Likewise.
1283         * debug/backtracesyms.c: Likewise.
1284         * elf/elf.h: Likewise.
1285         * malloc/malloc.c: Likewise.
1286         * nis/nis_print.c: Likewise.
1287         * resolv/res_comp.c: Likewise.
1288         * stdlib/stdlib.h: Likewise.
1289         * sunrpc/clnt_tcp.c: Likewise.
1290         * sunrpc/clnt_udp.c: Likewise.
1291         * sunrpc/clnt_unix.c: Likewise.
1292         * sysdeps/unix/bsd/ptsname.c: Likewise.
1293         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
1294         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
1295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
1296         Likewise.
1297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1298         Likewise.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1300         Likewise.
1301         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1303 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1305         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
1306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1308 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
1310         [BZ #15897]
1311         * dlfcn/Makefile (tests): Add bug-dl-leaf.
1312         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
1313         ($(objpfx)bug-dl-leaf): New rule.
1314         ($(objpfx)bug-dl-leaf.so): Likewise.
1315         ($(objpfx)bug-dl-leaf.out): Likewise.
1316         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
1317         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
1318         * dlfcn/bug-dl-leaf.c: New test.
1319         * dlfcn/bug-dl-leaf-lib.c: Likewise.
1320         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
1321         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
1322         (dlclose): Likewise.
1323         (dlmopen): Likewise.
1325 2013-08-27  Roland McGrath  <roland@hack.frob.com>
1327         * include/netdb.h [!_ISOMAC]:
1328         Don't include <tls.h>.
1329         (h_errno, __libc_h_errno): Move declaration and macros out of
1330         [_LIBC_REENTRANT].
1332         * include/resolv.h [_RESOLV_H_]:
1333         Don't include <tls.h>.
1334         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
1335         * resolv/res_libc.c: Don't include <tls.h>.
1336         (_res): Use __attribute__ ((nocommon)) in place of
1337         __attribute__ ((section (".bss"))).
1339         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
1340         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
1342         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
1344         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
1345         only under [SIOCGIFCONF && SIOCGIFNETMASK].
1347         * resolv/res_mkquery.c: Include <sys/time.h>.
1349         * inet/ifreq.c: Moved to ...
1350         * sysdeps/unix/ifreq.c: ... here.
1351         * inet/ifreq.c: New file, true stub version.
1353         * socket/sa_len.c: New file.
1354         * socket/Makefile (aux): Add it.
1355         * sysdeps/unix/sysv/linux/Makefile
1356         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
1357         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
1358         and #include <socket/sa_len.c>.
1359         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
1360         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
1362         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
1363         * bits/socket.h: ... here.
1365         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
1366         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
1367         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
1369 2013-08-27  Andreas Schwab  <schwab@suse.de>
1371         [BZ #15736]
1372         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
1373         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
1374         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
1375         * string/test-strcasecmp.c (test_main): Run tests in several
1376         locales.
1377         * string/test-strncasecmp.c (test_main): Likewise.
1379         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
1380         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
1381         to __strcasecmp_nonascii and __strncasecmp_nonascii.
1382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
1383         (__strncasecmp_ssse3) [PIC]: Likewise.
1385 2013-08-26  Roland McGrath  <roland@hack.frob.com>
1387         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
1389         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
1390         instead of explicitly declaring xdecrypt.
1391         * nis/nss_nis/nis-publickey.c: Likewise.
1393 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1395         [BZ #15890]
1396         * nscd/aicache.c: Include res_hconf.h.
1397         (addhstaiX): Initialize res_hconf.
1399 2013-08-26  Andreas Schwab  <schwab@suse.de>
1401         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
1402         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
1404 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1406         * nscd/aicache.c (addhstaiX): Fix indentation.
1408 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
1410         * configure.ac: Quote $build_pt_chown test.
1411         * configure: Regenerated.
1413 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
1415         [BZ #15532]
1416         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
1417         * math/s_cexpf.c (__cexpf): Likewise.
1418         * math/s_cexpl.c (__cexpl): Likewise.
1419         * math/libm-test.inc (cexp_test_data): Correct expected return
1420         value for NaN + i0.  Add another test.
1422 2013-08-22  David S. Miller  <davem@davemloft.net>
1424         * po/ca.po: Update Catalan translation from translation project.
1425         * po/uk.po: Add Ukrainian translations from translation project.
1427 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
1429         [BZ #15797]
1430         * math/s_fdim.c (__fdim): Check for infinite arguments if result
1431         is infinite, not alongside NaN test.
1432         * math/s_fdimf.c (__fdimf): Likewise.
1433         * math/s_fdiml.c (__fdiml): Likewise.
1434         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
1435         errno is unchanged.
1437 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
1439         * argp/argp-help.c: Fix typos.
1440         * crypt/speeds.c: Likewise.
1441         * csu/check_fds.c: Likewise.
1442         * elf/dl-load.c: Likewise.
1443         * elf/dl-open.c: Likewise.
1444         * elf/reldep3.c: Likewise.
1445         * elf/reldep.c: Likewise.
1446         * elf/sprof.c: Likewise.
1447         * iconv/iconv_charmap.c: Likewise.
1448         * iconv/skeleton.c: Likewise.
1449         * iconv/strtab.c: Likewise.
1450         * io/lockf64.c: Likewise.
1451         * libio/libioP.h: Likewise.
1452         * resolv/gai_notify.c: Likewise.
1453         * resolv/ns_name.c: Likewise.
1454         * resolv/ns_samedomain.c: Likewise.
1455         * resolv/res_send.c: Likewise.
1456         * stdlib/random.c: Likewise.
1457         * sunrpc/rpc/xdr.h: Likewise.
1458         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
1459         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1460         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1461         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1462         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1463         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1464         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1465         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1466         * sysdeps/mach/hurd/check_fds.c: Likewise.
1467         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
1468         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1470         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
1471         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1472         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
1473         * sysdeps/pthread/aio_notify.c: Likewise.
1474         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
1475         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
1476         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
1477         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1478         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1480 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1482         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
1483         version if bit_Slow_SSE4_2 is set.
1484         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1485         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1487 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1489         [BZ #15867]
1490         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
1491         trampoline stack frame information.
1492         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
1493         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
1494         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
1495         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
1496         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
1497         * sysdeps/unix/sysv/linux/powerpc/init-first.c
1498         (_libc_vdso_platform_setup): Initialize the signal trampolines.
1499         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
1500         sa_flags value.
1501         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
1502         interrupting a syscall and set with option SA_SIGINFO.
1504 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1506         [BZ #15531]
1507         * math/s_cproj.c (__cproj): Only return an infinity if one part of
1508         argument is infinite.
1509         * math/s_cprojf.c (__cprojf): Likewise.
1510         * math/s_cprojl.c (__cprojl): Likewise.
1511         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
1512         * math/libm-test.inc (cproj_test_data): Add more tests.
1514         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
1516         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
1517         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
1518         size.  Use __ffs to determine corresponding shift.
1520 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
1521             Roland McGrath  <roland@hack.frob.com>
1523         * Makefile (INSTALL): Remove trailing blank lines from output of
1524         makeinfo.
1526 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1528         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
1529         Align 32 bit compat elf_greg to 8 bytes.
1531 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1533         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
1535 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1537         * string/strcoll_l.c (coll_seq): New structure.
1538         (get_next_seq_cached): New function.
1539         (get_next_seq): New function.
1540         (do_compare): New function.
1541         (STRCOLL): Use GNU style definition.  Simplify implementation
1542         by using get_next_seq, get_next_seq_cached and do_compare.
1544 2013-08-16  Florian Weimer  <fweimer@redhat.com>
1546         [BZ #14699]
1547         CVE-2013-4237
1548         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
1549         member.
1550         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
1551         member.
1552         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
1553         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
1554         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
1555         conditional.
1556         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
1557         GETDENTS_64BIT_ALIGNED.
1558         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
1559         * manual/filesys.texi (Reading/Closing Directory): Document
1560         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
1561         strongly.
1562         * manual/conf.texi (Limits for Files): Add portability note to
1563         NAME_MAX, PATH_MAX.
1564         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
1566 2013-08-13  Andreas Schwab  <schwab@suse.de>
1568         [BZ #15749]
1569         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
1570         of fabs.
1571         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
1572         LDBL_MAX_EXP >= 16384]: Add tests for it.
1574 2013-08-12  David S. Miller  <davem@davemloft.net>
1576         * version.h (RELEASE): Set to "development".
1577         (VERSION): Set to "2.18.90".
1578         * NEWS: Add 2.19 section.
1580 2013-08-03  David S. Miller  <davem@davemloft.net>
1582         * po/ko.po: Update Korean translation from translation project.
1584 2013-08-01  David S. Miller  <davem@davemloft.net>
1586         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
1587         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
1588         Bilka.
1590 2013-07-30  David S. Miller  <davem@davemloft.net>
1592         * po/fr.po: Update French translation from translation project.
1594 2013-07-28  David S. Miller  <davem@davemloft.net>
1596         * po/cs.po: Update Czech translation from translation project.
1598         * po/sv.po: Update Swedish translation from translation project.
1600 2013-07-27  David S. Miller  <davem@davemloft.net>
1602         * po/eo.po: Update Esperanto translation from translation project.
1604         * po/vi.po: Update Vietnamese translation from translation project.
1606         * po/de.po: Update German translation from translation project.
1608 2013-07-26  David S. Miller  <davem@davemloft.net>
1610         * po/bg.po: Update Bulgarian translation from translation project.
1612         * po/nl.po: Update Dutch translation from translation project.
1613         * po/pl.po: Update Polish translation from translation project.
1614         * po/ru.po: Update Russian translation from translation project.
1616 2013-07-24  David S. Miller  <davem@davemloft.net>
1618         * po/libc.pot: Update.
1620 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
1623         variable page size.
1624         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
1625         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
1626         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
1628 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1630         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
1632 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
1633             Andreas Schwab  <schwab@suse.de>
1634             Roland McGrath  <roland@hack.frob.com>
1635             Joseph Myers  <joseph@codesourcery.com>
1636             Carlos O'Donell  <carlos@redhat.com>
1638         [BZ #15755]
1639         * config.h.in: Define HAVE_PT_CHOWN.
1640         * config.make.in (build-pt-chown): New variable.
1641         * configure.in (--enable-pt_chown): New configure option.
1642         * configure: Regenerate.
1643         * login/Makefile: Include Makeconfig.  Build pt_chown only if
1644         build-pt-chown is enabled.
1645         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
1646         pt_chown to fix pty ownership.
1647         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
1648         CLOSE_ALL_FDS.
1649         * manual/install.texi (Configuring and compiling): Mention
1650         --enable-pt_chown. Add @findex for grantpt.
1651         * INSTALL: Regenerate.
1653 2013-07-20  David S. Miller  <davem@davemloft.net>
1655         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
1656         difference between 32-bit and 64-bit.
1658 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
1660         [BZ #15711]
1661         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
1662         Avoid system header dependency with -ffreestanding.
1663         ($(objpfx)bits/syscall%d): Likewise.
1665 2013-07-13  David S. Miller  <davem@davemloft.net>
1667         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
1668         underflows from atanl/atan2l due to bug 15319.
1669         (casinh_test_data): Likewise.
1671 2013-07-07  David S. Miller  <davem@davemloft.net>
1673         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1675 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
1677         * sysdeps/i386/fpu/libm-test-ulps: Update.
1678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1680 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1682         * configure.in (--enable-lock-elision): Fix message text.
1683         * INSTALL: Regenerate.
1684         * configure: Regenerate.
1686 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1690 2013-07-03  Andreas Jaeger  <aj@suse.de>
1692         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
1693         define.
1694         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
1695         (ptrace_peeksiginfo_args): Add.
1696         (__ptrace_peeksiginfo_flags): Add.
1697         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1698         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1699         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1701 2013-07-03  Allan McRae  <allan@archlinux.org>
1703         * sysdeps/i386/fpu/libm-test-ulps: Update.
1705 2013-07-02  David S. Miller  <davem@davemloft.net>
1707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1709 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
1711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1713 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1715         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
1716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1718 2013-07-02  Andi Kleen <ak@linux.intel.com>
1720         * config.h.in (ENABLE_LOCK_ELISION): Add.
1721         * configure.in (--enable-lock-elision): Add option.
1722         * manual/install.texi: Document --enable lock elision.
1723         * configure: Regenerate
1724         * INSTALL: Regenerate.
1726 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
1728         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
1729         SSE4.2 strcasecmp for libc.a.
1730         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1732 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
1734         [BZ #13304]
1735         * soft-fp/op-common.h (_FP_FMA): New macro.
1736         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
1737         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
1738         (_FP_MUL_MEAT_1_imm): ... here.
1739         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
1740         (_FP_MUL_MEAT_1_wide): ... here.
1741         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
1742         (_FP_MUL_MEAT_1_hard): ... here.
1743         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
1744         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
1745         (_FP_MUL_MEAT_2_wide): ... here.
1746         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
1747         (_FP_MUL_MEAT_2_wide_3mul): ... here.
1748         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
1749         (_FP_MUL_MEAT_2_gmp): ... here.
1750         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
1751         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
1752         (_FP_MUL_MEAT_4_wide): ... here.
1753         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
1754         (_FP_MUL_MEAT_4_gmp): ... here.
1755         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
1756         (_FP_WFRACBITS_DW_S): Likewise.
1757         (_FP_WFRACXBITS_DW_S): Likewise.
1758         (_FP_HIGHBIT_DW_S): Likewise.
1759         (FP_FMA_S): Likewise.
1760         (_FP_FRAC_HIGH_DW_S): Likewise.
1761         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
1762         (_FP_WFRACBITS_DW_D): Likewise.
1763         (_FP_WFRACXBITS_DW_D): Likewise.
1764         (_FP_HIGHBIT_DW_D): Likewise.
1765         (FP_FMA_D): Likewise.
1766         (_FP_FRAC_HIGH_DW_D): Likewise.
1767         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
1768         (_FP_WFRACBITS_DW_E): Likewise.
1769         (_FP_WFRACXBITS_DW_E): Likewise.
1770         (_FP_HIGHBIT_DW_E): Likewise.
1771         (FP_FMA_E): Likewise.
1772         (_FP_FRAC_HIGH_DW_E): Likewise.
1773         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
1774         (_FP_WFRACBITS_DW_Q): Likewise.
1775         (_FP_WFRACXBITS_DW_Q): Likewise.
1776         (_FP_HIGHBIT_DW_Q): Likewise.
1777         (FP_FMA_Q): Likewise.
1778         (_FP_FRAC_HIGH_DW_Q): Likewise.
1779         * soft-fp/fmasf4.c: New file.
1780         * soft-fp/fmadf4.c: Likewise.
1781         * soft-fp/fmatf4.c: Likewise.
1783 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1785         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
1786         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
1787         Silvermont.
1788         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
1789         macro.
1790         (index_Slow_SSE4_2): Likewise.
1791         (index_Prefer_PMINUB_for_stringop): Likewise.
1792         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
1793         bit_Slow_SSE4_2 is set.
1794         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1795         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1797 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1799         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
1800         rtld_global._dl_hwcap2.
1801         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
1802         POWER8.
1803         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
1804         POWER8 feature descriptions defined in _dl_hwcap2.
1805         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
1806         string handling for POWER8 feature bits.
1807         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
1808         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
1809         _dl_powerpc_cap_flags.
1810         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
1811         * sysdeps/powerpc/rtld-global-offsets.sym
1812         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
1813         _dl_hwcap2 in the rtld_global_ro structure.
1815 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1817         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
1818         hardware capabilities in support of AT_HWCAP2.
1819         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
1820         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
1821         GLRO(dl_hwcap2).
1822         (_dl_show_auxv): Add support for calling _dl_procinfo to display
1823         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
1824         explicitly the unknown a_type display mechanism is used.
1825         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
1826         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
1827         struct member.
1828         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
1829         to macro prototype for AT_HWCAP2 support.
1830         * sysdeps/i386/dl-procinfo.h: Likewise.
1831         * sysdeps/s390/dl-procinfo.h: Likewise.
1832         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
1833         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
1834         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
1835         return -1 for unknown a_type display fallback.
1836         * sysdeps/sparc/dl-procinfo.h: Likewise.
1837         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
1838         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
1840 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
1842         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
1843         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
1845 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
1847         [BZ #12492]
1848         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
1849         mprotect making __stack_prot writable.
1851 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
1852             Joseph Myers  <joseph@codesourcery.com>
1854         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
1855         as being properly aligned.
1857 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
1859         * dlfcn/modstatic5.c: New file.
1860         * dlfcn/tststatic5.c: New file.
1861         * dlfcn/Makefile (tests): Add tststatic5.
1862         (tests-static): Likewise.
1863         (modules-names): Add modstatic5.
1864         (tststatic5-ENV): New variable.
1865         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
1867         [BZ #15022]
1868         * elf/dl-support.c (_dl_main_map): New variable.
1869         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
1870         (_dl_nns, _dl_load_adds): Set to 1.
1871         (_dl_initial_searchlist): Refer to _dl_main_map.
1872         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
1873         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
1874         call to _dl_get_origin.
1875         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
1876         around call_map.
1877         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
1878         * dlfcn/modstatic3.c: New file.
1879         * dlfcn/tststatic3.c: New file.
1880         * dlfcn/tststatic4.c: New file.
1881         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
1882         (tests-static): Likewise.
1883         (modules-names): Add modstatic3.
1884         (tststatic3-ENV, tststatic4-ENV): New variables.
1885         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
1886         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
1888 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
1890         * configure.in (CC): Require GCC version 4.4 or later.
1891         * configure: Regenerated.
1892         * manual/install.texi (Tools for Compilation): Update GCC version
1893         requirement.
1894         * INSTALL: Regenerated.
1896 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
1898         [BZ #15674]
1899         * string/test-memcmp.c (check2): New.
1900         (main): Call check2.
1902         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
1904 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
1906         [BZ #15022]
1907         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
1908         over to...
1909         (dl_open_worker) [!SHARED]: ... here.
1911 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1913         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
1915 2013-06-25  Richard Henderson  <rth@redhat.com>
1917         * locale/programs/locarchive.c: Include <libc-internal.h>
1919 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
1921         * manual/texinfo.tex: Update to version 2013-06-21.17, with
1922         trailing whitespace removed.
1924 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1926         [BZ #10283]
1927         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
1928         * locale/programs/locarchive.c: Include libc-mmap.h.
1929         (prepare_address_space): Take two new outputs (the mmap base and len).
1930         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
1931         values.
1932         (create_archive): Declare new mmap base and len values for
1933         prepare_address_space, and store the result in ah.
1934         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
1935         (enlarge_archive): If ah->mmap_base is not NULL, use that and
1936         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1937         Declare new mmap base and len values for
1938         prepare_address_space, and store the result in new_ah.
1939         (open_archive): Declare new mmap base and len values for
1940         prepare_address_space, and store the result in ah.
1941         (close_archive): If ah->mmap_base is not NULL, use that and
1942         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
1943         * sysdeps/generic/libc-mmap.h: New file.
1945 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
1947         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
1948         (ALIGN_UP): Likewise.
1949         (PTR_ALIGN_DOWN): Likewise.
1950         (PTR_ALIGN_UP): Likewise.
1952 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
1954         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
1955         entry mapped to PPC_PLATFORM_POWER8.
1956         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
1957         POWER8.
1958         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
1959         (_dl_string_platform): Add case for exporting platform position for
1960         POWER8.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
1962         search path to sysdeps/powerpc/powerpc32/power8 directory.
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
1964         search path to sysdeps/powerpc/powerpc64/power8 directory.
1965         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
1966         power7 directories.
1967         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
1968         power7 directories.
1970 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1972         * INSTALL: Regenerate.
1974         * nscd/connections.c (nscd_init): Fix comment.
1976 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
1978         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
1980         [BZ #15667]
1981         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
1982         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
1984 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1986         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
1987         DL_DST_REQ_STATIC.
1988         (DL_DST_REQ_STATIC): Remove macro.
1990 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
1992         [BZ #7006]
1993         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
1994         with a shift of 0 bits.
1996 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
1998         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
1999         $(tststatic-ENV).
2001 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2003         [BZ #15655]
2004         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
2006 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2008         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
2009         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
2010         accepts -fno-tree-loop-distribute-patterns.
2011         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
2012         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
2013         recursive call.
2014         * string/memset.c (memset): Likewise.
2015         * string/test-memmove.c (simple_memmove): Disable loop transformation
2016         to library calls.
2017         * string/test-memset.c (simple_memset): Likewise.
2018         * benchtests/bench-memmove.c (simple_memmove): Likewise.
2019         * benchtests/bench-memset.c (simple_memset): Likewise.
2020         * configure: Regenerated.
2022 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
2024         * math/test-misc.c (main): Ignore fesetround failure when failures
2025         of subsequent rounding tests would be ignored.
2027         [BZ #15654]
2028         * math/fedisblxcpt.c (fedisableexcept): Return 0.
2029         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
2030         * math/fegetenv.c (__fegetenv): Return 0.
2031         * math/fegetexcept.c (fegetexcept): Return 0.
2032         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
2033         FE_TONEAREST.
2034         * math/feholdexcpt.c (feholdexcept): Return 0.
2035         * math/fesetenv.c (__fesetenv): Return 0.
2036         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
2037         argument FE_TONEAREST.
2038         * math/feupdateenv.c (__feupdateenv): Return 0.
2039         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
2041 2013-06-18  Roland McGrath  <roland@hack.frob.com>
2043         * elf/rtld-Rules (rtld-compile-command.S): New variable.
2044         (rtld-compile-command.s, rtld-compile-command.c): New variables.
2045         ($(objpfx)rtld-%.os rules): Use them.
2047 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2049         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
2050         fields.
2052 2013-06-17  Roland McGrath  <roland@hack.frob.com>
2054         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
2055         length of target pattern, then descending length of dependency pattern.
2056         * configure.in (AWK): Require gawk 3.1.2 or newer.
2057         * manual/install.texi (Tools for Compilation): Say that we do.
2058         * configure: Regenerated.
2060         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
2061         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
2062         * scripts/sysd-rules.awk: ... this new script.
2063         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
2064         than a glob-style pattern.
2066 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
2068         * math/test-misc.c (main): Do not treat incorrectly rounded
2069         conversions as failure unless ROUNDING_TESTS passes.
2071 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
2073         [BZ #15631]
2074         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
2075         restore exception state around main square root computation, then
2076         check for inexactness explicitly.
2078         * math/libm-test.inc (fma_test_data): Add another test.
2080 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2082         * manual/threads.texi (Non-POSIX Extensions): New document
2083         node.  Document pthread_getattr_default_np and
2084         pthread_setattr_default_np.
2086         * Versions.def (libpthread): Add GLIBC_2.18.
2087         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
2088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2089         Likewise.
2090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2091         Likewise.
2092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2093         Likewise.
2094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2095         Likewise.
2096         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
2097         Likewise.
2098         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2099         Likewise.
2100         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
2103         Likewise.
2104         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2105         Likewise.
2107 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
2109         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2110         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
2112 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2113             H.J. Lu  <hjl.tools@gmail.com>
2115         [BZ #15627]
2116         * sysdeps/x86_64/rtld-memset.c: Remove file.
2117         * sysdeps/x86_64/rtld-memset.S: New file.
2119 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
2121         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
2122         (test_in_one_mode): Take arguments for whether the rounding mode
2123         is supported for each floating-point type.
2124         (do_test): Pass new arguments to test_in_one_mode using
2125         ROUNDING_TESTS.
2127 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2129         * posix/tst-waitid.c (do_test): Distinguish different instances of
2130         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
2131         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
2132         before entering the kernel for waitpid.
2134 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2136         * NEWS: Fix note on clock function precision.  Text by Roland
2137         McGrath.
2139 2013-06-13  Roland McGrath  <roland@hack.frob.com>
2141         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
2142         it into place only when and if the sanity check passes.
2144 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
2146         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
2147         output for whether conversion result is exact.  Take argument
2148         indicating whether type is IBM long double.
2149         (round_for_all): Change need_exact field to ibm_ld.
2150         * stdlib/tst-strtod-round.c (struct exactness): New type.
2151         (struct test): Change bool ld_ok field to struct exactness exact.
2152         (TEST): Update all definitions for change to field.
2153         (tests): Regenerate array contents.
2154         (test_in_one_mode): Take pointer to new field instead of old ld_ok
2155         field value.  Check for IBM long double here.
2156         (do_test): Update calls to test_in_one_mode.
2158 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
2160         [BZ #12515]
2161         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
2162         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
2164 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2166         [BZ #15605]
2167         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
2168         generated by the compiler on loop optimizations.
2169         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
2170         general definitions.
2172 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
2174         * math/bug-nextafter.c: Include <math-tests.h>.
2175         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2176         the relevant type.
2177         * math/bug-nexttoward.c: Include <math-tests.h>.
2178         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2179         the relevant type.
2180         * math/test-misc.c: Include <math-tests.h>.
2181         (main): Only test for exceptions if EXCEPTION_TESTS is true for
2182         the relevant type.
2184 2013-06-12  Andreas Jaeger  <aj@suse.de>
2186         * po/ia.po: Update Interlingua translation from translation
2187         project.
2189 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2191         * include/fenv.h: Include stdbool.h.
2192         (struct rm_ctx): New structure.
2193         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
2194         Define macro.
2195         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
2196         (SET_RESTORE_ROUNDF): Likewise.
2197         (SET_RESTORE_ROUNDL): Likewise.
2198         (SET_RESTORE_ROUND_NOEX): Likewise.
2199         (SET_RESTORE_ROUND_NOEXF): Likewise.
2200         (SET_RESTORE_ROUND_NOEXL): Likewise.
2201         (SET_RESTORE_ROUND_53BIT): Likewise.
2202         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
2203         (libc_feresetround_noexf_ctx): Likewise.
2204         (libc_feresetround_noexl_ctx): Likewise.
2205         (libc_feholdsetround_53bit_ctx): Likewise.
2206         (libc_feresetround_53bit_ctx): Likewise.
2207         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
2208         (libc_feholdexcept_setround_sse_ctx): New function.
2209         (libc_fesetenv_sse_ctx): Likewise.
2210         (libc_feupdateenv_sse_ctx): Likewise.
2211         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
2212         (libc_feholdexcept_setround_387_ctx): Likewise.
2213         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
2214         (libc_feholdsetround_387_prec_ctx): Likewise.
2215         (libc_feholdsetround_387_ctx): Likewise.
2216         (libc_feholdsetround_387_53bit_ctx): Likewise.
2217         (libc_feholdsetround_sse_ctx): Likewise.
2218         (libc_feresetround_sse_ctx): Likewise.
2219         (libc_feresetround_387_ctx): Likewise.
2220         (libc_feupdateenv_387_ctx): Likewise.
2221         (libc_feholdexcept_setroundf_ctx): Define macro.
2222         (libc_fesetenvf_ctx): Likewise.
2223         (libc_feupdateenvf_ctx): Likewise.
2224         (libc_feholdsetroundf_ctx): Likewise.
2225         (libc_feresetroundf_ctx): Likewise.
2226         (libc_feholdexcept_setround_ctx): Likewise.
2227         (libc_fesetenv_ctx): Likewise.
2228         (libc_feupdateenv_ctx): Likewise.
2229         (libc_feholdsetround_ctx): Likewise.
2230         (libc_feresetround_ctx): Likewise.
2231         (libc_feholdexcept_setroundl_ctx): Likewise.
2232         (libc_feupdateenvl_ctx): Likewise.
2233         (libc_feholdsetroundl_ctx): Likewise.
2234         (libc_feresetroundl_ctx): Likewise.
2235         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
2236         (libc_feresetround_53bit_ctx): Likewise.
2238 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2240         * locale/iso-639.def: Convert to UTF-8.
2242 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
2244         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
2245         (EXCEPTION_TESTS_double): Likewise.
2246         (EXCEPTION_TESTS_long_double): Likewise.
2247         (EXCEPTION_TESTS): Likewise.
2248         * math/libm-test.inc (test_exceptions): Only test exceptions if
2249         EXCEPTION_TESTS (FLOAT).
2251 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2253         * benchtests/Makefile (string-bench): Add strcpy_chk and
2254         stpcpy_chk.
2255         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
2256         * benchtests/bench-stpcpy_chk.c: New file.
2257         * benchtests/bench-strcpy_chk-ifunc.c: New file.
2258         * benchtests/bench-strcpy_chk.c: New file.
2259         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
2260         code.
2261         (do_test): Likewise.
2263 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
2265         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
2266         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
2267         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
2268         with tabs where appropriate.
2269         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
2270         dl-procinfo.h.
2271         [PPC_PLATFORM_PPC440]: Likewise.
2272         [PPC_PLATFORM_PPC464]: Likewise.
2273         [PPC_PLATFORM_PPC476]: Likewise.
2274         (_dl_string_platform): Add support for detecting ppc405, ppc440,
2275         ppc464, and ppc476 platform strings merging from ports/
2276         dl-procinfo.h.
2278 2013-06-11  Andreas Schwab  <schwab@suse.de>
2280         [BZ #14991]
2281         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
2282         (from_ucs4_idx): Regenerate.
2283         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
2284         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
2285         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
2286         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
2287         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
2288         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
2289         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
2290         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
2291         from FROM_LOOP and TO_LOOP specific macros.
2292         (BODY): Handle combining characters.
2293         * iconvdata/BIG5HKSCS.irreversible: Update.
2294         * iconvdata/BIG5HKSCS.precomposed: New file.
2295         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
2296         characters.
2297         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
2299 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2301         * include/sys/time.h: Fix indentation and add copyright header.
2303         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
2304         (do_test): Likewise.
2305         * string/test-memchr.c (do_one_test): Likewise.
2306         (do_test): Likewise.
2307         * string/test-memcmp.c (do_one_test): Likewise.
2308         (do_test): Likewise.
2309         * string/test-memcpy.c (do_one_test): Likewise.
2310         (do_test): Likewise.
2311         * string/test-memmem.c (do_one_test): Likewise.
2312         (do_test): Likewise.
2313         (do_random_tests): Likewise.
2314         * string/test-memmove.c (do_one_test): Likewise.
2315         (do_test): Likewise.
2316         * string/test-memset.c (do_one_test): Likewise.
2317         (do_test): Likewise.
2318         * string/test-rawmemchr.c (do_one_test): Likewise.
2319         (do_test): Likewise.
2320         * string/test-strcasecmp.c (do_one_test): Likewise.
2321         (do_test): Likewise.
2322         * string/test-strcasestr.c (do_one_test): Likewise.
2323         (do_test): Likewise.
2324         * string/test-strcat.c (do_one_test): Likewise.
2325         (do_test): Likewise.
2326         * string/test-strchr.c (do_one_test): Likewise.
2327         (do_test): Likewise.
2328         * string/test-strcmp.c (do_one_test): Likewise.
2329         (do_test): Likewise.
2330         * string/test-strcpy.c (do_one_test): Likewise.
2331         (do_test): Likewise.
2332         * string/test-string.h: Likewise.
2333         (test_init): Likewise.
2334         * string/test-strlen.c (do_one_test): Likewise.
2335         (do_test): Likewise.
2336         * string/test-strncasecmp.c (do_one_test): Likewise.
2337         (do_test): Likewise.
2338         * string/test-strncat.c (do_one_test): Likewise.
2339         (do_test): Likewise.
2340         * string/test-strncmp.c (do_one_test): Likewise.
2341         (do_test_limit): Likewise.
2342         (do_test): Likewise.
2343         * string/test-strncpy.c (do_one_test): Likewise.
2344         (do_test): Likewise.
2345         * string/test-strnlen.c (do_one_test): Likewise.
2346         (do_test): Likewise.
2347         * string/test-strpbrk.c (do_one_test): Likewise.
2348         (do_test): Likewise.
2349         * string/test-strrchr.c (do_one_test): Likewise.
2350         (do_test): Likewise.
2351         * string/test-strspn.c (do_one_test): Likewise.
2352         (do_test): Likewise.
2353         * string/test-strstr.c (do_one_test): Likewise.
2354         (do_test): Likewise.
2356         * benchtests/Makefile (string-bench): Add string benchmarks.
2357         * benchtests/bench-bcopy-ifunc.c: New file.
2358         * benchtests/bench-bcopy.c: New file.
2359         * benchtests/bench-bzero-ifunc.c: New file.
2360         * benchtests/bench-bzero.c: New file.
2361         * benchtests/bench-memccpy-ifunc.c: New file.
2362         * benchtests/bench-memccpy.c: New file.
2363         * benchtests/bench-memchr-ifunc.c: New file.
2364         * benchtests/bench-memchr.c: New file.
2365         * benchtests/bench-memcmp-ifunc.c: New file.
2366         * benchtests/bench-memcmp.c: New file.
2367         * benchtests/bench-memmem-ifunc.c: New file.
2368         * benchtests/bench-memmem.c: New file.
2369         * benchtests/bench-memmove-ifunc.c: New file.
2370         * benchtests/bench-memmove.c: New file.
2371         * benchtests/bench-mempcpy-ifunc.c: New file.
2372         * benchtests/bench-mempcpy.c: New file.
2373         * benchtests/bench-memset-ifunc.c: New file.
2374         * benchtests/bench-memset.c: New file.
2375         * benchtests/bench-rawmemchr-ifunc.c: New file.
2376         * benchtests/bench-rawmemchr.c: New file.
2377         * benchtests/bench-stpcpy-ifunc.c: New file.
2378         * benchtests/bench-stpcpy.c: New file.
2379         * benchtests/bench-stpncpy-ifunc.c: New file.
2380         * benchtests/bench-stpncpy.c: New file.
2381         * benchtests/bench-strcasecmp-ifunc.c: New file.
2382         * benchtests/bench-strcasecmp.c: New file.
2383         * benchtests/bench-strcasestr-ifunc.c: New file.
2384         * benchtests/bench-strcasestr.c: New file.
2385         * benchtests/bench-strcat-ifunc.c: New file.
2386         * benchtests/bench-strcat.c: New file.
2387         * benchtests/bench-strchr-ifunc.c: New file.
2388         * benchtests/bench-strchr.c: New file.
2389         * benchtests/bench-strchrnul-ifunc.c: New file.
2390         * benchtests/bench-strchrnul.c: New file.
2391         * benchtests/bench-strcmp-ifunc.c: New file.
2392         * benchtests/bench-strcmp.c: New file.
2393         * benchtests/bench-strcpy-ifunc.c: New file.
2394         * benchtests/bench-strcpy.c: New file.
2395         * benchtests/bench-strcspn-ifunc.c: New file.
2396         * benchtests/bench-strcspn.c: New file.
2397         * benchtests/bench-strlen-ifunc.c: New file.
2398         * benchtests/bench-strlen.c: New file.
2399         * benchtests/bench-strncasecmp-ifunc.c: New file.
2400         * benchtests/bench-strncasecmp.c: New file.
2401         * benchtests/bench-strncat-ifunc.c: New file.
2402         * benchtests/bench-strncat.c: New file.
2403         * benchtests/bench-strncmp-ifunc.c: New file.
2404         * benchtests/bench-strncmp.c: New file.
2405         * benchtests/bench-strncpy-ifunc.c: New file.
2406         * benchtests/bench-strncpy.c: New file.
2407         * benchtests/bench-strnlen-ifunc.c: New file.
2408         * benchtests/bench-strnlen.c: New file.
2409         * benchtests/bench-strpbrk-ifunc.c: New file.
2410         * benchtests/bench-strpbrk.c: New file.
2411         * benchtests/bench-strrchr-ifunc.c: New file.
2412         * benchtests/bench-strrchr.c: New file.
2413         * benchtests/bench-strspn-ifunc.c: New file.
2414         * benchtests/bench-strspn.c: New file.
2415         * benchtests/bench-strstr-ifunc.c: New file.
2416         * benchtests/bench-strstr.c: New file.
2418         * benchtests/Makefile: Disable parallel execution of targets.
2419         (string-bench): Add memcpy.
2420         (benchset): New variable to store a list of benchmark sets.
2421         (bench-func): Renamed from bench.
2422         (bench-set): New target.
2423         (bench): Depend on bench-func and bench-set.
2424         * benchtests/README: Add section on benchmark sets.
2425         * benchtests/bench-memcpy-ifunc.c: New file.
2426         * benchtests/bench-memcpy.c: New file.
2427         * benchtests/bench-string.h: New file.
2429 2013-06-11  Andreas Schwab  <schwab@suse.de>
2431         [BZ #15577]
2432         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
2433         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
2434         values in the triple.
2435         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
2436         terminator in the group key.
2438 2013-06-11  Andreas Jaeger  <aj@suse.de>
2440         * po/zh_TW.po: Update Chinese (traditional) translation from
2441         translation project.
2443 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2445         * include/time.h (__clock_gettime): Add libc_hidden_proto.
2446         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
2447         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
2448         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
2449         (clock_getcpuclockid): Likewise.
2450         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
2451         Add weak_alias and libc_hidden_def.
2452         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2453         * rt/clock_gettime.c (clock_gettime): Rename to
2454         __clock_gettime.  Add weak_alias and libc_hidden_def.
2455         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
2456         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
2457         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
2458         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
2459         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
2460         Likewise.
2461         * rt/clock_settime.c (clock_settime): Rename to
2462         __clock_settime.  Add weak_alias and libc_hidden_def.
2463         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
2465 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
2467         * mach/err_boot.sub: Remove trailing whitespace.
2468         * mach/err_ipc.sub: Likewise.
2469         * mach/err_mach.sub: Likewise.
2471         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
2472         (ROUNDING_TESTS_double): Likewise.
2473         (ROUNDING_TESTS_long_double): Likewise.
2474         (ROUNDING_TESTS): Likewise.
2475         * math/libm-test.inc: Include <math-tests.h>.
2476         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
2477         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2478         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2479         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2481 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2483         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
2484         of assigning.
2486 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
2488         * sysdeps/gnu/errlist.awk: Do not generate space at end of
2489         otherwise empty TRANS lines.
2490         * sysdeps/gnu/errlist.c: Regenerated.
2492         * catgets/gencat.c (error_print): Use (void) in function
2493         definition.
2494         * crypt/crypt_util.c (__init_des): Likewise.
2495         * crypt/speeds.c (Stop): Likewise.
2496         (main): Likewise.
2497         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
2498         * inet/ruserpass.c (token): Likewise.
2499         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
2500         * intl/localealias.c (extend_alias_table): Likewise.
2501         * intl/plural-exp.c (init_germanic_plural): Likewise.
2502         * libio/fcloseall.c (__fcloseall): Likewise.
2503         * libio/genops.c (_IO_flush_all): Likewise.
2504         (_IO_flush_all_linebuffered): Likewise.
2505         (_IO_cleanup): Likewise.
2506         (_IO_iter_begin): Likewise.
2507         (_IO_iter_end): Likewise.
2508         (_IO_list_lock): Likewise.
2509         (_IO_list_unlock): Likewise.
2510         (_IO_list_resetlock): Likewise.
2511         * libio/getchar.c (getchar): Likewise.
2512         * libio/getchar_u.c (getchar_unlocked): Likewise.
2513         * libio/getwchar.c (getwchar): Likewise.
2514         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
2515         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
2516         * login/getpt.c (__getpt): Likewise.
2517         * login/tst-utmp.c (main): Likewise.
2518         * malloc/hooks.c (__malloc_check_init): Likewise.
2519         * malloc/malloc.c (__malloc_stats): Likewise.
2520         * malloc/mtrace.c (tr_break): Likewise.
2521         (mtrace): Likewise.
2522         (muntrace): Likewise.
2523         * misc/fstab.c (endfsent): Likewise.
2524         * misc/getclktck.c (__getclktck): Likewise.
2525         * misc/getdtsz.c (__getdtablesize): Likewise.
2526         * misc/gethostid.c (gethostid): Likewise.
2527         * misc/getpagesize.c (__getpagesize): Likewise.
2528         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
2529         (__get_nprocs): Likewise.
2530         (__get_phys_pages): Likewise.
2531         (__get_avphys_pages): Likewise.
2532         * misc/getttyent.c (getttyent): Likewise.
2533         (setttyent): Likewise.
2534         (endttyent): Likewise.
2535         * misc/getusershell.c (getusershell): Likewise.
2536         (endusershell): Likewise.
2537         (setusershell): Likewise.
2538         (initshells): Likewise.
2539         * misc/hsearch.c (__hdestroy): Likewise.
2540         * misc/sync.c (sync): Likewise.
2541         * misc/syslog.c (closelog_internal): Likewise.
2542         (closelog): Likewise.
2543         * misc/ttyslot.c (ttyslot): Likewise.
2544         * misc/vhangup.c (vhangup): Likewise.
2545         * posix/fork.c (__fork): Likewise.
2546         * posix/getegid.c (__getegid): Likewise.
2547         * posix/geteuid.c (__geteuid): Likewise.
2548         * posix/getgid.c (__getgid): Likewise.
2549         * posix/getpid.c (__getpid): Likewise.
2550         * posix/getppid.c (__getppid): Likewise.
2551         * posix/getuid.c (__getuid): Likewise.
2552         * posix/pause.c (pause): Likewise.
2553         * posix/setpgrp.c (setpgrp): Likewise.
2554         * posix/setsid.c (__setsid): Likewise.
2555         * posix/test-vfork.c (noop): Likewise.
2556         * resolv/gethnamaddr.c (_endhtent): Likewise.
2557         (_gethtent): Likewise.
2558         (ht_endhostent): Likewise.
2559         (gethostent): Likewise.
2560         (dns_service): Likewise.
2561         * stdlib/drand48.c (drand48): Likewise.
2562         * stdlib/lrand48.c (lrand48): Likewise.
2563         * stdlib/mrand48.c (mrand48): Likewise.
2564         * stdlib/rand.c (rand): Likewise.
2565         * stdlib/random.c (__random): Likewise.
2566         * stdlib/setenv.c (clearenv): Likewise.
2567         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
2568         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
2569         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
2570         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
2571         (__get_nprocs): Likewise.
2572         (__get_phys_pages): Likewise.
2573         (__get_avphys_pages): Likewise.
2574         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
2575         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
2576         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
2577         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
2578         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
2579         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
2580         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
2581         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
2582         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
2583         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
2584         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
2585         * sysdeps/mach/hurd/sync.c (sync): Likewise.
2586         * sysdeps/posix/clock.c (clock): Likewise.
2587         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
2588         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
2589         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
2590         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
2591         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
2592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
2593         (__get_nprocs_conf): Likewise.
2594         (__get_phys_pages): Likewise.
2595         (__get_avphys_pages): Likewise.
2596         * time/clock.c (clock): Likewise.
2597         * time/tzset.c (__tzname_max): Likewise.
2599 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
2601         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
2602         (__bswap_32): Do not use "register".
2603         * crypt/crypt.c (_ufc_doit_r): Likewise.
2604         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2605         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2606         * gmon/gmon.c (__monstartup): Likewise.
2607         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
2608         * hurd/hurdmalloc.c (more_memory): Likewise.
2609         (malloc): Likewise.
2610         (free): Likewise.
2611         (realloc): Likewise.
2612         (malloc_fork_prepare): Likewise.
2613         (malloc_fork_parent): Likewise.
2614         (malloc_fork_child): Likewise.
2615         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
2616         (_svcauth_des): Likewise.
2617         * inet/inet_lnaof.c (inet_lnaof): Likewise.
2618         * inet/inet_net.c (inet_network): Likewise.
2619         * inet/inet_netof.c (inet_netof): Likewise.
2620         * inet/rcmd.c (__validuser2_sa): Likewise.
2621         * io/fts.c (fts_open): Likewise.
2622         (fts_load): Likewise.
2623         (fts_close): Likewise.
2624         (fts_read): Likewise.
2625         (fts_children): Likewise.
2626         (fts_build): Likewise.
2627         (fts_stat): Likewise.
2628         (fts_sort): Likewise.
2629         (fts_alloc): Likewise.
2630         (fts_lfree): Likewise.
2631         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
2632         (_IO_file_xsgetn): Likewise.
2633         (_IO_file_xsgetn_mmap): Likewise.
2634         * libio/iofopncook.c (_IO_cookie_read): Likewise.
2635         (_IO_cookie_write): Likewise.
2636         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
2637         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
2638         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
2639         * malloc/obstack.c (_obstack_begin): Likewise.
2640         (_obstack_begin_1): Likewise.
2641         (_obstack_newchunk): Likewise.
2642         (_obstack_allocated_p): Likewise.
2643         (obstack_free): Likewise.
2644         (_obstack_memory_used): Likewise.
2645         * misc/getttyent.c (getttynam): Likewise.
2646         (getttyent): Likewise.
2647         (skip): Likewise.
2648         (value): Likewise.
2649         * misc/getusershell.c (initshells): Likewise.
2650         * misc/syslog.c (__vsyslog_chk): Likewise.
2651         * misc/ttyslot.c (ttyslot): Likewise.
2652         * nis/nis_hash.c (__nis_hash): Likewise.
2653         * posix/fnmatch_loop.c (FCT): Likewise.
2654         * posix/getconf.c (print_all): Likewise.
2655         (main): Likewise.
2656         * posix/getopt.c (exchange): Likewise.
2657         * posix/glob.c (globfree): Likewise.
2658         (prefix_array): Likewise.
2659         (__glob_pattern_type): Likewise.
2660         * resolv/arpa/nameser.h (NS_GET16): Likewise.
2661         (NS_GET32): Likewise.
2662         (NS_PUT16): Likewise.
2663         (NS_PUT32): Likewise.
2664         * resolv/gethnamaddr.c (getanswer): Likewise.
2665         (gethostbyname2): Likewise.
2666         (gethostbyaddr): Likewise.
2667         (_gethtent): Likewise.
2668         (_gethtbyname2): Likewise.
2669         (_gethtbyaddr): Likewise.
2670         * resolv/ns_print.c (dst_s_get_int16): Likewise.
2671         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
2672         * resolv/res_init.c (__res_vinit): Likewise.
2673         (net_mask): Likewise.
2674         * resolv/res_mkquery.c (outchar): Likewise.
2675         (PRINT): Likewise.
2676         * stdio-common/printf_fp.c (outchar): Likewise.
2677         (PRINT): Likewise.
2678         * stdio-common/printf_fphex.c (outchar): Likewise.
2679         (PRINT): Likewise.
2680         * stdio-common/printf_size.c (outchar): Likewise.
2681         (PRINT): Likewise.
2682         * stdio-common/test_rdwr.c (main): Likewise.
2683         * stdio-common/tfformat.c (matches): Likewise.
2684         * stdio-common/vfprintf.c (outchar): Likewise.
2685         (printf_unknown): Likewise.
2686         (buffered_vfprintf): Likewise.
2687         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2688         * stdio-common/xbug.c (AppendToBuffer): Likewise.
2689         (ReadFile): Likewise.
2690         * stdlib/qsort.c (SWAP): Likewise.
2691         (_quicksort): Likewise.
2692         * stdlib/setenv.c (__add_to_environ): Likewise.
2693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2694         * stdlib/strtol_l.c (__strtol_l): Likewise.
2695         * stdlib/tst-strtod.c (main): Likewise.
2696         * stdlib/tst-strtol.c (main): Likewise.
2697         * stdlib/tst-strtoll.c (main): Likewise.
2698         * string/bits/string2.h (__strcmp_cc): Likewise.
2699         (__strcmp_cg): Likewise.
2700         (__strcspn_c1): Likewise.
2701         (__strcspn_c2): Likewise.
2702         (__strcspn_c3): Likewise.
2703         (__strspn_c1): Likewise.
2704         (__strspn_c2): Likewise.
2705         (__strspn_c3): Likewise.
2706         (__strsep_1c): Likewise.
2707         (__strsep_2c): Likewise.
2708         (__strsep_3c): Likewise.
2709         * string/memccpy.c (__memccpy): Likewise.
2710         * string/stpcpy.c (__stpcpy): Likewise.
2711         * string/strcmp.c (strcmp): Likewise.
2712         * string/strrchr.c (strrchr): Likewise.
2713         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
2714         Likewise.
2715         * sysdeps/mach/hurd/getcwd.c
2716         (_hurd_canonicalize_directory_name_internal): Likewise.
2717         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
2718         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
2719         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
2720         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
2721         Likewise, in both definitions.
2722         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
2723         definitions.
2724         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
2725         64] (__bswap_64): Likewise.
2726         * time/test_time.c (main): Likewise.
2727         * time/tzfile.c (__tzfile_read): Likewise.
2728         (__tzfile_compute): Likewise.
2729         * time/tzset.c (__tzset_parse_tz): Likewise.
2730         (tzset_internal): Likewise.
2731         (compute_change): Likewise.
2732         * wcsmbs/wcscat.c (__wcscat): Likewise.
2733         * wcsmbs/wcschr.c (wcschr): Likewise.
2734         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
2735         * wcsmbs/wcscspn.c (wcscspn): Likewise.
2736         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
2737         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
2738         * wcsmbs/wcsspn.c (wcsspn): Likewise.
2739         * wcsmbs/wcsstr.c (wcsstr): Likewise.
2740         * wcsmbs/wmemchr.c (wmemchr): Likewise.
2741         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
2742         * wcsmbs/wmemset.c (wmemset): Likewise.
2744 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
2746         * scripts/config.guess: Update to version 2013-05-16.
2747         * scripts/config.sub: Update to version 2013-04-24.
2748         * scripts/install-sh: Update to version 2011-11-20.07.
2749         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
2750         * scripts/move-if-change: Update to version 2012-01-06 07:23.
2752 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
2754         * debug/fgetws_u_chk.c: Fix leading whitespaces.
2755         * elf/sln.c: Likewise.
2756         * hurd/hurd/ioctl.h: Likewise.
2757         * hurd/hurdmalloc.c: Likewise.
2758         * hurd/xattr.c: Likewise.
2759         * include/shlib-compat.h: Likewise.
2760         * inet/ruserpass.c: Likewise.
2761         * libio/iofgets_u.c: Likewise.
2762         * libio/iofgetws_u.c: Likewise.
2763         * locale/programs/ld-identification.c: Likewise.
2764         * locale/programs/ld-time.c: Likewise.
2765         * mach/msg-destroy.c: Likewise.
2766         * nss/nss_files/files-netgrp.c: Likewise.
2767         * resolv/res_data.c: Likewise.
2768         * soft-fp/op-1.h: Likewise.
2769         * soft-fp/op-2.h: Likewise.
2770         * soft-fp/op-4.h: Likewise.
2771         * soft-fp/op-common.h: Likewise.
2772         * stdio-common/printf_fphex.c: Likewise.
2773         * stdlib/strtod_l.c: Likewise.
2774         * sunrpc/rpc/clnt.h: Likewise.
2775         * sysdeps/generic/framestate.c: Likewise.
2776         * sysdeps/i386/bsd-_setjmp.S: Likewise.
2777         * sysdeps/i386/bsd-setjmp.S: Likewise.
2778         * sysdeps/i386/__longjmp.S: Likewise.
2779         * sysdeps/i386/setjmp.S: Likewise.
2780         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2781         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2782         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
2798         * sysdeps/ieee754/support.c: Likewise.
2799         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
2800         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
2801         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
2802         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
2803         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
2804         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
2805         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
2806         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
2807         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
2808         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
2809         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
2810         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
2811         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
2812         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
2813         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
2814         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
2815         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2818 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
2820         * posix/transbug.c: Remove executable mode.
2822 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
2824         * crypt/speeds.c: Remove trailing whitespace.
2825         * dlfcn/default.c: Likewise.
2826         * elf/ifuncdep2.c: Likewise.
2827         * elf/ifuncmain1.c: Likewise.
2828         * elf/ifuncmain1vis.c: Likewise.
2829         * elf/testobj.h: Likewise.
2830         * elf/tst-stackguard1.c: Likewise.
2831         * gmon/sys/gmon.h: Likewise.
2832         * hurd/hurdmsg.c: Likewise.
2833         * hurd/new-fd.c: Likewise.
2834         * hurd/ports-get.c: Likewise.
2835         * iconvdata/ibm1008_420.c: Likewise.
2836         * inet/tst-getni1.c: Likewise.
2837         * inet/tst-getni2.c: Likewise.
2838         * libio/ioungetc.c: Likewise.
2839         * libio/wfiledoalloc.c: Likewise.
2840         * manual/libm-err-tab.pl: Likewise.
2841         * math/w_dremf.c: Likewise.
2842         * misc/ftruncate.c: Likewise.
2843         * posix/bug-glob2.c: Likewise.
2844         * posix/tst-pcre.c: Likewise.
2845         * posix/wait4.c: Likewise.
2846         * resolv/README: Likewise.
2847         * resolv/res_debug.h: Likewise.
2848         * resolv/tst-inet_ntop.c: Likewise.
2849         * setjmp/bug269-setjmp.c: Likewise.
2850         * soft-fp/extended.h: Likewise.
2851         * soft-fp/op-1.h: Likewise.
2852         * soft-fp/op-2.h: Likewise.
2853         * soft-fp/op-4.h: Likewise.
2854         * soft-fp/op-8.h: Likewise.
2855         * soft-fp/testit.c: Likewise.
2856         * stdio-common/bug16.c: Likewise.
2857         * stdlib/random.c: Likewise.
2858         * sunrpc/rpcsvc/rquota.x: Likewise.
2859         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
2860         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2861         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2862         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2863         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2864         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2865         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2866         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2867         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2868         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2869         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2870         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2871         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2872         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2873         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2874         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2875         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2876         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2877         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2878         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2879         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2880         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2881         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2885         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2886         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
2887         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2888         * sysdeps/ieee754/s_lib_version.c: Likewise.
2889         * sysdeps/mach/hurd/check_fds.c: Likewise.
2890         * sysdeps/mach/hurd/getsockname.c: Likewise.
2891         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
2892         * sysdeps/mach/hurd/recvfrom.c: Likewise.
2893         * sysdeps/powerpc/bits/link.h: Likewise.
2894         * sysdeps/powerpc/dl-procinfo.c: Likewise.
2895         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
2896         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
2897         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
2898         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
2899         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2900         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
2901         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
2902         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
2903         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
2904         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2905         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2906         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
2907         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
2908         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
2909         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
2910         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2911         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2912         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
2913         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
2914         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
2915         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
2916         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2917         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2918         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
2919         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2920         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2921         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
2922         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
2923         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2924         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2925         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2926         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2927         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2928         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
2929         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
2930         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2931         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2932         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2933         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
2936         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
2937         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2938         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2939         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
2944         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2945         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2946         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2947         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2949         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2951         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2952         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
2953         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2955         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2956         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2957         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2958         * sysdeps/powerpc/sysdep.h: Likewise.
2959         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2960         * sysdeps/s390/s390-64/sub_n.S: Likewise.
2961         * sysdeps/sh/dl-trampoline.S: Likewise.
2962         * sysdeps/sh/memset.S: Likewise.
2963         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
2964         * sysdeps/sh/strlen.S: Likewise.
2965         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
2966         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
2967         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
2968         * sysdeps/sparc/sparc32/rem.S: Likewise.
2969         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
2970         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
2971         * sysdeps/sparc/sparc32/strchr.S: Likewise.
2972         * sysdeps/sparc/sparc32/udiv.S: Likewise.
2973         * sysdeps/sparc/sparc32/urem.S: Likewise.
2974         * sysdeps/sparc/sparc64/add_n.S: Likewise.
2975         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
2976         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
2977         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
2978         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
2979         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
2980         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2981         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
2982         * sysdeps/unix/bsd/times.c: Likewise.
2983         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
2984         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
2988         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
2989         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
2990         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
2991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
2992         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
2993         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
2994         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
2995         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
2996         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
2997         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
2998         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2999         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
3000         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
3001         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
3002         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
3003         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3004         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
3005         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3006         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
3007         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
3008         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3009         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
3010         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3011         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
3012         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
3013         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
3014         * sysdeps/x86_64/strcspn.S: Likewise.
3016 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
3018         * locale/C-translit.h: Revert #include <stdint.h> because this is a
3019         generated file.  Regenerate properly from gen-translit.pl.
3020         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
3021         locale/C-translit.h.
3023 2013-06-05  Andreas Schwab  <schwab@suse.de>
3025         [BZ #15100]
3026         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
3027         week as 6 instead of -1.
3028         * time/tst-strptime.c (day_tests): Add test case.
3030 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3032         * sysdeps/generic/math_private.h
3033         (libc_feholdexcept_setround_53bit): Replace with
3034         libc_feholdsetround_53bit.
3035         (libc_feupdateenv_53bit): Replace with
3036         libc_feresetround_53bit.
3037         (SET_RESTORE_ROUND_53BIT): Adjust.
3039 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
3041         * string/test-strchrnul.c: Add copyright header.
3043         * posix/tst-getaddrinfo4.c: Increase test timeout.
3045 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
3047         [BZ #15536]
3048         * math/libm-test.inc (MAX_EXP): Remove
3049         (MIN_EXP): Define.
3050         (ulp): Use MIN_EXP - MANT_DIG.
3051         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
3053 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
3055         * po/be.po: Revert last change.
3056         * po/zh_CN.po: Likewise.
3057         * po/header.pot: Likewise.
3059 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
3061         * Makefile ($(common-objpfx)linkobj/libc.so): Define
3062         link-libc-deps to empty as target-specific variable.
3063         * Makerules (link-libc-args): New variable.
3064         (libc-for-link): Likewise.
3065         (link-libc-deps): Likewise.
3066         (lib%.so): Depend on $(link-libc-deps).  Link with
3067         $(link-libc-args).
3068         (build-module): Link with $(link-libc-args).
3069         (build-module-asneeded): Likewise.
3070         (build-module-helper-objlist): Filter out $(link-libc-deps) from
3071         list of objects.
3072         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
3073         target-specific variable.
3074         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
3075         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
3076         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
3077         libc.
3078         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
3079         libc and ld.so.
3080         ($(objpfx)libpcprofile.so): Likewise.
3081         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
3082         libc_nonshared.a.
3083         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
3084         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
3085         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
3086         $(link-libc-deps).
3087         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
3088         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
3089         * login/Makefile ($(objpfx)libutil.so): Likewise.
3090         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
3091         * math/Makefile ($(objpfx)libm.so): Likewise.
3092         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
3093         $(objpfx)libnsl.so): Define libc-for-link as target-specific
3094         variable instead of depending directly on libc.
3095         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
3096         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
3097         $(link-libc-deps).
3098         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
3099         libc.
3100         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
3101         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
3102         ($(objpfx)libanl.so): Likewise.
3103         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
3104         ld.so.
3105         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
3106         $(link-libc-deps).
3107         * sysdeps/i386/fpu/Makefile: Remove file.
3108         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
3109         ($(objpfx)libm.so): Remove dependency on ld.so.
3111 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
3113         [BZ # 15553]
3114         * nis/yp_xdr.c (XDRMAXNAME): Define.
3115         (XDRMAXRECORD): Define.
3116         (xdr_domainname): Use XDRMAXNAME.
3117         (xdr_mapname): Likewise.
3118         (xdr_peername): Likewise.
3119         (xdr_keydat): Use XDRMAXRECORD.
3120         (xdr_valdat): Likewise.
3122 2013-05-30  Jeff Law  <law@redhat.com>
3124         [BZ #14256]
3125         * manual/errno.texi (ESTALE): Update to account for more than
3126         just NFS file systems.
3127         * sysdeps/gnu/errlist.c: Regenerated.
3129 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3131         [BZ #15465]
3132         * elf/Makefile (tests): Add tst-null-argv.
3133         (modules-names):  Add tst-null-argv-lib.
3134         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
3135         (tst-null-argv-ENV): Set environment for tst-null-argv.
3136         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
3137         (RTLD_PROGNAME): New macro.
3138         * elf/tst-null-argv.c: New test case.
3139         * elf/tst-null-argv-lib.c: Library for test case.
3140         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
3141         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
3142         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
3143         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
3144         * elf/dl-init.c (call_init): Likewise.
3145         (_dl_init): Likewise.
3146         * elf/dl-load.c (print_search_path): Likewise.
3147         (_dl_map_object): Likewise.
3148         * elf/dl-lookup.c (do_lookup_x): Likewise.
3149         (add_dependency): Likewise.
3150         (_dl_lookup_symbol_x): Likewise.
3151         (_dl_debug_bindings): Likewise.
3152         * elf/dl-open.c (_dl_show_scope): Likewise.
3153         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3154         * elf/dl-version.c (match_symbol): Likewise.
3155         (_dl_check_map_versions): Likewise.
3156         * elf/rtld.c (dl_main): Likewise.
3157         (print_unresolved): Use RTLD_PROGNAME.
3158         (print_missing_version): Likewise.
3159         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
3160         (elf_machine_rela): Likewise.
3161         * sysdeps/powerpc/powerpc32/dl-machine.c
3162         (__process_machine_rela): Likewise.
3163         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
3164         Likewise.
3165         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
3166         Likewise.
3167         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3168         Likewise.
3169         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3170         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
3171         Likewise.
3172         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
3173         Likewise.
3174         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3176 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
3178         * po/be.po: Add descriptive title.
3179         * po/zh_CN.po: Likewise.
3180         * po/header.pot: Likewise.
3182 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
3184         * locale/programs/locarchive.c (create_archive): Inlucde fname in
3185         error message.
3186         (enlarge_archive): Likewise.
3188 2013-05-28  Ben North  <ben@redfrontdoor.org>
3190         * manual/arith.texi (frexp): It is the magnitude of the return
3191         value which lies in [0.5, 1), not the return value itself.
3193 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3197 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
3199         * stdio-common/bug26.c (main): Correct fscanf template.
3201         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
3202         declare _dl_skip_args.
3204         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
3205         Don't declare.
3207         * manual/platform.texi: Add missing @end deftypefun.
3209 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3211         [BZ #15529]
3212         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
3213         bit of mantissa of 2^16382.
3214         * math/libm-test.inc (hypot_test_data): Add more tests.
3216         * math/libm-test.inc: Add drem and pow10 to list of tested
3217         functions.
3218         (pow10_test): New function.
3219         (drem_test): Likewise.
3220         (drem_test_tonearest): Likewise.
3221         (drem_test_towardzero): Likewise.
3222         (drem_test_downward): Likewise.
3223         (drem_test_upward): Likewise.
3224         (main): Call the new functions.
3226         * math/libm-test.inc (finite_test_data): Remove.
3227         (finite_test): Run tests from isfinite_test_data.
3228         (gamma_test_data): Remove.
3229         (gamma_test): Run tests from lgamma_test_data.
3230         * sysdeps/i386/fpu/libm-test-ulps: Update.
3231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3233 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3235         * manual/platform.texi: Add PowerPC PPR function set documentation.
3236         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
3237         implementation.
3239 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
3241         * math/libm-test.inc (MAX_EXP): Define.
3242         (ULPDIFF): Define.
3243         (ulp): New function.
3244         (check_float_internal): Use ULPDIFF.
3245         (cpow_test): Disable failing test.
3246         (check_ulp): Test ulp() implemetnation.
3247         (main): Call check_ulp before starting tests.
3249 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
3251         * math/gen-libm-test.pl (generate_testfile): Do not handle
3252         START_DATA and END_DATA.
3253         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
3254         END_DATA.
3255         (acos_tonearest_test_data): Likewise.
3256         (acos_towardzero_test_data): Likewise.
3257         (acos_downward_test_data): Likewise.
3258         (acos_upward_test_data): Likewise.
3259         (acosh_test_data): Likewise.
3260         (asin_test_data): Likewise.
3261         (asin_tonearest_test_data): Likewise.
3262         (asin_towardzero_test_data): Likewise.
3263         (asin_downward_test_data): Likewise.
3264         (asin_upward_test_data): Likewise.
3265         (asinh_test_data): Likewise.
3266         (atan_test_data): Likewise.
3267         (atanh_test_data): Likewise.
3268         (atan2_test_data): Likewise.
3269         (cabs_test_data): Likewise.
3270         (cacos_test_data): Likewise.
3271         (cacosh_test_data): Likewise.
3272         (carg_test_data): Likewise.
3273         (casin_test_data): Likewise.
3274         (casinh_test_data): Likewise.
3275         (catan_test_data): Likewise.
3276         (catanh_test_data): Likewise.
3277         (cbrt_test_data): Likewise.
3278         (ccos_test_data): Likewise.
3279         (ccosh_test_data): Likewise.
3280         (ceil_test_data): Likewise.
3281         (cexp_test_data): Likewise.
3282         (cimag_test_data): Likewise.
3283         (clog_test_data): Likewise.
3284         (clog10_test_data): Likewise.
3285         (conj_test_data): Likewise.
3286         (copysign_test_data): Likewise.
3287         (cos_test_data): Likewise.
3288         (cos_tonearest_test_data): Likewise.
3289         (cos_towardzero_test_data): Likewise.
3290         (cos_downward_test_data): Likewise.
3291         (cos_upward_test_data): Likewise.
3292         (cosh_test_data): Likewise.
3293         (cosh_tonearest_test_data): Likewise.
3294         (cosh_towardzero_test_data): Likewise.
3295         (cosh_downward_test_data): Likewise.
3296         (cosh_upward_test_data): Likewise.
3297         (cpow_test_data): Likewise.
3298         (cproj_test_data): Likewise.
3299         (creal_test_data): Likewise.
3300         (csin_test_data): Likewise.
3301         (csinh_test_data): Likewise.
3302         (csqrt_test_data): Likewise.
3303         (ctan_test_data): Likewise.
3304         (ctan_tonearest_test_data): Likewise.
3305         (ctan_towardzero_test_data): Likewise.
3306         (ctan_downward_test_data): Likewise.
3307         (ctan_upward_test_data): Likewise.
3308         (ctanh_test_data): Likewise.
3309         (ctanh_tonearest_test_data): Likewise.
3310         (ctanh_towardzero_test_data): Likewise.
3311         (ctanh_downward_test_data): Likewise.
3312         (ctanh_upward_test_data): Likewise.
3313         (erf_test_data): Likewise.
3314         (erfc_test_data): Likewise.
3315         (exp_test_data): Likewise.
3316         (exp_tonearest_test_data): Likewise.
3317         (exp_towardzero_test_data): Likewise.
3318         (exp_downward_test_data): Likewise.
3319         (exp_upward_test_data): Likewise.
3320         (exp10_test_data): Likewise.
3321         (exp2_test_data): Likewise.
3322         (expm1_test_data): Likewise.
3323         (fabs_test_data): Likewise.
3324         (fdim_test_data): Likewise.
3325         (finite_test_data): Likewise.
3326         (floor_test_data): Likewise.
3327         (fma_test_data): Likewise.
3328         (fma_towardzero_test_data): Likewise.
3329         (fma_downward_test_data): Likewise.
3330         (fma_upward_test_data): Likewise.
3331         (fmax_test_data): Likewise.
3332         (fmin_test_data): Likewise.
3333         (fmod_test_data): Likewise.
3334         (fpclassify_test_data): Likewise.
3335         (frexp_test_data): Likewise.
3336         (gamma_test_data): Likewise.
3337         (hypot_test_data): Likewise.
3338         (ilogb_test_data): Likewise.
3339         (isfinite_test_data): Likewise.
3340         (isgreater_test_data): Likewise.
3341         (isgreaterequal_test_data): Likewise.
3342         (isinf_test_data): Likewise.
3343         (isless_test_data): Likewise.
3344         (islessequal_test_data): Likewise.
3345         (islessgreater_test_data): Likewise.
3346         (isnan_test_data): Likewise.
3347         (isnormal_test_data): Likewise.
3348         (issignaling_test_data): Likewise.
3349         (isunordered_test_data): Likewise.
3350         (j0_test_data): Likewise.
3351         (j1_test_data): Likewise.
3352         (jn_test_data): Likewise.
3353         (ldexp_test_data): Likewise.
3354         (lgamma_test_data): Likewise.
3355         (lrint_test_data): Likewise.
3356         (lrint_tonearest_test_data): Likewise.
3357         (lrint_towardzero_test_data): Likewise.
3358         (lrint_downward_test_data): Likewise.
3359         (lrint_upward_test_data): Likewise.
3360         (llrint_test_data): Likewise.
3361         (llrint_tonearest_test_data): Likewise.
3362         (llrint_towardzero_test_data): Likewise.
3363         (llrint_downward_test_data): Likewise.
3364         (llrint_upward_test_data): Likewise.
3365         (log_test_data): Likewise.
3366         (log10_test_data): Likewise.
3367         (log1p_test_data): Likewise.
3368         (log2_test_data): Likewise.
3369         (logb_test_data): Likewise.
3370         (logb_downward_test_data): Likewise.
3371         (lround_test_data): Likewise.
3372         (llround_test_data): Likewise.
3373         (modf_test_data): Likewise.
3374         (nearbyint_test_data): Likewise.
3375         (nextafter_test_data): Likewise.
3376         (nexttoward_test_data): Likewise.
3377         (pow_test_data): Likewise.
3378         (pow_tonearest_test_data): Likewise.
3379         (pow_towardzero_test_data): Likewise.
3380         (pow_downward_test_data): Likewise.
3381         (pow_upward_test_data): Likewise.
3382         (remainder_test_data): Likewise.
3383         (remainder_tonearest_test_data): Likewise.
3384         (remainder_towardzero_test_data): Likewise.
3385         (remainder_downward_test_data): Likewise.
3386         (remainder_upward_test_data): Likewise.
3387         (remquo_test_data): Likewise.
3388         (rint_test_data): Likewise.
3389         (rint_tonearest_test_data): Likewise.
3390         (rint_towardzero_test_data): Likewise.
3391         (rint_downward_test_data): Likewise.
3392         (rint_upward_test_data): Likewise.
3393         (round_test_data): Likewise.
3394         (scalb_test_data): Likewise.
3395         (scalbn_test_data): Likewise.
3396         (scalbln_test_data): Likewise.
3397         (signbit_test_data): Likewise.
3398         (sin_test_data): Likewise.
3399         (sin_tonearest_test_data): Likewise.
3400         (sin_towardzero_test_data): Likewise.
3401         (sin_downward_test_data): Likewise.
3402         (sin_upward_test_data): Likewise.
3403         (sincos_test_data): Likewise.
3404         (sinh_test_data): Likewise.
3405         (sinh_tonearest_test_data): Likewise.
3406         (sinh_towardzero_test_data): Likewise.
3407         (sinh_downward_test_data): Likewise.
3408         (sinh_upward_test_data): Likewise.
3409         (sqrt_test_data): Likewise.
3410         (tan_test_data): Likewise.
3411         (tan_tonearest_test_data): Likewise.
3412         (tan_towardzero_test_data): Likewise.
3413         (tan_downward_test_data): Likewise.
3414         (tan_upward_test_data): Likewise.
3415         (tanh_test_data): Likewise.
3416         (tgamma_test_data): Likewise.
3417         (trunc_test_data): Likewise.
3418         (y0_test_data): Likewise.
3419         (y1_test_data): Likewise.
3420         (yn_test_data): Likewise.
3421         (significand_test_data): Likewise.
3423         * math/gen-libm-test.pl (@functions): Remove variable.
3424         (generate_testfile): Don't handle START and END lines.
3425         * math/libm-test.inc (START): New macro.
3426         (END): Likewise.
3427         (END_COMPLEX): Likewise.
3428         (acos_test): Use END macro without arguments.
3429         (acos_test_tonearest): Likewise.
3430         (acos_test_towardzero): Likewise.
3431         (acos_test_downward): Likewise.
3432         (acos_test_upward): Likewise.
3433         (acosh_test): Likewise.
3434         (asin_test): Likewise.
3435         (asin_test_tonearest): Likewise.
3436         (asin_test_towardzero): Likewise.
3437         (asin_test_downward): Likewise.
3438         (asin_test_upward): Likewise.
3439         (asinh_test): Likewise.
3440         (atan_test): Likewise.
3441         (atanh_test): Likewise.
3442         (atan2_test): Likewise.
3443         (cabs_test): Likewise.
3444         (cacos_test): Use END_COMPLEX macro without arguments.
3445         (cacosh_test): Likewise.
3446         (carg_test): Use END macro without arguments.
3447         (casin_test): Use END_COMPLEX macro without arguments.
3448         (casinh_test): Likewise.
3449         (catan_test): Likewise.
3450         (catanh_test): Likewise.
3451         (cbrt_test): Use END macro without arguments.
3452         (ccos_test): Use END_COMPLEX macro without arguments.
3453         (ccosh_test): Likewise.
3454         (ceil_test): Use END macro without arguments.
3455         (cexp_test): Use END_COMPLEX macro without arguments.
3456         (cimag_test): Use END macro without arguments.
3457         (clog_test): Use END_COMPLEX macro without arguments.
3458         (clog10_test): Likewise.
3459         (conj_test): Likewise.
3460         (copysign_test): Use END macro without arguments.
3461         (cos_test): Likewise.
3462         (cos_test_tonearest): Likewise.
3463         (cos_test_towardzero): Likewise.
3464         (cos_test_downward): Likewise.
3465         (cos_test_upward): Likewise.
3466         (cosh_test): Likewise.
3467         (cosh_test_tonearest): Likewise.
3468         (cosh_test_towardzero): Likewise.
3469         (cosh_test_downward): Likewise.
3470         (cosh_test_upward): Likewise.
3471         (cpow_test): Use END_COMPLEX macro without arguments.
3472         (cproj_test): Likewise.
3473         (creal_test): Use END macro without arguments.
3474         (csin_test): Use END_COMPLEX macro without arguments.
3475         (csinh_test): Likewise.
3476         (csqrt_test): Likewise.
3477         (ctan_test): Likewise.
3478         (ctan_test_tonearest): Likewise.
3479         (ctan_test_towardzero): Likewise.
3480         (ctan_test_downward): Likewise.
3481         (ctan_test_upward): Likewise.
3482         (ctanh_test): Likewise.
3483         (ctanh_test_tonearest): Likewise.
3484         (ctanh_test_towardzero): Likewise.
3485         (ctanh_test_downward): Likewise.
3486         (ctanh_test_upward): Likewise.
3487         (erf_test): Use END macro without arguments.
3488         (erfc_test): Likewise.
3489         (exp_test): Likewise.
3490         (exp_test_tonearest): Likewise.
3491         (exp_test_towardzero): Likewise.
3492         (exp_test_downward): Likewise.
3493         (exp_test_upward): Likewise.
3494         (exp10_test): Likewise.
3495         (exp2_test): Likewise.
3496         (expm1_test): Likewise.
3497         (fabs_test): Likewise.
3498         (fdim_test): Likewise.
3499         (finite_test): Likewise.
3500         (floor_test): Likewise.
3501         (fma_test): Likewise.
3502         (fma_test_towardzero): Likewise.
3503         (fma_test_downward): Likewise.
3504         (fma_test_upward): Likewise.
3505         (fmax_test): Likewise.
3506         (fmin_test): Likewise.
3507         (fmod_test): Likewise.
3508         (fpclassify_test): Likewise.
3509         (frexp_test): Likewise.
3510         (gamma_test): Likewise.
3511         (hypot_test): Likewise.
3512         (ilogb_test): Likewise.
3513         (isfinite_test): Likewise.
3514         (isgreater_test): Likewise.
3515         (isgreaterequal_test): Likewise.
3516         (isinf_test): Likewise.
3517         (isless_test): Likewise.
3518         (islessequal_test): Likewise.
3519         (islessgreater_test): Likewise.
3520         (isnan_test): Likewise.
3521         (isnormal_test): Likewise.
3522         (issignaling_test): Likewise.
3523         (isunordered_test): Likewise.
3524         (j0_test): Likewise.
3525         (j1_test): Likewise.
3526         (jn_test): Likewise.
3527         (ldexp_test): Likewise.
3528         (lgamma_test): Likewise.
3529         (lrint_test): Likewise.
3530         (lrint_test_tonearest): Likewise.
3531         (lrint_test_towardzero): Likewise.
3532         (lrint_test_downward): Likewise.
3533         (lrint_test_upward): Likewise.
3534         (llrint_test): Likewise.
3535         (llrint_test_tonearest): Likewise.
3536         (llrint_test_towardzero): Likewise.
3537         (llrint_test_downward): Likewise.
3538         (llrint_test_upward): Likewise.
3539         (log_test): Likewise.
3540         (log10_test): Likewise.
3541         (log1p_test): Likewise.
3542         (log2_test): Likewise.
3543         (logb_test): Likewise.
3544         (logb_test_downward): Likewise.
3545         (lround_test): Likewise.
3546         (llround_test): Likewise.
3547         (modf_test): Likewise.
3548         (nearbyint_test): Likewise.
3549         (nextafter_test): Likewise.
3550         (nexttoward_test): Likewise.
3551         (pow_test): Likewise.
3552         (pow_test_tonearest): Likewise.
3553         (pow_test_towardzero): Likewise.
3554         (pow_test_downward): Likewise.
3555         (pow_test_upward): Likewise.
3556         (remainder_test): Likewise.
3557         (remainder_test_tonearest): Likewise.
3558         (remainder_test_towardzero): Likewise.
3559         (remainder_test_downward): Likewise.
3560         (remainder_test_upward): Likewise.
3561         (remquo_test): Likewise.
3562         (rint_test): Likewise.
3563         (rint_test_tonearest): Likewise.
3564         (rint_test_towardzero): Likewise.
3565         (rint_test_downward): Likewise.
3566         (rint_test_upward): Likewise.
3567         (round_test): Likewise.
3568         (scalb_test): Likewise.
3569         (scalbn_test): Likewise.
3570         (scalbln_test): Likewise.
3571         (signbit_test): Likewise.
3572         (sin_test): Likewise.
3573         (sin_test_tonearest): Likewise.
3574         (sin_test_towardzero): Likewise.
3575         (sin_test_downward): Likewise.
3576         (sin_test_upward): Likewise.
3577         (sincos_test): Likewise.
3578         (sinh_test): Likewise.
3579         (sinh_test_tonearest): Likewise.
3580         (sinh_test_towardzero): Likewise.
3581         (sinh_test_downward): Likewise.
3582         (sinh_test_upward): Likewise.
3583         (sqrt_test): Likewise.
3584         (tan_test): Likewise.
3585         (tan_test_tonearest): Likewise.
3586         (tan_test_towardzero): Likewise.
3587         (tan_test_downward): Likewise.
3588         (tan_test_upward): Likewise.
3589         (tanh_test): Likewise.
3590         (tgamma_test): Likewise.
3591         (trunc_test): Likewise.
3592         (y0_test): Likewise.
3593         (y1_test): Likewise.
3594         (yn_test): Likewise.
3595         (significand_test): Likewise.
3597 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
3599         [BZ #15381]
3600         * libio/genops.c (_IO_no_init): Initialize wide struct info.
3602 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
3604         [BZ #14894]
3605         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
3606         __ppc_mdoio and __ppc_mdoom.
3607         * manual/platform.texi: Document new functions __ppc_yield,
3608         __ppc_mdoio and __ppc_mdoom.
3610 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
3612         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
3613         (main): Mention "tls" pseudo-hwcap is legacy.
3614         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
3616 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3618         * math/gen-libm-test.pl (parse_args): Output only string of
3619         arguments as text for test name, not full call or descriptions of
3620         tests for extra outputs.
3621         (generate_testfile): Do not pass function name to parse_args.
3622         Generate this_func variable from START.
3623         * math/libm-test.inc (struct test_f_f_data): Rename test_name
3624         field to arg_str.
3625         (struct test_ff_f_data): Likewise.
3626         (test_ff_f_data_nexttoward): Likewise.
3627         (struct test_fi_f_data): Likewise.
3628         (struct test_fl_f_data): Likewise.
3629         (struct test_if_f_data): Likewise.
3630         (struct test_fff_f_data): Likewise.
3631         (struct test_c_f_data): Likewise.
3632         (struct test_f_f1_data): Likewise.  Remove field extra_name.
3633         (struct test_fF_f1_data): Likewise.
3634         (struct test_ffI_f1_data): Likewise.
3635         (struct test_c_c_data): Rename test_name field to arg_str.
3636         (struct test_cc_c_data): Likewise.
3637         (struct test_f_i_data): Likewise.
3638         (struct test_ff_i_data): Likewise.
3639         (struct test_f_l_data): Likewise.
3640         (struct test_f_L_data): Likewise.
3641         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
3642         and extra2_name.
3643         (COMMON_TEST_SETUP): New macro.
3644         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
3645         (COMMON_TEST_CLEANUP): Likewise.
3646         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
3647         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
3648         macros.
3649         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
3650         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
3651         macros.
3652         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
3653         (RUN_TEST_fff_f): Take argument string.  Call new setup and
3654         cleanup macros.
3655         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
3656         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
3657         macros.
3658         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
3659         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
3660         macros.
3661         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3662         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
3663         cleanup macros.
3664         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3665         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
3666         cleanup macros.
3667         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3668         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
3669         cleanup macros.
3670         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3671         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
3672         macros.
3673         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
3674         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
3675         macros.
3676         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
3677         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
3678         macros.
3679         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
3680         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
3681         cleanup macros.
3682         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
3683         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
3684         cleanup macros.
3685         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
3686         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
3687         macros.
3688         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
3689         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
3690         cleanup macros.
3691         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
3692         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
3693         macros.
3694         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
3695         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
3696         macros.
3697         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
3698         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
3699         cleanup macros.
3700         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
3702 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3704         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
3705         to _sifields.sigfault.
3706         (si_addr_lsb): Define new macro.
3707         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3708         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
3711 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
3713         [BZ #15441]
3714         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
3715         returns -1.
3716         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
3717         null return -1.
3718         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
3719         loading the domain.
3721 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
3723         * math/gen-libm-test.pl (parse_args): Do not include expected
3724         result in test name.
3725         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
3726         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3727         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3728         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3729         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3732 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3734         * benchtests/Makefile: Sort function entries.
3736         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
3737         tanh, asinh, acosh, atanh.
3738         * benchtests/acos-inputs: New file.
3739         * benchtests/acosh-inputs: New file.
3740         * benchtests/asin-inputs: New file.
3741         * benchtests/asinh-inputs: New file.
3742         * benchtests/atanh-inputs: New file.
3743         * benchtests/cosh-inputs: New file.
3744         * benchtests/log-inputs: New file.
3745         * benchtests/sinh-inputs: New file.
3746         * benchtests/tanh-inputs: New file.
3748 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
3750         [BZ #15339]
3751         * posix/tst-getaddrinfo4.c: New test.
3752         * posix/Makefile (tests): Add it.
3754 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3756         [BZ #15339]
3757         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
3758         when no services were used.
3759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
3760         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
3762 2013-05-21  Andreas Schwab  <schwab@suse.de>
3764         [BZ #15014]
3765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
3766         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
3767         successful.
3768         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
3769         redundant variable declarations and reallocation of buffer when
3770         parsing as IPv6 address.  Always set NSS status when called from
3771         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
3772         buffer too small.  Correct computation of needed size.
3773         * nss/Makefile (tests): Add test-digits-dots.
3774         * nss/test-digits-dots.c: New test.
3776 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3778         * benchtests/Makefile: Remove instructions for adding
3779         benchmark tests.
3780         * benchtests/README: New file to explain how to execute and
3781         enhance the benchmark tests.
3783 2013-05-21  Andreas Schwab  <schwab@suse.de>
3785         [BZ #15493]
3786         * setjmp/Makefile (tests): Add tst-sigsetjmp.
3787         * setjmp/tst-sigsetjmp.c: New test.
3789 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3791         * sysdeps/x86_64/memset.S (memset): New implementation.
3792         (__bzero): Likewise.
3793         (__memset_tail): New function.
3795 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
3797         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
3798         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
3799         __memcpy_sse2_unaligned ifunc selection.
3800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3801         Add memcpy-sse2-unaligned.S.
3802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3803         Add: __memcpy_sse2_unaligned.
3805 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
3807         [BZ #15490]
3808         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3809         math_force_eval before restoring floating-point envrionment.
3810         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
3811         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
3812         Likewise.
3813         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
3814         <math_private.h>.
3815         (__nearbyintl): Use math_force_eval before restoring
3816         floating-point environment.
3817         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
3819         * math/gen-libm-test.pl (special_functions): Remove.
3820         (parse_args): Don't handle TEST_extra.  Handle functions with no
3821         return value.
3822         * math/libm-test.inc (struct test_sincos_data): Replace with
3823         struct test_fFF_11_data.
3824         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
3825         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
3826         (sincos_test_data): Change element type to struct
3827         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
3828         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
3829         RUN_TEST_LOOP_sincos.
3830         * math/README.libm-test: Don't mention special handling of
3831         individual functions.
3832         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
3833         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3834         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
3835         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3836         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
3837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3839         * math/gen-libm-test.pl (get_variable): Remove function.
3840         (parse_args): Don't show pointer parameters to call in test
3841         names.  Use "extra output N" in test names for extra outputs
3842         rather than naming variables.
3844 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
3846         [BZ #15488]
3847         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
3848         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
3849         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
3850         double tests.
3851         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
3852         disable.
3853         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
3854         check_long_double.
3856         * math/gen-libm-test.pl (@tests): Remove variable.
3857         ($count): Likewise.
3858         (new_test): Remove function.
3859         (show_exceptions): New function.
3860         (special_functions): Use show_exceptions instead of new_test.
3861         (parse_args): Likewise.
3862         (generate_testfile): Pass only function name in generated call to
3863         print_max_error or print_complex_max_error.
3864         (get_ulps): Do not handle complex tests specially.
3865         (output_test): Rename to ...
3866         (get_all_ulps_for_test): ... this.  Return a string rather than
3867         printing to a file.  Require ulps to be present.
3868         (output_ulps): Generate arrays rather than #defines.
3869         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
3870         (struct ulp_data): New type.
3871         (BUILD_COMPLEX_ULP): Remove macro.
3872         (compare_ulp_data): New function.
3873         (find_ulps): Likewise.
3874         (find_test_ulps): Likewise.
3875         (find_function_ulps): Likewise.
3876         (find_complex_function_ulps): Likewise.
3877         (print_max_error): Determine allowed ulps using
3878         find_function_ulps.
3879         (print_complex_max_error): Determine allowed ulps using
3880         find_complex_function_ulps.
3881         (check_float_internal): Determine max ulps using find_test_ulps.
3882         (check_float): Do not take max_ulp parameter.  Update call to
3883         check_float_internal.
3884         (check_complex): Likewise.
3885         (check_int): Do not take max_ulp parameter.
3886         (check_long): Likewise.
3887         (check_bool): Likewise.
3888         (check_longlong): Likewise.
3889         (struct test_f_f_data): Remove max_ulp field.
3890         (struct test_ff_f_data): Likewise.
3891         (struct test_ff_f_data_nexttoward): Likewise.
3892         (struct test_fi_f_data): Likewise.
3893         (struct test_fl_f_data): Likewise.
3894         (struct test_if_f_data): Likewise.
3895         (struct test_fff_f_data): Likewise.
3896         (struct test_c_f_data): Likewise.
3897         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
3898         (struct test_fF_f1_data): Likewise.
3899         (struct test_ffI_f1_data): Likewise.
3900         (struct test_c_c_data): Remove max_ulp field.
3901         (struct test_cc_c_data): Likewise.
3902         (struct test_f_i_data): Likewise.
3903         (struct test_ff_i_data): Likewise.
3904         (struct test_f_l_data): Likewise.
3905         (struct test_f_L_data): Likewise.
3906         (struct test_sincos_data): Likewise.
3907         (RUN_TEST_f_f): Do not handle ulps.
3908         (RUN_TEST_LOOP_f_f): Likewise.
3909         (RUN_TEST_2_f): Likewise.
3910         (RUN_TEST_LOOP_2_f): Likewise.
3911         (RUN_TEST_fff_f): Likewise.
3912         (RUN_TEST_LOOP_fff_f): Likewise.
3913         (RUN_TEST_c_f): Likewise.
3914         (RUN_TEST_LOOP_c_f): Likewise.
3915         (RUN_TEST_f_f1): Likewise.
3916         (RUN_TEST_LOOP_f_f1): Likewise.
3917         (RUN_TEST_fF_f1): Likewise.
3918         (RUN_TEST_LOOP_fF_f1): Likewise.
3919         (RUN_TEST_fI_f1): Likewise.
3920         (RUN_TEST_LOOP_fI_f1): Likewise.
3921         (RUN_TEST_ffI_f1): Likewise.
3922         (RUN_TEST_LOOP_ffI_f1): Likewise.
3923         (RUN_TEST_c_c): Likewise.
3924         (RUN_TEST_LOOP_c_c): Likewise.
3925         (RUN_TEST_cc_c): Likewise.
3926         (RUN_TEST_LOOP_cc_c): Likewise.
3927         (RUN_TEST_f_i): Likewise.
3928         (RUN_TEST_LOOP_f_i): Likewise.
3929         (RUN_TEST_f_i_tg): Likewise.
3930         (RUN_TEST_LOOP_f_i_tg): Likewise.
3931         (RUN_TEST_ff_i_tg): Likewise.
3932         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3933         (RUN_TEST_f_b): Likewise.
3934         (RUN_TEST_LOOP_f_b): Likewise.
3935         (RUN_TEST_f_b_tg): Likewise.
3936         (RUN_TEST_LOOP_f_b_tg): Likewise.
3937         (RUN_TEST_f_l): Likewise.
3938         (RUN_TEST_LOOP_f_l): Likewise.
3939         (RUN_TEST_f_L): Likewise.
3940         (RUN_TEST_LOOP_f_L): Likewise.
3941         (RUN_TEST_sincos): Likewise.
3942         (RUN_TEST_LOOP_sincos): Likewise.
3944 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
3946         [BZ #15480]
3947         [BZ #15485]
3948         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
3949         main case of finite arguments, set rounding mode to FE_TONEAREST
3950         and discard exceptions.
3951         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
3952         exceptions.
3953         (remainder_tonearest_test_data): New variable.
3954         (remainder_test_tonearest): New function.
3955         (remainder_towardzero_test_data): New variable.
3956         (remainder_test_towardzero): New function.
3957         (remainder_downward_test_data): New variable.
3958         (remainder_test_downward): New function.
3959         (remainder_upward_test_data): New variable.
3960         (remainder_test_upward): New function.
3961         (main): Call the new test functions.
3963         * math/libm-test.inc (struct test_f_f1_data): Remove field
3964         extra_init.
3965         (struct test_fF_f1_data): Likewise.
3966         (struct test_ffI_f1_data): Likewise.
3967         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
3968         based on value of EXTRA_EXPECTED.
3969         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
3970         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
3971         EXTRA_VAR based on value of EXTRA_EXPECTED.
3972         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
3973         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
3974         EXTRA_VAR based on value of EXTRA_EXPECTED.
3975         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
3976         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
3977         EXTRA_VAR based on value of EXTRA_EXPECTED.
3978         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
3979         * math/gen-libm-test.pl (parse_args): Don't output initializers
3980         for extra output values.
3982         * math/libm-test.inc (check_int): Expect result to be exactly
3983         equal to expected value and do not handle ulps.
3984         (check_long): Likewise.
3985         (check_longlong): Likewise.
3987         * math/libm-test.inc (ceil_test_data): Test for "inexact"
3988         exceptions.
3989         (cimag_test_data): Likewise.
3990         (conj_test_data): Likewise.
3991         (copysign_test_data): Likewise.
3992         (cproj_test_data): Likewise.
3993         (creal_test_data): Likewise.
3994         (fabs_test_data): Likewise.
3995         (fdim_test_data): Likewise.
3996         (finite_test_data): Likewise.
3997         (floor_test_data): Likewise.
3998         (fmax_test_data): Likewise.
3999         (fmin_test_data): Likewise.
4000         (fmod_test_data): Likewise.
4001         (fpclassify_test_data): Likewise.
4002         (frexp_test_data): Likewise.
4003         (ilogb_test_data): Likewise.
4004         (isfinite_test_data): Likewise.
4005         (isgreater_test_data): Likewise.
4006         (isgreaterequal_test_data): Likewise.
4007         (isinf_test_data): Likewise.
4008         (isless_test_data): Likewise.
4009         (islessequal_test_data): Likewise.
4010         (islessgreater_test_data): Likewise.
4011         (isnan_test_data): Likewise.
4012         (isnormal_test_data): Likewise.
4013         (issignaling_test_data): Likewise.
4014         (isunordered_test_data): Likewise.
4015         (ldexp_test_data): Likewise.
4016         (lrint_test_data): Likewise.
4017         (lrint_test_data) [TEST_FLOAT]: Disable one test.
4018         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
4019         (lrint_tonearest_test_data): Test for "inexact" exceptions.
4020         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4021         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
4022         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4023         test input.
4024         (lrint_towardzero_test_data): Test for "inexact" exceptions.
4025         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4026         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
4027         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
4028         that test input.
4029         (lrint_downward_test_data): Test for "inexact" exceptions.
4030         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4031         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
4032         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
4033         test input.
4034         (lrint_upward_test_data): Test for "inexact" exceptions.
4035         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
4036         test input.
4037         (llrint_test_data): Test for "inexact" exceptions.
4038         (llrint_test_data) [TEST_FLOAT]: Disable one test.
4039         (llrint_tonearest_test_data): Test for "inexact" exceptions.
4040         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
4041         (llrint_towardzero_test_data): Test for "inexact" exceptions.
4042         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
4043         (llrint_downward_test_data): Test for "inexact" exceptions.
4044         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
4045         (llrint_upward_test_data): Test for "inexact" exceptions.
4046         (logb_test_data): Likewise.
4047         (logb_downward_test_data): Likewise.
4048         (nextafter_test_data): Likewise.
4049         (nexttoward_test_data): Likewise.
4050         (remainder_test_data): Likewise.
4051         (remquo_test_data): Likewise.
4052         (scalbn_test_data): Likewise.
4053         (scalbln_test_data): Likewise.
4054         (signbit_test_data): Likewise.
4055         (sqrt_test_data): Likewise.
4056         (significand_test_data): Likewise.
4058 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4060         [BZ #15424]
4061         * benchtests/bench-modf.c (struct args): Mark arg0 as
4062         volatile.
4063         * scripts/bench.pl: Mark members of struct args as volatile.
4065 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4067         [BZ # 15497]
4068         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
4069         negative infinity on POWER6 or lower.
4070         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
4072 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
4074         [BZ #15442]
4075         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
4076         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
4077         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
4078         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
4079         (_FP_SETQNAN): New macro.
4080         (_FP_SETQNAN_SEMIRAW): Likewise.
4081         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
4082         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
4083         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
4084         (FP_EXTEND): Use _FP_FRAC_SNANP.
4085         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
4086         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
4087         into account.
4088         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4089         New macro.
4090         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
4091         Likewise.
4093 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4095         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
4096         with DIVIDE_BY_ZERO_EXCEPTION.
4097         (gamma_test_data): Likewise.
4098         (lgamma_test_data): Likewise.
4099         (log_test_data): Likewise.
4100         (log10_test_data): Likewise.
4101         (log2_test_data): Likewise.
4102         (tgamma_test_data): Likewise.
4104         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
4105         (acos_test_tonearest): Likewise.
4106         (acos_test_towardzero): Likewise.
4107         (acos_test_downward): Likewise.
4108         (acos_test_upward): Likewise.
4109         (acosh_test): Likewise.
4110         (asin_test): Likewise.
4111         (asin_test_tonearest): Likewise.
4112         (asin_test_towardzero): Likewise.
4113         (asin_test_downward): Likewise.
4114         (asin_test_upward): Likewise.
4115         (asinh_test): Likewise.
4116         (atan_test): Likewise.
4117         (atanh_test): Likewise.
4118         (atan2_test): Likewise.
4119         (cabs_test): Likewise.
4120         (cacos_test): Likewise.
4121         (cacosh_test): Likewise.
4122         (casin_test): Likewise.
4123         (casinh_test): Likewise.
4124         (catan_test): Likewise.
4125         (catanh_test): Likewise.
4126         (cbrt_test): Likewise.
4127         (ccos_test): Likewise.
4128         (ccosh_test): Likewise.
4129         (cexp_test): Likewise.
4130         (clog_test): Likewise.
4131         (clog10_test): Likewise.
4132         (cos_test): Likewise.
4133         (cos_test_tonearest): Likewise.
4134         (cos_test_towardzero): Likewise.
4135         (cos_test_downward): Likewise.
4136         (cos_test_upward): Likewise.
4137         (cosh_test): Likewise.
4138         (cosh_test_tonearest): Likewise.
4139         (cosh_test_towardzero): Likewise.
4140         (cosh_test_downward): Likewise.
4141         (cosh_test_upward): Likewise.
4142         (cpow_test): Likewise.
4143         (csin_test): Likewise.
4144         (csinh_test): Likewise.
4145         (csqrt_test): Likewise.
4146         (ctan_test): Likewise.
4147         (ctan_test_tonearest): Likewise.
4148         (ctan_test_towardzero): Likewise.
4149         (ctan_test_downward): Likewise.
4150         (ctan_test_upward): Likewise.
4151         (ctanh_test): Likewise.
4152         (ctanh_test_tonearest): Likewise.
4153         (ctanh_test_towardzero): Likewise.
4154         (ctanh_test_downward): Likewise.
4155         (ctanh_test_upward): Likewise.
4156         (erf_test): Likewise.
4157         (erfc_test): Likewise.
4158         (exp_test): Likewise.
4159         (exp_test_tonearest): Likewise.
4160         (exp_test_towardzero): Likewise.
4161         (exp_test_downward): Likewise.
4162         (exp_test_upward): Likewise.
4163         (exp10_test): Likewise.
4164         (exp2_test): Likewise.
4165         (expm1_test): Likewise.
4166         (fmod_test): Likewise.
4167         (gamma_test): Likewise.
4168         (hypot_test): Likewise.
4169         (j0_test): Likewise.
4170         (j1_test): Likewise.
4171         (jn_test): Likewise.
4172         (lgamma_test): Likewise.
4173         (log_test): Likewise.
4174         (log10_test): Likewise.
4175         (log1p_test): Likewise.
4176         (log2_test): Likewise.
4177         (logb_test_downward): Likewise.
4178         (pow_test): Likewise.
4179         (pow_test_tonearest): Likewise.
4180         (pow_test_towardzero): Likewise.
4181         (pow_test_downward): Likewise.
4182         (pow_test_upward): Likewise.
4183         (remainder_test): Likewise.
4184         (remquo_test): Likewise.
4185         (sin_test): Likewise.
4186         (sin_test_tonearest): Likewise.
4187         (sin_test_towardzero): Likewise.
4188         (sin_test_downward): Likewise.
4189         (sin_test_upward): Likewise.
4190         (sincos_test): Likewise.
4191         (sinh_test): Likewise.
4192         (sinh_test_tonearest): Likewise.
4193         (sinh_test_towardzero): Likewise.
4194         (sinh_test_downward): Likewise.
4195         (sinh_test_upward): Likewise.
4196         (sqrt_test): Likewise.
4197         (tan_test): Likewise.
4198         (tan_test_tonearest): Likewise.
4199         (tan_test_towardzero): Likewise.
4200         (tan_test_downward): Likewise.
4201         (tan_test_upward): Likewise.
4202         (tanh_test): Likewise.
4203         (tgamma_test): Likewise.
4204         (y0_test): Likewise.
4205         (y1_test): Likewise.
4206         (yn_test): Likewise.
4208         * math/gen-libm-test.pl (adjust_arg): Remove function.
4209         (special_function): Remove argument $in_func.  Only handle
4210         generating output for tables of tests, not inside functions.
4211         (parse_args): Likewise.
4212         (generate_testfile): Remove variable $in_func.  Update call to
4213         parse_args.
4214         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
4215         (MINUS_ZERO_INIT): Rename macro to minus_zero.
4216         (PLUS_INFTY_INIT): Rename macro to plus_infty.
4217         (MINUS_INFTY_INIT): Rename macro to minus_infty.
4218         (QNAN_VALUE_INIT): Rename macro to qnan_value.
4219         (MAX_VALUE_INIT): Rename macro to max_value.
4220         (MIN_VALUE_INIT): Rename macro to min_value.
4221         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
4222         (plus_zero): Remove variable.
4223         (minus_zero): Likewise.
4224         (plus_infty): Likewise.
4225         (minus_infty): Likewise.
4226         (qnan_value): Likewise.
4227         (max_value): Likewise.
4228         (min_value): Likewise.
4229         (min_subnorm_value): Likewise.
4231 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
4233         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
4234         uint64_t or uint32_t usage.
4235         * crypt/sha256-block.c: Likewise.
4236         * crypt/sha256-crypt.c: Likewise.
4237         * crypt/sha256.c: Likewise.
4238         * crypt/sha512-block.c: Likewise.
4239         * crypt/sha512-crypt.c: Likewise.
4240         * crypt/sha512.c: Likewise.
4241         * debug/backtrace-tst.c: Likewise.
4242         * debug/pcprofiledump.c: Likewise.
4243         * elf/cache.c: Likewise.
4244         * elf/dl-cache.c: Likewise.
4245         * elf/dl-misc.c: Likewise.
4246         * elf/dl-profile.c: Likewise.
4247         * elf/dl-support.c: Likewise.
4248         * elf/ldconfig.c: Likewise.
4249         * elf/sprof.c: Likewise.
4250         * iconv/dummy-repertoire.c: Likewise.
4251         * iconv/iconv_charmap.c: Likewise.
4252         * iconv/skeleton.c: Likewise.
4253         * iconvdata/8bit-generic.c: Likewise.
4254         * iconvdata/cp737.h: Likewise.
4255         * iconvdata/cp775.h: Likewise.
4256         * iconvdata/ibm1008.h: Likewise.
4257         * iconvdata/ibm1025.h: Likewise.
4258         * iconvdata/ibm1046.h: Likewise.
4259         * iconvdata/ibm1097.h: Likewise.
4260         * iconvdata/ibm1112.h: Likewise.
4261         * iconvdata/ibm1122.h: Likewise.
4262         * iconvdata/ibm1123.h: Likewise.
4263         * iconvdata/ibm1124.h: Likewise.
4264         * iconvdata/ibm1129.h: Likewise.
4265         * iconvdata/ibm1130.h: Likewise.
4266         * iconvdata/ibm1132.h: Likewise.
4267         * iconvdata/ibm1133.h: Likewise.
4268         * iconvdata/ibm1137.h: Likewise.
4269         * iconvdata/ibm1140.h: Likewise.
4270         * iconvdata/ibm1141.h: Likewise.
4271         * iconvdata/ibm1142.h: Likewise.
4272         * iconvdata/ibm1143.h: Likewise.
4273         * iconvdata/ibm1144.h: Likewise.
4274         * iconvdata/ibm1145.h: Likewise.
4275         * iconvdata/ibm1146.h: Likewise.
4276         * iconvdata/ibm1147.h: Likewise.
4277         * iconvdata/ibm1148.h: Likewise.
4278         * iconvdata/ibm1149.h: Likewise.
4279         * iconvdata/ibm1153.h: Likewise.
4280         * iconvdata/ibm1154.h: Likewise.
4281         * iconvdata/ibm1155.h: Likewise.
4282         * iconvdata/ibm1156.h: Likewise.
4283         * iconvdata/ibm1157.h: Likewise.
4284         * iconvdata/ibm1158.h: Likewise.
4285         * iconvdata/ibm1160.h: Likewise.
4286         * iconvdata/ibm1161.h: Likewise.
4287         * iconvdata/ibm1162.h: Likewise.
4288         * iconvdata/ibm1163.h: Likewise.
4289         * iconvdata/ibm1164.h: Likewise.
4290         * iconvdata/ibm1166.h: Likewise.
4291         * iconvdata/ibm1167.h: Likewise.
4292         * iconvdata/ibm12712.h: Likewise.
4293         * iconvdata/ibm1390.h: Likewise.
4294         * iconvdata/ibm1399.h: Likewise.
4295         * iconvdata/ibm16804.h: Likewise.
4296         * iconvdata/ibm4517.h: Likewise.
4297         * iconvdata/ibm4899.h: Likewise.
4298         * iconvdata/ibm4909.h: Likewise.
4299         * iconvdata/ibm4971.h: Likewise.
4300         * iconvdata/ibm5347.h: Likewise.
4301         * iconvdata/ibm803.h: Likewise.
4302         * iconvdata/ibm856.h: Likewise.
4303         * iconvdata/ibm901.h: Likewise.
4304         * iconvdata/ibm902.h: Likewise.
4305         * iconvdata/ibm9030.h: Likewise.
4306         * iconvdata/ibm9066.h: Likewise.
4307         * iconvdata/ibm921.h: Likewise.
4308         * iconvdata/ibm922.h: Likewise.
4309         * iconvdata/ibm9448.h: Likewise.
4310         * iconvdata/isiri-3342.h: Likewise.
4311         * iconvdata/jis0201.h: Likewise.
4312         * include/link.h: Likewise.
4313         * include/netdb.h: Likewise.
4314         * inet/check_native.c: Likewise.
4315         * inet/check_pf.c: Likewise.
4316         * inet/getipv4sourcefilter.c: Likewise.
4317         * inet/getnameinfo.c: Likewise.
4318         * inet/getsourcefilter.c: Likewise.
4319         * inet/htonl.c: Likewise.
4320         * inet/setipv4sourcefilter.c: Likewise.
4321         * inet/setsourcefilter.c: Likewise.
4322         * inet/test-inet6_opt.c: Likewise.
4323         * inet/tst-network.c: Likewise.
4324         * locale/C-collate.c: Likewise.
4325         * locale/C-ctype.c: Likewise.
4326         * locale/C-time.c: Likewise.
4327         * locale/C-translit.h: Likewise.
4328         * locale/loadarchive.c: Likewise.
4329         * locale/programs/3level.h: Likewise.
4330         * locale/programs/charmap.c: Likewise.
4331         * locale/programs/charmap.h: Likewise.
4332         * locale/programs/ld-address.c: Likewise.
4333         * locale/programs/ld-collate.c: Likewise.
4334         * locale/programs/ld-ctype.c: Likewise.
4335         * locale/programs/ld-identification.c: Likewise.
4336         * locale/programs/ld-measurement.c: Likewise.
4337         * locale/programs/ld-messages.c: Likewise.
4338         * locale/programs/ld-monetary.c: Likewise.
4339         * locale/programs/ld-name.c: Likewise.
4340         * locale/programs/ld-numeric.c: Likewise.
4341         * locale/programs/ld-paper.c: Likewise.
4342         * locale/programs/ld-telephone.c: Likewise.
4343         * locale/programs/ld-time.c: Likewise.
4344         * locale/programs/linereader.c: Likewise.
4345         * locale/programs/locale.c: Likewise.
4346         * locale/programs/locarchive.c: Likewise.
4347         * locale/programs/locfile.h: Likewise.
4348         * locale/programs/repertoire.c: Likewise.
4349         * locale/programs/simple-hash.c: Likewise.
4350         * locale/programs/simple-hash.h: Likewise.
4351         * malloc/memusage.c: Likewise.
4352         * malloc/memusagestat.c: Likewise.
4353         * nis/nis_defaults.c: Likewise.
4354         * nis/nis_hash.c: Likewise.
4355         * nis/nis_print.c: Likewise.
4356         * nis/nis_xdr.c: Likewise.
4357         * nscd/connections.c: Likewise.
4358         * nscd/hstcache.c: Likewise.
4359         * nscd/nscd_gethst_r.c: Likewise.
4360         * nscd/nscd_getserv_r.c: Likewise.
4361         * nscd/nscd_helper.c: Likewise.
4362         * nscd/servicescache.c: Likewise.
4363         * nss/makedb.c: Likewise.
4364         * nss/nss_db/db-XXX.c: Likewise.
4365         * nss/nss_db/db-initgroups.c: Likewise.
4366         * nss/nss_db/db-netgrp.c: Likewise.
4367         * nss/nss_files/files-network.c: Likewise.
4368         * nss/nss_files/files-parse.c: Likewise.
4369         * posix/bug-regex5.c: Likewise.
4370         * posix/fnmatch_loop.c: Likewise.
4371         * posix/regcomp.c: Likewise.
4372         * posix/regexec.c: Likewise.
4373         * posix/tst-rfc3484-2.c: Likewise.
4374         * posix/tst-rfc3484-3.c: Likewise.
4375         * posix/tst-rfc3484.c: Likewise.
4376         * resolv/nss_dns/dns-canon.c: Likewise.
4377         * resolv/nss_dns/dns-network.c: Likewise.
4378         * resolv/res_init.c: Likewise.
4379         * resolv/res_mkquery.c: Likewise.
4380         * resolv/tst-aton.c: Likewise.
4381         * stdlib/cxa_atexit.c: Likewise.
4382         * stdlib/cxa_finalize.c: Likewise.
4383         * stdlib/gen-fpioconst.c: Likewise.
4384         * stdlib/strtol_l.c: Likewise.
4385         * string/tst-endian.c: Likewise.
4386         * sunrpc/auth_des.c: Likewise.
4387         * sunrpc/clnt_udp.c: Likewise.
4388         * sunrpc/rtime.c: Likewise.
4389         * sunrpc/svcauth_des.c: Likewise.
4390         * sunrpc/xdr.c: Likewise.
4391         * sunrpc/xdr_intXX_t.c: Likewise.
4392         * sunrpc/xdr_rec.c: Likewise.
4393         * sysdeps/generic/ldconfig.h: Likewise.
4394         * sysdeps/generic/ldsodefs.h: Likewise.
4395         * sysdeps/generic/memusage.h: Likewise.
4396         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4397         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
4398         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
4399         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4400         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4401         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4402         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4406         * sysdeps/posix/getaddrinfo.c: Likewise.
4407         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4408         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4409         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
4410         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
4411         * sysdeps/powerpc/test-gettimebase.c: Likewise.
4412         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4413         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
4414         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
4415         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
4417         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4418         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4419         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
4420         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
4421         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
4422         * sysdeps/x86_64/dl-tls.h: Likewise.
4423         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
4424         * time/alt_digit.c: Likewise.
4425         * time/era.c: Likewise.
4426         * wcsmbs/tst-c16c32-1.c: Likewise.
4428 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4430         * math/libm-test.inc (struct test_sincos_data): New type.
4431         (RUN_TEST_LOOP_sincos): New macro.
4432         (sincos_test_data): New variable.
4433         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
4435 2013-05-16  Richard Henderson  <rth@redhat.com>
4437         * math/atest-exp2.c (LIMB64): New macro.
4438         (CONSTSZ): New macro.
4439         (mp_exp1, mp_exp_m1, mp_log2): New variables.
4440         (hexdig): Move ...
4441         (print_mpn_fp): ... to function scope.
4442         (read_mpn_hex): Remove.
4443         (get_log2): Remove.
4444         (exp2_mpn): Use mp_log2.
4445         (main): Use mp_exp1.
4447 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
4449         * math/libm-test.inc: Remove comment about not testing "inexact"
4450         exceptions.
4451         (INEXACT_EXCEPTION): New macro.
4452         (NO_INEXACT_EXCEPTION): Likewise.
4453         (INVALID_EXCEPTION_OK): Update value.
4454         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4455         (OVERFLOW_EXCEPTION_OK): Likewise.
4456         (UNDERFLOW_EXCEPTION_OK): Likewise.
4457         (IGNORE_ZERO_INF_SIGN): Likewise.
4458         (ERRNO_UNCHANGED): Likewise.
4459         (ERRNO_EDOM): Likewise.
4460         (ERRNO_ERANGE): Likewise.
4461         (test_exceptions): Handle testing "inexact" exceptions.
4462         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
4463         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
4464         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
4465         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
4466         INEXACT_EXCEPTION.
4467         (rint_towardzero_test_data): Likewise.
4468         (rint_downward_test_data): Likewise.
4469         (rint_upward_test_data): Likewise.
4471         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
4472         with OVERFLOW_EXCEPTION.
4473         (exp10_test_data): Likewise.
4474         (exp2_test_data): Likewise.
4475         (expm1_test_data): Likewise.
4476         (lgamma_test_data): Likewise.
4477         (pow_test_data): Likewise.
4478         (tgamma_test_data): Likewise.
4479         (yn_test_data): Remove duplicate test of overflow.
4481         * math/libm-test.inc (struct test_cc_c_data): New type.
4482         (RUN_TEST_LOOP_cc_c): New macro.
4483         (cpow_test_data): New variable.
4484         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
4486         * math/libm-test.inc (struct test_f_L_data): New type.
4487         (RUN_TEST_LOOP_f_L): New macro.
4488         (llrint_test_data): New variable.
4489         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
4490         (llrint_tonearest_test_data): New variable.
4491         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
4492         (llrint_towardzero_test_data): New variable.
4493         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
4494         (llrint_downward_test_data): New variable.
4495         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
4496         (llrint_upward_test_data): New variable.
4497         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
4498         (llround_test_data): New variable.
4499         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
4501 2013-05-13  Peter Collingbourne  <pcc@google.com>
4503         * math/atest-exp2.c (get_log2): Remove const attribute.
4505 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4507         * math/libm-test.inc (struct test_f_l_data): New type.
4508         (RUN_TEST_LOOP_f_l): New macro.
4509         (lrint_test_data): New variable.
4510         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
4511         (lrint_tonearest_test_data): New variable.
4512         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
4513         (lrint_towardzero_test_data): New variable.
4514         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
4515         (lrint_downward_test_data): New variable.
4516         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
4517         (lrint_upward_test_data): New variable.
4518         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
4519         (lround_test_data): New variable.
4520         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
4522 2013-05-15  Peter Collingbourne  <pcc@google.com>
4524         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
4525         (EXTRACT_WORDS64) Use where appropriate.
4526         (INSERT_WORDS64) Likewise.
4528         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
4529         constraints with x constraints.
4530         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
4532         * malloc/obstack.c (_obstack_compat): Add initializer.
4534 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
4536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
4537         si_trapno and add si_addr_lsb to _sifields.sigfault.
4538         (si_trapno): Remove macro.
4539         (si_addr_lsb): Define new macro.
4540         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4542 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
4544         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
4545         instead of TEST_f_l.
4546         (llrint_test_tonearest): Likewise.
4547         (llrint_test_towardzero): Likewise.
4548         (llrint_test_downward): Likewise.
4549         (llrint_test_upward): Likewise.
4550         (llround_test): Likewise.
4552         * math/libm-test.inc (struct test_f_i_data): Add comment.
4553         (RUN_TEST_LOOP_f_b): New macro.
4554         (RUN_TEST_LOOP_f_b_tg): Likewise.
4555         (finite_test_data): New variable.
4556         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
4557         (isfinite_test_data): New variable.
4558         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4559         (isinf_test_data): New variable.
4560         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4561         (isnan_test_data): New variable.
4562         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4563         (isnormal_test_data): New variable.
4564         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4565         (issignaling_test_data): New variable.
4566         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4567         (signbit_test_data): New variable.
4568         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
4570         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
4571         with INVALID_EXCEPTION.
4572         (acosh_test_data): Likewise.
4573         (asin_test_data): Likewise.
4574         (atanh_test_data): Likewise.
4575         (fmod_test_data): Likewise.
4576         (log_test_data): Likewise.
4577         (log10_test_data): Likewise.
4578         (log2_test_data): Likewise.
4579         (pow_test_data): Likewise.
4580         (sqrt_test_data): Likewise.
4581         (y0_test_data): Likewise.
4582         (y1_test_data): Likewise.
4583         (yn_test_data): Likewise.
4585         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
4586         function contents.
4588         * math/libm-test.inc (struct test_ff_i_data): New type.
4589         (RUN_TEST_LOOP_ff_i_tg): New macro.
4590         (isgreater_test_data): New variable.
4591         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4592         (isgreaterequal_test_data): New variable.
4593         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4594         (isless_test_data): New variable.
4595         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4596         (islessequal_test_data): New variable.
4597         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4598         (islessgreater_test_data): New variable.
4599         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4600         (isunordered_test_data): New variable.
4601         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
4603 2013-05-14  David S. Miller  <davem@davemloft.net>
4605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4607 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
4609         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
4611         * math/libm-test.inc (struct test_fF_f1_data): Change type of
4612         extra_test to int.
4613         (struct test_f_i_data): Change type of max_ulp to int.
4615         * math/libm-test.inc (test_ffI_f1_data): New type.
4616         (RUN_TEST_LOOP_ffI_f1): New macro.
4617         (remquo_test_data): New variable.
4618         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
4620         * setjmp/tst-setjmp-fp.c: New file.
4621         * setjmp/Makefile (tests): Add tst-setjmp-fp.
4622         (link-libm): New variable.
4623         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
4625         * math/libm-test.inc (struct test_f_i_data): New type.
4626         (RUN_TEST_LOOP_f_i): New macro.
4627         (RUN_TEST_LOOP_f_i_tg): Likewise.
4628         (fpclassify_test_data): New variable.
4629         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
4630         (ilogb_test_data): New variable.
4631         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
4633         * math/libm-test.inc (scalbln_test): Correct function name in END
4634         call.
4636         * math/libm-test.inc (struct test_f_f1_data): Add comment.
4637         (RUN_TEST_LOOP_fI_f1): New macro.
4638         (frexp_test_data): New variable.
4639         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
4641         * math/libm-test.inc (struct test_fF_f1_data): New type.
4642         (RUN_TEST_LOOP_fF_f1): New macro.
4643         (modf_test_data): New variable.
4644         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
4646         * math/libm-test.inc (struct test_f_f1_data): New type.
4647         (RUN_TEST_LOOP_f_f1): New macro.
4648         (gamma_test_data): New variable.
4649         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4650         (lgamma_test_data): New variable.
4651         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
4653 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
4655         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
4656         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
4657         (main): Comment "tls" pseudo-hwcap.
4659 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
4661         * math/libm-test.inc (struct test_fl_f_data): New type.
4662         (RUN_TEST_LOOP_fl_f): New variable.
4663         (scalbln_test_data): New variable.
4664         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
4666         * math/libm-test.inc (struct test_fi_f_data): New type.
4667         (RUN_TEST_LOOP_fi_f): New macro.
4668         (ldexp_test_data): New variable.
4669         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
4670         (scalbn_test_data): New variable.
4671         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
4673         * math/libm-test.inc (struct test_c_f_data): New type.
4674         (RUN_TEST_LOOP_c_f): New macro.
4675         (cabs_test_data): New variable.
4676         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
4677         (carg_test_data): New variable.
4678         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
4679         (cimag_test_data): New variable.
4680         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
4681         (creal_test_data): New variable.
4682         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
4684         * math/libm-test.inc (struct test_if_f_data): New type.
4685         (RUN_TEST_LOOP_if_f): New macro.
4686         (jn_test_data): New variable.
4687         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
4688         (yn_test_data): New variable.
4689         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
4691         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
4693 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4695         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
4696         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
4698 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4700         * benchtests/Makefile (CPPFLAGS-nonlib): Add
4701         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
4702         (bench-deps): Add bench-timing.h.
4703         * benchtests-bench-skeleton.c: Include bench-timing.h.
4704         (main): Use TIMING_* macros instead of clock_gettime.
4705         * benchtests/bench-timing.h: New file.
4707         [BZ #14582]
4708         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
4709         Renamed from _LIB_VERSION.
4710         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
4712 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
4714         * math/libm-test.inc (struct test_fff_f_data): New type.
4715         (RUN_TEST_LOOP_fff_f): New macro.
4716         (fma_test_data): New variable.
4717         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
4718         (fma_towardzero_test_data): New variable.
4719         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
4720         (fma_downward_test_data): New variable.
4721         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
4722         (fma_upward_test_data): New variable.
4723         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
4725         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
4726         (struct test_c_c_data): New type.
4727         (RUN_TEST_LOOP_c_c): New macro.
4728         (cacos_test_data): New variable.
4729         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
4730         (cacosh_test_data): New variable.
4731         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
4732         (casin_test_data): New variable.
4733         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
4734         (casinh_test_data): New variable.
4735         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
4736         (catan_test_data): New variable.
4737         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
4738         (catanh_test_data): New variable.
4739         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
4740         (ccos_test_data): New variable.
4741         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
4742         (ccosh_test_data): New variable.
4743         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
4744         (cexp_test_data): New variable.
4745         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
4746         (clog_test_data): New variable.
4747         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
4748         (clog10_test_data): New variable.
4749         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
4750         (conj_test_data): New variable.
4751         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
4752         (cproj_test_data): New variable.
4753         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
4754         (csin_test_data): New variable.
4755         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
4756         (csinh_test_data): New variable.
4757         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
4758         (csqrt_test_data): New variable.
4759         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
4760         (ctan_test_data): New variable.
4761         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
4762         (ctan_tonearest_test_data): New variable.
4763         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4764         (ctan_towardzero_test_data): New variable.
4765         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4766         (ctan_downward_test_data): New variable.
4767         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4768         (ctan_upward_test_data): New variable.
4769         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4770         (ctanh_test_data): New variable.
4771         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
4772         (ctanh_tonearest_test_data): New variable.
4773         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
4774         (ctanh_towardzero_test_data): New variable.
4775         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
4776         (ctanh_downward_test_data): New variable.
4777         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
4778         (ctanh_upward_test_data): New variable.
4779         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
4780         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
4781         of BUILD_COMPLEX.
4783         * math/libm-test.inc (struct test_ff_f_data): New type.
4784         (struct test_ff_f_data_nexttoward): Likewise.
4785         (RUN_TEST_LOOP_2_f): New macro.
4786         (RUN_TEST_LOOP_ff_f): Likewise.
4787         (atan2_test_data): New variable.
4788         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
4789         (copysign_test_data): New variable.
4790         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
4791         (fdim_test_data): New variable.
4792         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
4793         (fmax_test_data): New variable.
4794         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
4795         (fmin_test_data): New variable.
4796         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
4797         (fmod_test_data): New variable.
4798         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
4799         (hypot_test_data): New variable.
4800         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
4801         (nextafter_test_data): New variable.
4802         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
4803         (nexttoward_test_data): New variable.
4804         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
4805         (pow_test_data): New variable.
4806         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
4807         (pow_tonearest_test_data): New variable.
4808         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
4809         (pow_towardzero_test_data): New variable.
4810         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
4811         (pow_downward_test_data): New variable.
4812         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
4813         (pow_upward_test_data): New variable.
4814         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
4815         (remainder_test_data): New variable.
4816         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
4817         (scalb_test_data): New variable.
4818         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
4819         * sysdeps/i386/fpu/libm-test-ulps: Update.
4821 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
4823         * math/libm-test.inc (fma_test): Use max_value instead of local
4824         variable fltmax.
4825         (nextafter_test): Likewise.
4827         * math/libm-test.inc (acos_towardzero_test_data): New variable.
4828         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4829         (acos_downward_test_data): New variable.
4830         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4831         (acos_upward_test_data): New variable.
4832         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4833         (acosh_test_data): New variable.
4834         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
4835         (asin_test_data): New variable.
4836         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
4837         (asin_tonearest_test_data): New variable.
4838         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4839         (asin_towardzero_test_data): New variable.
4840         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4841         (asin_downward_test_data): New variable.
4842         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4843         (asin_upward_test_data): New variable.
4844         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4845         (asinh_test_data): New variable.
4846         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
4847         (atan_test_data): New variable.
4848         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
4849         (atanh_test_data): New variable.
4850         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
4851         (cbrt_test_data): New variable.
4852         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
4853         (ceil_test_data): New variable.
4854         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
4855         (cos_test_data): New variable.
4856         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
4857         (cos_tonearest_test_data): New variable.
4858         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4859         (cos_towardzero_test_data): New variable.
4860         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4861         (cos_downward_test_data): New variable.
4862         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4863         (cos_upward_test_data): New variable.
4864         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4865         (cosh_test_data): New variable.
4866         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
4867         (cosh_tonearest_test_data): New variable.
4868         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4869         (cosh_towardzero_test_data): New variable.
4870         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4871         (cosh_downward_test_data): New variable.
4872         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4873         (cosh_upward_test_data): New variable.
4874         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4875         (erf_test_data): New variable.
4876         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
4877         (erfc_test_data): New variable.
4878         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
4879         (exp_test_data): New variable.
4880         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
4881         (exp_tonearest_test_data): New variable.
4882         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4883         (exp_towardzero_test_data): New variable.
4884         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4885         (exp_downward_test_data): New variable.
4886         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4887         (exp_upward_test_data): New variable.
4888         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4889         (exp10_test_data): New variable.
4890         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
4891         (exp2_test_data): New variable.
4892         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
4893         (expm1_test_data): New variable.
4894         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
4895         (fabs_test_data): New variable.
4896         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
4897         (floor_test_data): New variable.
4898         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
4899         (j0_test_data): New variable.
4900         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
4901         (j1_test_data): New variable.
4902         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
4903         (log_test_data): New variable.
4904         (log_test): Run tests with RUN_TEST_LOOP_f_f.
4905         (log10_test_data): New variable.
4906         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
4907         (log1p_test_data): New variable.
4908         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
4909         (log2_test_data): New variable.
4910         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
4911         (logb_test_data): New variable.
4912         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
4913         (logb_downward_test_data): New variable.
4914         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4915         (nearbyint_test_data): New variable.
4916         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
4917         (rint_test_data): New variable.
4918         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
4919         (rint_tonearest_test_data): New variable.
4920         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4921         (rint_towardzero_test_data): New variable.
4922         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4923         (rint_downward_test_data): New variable.
4924         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4925         (rint_upward_test_data): New variable.
4926         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4927         (round_test_data): New variable.
4928         (round_test): Run tests with RUN_TEST_LOOP_f_f.
4929         (sin_test_data): New variable.
4930         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
4931         (sin_tonearest_test_data): New variable.
4932         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4933         (sin_towardzero_test_data): New variable.
4934         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4935         (sin_downward_test_data): New variable.
4936         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4937         (sin_upward_test_data): New variable.
4938         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4939         (sinh_test_data): New variable.
4940         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
4941         (sinh_tonearest_test_data): New variable.
4942         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4943         (sinh_towardzero_test_data): New variable.
4944         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4945         (sinh_downward_test_data): New variable.
4946         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4947         (sinh_upward_test_data): New variable.
4948         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4949         (sqrt_test_data): New variable.
4950         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
4951         (tan_test_data): New variable.
4952         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
4953         (tan_tonearest_test_data): New variable.
4954         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
4955         (tan_towardzero_test_data): New variable.
4956         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
4957         (tan_downward_test_data): New variable.
4958         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
4959         (tan_upward_test_data): New variable.
4960         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
4961         (tanh_test_data): New variable.
4962         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
4963         (tgamma_test_data): New variable.
4964         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
4965         (trunc_test_data): New variable.
4966         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
4967         (y0_test_data): New variable.
4968         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
4969         (y1_test_data): New variable.
4970         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
4971         (significand_test_data): New variable.
4972         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
4974 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
4976         [BZ #12387]
4977         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
4979 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
4981         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
4983 2013-05-10  Andreas Jaeger  <aj@suse.de>
4985         [BZ #15448]
4986         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
4987         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
4989 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
4991         * math/gen-libm-test.pl (adjust_arg): New function.
4992         (special_functions): Handle generating output in both functions
4993         and arrays.
4994         (parse_args): Likewise.
4995         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
4996         $in_func argument to parse_args.
4997         * math/libm-test.inc (struct test_f_f_data): New type.
4998         (IF_ROUND_INIT_): New macro.
4999         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
5000         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5001         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5002         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5003         (ROUND_RESTORE_): Likewise.
5004         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
5005         (ROUND_RESTORE_FE_TONEAREST): Likewise.
5006         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
5007         (ROUND_RESTORE_FE_UPWARD): Likewise.
5008         (RUN_TEST_LOOP_f_f): New macro.
5009         (acos_test_data): New variable.
5010         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
5011         (acos_tonearest_test_data): New variable.
5012         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5014 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5016         * benchtests/bench-skeleton.c (startup): Fix coding style.
5018 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
5020         [BZ #6809]
5021         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
5022         negative infinity argument.
5023         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
5024         negative infinity argument.
5025         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
5026         negative infinity argument.
5027         * math/libm-test.inc (tgamma_test): Expect errno to be set for
5028         domain errors.
5030 2013-05-10  Florian Weimer  <fweimer@redhat.com>
5032         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
5033         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
5034         * iconv/iconv_prog.c (main): Likewise.
5035         * locale/programs/charmap-dir.c (charmap_readdir)
5036         (fopen_uncompressed): Likewise.
5037         * locale/programs/locfile.c (siblings_uncached)
5038         (write_locale_data): Use lstat64 instead of lstat.
5039         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
5040         stat.
5042 2013-05-10  Andreas Jaeger  <aj@suse.de>
5044         [BZ #15395]
5045         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
5046         localization.
5047         Include <locale.h>.
5049 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
5051         * elf/dl-close.c (_dl_close_worker): Add comments.
5053 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
5055         [BZ #15359]
5056         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
5057         high part of pi/2.
5058         (__ieee754_rem_pio2l): Update comments.
5060         [BZ #15429]
5061         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
5062         high part of pi/2.
5063         (__ieee754_rem_pio2l): Update comments.
5065         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
5066         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
5068         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
5069         M_PI_4l.
5071         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
5072         (M_PI_34_LOG10El): Likewise.
5073         (M_PI2_LOG10El): Likewise.
5074         (M_PI4_LOG10El): Likewise.
5075         (M_PI_LOG10El): Likewise.
5077 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5079         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5081 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
5083         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
5084         (MINUS_ZERO_INIT): Likewise.
5085         (PLUS_INFTY_INIT): Likewise.
5086         (MINUS_INFTY_INIT): Likewise.
5087         (QNAN_VALUE_INIT): Likewise.
5088         (MAX_VALUE_INIT): Likewise.
5089         (MIN_VALUE_INIT): Likewise.
5090         (MIN_SUBNORM_VALUE_INIT): Likewise.
5091         (plus_zero): Initialize with PLUS_ZERO_INIT.
5092         (minus_zero): Initialize with MINUS_ZERO_INIT.
5093         (plus_infty): Initialize with PLUS_INFTY_INIT.
5094         (minus_infty): Initialize with MINUS_INFTY_INIT.
5095         (qnan_value): Initialize with QNAN_VALUE_INIT.
5096         (max_value): Initialize with MAX_VALUE_INIT.
5097         (min_value): Initialize with MIN_VALUE_INIT.
5098         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
5100         * math/libm-test.inc (RUN_TEST_if_f): New macro.
5101         (jn_test): Use TEST_if_f instead of TEST_ff_f.
5102         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
5103         (yn_test): Use TEST_if_f instead of TEST_ff_f.
5105         * math/libm-test.inc (RUN_TEST_f_f): New macro.
5106         (RUN_TEST_2_f): Likewise.
5107         (RUN_TEST_ff_f): Likewise.
5108         (RUN_TEST_fi_f): Likewise.
5109         (RUN_TEST_fl_f): Likewise.
5110         (RUN_TEST_fff_f): Likewise.
5111         (RUN_TEST_c_f): Likewise.
5112         (RUN_TEST_f_f1): Likewise.
5113         (RUN_TEST_fF_f1): Likewise.
5114         (RUN_TEST_fI_f1): Likewise.
5115         (RUN_TEST_ffI_f1): Likewise.
5116         (RUN_TEST_c_c): Likewise.
5117         (RUN_TEST_cc_c): Likewise.
5118         (RUN_TEST_f_i): Likewise.
5119         (RUN_TEST_f_i_tg): Likewise.
5120         (RUN_TEST_ff_i_tg): Likewise.
5121         (RUN_TEST_f_b): Likewise.
5122         (RUN_TEST_f_b_tg): Likewise.
5123         (RUN_TEST_f_l): Likewise.
5124         (RUN_TEST_f_L): Likewise.
5125         (RUN_TEST_sincos): Likewise.
5126         * math/gen-libm-test.pl (new_test): Take new argument to indicate
5127         whether to show exceptions.  Do not include ");\n" in return
5128         value.
5129         (special_functions): Output call to RUN_TEST_sincos instead of
5130         check_float calls.  Update calls to new_test.
5131         (parse_args): Output call to single RUN_TEST_* macro instead of
5132         check_* calls and other assignments.  Update calls to new_test.
5134         [BZ #2546]
5135         [BZ #2560]
5136         [BZ #5159]
5137         [BZ #15426]
5138         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
5139         input to result for tgamma overflow.
5140         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
5141         (gamma_coeff): New variable.
5142         (NCOEFF): New macro.
5143         (gamma_positive): New function.
5144         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
5145         underflow here.  Use gamma_positive instead of exp (lgamma) for
5146         other arguments.
5147         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
5148         (gamma_coeff): New variable.
5149         (NCOEFF): New macro.
5150         (gammaf_positive): New function.
5151         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
5152         underflow here.  Use gamma_positive instead of exp (lgamma) for
5153         other arguments.
5154         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
5155         (gamma_coeff): New variable.
5156         (NCOEFF): New macro.
5157         (gammal_positive): New function.
5158         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
5159         underflow here.  Use gamma_positive instead of exp (lgamma) for
5160         other arguments.
5161         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
5162         (gamma_coeff): New variable.
5163         (NCOEFF): New macro.
5164         (gammal_positive): New function.
5165         (__ieee754_gammal_r): Handle positive infinity, overflow and
5166         underflow here.  Handle NaN the same as positive infinity.  Remove
5167         check x < 0xffffffff for negative integers.  Use gamma_positive
5168         instead of exp (lgamma) for other arguments.
5169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
5170         (gamma_coeff): New variable.
5171         (NCOEFF): New macro.
5172         (gammal_positive): New function.
5173         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
5174         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
5175         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
5176         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
5177         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
5178         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
5179         * sysdeps/generic/math_private.h (__gamma_productf): New
5180         prototype.
5181         (__gamma_product): Likewise.
5182         (__gamma_productl): Likewise.
5183         * math/Makefile (libm-calls): Add gamma_product.
5184         * math/libm-test.inc (tgamma_test): Add more tests.
5185         * sysdeps/i386/fpu/libm-test-ulps: Update.
5186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5188 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
5190         * benchtests/bench-skeleton.c (main): Preheat CPU.
5192 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
5194         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
5196 2013-05-07  Roland McGrath  <roland@hack.frob.com>
5198         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
5199         and _dl_skip_args_internal.
5201 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
5203         * manual/message.texi (Message Translation): Talk about users.
5204         Message to key mapping impacts design.
5206 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5208         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
5210         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
5212         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
5213         * sysdeps/wordsize-64/glob64.c: ... here.
5215         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
5216         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
5217         New macros.
5219         * debug/getlogin_r_chk.c: Moved to ...
5220         * login/getlogin_r_chk.c: ... here.
5221         * debug/Makefile (routines): Move getlogin_r_chk to ...
5222         * login/Makefile (routines): ... here.
5223         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
5224         * login/Versions (libc: GLIBC_2.4): ... here.
5226         * io/poll.c (__poll): Renamed from poll.
5227         Add libc_hidden_def.
5228         (poll): Define as weak alias.
5230         * debug/ptsname_r_chk.c: Moved to ...
5231         * login/ptsname_r_chk.c: ... here.
5232         * debug/Makefile (routines): Move ptsname_r_chk to ...
5233         * login/Makefile (routines): ... here.
5234         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
5235         * login/Versions (libc: GLIBC_2.4): ... here.
5237         * posix/getlogin.c: Moved to ...
5238         * login/getlogin.c: ... here.
5239         * posix/getlogin_r.c: Moved to ...
5240         * login/getlogin_r.c: ... here.
5241         * posix/getlogin_r.c: Moved to ...
5242         * login/getlogin_r.c: ... here.
5243         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
5244         * login/Makefile (routines): ... here.
5245         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
5246         * login/Versions (libc: GLIBC_2.0): ... here.
5248         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
5249         (setrlimit): Define as weak alias.
5251         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
5252         Call __ names for open, ftruncate, and close.
5253         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
5254         (truncate): Define as weak alias.
5256 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
5258         * math/gen-libm-test.pl (parse_args): Initialize x before each
5259         test of frexp, modf and remquo.
5261         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
5262         test signgam value.
5264 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5266         [BZ #15418]
5267         [BZ #15419]
5268         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
5269         internal tests.
5270         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5272 2013-05-06  Roland McGrath  <roland@hack.frob.com>
5274         * elf/dl-writev.h: New file.
5275         * elf/dl-misc.c: Include it.
5276         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
5277         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
5279 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
5281         * math/libm-test.inc (noXFails): Remove variable.
5282         (noXPasses): Likewise.
5283         (BUILD_COMPLEX_INT): Remove macro.
5284         (print_screen): Remove xfail argument.
5285         (print_screen_max_error): Likewise.
5286         (update_stats): Likewise.
5287         (print_max_error): Likewise.  Update calls to other affected
5288         functions.
5289         (print_complex_max_error): Likewise.
5290         (test_single_exception): Update calls to print_screen.
5291         (test_single_errno): Likewise.
5292         (check_float_internal): Remove xfail argument.  Update calls to
5293         other affected functions.
5294         (check_float): Likewise.
5295         (check_complex): Likewise.
5296         (check_int): Likewise.
5297         (check_long): Likewise.
5298         (check_bool): Likewise.
5299         (check_longlong): Likewise.
5300         (main): Don't print noXFails and noXPasses.
5301         * math/gen-libm-test.pl (top level): Don't mention expected
5302         failure handling in comment.
5303         (new_test): Don't handle expected failures.
5304         (parse_args): Don't mention expected failure handling in comment.
5305         (generate_testfile): Don't handle expected failures.
5306         (parse_ulps): Likewise.
5307         (print_ulps_file): Likewise.
5308         (get_failure): Remove function.
5309         (output_test): Don't handle expected failures.
5310         * make/README.libm-test: Don't mention expected failure handling.
5312         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
5313         (minus_zero): Likewise.
5314         (plus_infty): Likewise.
5315         (minus_infty): Likewise.
5316         (qnan_value): Likewise.
5317         (max_value): Likewise.
5318         (min_value): Likewise.
5319         (min_subnorm_value): Likewise.
5320         (initialize): Do not initialize those variables dynamically.
5322 2013-05-03  Roland McGrath  <roland@hack.frob.com>
5324         * io/open.c (__open_2): Moved to ...
5325         * io/open_2.c: ... this new file.
5326         * io/open64.c (__open64_2): Moved to ...
5327         * io/open64_2.c: ... this new file.
5328         * io/openat.c (__openat_2): Moved to ...
5329         * io/openat_2.c: ... this new file.
5330         * io/openat64.c (__openat64_2): Moved to ...
5331         * io/openat64_2.c: ... this new file.
5332         * io/Makefile (routines): Add them.
5333         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
5334         * sysdeps/unix/sysv/linux/open_2.c: File removed.
5335         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
5336         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
5337         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
5338         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
5339         (__openat64): Add hidden_ver.
5340         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
5341         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
5343         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
5344         Separately conditionalize setting of GLRO(dl_sysinfo) so
5345         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
5346         as well, but the actual setting is only under [NEED_DL_SYSINFO].
5348 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5350         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
5351         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
5352         definition.
5353         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
5354         * sysdeps/unix/sysv/linux/powerpc/init-first.c
5355         (_libc_vdso_platform_setup): Add __vdso_time initialization.
5356         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
5357         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
5359 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
5361         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
5362         test signgam value.
5364         * math/libm-test.inc (hypot_test): Do not use
5365         IGNORE_ZERO_INF_SIGN.
5367 2013-05-03  Andreas Jaeger  <aj@suse.de>
5369         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
5370         Linux 3.9.
5371         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
5372         (PF_MAX): Adjust for VSOCK change.
5374 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5378 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
5380         [BZ #15264]
5381         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
5382         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
5383         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
5385 2013-05-02  David S. Miller  <davem@davemloft.net>
5387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5389 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
5391         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
5393 2013-05-01  Roland McGrath  <roland@hack.frob.com>
5395         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
5397 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
5399         [BZ #14952]
5400         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
5401         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5402         Use __attribute__ ((__gnu_inline__)).
5403         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
5404         Don't use __attribute__ ((__gnu_inline__)).
5406 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
5408         [BZ #15423]
5409         * math/s_catan.c (__catan): Handle small real or imaginary part of
5410         input specially to avoid spurious underflow.
5411         * math/s_catanf.c (__catanf): Likewise.
5412         * math/s_catanh.c (__catanh): Likewise.
5413         * math/s_catanhf.c (__catanhf): Likewise.
5414         * math/s_catanhl.c (__catanhl): Likewise.
5415         * math/s_catanl.c (__catanl): Likewise.
5416         * math/libm-test.inc (catan_test): Add more tests.
5417         (catanh_test): Likewise.
5418         * sysdeps/i386/fpu/libm-test-ulps: Update.
5419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5421 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5425 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
5427         [BZ #15416]
5428         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
5429         accurately for denominator in atan2.
5430         * math/s_catanf.c (__catanf): Likewise.
5431         * math/s_catanh.c (__catanh): Likewise.
5432         * math/s_catanhf.c (__catanhf): Likewise.
5433         * math/s_catanhl.c (__catanhl): Likewise.
5434         * math/s_catanl.c (__catanl): Likewise.
5435         * math/libm-test.inc (catan_test): Add more tests.
5436         (catanh_test): Likewise.
5437         * sysdeps/i386/fpu/libm-test-ulps: Update.
5438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5440 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
5442         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
5444         * benchtests/Makefile (bench): Remove slow benchmarks.
5445         * benchtests/atan-inputs: Add slow benchmark inputs.
5446         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
5447         (BENCH_FUNC): Accept variant offset.
5448         (VARIANT): Define.
5449         * benchtests/bench-skeleton.c (main): Run benchmark for each
5450         variant.
5451         * benchtests/cos-inputs: Add slow benchmark inputs.
5452         * benchtests/exp-inputs: Likewise.
5453         * benchtests/pow-inputs: Likewise.
5454         * benchtests/sin-inputs: Likewise.
5455         * benchtests/slowatan-inputs: Remove.
5456         * benchtests/slowatan.c: Remove.
5457         * benchtests/slowcos-inputs: Remove.
5458         * benchtests/slowcos.c: Remove.
5459         * benchtests/slowexp-inputs: Remove.
5460         * benchtests/slowexp.c: Remove.
5461         * benchtests/slowpow-inputs: Remove.
5462         * benchtests/slowpow.c: Remove.
5463         * benchtests/slowsin-inputs: Remove.
5464         * benchtests/slowsin.c: Remove.
5465         * benchtests/slowtan-inputs: Remove.
5466         * benchtests/slowtan.c: Remove.
5467         * benchtests/tan-inputs: Add slow benchmark inputs.
5468         * scripts/bench.pl: Parse comments and directives.
5470         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
5471         in CPPFLAGS.
5472         ($(objpfx)bench-%.c): Remove *-ITER.
5473         * benchtests/bench-modf.c: Remove definition of ITER.
5474         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
5475         (main): Loop for DURATION seconds instead of fixed number of
5476         iterations.
5477         * scripts/bench.pl: Don't expect iterations in parameters.
5479 2013-04-29  Roland McGrath  <roland@hack.frob.com>
5481         * io/fchdir.c (__fchdir): Renamed from fchdir.
5482         (fchdir): Define as weak alias.
5484 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5486         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
5487         (ERRNO_EDOM): Likewise.
5488         (ERRNO_ERANGE): Likewise.
5489         (noErrnoTests): New variable.
5490         (init_max_error): Set errno to 0.
5491         (test_single_errno): New function.
5492         (test_errno): Likewise.
5493         (check_float_internal): Call test_errno.  Set errno to 0.
5494         (check_complex): Refer to errno tests in comment.
5495         (check_int): Call test_errno.  Set errno to 0.
5496         (check_long): Likewise.
5497         (check_bool): Likewise.
5498         (check_longlong): Likewise.
5499         (cos_test): Use ERRNO_* flags for errno tests instead of
5500         check_int.
5501         (expm1_test): Likewise.
5502         (fmod_test): Likewise.
5503         (ilogb_test): Likewise.
5504         (lgamma_test): Likewise.
5505         (pow_test): Likewise.
5506         (remainder_test): Likewise.
5507         (sin_test): Likewise.
5508         (tan_test): Likewise.
5509         (yn_test): Likewise.
5510         (initialize): Set errno to 0.
5511         (main): Print number of errno tests.
5512         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
5514 2013-04-29  Andreas Jaeger  <aj@suse.de>
5516         [BZ #15084]
5517         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
5518         and RES_USEVC.
5520         [BZ #15085]
5521         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
5522         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
5523         unimplemented.
5525         [BZ #15380]
5526         * stdlib/random.c (__initstate): Return NULL if
5527         __initstate fails.
5529         [BZ #15086]
5530         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
5531         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
5532         RES_SNGLKUPREOP.
5534 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5536         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5538 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
5540         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
5541         of individual tests.
5542         (casin_test): Likewise.
5543         (casinh_test): Likewise.
5545 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
5547         [BZ #15409]
5548         * math/s_catan.c (__catan): Handle arguments with large real or
5549         imaginary part separately without squaring.
5550         * math/s_catanf.c (__catanf): Likewise.
5551         * math/s_catanh.c (__catanh): Likewise.
5552         * math/s_catanhf.c (__catanhf): Likewise.
5553         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5554         and redefine.
5555         (__catanhl): Handle arguments with large real or imaginary part
5556         separately without squaring.
5557         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5558         and redefine.
5559         (__catanl): Handle arguments with large real or imaginary part
5560         separately without squaring.
5561         * math/libm-test.inc (catan_test): Add more tests.
5562         (catanh_test): Likewise.
5563         * sysdeps/i386/fpu/libm-test-ulps: Update.
5564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5566 2013-04-27  Andreas Jaeger  <aj@suse.de>
5568         [BZ #15007]
5569         * stdlib/stdlib.h: Update guards for qecvt.
5570         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
5571         <stdlib.h>.
5573 2013-04-27  Allan McRae  <allan@archlinux.org>
5575         * sysdeps/i386/fpu/libm-test-ulps: Update.
5577 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
5579         [BZ #15406]
5580         * math/s_catan.c: Include <float.h>.
5581         (__catan): Ensure underflow exception occurs for underflowed
5582         result.
5583         * math/s_catanf.c: Include <float.h>.
5584         (__catanf): Ensure underflow exception occurs for underflowed
5585         result.
5586         * math/s_catanh.c: Include <float.h>.
5587         (__catanh): Ensure underflow exception occurs for underflowed
5588         result.
5589         * math/s_catanhf.c: Include <float.h>.
5590         (__catanhf): Ensure underflow exception occurs for underflowed
5591         result.
5592         * math/s_catanhl.c: Include <float.h>.
5593         (__catanhl): Ensure underflow exception occurs for underflowed
5594         result.
5595         * math/s_catanl.c: Include <float.h>.
5596         (__catanl): Ensure underflow exception occurs for underflowed
5597         result.
5598         * math/libm-test.inc (catan_test): Add more tests.
5599         (catanh_test): Likewise.
5601         [BZ #15405]
5602         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
5603         underflowed result.
5604         * math/s_ccoshf.c (__ccoshf): Likewise.
5605         * math/s_ccoshl.c (__ccoshl): Likewise.
5606         * math/s_csin.c (__csin): Likewise.
5607         * math/s_csinf.c (__csinf): Likewise.
5608         * math/s_csinh.c (__csinh): Likewise.
5609         * math/s_csinhf.c (__csinhf): Likewise.
5610         * math/s_csinhl.c (__csinhl): Likewise.
5611         * math/s_csinl.c (__csinl): Likewise.
5612         * math/libm-test.inc (ccos_test): Add more tests.
5613         (ccosh_test): Likewise.
5614         (csin_test): Likewise.
5615         (csinh_test): Likewise.
5617 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5619         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
5620         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
5621         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
5622         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
5623         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
5624         powerpc/power5+/fpu folders.
5625         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
5628 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
5630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5632 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
5634         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
5635         additions to variable.
5636         [$(config-machine) = x86_64] (modules-names): Likewise.
5637         ($(objpfx)tst-audit3): Remove dependency.
5638         ($(objpfx)tst-audit3.out): Likewise.
5639         ($(objpfx)tst-audit4): Likewise.
5640         ($(objpfx)tst-audit4.out): Likewise.
5641         ($(objpfx)tst-audit5): Likewise.
5642         ($(objpfx)tst-audit5.out): Likewise.
5643         ($(objpfx)tst-audit6): Likewise.
5644         ($(objpfx)tst-audit6.out): Likewise.
5645         ($(objpfx)tst-audit7): Likewise.
5646         ($(objpfx)tst-audit7.out): Likewise.
5647         (tst-audit3-ENV): Remove variable.
5648         (tst-audit4-ENV): Likewise.
5649         (tst-audit5-ENV): Likewise.
5650         (tst-audit6-ENV): Likewise.
5651         (tst-audit7-ENV): Likewise.
5652         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
5653         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
5654         addition to variable.
5655         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
5656         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
5657         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
5658         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
5659         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
5660         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
5661         tst-audit3, tst-audit4 and tst-audit5.
5662         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
5663         tst-audit6 and tst-audit7.
5664         [$(subdir) = elf] (modules-names): Add audit modules for those
5665         tests.
5666         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
5667         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
5668         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
5669         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
5670         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
5671         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
5672         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
5673         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
5674         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
5675         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
5676         [$(subdir) = elf] (tst-audit3-ENV): New variable.
5677         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
5678         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
5679         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
5680         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
5681         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
5682         Likewise.
5683         [$(subdir) = elf && $(config-cflags-avx) = yes]
5684         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
5685         [$(subdir) = elf && $(config-cflags-avx) = yes]
5686         (CFLAGS-tst-auditmod4a.c): Likewise.
5687         [$(subdir) = elf && $(config-cflags-avx) = yes]
5688         (CFLAGS-tst-auditmod4b.c): Likewise.
5689         [$(subdir) = elf && $(config-cflags-avx) = yes]
5690         (CFLAGS-tst-auditmod6b.c): Likewise.
5691         [$(subdir) = elf && $(config-cflags-avx) = yes]
5692         (CFLAGS-tst-auditmod6c.c): Likewise.
5693         [$(subdir) = elf && $(config-cflags-avx) = yes]
5694         (CFLAGS-tst-auditmod7b.c): Likewise.
5695         * elf/tst-audit3.c: Move to ...
5696         * sysdeps/x86_64/tst-audit3.c: ... here.
5697         * elf/tst-audit4.c: Move to ...
5698         * sysdeps/x86_64/tst-audit4.c: ... here.
5699         * elf/tst-audit5.c: Move to ...
5700         * sysdeps/x86_64/tst-audit5.c: ... here.
5701         * elf/tst-audit6.c: Move to ...
5702         * sysdeps/x86_64/tst-audit6.c: ... here.
5703         * elf/tst-audit7.c: Move to ...
5704         * sysdeps/x86_64/tst-audit7.c: ... here.
5705         * elf/tst-auditmod3a.c: Move to ...
5706         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
5707         * elf/tst-auditmod3b.c: Move to ...
5708         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
5709         * elf/tst-auditmod4a.c: Move to ...
5710         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
5711         * elf/tst-auditmod4b.c: Move to ...
5712         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
5713         * elf/tst-auditmod5a.c: Move to ...
5714         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
5715         * elf/tst-auditmod5b.c: Move to ...
5716         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
5717         * elf/tst-auditmod6a.c: Move to ...
5718         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
5719         * elf/tst-auditmod6b.c: Move to ...
5720         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
5721         * elf/tst-auditmod6c.c: Move to ...
5722         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
5723         * elf/tst-auditmod7a.c: Move to ...
5724         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
5725         * elf/tst-auditmod7b.c: Move to ...
5726         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
5728 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
5730         [BZ #15366]
5731         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
5732         define unconditionally.
5733         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
5734         define unconditionally.
5735         (INT8_C, INT16_C, etc.): Likewise.
5737 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
5739         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
5740         __ehdr_start with hidden visibility.
5742         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
5744 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
5746         * math/libm-test.inc (cos_test): Use accurate hex constants.
5747         (sincost_test): Likewise.
5749 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
5751         * math/libm-test.inc (catan_test): Add more tests.
5752         (catanh_test): Likewise.
5754         * math/s_catanf.c (__catanf): Use suffixed floating-point
5755         constants.
5756         * math/s_catanhf.c (__catanhf): Likewise.
5757         * math/s_catanhl.c (__catanhl): Likewise.
5758         * math/s_catanl.c (__catanl): Likewise.
5760         [BZ #15394]
5761         * math/s_catan.c (__catan): Calculate imaginary part of result
5762         with log1p not log unless computing log of number close to 0.
5763         * math/s_catanf.c (__catanf): Likewise.
5764         * math/s_catanl.c (__catanl): Likewise.
5765         * math/s_catanh.c (__catanh): Calculate real part of result with
5766         log1p not log unless computing log of number close to 0.
5767         * math/s_catanhf.c (__catanhf): Likewise.
5768         * math/s_catanhl.c (__catanhl): Likewise.
5769         * math/libm-test.inc (catan_test): Add more tests.
5770         (catanh_test): Likewise.
5771         * sysdeps/i386/fpu/libm-test-ulps: Update.
5772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5774 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5776         * benchtests/Makefile: Mention files in which fast and slow
5777         paths of math functions are implemented.
5779 2013-04-23  Roland McGrath  <roland@hack.frob.com>
5781         * sysdeps/posix/timespec_get.c: New file.
5783 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5785         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
5786         POWER.
5787         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
5788         for POWER.
5789         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
5790         powerpc/power5/fpu folders.
5791         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
5792         * benchtests/Makefile: Add modf testcase.
5793         * benchtests/bench-modf.c: New file: Benchmark test for mo
5795 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
5797         [BZ #14888]
5798         * time/Makefile (tests): Add tst-strptime-whitespace.
5799         * time/strptime_l.c (get_number): Use ISSPACE.
5800         (__strptime_internal): Likewise.
5801         * time/tst-strptime-whitespace.c: New test case.
5803 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
5805         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
5806         member.
5807         (_nss_files_init): Set it here.
5809 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
5811         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
5812         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
5813         unsigned.
5815 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
5817         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
5819 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
5821         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
5822         size just once.
5824 2013-04-21  David S. Miller  <davem@davemloft.net>
5826         * po/ru.po: Update Russion translation from translation project.
5828 2013-04-17  Adam Conrad  <adconrad@0c3.net>
5830         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
5831         and setfsgid.
5833 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
5835         * configure.in: Remove i386 configure warning. Remove i386 case.
5836         * configure: Regenerate.
5837         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
5838         Add example to error message.
5839         * sysdeps/i386/configure: Regenerate.
5841 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5843         * benchtests/Makefile (bench): Add cos, tan, slowcos and
5844         slowtan.
5845         * benchtests/cos-inputs: New file.
5846         * benchtests/slowcos-inputs: New file.
5847         * benchtests/slowcos.c: New file.
5848         * benchtests/slowtan-inputs: New file.
5849         * benchtests/slowtan.c: New file.
5850         * benchtests/tan-inputs: New file.
5852 2013-04-16  Roland McGrath  <roland@hack.frob.com>
5854         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
5855         considered kosher.
5857 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
5859         * benchtests/Makefile: Include cppflags-iterator.mk to add
5860         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
5862         * Makefile.in (bench-clean): New target.
5863         * benchtests/Makefile (bench-clean): Likewise.
5865 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
5867         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
5869 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
5871         * stdio-common/tstdiomisc.c: Fix coding-style violation.
5873 2013-04-15  Andreas Schwab  <schwab@suse.de>
5875         * nscd/grpcache.c (cache_addgr): Properly check for short write.
5876         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5877         * nscd/pwdcache.c (cache_addpw): Likewise.
5878         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
5879         more than recsize.
5881 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5883         * benchtests/Makefile (bench): Write all output to
5884         bench-out.tmp together.
5886 2013-04-15  Andreas Schwab  <schwab@suse.de>
5888         * nscd/nscd.c (main): Don't fork again after closing files.
5890 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5892         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
5894         * benchtests/Rules (bench-deps): Collect dependencies into a
5895         single variable.  Add Makefile to dependencies.
5896         ($(objpfx)bench-%.c): Depend on bench-deps.
5898 2013-04-12  Roland McGrath  <roland@hack.frob.com>
5899             Xavier Roche  <roche+kml2@exalead.com>
5901         [BZ #15361]
5902         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
5903         just that it's a file descriptor.
5904         * manual/llio.texi (Synchronizing AIO Operations): Update description
5905         for EBADF error from aio_fsync.
5907 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5909         * Rules (bench): Move target definition...
5910         * benchtests/Makefile: ... here.
5912 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
5914         * math/libm-test.inc (cos_test): Fix PI/2 test.
5915         (sincos_test): Likewise.
5916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
5917         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
5919 2013-04-11  Andreas Schwab  <schwab@suse.de>
5921         [BZ #13988]
5922         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
5923         accept exponent character only when digits were seen.
5924         * stdio-common/Makefile (tests): Add bug26.
5925         * stdio-common/bug26.c: New file.
5927         [BZ #14293]
5928         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
5929         non-freeable.
5931 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5933         * Makeconfig (rtld-prefix): Define built linker prefix.
5934         * Rules (run-bench): Use it.
5935         * math/Makefile (run-regen-ulps): Likewise.
5937         * Rules (bench): Remove eval.
5939 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5940             Roland McGrath  <roland@hack.frob.com>
5941             Ondrej Bilka  <neleai@seznam.cz>
5943         [BZ #15346]
5944         * time/getdate.c: Include ctype.h and alloca.h.
5945         (__getdate_r): Trim leading and trailing spaces of input.
5946         * time/tst-getdate.c (tests): Add tests with leading and
5947         trailing spaces.
5949 2013-04-08  Roland McGrath  <roland@hack.frob.com>
5951         [BZ #14280]
5952         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5953         when computing value.
5955 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5957         * math/README.libm-test (How can I generate "libm-test-ulps"?):
5958         Use testrun.sh to run libm tests.
5960         [BZ #15309]
5961         * elf/dl-open.c (dl_open_worker): memset all of seen array.
5963 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
5965         [BZ #15264]
5966         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
5968 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5970         * Makefile.in (regen-ulps): New target.
5971         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5972         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
5973         [ifneq (no,$(PERL)] (regen-ulps): New target.
5974         [ifeq (no,$(PERL)] (regen-ulps): New target.
5975         * math/libm-test.inc (ulps_file_name): Define.
5976         (output_dir): New variable.
5977         (options): Add "output-dir" option.
5978         (parse_opt): Handle 'o' case.
5979         (main): If output_dir is non-NULL use it as a prefix
5980         otherwise use "".
5981         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
5983 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5985         [BZ #10060, #10062]
5986         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
5987         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
5988         fail configure if __sync_val_compare_and_swap is not inlined.
5989         * sysdeps/i386/configure: Regenerate.
5990         * configure.in: Build for i686 when configured for i386.
5991         * configure: Regenerate.
5992         * README: Remove i386 reference.
5994 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
5996         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
5997         * sysdeps/s390/s390-64/sysdep.h: Likewise.
5999 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
6001         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
6002         (lmsnanval): New variables.
6003         (F): Add conversion tests.
6004         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
6005         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
6007         * stdio-common/tstdiomisc.c (F): Properly collect individual
6008         tests' results.
6010         [BZ #14686, #15336]
6011         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
6012         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6013         Instead, use input NaN values or generate a qNaN by arithmetic
6014         operation.  Also fix bugs to comply with the standard.
6015         * math/libm-test.inc (remainder_test): Add more tests.
6017         [BZ #15335, #15342]
6018         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
6019         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
6020         input NaN values or generate a qNaN by arithmetic operation.
6022         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
6023         unreachable code.
6025         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
6026         definitions.
6028 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
6030         [BZ #14478]
6031         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
6032         underflowed result.
6033         * math/s_cexpf.c (__cexpf): Likewise.
6034         * math/s_cexpl.c (__cexpl): Likewise.
6035         * math/libm-test.inc (cexp_test): Add more tests.
6037 2013-04-03  Andreas Schwab  <schwab@suse.de>
6039         [BZ #15330]
6040         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
6041         order arrays from heap if bigger than alloca cutoff.
6043 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
6045         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
6046         (SNAN_TESTS_double): Refer to GCC PR56831.
6047         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
6048         GCC PR56828.
6050 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6052         * Rules (bench): Move bench.out after the run is complete.
6054         * Rules (bench): Echo currently running benchmark.
6056         * benchtests/Makefile (bench): Add atan and slowatan.
6057         * benchtests/atan-inputs: New file.
6058         * benchtests/slowatan-inputs: New file.
6059         * benchtests/slowatan.c: New file.
6061         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
6062         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
6063         its value.
6065         [BZ #15305]
6066         * sysdeps/unix/sysv/linux/kernel-features.h
6067         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
6068         __ASSUME_XFS_RESTRICTED_CHOWN.
6069         * sysdeps/unix/sysv/linux/pathconf.c
6070         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6071         Save and restore errno.
6073 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
6075         [BZ #15327]
6076         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
6077         arguments using __kernel_casinh.
6078         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
6079         arguments using __kernel_casinhf.
6080         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
6081         arguments using __kernel_casinhl.
6082         * math/libm-test.inc (cacosh_test): Add more tests.
6083         * sysdeps/i386/fpu/libm-test-ulps: Update.
6084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6086 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6088         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
6089         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
6091         * bench/Makefile (bench): Add sin and slowsin.
6092         * benchtests/sin-inputs: New file.
6093         * benchtests/slowsin-inputs: New file.
6094         * benchtests/slowsin.c: New file.
6096         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
6097         (bench): Add slowexp and slowpow.
6098         (exp-ITER): Increase iterations.
6099         (pow-ITER): Likewise.
6100         * benchtests/exp-inputs: Change input.
6101         * benchtests/pow-inputs: Likewise.
6102         * benchtests/slowexp-inputs: New file.
6103         * benchtests/slowexp.c: New file.
6104         * benchtests/slowpow-inputs: New file.
6105         * benchtests/slowpow.c: New file.
6107 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6109         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
6110         instructions.
6111         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
6112         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
6113         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6114         * benchtests/Makefile: Add rint benchtest.
6115         * benchtests/rint-inputs: Input for rint benchtest.
6117 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
6119         * Versions.def (libm): Add GLIBC_2.18.
6120         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
6121         hidden libm prototypes.
6122         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
6123         * math/Makefile (libm-calls): Add s_issignaling.
6124         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
6125         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
6126         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
6127         declaration.
6128         * math/math.h [__USE_GNU] (issignaling): New macro.
6129         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
6130         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
6131         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
6132         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
6133         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
6134         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
6135         * manual/arith.texi (issignaling): New section.
6136         * manual/libm-err-tab.pl (@all_functions): Update comment.
6137         * math/gen-libm-test.pl (parse_args): Apply special handling for
6138         issignaling.
6139         * math/libm-test.inc (print_float, issignaling_test): New
6140         functions.
6141         (check_float_internal): Add issignaling checks.
6142         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
6143         default definition.
6144         * sysdeps/powerpc/math-tests.h: New file.
6145         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
6146         tests.
6147         * math/test-snan.c (TEST_FUNC): Likewise.
6149 2013-03-30  David S. Miller  <davem@davemloft.net>
6151         * po/de.po: Update from translation team.
6153 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
6155         [BZ #10357]
6156         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6157         imaginary part less than 1.0 and real part less than 0.5
6158         specially.
6159         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6160         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6161         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
6162         (cacos_test): Add more tests.
6163         (casin_test): Likewise.
6164         (casinh_test): Likewise.
6165         * sysdeps/i386/fpu/libm-test-ulps: Update.
6166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6168 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6170         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
6171         ONE with its value.
6173         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
6174         (__pow_mp): Replace ONE and MONE with their values.
6175         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6176         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
6177         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6178         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
6179         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6180         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6182         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
6184         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
6185         (__pow_mp): Replace ZERO and MZERO with their values.
6186         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6187         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6188         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
6189         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6190         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6191         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
6192         (__sqr): Likewise.
6194         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
6196         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
6198 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6200         * include/stdlib.h [!SHARED] (__call_tls_dtors):
6201         Declare with __attribute__ ((weak)).
6202         * stdlib/exit.c (__libc_atexit) [!SHARED]:
6203         Call __call_tls_dtors only if it's not NULL.
6205 2013-03-28  Roland McGrath  <roland@hack.frob.com>
6207         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
6208         didn't do it already, then set _dl_phdr and _dl_phnum based on the
6209         magic __ehdr_start linker symbol if it's defined.
6210         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
6211         them up here if it was already done.
6213         * elf/dl-support.c (_dl_phdr): Make pointer to const.
6214         (_dl_aux_init): Use const in cast when setting it.
6215         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
6216         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
6217         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
6219         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
6220         Declare them here.
6221         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
6222         * csu/libc-tls.c: Nor here.
6223         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
6225         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
6226         (__libc_message): Never call vsyslog.
6228 2013-03-28  Alan Modra  <amodra@gmail.com>
6230         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
6231         Define as empty.
6232         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
6233         Likewise.
6235 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6237         [BZ #15214]
6238         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
6239         underflow.
6240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6242 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6244         [BZ #15304]
6245         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
6246         Don't add gid passed as argument.
6248         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
6250 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
6252         [BZ #15307]
6253         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6254         imaginary part between 1.0 and 1.5 and real part less than 0.5
6255         specially.
6256         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6257         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6258         * math/libm-test.inc (cacos_test): Add more tests.
6259         (casin_test): Likewise.
6260         (casinh_test): Likewise.
6261         * sysdeps/i386/fpu/libm-test-ulps: Update.
6262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6264 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6266         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
6267         constants.
6268         (norm): Likewise.
6269         (denorm): Likewise.
6270         (__dbl_mp): Likewise.
6271         (add_magnitudes): Likewise.
6272         (sub_magnitudes): Likewise.
6273         (__add): Likewise.
6274         (__sub): Likewise.
6275         (__mul): Likewise.
6276         (__sqr): Likewise.
6277         (__inv): Likewise.
6278         (__dvd): Likewise.
6280         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
6281         commented code.
6282         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
6283         (__dubcos): Likewise.
6284         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
6285         (__ieee754_acos): Likewise.
6286         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
6287         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
6288         (__exp1): Likewise.
6289         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
6290         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6291         (log1): Likewise.
6292         (my_log2): Likewise.
6293         (checkint): Likewise.
6294         * sysdeps/ieee754/dbl-64/e_remainder.c
6295         (__ieee754_remainder): Likewise.
6296         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
6297         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
6298         (bsloww): Likewise.
6299         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
6301         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6302         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
6303         MANTISSA_STORE_T to store computations on mantissa.  Use
6304         macros for rounding and division.
6305         (denorm): Likewise.
6306         (__dbl_mp): Likewise.
6307         (add_magnitudes): Likewise.
6308         (sub_magnitudes): Likewise.
6309         (__mul): Likewise.
6310         (__sqr): Likewise.
6311         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6312         powers of two in terms of TWOPOW macro.
6313         (mp_no): Make type of mantissa as MANTISSA_T.
6314         [!RADIXI]: Define RADIXI.
6315         [!TWO52]: Define TWO52.
6316         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6318 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6320         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
6321         llroundl symbol when building for PPC32.
6323 2013-03-24  Mark H Weaver  <mhw@netris.org>
6325         * manual/arith.texi (Normalization Functions): Fix prototypes for
6326         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
6328 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6330         [BZ #13889]
6331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
6332         high value to check if expl overflow.
6333         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
6334         to check for underflow and overflow.
6335         * math/libm-test.inc: Add exp test.
6337 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
6339         [BZ #11120]
6340         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
6341         with NOT_IN_libc.
6343 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6345         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
6346         symbol.
6348 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
6350         * math/gen-libm-test.pl (parse_args, special_functions): Properly
6351         wrap blocks consisting of several statements.
6353         * sysdeps/generic/math-tests.h: New file.
6354         * sysdeps/i386/fpu/math-tests.h: Likewise.
6355         * math/test-snan.c: Include it.
6356         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
6358 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6360         [BZ #15285]
6361         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
6362         (__ieee754_j0l): Do not improve calculations using cos of twice
6363         input for inputs above LDBL_MAX / 2.0L.
6364         (__ieee754_y0l): Likewise.
6365         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
6366         (__ieee754_j1l): Do not improve calculations using cos of twice
6367         input for inputs above LDBL_MAX / 2.0L.
6368         (__ieee754_y1l): Likewise.
6369         * math/libm-test.inc (j0_test): Add another test.
6370         (j1_test): Likewise.
6371         (y0_test): Likewise.
6372         (y1_test): Likewise.
6373         * sysdeps/i386/fpu/libm-test-ulps: Update.
6375 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6377         * Rules ($(objpfx)bench-%.c): Include code from a C source
6378         file.
6380 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
6382         [BZ #15287]
6383         * math/k_casinh.c (__kernel_casinh): Handle arguments with
6384         imaginary part 1.0 and real part less than 0.5 specially.
6385         * math/k_casinhf.c (__kernel_casinhf): Likewise.
6386         * math/k_casinhl.c (__kernel_casinhl): Likewise.
6387         * math/libm-test.inc (cacos_test): Add more tests.
6388         (casin_test): Likewise.
6389         (casinh_test): Likewise.
6390         * sysdeps/i386/fpu/libm-test-ulps: Update.
6391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6393 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6395         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
6396         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
6398 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
6400         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
6401         * config.make.in (config-cflags-sse4): Remove variable.
6402         (config-cflags-avx): Likewise.
6403         (config-cflags-sse2avx): Likewise.
6404         (config-cflags-novzeroupper): Likewise.
6405         (config-asflags-i686): Likewise.
6406         (have-mfma4): Likewise.
6407         (have-as-vis3): Likewise.
6408         (MIG): Likewise.
6409         * configure.in (MIG): Do not AC_SUBST.
6410         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
6411         (libc_cv_cc_sse4): Do not AC_SUBST.
6412         (libc_cv_cc_avx): Likewise.
6413         (libc_cv_cc_sse2avx): Likewise.
6414         (libc_cv_cc_novzeroupper): Likewise.
6415         (libc_cv_cc_fma4): Likewise.
6416         (libc_cv_as_i686): Likewise.
6417         (libc_cv_sparc_as_vis3): Likewise.
6418         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
6419         LIBC_CONFIG_VAR.
6420         (config-asflags-i686): Likewise.
6421         (config-cflags-avx): Likewise.
6422         (config-cflags-sse2avx): Likewise.
6423         (have-mfma4): Likewise.
6424         (config-cflags-novzeroupper): Likewise.
6425         * sysdeps/mach/configure.in (MIG): Likewise.
6426         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
6427         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
6428         LIBC_CONFIG_VAR.
6429         (config-cflags-avx): Likewise.
6430         (config-cflags-sse2avx): Likewise.
6431         (have-mfma4): Likewise.
6432         (config-cflags-novzeroupper): Likewise.
6433         * configure: Regenerated.
6434         * sysdeps/i386/configure: Likewise.
6435         * sysdeps/mach/configure: Likewise.
6436         * sysdeps/sparc/configure: Likewise.
6437         * sysdeps/x86_64/configure: Likewise.
6439 2013-03-20  Roland McGrath  <roland@hack.frob.com>
6441         [BZ #14812]
6442         * locale/programs/localedef.c (options): Put N_ translation marker
6443         on argument names, not just descriptions.
6445 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
6447         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
6449 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
6451         [BZ #14176]
6452         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
6454 2013-03-19  Roland McGrath  <roland@hack.frob.com>
6456         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
6457         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
6458         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
6459         [!BEFORE_ABORT] (before_abort): New function.
6460         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
6461         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
6462         (writev_for_fatal): New function.
6463         (WRITEV_FOR_FATAL): New macro; call that.
6464         (backtrace_and_maps): New function.
6465         (BEFORE_ABORT): New macro; call that.
6466         (struct str_list): Type removed.
6467         (__libc_message, __libc_fatal): Functions removed.
6468         Include <sysdeps/posix/libc_fatal.c> instead.
6470 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
6472         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
6473         constants.
6474         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
6475         double constants.
6477 2013-03-19  Andreas Schwab  <schwab@suse.de>
6479         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
6480         * sysdeps/gnu/configure: Regenerate.
6482         * configure.in: Substitute libc_cv_rtlddir.
6483         * configure: Regenerate.
6484         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
6485         * Makeconfig (rtlddir, inst_rtlddir): New variables.
6486         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
6487         * elf/Makefile (install-others, CFLAGS-interp.c)
6488         (ldso_install, common-ldd-rewrite): Likewise.
6489         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
6490         $(inst_slibdir)/$(rtld-installed-name).
6491         * scripts/rellns-sh: Add -p option.
6492         * Makerules (make-shlib-link): Use rellns-sh to get relative name
6493         for source.
6495 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6497         * manual/nptl.texi: Renamed to ...
6498         * manual/threads.texi: ... this.
6499         * manual/Makefile (chapters): Update.
6501 2013-03-18  Roland McGrath  <roland@hack.frob.com>
6503         [BZ #14812]
6504         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
6505         on argument names, not just descriptions.
6506         * malloc/memusagestat.c (options): Likewise.
6507         * nss/getent.c (options): Likewise.
6509 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
6511         [BZ #14812]
6512         * iconv/iconv_prog.c (options): Put N_ translation marker
6513         on argument names, not just descriptions.
6514         * iconv/iconvconfig.c (options): Likewise.
6516 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
6518         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
6519         implementation which is faster on all x86_64 architectures.
6520         Tested on AMD, Intel Nehalem, SNB, IVB.
6521         * sysdeps/x86_64/strnlen.S: Likewise.
6523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6524         Remove all multiarch strlen and strnlen versions.
6525         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
6526         Remove strlen and strnlen related parts.
6528         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
6529         Inline strlen part.
6530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
6532         * sysdeps/x86_64/multiarch/strlen.S: Remove.
6533         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
6534         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
6535         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
6536         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
6537         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
6539 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
6541         * manual/memory.texi (Malloc Tunable Parameters):
6542         Sort parameters alphabetically. Add comments for missing entries.
6544 2013-03-17  David S. Miller  <davem@davemloft.net>
6546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6548 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
6550         [BZ #15283]
6551         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
6552         for arguments at most half maximum finite value.
6553         * math/libm-test.inc (j0_test): Add more tests.
6554         (j1_test): Likewise.
6555         (y0_test): Likewise.
6556         (y1_test): Likewise.
6557         * sysdeps/i386/fpu/libm-test-ulps: Update.
6558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6560         [BZ #14155]
6561         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
6562         1 / x and functions P and Q for arguments above 0x1p256L.
6563         (__ieee754_y0l): Likewise.
6564         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6565         (__ieee754_y1l): Likewise.
6566         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
6567         (j1_test): Likewise.
6568         (y0_test): Likewise.
6569         (y1_test): Likewise.
6571 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
6573         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
6574         variable.
6576 2013-03-15  Roland McGrath  <roland@hack.frob.com>
6578         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
6579         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
6580         zero since it's initialized to EXEC_PAGESIZE.
6582         * sysdeps/unix/sysv/linux/ldsodefs.h
6583         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
6584         * sysdeps/generic/ldsodefs.h: ... here.
6586 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
6588         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
6590         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
6591         math/test-snan.c.
6592         * math/test-snan.c: Renamed from
6593         sysdeps/powerpc/fpu/test-powerpc-snan.c.
6594         * math/Makefile (tests): Add test-snan.
6595         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
6596         test-powerpc-snan.
6598         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
6599         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
6600         functions.
6601         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
6602         __builtin_nan family of functions.
6603         * math/libm-test.inc (initialize): Initialize qnan_value with
6604         __builtin_nan family of functions.
6605         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
6606         Remove variables.
6607         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
6608         Remove functions.
6609         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
6610         storage class.  Initialize qNaN_var and sNaN_var with
6611         __builtin_nan and __builtin_nans families of functions,
6612         respectively.
6614         * math/libm-test.inc (acosh_test): Also test with qNaN input.
6615         (sqrt_test): Remove duplicate test with qNaN input.
6616         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
6617         (round_test, signbit_test, significand_test): Note missing +/-Inf
6618         as well as qNaN tests.
6620         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
6621         qNaN_var.  Fix a few strings, too.
6622         * math/libm-test.inc (nan_value): Rename to qnan_value.
6623         * math/gen-libm-test.pl (%beautify): Adjust to that.
6624         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
6625         * math/test-misc.c (main): Likewise.
6626         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
6627         to __qnan_bytes, and __qnan_union, respectively.
6628         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
6629         Likewise.
6630         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
6631         and lqnanval, respectively.
6632         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
6633         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
6634         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
6635         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
6637         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
6638         * math/test-misc.c (main) [__x86_64__]: Enable test for long
6639         doubles.
6641         * math/test-misc.c (main): Fix copy'n'pastos.
6642         * misc/tst-efgcvt.c (special): Likewise.
6644         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
6645         Remove declarations.
6647 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6649         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
6650         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
6651         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
6652         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
6654 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6656         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
6657         macro to return vdso values correctly in IFUNC implementations.
6658         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6659         Optimization by using IFUNC.
6661 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6662             Richard Henderson  <rth@redhat.com>
6663             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6665         * Makefile.in (bench): New target.
6666         * NEWS: Mention the benchmark framework.
6667         * Rules (bench): Likewise.
6668         (binaries-bench): Generate binaries for functions to
6669         benchmark.
6670         * benchtests/Makefile: New makefile for benchmark tests.
6671         * benchtests/bench-skeleton.c: New skeleton file for benchmark
6672         programs.
6673         * benchtests/exp-inputs: New input file for EXP function.
6674         * benchtests/pow-inputs: New input file for POW function.
6675         * scripts/bench.pl: New script to generate source files for
6676         benchmark programs.
6678 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6680         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
6681         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
6682         computations on mantissa.  Use macros for rounding and
6683         division.
6684         (denorm): Likewise.
6685         (__dbl_mp): Likewise.
6686         (add_magnitudes): Likewise.
6687         (sub_magnitudes): Likewise.
6688         (__mul): Likewise.
6689         (__sqr): Likewise.
6690         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
6691         powers of two in terms of TWOPOW macro.
6692         (mp_no): Make type of mantissa as MANTISSA_T.
6693         [!RADIXI]: Define RADIXI.
6694         [!TWO52]: Define TWO52.
6695         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
6697         * manual/nptl.texi (cindex): Modify threads to pthreads.
6699 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
6701         * sysdeps/x86_64/preconfigure: Regenerated.
6703 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
6705         [BZ #14155]
6706         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
6707         0x1p28 and above.
6708         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
6709         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
6710         0x1p28 and above.
6711         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
6712         * math/libm-test.inc (j0_test): Do not allow one spurious
6713         underflow exception.
6714         (y1_test): Likewise.
6716 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6718         * manual/Makefile (chapters): Add nptl.
6719         * manual/debug.texi (Debugging Support): Add link to Threads
6720         chapter.
6721         * manual/nptl.texi: New file.
6723         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
6725 2013-03-14  Petr Baudis  <pasky@ucw.cz>
6727         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
6728         for non-NULL pointer before the memory validity test. Pointed
6729         out by Holger Brunck <holger.brunck@keymile.com>.
6731 2013-03-13  Andreas Schwab  <schwab@suse.de>
6733         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
6734         instead of .os.
6736 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
6738         * timezone/zic.c: Update from tzcode 2013b.
6740 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
6742         * manual/install.texi (Configuring and compiling):
6743         Mention i686 and i586.
6744         * INSTALL: Regenerate.
6746 2013-03-12  Roland McGrath  <roland@hack.frob.com>
6748         * sysdeps/init_array/elf-init.c: New file.
6749         * csu/elf-init.c
6750         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
6751         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
6753         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
6754         __gmon_start__ as global, but as static with a .preinit_array pointer.
6755         * sysdeps/init_array/gmon-start.c: New file.  Use that.
6756         * sysdeps/init_array/crti.S: New file, empty except for comments.
6757         * sysdeps/init_array/crtn.S: Likewise.
6759 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
6761         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
6762         definining bcopy.
6763         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6764         Remove Prefer_SSE_for_memop.
6765         * sysdeps/x86_64/multiarch/init-arch.h: Remove
6766         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
6767         HAS_PREFER_SSE_FOR_MEMOP.
6768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6769         memset-x86-64.
6770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6771         Remove bzero, memset ifunc support.
6772         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
6773         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
6774         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6777 2013-03-11  Andreas Schwab  <schwab@suse.de>
6779         [BZ #15234]
6780         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
6781         by SHLIB_COMPAT.
6782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
6783         (GLIBC_2.16): Remove pthread_atfork.
6785 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
6787         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
6788         (ptestcases.h): Likewise.
6790 2013-03-08  Roland McGrath  <roland@hack.frob.com>
6792         * Makeconfig ($(common-objpfx)config.status): Depend on
6793         sysdeps/*/preconfigure{,.in} too.
6795 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
6797         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
6798         (__free_hook): Use void * instead of __malloc_ptr_t.
6799         (__malloc_hook): Likewise.
6800         (__realloc_hook): Likewise.
6801         (__memalign_hook): Likewise.
6802         (__after_morecore_hook): Likewise.
6803         * malloc/arena.c (save_malloc_hook): Likewise.
6804         (save_free_hook): Likewise.
6805         * malloc/hooks.c (malloc_hook_ini): Likewise.
6806         (realloc_hook_ini): Likewise.
6807         (memalign_hook_ini): Likewise.
6808         * malloc/malloc.c (malloc_hook_ini): Likewise.
6809         (realloc_hook_ini): Likewise.
6810         (memalign_hook_ini): Likewise.
6811         (__free_hook): Likewise.
6812         (__malloc_hook): Likewise.
6813         (__realloc_hook): Likewise.
6814         (__memalign_hook): Likewise.
6815         (__libc_malloc): Likewise.
6816         (__libc_free): Likewise.
6817         (__libc_realloc): Likewise.
6818         (__libc_memalign): Likewise.
6819         (__libc_valloc): Likewise.
6820         (__libc_pvalloc): Likewise.
6821         (__libc_calloc): Likewise.
6822         (__posix_memalign): Likewise.
6823         * malloc/morecore.c (__sbrk): Likewise.
6824         (__default_morecore): Likewise.
6826         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
6828         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
6829         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
6830         __malloc_ptrdiff_t.
6832         * malloc/malloc.h (__malloc_size_t): Remove macro.
6833         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
6834         __malloc_size_t.
6835         (old_memalign_hook): Likewise.
6836         (old_realloc_hook): Likewise.
6837         (struct hdr): Likewise.
6838         (flood): Likewise.
6839         (mallochook): Likewise.
6840         (memalignhook): Likewise.
6841         (reallochook): Likewise.
6842         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
6843         (tr_old_realloc_hook): Likewise.
6844         (tr_old_memalign_hook): Likewise.
6845         (tr_mallochook): Likewise.
6846         (tr_reallochook): Likewise.
6847         (tr_memalignhook): Likewise.
6849 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
6852         default_ldbl_pack and using as default implementation.
6853         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
6854         implementation.
6855         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
6856         redundant definition.
6857         (ldbl_insert_mantissa): Likewise.
6858         (ldbl_canonicalize): Likewise.
6859         (ldbl_nearbyint): Likewise.
6860         (ldbl_pack): Rename to ldbl_pack_ppc.
6861         (ldbl_unpack): Rename to ldbl_unpack_ppc.
6862         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
6863         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
6865 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
6867         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
6868         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
6869         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
6870         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
6871         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
6872         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
6873         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
6874         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
6876 2013-03-07  Andreas Jaeger  <aj@suse.de>
6878         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6879         bits/mman-linux.h.
6881 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
6883         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
6884         Include mpa.h and declare __MPEXP.
6885         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
6886         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6887         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6888         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
6889         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6890         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
6891         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
6893         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
6894         (__slowpow): Use long double EXPL and LOGL functions to
6895         compute POW.
6896         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
6897         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6898         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
6899         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
6900         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
6901         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
6903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
6904         intermediate variable to calculate exponent.
6905         (__sqr): Likewise.
6906         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6907         Likewise.
6908         (__sqr): Likewise.
6910         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
6911         [!NO__SQR]: Define __sqr.
6912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
6913         and NO__SQR.  Remove all code except __mul and __sqr.  Include
6914         sysdeps/ieee754/dbl-64/mpa.c.
6915         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
6917         [BZ #12723]
6918         * posix/Makefile (tests): Add tst-pathconf.
6919         * posix/tst-pathconf.c: New test case.
6920         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
6921         _PC_PIPE_BUF.
6922         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
6924 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
6926         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
6928 2013-03-06  Andreas Jaeger  <aj@suse.de>
6930         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
6931         definition via __MAP_ANONYMOUS.
6933         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
6934         it's not part of Linux headers.
6936         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
6937         (MAP_HUGE_MASK): Define.
6939         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6940         Define.
6941         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6942         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6943         Define.
6944         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6945         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
6946         Define.
6947         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6948         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
6949         Define.
6950         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
6952         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
6953         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
6954         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
6955         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
6956         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
6957         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
6959         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
6960         Handle f2fs.
6962         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
6963         Handle f2fs and efivarfs.
6965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
6966         f2fs.
6968         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
6969         (EFIVARFS_MAGIC): Add.
6970         (F2FS_LINK_MAX): Add.
6972 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
6974         * stdio-common/vfprintf.c: Replace __builtin_expect with
6975         __glibc_unlikely.
6977 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
6979         [BZ #13550]
6980         * sysdeps/generic/bp-sym.h: Remove file.
6981         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
6982         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
6983         <bp-sym.h> and <bp-asm.h>.
6984         (__longjmp): Don't use BP_SYM.
6985         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
6986         and <bp-asm.h>.
6987         (memcpy): Don't use BP_SYM.
6988         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
6989         <bp-sym.h> and <bp-asm.h>.
6990         (memcpy): Don't use BP_SYM.
6991         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
6992         <bp-asm.h>.
6993         (memcpy): Don't use BP_SYM.
6994         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
6995         <bp-asm.h>.
6996         (memset): Don't use BP_SYM.
6997         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
6998         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
6999         (__bzero): Don't use BP_SYM.
7000         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7001         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7002         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
7003         <bp-sym.h> and <bp-asm.h>.
7004         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7005         pointers.
7006         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
7007         <bp-sym.h> and <bp-asm.h>.
7008         (memcpy): Don't use BP_SYM.
7009         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
7010         <bp-sym.h> and <bp-asm.h>.
7011         (memset): Don't use BP_SYM.
7012         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7013         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7014         (__bzero): Don't use BP_SYM.
7015         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7016         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7017         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
7018         <bp-sym.h> and <bp-asm.h>.
7019         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7020         pointers.
7021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
7022         <bp-sym.h> and <bp-asm.h>.
7023         (memcpy): Don't use BP_SYM.
7024         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
7025         <bp-sym.h> and <bp-asm.h>.
7026         (memset): Don't use BP_SYM.
7027         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7028         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7029         (__bzero): Don't use BP_SYM.
7030         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7031         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7032         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
7033         <bp-sym.h> and <bp-asm.h>.
7034         (__memchr): Don't use BP_SYM.
7035         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
7036         <bp-sym.h> and <bp-asm.h>.
7037         (memcmp): Don't use BP_SYM.  Remove comment about bounded
7038         pointers.
7039         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
7040         <bp-sym.h> and <bp-asm.h>.
7041         (memcpy): Don't use BP_SYM.
7042         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
7043         <bp-sym.h> and <bp-asm.h>.
7044         (__mempcpy): Don't use BP_SYM.
7045         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
7046         <bp-sym.h> and <bp-asm.h>.
7047         (__memrchr): Don't use BP_SYM.
7048         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
7049         <bp-sym.h> and <bp-asm.h>.
7050         (memset): Don't use BP_SYM.
7051         (__bzero): Likewise.
7052         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
7053         <bp-sym.h> and <bp-asm.h>.
7054         (__rawmemchr): Don't use BP_SYM.
7055         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
7056         <bp-sym.h> and <bp-asm.h>.
7057         (__STRCMP): Don't use BP_SYM.
7058         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
7059         <bp-sym.h> and <bp-asm.h>.
7060         (strchr): Don't use BP_SYM.
7061         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
7062         <bp-sym.h> and <bp-asm.h>.
7063         (__strchrnul): Don't use BP_SYM.
7064         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
7065         <bp-sym.h> and <bp-asm.h>.
7066         (strlen): Don't use BP_SYM.
7067         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
7068         <bp-sym.h> and <bp-asm.h>.
7069         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7070         pointers.
7071         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
7072         <bp-sym.h> and <bp-asm.h>.
7073         (__strnlen): Don't use BP_SYM.
7074         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
7075         <bp-sym.h> and <bp-asm.h>.
7076         (__GI__setjmp): Don't use BP_SYM.
7077         (_setjmp): Likewise.
7078         (__sigsetjmp): Likewise.
7079         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
7080         (L(start_addresses)): Don't use BP_SYM.
7081         (_start): Likewise.
7082         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
7083         <bp-asm.h>.
7084         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
7085         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
7086         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7087         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7088         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
7089         <bp-asm.h>.
7090         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
7091         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
7092         about bounded pointers.
7093         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7094         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7095         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
7096         <bp-asm.h>.
7097         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7098         about bounded pointers.  Remove GKM FIXME comments.
7099         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7100         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
7101         <bp-asm.h>.
7102         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
7103         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
7104         Remove GKM FIXME comments.
7105         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7106         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7107         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
7108         <bp-asm.h>.
7109         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
7110         about bounded pointers.  Remove GKM FIXME comment.
7111         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
7112         and <bp-asm.h>.
7113         (strncmp): Don't use BP_SYM.  Remove comment about bounded
7114         pointers.
7115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
7116         <bp-sym.h> and <bp-asm.h>.
7117         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
7119         <bp-sym.h> and <bp-asm.h>.
7120         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7121         comment.
7123 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7125         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
7126         call free(NULL).
7128 2013-03-05  David S. Miller  <davem@davemloft.net>
7130         * po/es.po: Update from translation team.
7132 2013-03-05  Andreas Jaeger  <aj@suse.de>
7134         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
7135         <bits/mman-linux.h>.
7136         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7137         is fine.
7138         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
7139         <bits/mman-linux.h> to end of file.
7140         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7141         is fine.
7142         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
7143         <bits/mman-linux.h> to end of file.
7144         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
7145         is fine.
7146         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
7147         <bits/mman-linux.h> to end of file.
7149         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
7150         (MCL_CURRENT, MCL_FUTURE): Define here.
7152 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7154         [BZ #15232]
7155         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
7156         attribute_hidden.
7157         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7159 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7161         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
7162         fourth parameter needed for rt_sigprocmask syscall.
7163         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7164         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
7165         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
7166         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
7170 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
7172         [BZ #13550]
7173         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
7174         comment about bounded pointers.
7175         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
7176         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
7178 2013-03-04  Andreas Jaeger  <aj@suse.de>
7180         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
7181         common definitions.
7183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
7184         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
7185         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
7186         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
7187         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
7188         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
7190 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7192         [BZ #15055]
7193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
7194         __ieee754_sqrl instead of __sqrl.
7196 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
7198         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
7199         * sysdeps/powerpc/fpu_control.h: ... here.
7200         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
7201         * sysdeps/powerpc/bits/fenvinline.h: ... here.
7202         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
7203         * sysdeps/powerpc/bits/mathinline.h: ... here.
7205 2013-03-01  Roland McGrath  <roland@hack.frob.com>
7207         * elf/dl-hwcaps.c (_dl_important_hwcaps):
7208         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
7209         to just [NEED_DL_SYSINFO_DSO].
7210         * elf/dl-support.c: Likewise.
7211         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
7212         * elf/rtld.c (dl_main): Likewise.
7213         * elf/setup-vdso.h (setup_vdso): Likewise.
7214         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
7215         * sysdeps/unix/sysv/linux/dl-sysdep.c
7216         (_dl_discover_osversion): Likewise.
7218 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
7220         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
7221         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7223 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7225         * NEWS: Mention libm performance improvements and non-x86 PI
7226         futex support.
7228         * csu/libc-start.c (__pthread_initialize_minimal): Change
7229         function arguments.
7230         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
7232 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
7234         [BZ #13550]
7235         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
7236         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
7237         <bp-sym.h> and <bp-asm.h>.
7238         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7239         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
7240         and <bp-asm.h>.
7241         (memcpy): Don't use BP_SYM.
7242         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
7243         <bp-asm.h>.
7244         (__mpn_add_n): Don't use BP_SYM.
7245         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
7246         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
7247         and <bp-asm.h>.
7248         (__mpn_addmul_1): Don't use BP_SYM.
7249         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7250         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
7251         <bp-sym.h>.
7252         (_setjmp): Don't use BP_SYM.
7253         (__novmx_setjmp): Likewise.
7254         (__GI__setjmp): Likewise.
7255         (__vmx_setjmp): Likewise.
7256         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
7257         <bp-sym.h>.
7258         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
7259         (__bzero): Don't use BP_SYM.
7260         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
7261         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
7262         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
7263         <bp-sym.h> and <bp-asm.h>.
7264         (memcpy): Don't use BP_SYM.
7265         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
7266         <bp-sym.h> and <bp-asm.h>.
7267         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7268         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
7269         <bp-sym.h> and <bp-asm.h>.
7270         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
7271         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
7272         <bp-asm.h>.
7273         (__mpn_lshift): Don't use BP_SYM.
7274         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7275         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
7276         <bp-asm.h>.
7277         (memset): Don't use BP_SYM.
7278         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
7279         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
7280         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
7281         <bp-asm.h>.
7282         (__mpn_mul_1): Don't use BP_SYM.
7283         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7284         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
7285         <bp-sym.h> and <bp-asm.h>.
7286         (memcmp): Don't use BP_SYM.
7287         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
7288         <bp-sym.h> and <bp-asm.h>.
7289         (memcpy): Don't use BP_SYM.
7290         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
7291         <bp-sym.h> and <bp-asm.h>.
7292         (memset): Don't use BP_SYM.
7293         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
7294         <bp-sym.h> and <bp-asm.h>.
7295         (strncmp): Don't use BP_SYM.
7296         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
7297         <bp-sym.h> and <bp-asm.h>.
7298         (memcpy): Don't use BP_SYM.
7299         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
7300         <bp-sym.h> and <bp-asm.h>.
7301         (memset): Don't use BP_SYM.
7302         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
7303         <bp-sym.h> and <bp-asm.h>.
7304         (__memchr): Don't use BP_SYM.
7305         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
7306         <bp-sym.h> and <bp-asm.h>.
7307         (memcmp): Don't use BP_SYM.
7308         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
7309         <bp-sym.h> and <bp-asm.h>.
7310         (memcpy): Don't use BP_SYM.
7311         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
7312         <bp-sym.h> and <bp-asm.h>.
7313         (__mempcpy): Don't use BP_SYM.
7314         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
7315         <bp-sym.h> and <bp-asm.h>.
7316         (__memrchr): Don't use BP_SYM.
7317         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
7318         <bp-sym.h> and <bp-asm.h>.
7319         (memset): Don't use BP_SYM.
7320         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
7321         <bp-sym.h> and <bp-asm.h>.
7322         (__rawmemchr): Don't use BP_SYM.
7323         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
7324         <bp-sym.h> and <bp-asm.h>.
7325         (__STRCMP): Don't use BP_SYM.
7326         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
7327         <bp-sym.h> and <bp-asm.h>.
7328         (strchr): Don't use BP_SYM.
7329         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
7330         <bp-sym.h> and <bp-asm.h>.
7331         (__strchrnul): Don't use BP_SYM.
7332         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
7333         <bp-sym.h> and <bp-asm.h>.
7334         (strlen): Don't use BP_SYM.
7335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
7336         <bp-sym.h> and <bp-asm.h>.
7337         (strncmp): Don't use BP_SYM.
7338         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
7339         <bp-sym.h> and <bp-asm.h>.
7340         (__strnlen): Don't use BP_SYM.
7341         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
7342         <bp-asm.h>.
7343         (__mpn_rshift): Don't use BP_SYM.
7344         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7345         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
7346         <bp-sym.h> and <bp-asm.h>.
7347         (__sigsetjmp): Don't use BP_SYM.
7348         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
7349         (L(start_addresses)): Don't use BP_SYM.
7350         (_start): Likewise.
7351         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
7352         <bp-asm.h>.
7353         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
7354         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7355         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7356         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
7357         <bp-asm.h>.
7358         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
7359         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
7360         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
7361         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
7362         <bp-asm.h>.
7363         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7364         comments.
7365         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
7366         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
7367         <bp-asm.h>.
7368         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
7369         FIXME comments.
7370         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
7371         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
7372         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
7373         <bp-asm.h>.
7374         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
7375         comment.
7376         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
7377         and <bp-asm.h>.
7378         (strncmp): Don't use BP_SYM,
7379         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
7380         <bp-asm.h>.
7381         (__mpn_sub_n): Don't use BP_SYM.
7382         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7383         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
7384         and <bp-asm.h>.
7385         (__mpn_submul_1): Don't use BP_SYM.
7386         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
7388         <bp-sym.h> and <bp-asm.h>.
7389         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
7391         <bp-sym.h> and <bp-asm.h>.
7392         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
7393         comment.
7395 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7397         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
7398         Use ZK to minimize writes to Z.
7399         (sub_magnitudes): Simplify code a bit.
7400         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
7401         Use ZK to minimize writes to Z.
7402         (sub_magnitudes): Simplify code a bit.
7404 2013-02-27  Roland McGrath  <roland@hack.frob.com>
7406         * csu/gmon-start.c: Add special exception to license text.
7408 2013-02-27  Richard Henderson  <rth@redhat.com>
7410         * scripts/config.guess: Update from config.git.
7411         * scripts/config.sub: Likewise.
7413 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7415         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
7417         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
7419         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
7421         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
7423         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
7425 2013-02-26  Roland McGrath  <roland@hack.frob.com>
7427         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
7428         [$(build-shared = yes].
7430 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7432         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
7433         (__mul): Reduce iterations for calculating mantissa.
7435         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
7436         MPTWO.
7437         (__mpranred): Likewise.
7439         [BZ #15160]
7440         * malloc/memusagestat.c (main): Draw graphs for heap and stack
7441         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
7443 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
7445         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
7446         Define __attribute__.
7448 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
7450         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
7451         unused.
7452         * posix/regex_internal.h (__attribute): Remove.
7453         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
7454         (re_string_context_at): Likewise.
7455         (bitset_not): Use __attribute__ and mark function as possibly
7456         unused.
7457         (bitset_merge): Likewise.
7458         (bitset_mask): Likewise.
7459         (re_string_char_size_at): Likewise.
7460         (re_string_wchar_at): Likewise.
7461         (re_string_elem_size_at): Likewise.
7463 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7465         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
7466         code.
7467         (cc32): Likewise.
7469         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
7470         (__acr): Likewise.
7471         (__cpy): Likewise.
7472         (norm): Likewise.
7473         (denorm): Likewise.
7474         (__dbl_mp): Likewise.
7475         (add_magnitudes): Likewise.
7476         (sub_magnitudes): Likewise.
7477         (__mul): Likewise.
7478         (__inv): Likewise.
7480         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
7481         style.
7483         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
7484         style.
7486         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
7487         code.
7489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
7490         up changes with default code.
7491         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
7492         Likewise.
7494 2013-02-24  Allan McRae  <allan@archlinux.org>
7496         * manual/socket.texi (The Internet Namespace): Order menu items
7497         to match that in the file.
7499         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
7500         node listing of the info page menu.
7502 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
7504         [BZ #13550]
7505         * sysdeps/i386/bp-asm.h: Remove file.
7506         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7507         (PARMS): Do not use macros from bp-asm.h.
7508         (S1): Likewise.
7509         (S2): Likewise.
7510         (SIZE): Likewise.
7511         (__mpn_add_n): Do not use BP_SYM
7512         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
7513         "bp-asm.h".
7514         (PARMS): Do not use macros from bp-asm.h.
7515         (S1): Likewise.
7516         (SIZE): Likewise.
7517         (__mpn_addmul_1): Do not use BP_SYM
7518         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
7519         "bp-asm.h".
7520         (PARMS): Do not use macros from bp-asm.h.
7521         (SIGMSK): Likewise.
7522         (_setjmp): Likewise.  Do not use BP_SYM.
7523         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
7524         "bp-asm.h".
7525         (PARMS): Do not use macros from bp-asm.h.
7526         (SIGMSK): Likewise.
7527         (setjmp): Likewise.  Do not use BP_SYM.
7528         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
7529         "bp-asm.h".
7530         (PARMS): Do not use macros from bp-asm.h.
7531         (__frexp): Do not use BP_SYM.
7532         (frexp): Likewise.
7533         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
7534         "bp-asm.h".
7535         (PARMS): Do not use macros from bp-asm.h.
7536         (__frexpf): Do not use BP_SYM.
7537         (frexpf): Likewise.
7538         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
7539         "bp-asm.h".
7540         (PARMS): Do not use macros from bp-asm.h.
7541         (__frexpl): Do not use BP_SYM.
7542         (frexpl): Likewise.
7543         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
7544         "bp-asm.h".
7545         (PARMS): Do not use macros from bp-asm.h.
7546         (__remquo): Do not use BP_SYM.
7547         (remquo): Likewise.
7548         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
7549         "bp-asm.h".
7550         (PARMS): Do not use macros from bp-asm.h.
7551         (__remquof): Do not use BP_SYM.
7552         (remquof): Likewise.
7553         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
7554         "bp-asm.h".
7555         (PARMS): Do not use macros from bp-asm.h.
7556         (__remquol): Do not use BP_SYM.
7557         (remquol): Likewise.
7558         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
7559         "bp-asm.h".
7560         (PARMS): Do not use macros from bp-asm.h.
7561         (DEST): Likewise.
7562         (SRC): Likewise.
7563         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
7564         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
7565         "bp-asm.h".
7566         (PARMS): Do not use macros from bp-asm.h.
7567         (strlen): Do not use BP_SYM.
7568         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
7569         "bp-asm.h".
7570         (PARMS): Do not use macros from bp-asm.h.
7571         (S1): Likewise.
7572         (S2): Likewise.
7573         (SIZE): Likewise.
7574         (__mpn_add_n): Do not use BP_SYM.
7575         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
7576         "bp-asm.h".
7577         (PARMS): Do not use macros from bp-asm.h.
7578         (S1): Likewise.
7579         (SIZE): Likewise.
7580         (__mpn_addmul_1): Do not use BP_SYM.
7581         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
7582         weak_alias.
7583         (bzero): Likewise.
7584         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
7585         "bp-asm.h".
7586         (PARMS): Do not use macros from bp-asm.h.
7587         (S): Likewise.
7588         (SIZE): Likewise.
7589         (__mpn_lshift): Do not use BP_SYM.
7590         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
7591         "bp-asm.h".
7592         (PARMS): Do not use macros from bp-asm.h.
7593         (DEST): Likewise.
7594         (SRC): Likewise.
7595         (LEN): Likewise.
7596         (memcpy): Likewise.  Do not use BP_SYM.
7597         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
7598         libc_hidden_def and weak_alias.
7599         (mempcpy): Do not use BP_SYM in weak_alias.
7600         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
7601         "bp-asm.h".
7602         (PARMS): Do not use macros from bp-asm.h.
7603         (DEST): Likewise.
7604         (LEN): Likewise.
7605         [!BZERO_P] (CHR): Likewise.
7606         (memset): Likewise.  Do not use BP_SYM.
7607         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
7608         "bp-asm.h".
7609         (PARMS): Do not use macros from bp-asm.h.
7610         (S1): Likewise.
7611         (SIZE): Likewise.
7612         (__mpn_mul_1): Do not use BP_SYM.
7613         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
7614         "bp-asm.h".
7615         (PARMS): Do not use macros from bp-asm.h.
7616         (S): Likewise.
7617         (SIZE): Likewise.
7618         (__mpn_rshift): Do not use BP_SYM.
7619         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
7620         "bp-asm.h".
7621         (PARMS): Do not use macros from bp-asm.h.
7622         (STR): Likewise.
7623         (CHR): Likewise.
7624         (strchr): Likewise.  Do not use BP_SYM.
7625         (index): Do not use BP_SYM in weak_alias.
7626         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
7627         "bp-asm.h".
7628         (PARMS): Do not use macros from bp-asm.h.
7629         (DEST): Likewise.
7630         (SRC): Likewise.
7631         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
7632         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
7633         "bp-asm.h".
7634         (PARMS): Do not use macros from bp-asm.h.
7635         (strlen): Do not use BP_SYM.
7636         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
7637         "bp-asm.h".
7638         (PARMS): Do not use macros from bp-asm.h.
7639         (S1): Likewise.
7640         (S2): Likewise.
7641         (SIZE): Likewise.
7642         (__mpn_sub_n): Do not use BP_SYM.
7643         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
7644         "bp-asm.h".
7645         (PARMS): Do not use macros from bp-asm.h.
7646         (S1): Likewise.
7647         (SIZE): Likewise.
7648         (__mpn_submul_1): Do not use BP_SYM.
7649         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
7650         "bp-asm.h".
7651         (PARMS): Do not use macros from bp-asm.h.
7652         (S1): Likewise.
7653         (S2): Likewise.
7654         (SIZE): Likewise.
7655         (__mpn_add_n): Do not use BP_SYM.
7656         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
7657         weak_alias.
7658         (bzero): Likewise.
7659         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
7660         "bp-asm.h".
7661         (PARMS): Do not use macros from bp-asm.h.
7662         (BLK2): Likewise.
7663         (LEN): Likewise.
7664         (memcmp): Do not use BP_SYM.
7665         (bcmp): Do not use BP_SYM in weak_alias.
7666         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
7667         "bp-asm.h".
7668         (PARMS): Do not use macros from bp-asm.h.
7669         (DEST): Likewise.
7670         (SRC): Likewise.
7671         (LEN): Likewise.
7672         (memcpy): Likewise.  Do not use BP_SYM.
7673         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
7674         "bp-asm.h".
7675         (PARMS): Do not use macros from bp-asm.h.
7676         (DEST): Likewise.
7677         (SRC): Likewise.
7678         (LEN): Likewise.
7679         (memmove): Likewise.  Do not use BP_SYM.
7680         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
7681         "bp-asm.h".
7682         (PARMS): Do not use macros from bp-asm.h.
7683         (DEST): Likewise.
7684         (SRC): Likewise.
7685         (LEN): Likewise.
7686         (__mempcpy): Likewise.  Do not use BP_SYM.
7687         (mempcpy): Do not use BP_SYM in weak_alias.
7688         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
7689         "bp-asm.h".
7690         (PARMS): Do not use macros from bp-asm.h.
7691         (DEST): Likewise.
7692         (LEN): Likewise.
7693         [!BZERO_P] (CHR): Likewise.
7694         (memset): Likewise.  Do not use BP_SYM.
7695         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
7696         "bp-asm.h".
7697         (PARMS): Do not use macros from bp-asm.h.
7698         (STR2): Likewise.
7699         (strcmp): Do not use BP_SYM.
7700         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
7701         "bp-asm.h".
7702         (PARMS): Do not use macros from bp-asm.h.
7703         (STR): Likewise.
7704         (DELIM): Likewise.
7705         [USE_AS_STRTOK_R] (SAVE): Likewise.
7706         (FUNCTION): Likewise.  Do not use BP_SYM.
7707         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
7708         aliases.
7709         (strtok_r): Likewise.
7710         (__GI___strtok_r): Likewise.
7711         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7712         (PARMS): Do not use macros from bp-asm.h.
7713         (S): Likewise.
7714         (SIZE): Likewise.
7715         (__mpn_lshift): Do not use BP_SYM.
7716         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7717         (PARMS): Do not use macros from bp-asm.h.
7718         (STR): Likewise.
7719         (CHR): Likewise.
7720         (__memchr): Do not use BP_SYM.
7721         (memchr): Do not use BP_SYM in weak_alias.
7722         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7723         (PARMS): Do not use macros from bp-asm.h.
7724         (BLK2): Likewise.
7725         (LEN): Likewise.
7726         (memcmp): Do not use BP_SYM.
7727         (bcmp): Do not use BP_SYM in weak_alias.
7728         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
7729         (PARMS): Do not use macros from bp-asm.h.
7730         (S1): Likewise.
7731         (SIZE): Likewise.
7732         (__mpn_mul_1): Do not use BP_SYM.
7733         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
7734         "bp-asm.h".
7735         (PARMS): Do not use macros from bp-asm.h.
7736         (STR): Likewise.
7737         (CHR): Likewise.
7738         (__rawmemchr): Do not use BP_SYM.
7739         (rawmemchr): Do not use BP_SYM in weak_alias.
7740         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
7741         (PARMS): Do not use macros from bp-asm.h.
7742         (S): Likewise.
7743         (SIZE): Likewise.
7744         (__mpn_rshift): Do not use BP_SYM.
7745         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
7746         (PARMS): Do not use macros from bp-asm.h.
7747         (SIGMSK): Likewise.
7748         (__sigsetjmp): Likewise.  Do not use BP_SYM.
7749         * sysdeps/i386/start.S: Do not include "bp-sym.h".
7750         (_start): Do not use BP_SYM.
7751         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
7752         (PARMS): Do not use macros from bp-asm.h.
7753         (DEST): Likewise.
7754         (SRC): Likewise.
7755         (__stpcpy): Likewise.  Do not use BP_SYM.
7756         (stpcpy): Do not use BP_SYM in weak_alias.
7757         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
7758         "bp-asm.h".
7759         (PARMS): Do not use macros from bp-asm.h.
7760         (DEST): Likewise.
7761         (SRC): Likewise.
7762         (LEN): Likewise.
7763         (__stpncpy): Likewise.  Do not use BP_SYM.
7764         (stpncpy): Do not use BP_SYM in weak_alias.
7765         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
7766         (PARMS): Do not use macros from bp-asm.h.
7767         (STR): Likewise.
7768         (CHR): Likewise.
7769         (strchr): Likewise.  Do not use BP_SYM.
7770         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
7771         "bp-asm.h".
7772         (PARMS): Do not use macros from bp-asm.h.
7773         (STR): Likewise.
7774         (CHR): Likewise.
7775         (__strchrnul): Likewise.  Do not use BP_SYM.
7776         (strchrnul): Do not use BP_SYM in weak_alias.
7777         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
7778         "bp-asm.h".
7779         (PARMS): Do not use macros from bp-asm.h.
7780         (STOP): Likewise.
7781         (strcspn): Do not use BP_SYM.
7782         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
7783         "bp-asm.h".
7784         (PARMS): Do not use macros from bp-asm.h.
7785         (STR): Likewise.
7786         (STOP): Likewise.
7787         (strpbrk): Likewise.  Do not use BP_SYM.
7788         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
7789         "bp-asm.h".
7790         (PARMS): Do not use macros from bp-asm.h.
7791         (STR): Likewise.
7792         (CHR): Likewise.
7793         (strrchr): Likewise.  Do not use BP_SYM.
7794         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
7795         (PARMS): Do not use macros from bp-asm.h.
7796         (SKIP): Likewise.
7797         (strspn): Do not use BP_SYM.
7798         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
7799         (PARMS): Do not use macros from bp-asm.h.
7800         (STR): Likewise.
7801         (DELIM): Likewise.
7802         (SAVE): Likewise.
7803         (FUNCTION): Likewise.  Do not use BP_SYM.
7804         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
7805         aliases.
7806         (strtok_r): Likewise.
7807         (__GI___strtok_r): Likewise.
7808         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
7809         (PARMS): Do not use macros from bp-asm.h.
7810         (S1): Likewise.
7811         (S2): Likewise.
7812         (SIZE): Likewise.
7813         (__mpn_sub_n): Do not use BP_SYM.
7814         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
7815         "bp-asm.h".
7816         (PARMS): Do not use macros from bp-asm.h.
7817         (S1): Likewise.
7818         (SIZE): Likewise.
7819         (__mpn_submul_1): Do not use BP_SYM.
7820         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
7821         <bp-sym.h>.
7822         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
7823         and <bp-asm.h>.
7824         (PARMS): Do not use macros from bp-asm.h.
7825         (FLAGS): Likewise.
7826         (PTID): Likewise.
7827         (TLS): Likewise.
7828         (CTID): Likewise.
7829         (__clone): Do not use BP_SYM.
7830         (clone): Do not use BP_SYM in weak_alias.
7831         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
7832         and <bp-asm.h>.
7833         (PARMS): Do not use macros from bp-asm.h.
7834         (LEN): Likewise.
7835         (__mmap64): Do not use BP_SYM.
7836         (mmap64): Do not use BP_SYM in weak_alias.
7837         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
7838         <bp-sym.h> and <bp-asm.h>.
7839         (PARMS): Do not use macros from bp-asm.h.
7840         (__posix_fadvise64_l64): Do not use BP_SYM.
7841         * sysdeps/unix/sysv/linux/i386/semtimedop.S
7842         (PARMS): Do not use macros from bp-asm.h.
7843         (NSOPS): Likewise.
7844         (semtimedop): Do not use BP_SYM.
7845         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
7846         and <bp-asm.h>.
7848 2013-02-21  Allan McRae  <allan@archlinux.org>
7850         * manual/message.texi (Charset conversion in gettext):
7851         Move @end statement to beginning of line.
7853 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7855         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
7856         static.
7857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7858         Likewise.
7860         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
7861         (denorm): Likewise.
7862         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
7863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
7865 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7867         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
7868         tail-call to the resolved function if pltexit isn't needed.
7870 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
7873         or Y being zero as being unlikely.
7874         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7875         Likewise.
7877 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
7879         * manual/nss.texi (System Databases and Name Service Switch):
7880         Remove frobnicate @pxref.
7882 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7884         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7885         __attribute__ ((unused)) to __attribute__ ((__unused__)).
7887 2013-02-20  Petr Machata  <pmachata@redhat.com>
7889         * elf/elf.h (R_ARM_TARGET1): New macro.
7890         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
7891         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
7892         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
7893         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
7894         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
7895         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
7896         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
7897         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
7898         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
7899         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
7900         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
7901         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
7902         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
7903         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
7904         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
7905         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
7906         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
7907         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
7908         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
7909         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
7910         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
7911         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
7912         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
7913         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
7914         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
7915         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
7916         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
7917         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
7918         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
7919         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
7920         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
7921         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
7922         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
7923         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
7924         (R_ARM_THM_GOT_BREL12): Likewise.
7925         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
7926         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
7927         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
7928         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
7929         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
7930         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
7931         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
7932         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
7933         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
7935 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
7937         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
7938         __attribute_used__ to __attribute__ ((unused)).
7940 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7942         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
7943         powerpc mpa.c.
7944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
7945         comment formatting.
7946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
7948 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
7950         [BZ #13550]
7951         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
7952         Remove macro.
7953         (ENTER): Remove both macro definitions.
7954         (LEAVE): Likewise.
7955         (CHECK_BOUNDS_LOW): Likewise.
7956         (CHECK_BOUNDS_HIGH): Likewise.
7957         (CHECK_BOUNDS_BOTH): Likewise.
7958         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
7959         (RETURN_BOUNDED_POINTER): Likewise.
7960         (RETURN_NULL_BOUNDED_POINTER): Likewise.
7961         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
7962         (POP_ERRNO_LOCATION_RETURN): Likewise.
7963         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
7964         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7965         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
7966         macros.
7967         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7968         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
7969         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
7970         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
7971         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
7972         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
7973         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
7974         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
7975         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
7976         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
7977         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
7978         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
7979         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7980         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
7981         removed macros.
7982         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7983         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
7984         macros.
7985         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7986         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
7987         * sysdeps/i386/i586/memset.S (memset): Likewise.
7988         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
7989         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
7990         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
7991         macros.
7992         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
7993         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
7994         Change uses of L(2) to L(out).
7995         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
7996         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
7997         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
7998         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
7999         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
8000         removed macros.
8001         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8002         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
8003         macros.
8004         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8005         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
8006         (RETURN): Do not use macro LEAVE.
8007         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
8008         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
8009         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
8010         * sysdeps/i386/i686/memset.S (memset): Likewise.
8011         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
8012         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
8013         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8014         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
8015         Likewise.
8016         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8017         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
8018         L(1_2) and L(1_3) into L(1).
8019         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8020         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
8021         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8022         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
8023         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8024         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
8025         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
8026         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8027         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
8028         macros.
8029         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
8030         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8031         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
8032         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
8033         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
8034         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8035         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
8036         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
8037         * sysdeps/i386/strcspn.S (strcspn): Likewise.
8038         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
8039         * sysdeps/i386/strrchr.S (strrchr): Likewise.
8040         * sysdeps/i386/strspn.S (strspn): Likewise.
8041         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
8042         conditional code.
8043         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8044         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
8045         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
8046         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
8047         L(1_3) into L(1_1).
8048         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
8049         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8050         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
8051         macros.
8052         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8054 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
8056         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
8057         macro.
8059 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8061         * math/atest-exp.c (exp_mpn): Remove ROUND.
8062         * math/atest-exp2.c (exp_mpn): Likewise.
8063         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
8065         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
8066         * stdlib/tst-tls-atexit-lib.c: Likewise.
8067         * stdlib/tst-tls-atexit.c: Likewise.
8069 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8071         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
8072         and __attribute_alloc_size__.
8074 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8076         * include/programs/xmalloc.h: Change __attribute_alloc_size to
8077         __attribute_alloc_size__.
8078         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
8079         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
8081 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
8083         * include/programs/xmalloc.h: New file.
8084         * catgets/gencat.c: Include it.
8085         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
8086         * elf/pldd.c: Likewise.
8087         * iconv/iconv_charmap.c: Likewise.
8088         * iconv/iconvconfig.c: Likewise.
8089         * iconv/strtab.c: Likewise.
8090         * locale/programs/locale.c: Likewise.
8091         * locale/programs/localedef.h: Likewise.
8092         * locale/programs/simple-hash.c: Likewise.
8093         * nscd/nscd.h: Likewise.
8094         * nss/makedb.c: Likewise.
8095         * sysdeps/generic/ldconfig.h: Likewise.
8097 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8099         * Versions.def: Add GLIBC_2.18.
8100         * include/link.h (struct link_map): New member l_tls_dtor_count.
8101         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
8102         (__call_tls_dtors): Likewise.
8103         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
8104         __cxa_thread_atexit_impl.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8106         Likewise.
8107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8108         Likewise.
8109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8110         Likewise.
8111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8112         Likewise.
8113         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
8114         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
8115         Likewise.
8116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
8117         Likewise.
8118         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
8119         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8120         Likewise.
8121         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
8122         (tests): Add test case tst-tls-atexit.
8123         (modules-names): Add shared library for tst-tls-atexit.
8124         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
8125         (GLIBC_PRIVATE): Add __call_tls_dtors.
8126         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
8127         for libstdc++.
8128         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
8129         * stdlib/tst-tls-atexit.c: New test case.
8130         * stdlib/tst-tls-atexit-lib.c: New test case.
8132         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
8134         * elf/Versions (ld): Add _dl_find_dso_for_object.
8135         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
8136         * elf/dl-open.c (_dl_find_dso_for_object): New function.
8137         (dl_open_worker): Use _dl_find_dso_for_object.
8138         * elf/dl-sym.c (do_sym): Likewise.
8139         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
8141 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8143         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
8144         Syntactic changes only.
8145         (_dl_runtime_profile): Do a tail-call to the resolved function.
8147 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
8149         [BZ #13550]
8150         * sysdeps/x86_64/bp-asm.h: Remove file.
8151         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
8152         <bp-sym.h> and <bp-asm.h>.
8153         (__clone): Do not use BP_SYM.
8154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
8155         <bp-sym.h> and <bp-asm.h>.
8156         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8157         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
8158         "bp-asm.h".
8159         (_setjmp): Do not use BP_SYM.
8160         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
8161         "bp-asm.h".
8162         (setjmp): Do not use BP_SYM.
8163         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
8164         libc_hidden_def.
8165         (mempcpy): Do not use BP_SYM in weak_alias.
8166         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
8167         "bp-asm.h".
8168         (strchr): Do not use BP_SYM.
8169         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
8170         "bp-asm.h".
8171         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
8172         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
8173         (_start): Do not use BP_SYM.
8174         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
8175         "bp-asm.h".
8176         (strcat): Do not use BP_SYM.
8177         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
8178         "bp-asm.h".
8179         (STRCMP): Do not use BP_SYM.
8180         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
8181         "bp-asm.h".
8182         (STRCPY): Do not use BP_SYM.
8183         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
8184         "bp-asm.h".
8185         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
8186         "bp-asm.h".
8187         (FUNCTION): Do not use BP_SYM.
8188         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
8189         weak_alias.
8190         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
8192 2013-02-17  Andreas Jaeger  <aj@suse.de>
8194         * time/Versions: Sort entries.
8195         * string/Versions: Likewise.
8196         * resolv/Versions: Likewise.
8197         * posix/Versions: Likewise.
8198         * iconv/Versions: Likewise.
8199         * elf/Versions: Likewise.
8200         * wcsmbs/Versions: Likewise.
8202 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8204         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
8205         loop termination condition.
8207         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
8208         variable to calculate EZ.
8209         (__sqr): Likewise.
8211         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
8212         the lower precision input.
8214 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
8216         [BZ #13550]
8217         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
8218         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
8219         (run-via-rtld-prefix): Do not handle %-bp tests.
8220         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
8221         (all-object-suffixes): Remove .ob.
8222         (bppfx): Remove variable.
8223         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
8224         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
8225         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
8226         [$(build-bounded) = yes] (libtype.ob): Likewise.
8227         * Makerules (elide-routines.ob): Remove variable.
8228         (do-tests-clean): Do not handle *-bp.out.
8229         (common-mostlyclean): Do not handle *-bp and *-bp.out.
8230         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
8231         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
8232         (tests): Do not include $(tests-bp.out).
8233         (xtests): Do not include $(xtests-bp.out).
8234         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
8235         [$(build-bounded) = yes] ($(addprefix
8236         $(objpfx),$(binaries-bounded))): Remove rule.
8237         ($(objpfx)%-bp.out): Remove rule.
8238         * config.make.in (build-bounded): Remove variable.
8239         * crypt/Makefile [$(build-bounded) = yes]
8240         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
8241         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
8242         append to variable.
8243         [$(build-bounded) = yes] (install-lib): Likewise.
8244         [$(build-bounded) = yes] (generated): Likewise.
8245         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
8246         Remove rule.
8247         * intl/Makefile [$(build-bounded) = yes]
8248         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
8249         * math/Makefile [$(build-bounded) = yes]
8250         ($(tests:%=$(objpfx)%-bp): Likewise.
8251         * misc/Makefile [$(build-bounded) = yes]
8252         ($(objpfx)tst-tsearch-bp): Likewise.
8253         * nptl/Makeconfig (bounded-thread-library): Remove variable.
8254         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
8255         Remove dependency.
8256         * string/Makefile (o-objects.ob): Remove variable.
8257         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
8258         (CFLAGS-.ob): Remove variable.
8259         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
8260         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
8261         both definitions of variable.
8262         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
8263         (ASFLAGS-.ob): Remove variable.
8265 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
8267         [BZ #13550]
8268         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
8269         Remove __BOUNDED_POINTERS__ from condition.
8270         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
8271         * string/bits/string2.h [!__NO_STRING_INLINES &&
8272         !__BOUNDED_POINTERS__]: Likewise.
8273         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
8274         Likewise.
8275         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
8276         Remove conditional code.
8277         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
8278         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
8279         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
8280         condition.
8282         [BZ #13550]
8283         * csu/libc-start.c: Do not include <bp-sym.h>.
8284         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
8285         * elf/dl-open.c: Do not include <bp-sym.h>.
8286         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
8287         * math/fegetenv.c: Do not include <bp-sym.h>.
8288         (fegetenv): Do not use BP_SYM in versioned symbols.
8289         * nptl/sysdeps/pthread/bits/libc-lockP.h
8290         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
8291         <bp-sym.h>.
8292         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8293         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
8294         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8295         (__pthread_mutex_destroy): Likewise.
8296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8297         (__pthread_mutex_lock): Likewise.
8298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8299         (__pthread_mutex_trylock): Likewise.
8300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8301         (__pthread_mutex_unlock): Likewise.
8302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8303         (__pthread_mutexattr_init): Likewise.
8304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8305         (__pthread_mutexattr_destroy): Likewise.
8306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8307         (__pthread_mutexattr_settype): Likewise.
8308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8309         (__pthread_rwlock_init): Likewise.
8310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8311         (__pthread_rwlock_destroy): Likewise.
8312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8313         (__pthread_rwlock_rdlock): Likewise.
8314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8315         (__pthread_rwlock_tryrdlock): Likewise.
8316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8317         (__pthread_rwlock_wrlock): Likewise.
8318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8319         (__pthread_rwlock_trywrlock): Likewise.
8320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8321         (__pthread_rwlock_unlock): Likewise.
8322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8323         (__pthread_key_create): Likewise.
8324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8325         (__pthread_setspecific): Likewise.
8326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8327         (__pthread_getspecific): Likewise.
8328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
8329         Likewise.
8330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8331         (_pthread_cleanup_push_defer): Likewise.
8332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8333         (_pthread_cleanup_pop_restore): Likewise.
8334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
8335         (pthread_setcancelstate): Likewise.
8336         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
8337         <bp-sym.h>.
8338         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
8339         (memchr): Do not use BP_SYM in weak_alias.
8340         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
8341         (fegetenv): Do not use BP_SYM in versioned symbols.
8342         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
8343         (fesetenv): Do not use BP_SYM in versioned symbols.
8344         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8345         (feupdateenv): Do not use BP_SYM in versioned symbols.
8346         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8347         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8348         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
8349         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
8350         (open64): Do not use BP_SYM in weak_alias.
8351         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
8352         (fegetenv): Do not use BP_SYM in versioned symbols.
8353         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
8354         (fesetenv): Do not use BP_SYM in versioned symbols.
8355         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
8356         (feupdateenv): Do not use BP_SYM in versioned symbols.
8357         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
8358         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
8359         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
8360         (feraiseexcept): Do not use BP_SYM in versioned symbols.
8361         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
8362         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
8363         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
8364         <bp-sym.h>.
8365         (__libc_start_main): Do not use BP_SYM.
8367 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
8369         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
8370         redundant return line.
8371         (norm): Likewise.
8372         (denorm): Likewise.
8373         (dbl_mp): Likewise.
8374         (sub_magnitudes): Likewise.
8375         (__add): Likewise.
8376         (__sub): Likewise.
8377         (__mul): Likewise.
8378         (__inv): Likewise.
8379         (__dvd): Likewise.
8380         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
8381         (norm): Likewise.
8382         (denorm): Likewise.
8383         (dbl_mp): Likewise.
8384         (sub_magnitudes): Likewise.
8385         (__add): Likewise.
8386         (__sub): Likewise.
8387         (__mul): Likewise.
8388         (__inv): Likewise.
8389         (__dvd): Likewise.
8391         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
8392         instead of __mul.
8393         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8394         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
8395         (cc32): Likewise.
8397         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
8398         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
8399         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
8400         of __mul for squares.
8401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
8402         function
8403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
8404         Likewise.
8405         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
8406         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8408 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
8410         [BZ #13550]
8411         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
8412         code.
8413         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
8414         prototype or function definition.  Rename ubp_* variables and
8415         parameters.  Remove argv definitions conditional on
8416         [__BOUNDED_POINTERS__].
8417         * debug/backtrace.c (__backtrace): Do not use __unbounded.
8418         * elf/dl-runtime.c (_dl_fixup): Likewise.
8419         * include/set-hooks.h (RUN_HOOK): Likewise.
8420         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
8421         definition.
8422         * string/strcpy.c (strcpy): Do not use __unbounded.
8423         * sysdeps/generic/frame.h (struct layout): Likewise.
8424         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
8425         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
8426         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
8427         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
8428         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
8429         (__backtrace): Likewise.
8430         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
8431         use __ptrvalue.
8432         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8433         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8434         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
8435         Likewise.
8436         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
8437         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
8438         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8439         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8440         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
8441         Do not use __unbounded.
8442         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
8443         Rename __unboundedrlimits parameter to rlimits in prototype.
8444         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
8445         Do not use __unbounded.
8446         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
8447         not use __ptrvalue.
8448         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8449         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
8450         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8451         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
8452         __ptrvalue or __unbounded.
8453         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
8454         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
8455         use __unbounded.
8456         (__new_msgctl): Do not use __ptrvalue.
8457         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
8458         __unbounded.
8459         (__libc_msgrcv): Do not use __ptrvalue.
8460         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
8461         startup_info): Do not use __unbounded.
8462         (__libc_start_main): Likewise.  Rename ubp_* variables and
8463         parameters.  Remove argv definitions conditional on
8464         [__BOUNDED_POINTERS__].
8465         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
8466         __ptrvalue.
8467         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
8468         use __unbounded.
8469         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
8470         or __ptrvalue.
8471         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
8472         use __unbounded.
8473         (__new_shmctl): Do not use __ptrvalue.
8474         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
8475         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
8476         Likewise.
8477         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
8478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
8479         (__libc_sigaction): Likewise.
8480         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
8481         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
8482         Likewise.
8483         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8485 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
8487         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
8489         * string/mempcpy.c: Implement by calling memcpy.
8491 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8493         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
8495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
8496         evaluation.
8498         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
8499         values in the mantissa.
8501         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
8502         minimize writes to Z.
8503         (sub_magnitudes): Simplify code a bit.
8505 2013-02-12  Roland McGrath  <roland@hack.frob.com>
8507         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
8508         from the message.  The linker prefixes all warnings with that already.
8510 2013-02-12  Andreas Schwab  <schwab@suse.de>
8512         [BZ #15078]
8513         * posix/regexec.c (extend_buffers): Add parameter min_len.
8514         (check_matching): Pass minimum needed length.
8515         (clean_state_log_if_needed): Likewise.
8516         (get_subexp): Likewise.
8517         * posix/Makefile (tests): Add bug-regex34.
8518         (bug-regex34-ENV): Define.
8519         * posix/bug-regex34.c: New file.
8521         [BZ #11561]
8522         * posix/regcomp.c (parse_bracket_exp): When looking up collating
8523         elements compare against the byte sequence of it, not its name.
8524         * posix/Makefile (tests): Add bug-regex35.
8525         (bug-regex35-ENV): Define.
8526         * posix/bug-regex35.c: New file.
8528 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8530         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
8531         comment.
8532         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
8533         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
8534         (CHECK_EOL): Add undef.
8536 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
8538         * bits/stdlib-bsearch.h: New file.
8539         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
8540         * stdlib/stdlib.h: Likewise.
8542 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8544         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
8545         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
8546         declaration.
8547         * manual/search.texi (Array Search Function): Add missing const in
8548         lfind prototype.
8549         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
8550         declaration to use rlim_t.
8551         (Basic Scheduling Functions): Remove erroneous const from
8552         sched_getparam prototype.  Remove erroneous * from
8553         sched_get_priority_max and sched_get_priority_min prototypes.
8554         (Resource Usage): Fix summary @comment on vtimes to refer to
8555         sys/vtimes.h rather than vtimes.h.
8556         Add missing *s in vtimes prototype.
8557         (Limits on Resources): Fix ulimit prototype to return long int.
8558         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
8559         prototypes to use long int rather than double.
8560         (BSD Random): Fix initstate and setstate to use char *, not void *.
8561         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
8562         prototype to make second argument 'struct aiocb64 *const[]'.
8563         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
8564         (Status of AIO Operations): Remove erroneous const in aio_return and
8565         aio_return64 prototypes.
8566         (Synchronizing I/O): Fix sync prototype to return void.
8567         * manual/startup.texi (Suboptions): Remove an erroneous const in
8568         getsubopt prototype.
8569         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
8570         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
8571         use size_t rather than int.
8572         (Scanning All Users): Likewise for getpwent_r.
8573         (Setting Groups): Add missing const to setgroups prototype.
8574         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
8575         * manual/socket.texi (Host Names): Fix gethostbyaddr and
8576         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
8577         'const void *' rather than 'const char *'.
8578         (Host Address Functions): Likewise for inet_ntop.
8579         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
8580         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
8581         ssize_t for return value.
8582         (Sending Data): Likewise for send, sendto, sendmsg.
8583         (Socket Option Functions): Add a missing const in setsockopt prototype.
8584         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
8585         use wchar_t for the argument.
8586         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
8587         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
8588         take no arguments.
8589         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
8590         double/float/long double for second argument.
8591         Fix return types of significand, significandf, significandl.
8592         * manual/filesys.texi (Setting Permissions): Use mode_t for second
8593         argument in fchmod prototype.
8594         (File Owner): Use uid_t and gid_t in fchown prototype.
8595         (File Times): Add const to utimes, futimes, and lutimes prototypes.
8596         (Making Special Files): Use mode_t and dev_t in mknod prototype.
8597         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
8598         use 'const struct dirent **' as argument types to CMP function pointer
8599         argument.
8600         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
8601         (File Times): Fix summary magic @comment for struct utimbuf and utime
8602         to refer to utime.h, not time.h.
8603         * manual/string.texi (Argz Functions): Add missing const in
8604         argz_extract and argz_next prototypes.
8605         (Finding Tokens in a String): Likewise for basename.
8606         (String/Array Comparison): Fix typo in wcscasecmp prototype.
8607         (Copying and Concatenation): Fix typo in wmemmove prototype.
8608         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
8609         (Signal Stack): Remove erroneous const in sigstack prototype.
8610         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
8611         prototype.
8612         (Simple Calendar Time): Likewise for stime.
8613         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
8614         prototype.
8615         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
8616         say sys/sysctl.h instead.
8617         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
8618         and vsyslog prototypes.
8620 2013-02-11  Tom de Vries  <tom@codesourcery.com>
8622         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
8623         Remove.
8625 2013-02-11  Roland McGrath  <roland@hack.frob.com>
8627         * misc/sys/mman.h: Fix typo in mremap comment.
8629 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8631         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
8632         the '\0' terminator.
8634 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8636         [BZ #13550]
8637         * debug/segfault.c: Don't include <bp-checks.h>.
8638         * sysdeps/generic/bp-checks.h: Remove file.
8639         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
8640         (__GETDENTS): Don't use CHECK_N.
8641         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
8642         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8643         (__getgroups): Don't use CHECK_N.
8644         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
8645         (setgroups): Don't use CHECK_N.
8646         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
8647         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
8648         (__libc_msgrcv): Don't use CHECK_N.
8649         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
8650         (__libc_msgsnd): Don't use CHECK_N.
8651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
8652         <bp-checks.h>.
8653         (__libc_pread): Don't use CHECK_N.
8654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
8655         include <bp-checks.h>.
8656         (__libc_pread64): Don't use CHECK_N.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
8658         include <bp-checks.h>.
8659         (__libc_pwrite): Don't use CHECK_N.
8660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
8661         include <bp-checks.h>.
8662         (__libc_pwrite64): Don't use CHECK_N.
8663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
8664         <bp-checks.h>.
8665         (__libc_pread): Don't use CHECK_N.
8666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
8667         include <bp-checks.h>.
8668         (__libc_pread64): Don't use CHECK_N.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
8670         include <bp-checks.h>.
8671         (__libc_pwrite): Don't use CHECK_N.
8672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
8673         include <bp-checks.h>.
8674         (__libc_pwrite64): Don't use CHECK_N.
8675         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
8676         (do_pread): Don't use CHECK_N.
8677         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
8678         (do_pread64): Don't use CHECK_N.
8679         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
8680         (do_pwrite): Don't use CHECK_N.
8681         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
8682         (do_pwrite64): Don't use CHECK_N.
8683         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
8684         (__libc_readv): Don't use CHECK_N.
8685         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
8686         (semop): Don't use CHECK_N.
8687         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
8688         <bp-checks.h>.
8689         (semtimedop): Don't use CHECK_N.
8690         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
8691         (__libc_pread): Don't use CHECK_N.
8692         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
8693         <bp-checks.h>.
8694         (__libc_pread64): Don't use CHECK_N.
8695         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
8696         <bp-checks.h>.
8697         (__libc_pwrite): Don't use CHECK_N.
8698         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
8699         <bp-checks.h>.
8700         (__libc_pwrite64): Don't use CHECK_N.
8701         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
8702         <bp-checks.h>.
8703         (__libc_msgrcv): Don't use CHECK_N.
8704         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
8705         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
8706         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
8707         (__libc_writev): Don't use CHECK_N.
8709 2013-02-08  Roland McGrath  <roland@hack.frob.com>
8711         * string/strcpy.c: Removed unused variable.
8713         * Makeconfig (+sysdep-includes): Define with := rather than =.
8714         Use an existing include/ subdir of each sysdeps dir before it.
8716 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8718         * nscd/connection.c (register_traced_file): Comment function.
8719         [HAVE_INOTIFY] (union __inev): Define.
8720         [HAVE_INOTIFY] (inotify_check_files): New function.
8721         [HAVE_INOTIFY] (clear_db_cache): Likewise.
8722         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
8723         clear_db_cache.
8724         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
8726 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8728         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
8729         loaded if not already and that a failure is permanent.
8731 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
8733         [BZ #15006]
8734         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
8735         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
8737 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
8739         [BZ #13550]
8740         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
8741         (CHECK_1_NULL_OK): Likewise.
8742         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
8743         (__fxstat): Do not use CHECK_1.
8744         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
8745         <bp-checks.h>.
8746         (___fxstat64): Do not use CHECK_1.
8747         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8748         <bp-checks.h>.
8749         (__fxstatat): Do not use CHECK_1.
8750         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8751         <bp-checks.h>.
8752         (__fxstatat64): Do not use CHECK_1.
8753         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
8754         <bp-checks.h>.
8755         (__fxstat): Do not use CHECK_1.
8756         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8757         <bp-checks.h>.
8758         (__fxstatat): Do not use CHECK_1.
8759         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8760         <bp-checks.h>.
8761         (__getresgid): Do not use CHECK_1.
8762         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8763         <bp-checks.h>.
8764         (__getresuid): Do not use CHECK_1.
8765         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
8766         <bp-checks.h>.
8767         (__lxstat): Do not use CHECK_1.
8768         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8769         <bp-checks.h>.
8770         (__old_msgctl): Do not use CHECK_1.
8771         (__new_msgctl): Likewise.
8772         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
8773         <bp-checks.h>.
8774         (__new_setrlimit): Do not use CHECK_1.
8775         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8776         <bp-checks.h>.
8777         (__old_shmctl): Do not use CHECK_1.
8778         (__new_shmctl): Likewise.
8779         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
8780         <bp-checks.h>.
8781         (__xstat): Do not use CHECK_1.
8782         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
8783         (__lxstat): Do not use CHECK_1.
8784         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
8785         <bp-checks.h>.
8786         (___lxstat64): Do not use CHECK_1.
8787         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
8788         (__old_msgctl): Do not use CHECK_1.
8789         (__new_msgctl): Likewise.
8790         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
8791         <bp-checks.h>.
8792         (__gettimeofday): Do not use CHECK_1.
8793         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
8794         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
8795         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
8796         <bp-checks.h>.
8797         (__gettimeofday): Do not use CHECK_1.
8798         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
8799         (__old_shmctl): Do not use CHECK_1_NULL_OK.
8800         (__new_shmctl): Do not use CHECK_1.
8801         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
8802         <bp-checks.h>.
8803         (do_sigtimedwait): Do not use CHECK_1.
8804         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
8805         <bp-checks.h>.
8806         (do_sigwaitinfo): Do not use CHECK_1.
8807         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
8808         <bp-checks.h>.
8809         (msgctl): Do not use CHECK_1.
8810         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
8811         <bp-checks.h>.
8812         (shmctl): Do not use CHECK_1.
8813         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
8814         (ustat): Do not use CHECK_1.
8815         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
8816         <bp-checks.h>.
8817         (__fxstat): Do not use CHECK_1.
8818         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8819         <bp-checks.h>.
8820         (__fxstatat): Do not use CHECK_1.
8821         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
8822         <bp-checks.h>.
8823         (__lxstat): Do not use CHECK_1.
8824         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
8825         <bp-checks.h>.
8826         (__xstat): Do not use CHECK_1.
8827         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
8828         (__xstat): Do not use CHECK_1.
8829         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
8830         (___xstat64): Do not use CHECK_1.
8832         [BZ #13550]
8833         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
8834         definitions.
8835         (CHECK_BOUNDS_HIGH): Likewise.
8836         * string/strcpy.c: Do not include <bp-checks.h>.
8837         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
8839 2013-02-07  Roland McGrath  <roland@hack.frob.com>
8841         * nscd/nscd-client.h (__nscd_drop_map_ref):
8842         Add __attribute__ ((unused)).
8843         * nis/nss-nisplus.h (niserr2nss): Likewise.
8845         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
8846         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
8848         * csu/libc-tls.c (init_static_tls, init_slotinfo):
8849         Remove inline keyword.
8850         * include/rounding-mode.h (round_away): Likewise.
8851         * libio/wfileops.c (adjust_wide_data): Likewise.
8852         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
8853         (__m128i_strloadu_tolower): Likewise.
8854         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
8855         (__m128i_strloadu_tolower): Likewise.
8856         * time/mktime.c (ydhms_diff): Likewise.
8857         * locale/elem-hash.h (elem_hash): Likewise.
8858         * locale/setlocale.c (setdata): Likewise.
8859         * posix/regex_internal.h (re_string_char_size_at): Likewise.
8860         (re_string_wchar_at): Likewise.
8861         (bitset_not, bitset_merge, bitset_mask): Likewise.
8862         [!(__GNUC__ > 3)] (inline): Remove macro.
8863         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
8864         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
8865         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
8866         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
8867         * string/memcmp.c (memcmp_bytes): Likewise.
8868         * locale/programs/locarchive.c (compute_hashval): Likewise.
8869         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
8870         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
8871         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
8872         * nss/getent.c (print_rpc, print_protocols): Likewise.
8873         (print_passwd, print_group, print_aliases): Likewise.
8874         * nis/nss-nisplus.h (niserr2nss): Likewise.
8875         * nscd/connections.c (restart_p): Likewise.
8876         Change return type to bool.
8878 2013-02-05  Roland McGrath  <roland@hack.frob.com>
8880         * Makeconfig (all-Depend-files): Add existing
8881         $(sorted-subdirs:=/Depend) files.
8882         (all-subdirs): Remove nss.
8883         * sysdeps/unix/inet/Subdirs: Add it here instead.
8884         * hesiod/Depend: New file.
8886         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
8887         instead of calling alloca.
8889         * io/lseek.c (__lseek): Rename to __libc_lseek.
8890         Define __lseek as an alias.
8892         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
8894 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
8896         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
8897         else clause and remove check for non-standard endianness.
8899 2013-02-04  David S. Miller  <davem@davemloft.net>
8901         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8903 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
8905         [BZ #13550]
8906         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
8907         (__ubp_memchr): Remove prototype.
8908         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
8909         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8910         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
8911         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
8912         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
8913         Remove alias.
8914         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
8915         (__ubp_memchr): Likewise.
8916         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
8917         (__ubp_memchr): Likewise.
8918         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
8919         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
8920         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
8921         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
8922         CHECK_STRING.
8923         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8924         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
8925         (__getcwd): Do not use CHECK_STRING.
8926         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8927         <bp-checks.h>.
8928         (__real_chown): Do not use CHECK_STRING.
8929         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
8930         <bp-checks.h>.
8931         (fchownat): Do not use CHECK_STRING.
8932         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
8933         CHECK_STRING.
8934         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8935         <bp-checks.h>.
8936         (__lchown): Do not use CHECK_STRING.
8937         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8938         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8939         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8940         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8942         include <bp-checks.h>.
8943         (truncate64): Do not use CHECK_STRING.
8944         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8945         <bp-checks.h>.
8946         (__real_chown): Do not use CHECK_STRING.
8947         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8948         <bp-checks.h>.
8949         (__lchown): Do not use CHECK_STRING.
8950         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8951         <bp-checks.h>.
8952         (__chown): Do not use CHECK_STRING.
8953         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
8954         <bp-checks.h>.
8955         (truncate64): Do not use CHECK_STRING.
8956         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
8957         Likewise.
8958         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
8959         (__xmknod): Do not use CHECK_STRING.
8960         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8961         <bp-checks.h>.
8962         (__xmknodat): Do not use CHECK_STRING.
8963         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8964         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8966 2013-02-04  Andreas Schwab  <schwab@suse.de>
8968         [BZ #14142]
8969         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
8970         * include/netdb.h: Likewise for h_errno.
8971         * elf/tst-stackguard1.c: Include <tls.h>.
8973 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
8975         * elf/link.h (struct link_map): Extend the l_addr comment.
8976         * include/link.h (struct link_map): Likewise.
8978 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
8980         [BZ #13550]
8981         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
8982         (BOUNDED_1): Remove macro.
8983         * debug/backtrace.c: Don't include <bp-checks.h>.
8984         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
8985         (__backtrace): Likewise.
8986         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
8987         <bp-checks.h>.
8988         (__backtrace): Don't use BOUNDED_1.
8989         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
8990         <bp-checks.h>.
8991         (__backtrace): Don't use BOUNDED_1.
8992         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
8993         (__backtrace): Don't use BOUNDED_1.
8994         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
8995         (shmat): Don't use BOUNDED_N.
8997 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
8999         [BZ #13550]
9000         * sysdeps/generic/bp-start.h: Remove file.
9001         * csu/libc-start.c: Don't include <bp-start.h>.
9002         (LIBC_START_MAIN): Set up __environ directly instead of using
9003         INIT_ARGV_and_ENVIRON.
9004         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
9005         <bp-start.h>.
9007         [BZ #13550]
9008         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
9009         definitions.
9010         (CHECK_FCNTL): Likewise.
9011         (CHECK_N_PAGES): Likewise.
9013         [BZ #13550]
9014         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
9015         definitions.
9016         (CHECK_SIGSET_NULL_OK): Likewise.
9017         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
9018         <bp-checks.h>.
9019         (sigpending): Don't use CHECK_SIGSET.
9020         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
9021         <bp-checks.h>.
9022         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9023         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
9024         <bp-checks.h>.
9025         (do_sigsuspend): Don't use CHECK_SIGSET.
9026         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
9027         use CHECK_SIGSET.
9028         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
9029         (do_sigwait): Don't use CHECK_SIGSET.
9030         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
9031         use CHECK_SIGSET.
9032         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
9033         include <bp-checks.h>.
9034         (sigpending): Don't use CHECK_SIGSET.
9035         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
9036         include <bp-checks.h>.
9037         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9038         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
9039         <bp-checks.h>.
9040         (sigpending): Don't use CHECK_SIGSET.
9041         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
9042         <bp-checks.h>.
9043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
9045         [BZ #13550]
9046         * sysdeps/generic/bp-semctl.h: Remove file.
9047         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
9048         <bp-checks.h> and <bp-semctl.h>.
9049         (__old_semctl): Don't use CHECK_SEMCTL.
9050         (__new_semctl): Likewise.
9051         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
9052         and <bp-semctl.h>.
9053         (__old_semctl): Don't use CHECK_SEMCTL.
9054         (__new_semctl): Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
9056         <bp-checks.h> and <bp-semctl.h>.
9057         (__old_semctl): Don't use CHECK_SEMCTL.
9058         (__new_semctl): Likewise.
9059         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
9060         <bp-checks.h> and <bp-semctl.h>.
9061         (semctl): Don't use CHECK_SEMCTL.
9063         [BZ #13550]
9064         * Makerules (elide-bp-thunks): Remove variable.
9065         (elide-routines.oS): Don't use $(elide-bp-thunks).
9066         (elide-routines.os): Likewise.
9067         (elide-routines.o): Likewise.
9068         (elide-routines.op): Likewise.
9069         (elide-routines.og): Likewise.
9070         (objects): Don't use $(bp-thunks).
9071         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
9072         include.
9073         (common-generated): Do not add s-proto-bp.d.
9074         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
9075         (int): Likewise.
9076         (typ): Likewise.
9077         Do not generate makefile rules for bounded-pointer thunks.
9078         * sysdeps/generic/bp-thunks.h: Remove file.
9079         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
9080         * sysdeps/unix/s-proto-bp.S: Likewise.
9082         [BZ #15062]
9083         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
9084         parts of result separately when argument is not close to line from
9085         -i to i and one part of argument is small.
9086         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9087         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9088         * math/libm-test.inc (cacos_test): Add more tests.
9089         (casin_test): Likewise.
9090         (casinh_test): Likewise.
9091         * sysdeps/i386/fpu/libm-test-ulps: Update.
9092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9094 2013-01-31  David S. Miller  <davem@davemloft.net>
9096         * po/de.po: Update from translation team.
9098 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
9100         * time/tzfile.c: Include stdint.h for SIZE_MAX.
9102 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
9104         * configure.in (_AC_PROG_CC_C89): New definition.
9105         * configure: Regenerate.
9107         * configure.in (AC_PROG_CPP): New definition.
9108         * configure: Regenerate.
9110 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9112         * debug/tst-backtrace.h: New file.
9113         * debug/tst-backtrace2.c: Include tst-backtrace.h.
9114         (ret): Remove variable.
9115         (x): Likewise.
9116         (FAIL): Remove macro.
9117         (NO_INLINE): Likewise.
9118         (fn1): Use match function instead of strstr.
9119         * debug/tst-backtrace3.c: Include tst-backtrace.h.
9120         (ret): Remove variable.
9121         (x): Likewise.
9122         (FAIL): Remove macro.
9123         (NO_INLINE): Likewise.
9124         (fn): Use match function instead of strstr.
9125         * debug/tst-backtrace4.c: Include tst-backtrace.h.
9126         (ret): Remove variable.
9127         (x): Likewise.
9128         (FAIL): Remove macro.
9129         (NO_INLINE): Likewise.
9130         (handle_signal): Use match function instead of strstr.
9131         * debug/tst-backtrace5.c: Include tst-backtrace.h.
9132         (ret): Remove variable.
9133         (x): Likewise.
9134         (FAIL): Remove macro.
9135         (NO_INLINE): Likewise.
9136         (handle_signal): Use match function instead of strstr.
9138 2013-01-23  Roland McGrath  <roland@hack.frob.com>
9140         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
9142 2013-01-23  David S. Miller  <davem@davemloft.net>
9144         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
9145         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
9146         argument of CAS if possible.
9147         * sysdeps/sparc/sparc64/bits/atomic.h
9148         (__arch_compare_and_exchange_val_32_acq): Likewise.
9149         (__arch_compare_and_exchange_val_64_acq): Likewise.
9151 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
9153         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
9154         * sysdeps/posix/ulimit.c: ... this.
9155         Include <limits.h>.
9156         * sysdeps/unix/bsd/ulimit.c: Remove file.
9158 2013-01-23  Adam Conrad  <adconrad@0c3.net>
9160         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
9161         (LDFLAGS-tst-array5): Likewise.
9163 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
9165         [BZ #15036]
9166         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
9167         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
9168         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
9169         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
9171 2013-01-21  David S. Miller  <davem@davemloft.net>
9173         * sysdeps/sparc/backtrace.c: New file.
9174         * sysdeps/sparc/sparc32/backtrace.h: New file.
9175         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
9176         * sysdeps/sparc/sparc64/backtrace.h: New file.
9177         * sysdeps/sparc/sparc64/backtrace.c: Delete.
9178         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
9179         -funwind-tables.
9181 2013-01-21  Andreas Schwab  <schwab@suse.de>
9183         [BZ #15020]
9184         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
9185         closed its stdout.
9187 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
9189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
9190         "mpa2.h".
9191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9193 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
9194             Mark Mitchell  <mark@codesourcery.com>
9195             Tom de Vries  <tom@codesourcery.com>
9196             Paul Pluzhnikov  <ppluzhnikov@google.com>
9198         * debug/tst-backtrace2.c: New file.
9199         * debug/tst-backtrace3.c: Likewise.
9200         * debug/tst-backtrace4.c: Likewise.
9201         * debug/tst-backtrace5.c: Likewise.
9202         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
9203         (CFLAGS-tst-backtrace3.c): Likewise.
9204         (CFLAGS-tst-backtrace4.c): Likewise.
9205         (CFLAGS-tst-backtrace5.c): Likewise.
9206         (LDFLAGS-tst-backtrace2): Likewise.
9207         (LDFLAGS-tst-backtrace3): Likewise.
9208         (LDFLAGS-tst-backtrace4): Likewise.
9209         (LDFLAGS-tst-backtrace5): Likewise.
9210         (tests): Add new tests tst-backtrace2, tst-backtrace3,
9211         tst-backtrace4 and tst-backtrace5.
9213 2013-01-18  Anton Blanchard  <anton@samba.org>
9214             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
9216         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
9217         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
9218         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
9219         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
9220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9221         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
9222         "+r" and remove output regs list as redundant.  Add explicit inline
9223         asm to specify register of return val to work around compiler codegen
9224         bug.  Remove (int) cast on return value.  Add return type parameter to
9225         use in macro so that this macro does not truncate return value for
9226         64-bit values.
9227         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
9228         pass to INTERNAL_VSYSCALL_NCS.
9229         (INLINE_VSYSCALL): Add 'long int' as return type to
9230         INTERNAL_VSYSCALL_NCS macro invocation.
9231         (INTERNAL_VSYSCALL): Add 'long int' as return type to
9232         INTERNAL_VSYSCALL_NCS macro invocation.
9233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9235 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9237         [BZ #14496]
9238         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
9239         Fix application of SIMD FP exception mask.
9241         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
9242         mp_no from a power of two.
9243         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
9244         __mpexp_twomm1.  Use __pow_mp.
9246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
9247         multiplication.
9249 2013-01-17  David S. Miller  <davem@davemloft.net>
9251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9253 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9255         [BZ #15023]
9256         * include/complex.h: Condition contents on [!_COMPLEX_H].
9257         (__kernel_casinhf): New prototype.
9258         (__kernel_casinh): Likewise.
9259         (__kernel_casinhl): Likewise.
9260         * math/Makefile (libm_calls): Add k_casinh.
9261         * math/k_casinh.c: New file.
9262         * math/k_casinhf.c: Likewise.
9263         * math/k_casinhl.c: Likewise.
9264         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
9265         finite nonzero arguments.
9266         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
9267         finite nonzero arguments.
9268         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
9269         finite nonzero arguments.
9270         * math/s_casinh.c: Do not include <float.h>.
9271         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
9272         * math/s_casinhf.c: Do not include <float.h>.
9273         (__casinhf): Move code for finite nonzero arguments to
9274         k_casinhf.c.
9275         * math/s_casinhl.c: Do not include <float.h>.
9276         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
9277         redefine.
9278         (__casinhl): Move code for finite nonzero arguments to
9279         k_casinhl.c.
9280         * math/libm-test.inc (cacos_test): Add more tests.
9281         * sysdeps/i386/fpu/libm-test-ulps: Update.
9282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9284 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
9286         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
9287         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
9288         [!HAVE_MREMAP]: Remove [defined linux] case.
9289         * malloc/arena.c: Do not include <malloc-sysdep.h>.
9291 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9293         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
9295 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
9297         * elf/elf.h (R_386_SIZE32): New relocation.
9298         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
9299         R_386_SIZE32.
9300         (elf_machine_rela): Likewise.
9301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9302         R_X86_64_SIZE64 and R_X86_64_SIZE32.
9304 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
9306         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
9307         (FP_FAST_FMA): Do not define.
9308         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
9309         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
9310         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
9311         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
9312         !_SOFT_FLOAT]: Likewise.
9313         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
9314         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
9315         value.
9316         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
9317         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
9318         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
9319         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
9320         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
9321         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
9322         file.
9324 2013-01-16  Andreas Schwab  <schwab@suse.de>
9326         [BZ #14327]
9327         * include/stdlib.h (__mktemp): Add declaration.
9328         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
9329         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
9331 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9333         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
9334         definitions.
9335         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
9336         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
9337         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
9338         definitions here.
9339         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
9340         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
9341         definitions.
9342         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
9343         and ONE.
9344         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
9345         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
9346         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
9347         definitions.
9348         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
9349         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
9350         definitions.
9351         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
9353         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
9355 2013-01-15  David S. Miller  <davem@davemloft.net>
9357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9358         trunc{,f} to libm-sysdep_routes.
9359         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
9361         file.
9362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
9363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
9364         file.
9365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
9366         file.
9367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
9368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
9369         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
9370         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
9371         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
9372         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
9373         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
9374         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
9376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9377         nearbyint{,f} to libm-sysdep_routes.
9378         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
9380         New file.
9381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
9382         file.
9383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
9384         New file.
9385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
9386         file.
9387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
9388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
9389         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
9390         file.
9391         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
9392         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
9393         file.
9394         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
9395         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
9396         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
9398         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
9399         libc_feholdexcept and libc_fesetenv.
9401 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
9403         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
9405 2013-01-14  David S. Miller  <davem@davemloft.net>
9407         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
9408         (SPARC_ASM_VIS2_IFUNC): Likewise.
9409         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
9410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
9411         use of 'siam' instruction.
9412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
9413         Likewise.
9414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
9415         Likewise.
9416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
9417         Likewise.
9418         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
9419         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
9420         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
9421         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
9422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
9423         file.
9424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
9425         file.
9426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
9427         file.
9428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
9429         file.
9430         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
9431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
9432         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
9433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
9434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
9435         new VIS2 routines.
9436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
9437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
9438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
9439         Likewise.
9440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
9441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
9442         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
9443         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
9444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
9445         routines to libm-sysdep_routines.
9446         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
9448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
9449         fdim/fdimf to libm-sysdep_routines.
9450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
9451         file.
9452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
9453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
9454         file.
9455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
9456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
9457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
9458         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
9459         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
9460         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
9461         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
9463 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9465         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
9466         to optimize copies.
9468         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
9469         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
9473         local variable MPTWO.
9474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9475         Likewise.
9477 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9479         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
9480         GLOB_NOESCAPE.
9482 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9484         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
9486 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
9488         * manual/pattern.texi (glob_t): Document gl_flags.
9489         (glob64_t): Likewise.
9491 2013-01-11  David S. Miller  <davem@davemloft.net>
9493         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
9494         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
9495         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
9496         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
9497         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
9498         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
9499         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
9500         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
9501         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
9502         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
9503         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
9504         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
9505         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
9507         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9508         sparc V9 rather than using V8 code.
9509         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9510         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
9513         Move to...
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
9515         Here.
9517 2013-01-11  Roland McGrath  <roland@hack.frob.com>
9519         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
9520         not in the main loop.
9521         * configure: Regenerated.
9523 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
9525         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
9526         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
9527         to just #else.
9528         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
9529         [!__GLIBC_HAVE_LONG_LONG] case.
9530         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
9531         condition to just #else.
9532         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
9533         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
9534         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
9535         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
9536         unconditional.
9537         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
9538         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9539         #elif condition to just #else.
9540         * sysdeps/unix/sysv/linux/sys/sysmacros.h
9541         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
9542         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
9543         #elif condition to just #else.
9545 2013-01-11  Steve Ellcey  <sellcey@mips.com>
9547         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
9548         (EF_MIPS_ARCH_64): Fix value.
9549         (EF_MIPS_ARCH_32R2): New.
9550         (EF_MIPS_ARCH_64R2): New.
9552 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
9554         * Makeconfig (+link-pie-before-libc): New.
9555         (+link-pie-after-libc): Likewise.
9556         (+link-pie-tests): Likewise.
9557         (+link-pie): Rewritten.
9558         (link-before-libc): Remove $(config-LDFLAGS).
9559         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
9560         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
9561         (config-LDFLAGS): Renamed to ...
9562         (rtld-LDFLAGS): This.
9563         (rtld-tests-LDFLAGS): New macro.
9564         (link-libc-rpath-link): Likewise.
9565         (link-libc-tests-rpath-link): Likewise.
9566         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
9567         (link-libc): Prepand $(link-libc-rpath-link).
9568         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
9569         (test-program-prefix): New macro.
9570         (test-via-rtld-prefix): Likewise.
9571         (test-program-cmd): Likewise.
9572         (host-test-program-cmd): Likewise.
9573         * Makefile ($(common-objpfx)testrun.sh): Replace
9574         $(run-program-prefix) with $(test-program-prefix).
9575         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
9576         $(rtld-LDFLAGS).
9577         ($(common-objpfx)shlib.lds): Likewise.
9578         (build-module-helper): Likewise.
9579         ($(common-objpfx)format.lds): Likewise.
9580         * Rules (binaries-pie-tests): New.
9581         (binaries-pie-notests): Likewise.
9582         (binaries-pie): Rewritten.
9583         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
9584         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
9585         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
9586         (make-test-out): Replace $(host-built-program-cmd) with
9587         $(host-test-program-cmd).
9588         * config.make.in (build-hardcoded-path-in-tests): New variable.
9589         * configure.in (--enable-hardcoded-path-in-tests): New configure
9590         option.
9591         (hardcoded_path_in_tests): New AC_SUBST.
9592         * configure: Regenerated.
9593         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
9594         $(built-program-cmd) with $(test-program-cmd).
9595         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
9596         (test_program_cmd): This.
9597         * elf/Makefile ($(objpfx)order.out): Run test with
9598         $(test-program-prefix).
9599         ($(objpfx)order2.out): Likewise.
9600         ($(objpfx)tst-initorder.out): Likewise.
9601         ($(objpfx)tst-initorder2.out): Likewise.
9602         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
9603         $(test-program-cmd).
9604         ($(objpfx)tst-array1-static.out): Likewise.
9605         ($(objpfx)tst-array2.out): Likewise.
9606         ($(objpfx)tst-array3.out): Likewise.
9607         ($(objpfx)tst-array4.out): Likewise.
9608         ($(objpfx)tst-array5.out): Likewise.
9609         ($(objpfx)tst-array5-static.out): Likewise.
9610         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
9611         $(test-program-cmd).
9612         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
9613         $(run-program-prefix) with $(test-program-prefix).
9614         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
9615         (test_program_prefix): This.
9616         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
9617         $(run-program-prefix) with $(test-program-prefix).
9618         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
9619         (test_program_prefix): This.
9620         * iconvdata/tst-tables.sh: Likewise.
9621         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
9622         $(run-program-prefix) with $(test-program-prefix).
9623         ($(objpfx)tst-translit.out): Likewise.
9624         ($(objpfx)tst-gettext2.out): Likewise.
9625         ($(objpfx)tst-gettext4.out): Likewise.
9626         ($(objpfx)tst-gettext6.out): Likewise.
9627         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
9628         (test_program_prefix): This.
9629         * intl/tst-gettext2.sh: Likewise.
9630         * intl/tst-gettext4.sh  Likewise.
9631         * intl/tst-gettext6.sh: Likewise.
9632         * intl/tst-translit.sh: Likewise.
9633         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
9634         with $(test-program-cmd).
9635         * libio/Makefile ($(objpfx)test-freopen.out): Replace
9636         $(run-program-prefix) with $(test-program-prefix).
9637         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
9638         (test_program_prefix): This.
9639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
9640         $(run-program-prefix) with $(test-program-prefix).
9641         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
9642         (test_program_prefix): This.
9643         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
9644         * posix/Makefile ($(objpfx)globtest.out): Replace
9645         $(run-via-rtld-prefix) and $(test-wrapper) with
9646         $(test-program-prefix) and $(test-via-rtld-prefix).
9647         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
9648         $(test-program-prefix).
9649         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
9650         $(host-test-program-cmd).
9651         (tst-spawn-ARGS): Likewise.
9652         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
9653         $(test-program-prefix).
9654         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
9655         (test_via_rtld_prefix): This.
9656         (test_wrapper): Renamed to ...
9657         (test_program_prefix): This.
9658         (run_program_prefix): Replaced by test_program_prefix.
9659         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
9660         (test_program_prefix): This.
9661         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
9662         with $(host-test-program-cmd).
9663         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
9664         $(run-program-prefix) with $(test-program-prefix).
9665         ($(objpfx)tst-printf.out): Likewise.
9666         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
9667         $(test-program-cmd).
9668         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
9669         (test_program_prefix): This.
9670         * stdio-common/tst-unbputc.sh: Likewise.
9671         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
9672         $(run-program-prefix) with $(test-program-prefix).
9673         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
9674         (test_program_prefix): This.
9675         * string/Makefile ($(objpfx)tst-svc.out):  Replace
9676         $(built-program-cmd) with $(test-program-cmd).
9678 2013-01-11  Andreas Jaeger  <aj@suse.de>
9680         [BZ #15003]
9681         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
9682         value. Sync with Linux 3.7.
9684 2013-01-10  David S. Miller  <davem@davemloft.net>
9686         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
9687         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9688         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9690 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9692         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
9693         never set.
9694         * configure: Regenerated.
9696 2013-01-10  David S. Miller  <davem@davemloft.net>
9698         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
9699         sparc V9 rather than using V8 code.
9700         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
9701         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
9703 2013-01-10  Roland McGrath  <roland@hack.frob.com>
9705         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
9706         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
9707         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
9708         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
9709         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
9710         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9711         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
9712         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
9713         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
9714         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
9715         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
9716         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
9717         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
9718         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
9719         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
9720         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
9721         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
9722         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
9723         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
9724         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
9725         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
9726         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
9727         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
9728         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
9729         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
9730         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
9731         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
9733 2013-01-10  David S. Miller  <davem@davemloft.net>
9735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9737 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9739         * posix/Makefile (tests-static): New variable.
9740         (tests): Add $(tests-static).
9741         (tst-exec-static-ARGS): New variable.
9742         (tst-spawn-static-ARGS): Likewise.
9743         * posix/tst-exec-static.c: New file.
9744         * posix/tst-spawn-static.c: Likewise.
9745         * posix/tst-exec.c: Support run directly.
9746         * posix/tst-spawn.c: Likewise.
9748 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
9750         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
9751         long.
9752         * math/bits/mathcalls.h (llrint): Likewise.
9753         (llround): Likewise.
9754         * stdlib/stdlib.h (struct drand48_data): Likewise.
9755         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
9756         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
9757         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
9758         Likewise.
9759         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
9760         Likewise.
9761         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
9762         (elf_greg_t): Likewise.
9763         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
9764         (__jmp_buf): Likewise.
9765         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
9766         definitions.
9767         (llrint): Likewise, for all definitions.
9768         (llrintl): Likewise.
9770         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
9771         Remove [__GNUC__] condition.
9772         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
9773         condition to just [__USE_ISOC99].
9774         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
9776 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
9778         [BZ #14200]
9779         * sysdeps/unix/sysv/linux/x86/bits/environments.h
9780         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
9781         defined.
9782         (_POSIX_V6_ILP32_OFF32): Likewise.
9783         (_XBS5_ILP32_OFF32): Likewise.
9784         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
9785         (__ILP32_OFFBIG_LDFLAGS): Likewise.
9787 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9789         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
9791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
9792         doubles __mpexp_twomm1.  Adjust usage.
9793         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
9794         Remove.
9796 2013-01-10  Andreas Schwab  <schwab@suse.de>
9798         [BZ #14964]
9799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
9800         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
9802 2013-01-09  David S. Miller  <davem@davemloft.net>
9804         [BZ #15003]
9805         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
9806         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
9807         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
9808         TCP_FASTOPEN): Define.
9809         (tcp_repair_opt): New structure.
9810         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
9811         enum values.
9812         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
9813         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
9814         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
9815         (tcp_cookie_transactions): New structure.
9817 2013-01-09  Anton Blanchard  <anton@samba.org>
9819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
9820         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
9821         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
9822         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
9824 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
9826         * include/features.h (__USE_ANSI): Remove.
9828 2013-01-09  Roland McGrath  <roland@hack.frob.com>
9830         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
9832         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
9834 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
9836         * sysdeps/s390/fpu/libm-test-ulps: Update.
9838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9840         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
9841         (__acr): Likewise.
9842         (__cpy): Likewise.
9843         (norm): Likewise.
9844         (denorm): Likewise.
9845         (__mp_dbl): Likewise.
9846         (__dbl_mp): Likewise.
9847         (add_magnitudes): Likewise.
9848         (sub_magnitudes): Likewise.
9849         (__add): Likewise.
9850         (__sub): Likewise.
9851         (__mul): Likewise.
9852         (__inv): Likewise.
9853         (__dvd): Likewise.
9854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
9855         (__acr): Likewise.
9856         (__cpy): Likewise.
9857         (norm): Likewise.
9858         (denorm): Likewise.
9859         (__mp_dbl): Likewise.
9860         (__dbl_mp): Likewise.
9861         (add_magnitudes): Likewise.
9862         (sub_magnitudes): Likewise.
9863         (__add): Likewise.
9864         (__sub): Likewise.
9865         (__mul): Likewise.
9866         (__inv): Likewise.
9867         (__dvd): Likewise.
9868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
9869         (__acr): Likewise.
9870         (__cpy): Likewise.
9871         (norm): Likewise.
9872         (denorm): Likewise.
9873         (__mp_dbl): Likewise.
9874         (__dbl_mp): Likewise.
9875         (add_magnitudes): Likewise.
9876         (sub_magnitudes): Likewise.
9877         (__add): Likewise.
9878         (__sub): Likewise.
9879         (__mul): Likewise.
9880         (__inv): Likewise.
9881         (__dvd): Likewise.
9883 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
9885         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
9886         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
9887         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
9888         2 && __USE_EXTERN_INLINES]: Likewise.
9890 2013-01-08  Andreas Jaeger  <aj@suse.de>
9892         [BZ# 14985]
9893         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
9894         Remove.
9895         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9896         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
9898 2013-01-07  Anton Blanchard  <anton@samba.org>
9900         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
9901         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9902         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
9903         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9904         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9905         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9906         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
9907         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
9908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
9909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
9910         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9911         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9912         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9913         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9914         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9915         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9916         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9917         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9918         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9919         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9920         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9921         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
9922         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9923         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9924         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
9925         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9926         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9927         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9928         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
9929         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9930         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9931         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9932         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
9933         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9934         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9935         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9936         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9937         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9938         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
9939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9940         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
9941         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9942         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9944 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
9946         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
9947         (__MALLOC_PMT): Likewise.
9948         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
9949         [__GNUC__], only on [_LIBC].
9950         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9951         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
9952         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
9953         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
9954         forward declaration.
9955         (realloc_hook_ini): Likewise.
9956         (memalign_hook_ini): Likewise.
9957         (__libc_memalign): Do not use __MALLOC_PMT in variable
9958         declaration.
9959         (__libc_valloc): Likewise.
9960         (__libc_pvalloc): Likewise.
9961         (__libc_calloc): Likewise.
9962         (__posix_memalign): Likewise.
9964         [BZ #14996]
9965         * math/s_casinh.c: Include <float.h>.
9966         (__casinh): Do not do computation with squaring and square root
9967         for large arguments.
9968         * math/s_casinhf.c: Include <float.h>.
9969         (__casinhf): Do not do computation with squaring and square root
9970         for large arguments.
9971         * math/s_casinhl.c: Include <float.h>.
9972         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
9973         (__casinhl): Do not do computation with squaring and square root
9974         for large arguments.
9975         * math/libm-test.inc (casin_test): Add more tests.
9976         (casinh_test): Likewise.
9977         * sysdeps/i386/fpu/libm-test-ulps: Update.
9978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9980 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
9982         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
9983         (__x86_64_raw_data_cache_size): Likewise.
9984         (__x86_64_data_cache_size_half): Likewise.
9985         (__x86_64_raw_data_cache_size_half): Likewise.
9986         (__x86_64_shared_cache_size): Likewise.
9987         (__x86_64_raw_shared_cache_size): Likewise.
9988         (__x86_64_shared_cache_size_half): Likewise.
9989         (__x86_64_raw_shared_cache_size_half): Likewise.
9990         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
9991         to ...
9992         (__x86_data_cache_size): This.
9993         (__x86_64_raw_data_cache_size): Renamed to ...
9994         (__x86_raw_data_cache_size): This.
9995         (__x86_64_data_cache_size_half): Renamed to ...
9996         (__x86_data_cache_size_half): This.
9997         (__x86_64_raw_data_cache_size_half): Renamed to ...
9998         (__x86_raw_data_cache_size_half): This.
9999         (__x86_64_shared_cache_size): Renamed to ...
10000         (__x86_shared_cache_size): This.
10001         (__x86_64_raw_shared_cache_size): Renamed to ...
10002         (__x86_raw_shared_cache_size): This.
10003         (__x86_64_shared_cache_size_half): Renamed to ...
10004         (__x86_shared_cache_size_half): This.
10005         (__x86_64_raw_shared_cache_size_half): Renamed to ...
10006         (__x86_raw_shared_cache_size_half): This.
10007         * sysdeps/x86_64/memcpy.S: Updated.
10008         * sysdeps/x86_64/memset.S: Likewise.
10009         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10010         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10011         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10013 2013-01-04  David S. Miller  <davem@davemloft.net>
10015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10017 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
10019         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
10020         1 to avoid redefinition warning.
10021         (__USE_GNU): Don't define.
10022         (init_signaling_nan): Protoize.
10024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10026 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10028         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
10029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
10030         (__cpymn): Likewise.
10031         (norm): Remove commented code.
10032         (denorm): Likewise.
10033         (__mp_dbl): Likewise.
10034         (__inv): Likewise.
10035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
10036         (__cpymn): Likewise.
10037         (norm): Remove commented code.
10038         (denorm): Likewise.
10039         (__mp_dbl): Likewise.
10040         (__inv): Likewise.
10042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
10043         mp_no value for 1.0 and 2.0.
10044         (norm): Use RADIXI instead of radixi.d.
10045         (denorm): Likewise.
10046         (__mul): Use 0.0 instead of zero.d.
10047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
10048         mp_no value for 1.0 and 2.0.
10049         (norm): Use RADIXI instead of radixi.d.
10050         (denorm): Likewise.
10051         (__mul): Use 0.0 instead of zero.d.
10053 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
10055         [BZ #14994]
10056         * math/s_casinh.c (__casinh): Reduce finite argument to first
10057         quadrant then set signs of results at the end.
10058         * math/s_casinhf.c (__casinhf): Likewise.
10059         * math/s_casinhl.c (__casinhl): Likewise.
10060         * math/libm-test.inc (casin_test): Add more tests.
10061         (casinh_test): Likewise.
10062         * sysdeps/i386/fpu/libm-test-ulps: Update.
10063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10065 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10067         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
10069         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
10071         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
10072         declarations.
10073         (denorm): Likewise.
10074         (__mp_dbl): Likewise.
10075         (__inv): Likewise.
10077         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
10078         and adjust the header comment.
10080         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
10081         variable name from declaration.
10083 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
10085         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10086         Initialize COMMON_CPUID_INDEX_7 element.
10087         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
10088         (CPUID_RTM): Likewise.
10089         (HAS_RTM): Likewise.
10090         (COMMON_CPUID_INDEX_7): New enum.
10092 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
10094         [BZ #14981]
10095         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
10096         size is zero, record memory as freed.
10098 2013-01-03  Andreas Jaeger  <aj@suse.de>
10100         * po/ia.po: Add new Interlingua translation.
10102 2012-01-03  Allan McRae  <allan@archlinux.org>
10104         * locale/programs/localedef.c: Fix description of '--posix' flag.
10106 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
10108         * NEWS: Update dates in second copyright notice.
10109         * README: Update copyright dates in example.
10110         * manual/libc.texinfo: Update copyright dates.
10111         * scripts/test-installation.pl: Update copyright date in --version
10112         output.
10114         * hurd/ctty-input.c: Fix copyright notice formatting.
10115         * hurd/ctty-output.c: Likewise.
10116         * hurd/dtable.c: Likewise.
10117         * hurd/hurd-raise.c: Likewise.
10118         * hurd/hurdprio.c: Likewise.
10119         * hurd/msgportdemux.c: Likewise.
10120         * misc/sys/file.h: Likewise.
10121         * misc/sys/ioctl.h: Likewise.
10122         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
10123         * sysdeps/mach/hurd/chdir.c: Likewise.
10124         * sysdeps/mach/hurd/fchdir.c: Likewise.
10125         * sysdeps/mach/hurd/rename.c: Likewise.
10126         * sysdeps/mach/hurd/rmdir.c: Likewise.
10127         * sysdeps/mach/hurd/seekdir.c: Likewise.
10128         * sysdeps/mach/hurd/setsid.c: Likewise.
10129         * sysdeps/posix/wait3.c: Likewise.
10131         * All files with FSF copyright notices: Update copyright dates
10132         using scripts/update-copyrights.
10133         * intl/plural.c: Regenerated.
10134         * locale/programs/charmap-kw.h: Likewise.
10135         * locale/programs/locfile-kw.h: Likewise.
10137 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10139         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
10140         four values.
10142         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
10143         calculation loop and add branch prediction.
10145         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
10146         check access beyond bounds of m1np.
10148         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10149         MPTWO.
10150         (__inv): Remove local variable MPTWO to use the global
10151         constant.
10152         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
10153         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10154         variable MPTWO.
10155         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
10156         MP3HALFS static const.
10158 2013-01-01  David S. Miller  <davem@davemloft.net>
10160         * po/ca.po: Update from translation team.
10162 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
10164         * scripts/update-copyrights: New file.
10165         * Makeconfig: Reformat copyright notice.
10166         * ctype/ctype.h: Likewise.
10167         * debug/swprintf_chk.c: Likewise.
10168         * elf/dl-cache.c: Likewise.
10169         * elf/dl-debug.c: Likewise.
10170         * elf/dl-object.c: Likewise.
10171         * grp/initgroups.c: Likewise.
10172         * hurd/Makefile: Likewise.
10173         * hurd/hurd/signal.h: Likewise.
10174         * hurd/hurdfault.c: Likewise.
10175         * hurd/hurdioctl.c: Likewise.
10176         * hurd/hurdlookup.c: Likewise.
10177         * hurd/intr-msg.c: Likewise.
10178         * iconv/gconv_open.c: Likewise.
10179         * libio/swprintf.c: Likewise.
10180         * locale/lc-ctype.c: Likewise.
10181         * locale/nl_langinfo.c: Likewise.
10182         * mach/Machrules: Likewise.
10183         * mach/Makefile: Likewise.
10184         * malloc/obstack.h: Likewise.
10185         * manual/Makefile: Likewise.
10186         * manual/tsort.awk: Likewise.
10187         * misc/bits/stab.def: Likewise.
10188         * nis/nis_print_group_entry.c: Likewise.
10189         * nis/nis_table.c: Likewise.
10190         * nis/nss_compat/compat-pwd.c: Likewise.
10191         * nis/nss_compat/compat-spwd.c: Likewise.
10192         * po/Makefile: Likewise.
10193         * posix/fnmatch.c: Likewise.
10194         * posix/regex.h: Likewise.
10195         * resolv/Makefile: Likewise.
10196         * resolv/nss_dns/dns-network.c: Likewise.
10197         * resolv/res_hconf.c: Likewise.
10198         * scripts/gen-sorted.awk: Likewise.
10199         * soft-fp/soft-fp.h: Likewise.
10200         * stdio-common/printf.h: Likewise.
10201         * stdlib/monetary.h: Likewise.
10202         * stdlib/random.c: Likewise.
10203         * stdlib/random_r.c: Likewise.
10204         * sysdeps/generic/Makefile: Likewise.
10205         * sysdeps/gnu/Makefile: Likewise.
10206         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
10207         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10208         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
10209         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10210         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10211         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10212         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10213         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10214         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10215         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10216         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10217         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10218         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
10219         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
10220         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
10221         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
10222         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10223         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10224         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10226         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
10227         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
10228         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
10229         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
10230         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
10231         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
10232         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
10233         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
10234         * sysdeps/mach/hurd/errnos.awk: Likewise.
10235         * sysdeps/mach/hurd/fork.c: Likewise.
10236         * sysdeps/mach/hurd/getcwd.c: Likewise.
10237         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
10238         * sysdeps/mach/hurd/mmap.c: Likewise.
10239         * sysdeps/mach/hurd/utimes.c: Likewise.
10240         * sysdeps/mach/hurd/xmknod.c: Likewise.
10241         * sysdeps/posix/profil.c: Likewise.
10242         * sysdeps/posix/readdir_r.c: Likewise.
10243         * sysdeps/powerpc/bits/mathdef.h: Likewise.
10244         * sysdeps/powerpc/bits/setjmp.h: Likewise.
10245         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
10246         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10248         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
10249         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10250         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10252         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
10253         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10254         * sysdeps/pthread/lio_listio.c: Likewise.
10255         * sysdeps/sparc/dl-procinfo.h: Likewise.
10256         * sysdeps/unix/i386/sysdep.S: Likewise.
10257         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
10258         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
10259         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
10260         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10262         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
10263         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
10264         * sysdeps/unix/sysv/linux/speed.c: Likewise.
10265         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10266         * sysdeps/wordsize-32/divdi3.c: Likewise.
10267         * time/sys/time.h: Likewise.
10268         * wcsmbs/Makefile: Likewise.
10270 2013-01-01  David S. Miller  <davem@davemloft.net>
10272         * po/fr.po: Update from translation team.
10274         * catgets/gencat.c: Update copyright year.
10275         * csu/version.c: Likewise.
10276         * debug/catchsegv.sh: Likewise.
10277         * debug/pcprofiledump.c: Likewise.
10278         * debug/xtrace.sh: Likewise.
10279         * elf/ldconfig.c: Likewise.
10280         * elf/ldd.bash.in: Likewise.
10281         * elf/pldd.c: Likewise.
10282         * elf/sotruss.ksh: Likewise.
10283         * elf/sprof.c: Likewise.
10284         * iconv/iconv_prog.c: Likewise.
10285         * iconv/iconvconfig.c: Likewise.
10286         * locale/programs/locale.c: Likewise.
10287         * locale/programs/localedef.c: Likewise.
10288         * login/programs/pt_chown.c: Likewise.
10289         * malloc/memusage.sh: Likewise.
10290         * malloc/memusagestat.c: Likewise.
10291         * malloc/mtrace.pl: Likewise.
10292         * nscd/nscd.c: Likewise.
10293         * nss/getent.c: Likewise.
10294         * nss/makedb.c: Likewise.
10295         * posix/getconf.c: Likewise.
10297 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10299         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
10300         numbers.
10302 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
10304         * math/bits/mathcalls.h (modf): Use __nonnull.
10306 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10308         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
10309         (split): Use macro CN instead of the bare value.
10310         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
10311         could be used.
10312         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
10313         instead of the bare value.
10314         (power1): Likewise.
10316 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10318         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
10319         __ATAN_TWOM.
10320         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10322         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
10323         their values.
10324         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10325         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
10326         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
10327         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
10329 2012-12-28  Andreas Jaeger  <aj@suse.de>
10331         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
10332         values are from Linux 3.7.
10334         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
10335         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
10337 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10339         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
10340         TRUE case.
10342         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
10343         (norm): Likewise.
10344         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
10345         variables with preprocessor constants.
10346         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
10347         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
10348         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
10350 2012-12-27  Bruno Haible  <bruno@clisp.org>
10352         [BZ #14317]
10353         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
10354         only if needed.
10356 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10358         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
10359         and use variable directly.
10360         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
10362         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
10363         MPONE.
10364         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
10365         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
10366         variable MPONE.
10367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
10368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
10369         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
10370         include directive.  Remove local variable MPONE.
10371         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
10372         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
10373         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10375 2012-12-25  David S. Miller  <davem@davemloft.net>
10377         * version.h (RELEASE): Set to "development".
10378         (VERSION): Set to "2.17.90".
10379         * NEWS: Add 2.18 section.
10381 2012-12-21  David S. Miller  <davem@davemloft.net>
10383         * po/hr.po: Update from translation team.
10385 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10387         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
10389 2012-12-19  Steve Ellcey  <sellcey@mips.com>
10391         * NEWS:  Mention new memcpy for MIPS.
10393 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10395         * manual/contrib.texi (Contributors): Spelling correction.
10397 2012-12-15  David S. Miller  <davem@davemloft.net>
10399         * po/ru.po: Update from translation team.
10401 2012-12-13  David S. Miller  <davem@davemloft.net>
10403         * NEWS: Mention IFUNC testsuite enhancements.
10405         * po/pl.po: Update from translation team.
10406         * po/bg.po: Likewise.
10408         * manual/contrib.texi (Contributors): Update entries for Hongjiu
10409         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
10411 2012-12-11  David S. Miller  <davem@davemloft.net>
10413         * po/sv.po: Update from translation team.
10415         * po/vi.po: Update from translation team.
10417         * po/cs.po: Update from translation team.
10419         * po/de.po: Update from translation team.
10420         * po/eo.po: Likewise.
10421         * po/nl.po: Likewise.
10423 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10425         [BZ #14246]
10426         * manual/argp.texi (Argp Helper Functions): Move node to follow
10427         Argp Parsing State.
10429         [BZ #14872]
10430         * manual/conf.texi (Limits on File System Capacity): Mention if
10431         terminating null is included in the max size.
10433 2012-12-10  Andreas Jaeger  <aj@suse.de>
10435         * po/cs.po: Update from translation team.
10437 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10439         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
10440         void pointer and cast to uintptr_t.
10441         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
10442         path.
10443         * sysdeps/s390/s390-64/memcpy.S: Likewise.
10444         * sysdeps/s390/s390-64/memset.S: Likewise.
10446 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
10448         [BZ #14833]
10449         * menual/message.texi (Message Translation): Fix typos.
10450         (Helper programs for gettext): Likewise.
10452 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
10454         [BZ #14898]
10455         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
10456         Change to -1.
10458 2012-12-07  David S. Miller  <davem@davemloft.net>
10460         * po/libc.pot: Update.
10462 2012-12-07  Richard Henderson  <rth@redhat.com>
10464         [BZ #10114]
10465         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
10466         normal/normal case to before the switch.
10467         (_FP_DIV): Likewise.
10469 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
10470             Mike Frysinger  <vapier@gentoo.org>
10472         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
10473         check for __NR_fadvise64_64.
10475 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
10477         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
10478         0, not just to plain "0" as a statement.
10479         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
10480         with cw.
10482 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
10484         * NEWS: Use sourceware.org in Bugzilla URL.
10486 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
10489         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10491         * stdio-common/tst-put-error.c (do_test): Add newline to the
10492         padded test to ensure flush.
10494 2012-12-05  Jeff Law  <law@redhat.com>
10496         * sunrpc/etc.rpc (fedfs_admin): Add entry.
10498 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
10500         * README: Don't refer to ports add-on as distributed separately.
10501         Mention AArch64 in list of systems supported in the ports add-on.
10503         * LICENSES: Add more non-FSF copyright and license notices.
10505         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
10506         ((unused)).
10508         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
10510         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
10511         10000 as width of padded output.
10513 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10515         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
10517         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
10518         variable LX with __attribute__ ((unused)).
10519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
10520         Likewise.
10521         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
10522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
10524         with __attribute__ ((unused)).
10526 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
10528         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
10530 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
10532         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
10533         (CFLAGS-nldbl-acos.c): New variable.
10534         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
10535         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
10536         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
10537         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
10538         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
10539         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
10540         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
10541         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
10542         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
10543         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
10544         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
10545         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
10546         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
10547         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
10548         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
10549         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
10550         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
10551         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
10552         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
10553         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
10554         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
10555         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
10556         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
10557         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
10558         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
10559         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
10560         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
10561         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
10562         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
10563         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
10564         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
10565         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
10566         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
10567         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
10568         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
10569         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
10570         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
10571         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
10572         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
10573         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
10574         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
10575         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
10576         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
10577         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
10578         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
10579         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
10580         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
10581         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
10582         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
10583         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
10584         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
10585         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
10586         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
10587         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
10588         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
10589         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
10590         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
10591         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
10592         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
10593         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
10594         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
10595         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
10596         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
10597         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
10598         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
10599         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
10600         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
10601         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
10602         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
10603         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
10604         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
10605         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
10606         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
10607         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
10608         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
10609         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
10610         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
10611         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
10612         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
10613         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
10614         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
10615         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
10616         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
10617         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
10618         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
10619         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
10620         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
10621         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
10622         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
10623         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
10624         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
10625         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
10626         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
10627         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
10628         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
10629         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
10630         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
10632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10633         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
10635         [BZ #14914]
10636         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
10637         whole low double instead of just low 47 bits when splitting values
10638         into two parts.
10640 2012-12-03  Allan McRae  <allan@archlinux.org>
10642         * manual/stdio.texi (Predefined Printf Handlers): Remove
10643         @hsep and @vsep usage.
10645 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
10647         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
10648         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
10650 2012-12-03  Jeff Law  <law@redhat.com>
10652         * time/sys/time.h (settimeofday): Do not mark TV argument
10653         as __nonnull.
10655 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
10657         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
10658         when currently writing and seek to current position when not.
10659         * libio/Makefile (tests): Remove bug-fclose1.
10660         * libio/bug-fclose1.c: Delete.
10662 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
10664         * manual/arith.texi (feenableexcept): Fix typo.
10665         (fedisableexcept): Likewise.
10667 2012-11-30  Roland McGrath  <roland@hack.frob.com>
10669         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
10670         second, differently-typed declaration, rather than a cast.
10672 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10674         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
10675         * include/rpc/svc.h: ... here.
10677 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
10679         [BZ #13013]
10680         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
10681         depending n and resplen2 to catch cases where answer
10682         equals answerp2.
10684 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
10686         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
10687         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
10689 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
10691         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
10693 2012-11-29  Roland McGrath  <roland@hack.frob.com>
10695         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
10697 2012-11-28  Jeff Law  <law@redhat.com>
10699         [BZ #13761]
10700         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
10701         dataset_temporary.  Track alloca usage into alloca_used.
10702         If dataset is large allocate and release it via malloc/free.
10704 2012-06-04  Florian Weimer  <fweimer@redhat.com>
10706         [BZ #14197]
10707         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
10709 2012-11-28  David S. Miller  <davem@davemloft.net>
10711         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10713 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10715         [BZ #14803]
10716         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
10717         of pi/2 rounded to nearest to 64 bits.
10718         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
10719         nearest to 64 bits.
10720         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
10721         bits.
10723 2012-11-28  Jeff Law <law@redhat.com>
10724             Martin Osvald <mosvald@redhat.com>
10726         [BZ #14889]
10727         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
10728         * sunrpc/svc.c: Include time.h.
10729         (__svc_accept_failed): New function.
10730         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
10731         any reason other than EINTR, call __svc_accept_failed.
10732         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
10733         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
10735 2012-11-28  Andreas Schwab  <schwab@suse.de>
10737         * scripts/abilist.awk: Also handle indirect functions in .opd
10738         section.
10740 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
10742         [BZ #13881]
10743         * sysdeps/x86/fpu/powl_helper.c: New file.
10744         * sysdeps/x86/fpu/Makefile: Likewise.
10745         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
10746         (p3): New object.
10747         (__ieee754_powl): Use __powl_helper for finite arguments except
10748         integer exponents below 8.
10749         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
10750         (p3): New object.
10751         (__ieee754_powl): Use __powl_helper for finite arguments except
10752         integer exponents below 8.
10753         * math/libm-test.inc (pow_test): Add more tests and enable some
10754         previously disabled tests.
10755         * sysdeps/i386/fpu/libm-test-ulps: Update.
10756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10758 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10759             Carlos O'Donell  <carlos_odonell@mentor.com>
10761         * nss/makedb.c (is_prime): Assert that input is odd and greater
10762         than 4.  Note that fact in a comment too.
10763         (next_prime): Add 4 to input.
10765 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10767         [BZ #11741]
10768         * libio/Makefile (tests): Add test case tst-fwrite-error.
10769         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
10770         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10771         * libio/tst-fwrite-error.c: New test case.
10773 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
10775         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
10776         before casting to void *.
10777         * include/libc-internal.h (__pointer_type): New macro.
10778         (__integer_if_pointer_type_sub): Likewise.
10779         (__integer_if_pointer_type): Likewise.
10780         (cast_to_integer): Likewise.
10781         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
10782         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
10783         before casting to atomic64_t.
10784         (atomic_exchange_acq): Likewise.
10785         (__arch_exchange_and_add_body): Likewise.
10786         (__arch_add_body): Likewise.
10787         (atomic_add_negative): Likewise.
10788         (atomic_add_zero): Likewise.
10790 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
10792         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
10793         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
10794         (add_fdes): Likewise.
10795         (linear_search_fdes): Likewise.
10796         (binary_search_unencoded_fdes): Likewise.
10798 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
10800         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
10802 2012-11-24  Adam Conrad  <adconrad@0c3.net>
10804         * configure.in: Autodetect C++ header directories.
10805         * configure: Regenerated.
10807 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
10809         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
10811 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
10813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10815 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
10817         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
10818         LDBL_MANT_DIG == 106]: Disable some tests.
10819         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10820         Likewise.
10821         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
10822         Likewise.
10824         [BZ #14871]
10825         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
10826         input for small inputs.  Return +/- pi/2 for large inputs.
10827         * math/libm-test.inc (atan_test): Add more tests.
10829         * sysdeps/generic/unwind-dw2-fde-glibc.c
10830         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
10831         __attribute__ ((unused)).
10833         [BZ #14645]
10834         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
10835         x * y if x and y are nonzero and z is zero.
10837         [BZ #14811]
10838         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
10839         nonzero exponents with absolute value below 0x1p-117 to +/-
10840         0x1p-117.
10842         [BZ #14869]
10843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
10844         up arguments below 2**-450, not just those below 2**-500.
10845         * math/libm-test.inc (hypot_test): Add another test.
10847         [BZ #14868]
10848         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10849         Return a+b for ratio over 2**120, not 2**60.
10850         * math/libm-test.inc (hypot_test): Add another test.
10852         * math/libm-test.inc (clog_test): Use
10853         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
10854         (clog10_test): Likewise.
10856         [BZ #6778]
10857         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
10859 2012-11-22  Andreas Schwab  <schwab@suse.de>
10861         * sysdeps/i386/fpu/libm-test-ulps: Update.
10863 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
10865         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
10866         printf output with newline.
10868 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
10870         [BZ #14865]
10871         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
10872         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
10873         -z nodlopen, -z initfirst and -z execstack support.
10874         * configure: Regenerated.
10876         * elf/elf.h (DF_1_NODIRECT): New macro.
10877         (DF_1_IGNMULDEF): Likewise.
10878         (DF_1_NOKSYMS): Likewise.
10879         (DF_1_NOHDR): Likewise.
10880         (DF_1_EDITED): Likewise.
10881         (DF_1_NORELOC): Likewise.
10882         (DF_1_SYMINTPOSE): Likewise.
10883         (DF_1_GLOBAUDIT): Likewise.
10884         (DF_1_SINGLETON): Likewise.
10885         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
10886         DT_1_SUPPORTED_MASK bits.
10887         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
10889 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
10891         * sysdeps/unix/make-syscalls.sh: Document prefixes.
10893 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
10895         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
10896         macro.
10898         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
10899         (sendmmsg): Move declarations...
10900         * socket/sys/socket.h: ... here.
10901         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
10902         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
10903         include it from...
10904         * socket/recvmmsg.c: ... this new file.
10905         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
10906         (sendmmsg): Rename to __sendmmsg, create weak alias and make
10907         definition of __sendmmsg hidden.
10908         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
10909         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
10910         Move ENOSYS stub into and include it from...
10911         * socket/sendmmsg.c: ... this new file.
10912         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
10913         (sysdep_routines): Move recvmmsg and sendmmsg...
10914         * socket/Makefile (routines): ... here.
10915         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
10916         (GLIBC_PRIVATE): Add __sendmmsg.
10917         * include/sys/socket.h (__sendmmsg): Add declarations.
10918         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
10919         sendmmsg.
10921 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
10923         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
10924         variable I1 with __attribute__ ((unused)).
10925         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
10927 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10929         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
10930         DUMMY variables with __attribute__ ((unused)).
10932         * bits/byteswap.h: Include <bits/types.h>.
10933         (__bswap_64): Use __uint64_t instead of unsigned long long int.
10935 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
10937         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
10938         string_t.  Do not manually set errno.
10939         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
10940         length with __strnlen.  Make sure to both set errno and return it on
10941         failure.
10943 2012-11-19  David S. Miller  <davem@davemloft.net>
10945         With help from Joseph Myers.
10946         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
10947         very large arguments properly.
10948         * math/libm-test.inc (atan_test): New tests.
10949         (atan2_test): New tests.
10950         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10951         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10953 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #14856]
10956         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
10957         Define to 3.
10959         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
10960         [POSIX] (EADDRNOTAVAIL): Likewise.
10961         [POSIX] (EAFNOSUPPORT): Likewise.
10962         [POSIX] (EALREADY): Likewise.
10963         [POSIX] (ECONNABORTED): Likewise.
10964         [POSIX] (ECONNREFUSED): Likewise.
10965         [POSIX] (ECONNRESET): Likewise.
10966         [POSIX] (EDESTADDRREQ): Likewise.
10967         [POSIX] (EDQUOT): Likewise.
10968         [POSIX] (EHOSTUNREACH): Likewise.
10969         [POSIX] (EIDRM): Likewise.
10970         [POSIX] (EISCONN): Likewise.
10971         [POSIX] (ELOOP): Likewise.
10972         [POSIX] (EMULTIHOP): Likewise.
10973         [POSIX] (ENETDOWN): Likewise.
10974         [POSIX] (ENETUNREACH): Likewise.
10975         [POSIX] (ENOBUFS): Likewise.
10976         [POSIX] (ENODATA): Likewise.
10977         [POSIX] (ENOLINK): Likewise.
10978         [POSIX] (ENOMSG): Likewise.
10979         [POSIX] (ENOPROTOOPT): Likewise.
10980         [POSIX] (ENOSR): Likewise.
10981         [POSIX] (ENOSTR): Likewise.
10982         [POSIX] (ENOTCONN): Likewise.
10983         [POSIX] (ENOTSOCK): Likewise.
10984         [POSIX] (EOPNOTSUPP): Likewise.
10985         [POSIX] (EOVERFLOW): Likewise.
10986         [POSIX] (EPROTO): Likewise.
10987         [POSIX] (EPROTONOSUPPORT): Likewise.
10988         [POSIX] (EPROTOTYPE): Likewise.
10989         [POSIX] (ESTALE): Likewise.
10990         [POSIX] (ETIME): Likewise.
10991         [POSIX] (ETXTBSY): Likewise.
10992         [POSIX] (EWOULDBLOCK): Likewise.
10993         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
10994         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
10995         [POSIX] (SEEK_CUR): Likewise.
10996         [POSIX] (SEEK_END): Likewise.
10997         [POSIX || UNIX98] (mode_t): Do not require.
10998         [POSIX] (off_t): Likewise.
10999         [POSIX] (pid_t): Likewise.
11000         [POSIX] (sys/stat.h): Do not allow header.
11001         [POSIX] (unistd.h): Likewise.
11002         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
11003         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
11004         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
11005         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
11006         require.
11007         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
11008         sigevent): Specify elements.
11009         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
11010         entry.
11011         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
11012         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
11014         * conform/data/cpio.h-data [POSIX]: Disable whole file.
11015         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
11016         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
11017         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
11018         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
11019         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
11020         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
11021         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
11022         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
11023         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
11024         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
11025         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
11026         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
11027         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
11028         Likewise.
11029         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
11030         Likewise.
11031         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
11032         Likewise.
11033         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
11034         Likewise.
11035         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
11036         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
11037         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
11038         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
11039         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
11040         Specify lower bound on value.
11041         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
11042         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
11043         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
11044         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
11045         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
11046         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
11047         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
11048         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
11049         value.
11050         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
11051         as optional.
11052         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
11053         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
11054         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
11055         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
11056         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
11057         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
11058         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
11059         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
11060         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
11061         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
11062         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
11063         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
11064         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
11065         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
11066         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
11067         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
11068         entry.
11069         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
11070         optional.
11071         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
11072         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
11073         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
11074         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
11075         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
11076         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
11077         Likewise.
11078         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
11079         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
11080         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
11081         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
11082         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
11083         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
11084         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
11085         as optional.
11086         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
11087         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
11088         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
11089         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
11090         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
11091         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
11092         specify as optional.
11093         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
11094         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
11095         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
11096         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
11097         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
11098         [XPG3] (NL_LANGMAX): Likewise.
11099         [POSIX || XPG3] (NL_MSGMAX): Likewise.
11100         [POSIX || XPG3] (NL_NMAX): Likewise.
11101         [POSIX || XPG3] (NL_SETMAX): Likewise.
11102         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
11103         [XPG3] (NZERO): Likewise.
11104         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
11105         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
11106         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
11107         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
11108         (REG_ERANGE): Expect.
11109         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
11110         optional-constant.
11111         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
11112         Use (void) in prototype.
11113         [POSIX] (*_t): Allow.
11114         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
11115         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
11116         (WRDE_BADVAL): Expect.
11118         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
11119         expect.
11120         [XPG3 || XPG4] (O_RSYNC): Likewise.
11121         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
11122         Likewise.
11123         [XPG3 || XPG4] (pthread_sigmask): Likewise.
11124         [XPG3 || XPG4] (sigqueue): Likewise.
11125         [XPG3 || XPG4] (sigtimedwait): Likewise.
11126         [XPG3 || XPG4] (sigwaitinfo): Likewise.
11127         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
11128         [XPG3 || XPG4] (vsnprintf): Likewise.
11129         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
11130         Likewise.
11131         [XPG3 || XPG4] (blksize_t): Likewise.
11132         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
11133         Likewise.
11134         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
11135         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11136         [XPG3 || XPG4] (struct itimerspec): Likewise.
11137         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
11138         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
11139         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
11140         [XPG3 || XPG4] (clockid_t): Likewise.
11141         [XPG3 || XPG4] (timer_t): Likewise.
11142         [XPG3 || XPG4] (clock_getres): Likewise.
11143         [XPG3 || XPG4] (clock_gettime): Likewise.
11144         [XPG3 || XPG4] (clock_settime): Likewise.
11145         [XPG3 || XPG4] (nanosleep): Likewise.
11146         [XPG3 || XPG4] (timer_create): Likewise.
11147         [XPG3 || XPG4] (timer_delete): Likewise.
11148         [XPG3 || XPG4] (timer_gettime): Likewise.
11149         [XPG3 || XPG4] (timer_getoverrun): Likewise.
11150         [XPG3 || XPG4] (timer_settime): Likewise.
11151         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
11152         [XPG3 || XPG4] (getlogin_r): Likewise.
11153         [XPG3 || XPG4] (pread): Likewise.
11154         [XPG3 || XPG4] (pthread_atfork): Likewise.
11155         [XPG3 || XPG4] (pwrite): Likewise.
11157         [BZ #14835]
11158         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
11159         <bits/siginfo.h>.
11161 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
11163         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
11164         finalizing MALLSTREAM.
11166         * sysdeps/mach/hurd/syncfs.c: New file.
11168 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11170         [BZ #14719]
11171         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
11172         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
11173         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
11174         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
11175         (_nss_dns_gethostbyname4_r): Likewise.
11176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
11177         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
11179 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
11181         [BZ #13763]
11182         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
11184 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
11186         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
11187         * elf/cache.c (print_entry): Print ",AArch64" for
11188         FLAG_AARCH64_LIB64
11190         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
11191         * elf/cache.c (print_entry): Print ",hard-float" for
11192         FLAG_ARM_LIBHF.
11194 2012-11-18  David S. Miller  <davem@davemloft.net>
11196         With help from Joseph Myers.
11197         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
11198         cutoff to 2**-13.
11199         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
11200         cutoff to 2**-25.
11201         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
11202         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
11203         small.
11204         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
11205         * math/libm-test.inc (y0_test): New tests.
11206         (y1_test): New tests.
11207         * sysdeps/i386/fpu/libm-test-ulps: Update.
11208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11211 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
11213         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
11214         64-bit targets.
11215         * configure: Regenerated.
11217 2012-11-17  David S. Miller  <davem@davemloft.net>
11219         [BZ #14811]
11220         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
11221         nonzero exponents with absolute value below 0x1p-128 to +/-
11222         0x1p-128.
11224 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
11226         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
11228         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
11230         * posix/getconf-speclist.c: New file.
11231         * posix/posix-envs.def: Likewise.
11232         * posix/confstr.c (START_ENV_GROUP): New macro.
11233         (END_ENV_GROUP): Likewise.
11234         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11235         (KNOWN_PRESENT_ENV_STRING): Likewise.
11236         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11237         (UNKNOWN_ENVIRONMENT): Likewise.
11238         (confstr): Include posix-envs.def instead of handling
11239         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
11240         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
11241         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
11242         (END_ENV_GROUP): Likewise.
11243         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
11244         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
11245         (UNKNOWN_ENVIRONMENT): Likewise.
11246         (__sysconf): Include posix-envs.def instead of handling associated
11247         cases directly here.
11248         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
11249         preprocessing getconf-speclist.c rather than running getconf or
11250         generating empty file.
11252 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
11254         * scripts/check-local-headers.sh: Ignore 'mach' headers.
11256 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
11258         [BZ #14672]
11259         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
11261 2012-11-16  David S. Miller  <davem@davemloft.net>
11263         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
11264         smaller than LDBL_EPSILON/2.0L, just return xm1.
11266 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
11268         * elf/tst-array1.c (init): Set constructor priority to 1000.
11269         (fini): Set destructor priority to 1000.
11270         * elf/tst-array2dep.c: Likewise.
11272 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11274         [BZ #11741]
11275         * libio/fileops.c (_IO_new_file_write): Correctly return error.
11276         (_IO_new_file_xsputn): Also return EOF if none of the input
11277         data was written when overflow failed.
11278         * libio/iopadn.c (_IO_padn): Likewise.
11279         * libio/iowpadn.c (_IO_wpadn): Likewise.
11280         * stdio-common/tst-put-error.c: Add copyright notice.
11281         (do_test): Add case for printing padded string.
11282         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
11283         _IO_padn returned error.
11284         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
11285         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
11286         return EOF.
11288 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11290         * libio/libioP.h: Add comment note that the references to C++
11291         bits are now obsolete.
11293 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11295         * math/libm-test.inc (check_complex): Use asprintf.
11297 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
11299         * debug/pcprofiledump.c (print_version): Update copyright year.
11300         * malloc/memusagestat.c (print_version): Likewise.
11302 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11304         [BZ #14831]
11305         * elf/Makefile (tests): Add tst-audit8.
11306         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
11307         ($(objpfx)tst-audit8.out): New target.
11308         (tst-audit8-ENV): New variable.
11309         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
11310         audit if l_reloc_result is NULL.
11311         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
11312         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
11313         * elf/tst-audit8.c: New file.
11315 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11317         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
11318         * misc/Makefile (CFLAGS-select.c): Define.
11319         * posix/Makefile (CFLAGS-pause.c): Define.
11321 2012-11-13  David S. Miller  <davem@davemloft.net>
11323         * crypt/Makefile: Move test targets after toplevel Rules
11324         inclusion.  Grab any necessary sysdep routines when linking.
11325         * crypt/md5.c (md5_process_block): Remove define, we will always
11326         name it __md5_process_block.
11327         (md5_finish_ctx): Update md5_process_block call.
11328         (md5_stream): Likewise.
11329         (md5_process_bytes): Likewise.
11330         (md5_process_block): Rename to __md5_process_block and move to ...
11331         * crypt/md5-block.c: ... here.
11332         * crypt/sha256.c (sha256_process_block): Move to ...
11333         * crypt/sha256-block.c: ... here.
11334         * crypt/sha512.c (sha512_process_block): Move to ...
11335         * crypt/sha512-block.c: ... here.
11336         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
11337         path.
11338         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
11339         * sysdeps/sparc/sparc64/multiarch/Makefile
11340         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
11341         crypt subdir.
11342         (localedef-aux): Add md5 crypto assembler when in locale subdir.
11343         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
11344         multiarch changes.
11345         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
11346         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
11347         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
11348         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
11349         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
11350         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
11351         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
11352         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
11353         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
11354         file.
11355         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
11356         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
11357         file.
11358         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
11360 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
11362         * timezone/tzselect.ksh: Update from tzcode git revision
11363         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
11364         * timezone/zdump.c: Likewise.
11365         * timezone/zic.c: Likewise.
11366         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
11367         in TZVERSION setting, not $(PKGVERSION).
11368         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
11369         REPORT_BUGS_TO settings.
11371         [BZ #14838]
11372         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
11373         macro.
11375 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11377         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
11378         detection to immediately after _FP_ROUND().
11379         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
11380         bits are 0.
11382 2012-11-11  David S. Miller  <davem@davemloft.net>
11384         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
11385         inttypes.h
11386         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
11387         __close rather than their public counterparts.
11389 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
11391         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
11392         file.
11393         [UNIX98] (sem_timedwait): Do not expect.
11394         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
11395         [XPG4 || UNIX98] (sockatmark): Do not expect.
11396         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
11397         (clock_getcpuclockid): Do not expect.
11398         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
11399         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
11400         Do not expect.
11401         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
11402         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
11403         [UNIX98] (vwscanf): Likewise.
11404         [UNIX98] (vswscanf): Likewise.
11406 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
11408         * timezone/version.h: Remove file.
11409         * timezone/README: Do not refer to version.h.
11410         * timezone/Makefile ($(objpfx)zic.o): New dependency on
11411         $(objpfx)version.h.
11412         ($(objpfx)zdump.o): Likewise.
11413         ($(objpfx)version.h): New target.
11415         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
11416         2012i.
11417         * timezone/README: Don't mention modification to tzselect.ksh.
11418         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
11419         work on unmodified tzselect.ksh.  Substitute version numbers in
11420         tzselect.ksh.
11422         * Makefile (format-me): Remove.
11423         (INSTALL): Adjust indentation.  Use commands directly instead of
11424         using $(format-me).
11426         * aclocal.m4 (ACX_PKGVERSION): New macro.
11427         (ACX_BUGURL): Likewise.
11428         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
11429         (PKGVERSION): New AC_DEFINE_UNQUOTED.
11430         (REPORT_BUGS_TO): Likewise.
11431         * configure: Regenerated.
11432         * config.h.in (PKGVERSION): New macro.
11433         (REPORT_BUGS_TO): Likewise.
11434         * config.make.in (PKGVERSION): New variable.
11435         (PKGVERSION_TEXI): Likewise.
11436         (REPORT_BUGS_TO): Likewise.
11437         (REPORT_BUGS_TEXI): Likewise.
11438         * Makefile (format-me): Use -I$(common-objpfx)manual.
11439         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
11440         ($(common-objpfx)manual/%): New target.
11441         (manual/%): Remove target.
11442         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
11443         (print_version): Use PKGVERSION.
11444         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
11445         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
11446         and REPORT_BUGS_TO.
11447         ($(objpfx)xtrace): Likewise.
11448         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
11449         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
11450         (print_version): Use PKGVERSION.
11451         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
11452         (do_version): Use PKGVERSION.
11453         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
11454         REPORT_BUGS_TO.
11455         (common-ldd-rewrite): Likewise.
11456         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
11457         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
11458         (print_version): Use PKGVERSION.
11459         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
11460         * elf/pldd.c (argp_program_bug_address): Remove variable.
11461         (more_help): New function.
11462         (argp): Use more_help.
11463         (print_version): Use PKGVERSION.
11464         * elf/sln.c (main): Use PKGVERSION.
11465         (usage): Use REPORT_BUGS_TO.
11466         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
11467         (top level): Use PKGVERSION.
11468         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
11469         (print_version): Use PKGVERSION.
11470         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
11471         (print_version): Use PKGVERSION.
11472         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
11473         (print_version): Use PKGVERSION.
11474         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
11475         (print_version): Use PKGVERSION.
11476         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
11477         (print_version): Use PKGVERSION.
11478         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
11479         (print_version): Use PKGVERSION.
11480         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
11481         and BUGURL.
11482         ($(objpfx)memusage): Likewise.
11483         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
11484         (do_version): Use PKGVERSION.
11485         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
11486         (print_version): Use PKGVERSION.
11487         * malloc/mtrace.pl ($PACKAGE): Remove variable.
11488         ($PKGVERSION): New variable.
11489         ($REPORT_BUGS_TO): Likewise.
11490         (usage): Use $REPORT_BUGS_TO.
11491         (top level): Use $PKGVERSION.
11492         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
11493         ($(objpfx)pkgvers.texi): New rule.
11494         ($(objpfx)stamp-pkgvers): Likewise.
11495         * manual/install.texi: Include pkgvers.texi.
11496         (--with-pkgversion): Document new configure option.
11497         (--with-bugurl): Likewise.
11498         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
11499         than necessarily for this particular distribution.  Use
11500         REPORT_BUGS_TO for where to report bugs.
11501         * INSTALL: Regenerated.
11502         * manual/libc.texinfo: Include pkgvers.texi.
11503         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
11504         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
11505         (print_version): Use PKGVERSION.
11506         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
11507         (print_version): Use PKGVERSION.
11508         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
11509         (print_version): Use PKGVERSION.
11510         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
11511         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
11512         macro.
11513         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
11514         (print_version): Use PKGVERSION.
11515         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
11516         (print_version): Use PKGVERSION.
11517         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
11518         and PKGVERSION.
11520         * timezone/checktab.awk: Update from tzcode 2012i.
11521         * timezone/ialloc.c: Likewise.
11522         * timezone/private.h: Likewise.
11523         * timezone/scheck.c: Likewise.
11524         * timezone/tzfile.h: Likewise.
11525         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
11526         (TZVERSION): Hardcode tzcode version number.
11527         * timezone/zdump.c: Update from tzcode 2012i.
11528         * timezone/zic.c: Likewise.
11529         * timezone/version.h: New file.
11530         * timezone/README: Describe version.h.  Update upstream location.
11532         [BZ #14824]
11533         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
11534         (mktemp): Enable declaration.
11535         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
11536         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
11537         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
11538         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
11539         Likewise.
11540         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
11541         Likewise.
11542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
11543         Likewise.
11544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
11545         Likewise.
11546         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
11547         Likewise.
11548         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
11549         Likewise.
11551         [BZ #14821]
11552         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
11553         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
11554         for copies of such integer values.
11555         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11556         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11558 2012-11-09  Andreas Jaeger  <aj@suse.de>
11560         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
11561         definitions and declarations that are provided by
11562         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11564 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11566         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
11567         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
11568         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
11569         definition.
11571 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11573         * elf/elf.h: Update comment before AArch64 relocations.
11575 2012-11-07  David S. Miller  <davem@davemloft.net>
11577         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
11578         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
11579         (__start_context): Declare.
11580         (__makecontext_ret): Delete.
11581         (__makecontext): Hook up __start_context instead of
11582         __makecontext_ret.
11583         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
11584         (sysdep_routines): Add __start_context when in stdlib.
11586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11588         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
11589         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
11590         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
11591         hardcoded "nm".
11592         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
11593         (READELF): New variable.  Use it instead of hardcoded "readelf".
11595 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11597         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
11598         * sysdeps/x86/Makefile: Here.
11599         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
11600         * sysdeps/x86/tst-xmmymm.sh: This.
11602 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11604         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
11605         expectations.
11606         [UNIX98] (pthread_barrier_t): Do not expect.
11607         [UNIX98] (pthread_barrierattr_t): Likewise.
11608         [UNIX98] (pthread_spinlock_t): Likewise.
11609         [UNIX98] (pthread_barrier_destroy): Likewise.
11610         [UNIX98] (pthread_barrier_init): Likewise.
11611         [UNIX98] (pthread_barrier_wait): Likewise.
11612         [UNIX98] (pthread_barrierattr_destroy): Likewise.
11613         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
11614         [UNIX98] (pthread_barrierattr_init): Likewise.
11615         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
11616         [UNIX98] (pthread_getcpuclockid): Likewise.
11617         [UNIX98] (pthread_mutex_timedlock): Likewise.
11618         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
11619         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
11620         [UNIX98] (pthread_sigmask): Likewise.
11621         [UNIX98] (pthread_spin_destroy): Likewise.
11622         [UNIX98] (pthread_spin_init): Likewise.
11623         [UNIX98] (pthread_spin_lock): Likewise.
11624         [UNIX98] (pthread_spin_trylock): Likewise.
11625         [UNIX98] (pthread_spin_unlock): Likewise.
11626         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
11627         Do not expect.
11628         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
11629         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
11630         [XPG3 || XPG4] (pthread_cond_t): Likewise.
11631         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
11632         [XPG3 || XPG4] (pthread_key_t): Likewise.
11633         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
11634         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
11635         [XPG3 || XPG4] (pthread_once_t): Likewise.
11636         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
11637         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
11638         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
11639         [XPG3 || XPG4] (pthread_t): Likewise.
11641         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
11642         not expect.
11643         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
11645         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
11646         Change function return type to int.
11648         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
11649         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
11650         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
11651         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
11652         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
11653         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
11654         [!POSIX] (posix_madvise): Likewise.
11655         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
11656         && !UNIX98].
11657         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
11658         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
11659         (mode_t): Likewise.
11660         (posix_mem_offset): Likewise.
11661         (posix_typed_mem_get_info): Likewise.
11662         (posix_typed_mem_open): Likewise.
11664         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
11665         Change condition to [XOPEN2K8].
11667         * conform/conformtest.pl: Preprocess allow-header data with -x c
11668         instead of from stdin.
11669         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
11670         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
11671         [C99-based standards] (cerfc): Likewise.
11672         [C99-based standards] (cexp2): Likewise.
11673         [C99-based standards] (cexpm1): Likewise.
11674         [C99-based standards] (clog10): Likewise.
11675         [C99-based standards] (clog1p): Likewise.
11676         [C99-based standards] (clog2): Likewise.
11677         [C99-based standards] (clgamma): Likewise.
11678         [C99-based standards] (ctgamma): Likewise.
11679         [C99-based standards] (cerff): Likewise.
11680         [C99-based standards] (cerfcf): Likewise.
11681         [C99-based standards] (cexp2f): Likewise.
11682         [C99-based standards] (cexpm1f): Likewise.
11683         [C99-based standards] (clog10f): Likewise.
11684         [C99-based standards] (clog1pf): Likewise.
11685         [C99-based standards] (clog2f): Likewise.
11686         [C99-based standards] (clgammaf): Likewise.
11687         [C99-based standards] (ctgammaf): Likewise.
11688         [C99-based standards] (cerfl): Likewise.
11689         [C99-based standards] (cerfcl): Likewise.
11690         [C99-based standards] (cexp2l): Likewise.
11691         [C99-based standards] (cexpm1l): Likewise.
11692         [C99-based standards] (clog10l): Likewise.
11693         [C99-based standards] (clog1pl): Likewise.
11694         [C99-based standards] (clog2l): Likewise.
11695         [C99-based standards] (clgammal): Likewise.
11696         [C99-based standards] (ctgammal): Likewise.
11697         * conform/data/inttypes.h-data [C99-based standards]: Include
11698         stdint.h-data.  Remove all expectations for stdint.h contents.
11699         [C99-based standards] (PRI*): Do not allow.
11700         [C99-based standards] (SCN*): Likewise.
11701         [C99-based standards] (*_t): Likewise.
11702         [C99-based-standards] (PRId8): Expect macro.
11703         [C99-based-standards] (PRIi8): Likewise.
11704         [C99-based-standards] (PRIo8): Likewise.
11705         [C99-based-standards] (PRIu8): Likewise.
11706         [C99-based-standards] (PRIx8): Likewise.
11707         [C99-based-standards] (PRIX8): Likewise.
11708         [C99-based-standards] (SCNd8): Likewise.
11709         [C99-based-standards] (SCNi8): Likewise.
11710         [C99-based-standards] (SCNo8): Likewise.
11711         [C99-based-standards] (SCNu8): Likewise.
11712         [C99-based-standards] (SCNx8): Likewise.
11713         [C99-based-standards] (PRIdLEAST8): Likewise.
11714         [C99-based-standards] (PRIiLEAST8): Likewise.
11715         [C99-based-standards] (PRIoLEAST8): Likewise.
11716         [C99-based-standards] (PRIuLEAST8): Likewise.
11717         [C99-based-standards] (PRIxLEAST8): Likewise.
11718         [C99-based-standards] (PRIXLEAST8): Likewise.
11719         [C99-based-standards] (SCNdLEAST8): Likewise.
11720         [C99-based-standards] (SCNiLEAST8): Likewise.
11721         [C99-based-standards] (SCNoLEAST8): Likewise.
11722         [C99-based-standards] (SCNuLEAST8): Likewise.
11723         [C99-based-standards] (SCNxLEAST8): Likewise.
11724         [C99-based-standards] (PRIdFAST8): Likewise.
11725         [C99-based-standards] (PRIiFAST8): Likewise.
11726         [C99-based-standards] (PRIoFAST8): Likewise.
11727         [C99-based-standards] (PRIuFAST8): Likewise.
11728         [C99-based-standards] (PRIxFAST8): Likewise.
11729         [C99-based-standards] (PRIXFAST8): Likewise.
11730         [C99-based-standards] (SCNdFAST8): Likewise.
11731         [C99-based-standards] (SCNiFAST8): Likewise.
11732         [C99-based-standards] (SCNoFAST8): Likewise.
11733         [C99-based-standards] (SCNuFAST8): Likewise.
11734         [C99-based-standards] (SCNxFAST8): Likewise.
11735         [C99-based-standards] (PRId16): Likewise.
11736         [C99-based-standards] (PRIi16): Likewise.
11737         [C99-based-standards] (PRIo16): Likewise.
11738         [C99-based-standards] (PRIu16): Likewise.
11739         [C99-based-standards] (PRIx16): Likewise.
11740         [C99-based-standards] (PRIX16): Likewise.
11741         [C99-based-standards] (SCNd16): Likewise.
11742         [C99-based-standards] (SCNi16): Likewise.
11743         [C99-based-standards] (SCNo16): Likewise.
11744         [C99-based-standards] (SCNu16): Likewise.
11745         [C99-based-standards] (SCNx16): Likewise.
11746         [C99-based-standards] (PRIdLEAST16): Likewise.
11747         [C99-based-standards] (PRIiLEAST16): Likewise.
11748         [C99-based-standards] (PRIoLEAST16): Likewise.
11749         [C99-based-standards] (PRIuLEAST16): Likewise.
11750         [C99-based-standards] (PRIxLEAST16): Likewise.
11751         [C99-based-standards] (PRIXLEAST16): Likewise.
11752         [C99-based-standards] (SCNdLEAST16): Likewise.
11753         [C99-based-standards] (SCNiLEAST16): Likewise.
11754         [C99-based-standards] (SCNoLEAST16): Likewise.
11755         [C99-based-standards] (SCNuLEAST16): Likewise.
11756         [C99-based-standards] (SCNxLEAST16): Likewise.
11757         [C99-based-standards] (PRIdFAST16): Likewise.
11758         [C99-based-standards] (PRIiFAST16): Likewise.
11759         [C99-based-standards] (PRIoFAST16): Likewise.
11760         [C99-based-standards] (PRIuFAST16): Likewise.
11761         [C99-based-standards] (PRIxFAST16): Likewise.
11762         [C99-based-standards] (PRIXFAST16): Likewise.
11763         [C99-based-standards] (SCNdFAST16): Likewise.
11764         [C99-based-standards] (SCNiFAST16): Likewise.
11765         [C99-based-standards] (SCNoFAST16): Likewise.
11766         [C99-based-standards] (SCNuFAST16): Likewise.
11767         [C99-based-standards] (SCNxFAST16): Likewise.
11768         [C99-based-standards] (PRId32): Likewise.
11769         [C99-based-standards] (PRIi32): Likewise.
11770         [C99-based-standards] (PRIo32): Likewise.
11771         [C99-based-standards] (PRIu32): Likewise.
11772         [C99-based-standards] (PRIx32): Likewise.
11773         [C99-based-standards] (PRIX32): Likewise.
11774         [C99-based-standards] (SCNd32): Likewise.
11775         [C99-based-standards] (SCNi32): Likewise.
11776         [C99-based-standards] (SCNo32): Likewise.
11777         [C99-based-standards] (SCNu32): Likewise.
11778         [C99-based-standards] (SCNx32): Likewise.
11779         [C99-based-standards] (PRIdLEAST32): Likewise.
11780         [C99-based-standards] (PRIiLEAST32): Likewise.
11781         [C99-based-standards] (PRIoLEAST32): Likewise.
11782         [C99-based-standards] (PRIuLEAST32): Likewise.
11783         [C99-based-standards] (PRIxLEAST32): Likewise.
11784         [C99-based-standards] (PRIXLEAST32): Likewise.
11785         [C99-based-standards] (SCNdLEAST32): Likewise.
11786         [C99-based-standards] (SCNiLEAST32): Likewise.
11787         [C99-based-standards] (SCNoLEAST32): Likewise.
11788         [C99-based-standards] (SCNuLEAST32): Likewise.
11789         [C99-based-standards] (SCNxLEAST32): Likewise.
11790         [C99-based-standards] (PRIdFAST32): Likewise.
11791         [C99-based-standards] (PRIiFAST32): Likewise.
11792         [C99-based-standards] (PRIoFAST32): Likewise.
11793         [C99-based-standards] (PRIuFAST32): Likewise.
11794         [C99-based-standards] (PRIxFAST32): Likewise.
11795         [C99-based-standards] (PRIXFAST32): Likewise.
11796         [C99-based-standards] (SCNdFAST32): Likewise.
11797         [C99-based-standards] (SCNiFAST32): Likewise.
11798         [C99-based-standards] (SCNoFAST32): Likewise.
11799         [C99-based-standards] (SCNuFAST32): Likewise.
11800         [C99-based-standards] (SCNxFAST32): Likewise.
11801         [C99-based-standards] (PRId64): Likewise.
11802         [C99-based-standards] (PRIi64): Likewise.
11803         [C99-based-standards] (PRIo64): Likewise.
11804         [C99-based-standards] (PRIu64): Likewise.
11805         [C99-based-standards] (PRIx64): Likewise.
11806         [C99-based-standards] (PRIX64): Likewise.
11807         [C99-based-standards] (SCNd64): Likewise.
11808         [C99-based-standards] (SCNi64): Likewise.
11809         [C99-based-standards] (SCNo64): Likewise.
11810         [C99-based-standards] (SCNu64): Likewise.
11811         [C99-based-standards] (SCNx64): Likewise.
11812         [C99-based-standards] (PRIdLEAST64): Likewise.
11813         [C99-based-standards] (PRIiLEAST64): Likewise.
11814         [C99-based-standards] (PRIoLEAST64): Likewise.
11815         [C99-based-standards] (PRIuLEAST64): Likewise.
11816         [C99-based-standards] (PRIxLEAST64): Likewise.
11817         [C99-based-standards] (PRIXLEAST64): Likewise.
11818         [C99-based-standards] (SCNdLEAST64): Likewise.
11819         [C99-based-standards] (SCNiLEAST64): Likewise.
11820         [C99-based-standards] (SCNoLEAST64): Likewise.
11821         [C99-based-standards] (SCNuLEAST64): Likewise.
11822         [C99-based-standards] (SCNxLEAST64): Likewise.
11823         [C99-based-standards] (PRIdFAST64): Likewise.
11824         [C99-based-standards] (PRIiFAST64): Likewise.
11825         [C99-based-standards] (PRIoFAST64): Likewise.
11826         [C99-based-standards] (PRIuFAST64): Likewise.
11827         [C99-based-standards] (PRIxFAST64): Likewise.
11828         [C99-based-standards] (PRIXFAST64): Likewise.
11829         [C99-based-standards] (SCNdFAST64): Likewise.
11830         [C99-based-standards] (SCNiFAST64): Likewise.
11831         [C99-based-standards] (SCNoFAST64): Likewise.
11832         [C99-based-standards] (SCNuFAST64): Likewise.
11833         [C99-based-standards] (SCNxFAST64): Likewise.
11834         [C99-based-standards] (PRIdMAX): Likewise.
11835         [C99-based-standards] (PRIiMAX): Likewise.
11836         [C99-based-standards] (PRIoMAX): Likewise.
11837         [C99-based-standards] (PRIuMAX): Likewise.
11838         [C99-based-standards] (PRIxMAX): Likewise.
11839         [C99-based-standards] (PRIXMAX): Likewise.
11840         [C99-based-standards] (SCNdMAX): Likewise.
11841         [C99-based-standards] (SCNiMAX): Likewise.
11842         [C99-based-standards] (SCNoMAX): Likewise.
11843         [C99-based-standards] (SCNuMAX): Likewise.
11844         [C99-based-standards] (SCNxMAX): Likewise.
11845         [C99-based-standards] (PRIdPTR): Likewise.
11846         [C99-based-standards] (PRIiPTR): Likewise.
11847         [C99-based-standards] (PRIoPTR): Likewise.
11848         [C99-based-standards] (PRIuPTR): Likewise.
11849         [C99-based-standards] (PRIxPTR): Likewise.
11850         [C99-based-standards] (PRIXPTR): Likewise.
11851         [C99-based-standards] (SCNdPTR): Likewise.
11852         [C99-based-standards] (SCNiPTR): Likewise.
11853         [C99-based-standards] (SCNoPTR): Likewise.
11854         [C99-based-standards] (SCNuPTR): Likewise.
11855         [C99-based-standards] (SCNxPTR): Likewise.
11856         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
11857         allow.
11858         * conform/data/stdint.h-data: Update comments to clarify
11859         requirements.
11860         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
11861         type.
11862         [C99-based standards] (INT8_MAX): Likewise.
11863         [C99-based standards] (INT16_MIN): Likewise.
11864         [C99-based standards] (INT16_MAX): Likewise.
11865         [C99-based standards] (INT32_MIN): Likewise.
11866         [C99-based standards] (INT32_MAX): Likewise.
11867         [C99-based standards] (INT64_MIN): Likewise.
11868         [C99-based standards] (INT64_MAX): Likewise.
11869         [C99-based standards] (UINT8_MAX): Likewise.
11870         [C99-based standards] (UINT16_MAX): Likewise.
11871         [C99-based standards] (UINT32_MAX): Likewise.
11872         [C99-based standards] (UINT64_MAX): Likewise.
11873         [C99-based standards] (INT_LEAST8_MIN): Likewise.
11874         [C99-based standards] (INT_LEAST8_MAX): Likewise.
11875         [C99-based standards] (INT_LEAST16_MIN): Likewise.
11876         [C99-based standards] (INT_LEAST16_MAX): Likewise.
11877         [C99-based standards] (INT_LEAST32_MIN): Likewise.
11878         [C99-based standards] (INT_LEAST32_MAX): Likewise.
11879         [C99-based standards] (INT_LEAST64_MIN): Likewise.
11880         [C99-based standards] (INT_LEAST64_MAX): Likewise.
11881         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
11882         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
11883         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
11884         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
11885         [C99-based standards] (INT_FAST8_MIN): Likewise.
11886         [C99-based standards] (INT_FAST8_MAX): Likewise.
11887         [C99-based standards] (INT_FAST16_MIN): Likewise.
11888         [C99-based standards] (INT_FAST16_MAX): Likewise.
11889         [C99-based standards] (INT_FAST32_MIN): Likewise.
11890         [C99-based standards] (INT_FAST32_MAX): Likewise.
11891         [C99-based standards] (INT_FAST64_MIN): Likewise.
11892         [C99-based standards] (INT_FAST64_MAX): Likewise.
11893         [C99-based standards] (UINT_FAST8_MAX): Likewise.
11894         [C99-based standards] (UINT_FAST16_MAX): Likewise.
11895         [C99-based standards] (UINT_FAST32_MAX): Likewise.
11896         [C99-based standards] (UINT_FAST64_MAX): Likewise.
11897         [C99-based standards] (INTPTR_MIN): Likewise.
11898         [C99-based standards] (INTPTR_MAX): Likewise.
11899         [C99-based standards] (UINTPTR_MAX): Likewise.
11900         [C99-based standards] (INTMAX_MIN): Likewise.
11901         [C99-based standards] (INTMAX_MAX): Likewise.
11902         [C99-based standards] (UINTMAX_MAX): Likewise.
11903         [C99-based standards] (PTRDIFF_MIN): Likewise.
11904         [C99-based standards] (PTRDIFF_MAX): Likewise.
11905         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
11906         [C99-based standards] (SIZE_MAX): Likewise.
11907         [C99-based standards] (WCHAR_MAX): Likewise.
11908         [C99-based standards] (WINT_MAX): Likewise.
11909         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
11910         constraint on value.
11911         [C99-based standards] (WCHAR_MIN): Likewise.
11912         [C99-based standards] (WINT_MIN): Likewise.
11913         [C99-based standards] (*_t): Allow.
11914         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
11915         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
11916         Include math.h-data and complex.h-data.  Remove all expectations
11917         of math.h and complex.h contents.
11918         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
11919         at end of line.
11920         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
11921         (struct tm): Expect tag.
11922         [C99-based-standards] (wcstof): Expect function.
11923         [C99-based-standards] (wcstold): Likewise.
11924         [C99-based-standards] (wcstoll): Likewise.
11925         [C99-based-standards] (wcstoull): Likewise.
11926         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
11927         macro-int-constant.  Specify type.
11928         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
11929         constraint on value.
11930         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11931         Specify type.
11932         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
11933         Specify value.
11934         [ISO C standards]: Do not allow headers.
11935         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
11936         wcs[abcdefghijklmnopqrstuvwxyz]*.
11937         [ISO C standards] (*_t): Do not allow.
11938         * conform/data/wctype.h-data [C99-based standards] (iswblank):
11939         Expect function.
11940         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
11941         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
11942         Specify type.
11943         [ISO C standards]: Do not allow headers.
11944         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
11945         is[abcdefghijklmnopqrstuvwxyz]*.
11946         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
11947         to[abcdefghijklmnopqrstuvwxyz]*.
11948         [ISO C standards] (*_t): Do not allow.
11949         * conform/data/stdalign.h-data: New file.
11950         * conform/data/stdbool.h-data: Likewise.
11951         * conform/data/stdnoreturn.h-data: Likewise.
11953 2012-11-07  Roland McGrath  <roland@hack.frob.com>
11955         [BZ #14815]
11956         * manual/filesys.texi (Directory Entries): Typo fix.
11957         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
11959 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11961         * elf/elf.h (EM_AARCH64): New macro.
11962         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
11963         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
11964         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
11965         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
11966         (R_AARCH64_TLSDESC): Likewise.
11967         (NT_ARM_TLS): Likewise.
11968         (NT_ARM_HW_BREAK): Likewise.
11969         (NT_ARM_HW_WATCH): Likewise.
11971 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11973         [BZ #14811]
11974         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
11975         (__ieee754_powl): Saturate nonzero exponents with absolute value
11976         below 0x1p-79 to +/- 0x1p-79.
11977         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
11978         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
11979         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
11980         nonzero exponents with absolute value below 0x1p-32 to +/-
11981         0x1p-32.
11982         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
11983         (__ieee754_powl): Saturate nonzero exponents with absolute value
11984         below 0x1p-79 to +/- 0x1p-79.
11985         * math/libm-test.inc (pow_test): Add more tests.
11987 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11989         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
11990         _dl_s390_cap_flags with kernel. Increase string length.
11991         (_dl_s390_platforms): Add z196 and zEC12.
11993 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
11995         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
11996         Change XOPEN21K to XOPEN2K.
11998 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
12000         * string/memmove.c: Use memcpy when possible.
12002 2012-11-06  Andreas Jaeger  <aj@suse.de>
12004         * po/eo.po: Update from translation team.
12006 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
12008         [BZ #14793]
12009         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
12010         exponent and small x and y exponents, scale x or y up.  Increase
12011         by 2 the exponent used in scaling up.
12012         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12013         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12014         * math/libm-test.inc (fma_test): Add more tests.
12015         (fma_test_towardzero): Likewise.
12016         (fma_test_downward): Likewise.
12017         (fma_test_upward): Likewise.
12019 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
12021         [BZ #14805]
12022         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
12023         fenv_t *.
12025         [BZ #14801]
12026         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
12027         namespace for names of struct fields.
12028         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
12029         fenv_t fields.
12030         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
12031         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
12033 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12035         [BZ #3665]
12036         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
12038 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12040         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
12041         PTR_DEMANGLE.
12043         [BZ #5246]
12044         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
12045         PTR_DEMANGLE.
12047 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
12049         [BZ #14797]
12050         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
12051         definitely overflow as x * y not x * y + z.
12052         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12054         * math/libm-test.inc (fma_test): Add more tests.
12055         (fma_test_towardzero): Likewise.
12056         (fma_test_downward): Likewise.
12057         (fma_test_upward): Likewise.
12059 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
12061         [BZ #157]
12063         * include/stub-tag.h: Remove file.
12064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
12065         '#include' of it.
12066         * manual/maint.texi (Porting): Don't reference it.
12067         * Makerules ($(objpfx)stubs): Likewise.
12068         * dirent/closedir.c: Don't include <stub-tag.h>.
12069         * dirent/dirfd.c: Likewise.
12070         * dirent/fdopendir.c: Likewise.
12071         * dirent/getdents.c: Likewise.
12072         * dirent/getdents64.c: Likewise.
12073         * dirent/opendir.c: Likewise.
12074         * dirent/readdir.c: Likewise.
12075         * dirent/readdir64.c: Likewise.
12076         * dirent/readdir64_r.c: Likewise.
12077         * dirent/readdir_r.c: Likewise.
12078         * dirent/rewinddir.c: Likewise.
12079         * dirent/seekdir.c: Likewise.
12080         * dirent/telldir.c: Likewise.
12081         * gmon/profil.c: Likewise.
12082         * grp/setgroups.c: Likewise.
12083         * inet/if_index.c: Likewise.
12084         * io/access.c: Likewise.
12085         * io/chdir.c: Likewise.
12086         * io/chmod.c: Likewise.
12087         * io/chown.c: Likewise.
12088         * io/close.c: Likewise.
12089         * io/dup.c: Likewise.
12090         * io/dup2.c: Likewise.
12091         * io/dup3.c: Likewise.
12092         * io/euidaccess.c: Likewise.
12093         * io/faccessat.c: Likewise.
12094         * io/fchdir.c: Likewise.
12095         * io/fchmod.c: Likewise.
12096         * io/fchmodat.c: Likewise.
12097         * io/fchown.c: Likewise.
12098         * io/fchownat.c: Likewise.
12099         * io/fcntl.c: Likewise.
12100         * io/flock.c: Likewise.
12101         * io/fstatfs.c: Likewise.
12102         * io/fstatfs64.c: Likewise.
12103         * io/fstatvfs.c: Likewise.
12104         * io/fstatvfs64.c: Likewise.
12105         * io/futimens.c: Likewise.
12106         * io/fxstat.c: Likewise.
12107         * io/fxstat64.c: Likewise.
12108         * io/fxstatat.c: Likewise.
12109         * io/fxstatat64.c: Likewise.
12110         * io/getcwd.c: Likewise.
12111         * io/isatty.c: Likewise.
12112         * io/lchmod.c: Likewise.
12113         * io/lchown.c: Likewise.
12114         * io/link.c: Likewise.
12115         * io/linkat.c: Likewise.
12116         * io/lseek.c: Likewise.
12117         * io/lseek64.c: Likewise.
12118         * io/lxstat64.c: Likewise.
12119         * io/mkdir.c: Likewise.
12120         * io/mkdirat.c: Likewise.
12121         * io/mkfifo.c: Likewise.
12122         * io/mkfifoat.c: Likewise.
12123         * io/open.c: Likewise.
12124         * io/open64.c: Likewise.
12125         * io/openat.c: Likewise.
12126         * io/openat64.c: Likewise.
12127         * io/pipe.c: Likewise.
12128         * io/pipe2.c: Likewise.
12129         * io/poll.c: Likewise.
12130         * io/posix_fadvise.c: Likewise.
12131         * io/posix_fadvise64.c: Likewise.
12132         * io/posix_fallocate.c: Likewise.
12133         * io/posix_fallocate64.c: Likewise.
12134         * io/read.c: Likewise.
12135         * io/readlink.c: Likewise.
12136         * io/readlinkat.c: Likewise.
12137         * io/rmdir.c: Likewise.
12138         * io/sendfile.c: Likewise.
12139         * io/sendfile64.c: Likewise.
12140         * io/statfs.c: Likewise.
12141         * io/statfs64.c: Likewise.
12142         * io/statvfs.c: Likewise.
12143         * io/statvfs64.c: Likewise.
12144         * io/symlink.c: Likewise.
12145         * io/symlinkat.c: Likewise.
12146         * io/ttyname.c: Likewise.
12147         * io/ttyname_r.c: Likewise.
12148         * io/umask.c: Likewise.
12149         * io/unlink.c: Likewise.
12150         * io/unlinkat.c: Likewise.
12151         * io/utime.c: Likewise.
12152         * io/utimensat.c: Likewise.
12153         * io/write.c: Likewise.
12154         * io/xmknod.c: Likewise.
12155         * io/xmknodat.c: Likewise.
12156         * io/xstat.c: Likewise.
12157         * io/xstat64.c: Likewise.
12158         * login/getpt.c: Likewise.
12159         * login/grantpt.c: Likewise.
12160         * login/unlockpt.c: Likewise.
12161         * math/e_acoshl.c: Likewise.
12162         * math/e_acosl.c: Likewise.
12163         * math/e_asinl.c: Likewise.
12164         * math/e_atan2l.c: Likewise.
12165         * math/e_atanhl.c: Likewise.
12166         * math/e_coshl.c: Likewise.
12167         * math/e_expl.c: Likewise.
12168         * math/e_fmodl.c: Likewise.
12169         * math/e_gammal_r.c: Likewise.
12170         * math/e_hypotl.c: Likewise.
12171         * math/e_j0l.c: Likewise.
12172         * math/e_j1l.c: Likewise.
12173         * math/e_jnl.c: Likewise.
12174         * math/e_lgammal_r.c: Likewise.
12175         * math/e_log10l.c: Likewise.
12176         * math/e_log2l.c: Likewise.
12177         * math/e_logl.c: Likewise.
12178         * math/e_powl.c: Likewise.
12179         * math/e_rem_pio2l.c: Likewise.
12180         * math/e_sinhl.c: Likewise.
12181         * math/e_sqrtl.c: Likewise.
12182         * math/fclrexcpt.c: Likewise.
12183         * math/fedisblxcpt.c: Likewise.
12184         * math/feenablxcpt.c: Likewise.
12185         * math/fegetenv.c: Likewise.
12186         * math/fegetexcept.c: Likewise.
12187         * math/fegetround.c: Likewise.
12188         * math/feholdexcpt.c: Likewise.
12189         * math/fesetenv.c: Likewise.
12190         * math/fesetround.c: Likewise.
12191         * math/feupdateenv.c: Likewise.
12192         * math/fgetexcptflg.c: Likewise.
12193         * math/fraiseexcpt.c: Likewise.
12194         * math/fsetexcptflg.c: Likewise.
12195         * math/ftestexcept.c: Likewise.
12196         * math/k_cosl.c: Likewise.
12197         * math/k_rem_pio2l.c: Likewise.
12198         * math/k_sinl.c: Likewise.
12199         * math/k_tanl.c: Likewise.
12200         * math/s_asinhl.c: Likewise.
12201         * math/s_atanl.c: Likewise.
12202         * math/s_cbrtl.c: Likewise.
12203         * math/s_erfl.c: Likewise.
12204         * math/s_expm1l.c: Likewise.
12205         * math/s_log1pl.c: Likewise.
12206         * math/s_tanhl.c: Likewise.
12207         * misc/acct.c: Likewise.
12208         * misc/brk.c: Likewise.
12209         * misc/chflags.c: Likewise.
12210         * misc/chroot.c: Likewise.
12211         * misc/fchflags.c: Likewise.
12212         * misc/fgetxattr.c: Likewise.
12213         * misc/flistxattr.c: Likewise.
12214         * misc/fremovexattr.c: Likewise.
12215         * misc/fsetxattr.c: Likewise.
12216         * misc/fsync.c: Likewise.
12217         * misc/ftruncate.c: Likewise.
12218         * misc/futimes.c: Likewise.
12219         * misc/futimesat.c: Likewise.
12220         * misc/getdomain.c: Likewise.
12221         * misc/getdtsz.c: Likewise.
12222         * misc/gethostid.c: Likewise.
12223         * misc/gethostname.c: Likewise.
12224         * misc/getloadavg.c: Likewise.
12225         * misc/getpagesize.c: Likewise.
12226         * misc/getsysstats.c: Likewise.
12227         * misc/getxattr.c: Likewise.
12228         * misc/gtty.c: Likewise.
12229         * misc/ioctl.c: Likewise.
12230         * misc/lgetxattr.c: Likewise.
12231         * misc/listxattr.c: Likewise.
12232         * misc/llistxattr.c: Likewise.
12233         * misc/lremovexattr.c: Likewise.
12234         * misc/lsetxattr.c: Likewise.
12235         * misc/lutimes.c: Likewise.
12236         * misc/madvise.c: Likewise.
12237         * misc/mincore.c: Likewise.
12238         * misc/mlock.c: Likewise.
12239         * misc/mlockall.c: Likewise.
12240         * misc/mmap.c: Likewise.
12241         * misc/mprotect.c: Likewise.
12242         * misc/msync.c: Likewise.
12243         * misc/munlock.c: Likewise.
12244         * misc/munlockall.c: Likewise.
12245         * misc/munmap.c: Likewise.
12246         * misc/preadv.c: Likewise.
12247         * misc/preadv64.c: Likewise.
12248         * misc/ptrace.c: Likewise.
12249         * misc/pwritev.c: Likewise.
12250         * misc/pwritev64.c: Likewise.
12251         * misc/readv.c: Likewise.
12252         * misc/reboot.c: Likewise.
12253         * misc/remap_file_pages.c: Likewise.
12254         * misc/removexattr.c: Likewise.
12255         * misc/revoke.c: Likewise.
12256         * misc/select.c: Likewise.
12257         * misc/setdomain.c: Likewise.
12258         * misc/setegid.c: Likewise.
12259         * misc/seteuid.c: Likewise.
12260         * misc/sethostid.c: Likewise.
12261         * misc/sethostname.c: Likewise.
12262         * misc/setregid.c: Likewise.
12263         * misc/setreuid.c: Likewise.
12264         * misc/setxattr.c: Likewise.
12265         * misc/sstk.c: Likewise.
12266         * misc/stty.c: Likewise.
12267         * misc/swapoff.c: Likewise.
12268         * misc/swapon.c: Likewise.
12269         * misc/sync.c: Likewise.
12270         * misc/syncfs.c: Likewise.
12271         * misc/syscall.c: Likewise.
12272         * misc/truncate.c: Likewise.
12273         * misc/ualarm.c: Likewise.
12274         * misc/usleep.c: Likewise.
12275         * misc/ustat.c: Likewise.
12276         * misc/utimes.c: Likewise.
12277         * misc/vhangup.c: Likewise.
12278         * misc/writev.c: Likewise.
12279         * posix/_exit.c: Likewise.
12280         * posix/alarm.c: Likewise.
12281         * posix/execve.c: Likewise.
12282         * posix/fexecve.c: Likewise.
12283         * posix/fork.c: Likewise.
12284         * posix/fpathconf.c: Likewise.
12285         * posix/getaddrinfo.c: Likewise.
12286         * posix/getegid.c: Likewise.
12287         * posix/geteuid.c: Likewise.
12288         * posix/getgid.c: Likewise.
12289         * posix/getgroups.c: Likewise.
12290         * posix/getlogin.c: Likewise.
12291         * posix/getlogin_r.c: Likewise.
12292         * posix/getpgid.c: Likewise.
12293         * posix/getpid.c: Likewise.
12294         * posix/getppid.c: Likewise.
12295         * posix/getresgid.c: Likewise.
12296         * posix/getresuid.c: Likewise.
12297         * posix/getsid.c: Likewise.
12298         * posix/getuid.c: Likewise.
12299         * posix/glob64.c: Likewise.
12300         * posix/nanosleep.c: Likewise.
12301         * posix/pathconf.c: Likewise.
12302         * posix/pause.c: Likewise.
12303         * posix/posix_madvise.c: Likewise.
12304         * posix/pread.c: Likewise.
12305         * posix/pread64.c: Likewise.
12306         * posix/pwrite.c: Likewise.
12307         * posix/pwrite64.c: Likewise.
12308         * posix/sched_getaffinity.c: Likewise.
12309         * posix/sched_getp.c: Likewise.
12310         * posix/sched_gets.c: Likewise.
12311         * posix/sched_primax.c: Likewise.
12312         * posix/sched_primin.c: Likewise.
12313         * posix/sched_rr_gi.c: Likewise.
12314         * posix/sched_setaffinity.c: Likewise.
12315         * posix/sched_setp.c: Likewise.
12316         * posix/sched_sets.c: Likewise.
12317         * posix/sched_yield.c: Likewise.
12318         * posix/setgid.c: Likewise.
12319         * posix/setlogin.c: Likewise.
12320         * posix/setpgid.c: Likewise.
12321         * posix/setresgid.c: Likewise.
12322         * posix/setresuid.c: Likewise.
12323         * posix/setsid.c: Likewise.
12324         * posix/setuid.c: Likewise.
12325         * posix/sleep.c: Likewise.
12326         * posix/spawni.c: Likewise.
12327         * posix/sysconf.c: Likewise.
12328         * posix/times.c: Likewise.
12329         * posix/wait.c: Likewise.
12330         * posix/wait3.c: Likewise.
12331         * posix/wait4.c: Likewise.
12332         * posix/waitpid.c: Likewise.
12333         * resolv/gai_sigqueue.c: Likewise.
12334         * resource/getpriority.c: Likewise.
12335         * resource/getrlimit.c: Likewise.
12336         * resource/getrusage.c: Likewise.
12337         * resource/nice.c: Likewise.
12338         * resource/setpriority.c: Likewise.
12339         * resource/setrlimit.c: Likewise.
12340         * resource/ulimit.c: Likewise.
12341         * rt/aio_cancel.c: Likewise.
12342         * rt/aio_fsync.c: Likewise.
12343         * rt/aio_read.c: Likewise.
12344         * rt/aio_sigqueue.c: Likewise.
12345         * rt/aio_suspend.c: Likewise.
12346         * rt/aio_write.c: Likewise.
12347         * rt/clock_getres.c: Likewise.
12348         * rt/clock_gettime.c: Likewise.
12349         * rt/clock_nanosleep.c: Likewise.
12350         * rt/clock_settime.c: Likewise.
12351         * rt/lio_listio.c: Likewise.
12352         * rt/mq_close.c: Likewise.
12353         * rt/mq_getattr.c: Likewise.
12354         * rt/mq_notify.c: Likewise.
12355         * rt/mq_open.c: Likewise.
12356         * rt/mq_receive.c: Likewise.
12357         * rt/mq_send.c: Likewise.
12358         * rt/mq_setattr.c: Likewise.
12359         * rt/mq_timedreceive.c: Likewise.
12360         * rt/mq_timedsend.c: Likewise.
12361         * rt/mq_unlink.c: Likewise.
12362         * rt/shm_open.c: Likewise.
12363         * rt/shm_unlink.c: Likewise.
12364         * rt/timer_create.c: Likewise.
12365         * rt/timer_delete.c: Likewise.
12366         * rt/timer_getoverr.c: Likewise.
12367         * rt/timer_gettime.c: Likewise.
12368         * rt/timer_settime.c: Likewise.
12369         * setjmp/__longjmp.c: Likewise.
12370         * setjmp/setjmp.c: Likewise.
12371         * signal/kill.c: Likewise.
12372         * signal/killpg.c: Likewise.
12373         * signal/raise.c: Likewise.
12374         * signal/sigaction.c: Likewise.
12375         * signal/sigaltstack.c: Likewise.
12376         * signal/sigblock.c: Likewise.
12377         * signal/sigignore.c: Likewise.
12378         * signal/sigintr.c: Likewise.
12379         * signal/signal.c: Likewise.
12380         * signal/sigpause.c: Likewise.
12381         * signal/sigpending.c: Likewise.
12382         * signal/sigqueue.c: Likewise.
12383         * signal/sigreturn.c: Likewise.
12384         * signal/sigset.c: Likewise.
12385         * signal/sigsetmask.c: Likewise.
12386         * signal/sigstack.c: Likewise.
12387         * signal/sigsuspend.c: Likewise.
12388         * signal/sigtimedwait.c: Likewise.
12389         * signal/sigvec.c: Likewise.
12390         * signal/sigwait.c: Likewise.
12391         * signal/sigwaitinfo.c: Likewise.
12392         * signal/sysv_signal.c: Likewise.
12393         * socket/accept.c: Likewise.
12394         * socket/accept4.c: Likewise.
12395         * socket/bind.c: Likewise.
12396         * socket/connect.c: Likewise.
12397         * socket/getpeername.c: Likewise.
12398         * socket/getsockname.c: Likewise.
12399         * socket/getsockopt.c: Likewise.
12400         * socket/isfdtype.c: Likewise.
12401         * socket/listen.c: Likewise.
12402         * socket/recv.c: Likewise.
12403         * socket/recvfrom.c: Likewise.
12404         * socket/recvmsg.c: Likewise.
12405         * socket/send.c: Likewise.
12406         * socket/sendmsg.c: Likewise.
12407         * socket/sendto.c: Likewise.
12408         * socket/setsockopt.c: Likewise.
12409         * socket/shutdown.c: Likewise.
12410         * socket/sockatmark.c: Likewise.
12411         * socket/socket.c: Likewise.
12412         * socket/socketpair.c: Likewise.
12413         * stdio-common/ctermid.c: Likewise.
12414         * stdio-common/cuserid.c: Likewise.
12415         * stdio-common/remove.c: Likewise.
12416         * stdio-common/rename.c: Likewise.
12417         * stdio-common/renameat.c: Likewise.
12418         * stdio-common/tempname.c: Likewise.
12419         * stdlib/getcontext.c: Likewise.
12420         * stdlib/makecontext.c: Likewise.
12421         * stdlib/setcontext.c: Likewise.
12422         * stdlib/swapcontext.c: Likewise.
12423         * stdlib/system.c: Likewise.
12424         * streams/fattach.c: Likewise.
12425         * streams/fdetach.c: Likewise.
12426         * streams/getmsg.c: Likewise.
12427         * streams/getpmsg.c: Likewise.
12428         * streams/putmsg.c: Likewise.
12429         * streams/putpmsg.c: Likewise.
12430         * sysdeps/unix/bsd/getpt.c: Likewise.
12431         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
12432         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
12433         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12435         Likewise.
12436         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
12437         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12438         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12439         * sysvipc/msgctl.c: Likewise.
12440         * sysvipc/msgget.c: Likewise.
12441         * sysvipc/msgrcv.c: Likewise.
12442         * sysvipc/msgsnd.c: Likewise.
12443         * sysvipc/semctl.c: Likewise.
12444         * sysvipc/semget.c: Likewise.
12445         * sysvipc/semop.c: Likewise.
12446         * sysvipc/semtimedop.c: Likewise.
12447         * sysvipc/shmat.c: Likewise.
12448         * sysvipc/shmctl.c: Likewise.
12449         * sysvipc/shmdt.c: Likewise.
12450         * sysvipc/shmget.c: Likewise.
12451         * termios/tcdrain.c: Likewise.
12452         * termios/tcflow.c: Likewise.
12453         * termios/tcflush.c: Likewise.
12454         * termios/tcgetattr.c: Likewise.
12455         * termios/tcgetpgrp.c: Likewise.
12456         * termios/tcsendbrk.c: Likewise.
12457         * termios/tcsetattr.c: Likewise.
12458         * termios/tcsetpgrp.c: Likewise.
12459         * time/adjtime.c: Likewise.
12460         * time/clock.c: Likewise.
12461         * time/getitimer.c: Likewise.
12462         * time/gettimeofday.c: Likewise.
12463         * time/setitimer.c: Likewise.
12464         * time/settimeofday.c: Likewise.
12465         * time/stime.c: Likewise.
12466         * time/time.c: Likewise.
12468 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
12470         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
12471         /usr/old/bin.
12473         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
12474         instead of spaces.
12475         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
12477 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
12479         [BZ #14796]
12480         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
12481         FE_TONEAREST before applying Dekker multiplication and Knuth
12482         addition.  Clear inexact exceptions and check for exact zero
12483         results afterwards.
12484         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12485         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12486         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12487         * math/libm-test.inc (fma_test): Add more tests.
12488         (fma_test_towardzero): Likewise.
12489         (fma_test_downward): Likewise.
12490         (fma_test_upward): Likewise.
12491         * sysdeps/generic/math_private.h (default_libc_fesetround): New
12492         function.
12493         (libc_fesetround): New macro.
12494         (libc_fesetroundf): Likewise.
12495         (libc_fesetroundl): Likewise.
12496         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
12497         function.
12498         (libc_fesetround_387): Likewise.
12499         (libc_fesetroundf): New macro.
12500         (libc_fesetround): Likewise.
12501         (libc_fesetroundl): Likewise.
12502         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
12503         function.
12504         (libc_fesetroundf): New macro.
12505         (libc_fesetround): Likewise.
12506         (libc_fesetroundl): Likewise.
12507         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
12508         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
12509         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
12510         libm_hidden_ver.
12511         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
12512         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
12513         libm_hidden_def.
12514         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
12515         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
12516         libm_hidden_ver.
12517         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
12518         libm_hidden_def.
12520         [BZ #3439]
12521         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
12522         integer constant usable in #if and use that to give value to enum
12523         constant.
12524         (FE_DIVBYZERO): Likewise.
12525         (FE_UNDERFLOW): Likewise.
12526         (FE_OVERFLOW): Likewise.
12527         (FE_INVALID): Likewise.
12528         (FE_INVALID_SNAN): Likewise.
12529         (FE_INVALID_ISI): Likewise.
12530         (FE_INVALID_IDI): Likewise.
12531         (FE_INVALID_ZDZ): Likewise.
12532         (FE_INVALID_IMZ): Likewise.
12533         (FE_INVALID_COMPARE): Likewise.
12534         (FE_INVALID_SOFTWARE): Likewise.
12535         (FE_INVALID_SQRT): Likewise.
12536         (FE_INVALID_INTEGER_CONVERSION): Likewise.
12537         (FE_TONEAREST): Likewise.
12538         (FE_TOWARDZERO): Likewise.
12539         (FE_UPWARD): Likewise.
12540         (FE_DOWNWARD): Likewise.
12541         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
12542         (FE_DIVBYZERO): Likewise.
12543         (FE_OVERFLOW): Likewise.
12544         (FE_UNDERFLOW): Likewise.
12545         (FE_INEXACT): Likewise.
12546         (FE_TONEAREST): Likewise.
12547         (FE_DOWNWARD): Likewise.
12548         (FE_UPWARD): Likewise.
12549         (FE_TOWARDZERO): Likewise.
12550         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
12551         (FE_UNDERFLOW): Likewise.
12552         (FE_OVERFLOW): Likewise.
12553         (FE_DIVBYZERO): Likewise.
12554         (FE_INVALID): Likewise.
12555         (FE_TONEAREST): Likewise.
12556         (FE_TOWARDZERO): Likewise.
12557         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
12558         (FE_OVERFLOW): Likewise.
12559         (FE_UNDERFLOW): Likewise.
12560         (FE_DIVBYZERO): Likewise.
12561         (FE_INEXACT): Likewise.
12562         (FE_TONEAREST): Likewise.
12563         (FE_TOWARDZERO): Likewise.
12564         (FE_UPWARD): Likewise.
12565         (FE_DOWNWARD): Likewise.
12566         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
12567         (FE_DIVBYZERO): Likewise.
12568         (FE_OVERFLOW): Likewise.
12569         (FE_UNDERFLOW): Likewise.
12570         (FE_INEXACT): Likewise.
12571         (FE_TONEAREST): Likewise.
12572         (FE_DOWNWARD): Likewise.
12573         (FE_UPWARD): Likewise.
12574         (FE_TOWARDZERO): Likewise.
12576 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
12578         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
12580 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
12582         * scripts/cross-test-ssh.sh (command): Use newlines to separate
12583         commands.  Quote $PWD.
12584         (blacklist_exports): Don't use remove_newlines.  Replace "declare
12585         -x" by "export".
12586         (remove_newlines): Remove.
12588 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
12590         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
12591         * stdlib/stdlib.h (atof): Moved to ...
12592         * include/bits/stdlib-float.h: Here.  New file.
12593         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
12594         * stdlib/bits/stdlib-float.h: New file.
12595         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
12596         -mno-sse -mno-mmx.
12597         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
12598         <xmmintrin.h>.
12600 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12602         * conform/conformtest.pl (@headers): Add fenv.h.
12603         * conform/data/fenv.h-data: New file.
12604         * include/fenv.h [_ISOMAC]: Disable all contents of file except
12605         include of <math/fenv.h>.
12607         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
12608         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
12609         && !UNIX98].  Enables tests for XOPEN2K8.
12610         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
12611         POSIX2008]: Likewise.
12613         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
12614         (struct rusage): Do not expect type or its members.
12616         [BZ #3439]
12617         * math/math.h (FP_NAN): Define macro to integer constant usable in
12618         #if and use that to give value to enum constant.
12619         (FP_INFINITE): Likewise.
12620         (FP_ZERO): Likewise.
12621         (FP_SUBNORMAL): Likewise.
12622         (FP_NORMAL): Likewise.
12624 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
12626         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
12627         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
12628         arguments.
12630 2012-11-02  Roland McGrath  <roland@hack.frob.com>
12632         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
12633         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
12634         autoconf-time if not.
12635         * configure.in: Remove AC_PREREQ.
12637 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12639         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
12640         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
12641         of the internal implementation.
12643 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
12645         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
12646         except include of <misc/sys/syslog.h>.
12648 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
12651         function returns with a NULL context exit with zero.
12653 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12655         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
12657 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
12659         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
12660         (run_program_cmd): This.
12661         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
12662         (tst_langinfo): New variable.  Use it.
12664 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
12666         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
12667         floating point opcodes.
12669 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12671         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
12672         variable.
12674         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
12676         * sysdeps/mach/hurd/powerpc: Remove directory.
12677         * sysdeps/mach/powerpc: Likewise.
12679 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12681         * scripts/check-local-headers.sh: Ignore c++ headers.
12683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12685         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
12686         __libc_cleanup_region_start argument.
12688 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
12690         [BZ #14784]
12691         [BZ #14785]
12692         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
12693         x * y using scaling, not as x * y + z.
12694         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12695         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12696         * math/libm-test.inc (fma_test): Add more tests.
12697         (fma_test_towardzero): Likewise.
12698         (fma_test_downward): Likewise.
12699         (fma_test_upward): Likewise.
12701 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
12703         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
12705 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12707         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
12708         New variable.
12710 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
12712         * rt/tst-shm.c (worker): Correct checking for mmap failure.
12714 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12717         Fix sort order.
12718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12719         Likewise.
12721 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12724         Fix the order of the list for glibc 2.17.
12725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12726         Likewise.
12728 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12732 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
12734         [BZ #14610]
12735         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
12736         for low part of x being zero before using __atanl (y).
12737         * math/libm-test.inc (atan2_test): Add another test.
12739         * manual/install.texi (Configuring and compiling): Document
12740         general use of test-wrapper and test-wrapper-env.
12741         * INSTALL: Regenerated.
12743         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
12744         (__fma): Do not extract and scale down low bits on after-rounding
12745         systems when result rounded to normal precision would have normal
12746         exponent.
12747         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
12748         (__fmal): Do not extract and scale down low bits on after-rounding
12749         systems when result rounded to normal precision would have normal
12750         exponent.
12751         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
12752         (__fmal): Do not extract and scale down low bits on after-rounding
12753         systems when result rounded to normal precision would have normal
12754         exponent.
12755         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
12756         macro.
12757         (fma_test): Add more tests.
12758         (fma_test_towardzero): Likewise.
12759         (fma_test_downward): Likewise.
12760         (fma_test_upward): Likewise.
12762 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
12764         * sysdeps/i386/tininess.h: Renamed to ...
12765         * sysdeps/x86/tininess.h: This.
12766         * sysdeps/x86_64/tininess.h: Removed.
12768 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12770         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
12771         input.  Use $(build-program-cmd).
12772         ($(objpfx)tst-array1-static.out): Likewise.
12773         ($(objpfx)tst-array2.out): Likewise.
12774         ($(objpfx)tst-array3.out): Likewise.
12775         ($(objpfx)tst-array4.out): Likewise.
12776         ($(objpfx)tst-array5.out): Likewise.
12777         ($(objpfx)tst-array5-static.out): Likewise.
12779 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
12781         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
12782         if defined.
12784         * nss/nsswitch.h (nss_interface_function): Provide new
12785         macro for use with NSS functions.
12786         * grp/initgroups.c: Use new macro.
12787         * nss/getXXbyYY.c: Likewise.
12788         * nss/getXXbyYY_r.c: Likewise.
12789         * nss/getXXent.c: Likewise.
12790         * nss/getXXent_r.c: Likewise.
12791         * sysdeps/posix/getaddrinfo.c: Likewise.
12793 2012-10-30  Andreas Jaeger  <aj@suse.de>
12795         * po/ru.po: Update Russion translation from translation project.
12797 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
12799         [BZ #14152]
12800         [BZ #14783]
12801         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
12802         result and shift together with sticky bit instead of replicating
12803         round-to-nearest rounding.
12804         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12805         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12806         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
12807         missing underflow exceptions.
12808         (fma_test_towardzero): Add more tests.
12809         (fma_test_downward): Likewise.
12810         (fma_test_upward): Likewise.
12812         [BZ #14047]
12813         * sysdeps/generic/tininess.h: New file.
12814         * sysdeps/i386/tininess.h: Likewise.
12815         * sysdeps/sh/tininess.h: Likewise.
12816         * sysdeps/x86_64/tininess.h: Likewise.
12817         * stdlib/tst-strtod-underflow.c: Likewise.
12818         * stdlib/tst-tininess.c: Likewise.
12819         * stdlib/strtod_l.c: Include <tininess.h>.
12820         (round_and_return): Do not set errno for exact underflow cases.
12821         Force an underflow exception when setting errno for underflow.
12822         Determine underflow based on rounding to normal precision if
12823         TININESS_AFTER_ROUNDING.
12824         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
12825         ERANGE for exact underflow cases.
12826         * stdlib/Makefile (tests): Add tst-tininess and
12827         tst-strtod-underflow.
12828         ($(objpfx)tst-tininess): Use $(link-libm).
12829         ($(objpfx)tst-strtod-underflow): Likewise.
12831 2012-10-30  Andreas Jaeger  <aj@suse.de>
12833         [BZ#14767]
12834         * elf/Makefile (tests): Remove conditional for have-initfini-array
12835         since this is now always required and the variable does not exist
12836         anymore.
12837         (tests-static): Likewise.
12838         (modules-names): Likewise.
12840         * po/eo.po: Add Esperanto translation from translation project.
12842         * elf/tst-array1.c (fini_array): Make writeable so that it can be
12843         merged with constructor/destructor.
12844         (init_array): Likewise.
12845         * elf/tst-array2dep.c (fini_array): Likewise.
12846         (init_array): Likewise.
12848 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
12850         * manual/message.texi: Delete @cartouche tags.
12852 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
12854         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
12855         EOPNOTSUPP.
12856         * sysdeps/mach/hurd/fsync.c: Likewise.
12858         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
12859         [_POSIX_REALTIME_SIGNALS]: Change condition to
12860         [_POSIX_REALTIME_SIGNALS > 0].
12862 2012-10-27  Andreas Jaeger  <aj@suse.de>
12864         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
12865         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
12866         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
12867         [__WORDSIZE != 64]: Likewise.
12869 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
12871         *  iconvdata/tst-table.sh: Remove ${SHELL}.
12872         *  iconvdata/tst-tables.sh: Likewise.
12874 2012-10-25  David S. Miller  <davem@davemloft.net>
12876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12877         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
12878         of strtoull.
12880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
12881         ifunc-impl-list.c
12882         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12883         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
12884         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
12885         file.
12887 2012-10-25  Roland McGrath  <roland@hack.frob.com>
12889         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12890         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
12891         __getdirentries.
12893 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12894             Jim Blandy  <jimb@codesourcery.com>
12896         * scripts/cross-test-ssh.sh: New file.
12897         * manual/install.texi (Configuring and compiling): Document use of
12898         cross-test-ssh.sh.
12899         * INSTALL: Regenerated.
12901 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
12903         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
12904         EOPNOTSUPP.
12906 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
12908         * Makeconfig (run-program-prefix): Fix comment.
12910 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
12911             Jim Blandy  <jimb@codesourcery.com>
12913         * Makeconfig (test-wrapper): New variable,
12914         (test-wrapper-env): Likewise.
12915         [$(cross-compiling) = yes && $(test-wrapper) != ""]
12916         (run-built-tests): Define to yes.
12917         (run-program-prefix): Use $(test-wrapper).
12918         (built-program-cmd): Likewise.
12919         * Rules (make-test-out): Use $(test-wrapper-env) and
12920         $(host-built-program-cmd).
12921         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
12922         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
12923         tst-pathopt.sh.
12924         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
12925         $(test-wrapper-env) to tst-rtld-load-self.sh.
12926         ($(objpfx)order2.out): Use $(test-wrapper).
12927         ($(objpfx)tst-initorder.out): Likewise.
12928         ($(objpfx)tst-initorder2.out): Likewise.
12929         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
12930         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
12931         (test_wrapper_env): New variable.  Use it to run ld.so.
12932         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
12933         Use it to run ld.so.
12934         (test_wrapper_env): Likewise.
12935         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
12936         $(test-wrapper) to run-iconv-test.sh.
12937         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
12938         (ICONV): Use $test_wrapper.
12939         * posix/Makefile ($(objpfx)globtest.out): Pass
12940         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
12941         globtest.sh, not $(run-program-prefix).
12942         * posix/globtest.sh (run_via_rtld_prefix): New variable.
12943         (test_wrapper): Likewise.
12944         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
12945         set together with run_via_rtld_prefix.
12946         (run_program_prefix): Define in terms of test_wrapper and
12947         run_via_rtld_prefix.
12949 2012-10-24  Roland McGrath  <roland@hack.frob.com>
12951         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
12952         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
12953         Targets removed.
12955         [BZ #14743]
12956         * include/time.h: Remove librt_hidden_proto (clock_gettime).
12957         Declare __clock_getres, __clock_gettime, __clock_settime,
12958         __clock_nanosleep, and __clock_getcpuclockid.
12959         * rt/clock_gettime.c: Define __clock_gettime as an alias.
12960         Remove librt_hidden_def (clock_gettime).
12961         * sysdeps/unix/clock_gettime.c: Likewise.
12962         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
12963         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12964         * rt/clock_getres.c: Define __clock_getres as an alias.
12965         * sysdeps/posix/clock_getres.c: Likewise.
12966         * rt/clock_settime.c: Define __clock_settime as an alias.
12967         * sysdeps/unix/clock_settime.c: Likewise.
12968         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
12969         * sysdeps/unix/clock_nanosleep.c: Likewise.
12970         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12971         * rt/clock-compat.c: New file.
12972         * rt/Makefile (librt-routines): Add clock-compat and move
12973         $(clock-routines) to ...
12974         (routines): ... here, new variable.
12975         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
12976         Don't add get_clockfreq here.
12977         * rt/Versions (libc: GLIBC_2.17): New version set.
12978         Add clock_* symbols here.
12979         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
12980         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
12981         (GLIBC_2.17): Add clock_* symbols.
12982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
12983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
12984         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
12985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
12986         Likewise.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12988         Likewise.
12989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
12990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
12991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
12992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
12993         * NEWS: Mention the move.
12995         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
12996         Use __open, __read, __close rather than their public counterparts.
12997         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12998         (__get_clockfreq_via_cpuinfo): Likewise.
12999         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
13000         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
13002         * config.h.in (HAVE_IFUNC): New #undef.
13003         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
13004         was successful.
13005         * configure: Regenerated.
13007 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13009         * configure.in: Move READELF check to start of file.
13010         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
13011         libc_cv_asm_gnu_indirect_function in the process.
13012         * configure: Regenerated.
13014 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
13016         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
13017         send the output to /dev/null.
13018         (libc_cv_cc_with_libunwind): Likewise.
13019         (libc_cv_as_noexecstack): Likewise.
13020         * configure: Regenerate.
13022 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
13024         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
13026         * posix/globtest.sh (TMPDIR): Do not set.
13027         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
13028         (testout): Likewise.
13030 2012-10-24  Andreas Jaeger  <aj@suse.de>
13032         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
13033         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
13034         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
13035         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
13036         posix_fadvise64, posix_fallocate64.
13038         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
13039         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
13040         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
13041         Likewise.
13042         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
13043         Likewise.
13044         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
13046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
13047         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
13048         <bits/fcntl-linux.h>.
13049         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
13051         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
13052         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
13053         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
13054         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
13055         [__WORDSIZE != 64]: Likewise.
13057 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13059         * Makeconfig (run-built-tests): New variable.
13060         * Rules [$(cross-compiling) = yes]: Change condition to
13061         [$(run-built-tests) = no].
13062         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
13063         to [$(run-built-tests) = yes].
13064         * elf/Makefile [$(cross-compiling) = no]: Likewise
13065         * grp/Makefile [$(cross-compiling) = no]: Likewise.
13066         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
13067         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
13068         * intl/Makefile [$(cross-compiling) = no]: Likewise.
13069         * io/Makefile [$(cross-compiling) = no]: Likewise.
13070         * libio/Makefile [$(cross-compiling) = no]: Likewise.
13071         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
13072         * misc/Makefile [$(cross-compiling) = no]: Likewise.
13073         * posix/Makefile [$(cross-compiling) = no]: Likewise.
13074         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
13075         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
13076         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
13077         * string/Makefile [$(cross-compiling) = no]: Likewise.
13079         * posix/Makefile ($(objpfx)globtest.out): Pass
13080         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
13081         $(rtld-installed-name).
13082         * posix/globtest.sh (elf_objpfx): Remove variable.
13083         (rtld_installed_name): Likewise.
13084         (library_path): Likewise.
13085         (run_program_prefix): New variable.  Use for running globtest
13086         binary.
13088 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
13089             Joseph Myers  <joseph@codesourcery.com>
13091         * Makeconfig (host-built-program-cmd): New variable.
13092         * elf/Makefile (tst-stackguard1-ARGS): Use
13093         $(host-built-program-cmd).
13094         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
13095         (tst-spawn-ARGS): Likewise.
13096         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
13098 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
13099             Jim Blandy  <jimb@codesourcery.com>
13101         * Makeconfig (run-via-rtld-prefix): New variable.
13102         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
13103         (built-program-cmd): Likewise.
13105 2012-10-22  Andreas Jaeger  <aj@suse.de>
13107         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
13108         __O_RSYNC if it exists, otherwise to O_SYNC.
13110 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
13111             Joseph Myers  <joseph@codesourcery.com>
13113         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
13114         /dev/null.
13115         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
13116         from /dev/null
13117         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
13118         /dev/null.
13120 2012-10-22  Andreas Jaeger  <aj@suse.de>
13122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
13123         Define always.
13124         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
13126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13127         bits/fcntl-linux.h.
13129         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
13130         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
13132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
13133         to __O_LARGEFILE.
13134         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
13135         to __O_LARGEFILE.
13137 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
13138             Joseph Myers  <joseph@codesourcery.com>
13140         * config.make.in (NM): New variable.
13142 2012-10-21  Andreas Jaeger  <aj@suse.de>
13144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
13145         definitions and declarations that are provided by
13146         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
13148 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13150         [BZ #14683]
13151         * elf/Makefile (tests-static): Add tst-leaks1-static.
13152         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
13153         ($(objpfx)tst-leaks1-static): New rule.
13154         ($(objpfx)tst-leaks1-static-mem): Likewise.
13155         (tst-leaks1-static-ENV): New macro.
13156         * elf/dl-open.c (dl_open_worker): Check the main application
13157         only if SHARED is defined.
13158         * elf/tst-leaks1-static.c: New file.
13160 2012-10-20  Andreas Jaeger  <aj@suse.de>
13162         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
13163         generic values for Linux.
13164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
13165         and declarations that are provided by <bits/fcntl-linux.h> and
13166         include <bits/fcntl-linux.h>.
13167         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
13168         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
13170 2012-10-20  Roland McGrath  <roland@hack.frob.com>
13172         * io/fcntl.h: Move include of <bits/types.h> to the top and
13173         include it unconditionally.
13175 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
13177         * wcsmbs/Makefile (tests-ifunc): New variable.
13178         (tests): Add $(tests-ifunc).
13179         * wcsmbs/test-wcschr-ifunc.c: New file.
13180         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13181         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13182         * wcsmbs/test-wcslen-ifunc.c: Likewise.
13183         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13184         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13186         * string/Makefile (tests-ifunc): New variable.
13187         (tests): Add $(tests-ifunc).
13188         * string/test-memccpy.c (TEST_NAME): New macro.
13189         * string/test-memchr.c (TEST_NAME): Likewise.
13190         * string/test-memcmp.c (TEST_NAME): Likewise.
13191         * string/test-memcpy.c (TEST_NAME): Likewise.
13192         * string/test-memmem.c (TEST_NAME): Likewise.
13193         * string/test-memmove.c (TEST_NAME): Likewise.
13194         * string/test-memset.c (TEST_NAME): Likewise.
13195         * string/test-rawmemchr.c (TEST_NAME): Likewise.
13196         * string/test-stpcpy.c (TEST_NAME): Likewise.
13197         * string/test-stpncpy.c (TEST_NAME): Likewise.
13198         * string/test-strcasecmp.c (TEST_NAME): Likewise.
13199         * string/test-strcasestr.c (TEST_NAME): Likewise.
13200         * string/test-strcat.c (TEST_NAME): Likewise.
13201         * string/test-strchr.c (TEST_NAME): Likewise.
13202         * string/test-strcmp.c(TEST_NAME): Likewise.
13203         * string/test-strcpy.c (TEST_NAME): Likewise.
13204         * string/test-strcspn.c (TEST_NAME): Likewise.
13205         * string/test-strlen.c (TEST_NAME): Likewise.
13206         * string/test-strncasecmp.c (TEST_NAME): Likewise.
13207         * string/test-strncmp.c (TEST_NAME): Likewise.
13208         * string/test-strncpy.c (TEST_NAME): Likewise.
13209         * string/test-strnlen.c (TEST_NAME): Likewise.
13210         * string/test-strpbrk.c (TEST_NAME): Likewise.
13211         * string/test-strrchr.c (TEST_NAME): Likewise.
13212         * string/test-strspn.c (TEST_NAME): Likewise.
13213         * string/test-strstr.c (TEST_NAME): Likewise.
13214         * string/test-bcopy-ifunc.c: New file.
13215         * string/test-bzero-ifunc.c: Likewise.
13216         * string/test-memccpy-ifunc.c: Likewise.
13217         * string/test-memchr-ifunc.c: Likewise.
13218         * string/test-memcmp-ifunc.c: Likewise.
13219         * string/test-memcpy-ifunc.c: Likewise.
13220         * string/test-memmem-ifunc.c: Likewise.
13221         * string/test-memmove-ifunc.c: Likewise.
13222         * string/test-mempcpy-ifunc.c: Likewise.
13223         * string/test-memset-ifunc.c: Likewise.
13224         * string/test-rawmemchr-ifunc.c: Likewise.
13225         * string/test-stpcpy-ifunc.c: Likewise.
13226         * string/test-stpncpy-ifunc.c: Likewise.
13227         * string/test-strcasecmp-ifunc.c: Likewise.
13228         * string/test-strcasestr-ifunc.c: Likewise.
13229         * string/test-strcat-ifunc.c: Likewise.
13230         * string/test-strchr-ifunc.c: Likewise.
13231         * string/test-strchrnul-ifunc.c: Likewise.
13232         * string/test-strcmp-ifunc.c: Likewise.
13233         * string/test-strcpy-ifunc.c: Likewise.
13234         * string/test-strcspn-ifunc.c: Likewise.
13235         * string/test-strlen-ifunc.c: Likewise.
13236         * string/test-strncasecmp-ifunc.c: Likewise.
13237         * string/test-strncat-ifunc.c: Likewise.
13238         * string/test-strncmp-ifunc.c: Likewise.
13239         * string/test-strncpy-ifunc.c: Likewise.
13240         * string/test-strnlen-ifunc.c: Likewise.
13241         * string/test-strpbrk-ifunc.c: Likewise.
13242         * string/test-strrchr-ifunc.c: Likewise.
13243         * string/test-strspn-ifunc.c: Likewise.
13244         * string/test-strstr-ifunc.c: Likewise.
13246         * debug/Makefile (tests-ifunc): New variable.
13247         (tests): Add $(tests-ifunc).
13248         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
13249         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
13250         * debug/test-stpcpy_chk-ifunc.c: New file.
13251         * debug/test-strcpy_chk-ifunc.c: Likewise.
13253 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
13255         [BZ #13601]
13256         * elf/dl-load.c (open_verify): Retry read if the entire ELF
13257         header is not read in.
13259 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
13261         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
13262         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
13263         directly.  Pass built executable to script as
13264         $(built-program-cmd).
13265         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
13266         $testprogram without using LD_LIBRARY_PATH and $ldso.
13268         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
13269         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
13270         $(rtld-installed-name).
13271         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
13272         (rtld_installed_name): Likewise.
13273         (library_path): Likewise.
13274         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
13275         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
13276         $(run-program-prefix) to tst-tables.sh.
13277         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
13278         it to run tst-table-from and tst-table-to.
13279         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
13280         Pass it to tst-table.sh.
13281         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
13282         $(run-program-prefix) to tst-gettext.sh.
13283         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
13284         tst-translit.sh.
13285         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
13286         tst-gettext2.sh.
13287         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
13288         to run tst-gettext.
13289         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
13290         to run tst-gettext2.
13291         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
13292         to run tst-translit.
13293         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
13294         $(run-program-prefix) to tst-mtrace.sh.
13295         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
13296         to run tst-mtrace.
13297         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
13298         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
13299         $(rtld-installed-name).
13300         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
13301         (rtld_installed_name): Likewise.
13302         (run_program_prefix): New variable.  Use it to run wordexp-test.
13304         * Makeconfig (ARCH): Remove all definitions.
13305         (machine): Likewise.
13306         [ARCH]: Remove conditional code.
13307         [!objdir]: Give error.
13308         [!objdir] (objpfx): Remove.
13309         [!objdir] (common-objpfx): Likewise.
13310         [!objdir] (common-objdir): Likewise.
13311         * configure.in (config_makefile): Remove.  Hardcode Makefile in
13312         AC_CONFIG_FILES call.
13313         * configure: Regenerated.
13315         [BZ #13888]
13316         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
13317         or TMPDIR.
13318         (testout): Likewise.
13320         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
13321         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
13322         $(rtld-installed-name).
13323         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
13324         (rtld_installed_name): Likwise.
13325         (runit): Remove function.
13326         (run_getconf): New variable,  Use it for running getconf binary.
13328 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
13330         [BZ #14716]
13331         * string/test-memmem.c (check_result): New function.
13332         (do_one_test): Use it.
13333         (check1): New function.
13334         (test_main): Use it.
13336 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
13338         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
13340 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
13342         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
13343         (_G_LSEEK64): Likewise.
13344         (_G_MMAP64): Likewise.
13345         (_G_FSTAT64): Likewise.
13346         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
13347         (_G_LSEEK64): Likewise.
13348         (_G_MMAP64): Likewise.
13349         (_G_FSTAT64): Likewise.
13350         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
13351         unconditional.  Call __mmap64 directly.
13352         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
13353         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
13354         __lseek64 directly.
13355         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
13356         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
13357         __mmap64 directly.
13358         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
13359         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13360         __lseek64 directly.
13361         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
13362         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
13363         __lseek64 directly.
13364         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
13365         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
13366         __lseek64 directly.
13367         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
13368         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
13369         __fxstat64 directly.
13370         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
13371         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
13372         unconditional.
13373         (freopen64) [!_G_OPEN64]: Remove conditional code.
13374         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
13375         unconditional.
13376         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
13377         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
13378         unconditional.
13379         (ftello64) [!_G_LSEEK64]: Remove conditional code.
13380         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
13381         unconditional.
13382         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13383         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
13384         unconditional.
13385         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
13386         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
13387         unconditional.
13388         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13389         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
13390         unconditional.
13391         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
13392         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
13393         unconditional.
13394         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
13396 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13398         [BZ #12140]
13399         * manual/memory.texi (Malloc Tunable Parameters): Add note
13400         about free list pointers overwriting some perturb bytes.
13401         Wording suggested by Roland McGrath.
13403 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
13405         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
13406         (lgamma_test): Likewise.
13407         (tgamma_test): Likewise.
13409 2012-10-16  Florian Weimer  <fweimer@redhat.com>
13411         [BZ #14700]
13412         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
13413         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
13415 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
13417         * NEWS: Mention BZ #14716.
13418         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
13419         when removing AVAILABLE1_USES_J macro.
13421 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
13423         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
13424         (__bswap_64): __uint64_t for unsigned 64-bit int.
13426 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
13428         * include/string.h (memmem): Declare libc hidden alias.
13429         * string/memmem.c (memmem): Define libc hidden alias.
13430         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
13431         __read, __close instead of open, read, close.
13433 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
13435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
13436         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
13437         global and hidden.
13438         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
13439         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
13440         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
13441         Likewise.
13442         (__rawmemchr_sse2): Likewise.
13443         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
13444         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
13445         (__strchr_sse2): Likewise.
13446         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
13447         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
13448         (__strcasecmp_sse2): Likewise.
13449         (__strncasecmp_sse2): Likewise.
13450         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
13451         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
13452         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
13453         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
13454         (__strrchr_sse2): Likewise.
13455         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
13456         ifunc-impl-list.c.
13457         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13458         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13459         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
13460         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13461         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13462         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13463         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13464         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13465         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
13466         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
13467         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
13468         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
13469         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
13470         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
13471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
13472         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
13473         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
13474         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
13475         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
13476         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
13477         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
13478         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
13479         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
13480         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13481         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
13482         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13483         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
13484         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13485         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
13486         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
13488         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
13489         global and hidden.
13490         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
13491         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
13492         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
13493         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
13494         Likewise.
13495         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
13496         Likewise.
13497         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
13498         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
13499         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
13500         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
13501         ifunc-impl-list.c.
13502         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13503         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13504         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13505         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13506         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13507         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13508         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13509         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13510         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13511         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13512         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13513         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13514         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13515         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
13516         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
13517         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
13518         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
13519         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
13520         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13521         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13522         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13523         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13524         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13525         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13526         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
13527         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
13528         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
13529         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
13530         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
13531         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13532         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
13533         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13534         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13535         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
13536         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13538         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13539         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13540         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13541         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13542         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
13544         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
13545         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
13546         * include/ifunc-impl-list.h: New file.
13547         * misc/ifunc-impl-list.c: Likewise.
13548         * misc/Makefile (routines): Add ifunc-impl-list.
13549         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
13550         * string/test-string.h: Include <ifunc-impl-list.h>.
13551         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
13552         impl_array): New variables.
13553         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
13554         are defined.
13555         (test_init): Call __libc_ifunc_impl_list to initialize
13556         func_list if TEST_IFUNC and TEST_NAME are defined.
13558         * string/Makefile (strop-tests): Add bcopy and bzero.
13559         * string/test-bcopy.c: New file.
13560         * string/test-bzero.c: Likewise.
13561         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
13562         defined.
13563         * string/test-memset.c: Support bzero test if TEST_BZERO is
13564         defined.
13565         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
13566         __libc_memmove.
13567         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
13568         __libc_memset.
13569         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
13570         of memset.
13572 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
13574         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
13575         * configure: Regenerated.
13577         * Makeconfig (+link-static-before-libc): Don't include
13578         $(link-static-libc).
13580         * libio/libio.h (_IO_pos_t): Remove.
13582 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13584         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
13585         McGrath.
13587 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13589         * crypt/crypt-entry.c: Include fips-private.h.
13590         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
13591         * crypt/md5c-test.c (main): Tolerate disabled MD5.
13592         * sysdeps/unix/sysv/linux/fips-private.h: New file.
13593         * sysdeps/generic/fips-private.h: New file, dummy fallback.
13595 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
13597         * crypt/crypt-private.h: Include stdbool.h.
13598         (_ufc_setup_salt_r): Return bool.
13599         * crypt/crypt-entry.c: Include errno.h.
13600         (__crypt_r): Return NULL with EINVAL for bad salt.
13601         * crypt/crypt_util.c (bad_for_salt): New.
13602         (_ufc_setup_salt_r): Check that salt is long enough and within
13603         the specified alphabet.
13604         * crypt/badsalttest.c: New file.
13605         * crypt/Makefile (tests): Add it.
13606         ($(objpfx)badsalttest): New.
13608 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
13610         * NEWS: Add entry for BZ #14602.
13612 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13614         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
13615         type-generic.
13616         * math/libm-test.inc: Update comment listing what functions and
13617         macros are tested.
13618         (isgreater_test): New function.
13619         (isgreaterequal_test): Likewise.
13620         (isless_test): Likewise.
13621         (islessequal_test): Likewise.
13622         (islessgreater_test): Likewise.
13623         (isunordered_test): Likewise.
13624         (main): Call the new functions.
13626 2012-10-09  Roland McGrath  <roland@hack.frob.com>
13628         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
13629         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
13630         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
13631         * sysdeps/i386/configure: Regenerated.
13632         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
13633         * sysdeps/mach/configure: Regenerated.
13634         * sysdeps/mach/hurd/configure: Regenerated.
13635         * sysdeps/powerpc/configure: Regenerated.
13636         * sysdeps/powerpc/powerpc32/configure: Regenerated.
13637         * sysdeps/powerpc/powerpc64/configure: Regenerated.
13638         * sysdeps/s390/s390-32/configure: Regenerated.
13639         * sysdeps/s390/s390-64/configure: Regenerated.
13640         * sysdeps/sh/configure: Regenerated.
13641         * sysdeps/sparc/configure: Regenerated.
13642         * sysdeps/unix/sysv/linux/configure: Regenerated.
13643         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13644         * sysdeps/x86_64/configure: Regenerated.
13646         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
13647         defined.  Don't check if MAP is NULL.
13649 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
13651         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
13652         (_G_stat64): Likewise.
13653         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
13654         (_G_stat64): Likewise.
13655         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
13656         instead of struct _G_stat64.
13657         * libio/fileops.c (mmap_remap_check): Likewise.
13658         (decide_maybe_mmap): Likewise.
13659         (_IO_new_file_seekoff): Likewise.
13660         (_IO_file_stat): Likewise.
13661         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
13662         _G_off64_t.
13663         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
13664         instead of struct _G_stat64.
13665         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
13667 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
13669         [BZ #14602]
13670         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13671         Replace with ...
13672         (CHECK_EOL): New macro.
13673         (two_way_short_needle): Check beginning of haystack for EOL.  Use
13674         CHECK_EOL.
13675         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13676         Replace with CHECK_EOL.
13677         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
13678         Replace with CHECK_EOL.
13680 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
13682         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
13683         type-generic.
13684         * math/libm-test.inc: Update comment listing what functions and
13685         macros are tested.
13686         (finite_test): New function.
13687         (isinf_test): Likewise.
13688         (isnan_test): Likewise.
13689         (fpclassify_test): Test subnormal input.
13690         (isfinite_test): Likewise.
13691         (isnormal_test): Likewise.
13692         (main): Call the new functions.
13694 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
13696         [BZ #14660]
13697         * Makerules (%.dynsym): Force C locale when running
13698         $(OBJDUMP) --dynamic-syms.
13700 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
13702         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
13703         <stdint.h>.
13705 2012-10-06  David S. Miller  <davem@davemloft.net>
13707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
13708         upper 32-bits of the length value in %o2 since we use branch-on-register
13709         tests which consider the entire 64-bit register.
13711 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
13713         * string/test-strstr.c (check2): Add a test for page boundary.
13715 2012-10-05  David S. Miller  <davem@davemloft.net>
13717         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
13718         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
13719         file.
13720         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13721         sysdep_routines.
13722         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13723         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
13724         and bzero when HWCAP_SPARC_CRYPTO is present.
13726 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
13728         [BZ #14602]
13729         * string/test-strstr.c (check2): New function.
13730         (test_main): Call check2.
13732         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
13733         and bug-strchr1.
13734         * string/bug-strcasestr1.c (do_test): Moved to ...
13735         * string/test-strcasestr.c (check1): Here.  New function.
13736         (do_one_test): Break out result checking code into ...
13737         (check_result): This.  New function.
13738         (do_one_test): Call check_result.
13739         (test_main): Call check1.
13740         * string/bug-strchr1.c (do_test): Moved to ...
13741         * string/test-strchr.c (check1): Here.  New function.
13742         (do_one_test): Break out result checking code into ...
13743         (check_result): This.  New function.
13744         (do_one_test): Call check_result.
13745         (test_main): Call check1.
13746         * string/bug-strstr1.c (main): Moved to ...
13747         * string/test-strstr.c (check1): Here.  New function.
13748         (do_one_test): Break out result checking code into ...
13749         (check_result): This.  New function.
13750         (do_one_test): Call check_result.
13751         (test_main): Call check1.
13752         * string/bug-strcasestr1.c: Removed.
13753         * string/bug-strchr1.c: Likewise.
13754         * string/bug-strstr1.c: Likewise.
13756         * elf/Makefile (dl-routines): Add hwcaps.
13757         * elf/dl-support.c (_dl_important_hwcaps): Removed.
13758         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
13759         (_dl_important_hwcaps): Moved to ...
13760         * elf/dl-hwcaps.c: Here.  New file.
13761         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
13763         [BZ #14557]
13764         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
13765         if IS_IN_rtld isn't defined.
13767         * elf/dl-support.c (_dl_sysinfo_map): New.
13768         Include "get-dynamic-info.h" and "setup-vdso.h".
13769         (_dl_non_dynamic_init): Call setup_vdso.
13770         * elf/dynamic-link.h: Don't include <assert.h>.
13771         (elf_get_dynamic_info): Moved to ...
13772         * elf/get-dynamic-info.h: Here.  New file.
13773         * elf/dynamic-link.h: Include "get-dynamic-info.h".
13774         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
13775         * elf/setup-vdso.h: Here.  New file.
13776         * elf/rtld.c: Include "setup-vdso.h".
13777         (dl_main): Call setup_vdso.
13779 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
13781         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
13782         creal in comment listing functions tested.  List finite, isinf,
13783         isnan, isless, islessequal, isgreater, isgreaterequal,
13784         islessgreater, isunordered, lgamma_r and pow10 as functions and
13785         macros not tested.  Mention which functions not tested are aliases
13786         for other functions.  Fix typo.  Note that signs of NaNs are not
13787         tested.
13789         * scripts/config.guess: Update from config.git.
13790         * scripts/config.sub: Likewise.
13792 2012-10-04  Roland McGrath  <roland@hack.frob.com>
13794         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
13795         * misc/madvise.c (madvise): Renamed to __madvise.
13796         Make madvise a weak alias.
13797         * include/sys/mman.h: Declare __madvise.
13798         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
13799         * sysdeps/unix/syscalls.list
13800         (madvise): Make __madvise the strong name, and madvise a weak alias.
13801         * sysdeps/unix/sysv/linux/syscalls.list
13802         (madvise, mmap): Remove redundant entries.
13803         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
13804         * malloc/malloc.c (mtrim): Likewise.
13805         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
13807 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13809         * sysdeps/mach/hurd/dl-cache.c: File removed.
13810         * config.h.in (USE_LDCONFIG): New #undef.
13811         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
13812         * configure: Regenerated.
13813         * elf/Makefile (dl-routines): Add dl-cache only under
13814         [$(use-ldconfig) = yes].
13815         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
13816         cache on [USE_LDCONFIG].
13817         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
13818         [USE_LDCONFIG].
13819         * elf/rtld.c (dl_main): Likewise.
13821 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
13823         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
13824         _SC_LEVEL4_CACHE_LINESIZE.
13826 2012-10-03  Roland McGrath  <roland@hack.frob.com>
13828         * sysdeps/unix/bsd/confstr.h: File removed.
13830 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
13832         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
13833         sys/sdt-config.h.
13835 2012-10-02  Roland McGrath  <roland@hack.frob.com>
13837         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
13838         Make 'mapoff' field ElfW(Off) rather than off_t.
13840 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
13842         * nscd/Makefile: Remove nscd-cflags and all its users.
13843         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
13844         (CFLAGS-nonlib): Add compiler flags for nscd modules.
13846         [BZ #10631]
13847         * malloc.c (malloc_printerr): Clarify error message.
13849 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
13851         [BZ #14648]
13852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13853         Set bit_FMA_Usable if FMA is supported.
13854         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
13855         macro.
13856         (bit_FMA4_Usable): Updated.
13857         (index_FMA_Usable): New macro.
13858         (CPUID_FMA): Likewise
13859         (HAS_FMA): Defined with bit_FMA_Usable.
13861 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13863         * bits/types.h (__swblk_t): Type removed.
13864         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
13865         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
13866         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13867         (__SWBLK_T_TYPE): Likewise.
13868         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13869         (__SWBLK_T_TYPE): Likewise.
13870         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13871         (__SWBLK_T_TYPE): Likewise.
13872         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13873         (__SWBLK_T_TYPE): Likewise.
13875 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
13876             Honza Horak <hhorak@redhat.com>
13878         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
13879         (xdr_mapname): Use YPMAXMAP as maxsize.
13880         (xdr_peername): Use YPMAXPEER as maxsize.
13881         (xdr_keydat): Use YPAXRECORD as maxsize.
13882         (xdr_valdat): Use YPMAXRECORD as maxsize.
13884 2012-10-01  Roland McGrath  <roland@hack.frob.com>
13886         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
13888         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
13889         * csu/init-first.c: ... here.
13890         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
13891         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
13892         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
13893         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13894         * sysdeps/i386/init-first.c: File removed.
13895         * sysdeps/sh/init-first.c: File removed.
13897 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
13899         [BZ #14645]
13900         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
13901         if x * y might underflow to zero and z is zero.
13902         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13903         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13904         * math/libm-test.inc (min_subnorm_value): New variable.
13905         (fma_test): Add more tests.
13906         (fma_test_towardzero): Likewise.
13907         (fma_test_downward): Likewise
13908         (fma_test_upward): Likewise.
13909         (initialize): Set min_subnorm_value.
13911 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
13913         [BZ #14638]
13914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
13915         0 + 0.
13916         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
13917         mode for addition resulting in exact zero.
13918         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
13919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
13920         exact 0 + 0.
13921         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13922         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13923         * math/libm-test.inc (fma_test): Add more tests.
13924         (fma_test_towardzero): New function.
13925         (fma_test_downward): Likewise.
13926         (fma_test_upward): Likewise.
13927         (main): Call the new functions.
13929 2012-09-28  David S. Miller  <davem@davemloft.net>
13931         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
13933 2012-09-28  Roland McGrath  <roland@hack.frob.com>
13935         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
13936         instead of SIGALRM.
13938         * sysdeps/gnu/_G_config.h: Moved to ...
13939         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
13940         * sysdeps/mach/hurd/_G_config.h: Moved to ...
13941         * sysdeps/generic/_G_config.h: ... here.
13943         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
13945         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
13947         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
13948         Conditionalize target on [libnss_test1.so-version].
13950         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
13952         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
13953         (elfobjdir): Move out of conditionals.
13955         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
13956         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
13957         (__nss_lookup_function): Conditionalize label remove_from_tree on
13958         [!DO_STATIC_NSS || SHARED], matching its only use.
13960 2012-09-28  David S. Miller  <davem@davemloft.net>
13962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
13963         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
13964         file.
13965         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
13966         sysdep_routines.
13967         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
13968         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
13969         when HWCAP_SPARC_CRYPTO is present.
13971 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
13973         * io/tst-mknodat.c: Create a FIFO instead of a socket.
13975 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
13977         [BZ #6530]
13978         * stdio-common/vfprintf.c (process_string_arg): Revert
13979         2000-07-22 change.
13981 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
13983         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
13984         for testcase.
13985         * stdio-common/tst-sprintf.c: Include <locale.h>
13986         (main): Test sprintf's handling of incomplete multibyte
13987         characters.
13989 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
13991         * elf/dl-runtime.c (VERSYMIDX): Removed.
13992         * elf/dl-version.c (VERSYMIDX): Likewise.
13993         * elf/do-rel.h (VERSYMIDX): Likewise.
13994         (VALIDX): Likewise.
13995         * elf/dynamic-link.h (VERSYMIDX): Likewise.
13996         * elf/rtld.c (VALIDX): Likewise.
13997         (ADDRIDX): Likewise.
13998         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
13999         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
14000         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
14001         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
14002         (VALIDX): Likewise.
14003         (ADDRIDX): Likewise.
14005 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14007         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
14009 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
14011         [BZ #11438]
14012         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
14013         to global scope.
14014         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
14015         addresses are in the same scope as 192.0.2/24.
14016         * posix/gai.conf: Document new scope table defaults.
14018 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14020         [BZ #5298]
14021         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
14022         for ftell.  Compute offsets from write pointers instead.
14023         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14025 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14027         [BZ #14543]
14028         * libio/Makefile (tests): New test case tst-fseek.
14029         * libio/tst-fseek.c: New test case to verify that fseek/ftell
14030         combination works in wide mode.
14031         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
14032         state when the external buffer state changes.
14034 2012-09-27  David S. Miller  <davem@davemloft.net>
14036         [BZ #14376]
14037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
14038         pass reloc->r_addend in as the 'high' argument to
14039         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
14041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14043 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
14045         * rt/tst-aio2.c: Include <pthread.h>.
14046         * rt/tst-aio3.c: Likewise.
14048 2012-09-27  Steve Ellcey  <sellcey@mips.com>
14050         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
14052 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
14054         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
14055         contents on [SHARED].
14057 2012-09-26  Marek Polacek  <polacek@redhat.com>
14059         [BZ #14530]
14060         [BZ #13741]
14061         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
14062         for C++ and GCC <4.3 as well as for non GCC compilers.
14064 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14066         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14068 2012-09-25  Roland McGrath  <roland@hack.frob.com>
14070         * Makefile.in (all, install): Declare with .PHONY.
14071         Reported by Michael Hope <michael.hope@linaro.org>.
14073 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14075         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
14076         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
14077         system header.
14078         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
14079         Likewise.
14080         (sydep_routines): Add the new and the internal functions.
14081         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
14082         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
14083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
14084         (GLIBC_2.17): Add the new function.
14085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
14086         (GLIBC_2.17): Likewise.
14087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14088         (GLIBC_2.17): Likewise.
14089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
14090         (GLIBC_2.17): Likewise.
14091         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
14093 2012-09-25  Alan Modra  <amodra@gmail.com>
14095         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
14096         Add release barrier before setting once_control to say
14097         initialisation is done.  Add hints on lwarx.  Use macro in
14098         place of isync.
14099         (clear_once_control): Add release barrier.
14101 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14103         [BZ #13629]
14104         * math/s_clog.c (__clog): Handle more values close to |z| = 1
14105         specially.
14106         * math/s_clog10.c (__clog10): Likewise.
14107         * math/s_clog10f.c (__clog10f): Likewise.
14108         * math/s_clog10l.c (__clog10l): Likewise.
14109         * math/s_clogf.c (__clogf): Likewise.
14110         * math/s_clogl.c (__clogl): Likewise.
14111         * math/Makefile (libm-calls): Add x2y2m1.
14112         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
14113         (__x2y2m1): Likewise.
14114         (__x2y2m1l): Likewise.
14115         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
14116         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
14117         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14119         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
14120         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
14121         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
14122         * sysdeps/i386/fpu/libm-test-ulps: Update.
14123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14125         [BZ #14621]
14126         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
14127         int as type of variable DEPTH.
14128         (glob): Use size_t instead of int as type of variables NEWCOUNT
14129         and OLD_PATHC.
14131 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14133         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14134         Add s_sincosf-sse2.
14135         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
14136         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
14137         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
14138         macros for using routine as __sincosf_ia32.
14139         Use macro for function declaration and weak_alias.
14140         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
14143         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14145         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
14146         subnormal argument.
14147         * math/s_cexpf.c (__cexpf): Likewise.
14148         * math/s_csinf.c (__csinf): Likewise.
14149         * math/s_csinhf.c (__csinhf): Likewise.
14150         * math/s_ctanf.c (__ctanf): Likewise.
14151         * math/s_ctanhf.c (__ctanhf): Likewise.
14152         * math/s_ccosh.c (__ccoshf): Likewise.
14153         * math/s_cexp.c (__cexpl): Likewise.
14154         * math/s_csin.c (__csin): Likewise.
14155         * math/s_csinh.c (__csinh): Likewise.
14156         * math/s_ctan.c (__ctan): Likewise.
14157         * math/s_ctanh.c (ctanh): Likewise.
14158         * math/s_ccoshl.c (__ccoshl): Likewise.
14159         * math/s_cexpl.c (__cexpl): Likewise.
14160         * math/s_csinl.c (__csinl): Likewise.
14161         * math/s_csinhl.c (__csinhl): Likewise.
14162         * math/s_ctanl.c (__ctanl): Likewise.
14163         * math/s_ctanhl.c (__ctanhl): Likewise.
14165 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
14167         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
14168         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
14169         (_IO_off_t): Define to __off_t, not _G_off_t.
14170         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
14171         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
14172         (_IO_wint_t): Define to wint_t, not _G_wint_t.
14173         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
14174         type of __dummy and __dummy2 fields.
14175         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
14176         (_G_ssize_t): Likewise.
14177         (_G_off_t): Likewise.
14178         (_G_pid_t): Likewise.
14179         (_G_uid_t): Likewise.
14180         (_G_wchar_t): Likewise.
14181         (_G_wint_t): Likewise.
14182         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
14183         (_G_ssize_t): Likewise.
14184         (_G_off_t): Likewise.
14185         (_G_pid_t): Likewise.
14186         (_G_uid_t): Likewise.
14187         (_G_wchar_t): Likewise.
14188         (_G_wint_t): Likewise.
14189         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
14190         (_G_ssize_t): Likewise.
14191         (_G_off_t): Likewise.
14192         (_G_pid_t): Likewise.
14193         (_G_uid_t): Likewise.
14194         (_G_wchar_t): Likewise.
14195         (_G_wint_t): Likewise.
14197 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14199         * malloc/arena.c: Include malloc-sysdep.h.
14200         (shrink_heap): Use check_may_shrink_heap to decide if madvise
14201         is sufficient to shrink the heap or an unmap is needed.
14202         * sysdeps/generic/malloc-sysdep.h: New file.  Define
14203         new function check_may_shrink_heap.
14204         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
14205         new function check_may_shrink_heap.
14207 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14209         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
14210         comments.
14212 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
14214         * catgets/test-gencat.sh: Add "set -e".
14215         * elf/tst-pathopt.sh: Likewise.
14216         * grp/tst_fgetgrent.sh: Likewise.
14217         * iconvdata/run-iconv-test.sh: Likewise.
14218         * intl/tst-gettext.sh: Likewise.
14219         * intl/tst-gettext2.sh: Likewise.
14220         * intl/tst-gettext4.sh: Likewise.
14221         * intl/tst-gettext6.sh: Likewise.
14222         * intl/tst-translit.sh: Likewise.
14223         * io/ftwtest-sh: Likewise.
14224         * libio/test-freopen.sh: Likewise.
14225         * malloc/tst-mtrace.sh: Likewise.
14226         * posix/globtest.sh: Likewise.
14227         * posix/tst-getconf.sh: Likewise.
14228         * posix/wordexp-tst.sh: Likewise.
14229         * stdio-common/tst-printf.sh: Likewise.
14230         * stdio-common/tst-unbputc.sh: Likewise.
14231         * stdlib/tst-fmtmsg.sh: Likewise.
14232         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14233         * catgets/Makefile: Do not specify -e option when running
14234         testsuite shell scripts.
14235         * elf/Makefile: Likewise.
14236         * grp/Makefile: Likewise.
14237         * iconvdata/Makefile: Likewise.
14238         * intl/Makefile: Likewise.
14239         * io/Makefile: Likewise.
14240         * libio/Makefile: Likewise.
14241         * malloc/Makefile: Likewise.
14242         * posix/Makefile: Likewise.
14243         * stdio-common/Makefile: Likewise.
14244         * stdlib/Makefile: Likewise.
14245         * sysdeps/x86_64/Makefile: Likewise.
14247         * io/ftwtest-sh: Add copyright header.
14248         * posix/globtest.sh: Likewise.
14249         * posix/tst-getconf.sh: Likewise.
14250         * posix/wordexp-tst.sh: Likewise.
14251         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
14253 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
14255         [BZ #13679]
14256         * Makeconfig (+link): Defined as $(+link-static) if
14257         $(build-shared) isn't yes.
14258         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
14259         isn't yes.
14260         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
14262         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
14264         [BZ #14562]
14265         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
14266         new chunk size with MALLOC_ALIGN_MASK.
14268 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
14270         [BZ #5044]
14271         * stdio-common/printf_fphex.c: Include <stdbool.h> and
14272         <rounding-mode.h>.
14273         (__printf_fphex): Determine rounding using get_rounding_mode and
14274         round_away.
14275         * stdio-common/tst-printf-round.c (struct hex_test): New
14276         structure.
14277         (hex_tests): New variable.
14278         (test_hex_in_one_mode): New function.
14279         (do_test): Also run tests for hex float output.
14281 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
14283         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14284         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14285         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
14286         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
14287         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
14288         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
14289         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14290         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
14292 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
14294         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
14295         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
14296         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
14297         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
14299 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
14301         [BZ #14579]
14302         * elf/rtld.c (dl_main): Limit the check for self loading to normal
14303         mode only.
14304         * elf/tst-rtld-load-self.sh: New test.
14305         * elf/Makefile: Run it.
14307 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
14309         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
14310         (tst-writev-ENV): Remove.
14311         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
14313 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
14315         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
14317 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
14319         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
14320         unconditional.
14321         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
14322         Likewise.
14323         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
14324         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
14325         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
14326         Likewise.
14328 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
14330         [BZ #14587]
14331         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
14332         * config.make.in (have-cpp-asm-debuginfo): Removed.
14333         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
14334         * configure: Regenerated.
14336 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
14338         [BZ #5044]
14339         * stdio-common/printf_fp.c: Include <stdbool.h> and
14340         <rounding-mode.h>.
14341         (___printf_fp): Determine rounding using get_rounding_mode and
14342         round_away.
14343         * stdio-common/tst-printf-round.c: New file.
14344         * stdio-common/Makefile (tests): Add tst-printf-round.
14345         (link-libm): New variable.
14346         ($(objpfx)tst-printf-round): Depend in $(link-libm).
14348 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
14350         [BZ #14576]
14351         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
14352         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
14353         Likewise.
14354         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
14355         Likewise.
14357 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
14359         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
14360         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14361         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14362         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
14364 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
14366         [BZ #14518]
14367         * include/rounding-mode.h: New file.
14368         * sysdeps/generic/get-rounding-mode.h: Likewise.
14369         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
14370         * stdlib/strtod_l.c: Include <rounding-mode.h>.
14371         (MAX_VALUE): New macro.
14372         (MIN_VALUE): Likewise.
14373         (overflow_value): New function.
14374         (underflow_value): Likewise.
14375         (round_and_return): Use overflow_value and underflow_value to
14376         determine return values in overflow and underflow cases.  Use
14377         round_away to determine rounding depending on rounding mode.
14378         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
14379         determine return values in overflow and underflow cases.
14380         * stdlib/tst-strtod-round.c: Include <fenv.h>.
14381         (struct test_results): New structure.
14382         (struct test): Use struct test_results to store expected results
14383         for all rounding modes.
14384         (TEST): Include expected results for all rounding modes.
14385         (test_in_one_mode): New function.
14386         (do_test): Use test_in_one_mode to compute and check results.
14387         Check results for all rounding modes.
14388         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
14389         $(link-libm).
14391 2012-12-09  Allan McRae  <allan@archlinux.org>
14393         * sysdeps/i386/fpu/libm-test-ulps: Update
14395 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
14397         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
14398         (_G_int32_t): Likewise.
14399         (_G_uint16_t): Likewise.
14400         (_G_uint32_t): Likewise.
14401         (_G_HAVE_BOOL): Likewise.
14402         (_G_HAVE_ATEXIT): Likewise.
14403         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14404         (_G_HAVE_IO_FILE_OPEN): Likewise.
14405         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
14406         (_G_int32_t): Likewise.
14407         (_G_uint16_t): Likewise.
14408         (_G_uint32_t): Likewise.
14409         (_G_HAVE_BOOL): Likewise.
14410         (_G_HAVE_ATEXIT): Likewise.
14411         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14412         (_G_HAVE_IO_FILE_OPEN): Likewise.
14413         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
14414         (_G_int32_t): Likewise.
14415         (_G_uint16_t): Likewise.
14416         (_G_uint32_t): Likewise.
14417         (_G_HAVE_BOOL): Likewise.
14418         (_G_HAVE_ATEXIT): Likewise.
14419         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
14420         (_G_HAVE_IO_FILE_OPEN): Likewise.
14422 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
14424         * csu/libc-tls.c: Update copyright years.
14426 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
14428         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
14429         [!_G_USING_THUNKS]: Remove conditional code.
14430         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
14431         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
14433         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
14434         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
14435         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14436         (_G_VTABLE_LABEL_PREFIX): Likewise.
14437         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14438         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14439         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14440         (_G_VTABLE_LABEL_PREFIX): Likewise.
14441         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14442         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
14443         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
14444         (_G_VTABLE_LABEL_PREFIX): Likewise.
14445         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
14447 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
14449         * libio/Makefile: Include ../Makeconfig before tests.
14450         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
14451         only if $(build-shared) is yes.
14453         * iconv/gconv_db.c: Update copyright years.
14455 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14457         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
14458         unwind info if defined PIC. Fix special cases description.
14459         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
14461         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
14462         DP_HI_MASK entry.
14463         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
14465 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
14467         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
14469         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
14470         is NULL.
14472         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
14473         (LDLIBS-tst-chk4): This.
14474         (LDFLAGS-tst-chk5): Renamed to ...
14475         (LDLIBS-tst-chk5): This.
14476         (LDFLAGS-tst-chk6): Renamed to ...
14477         (LDLIBS-tst-chk6): This.
14478         (LDFLAGS-tst-lfschk4): Renamed to ...
14479         (LDLIBS-tst-lfschk4): This.
14480         (LDFLAGS-tst-lfschk5): Renamed to ...
14481         (LDLIBS-tst-lfschk5): This.
14482         (LDFLAGS-tst-lfschk6): Renamed to ...
14483         (LDLIBS-tst-lfschk6): This.
14485         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
14486         on $(common-objpfx)soversions.mk.
14488 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
14490         [BZ #10014]
14491         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
14492         example host name.
14494 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14496         * malloc/arena.c (arena_get_retry): New function that gets
14497         another arena for the caller to try its request on.
14498         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
14499         current arena cannot fulfill the request.
14500         (__libc_memalign): Likewise.
14501         (__libc_memalign): Likewise.
14502         (__libc_pvalloc): Likewise.
14503         (__libc_calloc): Likewise.
14505 2012-09-05  John Tobey  <john.tobey@gmail.com>
14507         [BZ #13542]
14508         * manual/arith.texi (Operations on Complex): Fix description
14509         of carg branch cut.
14511 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14513         [BZ #10014]
14514         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
14515         host name.
14517         [BZ #10038]
14518         * manual/memory.texi (Memory): Make order of menu items match
14519         order of sections.
14521 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14523         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
14524         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
14525         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
14527 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14529         * csu/libc-tls.c (static_dtv): Renamed to ...
14530         (_dl_static_dtv): This.  Make it global.
14531         (_dl_initial_dtv): Removed.
14532         (__libc_setup_tls): Updated.
14533         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
14534         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
14535         DL_INITIAL_DTV.
14537 2012-09-06  Petr Machata  <pmachata@redhat.com>
14539         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
14540         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
14541         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
14542         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
14544 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14546         [BZ #14545]
14547         * csu/libc-tls.c (_dl_initial_dtv): New variable.
14548         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
14549         freeing dtv[-1].
14551 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14553         [BZ #14544]
14554         * Makeconfig (link-static-before-libc): Replace $(+prector)
14555         with $(+prectorT).
14556         (link-static-after-libc): Replace $(+postctor) with
14557         $(+postctorT).
14558         (link-bounded): Replace $(+prector)/$(+postctor) with
14559         $(+prectorT)/$(+postctorT).
14560         (+prectorT): New macro.
14561         (+postctorT): Likewise.
14563 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
14565         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
14566         (round_str): Handle values above the maximum for IBM long double
14567         as inexact.
14568         * stdlib/tst-strtod-round.c (tests): Regenerated.
14570 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14572         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
14573         assembler flag.
14574         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
14575         zarch_nohighgprs around the zarch optimized routines.
14576         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14577         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14578         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
14579         for zarch.
14581 2012-09-05  David S. Miller  <davem@davemloft.net>
14583         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14585         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
14586         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
14587         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
14588         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
14589         entries.
14591 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14593         * malloc/arena.c: Fold copyright years.
14594         * malloc/mcheck.c, malloc/memusage.c: Likewise.
14596 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14598         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
14600 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14602         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
14604 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14606         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
14607         change internal state upon failure.
14609 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
14611         * malloc/mcheck.c (mcheck_check_all): Fix typo.
14612         * malloc/memusage.c (mmap): Likewise.
14613         (mmap64, mremap): Likewise.  Adjust name in comment.
14615 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14617         * libio/fileops.c: Fix typos in comments.
14618         * libio/oldfileops.c: Likewise.
14619         * libio/wfileops.c: Likewise.
14621 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14623         [BZ #1349]
14624         * malloc/Makefile (tests): Add tst-malloc-usable test case.
14625         (tst-malloc-usable-ENV): Set environment for test case.
14626         * malloc/hooks.c (malloc_check_get_size): New function to get
14627         requested size.
14628         * malloc/malloc.c (musable): Use malloc_check_get_size.
14629         * malloc/tst-malloc-usable.c: New test case.
14631 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14633         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
14635 2012-09-05  Allan McRae  <allan@archlinux.org>
14637         [BZ #13966]
14638         * configure.in (CXX_SYSINCLUDES): Use compiler output to
14639         determine header location.
14640         * configure: Regenerated.
14642 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
14644         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
14645         float format.
14646         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
14647         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
14648         format.
14649         (test): Regenerate.
14651 2012-09-04  David S. Miller  <davem@davemloft.net>
14653         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
14654         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
14655         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
14657 2012-09-04  Florian Weimer  <fweimer@redhat.com>
14659         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
14660         failures.
14662         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
14664 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
14666         [BZ #9914]
14667         * libio/iogetdelim.c: Include <limits.h>.
14668         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
14669         + len + 1 would overflow.
14671 2012-09-03  Andreas Jaeger  <aj@suse.de>
14673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14674         * sysdeps/i386/fpu/libm-test-ulps: Update.
14676 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
14678         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
14679         Add s_sinf-sse2, s_conf-sse2.
14681         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
14682         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
14683         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
14684         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
14686         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
14687         for using routine as __sinf_ia32.
14688         Use macro for function declaration and weak_alias.
14689         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
14690         for using routine as __cosf_ia32.
14691         Use macro for function declaration and weak_alias.
14693         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
14694         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
14696         * sysdeps/x86_64/fpu/s_sinf.S: New file.
14697         * sysdeps/x86_64/fpu/s_cosf.S: New file.
14698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14700         * math/libm-test.inc (cos_test): Add more test cases.
14701         (sin_test): Likewise.
14702         (sincos_test): Likewise.
14704 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14706         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
14707         (IFUNC_RESOLVE): Make pointers to the specialized implementations
14708         hidden.
14709         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14711 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
14713         [BZ #14538]
14714         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
14715         first element of the GOT.
14716         (elf_machine_load_address): Return the difference between
14717         the runtime address of _DYNAMIC and elf_machine_dynamic ().
14719 2012-09-01  Allan McRae  <allan@archlinux.org>
14721         [BZ #13412]
14722         * configure.in (AWK): Require gawk version 3.0 or later.
14723         * configure: Regenerated.
14725 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
14727         * sysdeps/unix/sysv/linux/kernel-features.h
14728         (__ASSUME_POSIX_CPU_TIMERS): Remove.
14729         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
14730         [__NR_clock_getres]: Make code unconditional.
14731         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
14732         (clock_getcpuclockid): Remove code left unreachable by removal of
14733         conditionals.
14734         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
14735         code unconditional.
14736         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14737         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14738         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
14739         Make code unconditional.
14740         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
14741         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14742         * sysdeps/unix/sysv/linux/clock_settime.c
14743         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
14744         conditional code.
14745         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
14746         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
14748 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
14750         [BZ #14476]
14751         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
14752         scripts/test-installation.pl.
14754         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
14755         and $ld_so_version if it is set.
14757 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14759         [BZ #14516]
14760         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
14761         failure if reading from procfs failed.
14762         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
14764 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14766         * sysdeps/unix/sysv/linux/kernel-features.h
14767         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
14768         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14769         Remove conditional code.
14770         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14771         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
14772         Remove conditional code.
14773         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14774         * sysdeps/unix/sysv/linux/i386/fxstat.c
14775         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14776         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14777         * sysdeps/unix/sysv/linux/i386/fxstatat.c
14778         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14779         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14780         * sysdeps/unix/sysv/linux/i386/lxstat.c
14781         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
14782         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14783         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
14784         Remove conditional code.
14785         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14786         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
14787         Remove conditional code.
14788         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14789         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
14790         <kernel-features.h>.
14791         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
14792         Remove.
14793         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
14794         Remove conditional code.
14795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
14796         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
14797         Remove conditional.
14799 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
14801         [BZ #5400]
14802         * NEWS: Add fixed bug number.
14804 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
14806         [BZ #14519]
14807         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
14808         underflowing exponent in case of negative sign.
14809         * stdlib/tst-strtod-round-data: Add more tests.
14810         * stdlib/tst-strtod-round.c (tests): Regenerated.
14812         [BZ #3479]
14813         * stdlib/strtod_l.c (NDIG): Remove.
14814         (HEXNDIG): Likewise.
14815         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
14816         smallest representable value.
14817         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
14818         lie within an exact representation of 1/2 ulp of the result.
14819         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
14820         unconditionally.
14821         (TENS_P9_IDX): Define unconditionally.
14822         (TENS_P9_SIZE): Likewise.
14823         (TENS_P10_IDX): Likewise.
14824         (TENS_P10_SIZE): Likewise.
14825         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
14826         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
14827         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
14828         entries for 10^2^13 and 10^2^14.
14829         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
14830         (TENS_P13_IDX): Define.
14831         (TENS_P13_SIZE): Likewise.
14832         (TENS_P14_IDX): Likewise.
14833         (TENS_P14_SIZE): Likewise.
14834         (_fpioconst_pow10): Change array size to
14835         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
14836         unconditional.
14837         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
14838         1024]: Add entries for 10^2^13 and 10^2^14.
14839         [LAST_POW10 > _LAST_POW10]: Remove #error.
14840         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
14841         (_fpioconst_pow10): Change array size to
14842         FPIOCONST_POW10_ARRAY_SIZE.
14843         * stdlib/gen-fpioconst.c: New file.
14844         * stdlib/gen-tst-strtod-round.c: Likewise.
14845         * stdlib/tst-strtod-round-data: Likewise.
14846         * stdlib/tst-strtod-round.c: Likewise.
14847         * stdlib/Makefile (tests): Add tst-strtod-round.
14849         [BZ #14459]
14850         * stdlib/strtod_l.c: Include <stdint.h>.
14851         (NDEBUG): Do not define.
14852         (round_and_return): Change EXPONENT parameter to type intmax_t.
14853         Rearrange calculations to avoid internal overflow possibilities.
14854         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
14855         Rearrange calculations to avoid internal overflow possibilities.
14856         Assert that number fits inside MPNSIZE limbs.
14857         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
14858         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
14859         calculations and add assertions to avoid internal overflow
14860         possibilities.  Add casts to avoid signed/unsigned operations.
14861         * stdlib/tst-strtod-overflow.c: New file.
14862         * stdlib/Makefile (tests): Add tst-strtod-overflow.
14864 2012-08-25  Marek Polacek  <polacek@redhat.com>
14866         * time/time.h: Fix some typos in comments.
14868 2012-08-23  Roland McGrath  <roland@hack.frob.com>
14870         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
14871         * posix/tst-rfc3484-2.c: Likewise.
14872         * posix/tst-rfc3484-3.c: Likewise.
14874 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
14876         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
14877         (EF_ARM_ABI_FLOAT_HARD): Likewise.
14879 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
14881         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
14882         #include of fxstatat64.c.
14884 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14886         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
14887         * shadow/getspent_r.c: Likewise.
14888         * shadow/getspnam.c: Likewise.
14889         * shadow/getspnam_r.c: Likewise.
14890         * gshadow/getsgent.c: Likewise.
14891         * gshadow/getsgent_r.c: Likewise.
14892         * gshadow/getsgnam.c: Likewise.
14893         * gshadow/getsgnam_r.c: Likewise.
14894         * inet/getnetbyad.c: Likewise.
14895         * inet/getnetbyad_r.c: Likewise.
14896         * inet/getnetbynm.c: Likewise.
14897         * inet/getnetbynm_r.c: Likewise.
14898         * inet/getnetent.c: Likewise.
14899         * inet/getnetent_r.c: Likewise.
14900         * inet/getproto.c: Likewise.
14901         * inet/getproto_r.c: Likewise.
14902         * inet/getprtent.c: Likewise.
14903         * inet/getprtent_r.c: Likewise.
14904         * inet/getprtname.c: Likewise.
14905         * inet/getprtname_r.c: Likewise.
14906         * inet/getrpcbyname.c: Likewise.
14907         * inet/getrpcbyname_r.c: Likewise.
14908         * inet/getrpcbynumber.c: Likewise.
14909         * inet/getrpcbynumber_r.c: Likewise.
14910         * inet/getrpcent.c: Likewise.
14911         * inet/getrpcent_r.c: Likewise.
14912         * inet/getaliasent.c: Likewise.
14913         * inet/getaliasent_r.c: Likewise.
14914         * inet/getaliasname.c: Likewise.
14915         * inet/getaliasname_r.c: Likewise.
14916         * nscd/getgrgid_r.c: Likewise.
14917         * nscd/getgrnam_r.c: Likewise.
14918         * nscd/gethstbyad_r.c: Likewise.
14919         * nscd/gethstbynm3_r.c: Likewise.
14920         * nscd/getpwnam_r.c: Likewise.
14921         * nscd/getpwuid_r.c: Likewise.
14922         * nscd/getsrvbynm_r.c: Likewise.
14923         * nscd/getsrvbypt_r.c: Likewise.
14924         * nscd/gai.c: Likewise.
14926         * configure.in (build_nscd): New substituted variable, set
14927         by --disable-build-nscd and defaults to $use_nscd.
14928         * configure: Regenerated.
14929         * config.make.in (build-nscd): New substituted variable.
14930         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
14931         Change conditional to require [$(build-nscd) = yes] as well.
14932         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
14934         [BZ# 13696]
14935         * configure.in (use_nscd): New substituted variable, set by
14936         --disable-nscd.  If enabled, define USE_NSCD.
14937         * configure: Regenerated.
14938         * config.h.in: Add USE_NSCD.
14939         * config.make.in (use-nscd): New substituted variable.
14940         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
14941         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
14942         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
14943         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
14944         (CFLAGS-getgrnam_r.c): Likewise.
14945         (CFLAGS-initgroups.c): Likewise.
14946         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
14947         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
14948         Variables removed.
14949         * inet/getnetgrent_r.c
14950         (nscd_setnetgrent): New function, broken out of ...
14951         (setnetgrent): ... here.  Call it.
14952         (innetgr): Conditionalize nscd bits on [USE_NSCD].
14953         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
14954         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
14955         * nscd/Makefile (routines, aux): Move definitions after include of
14956         Makeconfig.  Conditionalize on [$(use-nscd) != no].
14957         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
14958         Conditionalize on [USE_NSCD].
14959         (is_nscd, nscd_init_cb): Likewise.
14960         (nss_load_library): Conditionalize init callback on [USE_NSCD].
14961         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
14962         * nss/nss_db/db-init.c: Likewise.
14963         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
14964         [USE_NSCD].
14965         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
14966         (make_request): Use it.
14967         (cache_valid_p): New function.
14968         (__check_pf): Use it.
14969         * NEWS: Add item for --disable-nscd.
14971 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
14973         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
14974         to support sed >= 4.2.1-20-ga9bf076.
14975         * configure: Regenerated.
14977 2012-08-22  Roland McGrath  <roland@hack.frob.com>
14979         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
14980         Conditionalize whole body on [IREL].
14982 2012-08-22  Jeff Law <law@redhat.com>
14984         [BZ #14505]
14985         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
14986         if the family is PF_UNSPEC.
14988 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
14990         * Makerules (lib-version): Rename from V.
14991         (install-lib-nosubdir): Change V to lib-version.
14993 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
14995         [BZ #14252]
14996         * powerpc32/power6/wcschr.c: New file.
14997         * powerpc32/power6/wcscpy.c: New file.
14998         * powerpc32/power6/wcsrchr.c: New file.
14999         * powerpc64/power6/wcschr.c: New file.
15000         * powerpc64/power6/wcscpy.c: New file.
15001         * powerpc64/power6/wcsrchr.c: New file.
15003 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15005         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
15006         (two_way_short_needle): Use it.
15007         * string/strstr.c (AVAILABLE1_USES_J): Define.
15008         * string/strcasestr.c: Likewise.
15010         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
15011         array references.
15012         * string/strcasestr.c (TOLOWER): Make side-effect safe.
15014         [BZ #11607]
15015         * NEWS: Add an entry.
15016         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
15017         define their defaults.
15018         (two_way_short_needle): Detect end-of-string on-the-fly.
15019         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
15020         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
15021         * string/bug-strcasestr1.c: New test.
15022         * string/Makefile: Run it.
15024 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
15026         [BZ #11607]
15027         * string/str-two-way.h (two_way_short_needle): Optimize matching of
15028         the first character.
15030 2012-08-21  Roland McGrath  <roland@hack.frob.com>
15032         * csu/elf-init.c (__libc_csu_irel): Function removed.
15033         * csu/libc-start.c (apply_irel): New function.
15034         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
15036 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
15038         * sysdeps/unix/sysv/linux/kernel-features.h
15039         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
15040         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
15041         <kernel-features.h>.
15042         [__NR_fadvise64_64]: Make code unconditional.
15043         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
15044         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15045         !__NR_fadvise64_64)]: Likewise.
15046         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
15047         !__NR_fadvise64_64))]: Likewise.
15048         [__NR_fadvise64]: Make code unconditional.
15049         [!__NR_fadvise64]: Remove conditional code.
15050         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
15051         <kernel-features.h>.
15052         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15053         unconditional.
15054         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15055         conditional code.
15056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
15057         not include <kernel-features.h>.
15058         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15059         unconditional.
15060         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15061         conditional code.
15062         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
15063         include <kernel-features.h>.
15064         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
15065         unconditional.
15066         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
15067         conditional code.
15069 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
15071         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
15072         slight instruction rearrangements per scrollpipe analysis.
15073         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
15075 2012-08-20  Roland McGrath  <roland@hack.frob.com>
15077         * manual/syslog.texi (syslog; vsyslog, closelog):
15078         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
15079         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
15081         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
15082         DSOCAPS to match condition on defining it.
15084 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
15086         * sysdeps/unix/sysv/linux/kernel-features.h
15087         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
15088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
15089         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15090         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
15092         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15093         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
15095         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
15096         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
15098         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
15099         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
15101         * sysdeps/unix/sysv/linux/kernel-features.h
15102         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
15103         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
15104         unconditional.
15105         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15106         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
15107         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15108         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15109         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
15110         Make code unconditional.
15111         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15112         (__mmap64) [!__NR_mmap2]: Likewise.
15113         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
15114         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
15115         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15116         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
15117         [__NR_mmap2]: Make code unconditional.
15118         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
15119         (__mmap64) [!__NR_mmap2]: Likewise.
15121 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15123         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
15125 2012-08-18  Andreas Jaeger  <aj@suse.de>
15127         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
15129 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15131         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
15132         * include/unistd.h (__have_sock_cloexec): Likewise.
15133         (__have_pipe2): Likewise.
15134         (__have_dup3): Likewise.
15136 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
15138         [BZ #9685]
15139         * include/unistd.h (__have_pipe2): Change define into an extern int.
15140         (__have_dup3): Likewise.
15141         * socket/have_sock_cloexec.c: Include fcntl.h.
15142         (__have_pipe2): New variable.
15143         (__have_dup3): Likewise.
15145 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
15147         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
15149 2012-08-17  Marek Polacek  <polacek@redhat.com>
15151         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
15152         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
15154 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15156         * configure.in: Add AC_SUBST for sysheaders.
15157         * configure: Regenerated.
15158         * config.make.in (sysheaders): New substituted variable.
15160         * sysdeps/unix/mkfifo.c: Moved ...
15161         * sysdeps/posix/mkfifo.c: ... here.
15162         * sysdeps/unix/mkfifoat.c: Moved ...
15163         * sysdeps/posix/mkfifoat.c: ... here.
15165         * sysdeps/unix/utime.c: Moved ...
15166         * sysdeps/posix/utime.c: ... here.
15168         * sysdeps/unix/time.c: Moved ...
15169         * sysdeps/posix/time.c: ... here.
15170         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
15171         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
15173         * sysdeps/unix/nice.c: Moved ...
15174         * sysdeps/posix/nice.c: ... here.
15176         * sysdeps/unix/alarm.c: Moved ...
15177         * sysdeps/posix/alarm.c: ... here.
15179         * intl/Makefile ($(codeset_mo)): Depend on the input file.
15181 2012-08-17  Jeff Law <law@redhat.com>
15183         * intl/Makefile (codeset_mo): New variable.
15184         ($(codeset_mo)): New target.
15185         (tst-codeset.out): Depend on that.  Remove explicit rule.
15186         (tst-gettext3.out, tst-gettext5.out): Likewise.
15187         (LOCPATH-ENV, tst-codeset-ENV): New variables.
15188         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
15189         * intl/tst-codeset.sh: Remove.
15190         * intl/tst-gettext3.sh: Likewise.
15191         * intl/tst-gettext5.sh: Likewise.
15193 2012-08-17  Roland McGrath  <roland@hack.frob.com>
15195         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
15196         * sysdeps/unix/syscalls.list: ... here.
15198         * sysdeps/posix/getaddrinfo.c
15199         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
15200         (gaiconf_init, gaiconf_reload): Use them.
15201         [!_STATBUF_ST_NSEC]
15202         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
15203         Define using time_t rather than struct timespec.
15205         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
15206         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
15207         Macros removed.
15208         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
15209         [!NO_THREADS].
15210         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
15211         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
15212         Likewise.
15214         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
15215         __libc_cleanup_push argument.
15217         * bits/param.h: New file.
15218         * misc/sys/param.h: New file.
15219         * include/sys/param.h: New file.
15220         * misc/Makefile (headers): Add bits/param.h.
15221         * sysdeps/generic/sys/param.h: File removed.
15222         * sysdeps/unix/sysv/linux/bits/param.h: New file.
15223         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
15224         * sysdeps/mach/hurd/bits/param.h: New file.
15225         * sysdeps/mach/hurd/sys/param.h: File removed.
15227         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
15228         last change.
15230         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
15231         [_IO_MTSAFE_IO].
15232         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
15233         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
15234         New macros.
15236         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
15237         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
15238         rather than -D_IO_MTSAFE_IO conditionally.
15239         * stdio-common/Makefile (CPPFLAGS): Likewise.
15240         * wcsmbs/Makefile (CPPFLAGS): Likewise.
15241         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
15242         Use $(libio-mtsafe).
15243         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
15244         of -D_IO_MTSAFE_IO.
15245         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
15246         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
15247         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
15248         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
15249         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
15250         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
15251         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
15252         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
15253         (CFLAGS-fread_u_chk.c): Likewise.
15254         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
15255         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
15256         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
15257         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
15258         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
15259         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
15260         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
15261         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
15262         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
15264         * libio/Makefile: Test [$(libc-reentrant) = yes]
15265         instead of [$(filter %REENTRANT, $(defines)) nonempty].
15267         * Makeconfig
15268         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
15269         * sysdeps/pthread/configure: File removed.
15270         * sysdeps/pthread/Makeconfig: New file.
15271         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
15272         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
15274 2012-08-16  Gary Benson  <gbenson@redhat.com>
15276         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
15277         unmapping the first object in a namespace.
15279 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15281         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
15282         (__internal_setnetgrent): ... this.  Add internal_function to
15283         definition.  Add libc_hidden_def.
15284         (setnetgrent): Update caller.
15285         (internal_endnetgrent): Renamed to ...
15286         (__internal_endnetgrent): ... this.  Add internal_function to
15287         definition.  Add libc_hidden_def.
15288         (endnetgrent): Update caller.
15289         (internal_getnetgrent_r): Renamed to ...
15290         (__internal_getnetgrent_r): ... this.  Add internal_function to
15291         definition.  Add libc_hidden_def.
15292         (__getnetgrent_r): Update caller.
15293         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
15295 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15297         * stdlib/longlong.h: Update from GCC.
15299 2012-08-16  Roland McGrath  <roland@hack.frob.com>
15301         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
15302         on _QL, which is set by umul_ppmm but never used.
15303         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
15304         variables, which are set by GMP macros but never used.
15305         * stdio-common/_itowa.c (_itowa): Likewise.
15306         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
15307         * stdlib/mod_1.c (mpn_mod_1): Likewise.
15309 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
15311         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
15312         struct La_sh_regs is not constant.
15313         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
15314         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
15315         and struct La_sparc64_regs are not constant.
15317 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
15319         * sysdeps/unix/sysv/linux/kernel-features.h
15320         (__ASSUME_POSIX_TIMERS): Remove.
15321         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15322         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15323         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
15324         Make code unconditional.
15325         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15326         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
15327         Make code unconditional.
15328         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15329         * sysdeps/unix/sysv/linux/clock_nanosleep.c
15330         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
15331         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15332         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
15333         Make code unconditional.
15334         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
15335         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
15336         (__libc_missing_posix_timers): Remove.
15338 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15340         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
15341         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
15343         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
15345         * elf/dl-sym.c: Include <stdlib.h>.
15347         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
15348         constants, which avoids warnings in 32-bit builds.
15350         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
15351         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
15353         * misc/lseek.c: File moved to ...
15354         * io/lseek.c: ... here.
15356         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
15358         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
15359         shifting LEN more than 31 bits at once.
15361 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
15363         [BZ #14195]
15364         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
15365         segmentation fault for a case of two empty input strings.
15366         * string/test-strncasecmp.c (check1): Renamed to...
15367         (bz12205): ...this.
15368         (bz14195): Add new testcase for two empty input strings and N > 0.
15369         (test_main): Call new testcase, adapt for renamed function.
15371 2012-08-15  Andreas Jaeger  <aj@suse.de>
15373         [BZ #14090]
15374         * crypt/md5test2.c: New test, based on test supplied by Serge
15375         Belyshev <belyshev@depni.sinp.msu.ru>.
15376         * crypt/Makefile (xtests): Add md5test-giant..
15377         * crypt/Makefile ($(objpfx)md5test-giant): Add.
15379 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
15381         [BZ #14090]
15382         * crypt/md5.c (md5_process_block): Don't assume the buffer
15383         length is less than 2**32.
15384         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
15385         length is less than 2**64.
15387 2012-08-15  Roland McGrath  <roland@hack.frob.com>
15389         * string/str-two-way.h: Include <sys/param.h>.
15390         (MAX): Macro removed.
15392         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
15393         Move #define and #undef of memmove to just before and after
15394         including <string.h>.
15396         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
15397         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
15398         and after including <string.h>.  Move declarations of
15399         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
15400         to before #include "string/memmove.c".
15402         * include/dirent.h: Declare __getdirentries.
15404         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
15405         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
15407 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
15409         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
15410         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
15411         * sysdeps/i386/configure: Regenerated.
15412         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
15413         STABS_CURRENT_FILE, and STABS_FUN.
15414         (END): Remove call to STABS_FUN_END.
15415         (STABS_CURRENT_FILE1): Delete.
15416         (STABS_CURRENT_FILE): Likewise.
15417         (STABS_FUN): Likewise.
15418         (STABS_FUN_END): Likewise.
15419         (STABS_FUN2): Likewise.
15420         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
15421         * sysdeps/x86_64/configure: Regenerated.
15423 2012-08-14  Roland McGrath  <roland@hack.frob.com>
15425         * elf/dl-open.c: Include <atomic.h>.
15426         * elf/dl-lookup.c: Likewise.
15428 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
15430         * sysdeps/unix/sysv/linux/kernel-features.h
15431         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
15432         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
15433         unconditionally.
15434         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
15435         unconditionally.
15436         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
15437         condition on __ASSUME_CLONE_THREAD_FLAGS.
15439 2012-08-14  Andreas Jaeger  <aj@suse.de>
15441         * sysdeps/i386/fpu/libm-test-ulps: Update.
15443 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
15445         * include/atomic.h (atomic_exchange_and_add): Split into ...
15446         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
15447         New atomic macros.
15449 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
15451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15453 2012-08-13  Jeff Law <law@redhat.com>
15455         * manual/stdio.texi (snprintf): Clarify handling of the trailing
15456         null byte in the output string.
15458 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
15460         * sysdeps/unix/sysv/linux/kernel-features.h
15461         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
15462         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
15463         (__ASSUME_ARG_MAX_STACK_BASED): Define.
15464         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
15465         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
15466         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
15467         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
15469 2012-08-09  Jeff Law <law@redhat.com>
15471         [BZ #13939]
15472         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
15473         When avoid_arena is set, don't retry in the that arena.  Pick the
15474         next one, whatever it might be.
15475         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
15476         (arena_lock): Pass in new parameter to arena_get2.
15477         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
15478         arena_get2.
15479         (__libc_malloc): Unify retrying after main arena failure with
15480         __libc_memalign version.
15481         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
15483 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15485         [BZ #14166]
15486         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
15487         to __redirect_strstr.
15488         (__strstr_sse42): Use typeof __redirect_strstr.
15489         (__strstr_ia32): Likewise.
15490         (__libc_strstr): New prototype.
15491         (strstr): Renamed to ...
15492         (__libc_strstr): This.
15493         (strstr): New strong alias of __libc_strstr.
15494         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15495         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
15496         __redirect_time.
15497         Include <time.h>.
15498         (__libc_time): New prototype.
15499         (time_ifunc): Replace time with __libc_time.
15500         (time): New strong alias and hidden definition of __libc_time.
15501         (__GI_time): Remove strong alias.
15502         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
15503         Include <stddef.h>.
15504         (memmove): Redefined to __redirect_memmove.
15505         (__memmove_sse2): Use typeof __redirect_memmove.
15506         (__memmove_ssse3): Likewise.
15507         (__memmove_ssse3_back): Likewise.
15508         (__libc_memmove): New prototype.
15509         (memmove): Renamed to ...
15510         (__libc_memmove): This.
15511         (memmove): New strong alias of __libc_memmove.
15513 2012-08-08  Mark Salter  <msalter@redhat.com>
15515         * elf/elf.h
15516         (R_MN10300_TLS_GD): Define.
15517         (R_MN10300_TLS_LD): Likewise.
15518         (R_MN10300_TLS_LDO): Likewise.
15519         (R_MN10300_TLS_GOTIE): Likewise.
15520         (R_MN10300_TLS_IE): Likewise.
15521         (R_MN10300_TLS_LE): Likewise.
15522         (R_MN10300_TLS_DTPMOD): Likewise.
15523         (R_MN10300_TLS_DTPOFF): Likewise.
15524         (R_MN10300_TLS_TPOFF): Likewise.
15525         (R_MN10300_SYM_DIFF): Likewise.
15526         (R_MN10300_ALIGN): Likewise.
15527         (R_MN10300_NUM): Update.
15529 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
15531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
15532         Remove.
15534 2012-08-08  Roland McGrath  <roland@hack.frob.com>
15536         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
15538         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
15539         sysdeps/unix -> sysdeps/posix move.
15540         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15542 2012-08-07      Allan McRae     <allan@archlinux.org>
15544         [BZ #14303]
15545         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
15546         (SUNOS_CPP): Likewise.
15547         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
15548         not found.
15549         (open_input): Call CPP using execvp.
15551 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15553         * sysdeps/unix/sysv/linux/kernel-features.h
15554         (__ASSUME_PROT_GROWSUPDOWN): Remove.
15555         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15556         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15557         (__ASSUME_WAITID_SYSCALL): Likewise.
15558         * sysdeps/unix/sysv/linux/dl-execstack.c
15559         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
15560         code unconditional.
15561         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
15562         conditional code.
15563         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
15564         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
15565         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
15566         code.
15567         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
15568         unconditional.
15569         [__ASSUME_WAITID_SYSCALL]: Likewise.
15570         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
15572 2012-08-07  Roland McGrath  <roland@hack.frob.com>
15574         * sysdeps/unix/closedir.c: Renamed to ...
15575         * sysdeps/posix/closedir.c: ... here.
15576         * sysdeps/unix/dirfd.c: Renamed to ...
15577         * sysdeps/posix/dirfd.c: ... here.
15578         * sysdeps/unix/dirstream.h: Renamed to ...
15579         * sysdeps/posix/dirstream.h: ... here.
15580         * sysdeps/unix/fdopendir.c: Renamed to ...
15581         * sysdeps/posix/fdopendir.c: ... here.
15582         * sysdeps/unix/opendir.c: Renamed to ...
15583         * sysdeps/posix/opendir.c: ... here.
15584         * sysdeps/unix/readdir.c: Renamed to ...
15585         * sysdeps/posix/readdir.c: ... here.
15586         * sysdeps/unix/readdir_r.c: Renamed to ...
15587         * sysdeps/posix/readdir_r.c: ... here.
15588         * sysdeps/unix/rewinddir.c: Renamed to ...
15589         * sysdeps/posix/rewinddir.c: ... here.
15590         * sysdeps/unix/seekdir.c: Renamed to ...
15591         * sysdeps/posix/seekdir.c: ... here.
15592         * sysdeps/unix/telldir.c: Renamed to ...
15593         * sysdeps/posix/telldir.c: ... here.
15594         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
15595         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
15596         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15597         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15599         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
15600         * bits/fcntl.h: ... here.
15602         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
15603         not 0.
15604         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
15605         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
15606         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
15607         (struct flock): Move l_start, l_len to the beginning.
15608         Use __pid_t for l_pid.
15609         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
15610         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
15611         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
15612         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
15613         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
15614         [__USE_LARGEFILE64] (struct flock64): New type.
15615         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
15617         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
15618         * bits/dirent.h: ... here.
15620         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
15621         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
15623 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
15625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15626         Change from 2.6.0 to 2.6.16.
15627         * sysdeps/unix/sysv/linux/configure: Regenerated.
15628         * sysdeps/unix/sysv/linux/kernel-features.h
15629         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
15630         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
15631         version.
15632         (__ASSUME_UTIMES): Likewise.
15633         (__ASSUME_CLONE_STOPPED): Remove.
15634         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
15635         architectures, not kernel version.
15636         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
15637         (__ASSUME_NO_CLONE_DETACHED): Likewise.
15638         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
15639         (__ASSUME_WAITID_SYSCALL): Likewise.
15640         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
15641         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
15642         * README: State 2.6.16 as minimum Linux kernel version.  Do not
15643         refer to older versions.
15645 2012-08-06  Roland McGrath  <roland@hack.frob.com>
15647         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
15648         Define alphasort64 as an alias.
15649         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
15650         Define versionsort64 as an alias.
15651         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
15652         Define scandir64 as an alias.
15653         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
15654         Define scandirat64 as an alias.
15655         * dirent/alphasort64.c (alphasort64):
15656         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
15657         * dirent/versionsort64.c: Likewise.
15658         * dirent/scandir64.c: Likewise.
15659         * dirent/scandirat64.c: Likewise.
15660         * sysdeps/wordsize-64/alphasort.c: File removed.
15661         * sysdeps/wordsize-64/alphasort64.c: File removed.
15662         * sysdeps/wordsize-64/scandir.c: File removed.
15663         * sysdeps/wordsize-64/scandir64.c: File removed.
15664         * sysdeps/wordsize-64/scandirat.c: File removed.
15665         * sysdeps/wordsize-64/scandirat64.c: File removed.
15666         * sysdeps/wordsize-64/versionsort.c: File removed.
15667         * sysdeps/wordsize-64/versionsort64.c: File removed.
15668         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
15669         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
15670         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
15671         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
15672         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
15673         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
15674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
15675         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
15677         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
15678         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15679         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
15680         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15681         [defined __arch64__ || defined __sparcv9]
15682         (__INO_T_MATCHES_INO64_T): New macro.
15683         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15684         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
15685         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
15686         * sysdeps/unix/sysv/linux/bits/dirent.h
15687         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
15688         (_DIRENT_MATCHES_DIRENT64): New macro.
15690         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
15691         Define lockf64 as an alias.
15692         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
15693         Define fseeko64 as an alias.
15694         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
15695         Define ftello64 as an alias.
15696         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
15697         Define _IO_fgetpos64 and fgetpos64 as aliases.
15698         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
15699         Define _IO_fsetpos64 and fsetpos64 as aliases.
15700         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
15701         Conditionalize body on this.
15702         * libio/fseeko64.c: Likewise.
15703         * libio/ftello64.c: Likewise.
15704         * libio/iofgetpos64.c: Likewise.
15705         * libio/iofsetpos64.c: Likewise.
15706         * sysdeps/wordsize-64/lockf.c: File removed.
15707         * sysdeps/wordsize-64/lockf64.c: File removed.
15708         * sysdeps/wordsize-64/fseeko.c: File removed.
15709         * sysdeps/wordsize-64/fseeko64.c: File removed.
15710         * sysdeps/wordsize-64/ftello.c: File removed.
15711         * sysdeps/wordsize-64/ftello64.c: File removed.
15712         * sysdeps/wordsize-64/iofgetpos.c: File removed.
15713         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
15714         * sysdeps/wordsize-64/iofsetpos.c: File removed.
15715         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
15716         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
15717         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
15718         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
15719         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
15720         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
15721         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
15722         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
15723         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
15724         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
15725         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
15727         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15728         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
15729         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
15730         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15731         [defined __arch64__ || defined __sparcv9]
15732         (__OFF_T_MATCHES_OFF64_T): New macro.
15733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15734         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
15735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15736         (__OFF_T_MATCHES_OFF64_T): New macro.
15738 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15740         * stdlib/secure-getenv.c (__secure_getenv): Replace
15741         GLIBC_2_16 with GLIBC_2_17.
15743 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
15745         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
15746         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
15748 2012-08-03  David S. Miller  <davem@davemloft.net>
15750         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15752 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15754         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
15755         Remove.
15756         (__ASSUME_CORRECT_SI_PID): Likewise.
15757         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
15758         (__ASSUME_TMPFS_NAME): Likewise.
15759         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
15760         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
15761         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
15762         (HAVE_AUX_SECURE): Make definition unconditional.
15763         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
15764         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
15766 2012-08-03  Roland McGrath  <roland@hack.frob.com>
15768         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
15769         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
15770         * sysdeps/mach/hurd/eloop-threshold.h: New file.
15771         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
15772         __eloop_threshold instead of SYMLOOP_MAX.
15774         * sysdeps/generic/eloop-threshold.h: New file.
15775         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
15776         of MAXSYMLINKS.
15777         * elf/chroot_canon.c (chroot_canon): Likewise.
15779 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
15781         [BZ #13717]
15782         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15783         Change to 2.6.0 everywhere.
15784         * sysdeps/unix/sysv/linux/configure: Regenerated.
15785         * sysdeps/unix/sysv/linux/kernel-features.h
15786         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
15787         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
15788         kernel versions.
15789         (__ASSUME_POSIX_TIMERS): Define unconditionally.
15790         (__ASSUME_FUTEX_REQUEUE): Remove.
15791         (__ASSUME_STATFS64): Define unconditionally.
15792         (__ASSUME_AT_SECURE): Likewise.
15793         (__ASSUME_CORRECT_SI_PID): Likewise.
15794         (__ASSUME_TGKILL): Define without depending on kernel version for
15795         i386.
15796         (__ASSUME_UTIMES): Likewise.
15797         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
15798         kernel version.
15799         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
15800         (__ASSUME_TMPFS_NAME): Likewise.
15801         * README: Update reference to Linux kernel versions.
15803 2012-08-02  Marek Polacek  <polacek@redhat.com>
15805         [BZ# 14150]
15806         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
15807         libc_cv_asm_type_prefix with %.
15808         * configure: Regenerated.
15809         * include/libc-symbols.h: Remove comment about
15810         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15811         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
15812         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
15813         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
15814         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
15815         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
15816         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
15817         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
15818         * elf/tst-unique2mod1.c: Likewise.
15819         * elf/tst-unique1mod2.c: Likewise.
15820         * elf/tst-unique1mod1.c: Likewise.
15821         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
15822         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
15823         Replace ASM_TYPE_DIRECTIVE with .type.
15824         * sysdeps/s390/s390-64/sysdep.h: Likewise.
15825         * sysdeps/i386/sysdep.h: Likewise.
15826         * sysdeps/x86_64/sysdep.h: Likewise.
15827         * sysdeps/sh/sysdep.h: Likewise.
15828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15829         Do not define ASM_TYPE_DIRECTIVE.
15830         * sysdeps/powerpc/sysdep.h: Likewise.
15831         * sysdeps/powerpc/powerpc32/sysdep.h:
15832         Replace ASM_TYPE_DIRECTIVE with .type.
15833         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15834         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15835         * sysdeps/i386/fpu/e_powf.S: Likewise.
15836         * sysdeps/i386/fpu/e_expl.S: Likewise.
15837         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
15838         * sysdeps/i386/fpu/e_acosh.S: Likewise.
15839         * sysdeps/i386/fpu/e_pow.S: Likewise.
15840         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
15841         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
15842         * sysdeps/i386/fpu/s_expm1.S: Likewise.
15843         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
15844         * sysdeps/i386/fpu/e_log2.S: Likewise.
15845         * sysdeps/i386/fpu/e_log2l.S: Likewise.
15846         * sysdeps/i386/fpu/e_scalb.S: Likewise.
15847         * sysdeps/i386/fpu/e_powl.S: Likewise.
15848         * sysdeps/i386/fpu/e_log10f.S: Likewise.
15849         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
15850         * sysdeps/i386/fpu/e_logl.S: Likewise.
15851         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
15852         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
15853         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
15854         * sysdeps/i386/fpu/e_log2f.S: Likewise.
15855         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
15856         * sysdeps/i386/fpu/e_log.S: Likewise.
15857         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
15858         * sysdeps/i386/fpu/e_logf.S: Likewise.
15859         * sysdeps/i386/fpu/e_log10l.S: Likewise.
15860         * sysdeps/i386/fpu/e_atanh.S: Likewise.
15861         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
15862         * sysdeps/i386/fpu/e_log10.S: Likewise.
15863         * sysdeps/i386/fpu/s_frexp.S: Likewise.
15864         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
15865         * sysdeps/i386/fpu/s_asinh.S: Likewise.
15866         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
15867         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
15868         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
15869         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
15870         * sysdeps/i386/i686/strtok.S: Likewise.
15871         * sysdeps/i386/i386-mcount.S: Likewise.
15872         * sysdeps/i386/strtok.S: Likewise.
15873         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
15874         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
15875         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15876         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
15877         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
15878         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
15879         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
15880         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
15881         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
15882         * sysdeps/x86_64/_mcount.S: Likewise.
15883         * sysdeps/x86_64/strtok.S: Likewise.
15884         * sysdeps/sh/_mcount.S: Likewise.
15886 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15888         * libio/iofopen.c: Include <fcntl.h>.
15889         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
15890         (_IO_fopen64, fopen64): Define as aliases.
15891         * libio/iofopen64.c: Include <fcntl.h>.
15892         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
15893         Conditionalize body on this.
15894         * sysdeps/wordsize-64/iofopen.c: File removed.
15895         * sysdeps/wordsize-64/iofopen64.c: File removed.
15897 2012-08-01  Marek Polacek  <polacek@redhat.com>
15899         * libc/Makeconfig: Use elf in place of binfmt-subdir.
15900         Use dlfcn directly instead of a variable.
15901         (binfmt-subdir): Do not define.
15902         (dlfcn): Likewise.
15904 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
15906         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
15907         Remove all definitions.
15908         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
15909         <kernel-features.h>.
15910         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15911         (miss_F_GETOWN_EX): Remove all definitions.
15912         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
15913         macro definition.
15914         [!__ASSUME_FCNTL64]: Remove conditional code.
15915         [__ASSUME_FCNTL64]: Make code unconditional.
15916         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
15917         <kernel-features.h>.
15918         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
15919         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
15920         (lockf64) [__NR_fcntl64]: Make code unconditional.
15921         (lockf64) [__ASSUME_FCNTL64]: Likewise.
15923         * sysdeps/unix/sysv/linux/kernel-features.h
15924         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
15925         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
15926         Make code unconditional.
15927         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15928         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
15930         [__NR_vfork]: Make code unconditional.
15931         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15932         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
15934         [__NR_vfork]: Make code unconditional.
15935         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
15936         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
15938 2012-08-01  Roland McGrath  <roland@hack.frob.com>
15940         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
15941         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
15943         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15944         Define mkstemp64 as an alias.
15945         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15946         Define mkstemps64 as an alias.
15947         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15948         Define mkostemp64 as an alias.
15949         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
15950         Define mkostemps64 as an alias.
15951         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
15952         Conditionalize body on this.
15953         * misc/mkostemp64.c: Likewise.
15954         * misc/mkostemps64.c: Likewise.
15955         * misc/mkstemps64.c: Likewise.
15956         * sysdeps/wordsize-64/mkstemp64.c: File removed.
15957         * sysdeps/wordsize-64/mkostemp64.c: File removed.
15958         * sysdeps/wordsize-64/mkostemp.c: File removed.
15959         * sysdeps/wordsize-64/mkstemp.c: File removed.
15960         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
15961         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
15962         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
15963         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
15965         [BZ #14138]
15966         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
15967         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
15968         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
15969         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
15971         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
15972         compat_symbol macros from <shlib-compat.h> rather than the underlying
15973         default_symbol_version and symbol_version macros, so that DEFAULT
15974         lines in shlib-versions are respected.
15975         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
15977 2012-08-01  Florian Weimer  <fweimer@redhat.com>
15979         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
15980         Declare with warn_unused_result.
15981         (setgid, setregid, setegid, setresgid): Likewise.
15982         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
15983         Likewise.
15984         * WUR-REPORT: Remove set*id functions.
15986 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
15988         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
15990 2012-07-31  Roland McGrath  <roland@hack.frob.com>
15992         [BZ #10191]
15993         * include/sys/socket.h (__libc_accept, __libc_accept4):
15994         Add attribute_hidden.
15995         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
15997         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
15998         use of PTR_MANGLE.
15999         * inet/getnetgrent_r.c (setup): Likewise.
16001         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
16003 2012-07-31  David S. Miller  <davem@davemloft.net>
16005         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16007 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
16009         [BZ #13629]
16010         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
16011         value between 1.0 and 2.0 and smaller part has absolute value less
16012         than 1.0.
16013         * math/s_clog10.c (__clog10): Likewise.
16014         * math/s_clog10f.c (__clog10f): Likewise.
16015         * math/s_clog10l.c (__clog10l): Likewise.
16016         * math/s_clogf.c (__clogf): Likewise.
16017         * math/s_clogl.c (__clogl): Likewise.
16018         * math/libm-test.inc (clog_test): Add more tests.
16019         (clog10_test): Likewise.
16020         * sysdeps/i386/fpu/libm-test-ulps: Update.
16021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16023 2012-07-31  Florian Weimer  <fweimer@redhat.com>
16025         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
16026         Exit with zero in case no suitable GID is found, and write a
16027         message to standard error.
16029 2012-07-30  Roland McGrath  <roland@hack.frob.com>
16031         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
16032         rather than to 1.
16033         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
16034         (MAXPATHLEN): Removed.
16035         (NOGROUP, NODEV): New macros.
16036         (setbit, clrbit, isset, isclr): New macros.
16037         (howmany, roundup, powerof2): New macros.
16038         (DEV_BSIZE): New macro.
16040         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
16041         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
16043         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
16044         definition on [!__NO_LONG_DOUBLE_MATH].
16046         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
16047         PTR_MANGLE and PTR_DEMANGLE.
16049         * socket/accept4.c (accept4): Rename to __libc_accept4.
16050         Define accept4 as a weak alias.
16052         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
16053         on [_DIRENT_HAVE_D_TYPE].
16054         * io/ftw.c (ftw_dir): Likewise.
16056         * io/xmknod.c (__xmknod): Don't check PATH for being null.
16058         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
16060         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
16061         Use the BSD numbers rather than the arbitrary ones we had.
16062         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
16063         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
16064         (SIGXCPU, SIGXFSZ): New macros.
16065         (_NSIG): Now 32.
16067         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
16068         initializer on [_LIBC_REENTRANT].
16070         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
16071         definitions inside [_POSIX_MAPPED_FILES].
16073         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
16075         * dirent/opendir.c: Include <fcntl.h>.
16077         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
16078         (__libc_getspecific): Likewise.
16079         (__libc_key_create): Likewise.
16081         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
16082         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
16083         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
16084         (tmpfile64): Define as alias.
16085         * sysdeps/wordsize-64/tmpfile.c: File removed.
16086         * sysdeps/wordsize-64/tmpfile64.c: File removed.
16087         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
16088         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
16090         * stdio-common/vfscanf.c: Include <stdbool.h>.
16091         * nss/makedb.c: Likewise.
16092         * stdio-common/_i18n_number.h: Likewise.
16093         * argp/argp-help.c: Likewise.
16094         * posix/wordexp.c: Likewise.
16095         * sysdeps/posix/spawni.c: Likewise.
16096         * nss/nss_files/files-initgroups.c: Likewise.
16097         * stdio-common/reg-modifier.c: Include <stdlib.h>.
16098         * nss/nss_files/files-initgroups.c: Likewise.
16099         * nss/nss_db/db-netgrp.c: Likewise.
16100         * nss/nss_db/db-initgroups.c: Likewise.
16101         * io/fchmodat.c: Include <sys/stat.h>.
16103         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
16104         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
16106         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
16107         [HAVE_MMAP].
16109         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
16110         Add multiple inclusion protection.
16112 2012-07-27  David S. Miller  <davem@davemloft.net>
16114         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16116 2012-07-27  Gary Benson  <gbenson@redhat.com>
16118         [BZ #14298]
16119         * elf/rtld.c: Include <stap-probe.h>.
16120         (dl_main): Added static probes "init_start" and "init_complete".
16121         * elf/dl-load.c: Include <stap-probe.h>.
16122         (lose): Take new parameter "nsid".
16123         Added static probe "map_failed".
16124         (_dl_map_object_from_fd): Pass namespace id to lose.
16125         Added static probe "map_start".
16126         (open_verify): Pass namespace id to lose.
16127         * elf/dl-open.c: Include <stap-probe.h>.
16128         (dl_open_worker) Added static probes "map_complete", "reloc_start"
16129         and "reloc_complete".
16130         * elf/dl-close.c: Include <stap-probe.h>.
16131         (_dl_close_worker): Added static probes "unmap_start" and
16132         "unmap_complete".
16133         * elf/rtld-debugger-interface.txt: New file documenting the above.
16135 2012-07-26  Roland McGrath  <roland@hack.frob.com>
16137         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
16138         rather than a string variable.
16139         * sunrpc/rpc_main.c (h_output): Likewise.
16140         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
16142 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
16144         * inet/check_native.c: New file.
16146 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
16148         [BZ #13629]
16149         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
16150         if larger part has absolute value 1.0.
16151         * math/s_clog10.c (__clog10): Likewise.
16152         * math/s_clog10f.c (__clog10f): Likewise.
16153         * math/s_clog10l.c (__clog10l): Likewise.
16154         * math/s_clogf.c (__clogf): Likewise.
16155         * math/s_clogl.c (__clogl): Likewise.
16156         * math/libm-test.inc (clog_test): Add more tests.
16157         (clog10_test): Likewise.
16158         * sysdeps/i386/fpu/libm-test-ulps: Update.
16159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16161         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
16162         (pltexit): Likewise.
16163         (La_regs): Likewise.
16164         (La_retval): Likewise.
16165         (int_retval): Likewise.
16166         Update #error for removed macros to refer only to definitions in
16167         tst-audit.h.
16168         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
16169         macro.
16170         (pltexit): Likewise.
16171         (La_regs): Likewise.
16172         (La_retval): Likewise.
16173         (int_retval): Likewise.
16174         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
16175         macro.
16176         (pltexit): Likewise.
16177         (La_regs): Likewise.
16178         (La_retval): Likewise.
16179         (int_retval): Likewise.
16180         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
16181         macro.
16182         (pltexit): Likewise.
16183         (La_regs): Likewise.
16184         (La_retval): Likewise.
16185         (int_retval): Likewise.
16186         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
16187         macro.
16188         (pltexit): Likewise.
16189         (La_regs): Likewise.
16190         (La_retval): Likewise.
16191         (int_retval): Likewise.
16192         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
16193         macro.
16194         (pltexit): Likewise.
16195         (La_regs): Likewise.
16196         (La_retval): Likewise.
16197         (int_retval): Likewise.
16198         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
16199         macro.
16200         (pltexit): Likewise.
16201         (La_regs): Likewise.
16202         (La_retval): Likewise.
16203         (int_retval): Likewise.
16204         * sysdeps/generic/tst-audit.h: Update comment to refer only to
16205         macro definitions in tst-audit.h.
16206         * sysdeps/i386/tst-audit.h: New file.
16207         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
16208         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
16209         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
16210         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
16211         * sysdeps/sh/tst-audit.h: Likewise.
16212         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
16213         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
16214         * sysdeps/x86_64/tst-audit.h: Likewise.
16216 2012-07-26  Andreas Jaeger  <aj@suse.de>
16218         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
16219         ptrace.
16221         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
16222         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
16223         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
16224         PTRACE_O_MASK.
16225         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
16226         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
16227         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
16229         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
16230         value.
16232         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
16233         _sigsys.
16234         (si_call_addr, si_syscall, si_arch): Define new macro.
16235         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
16236         _sigsys.
16237         (si_call_addr, si_syscall, si_arch): Define new marcro.
16238         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
16239         _sigsys.
16240         (si_call_addr, si_syscall, si_arch): Define new macro.
16241         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
16242         _sigsys.
16243         (si_call_addr, si_syscall, si_arch): Define new macro.
16245 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16247         [BZ #13717]
16248         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16249         Change to 2.4.21 where previously 2.4.1.
16250         * sysdeps/unix/sysv/linux/configure: Regenerated.
16251         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
16252         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
16253         Linux kernel version.
16254         (__ASSUME_STD_AUXV): Remove.
16255         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
16256         kernel version.
16257         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
16258         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
16259         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
16260         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
16261         (__ASSUME_NETLINK_SUPPORT): Likewise.
16262         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
16263         (__no_netlink_support): Remove conditional definition.
16264         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
16265         Remove.
16266         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16267         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
16268         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
16269         (if_nameindex_ioctl): Remove.
16270         (if_nameindex_netlink): Do not handle __no_netlink_support.
16271         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16272         code.
16273         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
16274         Remove conditional code.
16275         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
16276         code.
16277         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
16278         unconditional.
16279         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
16280         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
16281         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
16282         Remove.
16283         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
16284         [!__ASSUME_STD_AUXV]: Remove conditional code.
16285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
16286         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
16287         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
16288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
16289         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
16290         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16291         code.
16292         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
16294         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
16295         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16296         conditional code.
16297         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
16298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
16299         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
16300         code.
16301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
16302         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
16303         conditional code.
16304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
16305         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16306         code unconditional.
16307         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16308         conditional code.
16309         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16310         unconditional.
16311         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16312         conditional code.
16313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16314         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16315         unconditional.
16316         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16317         conditional code.
16318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16319         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16320         code unconditional.
16321         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16322         conditional code.
16323         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16324         unconditional.
16325         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16326         conditional code.
16327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16328         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
16329         code unconditional.
16330         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16331         conditional code.
16332         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
16333         unconditional.
16334         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
16335         conditional code.
16337 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
16339         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
16340         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
16341         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16342         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
16343         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
16344         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
16345         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16346         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16347         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
16348         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16349         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
16350         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
16351         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16352         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
16353         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
16354         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
16355         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
16356         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
16357         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
16358         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
16359         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
16360         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
16361         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
16363 2012-07-25  Florian Weimer  <fweimer@redhat.com>
16365         * Versions.def: Add GLIBC_2.17.
16366         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
16367         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
16368         Introduce __libc_secure_getenv.
16369         * stdlib/Versions (2.17): Add secure_getenv
16370         (GLIBC_PRIVATE): Add __libc_secure_getenv.
16371         * stdlib/secure-getenv.c: Rename __secure_getenv to
16372         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
16373         symbol __secure_getenv for GLIBC_2.0.
16374         * stdlib/tst-secure-getenv.c: New.
16375         * stdlib/Makefile (tests): Add testcase.
16376         * manual/startup.texi (Environment Access): Document
16377         secure_getenv.
16378         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
16379         __libc_secure_getenv.
16380         * inet/ruserpass.c (ruserpass): Likewise.
16381         * malloc/mtrace.c (mtrace): Likewise.
16382         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
16383         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
16384         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
16385         * sysdeps/posix/tempname.c: Likewise.  Evaluate
16386         HAVE_SECURE_GETENV.
16387         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
16388         __secure_getenv to __libc_secure_getenv.
16389         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
16390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16391         Likewise.
16392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16393         Likewise.
16394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16396         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16399         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16402 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
16404         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
16405         (struct La_i86_retval): Likewise.
16406         (struct La_x86_64_regs): Likewise.
16407         (struct La_x86_64_retval): Likewise.
16408         (struct La_x32_regs): Likewise.
16409         (struct La_x32_retval): Likewise.
16410         (struct La_ppc32_regs): Likewise.
16411         (struct La_ppc32_retval): Likewise.
16412         (struct La_ppc64_regs): Likewise.
16413         (struct La_ppc64_retval): Likewise.
16414         (struct La_sh_regs): Likewise.
16415         (struct La_sh_retval): Likewise.
16416         (struct La_s390_32_regs): Likewise.
16417         (struct La_s390_32_retval): Likewise.
16418         (struct La_s390_64_regs): Likewise.
16419         (struct La_s390_64_retval): Likewise.
16420         (struct La_sparc32_regs): Likewise.
16421         (struct La_sparc32_retval): Likewise.
16422         (struct La_sparc64_regs): Likewise.
16423         (struct La_sparc64_retval): Likewise.
16424         (struct audit_ifaces): Remove architecture-specific pltenter and
16425         pltexit members.
16426         * sysdeps/i386/ldsodefs.h: New file.
16427         * sysdeps/powerpc/ldsodefs.h: Likewise.
16428         * sysdeps/s390/ldsodefs.h: Likewise.
16429         * sysdeps/sh/ldsodefs.h: Likewise.
16430         * sysdeps/sparc/ldsodefs.h: Likewise.
16431         * sysdeps/x86_64/ldsodefs.h: Likewise.
16433 2012-07-25  Marek Polacek  <polacek@redhat.com>
16435         [BZ #6808]
16436         * math/libm-test.inc (yn_test): Add another test.
16437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
16438         to ERANGE when the result is +-Inf.
16439         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
16440         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
16441         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
16442         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
16444 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
16446         * conform/data/time.h-data (NULL): Use macro-constant.  Require
16447         equal to 0.
16448         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
16449         clock_t.
16450         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
16452 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
16454         * configure.in <sysdeps resolving>: Correct printing
16455         Implies_before.
16456         * configure: Regenerate.
16458 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
16460         * math/w_ilogb.c: Include <limits.h>.
16461         * math/w_ilogbl.c: Likewise.
16463 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16465         * manual/lang.texi (__va_copy): Document primarily as ISO C99
16466         va_copy.  Document allowing for unavailable va_copy only as
16467         pre-C99 compatibility.
16468         * manual/string.texi (Copying and Concatenation): Use va_copy
16469         instead of __va_copy in concat example.
16471 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
16473         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
16474         (__sendto): Use create_address_port.  Initialize APORT and deallocate
16475         it if not null.
16477         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
16478         with O_NOLINK passed to __file_name_lookup.
16480         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
16481         with O_NOLINK passed to __file_name_lookup.
16483         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
16484         negative N or less than NGIDS.
16486         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
16487         type to string_t.  Set ERANGE as errno and return it if NAME is not big
16488         enough.  Use memcpy instead of strncpy.
16490 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
16492         * elf/Makefile (check-data): Remove.
16493         (localplt.data): New vpath directive.
16494         ($(objpfx)check-localplt.out): Use localplt.data from vpath
16495         instead of $(check-data).
16496         * scripts/data/localplt-generic.data: Move to ...
16497         * sysdeps/generic/localplt.data: ... here.
16498         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
16499         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
16500         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
16502         ... here.
16503         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
16504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
16505         ... here.
16506         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
16507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
16508         ... here.
16509         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
16510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
16511         ... here.
16512         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
16513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
16514         ... here.
16515         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
16516         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
16517         ... here.
16519 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16521         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
16522         PPC32 and PPC64 files.
16523         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
16524         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
16526 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16528         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
16529         __makecontext_ret to ...
16530         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16531         ... here and call exit if uc_link is NULL.  New file.
16532         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
16533         __makecontext_ret.S.
16534         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
16535         __makecontext_ret to ...
16536         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16537         ... here and call exit if uc_link is NULL.  New file.
16538         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
16539         __makecontext_ret.S.
16541 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16543         * elf/elf.h (R_390_IRELATIVE): New definition.
16544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
16545         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
16546         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
16547         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16548         (elf_machine_lazy_rel): Likewise.
16549         * sysdeps/s390/dl-irel.h: New file.
16550         * sysdeps/s390/s390-64/memcpy.S: New asm code.
16551         * sysdeps/s390/s390-64/memset.S: New asm code.
16552         * sysdeps/s390/s390-64/memcmp.S: New asm code.
16553         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
16554         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
16555         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
16556         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
16557         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
16558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
16559         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
16560         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
16561         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
16562         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
16563         * sysdeps/s390/s390-32/memcpy.S: New asm code.
16564         * sysdeps/s390/s390-32/memset.S: New asm code.
16565         * sysdeps/s390/s390-32/memcmp.S: New asm code.
16567 2012-07-17  Marek Polacek  <polacek@redhat.com>
16569         [BZ #14349]
16570         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
16571         * sysdeps/s390/s390-64/configure.in: Likewise.
16572         * sysdeps/sparc/configure.in: Likewise.
16573         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
16574         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
16575         * sysdeps/i386/configure.in: Likewise.
16576         * sysdeps/x86_64/configure.in: Likewise.
16577         * sysdeps/sh/configure.in: Likewise.
16578         * sysdeps/s390/s390-32/configure: Regenerated.
16579         * sysdeps/s390/s390-64/configure: Likewise.
16580         * sysdeps/x86_64/configure: Likewise.
16581         * sysdeps/sh/configure: Likewise.
16582         * sysdeps/powerpc/powerpc64/configure: Likewise.
16583         * sysdeps/powerpc/powerpc32/configure: Likewise.
16584         * sysdeps/sparc/configure: Likwise.
16585         * sysdeps/i386/configure: Likewise.
16587         * elf/dl-open.c: Comment fixes.
16589 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
16591         * Makefile [CXX] (check-data): Remove.
16592         [CXX] (c++-types.data): New vpath directive.
16593         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
16594         vpath.  Do not allow for C++ type data being missing.
16595         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
16596         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
16597         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
16598         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
16599         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
16600         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
16601         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
16602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
16603         ... here.
16604         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
16605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
16606         ... here.
16607         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
16608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
16609         ... here.
16610         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
16611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
16612         ... here.
16613         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
16614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
16615         ... here.
16616         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
16617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
16618         ... here.
16619         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
16620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
16621         ... here.
16622         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
16623         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
16625         * elf/tls-macros.h (TLS_LE): Move architecture-specific
16626         definitions to architecture-specific files.
16627         (TLS_IE): Likewise.
16628         (TLS_LD): Likewise.
16629         (TLS_GD): Likewise.
16630         * sysdeps/i386/tls-macros.h: New file.
16631         * sysdeps/powerpc/tls-macros.h: Likewise.
16632         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16633         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16634         * sysdeps/sh/tls-macros.h: Likewise.
16635         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
16636         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
16637         * sysdeps/x86_64/tls-macros.h: Likewise.
16639 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16641         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
16642         zero value for regular exit case.
16644         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16645         (__start_context): Preserve zero value for regular exit case.
16647 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
16648             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16650         * manual/setjmp.texi (setcontext): Clarify normal process
16651         termination when uc_link is the null pointer.
16652         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
16653         exit call.
16655 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
16657         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
16658         preprocessor.  Test for each exception mask separately.
16660 2012-07-16  Andreas Jaeger  <aj@suse.de>
16662         * po/ru.po: Update from translation team.
16664 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
16666         * conform/data/string.h-data (NULL): Use macro-constant.  Require
16667         equal to 0.
16668         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16669         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16670         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
16671         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
16672         [ISO || ISO99 || ISO11] (*_t): Do not allow.
16674 2012-07-13  Andreas Jaeger  <aj@suse.de>
16676         * po/fr.po: Update from translation team.
16678 2012-07-12  Marek Polacek  <polacek@redhat.com>
16680         [BZ #14173]
16681         * math/libm-test.inc (yn_test): Add test for BZ #14173.
16682         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
16683         loop condition.
16685 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
16687         [BZ #13717]
16688         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16689         Change to 2.4.1 where previously 2.4.0.
16690         * sysdeps/unix/sysv/linux/configure: Regenerated.
16691         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
16692         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
16693         version.
16694         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
16695         (__ASSUME_AT_CLKTCK): Remove.
16696         (__ASSUME_AT_PAGESIZE): Likewise.
16697         (__ASSUME_AT_XID): Likewise.
16698         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
16699         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
16700         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
16701         unconditionally.
16702         (HAVE_AUX_PAGESIZE): Likewise.
16703         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
16704         [__ASSUME_AT_CLKTCK]: Make code unconditional.
16705         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
16707 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
16709         [BZ #14307]
16710         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
16711         the temporary buffer used to invoke __gethostbyname2_r,
16712         __gethostbyaddr_r and gethostbyname4_r to make room for struct
16713         host_data / struct gaih_addrtuple.
16714         * resolv/nss_dns/dns-host.c (global scope): Move definition of
16715         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
16716         header file nss/nsswitch.h.
16717         * nss/nsswitch.h (global scope): Add definition of implementation
16718         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
16719         resolv/nss_dns/dns-host.c).
16721 2012-07-11  Andreas Jaeger  <aj@suse.de>
16723         * po/fr.po: Update from translation team.
16725         * po/sv.po: Update from translation team
16726         * po/fr.po: Another update from translation team.
16728 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16730         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
16731         for subnormals or multiply small sinh result by itself.
16732         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
16733         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16735 2012-07-11  David S. Miller  <davem@davemloft.net>
16737         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16739 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
16741         [BZ #14347]
16742         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
16743         (INTERNAL_MARK): Shift it here.
16745 2012-07-10  Marek Polacek  <polacek@redhat.com>
16747         [BZ #14151]
16748         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
16749         libc_cv_asm_global_directive with .globl.
16750         * configure: Regenerated.
16751         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
16752         with .globl.
16753         * sysdeps/i386/configure: Regenerated.
16754         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
16755         with .globl.
16756         * sysdeps/x86_64/configure: Regenerated.
16757         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
16758         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
16759         * elf/tst-unique2mod2.c: Likewise.
16760         * elf/tst-unique2mod1.c: Likewise.
16761         * elf/tst-unique1mod2.c: Likewise.
16762         * elf/tst-unique1mod1.c: Likewise.
16763         * sysdeps/s390/s390-32/sysdep.h: Likewise.
16764         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16765         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16766         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16767         * sysdeps/mach/sysdep.h: Likewise.
16768         * sysdeps/i386/sysdep.h: Likewise.
16769         * sysdeps/i386/i386-mcount.S: Likewise.
16770         * sysdeps/x86_64/_mcount.S: Likewise.
16771         * sysdeps/x86_64/sysdep.h: Likewise.
16772         * sysdeps/sh/_mcount.S: Likewise.
16773         * sysdeps/sh/sysdep.h: Likewise.
16774         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
16775         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
16776         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
16777         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16778         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
16779         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
16780         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
16781         * locale/localeinfo.h: Likewise.
16782         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
16783         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
16785 2012-07-09  Roland McGrath  <roland@hack.frob.com>
16787         [BZ #14336]
16788         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
16789         system".
16790         * manual/message.texi (The Uniforum approach): Likewise.
16791         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
16792         (glibc iconv Implementation): Likewise.
16794 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
16796         [BZ #14337]
16797         * math/s_clog.c (__clog): Avoid scaling a value down where that
16798         could result in underflow.
16799         * math/s_clog10.c (__clog10): Likewise.
16800         * math/s_clog10f.c (__clog10f): Likewise.
16801         * math/s_clog10l.c (__clog10l): Likewise.
16802         * math/s_clogf.c (__clogf): Likewise.
16803         * math/s_clogl.c (__clogl): Likewise.
16804         * math/libm-test.inc (clog_test): Add more tests.
16805         (clog10_test): Likewise.
16806         * sysdeps/i386/fpu/libm-test-ulps: Update.
16807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16809 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
16811         [BZ #14283]
16812         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
16813         by 7 not 8 to examine high bit of fractional part.
16815         [BZ #14042]
16816         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
16817         for call to __mcount_internal.
16818         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
16819         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
16820         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
16822 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
16824         [BZ #14154]
16825         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
16826         approximation for values within 0x1p-13f of an odd multiple of
16827         pi/4.
16828         * math/libm-test.inc (tan_test): Do not allow spurious underflow
16829         exception.  Add more tests.
16830         * sysdeps/i386/fpu/libm-test-ulps: Update.
16832         [BZ #6778]
16833         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
16834         inputs and return -1 for them.  Do not check for +Inf in case not
16835         reachable for +Inf.
16836         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16837         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
16838         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16839         and return -1 for them.  Do not check for +Inf in case not
16840         reachable for +Inf.
16841         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
16842         define.
16843         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
16844         and return -1 for them.  Do not check for +Inf in case not
16845         reachable for +Inf.
16846         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
16847         spurious underflow.
16848         * sysdeps/i386/fpu/libm-test-ulps: Update.
16849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16851 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
16853         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
16855 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
16857         [BZ #14157]
16858         [BZ #14331]
16859         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
16860         could result in spurious underflow.  Scale down values above
16861         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
16862         * math/s_csqrtf.c (__csqrtf): Likewise.
16863         * math/s_csqrtl.c (__csqrtl): Likewise.
16864         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
16865         spurious underflow.
16866         * sysdeps/i386/fpu/libm-test-ulps: Update.
16867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16869 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16871         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
16872         xopen-msg.sed.
16873         * catgets/xopen-msg.awk: New file.
16874         * catgets/xopen-msg.sed: Removed.
16876         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
16877         po2text.sed.
16878         * intl/po2test.awk: New file.
16879         * intl/po2test.sed: Removed.
16881 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
16883         [BZ #14328]
16884         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
16885         or multiply small sinh result by itself.
16886         * math/s_ctanf.c (__ctanf): Likewise.
16887         * math/s_ctanh.c (__ctanh): Likewise.
16888         * math/s_ctanhf.c (__ctanhf): Likewise.
16889         * math/s_ctanhl.c (__ctanhl): Likewise.
16890         * math/s_ctanl.c (__ctanl): Likewise.
16891         * math/libm-test.inc (ctan_test_tonearest): New function.
16892         (ctan_test_towardzero): Likewise.
16893         (ctan_test_downward): Likewise.
16894         (ctan_test_upward): Likewise.
16895         (ctanh_test_tonearest): Likewise.
16896         (ctanh_test_towardzero): Likewise.
16897         (ctanh_test_downward): Likewise.
16898         (ctanh_test_upward): Likewise.
16899         (main): Call these new functions.
16900         * sysdeps/i386/fpu/libm-test-ulps: Update.
16901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16903 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
16905         * .gitignore: Delete /ports entry.
16907 2012-07-03  Andreas Jaeger  <aj@suse.de>
16909         * po/bg.po: Update from translation team.
16910         * po/cs.po: Likewise.
16911         * po/de.po: Likewise.
16912         * po/hr.po: Likewise.
16913         * po/nl.pl: Likewise.
16914         * po/pl.po: Likewise.
16915         * po/vi.po: Likewise.
16917 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
16919         * Makeconfig [!+link] (+link-before-libc): New variable.
16920         [!+link] (+link-after-libc): Likewise.
16921         [!+link] (+link-tests): Likewise.
16922         [!+link] (+link): Define in terms of $(+link-before-libc) and
16923         $(+link-after-libc).
16924         [!+link-static] (+link-static-before-libc): New variable.
16925         [!+link-static] (+link-static-after-libc): Likewise.
16926         [!+link-static] (+link-static-tests): Likewise.
16927         [!+link-static] (+link-static): Define in terms of
16928         $(+link-static-before-libc) and $(+link-static-after-libc).
16929         [build-shared] (link-libc-before-gnulib): New variable.
16930         [build-shared] (link-libc-tests): Likewise.
16931         [build-shared] (link-libc): Define in terms of
16932         $(link-libc-before-gnulib).
16933         [!build-shared] (link-libc-tests): New variable.
16934         (link-libc-static-tests): New variable.
16935         [!gnulib] (gnulib-arch): New variable.
16936         [!gnulib] (gnulib-tests): Likewise.
16937         [!gnulib] (static-gnulib-arch): Likewise.
16938         [!gnulib] (static-gnulib-tests): Likewise.
16939         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
16940         Define with "=" instead of ":=".
16941         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
16942         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
16943         * Rules (binaries-all-notests): New variable.
16944         (binaries-all-tests): Likewise.
16945         (binaries-static-notests): Likewise.
16946         (binaries-static-tests): Likewise.
16947         (binaries-all): Define using $(binaries-all-notests) and
16948         $(binaries-all-tests).
16949         (binaries-static): Define using $(binaries-static-notests) and
16950         $(binaries-static-tests).
16951         (binaries-shared-tests): New variable.
16952         (binaries-shared-notests): Likewise.
16953         (binaries-shared): Remove variable.
16954         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
16955         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
16956         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
16957         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
16958         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
16959         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
16960         * elf/Makefile (sln-modules): New variable.
16961         (extra-objs): Add $(sln-modules:=.o).
16962         (ldconfig-modules): Add static-stubs.
16963         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
16964         * elf/static-stubs.c: New file.
16966         [BZ #14283]
16967         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
16968         by 7 not 8 to examine high bit of fractional part.  Use volatile
16969         variables when splitting into final array of floats if
16970         __FLT_EVAL_METHOD__ != 0.
16971         * math/libm-test.inc (cos_test): Add another test.
16972         (sin_test): Likewise.
16973         * sysdeps/i386/fpu/libm-test-ulps: Update.
16975         [BZ #14273]
16976         * math/libm-test.inc (cosh_test): Add more tests.
16978         * version.h (RELEASE): Set to "development".
16979         (VERSION): Set to "2.16.90".
16981 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
16983         * NEWS: Update copyright. Remove last-updated date.
16984         Mention math library bug fixes and timezone data changes.
16985         * README: Mention GNU/Hurd, x32, and HPPA support status.
16987 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
16989         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
16991 2012-06-27  Andreas Jaeger  <aj@suse.de>
16993         * manual/contrib.texi (Contributors): Add Samuel Thibault.
16995 2012-06-25  Andreas Jaeger  <aj@suse.de>
16997         * sysdeps/s390/fpu/libm-test-ulps: Update.
16999 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
17000             Thomas Schwinge  <thomas@codesourcery.com>
17002         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
17003         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
17004         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
17005         fanotify_mark.
17007 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
17009         * sysdeps/mach/start.c: Remove file.
17010         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
17011         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
17012         * sysdeps/sh/init-first.c: Likewise.
17014         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
17015         registers for frame unwinding purposes, add CFI directives.
17016         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17017         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
17018         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
17019         Likewise.
17021         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
17022         __fortify_fail returning.
17023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
17025         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
17026         sysdeps/sh/____longjmp_chk.S.
17027         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
17028         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
17029         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
17030         (gen-as-const-headers): Append sigaltstack-offsets.sym.
17032         * sysdeps/sh/abort-instr.h: New file.
17033         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
17034         process in case exit returns.
17036         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
17037         initialize the GOT register before use.
17039         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
17040         calculation of ARGC > 4.
17042         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
17043         meaningful names to some local labels.
17045 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
17046             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17048         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
17049         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
17050         (__arch_compare_and_exchange_val_16_acq): Likewise.
17051         (__arch_compare_and_exchange_val_32_acq): Likewise.
17052         (atomic_exchange_and_add): Fix gUSA sequence.
17053         (atomic_add): Likewise.
17054         (atomic_add_negative): Likewise.
17055         (atomic_add_zero): Likewise.
17056         (atomic_bit_test_set): Likewise.
17058 2012-06-22  Andreas Schwab  <schwab@redhat.com>
17060         [BZ #13579]
17061         * include/link.h (struct link_map): Add l_free_initfini.
17062         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
17063         l_initfini.
17064         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
17065         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
17066         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
17067         set.
17069 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
17071         * configure.in: Use AC_LANG_SOURCE.
17072         * configure: Regenerate.
17074 2012-06-22  Roland McGrath  <roland@hack.frob.com>
17076         * configure.in (libc_cv_localstatedir): New substituted variable.
17077         * configure: Regenerated.
17078         * config.make.in (localstatedir): New variable, substituted from
17079         libc_cv_localstatedir.
17080         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
17081         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
17082         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
17083         * sysdeps/gnu/configure: Regenerated.
17085 2012-06-21  Jeff Law  <law@redhat.com>
17087         [BZ #14277]
17088         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
17089         free.  Simplify list management for _LIBC case.
17091 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
17093         [BZ #14273]
17094         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17095         Clear sign bit of 64-bit integer value before comparing against
17096         overflow value.
17098         * sysdeps/mach/configure: Regenerated.
17100 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
17102         [BZ #14278]
17103         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
17105 2012-06-21  Jeff Law  <law@redhat.com>
17107         [BZ #13882]
17108         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
17109         uint16_t for elements in the "seen" array to avoid char overflows.
17110         * elf/dl-fini.c (_dl_sort_fini): Likewise.
17111         * elf/dl-open.c (dl_open_worker): Likewise.
17113 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
17115         * scripts/list-sources.sh: Scan PORTS for translations.
17116         * po/libc.pot: Regenerated.
17118 2012-06-21  Andreas Jaeger  <aj@suse.de>
17120         [BZ #12194]
17121         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
17122         warning.
17123         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
17124         * bits/byteswap-16.h (__bswap_16): Likewise.
17125         * bits/byteswap.h (__bswap_constant_16): Likewise.
17127 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
17129         [BZ #14117]
17130         * sysdeps/i386/fpu_control.h: Removed.
17131         * sysdeps/x86_64/fpu_control.h: Moved to ...
17132         * sysdeps/x86/fpu_control.h: Here.
17134         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
17135         (_FPU_SETCW): Likewise.
17137 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
17139         [BZ #14117]
17140         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
17141         * sysdeps/x86/fpu/bits/mathinline.h: This.
17142         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
17144         [BZ #14050]
17145         [BZ #14117]
17146         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
17147         functions if __x86_64__ is defined.
17149 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
17151         * string/endian.h: Add !__ASSEMBLER__ condition for including
17152         conversion interfaces.
17154 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
17156         [BZ #14241]
17157         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
17158         of ABS(x) in calculating zero to negative powers other than odd
17159         integers.
17160         * math/libm-test.inc (pow_test): Add more tests.
17162 2012-06-15  Andreas Jaeger  <aj@suse.de>
17164         * manual/contrib.texi (Contributors): Update entry of Liubov
17165         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
17166         Machado Filho.
17168 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
17170         * string/string.h: Add __wur to GNU version of strerror_r.
17172 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
17174         [BZ #14229]
17175         * string/Makefile (tests): Add tst-strtok_r.
17176         * string/tst-strtok_r.c: New file.
17177         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
17178         RAX_LP/RDX_LP on SAVE_PTR.
17180 2012-06-14  Roland McGrath  <roland@hack.frob.com>
17182         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
17184 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
17186         * libm_test.inc (csqrt_test): Allow more spurious underflow
17187         exceptions.
17188         (j0_test): Likewise.
17189         (j1_test): Likewise.
17190         (y0_test): Likewise.
17191         (y1_test): Likewise.
17193 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
17195         * po/Makefile (libc.pot): Use UTF-8 charset.
17197 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
17199         [BZ #14210]
17200         Suppress sign-conversion warning from FD_SET.
17201         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
17202         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
17203         not unsigned long int.
17204         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
17206 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
17208         [BZ #14050]
17209         [BZ #14117]
17210         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
17211         __extern_always_inline instead of __extern_inline.
17212         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
17213         (__signbit): Likewise.
17214         (__signbitl): Support C++ namespace.
17215         (lrintf): New inline function.
17216         (lrint): Likewise.
17217         (llrintf): Likewise.
17218         (llrint): Likewise.
17219         (fmaxf): Likewise.
17220         (fmax): Likewise.
17221         (fminf): Likewise.
17222         (fmin): Likewise.
17223         (rint): Likewise.
17224         (rintf): Likewise.
17225         (ceil): Likewise.
17226         (ceilf): Likewise.
17227         (floor): Likewise.
17228         (floorf): Likewise.
17229         (nearbyint): Likewise.
17230         (nearbyintf): Likewise.
17232 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
17234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
17235         non-default versions.
17237 2012-06-11  Roland McGrath  <roland@hack.frob.com>
17239         [BZ #14218]
17240         * manual/argp.texi (Argp): Reword argp_parse description slightly.
17242 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
17244         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
17245         (FE_UPWARD, FE_DOWNWARD): Don't define.
17246         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
17247         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17249         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
17250         reading it.
17251         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17252         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17254 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17256         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
17257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
17258         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
17259         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
17261 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17263         [BZ #14117]
17264         * sysdeps/i386/fpu/bits/fenv.h: Removed.
17265         * sysdeps/i386/fpu/Implies: New file.
17266         * sysdeps/x86_64/fpu/Implies: Likewise.
17267         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
17268         * sysdeps/x86/fpu/bits/fenv.h: This.
17270         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
17271         __SSE_MATH__.
17273 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17275         [BZ #14134]
17276         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
17277         character 0xffff that matches the last element of the
17278         conversion table.
17280 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
17283         fmodl commit.
17285 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17287         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
17288         values higher than 25.6283.
17290 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17292         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
17293         subnormal exponent extraction and add some __builtin_expect.
17294         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
17295         Fix for subnormal mantissa calculation.
17297 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
17299         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
17300         cpu2 is -1 and errno is not ENOSYS.
17302 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
17304         [BZ #14117]
17305         * sysdeps/i386/i486/bits/string.h: Renamed to ...
17306         * sysdeps/x86/bits/string.h: This.
17307         * sysdeps/x86_64/bits/string.h: Removed.
17309         * sysdeps/i386/i486/bits/string.h: Define inline functions only
17310         if not compiling for x86-64, but compiling for >= i486.
17312         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
17313         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
17315         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
17316         New macro from Linux kernel 3.4.0.
17317         (FP_XSTATE_MAGIC2): Likewise.
17318         (FP_XSTATE_MAGIC2_SIZE): Likewise.
17319         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
17320         (struct _fpx_sw_bytes): New struct.
17321         (struct _xsave_hdr): Likewise.
17322         (struct _ymmh_state): Likewise.
17323         (struct _xstate): Likewise.
17325         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
17326         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
17327         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
17328         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
17329         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
17330         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
17332         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
17333         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
17334         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
17335         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
17336         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
17337         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
17339 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17341         [BZ #13743]
17342         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
17343         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
17344         (sysdep_headers): Include sys/platform/ppc.h.
17345         * sysdeps/powerpc/test-gettimebase.c: Test for
17346         __ppc_get_timebase() to catch future ISA opcode/insn changes.
17347         * manual/Makefile (appendices): Include platform.texi.
17348         * manual/contrib.texi (Contributors): Update @node pointers.
17349         * manual/maint.texi (Maintenance): Likewise.
17350         (Platform): New node.
17351         * manual/platform.texi: New file.  Document the new features.
17353 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17354             Jakub Jelinek  <jakub@redhat.com>
17356         [BZ #14188]
17357         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
17358         where __builtin_expect is unavailable.
17360 2012-06-03  David S. Miller  <davem@davemloft.net>
17362         * stdlib/longlong.h: Updated from GCC.
17364 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
17366         [BZ #14042]
17367         * sysdeps/powerpc/powerpc32/mcount.c: New file.
17368         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
17369         __mcount_internal.
17370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17371         (GLIBC_2.16): Likewise.
17373 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17375         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
17377 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
17380         (default-abi): New variable.
17381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
17382         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
17383         variable.
17384         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
17385         Likewise.
17386         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
17387         Likewise.
17388         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
17389         Likewise.
17391         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
17392         definition.  Document in comment.
17394 2012-06-01  David S. Miller  <davem@davemloft.net>
17396         * stdlib/longlong.h: Updated from GCC.
17398 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17400         [BZ #14117]
17401         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
17402         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
17403         sys/debugreg.h sys/io.h here.
17404         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
17405         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
17406         sys/io.h.
17407         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
17408         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
17409         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
17410         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
17411         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
17412         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
17414         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
17415         Define only if __x86_64__ is defined.
17417 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
17419         [BZ #14048]
17420         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
17421         Use int64_t for variable i.
17422         * math/libm-test.inc (fmod_test): Add more tests.
17424         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
17425         z computation is not scheduled after fetestexcept.
17426         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
17427         Use math_force_eval instead of asm to ensure calculation scheduled
17428         before exception test.
17429         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
17430         Ensure a1 + u.d computation is not scheduled after fetestexcept.
17432 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
17434         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
17435         computation is not scheduled after fetestexcept.
17437 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
17439         [BZ #14117]
17440         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
17441         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
17443 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17445         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
17446         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
17448 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17450         [BZ #14117]
17451         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
17452         <bits/wordsize.h>.
17453         (__WCHAR_MIN): Support __WORDSIZE == 64.
17454         (__WCHAR_MAX): Likewise.
17456         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
17457         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
17459         [BZ #14183]
17460         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
17461         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
17463         [BZ #14117]
17464         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
17465         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
17467         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
17468         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
17470         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
17471         Defined to 1 if __x86_64__ isn't defined.
17472         (_STAT_VER_LINUX_OLD): New.
17473         (st_atime): Remove duplicate.
17474         (st_mtime): Likewise.
17475         (st_ctime): Likewise.
17477 2012-05-31  David S. Miller  <davem@davemloft.net>
17479         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
17480         entries.
17482 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
17484         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
17485         gen-libm-test.pl.
17487         [BZ #14132]
17488         * elf/dl-reloc.c: Include <_itoa.h>.
17489         (_dl_reloc_bad_type): Remove use of INTUSE.
17490         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
17491         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
17492         * stdio-common/psiginfo.c (psiginfo): Likewise.
17493         * stdio-common/psignal.c (psignal): Likewise.
17494         * string/strsignal.c (strsignal): Likewise.
17495         * include/signal.h (_sys_siglist): Declare hidden proto.
17496         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
17497         INTVARDEF with libc_hidden_data_def.
17498         * stdio-common/itoa-udigits.c: Likewise.
17499         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
17500         (_itoa_lower_digits_internal): Remove declaration.
17501         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
17502         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
17503         (_sys_sigabbrev_internal): Remove aliases.
17504         (_sys_siglist): Define hidden alias.
17506 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
17508         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17509         bits/sysctl.h.
17511 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
17513         [BZ #14117]
17514         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
17515         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
17517         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
17518         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
17519         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
17520         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
17521         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
17522         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
17524         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
17525         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
17526         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
17528         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
17529         with __addr.
17530         (insw): Likewise.
17531         (insl): Likewise.
17532         (outsb): Likewise.
17533         (outsw): Likewise.
17534         (outsl): Likewise.
17536         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
17537         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
17538         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
17540         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
17541         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
17542         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
17543         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
17544         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
17545         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
17547         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
17548         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
17550         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
17551         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
17553         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
17554         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
17555         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
17557         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
17558         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
17559         to ...
17560         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
17562         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
17563         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
17564         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
17566         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
17567         for x86-64.
17568         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
17570 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
17572         * math/math.h (M_El): Use two more decimal places.
17573         (M_LOG2El): Likewise.
17574         (M_LOG10El): Likewise.
17575         (M_LN2l): Likewise.
17576         (M_LN10l): Likewise.
17577         (M_PIl): Likewise.
17578         (M_PI_2l): Likewise.
17579         (M_PI_4l): Likewise.
17580         (M_1_PIl): Likewise.
17581         (M_2_PIl): Likewise.
17582         (M_2_SQRTPIl): Likewise.
17583         (M_SQRT2l): Likewise.
17584         (M_SQRT1_2l): Likewise.
17586 2012-05-31  David S. Miller  <davem@davemloft.net>
17588         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
17589         values between float registers.
17590         * sysdeps/sparc/sparc64/memset.S: Likewise.
17591         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
17593 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
17595         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
17596         -D_FORTIFY_SOURCE=1.
17597         (CPPFLAGS-tst-longjmp_chk.c): Define.
17598         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
17599         (CPPFLAGS-tst-longjmp_chk2.c): Define.
17600         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
17601         CFLAGS-tst-wchar-h.c.
17603 2012-05-31  Marek Polacek  <polacek@redhat.com>
17605         [BZ #14132]
17606         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
17607         __endmntent_internal): Remove declaration.
17608         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
17609         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
17610         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
17612 2012-05-30  David S. Miller  <davem@davemloft.net>
17614         * sysdeps/sparc/sparc32/soft-fp/q_util.c
17615         (___Q_simulate_exceptions): Use real FP ops rather than writing
17616         into the %fsr.
17617         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
17618         Likewise.
17620 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17622         [BZ #14117]
17623         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
17624         * sysdeps/x86/bits/xtitypes.h: This.
17626         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
17627         * sysdeps/x86/bits/wordsize.h: This.
17629         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
17630         * sysdeps/x86/bits/huge_vall.h: This.
17632         * sysdeps/i386/bits/select.h: Removed.
17633         * sysdeps/x86_64/bits/select.h: Renamed to ...
17634         * sysdeps/x86/bits/select.h: This.
17636         * sysdeps/i386/bits/setjmp.h: Removed.
17637         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
17638         * sysdeps/x86/bits/setjmp.h: This.
17640         * sysdeps/i386/bits/mathdef.h: Removed.
17641         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
17642         * sysdeps/x86/bits/mathdef.h: This.
17644 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
17646         [BZ #14132]
17647         * include/sys/socket.h (__connect_internal)
17648         (__libc_sa_len_internal): Remove declaration.
17649         (__connect, __libc_sa_len): Declare hidden_proto.
17650         (SA_LEN): Remove use of INTUSE.
17651         * socket/connect.c: Add libc_hidden_def.
17652         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
17653         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
17654         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
17655         alias.
17656         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
17658         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
17659         of adding _internal alias.
17661 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17663         [BZ #14117]
17664         * sysdeps/i386/bits/link.h: Removed.
17665         * sysdeps/i386/bits/linkmap.h: Likewise.
17666         * sysdeps/x86_64/bits/link.h: Renamed to ...
17667         * sysdeps/x86/bits/link.h: This.
17668         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
17669         * sysdeps/x86/bits/linkmap.h: This.
17671         * sysdeps/i386/bits/endian.h: Removed.
17672         * sysdeps/x86_64/bits/endian.h: Renamed to ...
17673         * sysdeps/x86/bits/endian.h: This.
17675         * sysdeps/i386/bits/byteswap.h: Removed.
17676         * sysdeps/i386/bits/byteswap-16.h: Likewise.
17677         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
17678         * sysdeps/x86/bits/byteswap.h: This.
17679         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
17680         * sysdeps/x86/bits/byteswap-16.h: This.
17681         * sysdeps/i386/Implies: Add x86.
17682         * sysdeps/x86_64/Implies: Likewise.
17684 2012-05-30  David S. Miller  <davem@davemloft.net>
17686         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
17687         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
17688         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17689         (FP_TRAPPING_EXCEPTIONS): Define.
17690         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17691         (FP_TRAPPING_EXCEPTIONS): Define.
17692         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
17693         subnormals only when inexact has been signalled or underflow
17694         exceptions are enabled.
17695         (_FP_PACK_CANONICAL): Likewise.
17697 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17699         [BZ #14183]
17700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
17701         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
17703 2012-05-30  Richard Henderson  <rth@twiddle.net>
17705         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
17706         with #ifndef NOT_IN_libc.
17708         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
17709         marked to avoid plt entry.
17711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
17713         [BZ #14112]
17714         * Makeconfig (default-abi): New macro.
17715         (abi-includes): Likewise.
17716         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
17717         $(abi-$(default-abi)-lib-soname) for soname if defined.
17718         ($(common-objpfx)gnu/lib-names.stmp): Generate from
17719         abi-variants.
17720         * Makefile (installed-stubs): Likewise.
17721         * include/stubs-biarch.h: Removed.
17722         * scripts/lib-names.awk: Only handle one library at a time.
17723         * scripts/soversions.awk: Remove WORDSIZE support.
17724         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
17725         entries.
17726         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
17727         Removed.
17728         (syscall-list-default-condition): Likewise.
17729         (syscall-list-default-condition): Likewise.
17730         (syscall-list-includes): Likewise.
17731         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
17732         syscall-list-* with abi-*.  Handle undefined abi-variants.
17733         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
17734         * sysdeps/unix/sysv/linux/i386/Implies: New file.
17735         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
17736         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
17737         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
17738         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
17739         Removed.
17740         (syscall-list-32-options): Likewise.
17741         (syscall-list-32-condition): Likewise.
17742         (syscall-list-64-options): Likewise.
17743         (syscall-list-64-condition): Likewise.
17744         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
17745         macro.
17746         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
17747         Renamed to ...
17748         (abi-*): This.
17749         (abi-64-ld-soname): New macro.
17750         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
17751         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
17752         Renamed to ...
17753         (abi-*): This.
17754         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
17755         * sysdeps/x86_64/x32/shlib-versions: Likewise.
17757 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
17759         * sysdeps/unix/sysv/linux/kernel-features.h
17760         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
17761         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
17762         include <kernel-features.h>.
17763         [!__NR_ftruncate64]: Remove conditional code.
17764         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17765         [__NR_ftruncate64]: Make code unconditional.
17766         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17767         * sysdeps/unix/sysv/linux/truncate64.c: Do not
17768         include <kernel-features.h>.
17769         [!__NR_ftruncate64]: Remove conditional code.
17770         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17771         [__NR_ftruncate64]: Make code unconditional.
17772         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
17774         include <kernel-features.h>.
17775         [!__NR_ftruncate64]: Remove conditional code.
17776         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17777         [__NR_ftruncate64]: Make code unconditional.
17778         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17780         include <kernel-features.h>.
17781         [!__NR_ftruncate64]: Remove conditional code.
17782         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17783         [__NR_ftruncate64]: Make code unconditional.
17784         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
17786         * configure.in (libc_cv_fpie): Weaken to a compile test using
17787         LIBC_TRY_CC_OPTION.
17788         * configure: Regenerated.
17790 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
17793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
17794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
17795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17796         Refreshed.
17797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
17798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
17799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
17800         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
17801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
17802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17803         Refreshed.
17805 2012-05-27  David S. Miller  <davem@davemloft.net>
17807         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
17808         (___Q_zero): New.
17809         (__Q_simulate_exceptions): Return void.  Change to simulate
17810         exceptions by writing into the %fsr.
17811         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
17812         (__Qp_handle_exceptions): Likewise.
17813         (numbers): Delete.
17814         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
17815         __Qp_handle_exceptions.
17816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
17817         __Qp_handle_exceptions.
17818         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17819         as unused and give dummy FP_RND_NEAREST initializer.
17820         (FP_INHIBIT_RESULTS): Define.
17821         (___Q_simulate_exceptions): Update declaration.
17822         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
17823         formatting.
17824         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
17825         as unused and give dummy FP_RND_NEAREST initializer.
17826         (__Qp_handle_exceptions): Update declaration.
17827         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
17828         formatting.
17830 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
17832         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
17833         the temporary FPU control word.
17834         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17835         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
17836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
17837         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
17838         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17839         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
17840         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
17841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
17842         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17843         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17844         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
17846 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17848         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
17849         fields.
17851 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
17853         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
17854         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
17855         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
17856         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
17857         Likewise.
17858         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
17859         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
17860         Likewise.
17862 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
17864         * po/h.po: Update from translation team.
17866 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
17868         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
17870         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
17871         handling of denormals.
17872         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17873         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17874         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
17875         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
17876         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17877         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
17878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
17879         Likewise.
17881 2012-05-26  Marek Polacek  <polacek@redhat.com>
17883         [BZ #14152]
17884         * math/libm-test.inc (fma_test): Don't always expect underflow
17885         exception.
17887 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17889         [BZ #12416]
17890         * elf/tst-execstack.c: Include stackinfo.h.
17891         (do_test): Adjust test case to ensure that pthread_getattr_np
17892         behaviour remains the same after marking stack executable.
17894 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17896         * sysdeps/unix/sysv/linux/kernel-features.h
17897         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
17898         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
17899         kernel-features.h.
17900         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17901         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17902         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
17903         kernel-features.h.
17904         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
17905         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
17907 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
17909         * configure.in: Define the default includes to being none.
17910         * configure: Regenerated.
17912 2012-05-25  Roland McGrath  <roland@hack.frob.com>
17914         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
17915         * sysdeps/x86_64/setjmp.S: Likewise.
17916         * sysdeps/i386/bsd-setjmp.S: Likewise.
17917         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17918         * sysdeps/i386/setjmp.S: Likewise.
17919         * sysdeps/i386/__longjmp.S: Likewise.
17920         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17921         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
17923         * include/stap-probe.h: New file.
17924         * configure.in: Handle --enable-systemtap.
17925         * configure: Regenerated.
17926         * config.h.in (USE_STAP_PROBE): New #undef.
17927         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
17928         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
17929         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
17931 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
17933         [BZ #13717]
17934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17935         to 2.4.0 where earlier.
17936         * sysdeps/unix/sysv/linux/configure: Regenerated.
17937         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17938         <kernel-features.h>.
17939         [__ASSUME_32BITUIDS]: Make code unconditional.
17940         [!__ASSUME_32BITUIDS]: Remove conditional code.
17941         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
17942         <kernel-features.h>.
17943         [__ASSUME_32BITUIDS]: Make code unconditional.
17944         [!__ASSUME_32BITUIDS]: Remove conditional code.
17945         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
17946         [__ASSUME_32BITUIDS]: Make code unconditional.
17947         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
17948         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
17949         <kernel-features.h>.
17950         [__ASSUME_32BITUIDS]: Make code unconditional.
17951         [!__ASSUME_32BITUIDS]: Remove conditional code.
17952         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
17953         <kernel-features.h>.
17954         [__ASSUME_32BITUIDS]: Make code unconditional.
17955         [!__ASSUME_32BITUIDS]: Remove conditional code.
17956         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
17957         <kernel-features.h>.
17958         [__ASSUME_32BITUIDS]: Make code unconditional.
17959         [!__ASSUME_32BITUIDS]: Remove conditional code.
17960         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
17961         <kernel-features.h>.
17962         [__ASSUME_32BITUIDS]: Make code unconditional.
17963         [!__ASSUME_32BITUIDS]: Remove conditional code.
17964         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17965         <kernel-features.h>.
17966         [__ASSUME_32BITUIDS]: Make code unconditional.
17967         [!__ASSUME_32BITUIDS]: Remove conditional code.
17968         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17969         <kernel-features.h>.
17970         [__ASSUME_32BITUIDS]: Make code unconditional.
17971         [!__ASSUME_32BITUIDS]: Remove conditional code.
17972         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
17973         <kernel-features.h>.
17974         [__ASSUME_32BITUIDS]: Make code unconditional.
17975         [!__ASSUME_32BITUIDS]: Remove conditional code.
17976         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17977         <kernel-features.h>.
17978         [__ASSUME_32BITUIDS]: Make code unconditional.
17979         [!__ASSUME_32BITUIDS]: Remove conditional code.
17980         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17981         <kernel-features.h>.
17982         [__ASSUME_32BITUIDS]: Make code unconditional.
17983         [!__ASSUME_32BITUIDS]: Remove conditional code.
17984         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
17985         <kernel-features.h>.
17986         [__ASSUME_32BITUIDS]: Make code unconditional.
17987         [!__ASSUME_32BITUIDS]: Remove conditional code.
17988         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
17989         <kernel-features.h>.
17990         [__NR_setresgid] (__setresgid): Do not declare.
17991         [__ASSUME_32BITUIDS]: Make code unconditional.
17992         [!__ASSUME_32BITUIDS]: Remove conditional code.
17993         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
17994         <kernel-features.h>.
17995         [__NR_setresuid] (__setresuid): Do not declare.
17996         [__ASSUME_32BITUIDS]: Make code unconditional.
17997         [!__ASSUME_32BITUIDS]: Remove conditional code.
17998         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
17999         <kernel-features.h>.
18000         [__ASSUME_32BITUIDS]: Make code unconditional.
18001         [!__ASSUME_32BITUIDS]: Remove conditional code.
18002         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
18003         <kernel-features.h>.
18004         [__ASSUME_32BITUIDS]: Make code unconditional.
18005         [!__ASSUME_32BITUIDS]: Remove conditional code.
18006         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
18007         <kernel-features.h>.
18008         [__ASSUME_32BITUIDS]: Make code unconditional.
18009         [!__ASSUME_32BITUIDS]: Remove conditional code.
18010         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
18011         <kernel-features.h>.
18012         [__ASSUME_32BITUIDS]: Make code unconditional.
18013         [!__ASSUME_32BITUIDS]: Remove conditional code.
18014         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
18015         <kernel-features.h>.
18016         [__ASSUME_32BITUIDS]: Make code unconditional.
18017         [!__ASSUME_32BITUIDS]: Remove conditional code.
18018         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
18019         <kernel-features.h>.
18020         [__ASSUME_32BITUIDS]: Make code unconditional.
18021         [!__ASSUME_32BITUIDS]: Remove conditional code.
18022         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
18023         <kernel-features.h>.
18024         [__ASSUME_32BITUIDS]: Make code unconditional.
18025         [!__ASSUME_32BITUIDS]: Remove conditional code.
18026         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
18027         <kernel-features.h>.
18028         [__ASSUME_32BITUIDS]: Make code unconditional.
18029         [!__ASSUME_32BITUIDS]: Remove conditional code.
18030         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
18031         <kernel-features.h>.
18032         [__ASSUME_32BITUIDS]: Make code unconditional.
18033         [!__ASSUME_32BITUIDS]: Remove conditional code.
18034         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18035         <kernel-features.h>.
18036         [__ASSUME_32BITUIDS]: Make code unconditional.
18037         [!__ASSUME_32BITUIDS]: Remove conditional code.
18038         * sysdeps/unix/sysv/linux/kernel-features.h
18039         (__ASSUME_SETRESUID_SYSCALL): Remove.
18040         (__ASSUME_SETRESGID_SYSCALL): Likewise.
18041         (__ASSUME_32BITUIDS): Likewise.
18042         (__ASSUME_LDT_WORKS): Likewise.
18043         (__ASSUME_O_DIRECTORY): Likewise.
18044         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
18045         architecture but not kernel version.
18046         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18047         (__ASSUME_MMAP2_SYSCALL): Likewise.
18048         (__ASSUME_STAT64_SYSCALL): Likewise.
18049         (__ASSUME_IPC64): Likewise.
18050         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
18051         <kernel-features.h>.
18052         [__ASSUME_32BITUIDS]: Make code unconditional.
18053         [!__ASSUME_32BITUIDS]: Remove conditional code.
18054         * sysdeps/unix/sysv/linux/opendir.c: Do not include
18055         <kernel-features.h>.
18056         [__ASSUME_O_DIRECTORY]: Make code unconditional.
18057         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
18058         132096]: Remove conditional code.
18059         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
18060         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18061         <kernel-features.h>.
18062         [__ASSUME_32BITUIDS]: Make code unconditional.
18063         [!__ASSUME_32BITUIDS]: Remove conditional code.
18064         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18065         <kernel-features.h>.
18066         [__ASSUME_32BITUIDS]: Make code unconditional.
18067         [!__ASSUME_32BITUIDS]: Remove conditional code.
18068         * sysdeps/unix/sysv/linux/setegid.c: Do not include
18069         <kernel-features.h>.
18070         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
18071         unconditional.
18072         (__setresgid): Do not declare.
18073         [__ASSUME_32BITUIDS]: Make code unconditional.
18074         [!__ASSUME_32BITUIDS]: Remove conditional code.
18075         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
18076         <kernel-features.h>.
18077         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
18078         unconditional.
18079         (__setresuid): Do not declare.
18080         [__ASSUME_32BITUIDS]: Make code unconditional.
18081         [!__ASSUME_32BITUIDS]: Remove conditional code.
18082         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18083         <kernel-features.h>.
18084         [__ASSUME_32BITUIDS]: Make code unconditional.
18085         [!__ASSUME_32BITUIDS]: Remove conditional code.
18086         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
18087         <kernel-features.h>.
18088         [__ASSUME_32BITUIDS]: Make code unconditional.
18089         [!__ASSUME_32BITUIDS]: Remove conditional code.
18091 2012-05-25  Richard Henderson  <rth@twiddle.net>
18093         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
18094         dl_hwcap to ifunc resolver.
18095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
18096         elf_ifunc_invoke.
18097         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
18098         dl_hwcap to ifunc resolver.
18099         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
18101 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18103         [BZ #14153]
18104         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
18105         for |x| <= 2**-26, not 2**-57.
18106         * math/libm-test.inc (acos_test): Do not allow spurious underflow
18107         exception.
18109 2012-05-24  Jeff Law  <law@redhat.com>
18111         * stdio-common/Makefile (tests): Add bug25.
18112         * stdio-common/bug25.c: New test.
18114 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18116         [BZ #13576]
18117         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
18118         multiple of MALLOC_ALIGNMENT in size.
18119         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
18121 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18123         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
18124         Require >= 256.
18125         (FILENAME_MAX): Use macro-int-constant.
18126         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
18127         (_IOFBF): Use macro-int-constant.
18128         (_IOLBF): Likewise.
18129         (_IONBF): Likewise.
18130         (SEEK_CUR): Likewise.
18131         (SEEK_END): Likewise.
18132         (SEEK_SET): Likewise.
18133         (TMP_MAX): Likewise.
18134         (EOF): Use macro-int-constant.  Require < 0.
18135         (NULL): Use macro-constant.  Require == 0.
18136         (stdin): Require type to be FILE *.
18137         (stdout): Likewise.
18138         (stderr): Likewise.
18139         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
18140         macro-int-constant.
18141         (EXIT_SUCCESS): Likewise.
18142         (NULL): Use macro-constant.  Require == 0.
18143         (RAND_MAX): Use macro-int-constant.
18144         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
18145         [C99-based standards] (strtof): Require function.
18146         [C99-based standards] (strtold): Likewise.
18147         [C99-based standards] (strtoll): Likewise.
18148         [C99-based standards] (strtoull): Likewise.
18149         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18150         [ISO || ISO99 || ISO11] (limits.h): Likewise.
18151         [ISO || ISO99 || ISO11] (math.h): Likewise.
18152         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
18153         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18154         [ISO || ISO99 || ISO11] (*_t): Do not allow.
18156 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
18158         [BZ #14132]
18159         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
18160         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
18161         * intl/dgettext.c (DCGETTEXT): Likewise.
18162         * intl/gettext.c (DCGETTEXT): Likewise.
18163         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
18164         * posix/regex_internal.h (gettext): Likewise.
18165         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
18166         Remove declaration.
18167         * include/argz.h (__argz_count_internal)
18168         (__argz_stringify_internal): Remove declaration.
18169         (__argz_count, __argz_stringify): Declare hidden proto.
18170         * intl/dcgettext.c: Remove use of INTDEF.
18171         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
18172         * string/argz-stringify.c: Likewise.
18173         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18174         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18175         Declare hidden proto.
18176         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
18177         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
18178         Declare hidden proto.
18179         * include/stdio.h (__asprintf_internal): Don't declare.
18180         (__asprintf): Don't define as macro.  Declare hidden proto.
18181         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
18182         (__fsetlocking): Declare hidden proto.
18183         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
18184         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
18185         hidden proto.
18186         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
18187         (_IO_setlinebuf): Remove use of INTUSE.
18188         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
18189         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
18190         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
18191         Remove declaration.
18192         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
18193         (_IO_do_flush): Remove use of INTUSE.
18194         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
18195         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
18196         (_IO_adjust_column, _IO_least_wmarker)
18197         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
18198         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
18199         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
18200         (_IO_default_doallocate, _IO_wdefault_doallocate)
18201         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
18202         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
18203         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
18204         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
18205         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
18206         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
18207         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
18208         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
18209         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
18210         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
18211         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
18212         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
18213         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
18214         proto.
18215         (_IO_flush_all_internal, _IO_adjust_column_internal)
18216         (_IO_default_uflow_internal, _IO_default_finish_internal)
18217         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
18218         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
18219         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
18220         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
18221         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
18222         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
18223         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
18224         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
18225         (_IO_file_close_internal, _IO_file_close_it_internal)
18226         (_IO_file_underflow_internal, _IO_file_overflow_internal)
18227         (_IO_file_init_internal, _IO_file_attach_internal)
18228         (_IO_file_fopen_internal, _IO_file_read_internal)
18229         (_IO_file_sync_internal, _IO_file_seek_internal)
18230         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
18231         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
18232         (_IO_str_underflow_internal, _IO_str_overflow_internal)
18233         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
18234         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
18235         (_IO_list_all_internal, _IO_link_in_internal)
18236         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
18237         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
18238         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
18239         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
18240         (_IO_do_write_internal, _IO_padn_internal)
18241         (_IO_getline_info_internal, _IO_getline_internal)
18242         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
18243         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
18244         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
18245         (_IO_vfscanf_internal, _IO_vfprintf_internal)
18246         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
18247         (_IO_init_internal, _IO_un_link_internal): Don't declare.
18248         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
18249         with libc_hidden_ver, remove use of INTUSE.
18250         * libio/genops.c: Likewise.
18251         * libio/freopen.c: Likewise.
18252         * libio/freopen64.c: Likewise.
18253         * libio/iofclose.c: Likewise.
18254         * libio/iofdopen.c: Likewise.
18255         * libio/iofflush.c: Likewise.
18256         * libio/iofflush_u.c: Likewise.
18257         * libio/iofgets.c: Likewise.
18258         * libio/iofgets_u.c: Likewise.
18259         * libio/iofopen.c: Likewise.
18260         * libio/iofopncook.c: Likewise.
18261         * libio/iofread.c: Likewise.
18262         * libio/iofread_u.c: Likewise.
18263         * libio/ioftell.c: Likewise.
18264         * libio/iofwrite.c: Likewise.
18265         * libio/iogetline.c: Likewise.
18266         * libio/iogets.c: Likewise.
18267         * libio/iogetwline.c: Likewise.
18268         * libio/iopadn.c: Likewise.
18269         * libio/iopopen.c: Likewise.
18270         * libio/ioseekoff.c: Likewise.
18271         * libio/ioseekpos.c: Likewise.
18272         * libio/iosetbuffer.c: Likewise.
18273         * libio/iosetvbuf.c: Likewise.
18274         * libio/ioungetc.c: Likewise.
18275         * libio/ioungetwc.c: Likewise.
18276         * libio/iovdprintf.c: Likewise.
18277         * libio/iovsprintf.c: Likewise.
18278         * libio/iovsscanf.c: Likewise.
18279         * libio/memstream.c: Likewise.
18280         * libio/obprintf.c: Likewise.
18281         * libio/oldfileops.c: Likewise.
18282         * libio/oldiofclose.c: Likewise.
18283         * libio/oldiofdopen.c: Likewise.
18284         * libio/oldiofopen.c: Likewise.
18285         * libio/oldiopopen.c: Likewise.
18286         * libio/oldstdfiles.c: Likewise.
18287         * libio/putc.c: Likewise.
18288         * libio/setbuf.c: Likewise.
18289         * libio/setlinebuf.c: Likewise.
18290         * libio/stdfiles.c: Likewise.
18291         * libio/strops.c: Likewise.
18292         * libio/vasprintf.c: Likewise.
18293         * libio/vscanf.c: Likewise.
18294         * libio/vsnprintf.c: Likewise.
18295         * libio/vswprintf.c: Likewise.
18296         * libio/wfiledoalloc.c: Likewise.
18297         * libio/wfileops.c: Likewise.
18298         * libio/wgenops.c: Likewise.
18299         * libio/wmemstream.c: Likewise.
18300         * libio/wstrops.c: Likewise.
18301         * libio/__fpurge.c: Likewise.
18302         * libio/__fsetlocking.c: Likewise.
18303         * assert/assert.c: Likewise.
18304         * debug/fgets_chk.c: Likewise.
18305         * debug/fgets_u_chk.c: Likewise.
18306         * debug/fread_chk.c: Likewise.
18307         * debug/fread_u_chk.c: Likewise.
18308         * debug/gets_chk.c: Likewise.
18309         * debug/obprintf_chk.c: Likewise.
18310         * debug/vasprintf_chk.c: Likewise.
18311         * debug/vdprintf_chk.c: Likewise.
18312         * debug/vsnprintf_chk.c: Likewise.
18313         * debug/vsprintf_chk.c: Likewise.
18314         * malloc/mtrace.c: Likewise.
18315         * misc/error.c: Likewise.
18316         * misc/syslog.c: Likewise.
18317         * stdio-common/asprintf.c: Likewise.
18318         * stdio-common/fxprintf.c: Likewise.
18319         * stdio-common/getw.c: Likewise.
18320         * stdio-common/isoc99_fscanf.c: Likewise.
18321         * stdio-common/isoc99_scanf.c: Likewise.
18322         * stdio-common/isoc99_vfscanf.c: Likewise.
18323         * stdio-common/isoc99_vscanf.c: Likewise.
18324         * stdio-common/isoc99_vsscanf.c: Likewise.
18325         * stdio-common/printf-prs.c: Likewise.
18326         * stdio-common/printf_fp.c: Likewise.
18327         * stdio-common/printf_fphex.c: Likewise.
18328         * stdio-common/printf_size.c: Likewise.
18329         * stdio-common/putw.c: Likewise.
18330         * stdio-common/scanf.c: Likewise.
18331         * stdio-common/sprintf.c: Likewise.
18332         * stdio-common/tmpfile.c: Likewise.
18333         * stdio-common/vfprintf.c: Likewise.
18334         * stdio-common/vfscanf.c: Likewise.
18335         * stdlib/strfmon_l.c: Likewise.
18336         * sunrpc/openchild.c: Likewise.
18337         * sunrpc/xdr_stdio.c: Likewise.
18338         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18339         * sysdeps/mach/hurd/tmpfile.c: Likewise.
18341 2012-05-24  Roland McGrath  <roland@hack.frob.com>
18343         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18345         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
18346         in the third column, to generate for the shared library an IFUNC
18347         that uses _dl_vdso_vsym.
18348         * Makerules (COMPILE.c, compile-stdin.c): New variables.
18349         * Makeconfig (object-suffixes-noshared): New variable.
18351         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
18352         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
18353         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
18354         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
18356         [BZ #14132]
18357         * include/sys/time.h (__gettimeofday): Remove macro.
18358         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
18359         * time/gettimeofday.c (__gettimeofday): Remove #undef.
18360         Remove INTDEF.
18361         (__gettimeofday): Add libc_hidden_def.
18362         (gettimeofday): Add libc_hidden_weak.
18363         * sysdeps/mach/gettimeofday.c: Likewise.
18364         * sysdeps/posix/gettimeofday.c: Likewise.
18365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
18366         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
18367         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
18368         (__gettimeofday_internal): Remove strong_alias.
18369         (__gettimeofday): Add libc_hidden_def.
18370         (gettimeofday): Add libc_hidden_weak.
18371         * sysdeps/unix/syscalls.list (gettimeofday):
18372         Remove __gettimeofday_internal alias.
18374 2012-05-24  Daniel Jacobowitz  <drow@false.org>
18375             H.J. Lu  <hongjiu.lu@intel.com>
18377         [BZ #12495]
18378         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
18379         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
18380         (largebin_index_32_big): New.
18381         (largebin_index): Use it for 16-byte alignment.
18382         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
18383         correction with front_misalign.
18385 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18387         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
18388         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
18389         Likewise.
18390         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
18391         Likewise.
18392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
18393         Likewise.
18394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
18395         Likewise.
18396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
18397         Likewise.
18398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
18399         Likewise.
18400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
18401         Likewise.
18402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18403         Likewise.
18404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
18405         Likewise.
18406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
18407         Likewise.
18408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
18409         Likewise.
18410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
18411         Likewise.
18413         * scripts/data/c++-types-x32-linux-gnu.data: New file.
18414         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
18416 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
18418         [BZ #10846]
18419         [BZ #14036]
18420         * math/libm-test.inc (exp_test): Add test from bug 14036.
18421         (pow_test): Add test from bug 10846.
18423         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
18424         and other flags.
18425         (special_function): Do not include flags in test name.
18426         (parse_args): Likewise.
18427         * sysdeps/i386/fpu/libm-test-ulps: Update.
18428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18429         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18430         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18433         * math/gen-libm-test.pl (%beautify): Add entries for underflow
18434         exceptions.
18435         * math/libm-test.inc ("Philosophy"): Update comment about
18436         exception testing.
18437         (UNDERFLOW_EXCEPTION): New macro.
18438         (UNDERFLOW_EXCEPTION_OK): Likewise.
18439         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
18440         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
18441         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
18442         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
18443         (INVALID_EXCEPTION_OK): Update value.
18444         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18445         (OVERFLOW_EXCEPTION_OK): Likewise.
18446         (IGNORE_ZERO_INF_SIGN): Likewise.
18447         (test_exceptions): Handle underflow exceptions.
18448         (acos_test): Update for underflow exception expectations.
18449         (cexp_test): Likewise.
18450         (clog_test): Likewise.
18451         (clog10_test): Likewise.
18452         (csqrt_test): Likewise.
18453         (ctan_test): Likewise.
18454         (ctanh_test): Likewise.
18455         (exp_test): Likewise.
18456         (exp10_test): Likewise.
18457         (exp2_test): Likewise.
18458         (expm1_test): Likewise.
18459         (fma_test): Likewise.
18460         (j0_test): Likewise.
18461         (jn_test): Likewise.
18462         (nexttoward_test): Likewise.
18463         (pow_test): Likewise.
18464         (scalbn_test): Likewise.
18465         (scalbln_test): Likewise.
18466         (tan_test): Likewise.
18467         (y1_test): Likewise.
18468         * sysdeps/i386/fpu/libm-test-ulps: Update.
18469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18471 2012-05-23  David S. Miller  <davem@davemloft.net>
18473         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18474         (__libc_sigaction): Remove unused local variables.
18476 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18478         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
18480 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
18482         mktime: avoid signed integer overflow
18483         * time/mktime.c (__mktime_internal): Do not mishandle the case
18484         where diff == INT_MIN.
18486         mktime: simplify computation of average
18487         * time/mktime.c (ranged_convert): Use new time_t_avg function
18488         instead of rolling our own (probably-slower) code.
18490         mktime: do not assume signed right shift propagates sign bit
18491         * time/mktime.c (isdst_differ): New static function.
18492         (__mktime_internal): No need to normalize tm_isdst now.
18493         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
18494         tm_isdst values.
18496         mktime: merge another wrapv change from gnulib
18497         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
18498         from some compilers.
18500         mktime: remove incorrect attempt at unusual arithmetics
18501         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
18502         The code didn't really work on such machines anyway.
18503         (TYPE_MINIMUM): Assume two's complement.
18504         (twos_complement_arithmetic): Verify that long_int and time_t
18505         are two's complement (or unsigned, in the latter case).
18507         mktime: check signed shifts on long_int and time_t, too
18508         * time/mktime.c (SHR): Check that shifts work as desired
18509         on the types long_int and time_t too, as SHR is used on
18510         such types.
18512         mktime: do not assume 'long' is wide enough
18513         * time/mktime.c (verify): Move decl up.
18514         (long_int): New type.
18515         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
18516         to remove assumption in the code that 'long' is wide enough to
18517         store year values.  This assumption is not true on x32 and on
18518         some non-glibc platforms.
18520         mktime: merge wrapv change from gnulib
18521         * time/mktime.c (WRAPV): New macro.
18522         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
18523         (guess_time_tm, __mktime_internal): Do not assume that signed
18524         integer overflow wraps around; modern compilers generate code
18525         where this assumption is no longer valid.
18527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18529         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18530         Replace "jmp L(pseudo_end)" with "ret".
18531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
18532         Likewise.
18534 2012-05-23  Andreas Jaeger  <aj@suse.de>
18536         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
18537         * sysdeps/unix/sysv/linux/poll.c: Remove file.
18539 2012-05-23  Andreas Jaeger  <aj@suse.de>
18540             Maximilian Attems  <max@stro.at>
18542         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
18543         New macros.
18545 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
18547         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
18548         code so that pseudo_end is just ret and the stack pointer is
18549         correct also for static library in error case.
18551 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
18553         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
18554         move to syscalls.list.
18555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
18556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
18557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
18558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
18560         * manual/install.texi (Running make install): Do not mention Linux
18561         kernel version for which pt_chown is not needed.
18562         (Linux): Do not mention problems with nscd with 2.0 kernels.
18563         * INSTALL: Regenerated.
18565 2012-05-23  Andreas Jaeger  <aj@suse.de>
18567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
18568         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
18569         macro.
18570         * sysdeps/unix/sysv/linux/s390/bits/mman.h
18571         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18572         * sysdeps/unix/sysv/linux/sh/bits/mman.h
18573         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18574         * sysdeps/unix/sysv/linux/i386/bits/mman.h
18575         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18576         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
18577         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
18579         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
18580         * sysdeps/unix/sysv/linux/bits/in.h
18581         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
18583 2012-05-22  Roland McGrath  <roland@hack.frob.com>
18585         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
18586         (PREPARE_VERSION): Just use assert instead, it will be elided
18587         under [NDEBUG] anyway.
18589 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18591         * sysdeps/unix/sysv/linux/Makefile: Include
18592         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
18593         (sysdep_routines): Remove sysctl.
18594         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
18595         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
18596         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
18597         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
18598         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
18600 2012-05-22  Andreas Jaeger  <aj@suse.de>
18602         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
18603         that pseudo_end is just ret and the stack pointer is correct also
18604         for static library in error case.
18606 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18608         [BZ #14122]
18609         * nss/nsswitch.c (defconfig_entries): New variable.
18610         (__nss_database_lookup): Don't leak defconfig entries.
18611         (nss_parse_service_list): Don't leak on error paths.
18612         (free_database_entries): New function.
18613         (free_defconfig): New function.
18614         (free_mem): Move common code to free_database_entries.
18616 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18618         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
18619         Add arch_prctl.
18620         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
18622         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18623         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
18624         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
18625         New macro.
18626         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18627         (INTERNAL_SYSCALL_TYPES): Likewise.
18628         (LOAD_ARGS_TYPES_[1-6]): Likewise.
18629         (LOAD_REGS_TYPES_[1-6]): Likewise.
18630         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
18631         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
18633 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18635         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
18636         copysignl for GLIBC_2_0.
18637         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
18638         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
18639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
18640         logbl for GLIBC_2_0.
18641         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
18642         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
18644 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18646         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
18647         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
18649         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
18650         Use "neg %eax".
18652         * time/mktime.c: Update copyright years.
18654 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
18656         mktime: merge comment-quoting-style change from gnulib
18657         * time/mktime.c: Quote 'like this' in comments.
18658         The GNU coding standards suggest that we no longer quote `like this',
18659         as "`" and "'" are typically rendered asymmetrically nowadays.
18660         The typical gnulib style is to quote 'like this' when quoting
18661         code, and "like this" when quoting English.
18663         * time/mktime.c (compile-command): Add "-I.".
18665         mktime: merge mktime-internal.h change from gnulib
18666         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
18668         mktime: merge time_r change from gnulib
18669         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
18671         mktime: merge DEBUG change from gnulib
18672         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
18673         case system <time.h> has a #define.
18675         mktime: merge <sys/types.h> change from gnulib
18676         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
18677         since <time.t> is now guaranteed to define time_t.
18679         mktime: merge HAVE_CONFIG_H change from gnulib
18680         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
18682 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
18684         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18685         Use "neg %eax".
18687         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
18688         __rlim_t cast.
18689         (struct rusage): Use anonymous union to pad each field to
18690         __syscall_slong_t.
18692 2012-05-21  David S. Miller  <davem@davemloft.net>
18694         * Makefules (o-iterator): Remove .s cases.
18695         (compile-command.s): Delete.
18696         (COMPILE.s): Delete.
18697         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
18699 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
18701         * configure.in (libc_cv_predef_stack_protector): Only consider
18702         "foobar" and "__stack_chk_fail" lines in libc_undefs.
18703         * configure: Regenerated.
18705 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
18708         New macro.  Use R*LP on int and pointer.
18709         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
18710         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
18711         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
18712         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
18714         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
18715         [__WORDSIZE_TIME64_COMPAT32] instead of
18716         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
18717         (struct utmp): Likewise.
18718         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
18719         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
18720         Renamed to ...
18721         (__WORDSIZE_TIME64_COMPAT32): This.
18722         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
18723         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
18724         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
18725         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
18726         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
18727         (__WORDSIZE_TIME64_COMPAT32): New macro.
18729 2012-05-21  Andreas Jaeger  <aj@suse.de>
18731         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
18732         only if [SHARED]. Add prototype for __wcschr_ia32.
18734 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18736         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
18737         of %rbp unmolested in the jmp_buf while mangling the low bits.
18738         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
18739         unmolested high bits of %rbp while demangling the low bits.
18740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18742 2012-05-21  Andreas Jaeger  <aj@suse.de>
18744         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
18745         * sunrpc/svc_simple.c: Use it for registerrpc.
18746         * sunrpc/xcrypt.c: Use it for passwd2des.
18748         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
18750 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18752         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
18753         Don't define if [__SYSCALL_WORDSIZE != 32].
18754         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
18755         New macro.
18757 2012-05-21  Bruno Haible  <bruno@clisp.org>
18758             Andreas Jaeger  <aj@suse.de>
18760         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
18761         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
18762         inptr and inend for must_buffer_ch.
18763         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
18764         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
18765         * stdio-common/Makefile (tests): Remove bug15.
18766         (bug15-ENV): Remove macro.
18767         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
18768         anymore.
18770 2012-05-19  Andreas Jaeger  <aj@suse.de>
18771             Roland McGrath  <roland@hack.frob.com>
18773         * manual/contrib.texi: Completely rewritten. It contains now an
18774         alphabetical list of contributors and their contributions.
18776 2012-05-21  Richard Henderson  <rth@twiddle.net>
18778         * misc/getauxval.c (__getauxval): Use unsigned long int.
18779         * misc/sys/auxv.h: Include <sys/cdefs.h>.
18780         (getauxval): Use unsigned long int.
18782 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
18784         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
18786 2012-05-21  Roland McGrath  <roland@hack.frob.com>
18788         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
18789         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
18790         __alignof__ (long double).
18792 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18794         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18796 2012-05-20  Richard Henderson  <rth@twiddle.net>
18798         * misc/getauxval.c: New file.
18799         * misc/sys/auxv.h: New file.
18800         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
18801         (routines): Add getauxval.
18802         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
18803         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
18804         * elf/dl-sysdep.c (_dl_auxv): Remove.
18805         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
18806         * elf/dl-support.c (_dl_auxv): New variable.
18807         (_dl_aux_init): Initialize it.
18808         * manual/startup.texi (Auxiliary Vector): New node.
18809         * sysdeps/generic/bits/hwcap.h: New file.
18810         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
18811         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
18812         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
18813         * sysdeps/sparc/sysdep.h: ... here.  Include it.
18814         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
18815         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
18816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18817         Update.
18818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
18819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
18820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
18821         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
18822         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
18824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
18825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
18827 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18831 2012-05-19  David S. Miller  <davem@davemloft.net>
18833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18835 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18837         [BZ #14123]
18838         * math/s_ccosh.c: Include <float.h>
18839         (__ccosh): Avoid internal overflow calculating sinh and cosh
18840         values before multiplying by sin and cos values.
18841         * math/s_ccoshf.c: Likewise.
18842         * math/s_ccoshl.c: Likewise.
18843         * math/s_csin.c: Likewise.
18844         * math/s_csinf.c: Likewise.
18845         * math/s_csinl.c: Likewise.
18846         * math/s_csinh.c: Likewise.
18847         * math/s_csinhf.c: Likewise.
18848         * math/s_csinhl.c: Likewise.
18849         * math/libm-test.inc (ccos_test): Add more tests.
18850         (ccosh_test): Likewise.
18851         (csin_test): Likewise.
18852         (csinh_test): Likewise.
18853         * sysdeps/i386/fpu/libm-test-ulps: Update.
18854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18858         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
18859         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
18861         * sysdeps/x86_64/x32/_itoa.h: Add comment.
18863 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
18865         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
18866         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
18867         * sysdeps/powerpc/soft-fp/Versions: Likewise.
18868         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
18869         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
18870         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
18871         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
18872         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
18873         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
18874         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
18875         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
18876         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
18877         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
18878         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
18879         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
18880         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
18881         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
18882         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
18883         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
18884         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
18885         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
18886         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
18887         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
18888         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
18889         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
18890         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
18891         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
18892         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
18893         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
18894         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
18895         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
18897 2012-05-18  Andreas Jaeger  <aj@suse.de>
18899         * csu/.gitignore: Delete.
18901 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18903         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
18904         (timex): Use __syscall_slong_t.
18906 2012-05-18  Andreas Jaeger  <aj@suse.de>
18907             Carlos O'Donell  <carlos_odonell@mentor.com>
18909         * manual/install.texi (Configuring and compiling): Update
18910         description about files modified in the source directory.
18911         * INSTALL: Regenerated.
18913 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18915         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
18916         value.  Use "or" to set return value to -1.
18917         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
18918         negate return value.
18920 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18922         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
18923         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
18924         failure if the compiler has Graphite support disabled.
18925         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
18926         Likewise.
18927         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
18928         CFLAGS-memmove.c): Likewise.
18929         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
18930         Likewise.
18932 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18934         * sysdeps/x86_64/x32/_itoa.h: New file.
18936         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
18937         getdents system call only if kernel and user dirents have the
18938         same d_ino and d_off.
18940         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
18941         LLONG_MAX != LONG_MAX.
18942         (_itoa_word): Use _ITOA_WORD_TYPE on value.
18943         (_fitoa_word): Likewise.
18945         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
18946         years.
18947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
18948         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
18949         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
18951         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
18952         include <bits/wordsize.h>.  Check __x86_64__ instead of
18953         __WORDSIZE.
18954         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
18955         if __x86_64__ is defined.  Use anonymous union on fpstate.
18957         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
18958         anonymous union.
18960 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
18962         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
18963         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
18964         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
18965         Refer to _rtld_local_ro instead of _rtld_global_ro.
18966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
18967         Likewise.
18968         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
18969         Likewise.
18970         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
18971         Likewise.
18972         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
18973         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
18974         of _rtld_global, and rtld_progname instead of _dl_argv[0].
18976         * sysdeps/powerpc/powerpc32/dl-machine.c
18977         (__elf_machine_runtime_setup) [PROF]: Don't reference
18978         _dl_prof_resolve.
18980 2012-05-18  Andreas Jaeger  <aj@suse.de>
18982         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
18983         function only available for GCCs before 3.4 since GCC 3.4
18984         introduced a builtin.
18985         (lrint): Likewise.
18986         (llrintf): Likewise.
18987         (llrint): Likewise.
18988         (fmaxf): Likewise.
18989         (fmax): Likewise.
18990         (fminf): Likewise.
18991         (fmin): Likewise.
18992         (rint): Likewise.
18993         (rintf): Likewise.
18994         (nearbyint): Likewise.
18995         (nearbyintf): Likewise.
18996         (ceil): Likewise.
18997         (ceilf): Likewise.
18998         (floor): Likewise.
18999         (floorf): Likewise.
19001 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19003         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
19004         on both fields and cast pointer to __syscall_ulong_t.
19006         * bits/types.h (__fsword_t): New type.
19007         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
19008         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
19009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19010         (__FSWORD_T_TYPE): Likewise.
19011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19012         (__FSWORD_T_TYPE): Likewise.
19013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19014         (__FSWORD_T_TYPE): Likewise.
19015         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
19016         (__FSWORD_T_TYPE): Likewise.
19017         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
19018         __SWORD_TYPE with __fsword_t.
19019         (statfs64): Likewise.
19021 2012-05-17  David S. Miller  <davem@davemloft.net>
19023         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
19025 2012-05-17  Andreas Jaeger  <aj@suse.de>
19027         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
19028         warning.
19030 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19032         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
19034 2012-05-17  Andreas Jaeger  <aj@suse.de>
19036         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
19037         when it is used.
19039 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19041         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
19043 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
19045         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
19046         * sysdeps/x86_64/tst-mallocalign1.c: New file.
19048 2012-05-17  Andreas Jaeger  <aj@suse.de>
19049             Carlos O'Donell  <carlos_odonell@mentor.com>
19051         [BZ #14059]
19052         * sysdeps/x86_64/multiarch/init-arch.h
19053         (bit_YMM_Usable): Rename to...
19054         (bit_AVX_Usable): ... this.
19055         (bit_FMA4_Usable): New macro.
19056         (bit_XMM_state): New macro.
19057         (bit_YMM_state): New macro.
19058         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
19059         [__ASSEMBLER__] (index_AVX_Usable): ... this.
19060         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
19061         (CPUID_OSXSAVE): New macro.
19062         (CPUID_AVX): New macro.
19063         (CPUID_FMA4): New macro.
19064         (index_YMM_Usable): Rename to...
19065         (index_AVX_Usable): ... this.
19066         (HAS_AVX): Use HAS_ARCH_FEATURE.
19067         (HAS_FMA4): Likewise.
19068         (HAS_YMM_USABLE): Remove.
19069         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19070         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
19071         are present.
19072         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
19073         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
19074         * sysdeps/x86_64/multiarch/Makefile: Likewise.
19075         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
19076         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
19078 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
19080         * math/libm-test.c: Support platforms without multiple rounding modes.
19081         * math/bug-nextafter.c: Support platforms without FP exceptions.
19082         * math/bug-nexttoward.c: Likewise.
19083         * math/test-fenv.c: Likewise.
19084         * math/test-misc.c: Likewise.
19085         * stdlib/bug-getcontext.c: Likewise.
19087 2012-05-17  Andreas Jaeger  <aj@suse.de>
19089         * manual/examples/search.c (critter_cmp): Change signature to
19090         avoid warnings.
19091         * manual/string.texi (Collation Functions): Likewise.
19093 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19095         * bits/types.h: Fold copyright years.
19096         * bits/typesizes.h: Likewise.
19097         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
19098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19099         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
19100         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
19101         * time/time.h: Likewise.
19103 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
19105         [BZ #208]
19106         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
19107         in instead of returning them.  Return void.
19108         (__libc_mallinfo): Accumulate over all arenas.
19109         (__malloc_stats): Adjust for change in int_mallinfo interface.
19111 2012-05-16  Roland McGrath  <roland@hack.frob.com>
19113         [BZ #10375]
19114         * configure.in (NM): Add AC_CHECK_TOOL for it.
19115         (libc_extra_cflags): New substituted variable.
19116         Check for -fstack-protector being used implicitly.
19117         * configure: Regenerated.
19118         * config.make.in (config-extra-cflags): New variable,
19119         gets @libc_extra_cflags@.
19120         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
19122         [BZ #10375]
19123         * configure.in: Check for _FORTIFY_SOURCE being predefined.
19124         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
19125         * configure: Regenerated.
19126         * config.make.in (CPPUNDEFS): New substituted variable.
19127         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
19128         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
19129         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
19131 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19133         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
19134         (mq_attr): Use __syscall_slong_t.
19136 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19138         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
19139         Check __x86_64__ instead of __WORDSIZE.
19140         (_STAT_VER_LINUX): Likewise.
19141         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
19142         __syscall_ulong_t and __syscall_slong_t.
19143         (stat64): Likewise.
19145 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
19149 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19151         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
19153 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19155         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
19156         __syscall_ulong_t.
19158         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
19159         include <bits/wordsize.h>.  Check __x86_64__ instead of
19160         __WORDSIZE.
19161         (greg_t): Use "__extension__ long long int" if __x86_64__ is
19162         defined.
19163         (mcontext_t): Replace "unsigned long" with "unsigned long long".
19165         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
19166         include <bits/wordsize.h>.  Check __x86_64__ instead of
19167         __WORDSIZE.
19168         (user_regs_struct): Use "__extension__ unsigned long long"
19169         instead of "unsigned long" if __x86_64__ is defined.
19170         (user): Likewise.  Pad after pointer field if __ILP32__ is
19171         defined.
19173 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
19175         * configure.in (makeinfo): Require version 4.5 or later.  Allow
19176         versions 5 to 9.
19177         * configure: Regenerated.
19178         * manual/install.texi (texinfo): Increase version requirement to
19179         4.5 or later.
19180         * INSTALL: Regenerated.
19182         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
19184 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
19186         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
19188         * sysdeps/x86_64/x32/ffs.c: New file.
19190         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
19191         __syscall_ulong_t.
19192         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
19193         defined.  Use __syscall_ulong_t.
19194         (shminfo): Use __syscall_ulong_t.
19195         (shm_info): Likewise.
19197         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
19198         __syscall_ulong_t.
19200         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
19201         <bits/wordsize.h>.
19202         (msgqnum_t): Use __syscall_ulong_t.
19203         (msglen_t): Likewise.
19204         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
19205         __syscall_ulong_t.
19207         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
19208         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19210         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
19212         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
19213         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
19215         * sysvipc/sys/msg.h (msgbuf): Replace long int with
19216         __syscall_slong_t.
19218         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
19219         include <bits/wordsize.h>.  Check __x86_64__ instead of
19220         __WORDSIZE.
19222         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
19223         "unsigned long long int" if __x86_64__ is defined.
19224         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
19226         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
19227         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
19228         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
19230         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
19231         <stdint.h>.
19232         (GET_PC): Cast to uintptr_t first.
19233         (GET_FRAME): Likewise.
19234         (GET_STACK): Likewise.
19236         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
19237         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
19238         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
19239         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
19240         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
19241         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
19242         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
19243         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
19244         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
19245         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
19246         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
19247         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
19248         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19249         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
19250         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
19251         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
19252         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
19253         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
19254         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
19255         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
19256         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
19257         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
19258         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
19259         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
19260         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
19261         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
19262         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
19263         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
19266 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
19268         * Makerules (+depfiles): Also collect depfiles from .oS in
19269         $(extra-objs).
19270         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
19271         .oS, $(libnldbl-routines)).
19273         * Makerules (native-compile-mkdep-flags): Define.
19274         * sunrpc/Makefile (extra-objs): Add $(addprefix
19275         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
19276         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
19277         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
19278         calling $(make-target-directory).
19280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19282         * bits/types.h (__snseconds_t): Removed.
19283         * time/time.h (struct timespec): Replace __snseconds_t with
19284         __syscall_slong_t.
19285         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
19286         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
19287         Likewise.
19288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19289         (__SNSECONDS_T_TYPE): Likewise.
19290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19291         (__SNSECONDS_T_TYPE): Likewise.
19292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19293         (__SNSECONDS_T_TYPE): Likewise.
19295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19297         * sysdeps/mach/hurd/bits/typesizes.h
19298         (__SYSCALL_SLONG_TYPE): New macro.
19299         (__SYSCALL_ULONG_TYPE): Likewise.
19301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19303         * bits/types.h (__syscall_slong_t): New type.
19304         (__syscall_ulong_t): Likewise.
19306         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
19307         (__SYSCALL_ULONG_TYPE): Likewise.
19308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19309         (__SYSCALL_SLONG_TYPE): Likewise.
19310         (__SYSCALL_ULONG_TYPE): Likewise.
19311         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
19312         (__SYSCALL_SLONG_TYPE): Likewise.
19313         (__SYSCALL_ULONG_TYPE): Likewise.
19314         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19315         (__SYSCALL_SLONG_TYPE): Likewise.
19316         (__SYSCALL_ULONG_TYPE): Likewise.
19318 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19320         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
19321         Add sigaltstack-offsets.sym.
19322         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
19323         <sigaltstack-offsets.h>.
19324         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
19325         longjmp_msg pointer.
19326         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
19327         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
19328         signal stack.
19329         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
19331 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19333         * elf/stackguard-macros.h: Remove file.
19334         * sysdeps/generic/stackguard-macros.h: New file.
19335         * sysdeps/i386/stackguard-macros.h: Likewise.
19336         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
19337         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
19338         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
19339         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
19340         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
19341         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
19342         * sysdeps/x86_64/stackguard-macros.h: Likewise.
19343         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
19344         <elf/stackguard-macros.h>.
19346         [BZ #14109]
19347         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
19348         __aligned__ in attribute.
19349         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
19350         (gregset_t): Likewise.
19352 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19354         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
19355         * sysdeps/x86_64/64/Implies-after: Here.  New file.
19356         * sysdeps/x86_64/x32/Implies-after: New file.
19358 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19360         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
19361         and access return value for _dl_profile_fixup.  Use R10_LP to
19362         load frame size.
19364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19366         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
19368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19370         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
19371         * sysdeps/x86_64/x32/sysdep.h: New file.
19373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19375         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
19376         * sysdeps/x86_64/setjmp.S: Likewise.
19378 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19380         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
19381         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
19382         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
19383         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
19384         remove unused global constant.
19386 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
19388         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
19389         include of <not-cancel.h>.
19391 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19393         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
19395 2012-05-15  Jeff Law  <law@redhat.com>
19396             Andreas Jaeger  <aj@suse.de>
19398         [BZ #13594]
19399         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
19400         out from...
19401         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
19402         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
19403         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
19404         code changing __hst_map_handle.map.
19406 2012-05-15  Roland McGrath  <roland@hack.frob.com>
19408         * configure.in (sysnames): Look for Implies-before and Implies-after
19409         files.
19410         * configure: Regenerated.
19412 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19414         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
19415         8-byte data alignment with LP_SIZE alignment.
19417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19419         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
19420         into R10_LP.
19422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19424         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
19426 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19428         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
19429         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
19430         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
19431         Likewise.
19432         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19436         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
19437         (stackinfo_sub_sp): Likewise.
19439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19441         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
19442         RAX_LP.
19444 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19446         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
19447         into R*_LP.
19449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19451         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
19452         sizes into R*_LP.
19454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19456         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
19458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19460         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
19461         into R11_LP and load __x86_64_shared_cache_size_half into
19462         R8_LP.
19464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
19466         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
19467         R8_LP.
19469 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19472         logb for POWER7.
19473         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
19474         logbf for POWER7.
19475         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
19476         logbl for POWER7.
19477         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
19478         powerpc32/power7/fpu/s_logb.c via #include.
19479         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
19480         powerpc32/power7/fpu/s_logbf.c via #include.
19481         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
19482         powerpc32/power7/fpu/s_logbl.c via #include.
19484 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
19486         * README.libm: Remove file.
19488 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19490         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
19491         count for x32.  Use R*_LP and omit operand-size suffix.
19493 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19495         * shlib-versions: Move x86_64-.*-linux.* entries to ...
19496         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
19497         * sysdeps/x86_64/x32/shlib-versions: New file.
19499 2012-05-14  Roland McGrath  <roland@hack.frob.com>
19501         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
19502         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
19503         Use _dl_fatal_printf instead.
19505 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19507         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
19508         set if not set by the user.  Do not allow for being unset.
19509         * sysdeps/unix/sysv/linux/configure: Regenerated.
19511 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19513         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
19514         the `q' suffix from lea and replace .quad with ASM_ADDR.
19516 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19518         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
19519         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
19520         instead of $17.
19521         (PTR_DEMANGLE): Likewise.
19523 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19525         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
19526         (LP_OP): Likewise.
19527         (ASM_ADDR): Likewise.
19528         (RAX_LP): Likewise.
19529         (RBP_LP): Likewise.
19530         (RBX_LP): Likewise.
19531         (RCX_LP): Likewise.
19532         (RDI_LP): Likewise.
19533         (RSI_LP): Likewise.
19534         (RSP_LP): Likewise.
19535         (R8_LP): Likewise.
19536         (R9_LP): Likewise.
19537         (R10_LP): Likewise.
19538         (R10_LP): Likewise.
19539         (R11_LP): Likewise.
19540         (R12_LP): Likewise.
19541         (R13_LP): Likewise.
19542         (R14_LP): Likewise.
19543         (R15_LP): Likewise.
19545 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19547         * sysdeps/x86_64/x32/dl-machine.h: New file.
19549 2012-05-14  Andreas Jaeger  <aj@suse.de>
19551         * manual/Makefile (subdir): Remove export of subdir.
19552         (all): Remove target.
19553         (.PHONY): Remove all from list.
19554         (mkinstalldirs): Remove.
19555         (.PHONY): Remove installdirs from list.
19556         ($(inst_infodir)/libc.info): Use make-target-directory.
19557         (installdirs): Remove.
19558         (subdir_%): Remove.
19559         (glibc-targets): Remove.
19560         (lib): Remove.
19561         (stubs): Remove.
19562         ($(objpfx)stubs ../po/manual.pot): Remove.
19563         ($(objpfx)stamp%): Remove.
19564         (make-target-directory): Remove.
19565         (subdir_install): Remove.
19566         (routines): Remove.
19567         (aux): Remove.
19568         (sources): Remove.
19569         (objects): Remove.
19570         (headers): Remove.
19572         [BZ #13750]
19573         * manual/.gitignore: Remove, it's not needed anymore.
19574         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
19575         all files in it.
19576         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
19577         directory.
19578         (texis): Renamed to $(objpfx)texis.
19579         (texis-path): New, contains path to generated files.
19580         (chapters.%): Use texis-path for complete path, add extra argument
19581         libc-texinfo.sh.
19582         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
19583         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
19584         (summary,texi, stamp-summary): Use complete path of
19585         files. Generate files in build dir.
19586         (dir-add.texi): Build in build dir.
19587         (libm-err.texi,stamp-libm-err): Likewise.
19588         (version.texi, stamp-version): Likewise.
19589         (.%c.texi): Likewise.
19590         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
19591         (mostlyclean): Remove target.
19592         (realclean): Remove target.
19593         (generated): Add new variable with contents from mostlyclean and
19594         realclean, remove entries duplicated in common-mostlyclean, add
19595         stamp-libm-err and stamp-version.
19596         (generated-dirs): Add libc directory.
19597         ($(inst_infodir)/libc.info): Install files from build dir.
19599         * manual/install.texi (Configuring and compiling): Adjust since
19600         the info files are not part of the tar ball anymore.
19602 2012-05-14  Andreas Jaeger  <aj@suse.de>
19604         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
19605         variable.
19607 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
19609         [BZ #13717]
19610         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19611         to 2.2.0 where earlier.
19612         * sysdeps/unix/sysv/linux/configure: Regenerated.
19613         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
19614         Remove conditional code.
19615         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
19616         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
19617         Remove conditional code.
19618         [!__NR_lchown]: Likewise.
19619         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19620         [__NR_lchown]: Likewise.
19621         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
19622         comment referencing __ASSUME_LCHOWN_SYSCALL.
19623         * sysdeps/unix/sysv/linux/i386/sigaction.c
19624         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19625         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19626         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
19627         Remove conditional code.
19628         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
19629         (__protocol_available): Remove #if 0 code.
19630         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
19631         conditional code.
19632         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
19633         * sysdeps/unix/sysv/linux/kernel-features.h
19634         (__ASSUME_GETCWD_SYSCALL): Don't define.
19635         (__ASSUME_REALTIME_SIGNALS): Likewise.
19636         (__ASSUME_PREAD_SYSCALL): Likewise.
19637         (__ASSUME_PWRITE_SYSCALL): Likewise.
19638         (__ASSUME_POLL_SYSCALL): Likewise.
19639         (__ASSUME_LCHOWN_SYSCALL): Likewise.
19640         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
19641         non-SPARC.
19642         (__ASSUME_SIOCGIFNAME): Don't define.
19643         (__ASSUME_MSG_NOSIGNAL): Likewise.
19644         (__ASSUME_SENDFILE): Define unconditionally.
19645         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
19646         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
19647         conditional code.
19648         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
19649         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
19650         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19651         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19652         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
19653         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
19654         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
19655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
19656         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19657         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19659         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19660         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
19662         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19663         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
19665         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19666         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
19668         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19669         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19671         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
19672         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
19674         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19675         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19677         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19678         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19679         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
19680         Remove conditional code.
19681         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19682         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19683         Remove conditional code.
19684         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19685         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
19686         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
19687         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19688         Remove conditional code.
19689         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19690         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
19691         Remove conditional code.
19692         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19693         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
19694         Remove conditional code.
19695         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19696         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
19697         Remove conditional code.
19698         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
19699         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
19700         Remove conditional code.
19701         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19702         * sysdeps/unix/sysv/linux/sh/pwrite64.c
19703         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
19704         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
19705         * sysdeps/unix/sysv/linux/sigaction.c
19706         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19707         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19708         * sysdeps/unix/sysv/linux/sigpending.c
19709         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19710         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19711         * sysdeps/unix/sysv/linux/sigprocmask.c
19712         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19713         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19714         * sysdeps/unix/sysv/linux/sigsuspend.c
19715         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
19716         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
19717         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19718         (__libc_missing_rt_sigs): Remove.
19719         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
19720         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
19721         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
19722         Remove conditional code.
19723         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
19724         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
19725         return 1.
19726         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
19727         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
19728         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
19729         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
19731 2012-05-14  Andreas Jaeger  <aj@suse.de>
19733         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
19734         it's not used in glibc.
19735         (__coshm1): Likewise.
19736         (__acosh1p): Likewise.
19737         (__sgn): Likewise.
19739         * manual/string.texi (Copying and Concatenation): Add missing
19740         variable in concat example.
19741         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19743 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19745         [BZ #14103]
19746         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
19747         __builtin_clzl with __builtin_clzll.
19749 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
19751         [BZ #14104]
19752         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
19753         libc_freeres_ptr.
19755 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
19757         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
19758         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
19759         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
19760         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
19762 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
19764         * NEWS: Update ia64 info.
19766 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19768         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
19769         used as bcopy.
19771 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
19773         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
19774         * sysdeps/unix/syscalls.list (dup3): Likewise.
19775         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
19776         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
19778 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19780         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
19781         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
19783 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
19785         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
19786         thread pointer.
19787         (TLS_IE): Use mov/add instead of movq/addq to load thread
19788         pointer.
19789         (TLS_GD_PREFIX): New.
19790         (TLS_GD): Use it.
19792 2012-05-11  David S. Miller  <davem@davemloft.net>
19794         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
19795         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
19796         (_FPU_SETCW): Likewise.
19798 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19800         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
19801         is 32-byte aligned.
19803 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
19805         [BZ #11837]
19806         * iconvdata/gb18030.c: Update tables.
19807         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
19808         characters specially.
19809         (BODY for TO_LOOP): Add encoding of missing ranges.
19811 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
19813         [BZ #13673]
19814         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
19815         * sysdeps/mach/hurd/dup3.c: Likewise.
19816         * sysdeps/mach/hurd/readlinkat.c: Likewise.
19817         * sysdeps/powerpc/memmove.c:: Likewise.
19819 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19821         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
19822         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
19824 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
19826         * elf/elf.h (R_X86_64_RELATIVE64): New.
19827         (R_X86_64_NUM): Updated.
19828         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
19829         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
19830         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
19831         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
19832         tst-quad1pie tst-quad2pie
19833         (modules-names): Add tst-quadmod1 tst-quadmod2.
19834         ($(objpfx)tst-quad1): New dependency.
19835         ($(objpfx)tst-quad2): Likewise.
19836         ($(objpfx)tst-quad1pie): Likewise.
19837         ($(objpfx)tst-quad2pie): Likewise.
19838         * sysdeps/x86_64/tst-quad1.c: New file.
19839         * sysdeps/x86_64/tst-quad1pie.c: New file.
19840         * sysdeps/x86_64/tst-quad2.c: Likewise.
19841         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
19842         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
19843         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
19844         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
19845         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
19847 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19849         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
19850         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
19851         * streams/stropts.h (t_scalar_t): Define type.
19853         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
19854         (_PATH_PRESERVE): Set to "/var/lib".
19855         (_PATH_RWHODIR): Set to "/var/spool/rwho".
19857         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
19858         instead of int.
19860         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
19861         if __dir_mkfile succeeded.
19863         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
19864         checking for _hurd_dtablesize.  Unlock it right after having
19865         finished _hurd_dtable allocation.
19867 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19869         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
19870         * sysdeps/mach/hurd/configure: Regenerated.
19871         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
19872         special-casing to...
19873         * sysdeps/gnu/configure.in: ... this new file.
19874         * sysdeps/unix/sysv/linux/configure: Regenerated.
19875         * sysdeps/gnu/configure: New generated file.
19877         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
19878         for Linux: use nsec instead of usec, as well as:
19879         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
19880         members of type struct timespec.
19881         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
19882         New macros.
19883         (struct stat64): Likewise.
19884         (_STATBUF_ST_NSEC): New macro.
19885         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
19887         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19888         __strtoul_internal rather than strtoul.
19890 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19892         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
19893         and reject them.
19895 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19897         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
19898         which preserves existing values.
19899         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
19901 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19903         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
19904         TIMEOUT values.  Return EINVAL for NFDS values either negative or
19905         greater than FD_SETSIZE.
19907 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19909         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
19910         allocated, call __vm_protect to finish enabling the existing space, and
19911         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
19912         allocate the remainder.
19914 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19916         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
19917         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
19919 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19921         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
19922         sysdeps/mach/hurd/readlink.c.
19924         * posix/tst-sysconf.c (posix_options): Only use
19925         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
19926         _POSIX_SYNCHRONIZED_IO when they are defined
19927         * sysdeps/mach/hurd/bits/posix_opt.h:
19928         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
19929         (_XOPEN_REALTIME): Undefine macro.
19930         (_XOPEN_REALTIME_THREADS): Undefine macro.
19931         (_XOPEN_SHM): Undefine macro.
19932         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
19933         macro to -1.
19934         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
19935         macro to -1.
19936         (_POSIX_ASYNC_IO): Undefine macro.
19937         (_POSIX_PRIORITIZED_IO): Undefine macro.
19938         (_POSIX_SPIN_LOCKS): Define macro to -1.
19940         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
19941         SA_NODEFER, SA_RESETHAND.
19942         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
19943         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
19944         F_DUPFD_CLOEXEC.
19946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19948         * elf/Makefile (pldd-modules): Define unconditionally.
19950 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19952         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
19954 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19956         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
19957         Return ENOENT when name is empty.
19958         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
19960 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19962         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
19964         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
19966 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19968         Fix mlock in all cases except non-readable pages.
19969         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
19970         instead of VM_PROT_ALL as parameter to __vm_wire function.
19972         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
19973         (__mkdir): When path is `/', just fail with EEXIST.
19974         * sysdeps/mach/hurd/mkdirat.c: Likewise.
19976 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19978         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
19979         <sys/uio.h> (for writev).
19980         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
19981         and <sys/param.h> (for MIN).
19983 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19985         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
19986         REQUESTED_TIME.  Properly set the remaining time and return EINTR
19987         if interrupted.
19989 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
19991         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
19992         Depend on against $(link-rpcuserlibs).
19994 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19996         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
19997         (__libc_stack_end): Do not use attribute_relro.
19998         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
19999         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
20000         to libthread-provided value.
20001         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
20002         attribute_relro.
20004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20006         [BZ #3748]
20007         * bits/libc-lock.h (__libc_once_get): New macro.
20008         * sysdeps/mach/bits/libc-lock.h: Likewise.
20009         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
20010         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
20011         instead of using implementation details.
20013         * libio/fileops.c: Unconditionally include <kernel-features.h>.
20014         * libio/freopen.c: Likewise.
20015         * libio/freopen64.c: Likewise.
20016         * misc/syslog.c: Likewise.
20017         * nscd/connections.c: Likewise.
20018         * nscd/netgroupcache.c: Likewise.
20019         * sysdeps/posix/getcwd.c: Likewise.
20021 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20023         * math/w_ilogbf.c: Add #include <limits.h>.
20025 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20027         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
20028         path instead of returning without unlocking.
20030         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
20031         immediate-write ioctls.
20032         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
20034 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20036         * sysdeps/mach/hurd/i386/init-first.c (init): Use
20037         __builtin_frame_address instead of making assumptions about the
20038         location of the return address relative to DATA.  Force early load of
20039         the return address.
20040         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
20041         __builtin_frame_address.
20043         dup3 for GNU Hurd.
20044         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
20045         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
20046         implement dup3 and do some further code clean-ups.
20047         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
20048         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
20050 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20052         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
20054         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
20055         HURD_CRITICAL_END around holding _hurd_dtable_lock.
20056         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
20057         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
20058         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
20059         d->port.lock.
20061         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
20062         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
20063         when handler == SIG_ERR, not when handler != SIG_ERR.
20065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20067         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
20068         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
20069         definitions.
20071         accept4 for GNU Hurd.
20072         * include/sys/socket.h (__libc_accept4): New prototype.
20073         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
20074         to implement __libc_accept4.
20075         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
20076         __libc_accept4.
20077         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
20079         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
20080         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
20081         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
20082         signal-defines.sym.
20084 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20086         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
20088 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
20090         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
20091         assertion on O_CLOEXEC flag.
20092         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
20093         * hurd/intern-fd.c: Likewise.
20094         * hurd/port2fd.c: Likewise.
20096 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20098         [BZ #3906]
20099         * bits/in.h (IPV6_PKTINFO): Define new macro.
20100         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
20102 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104         [BZ #13954]
20105         [BZ #13955]
20106         [BZ #13956]
20107         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
20108         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20109         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
20110         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20111         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20112         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20113         * math/libm-test.inc (logb_test) : Additional logb tests.
20115 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
20116             Andreas Jaeger  <aj@suse.de>
20118         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
20119         * configure: Regenerated.
20120         * config.h.in (LINK_OBSOLETE_RPC): New macro.
20121         * config.make.in (link-obsolete-rpc): New substituted variable.
20122         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
20123         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
20124         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20125         (shared-only-routines): Don't set it under [link-obsolete-rpc],
20126         so that libc.a contains the symbols.
20127         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
20128         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
20129         * sunrpc/auth_none.c: Likewise.
20130         * sunrpc/auth_unix.c: Likewise.
20131         * sunrpc/authdes_prot.c: Likewise.
20132         * sunrpc/authuxprot.c: Likewise.
20133         * sunrpc/clnt_gen.c: Likewise.
20134         * sunrpc/clnt_perr.c: Likewise.
20135         * sunrpc/clnt_raw.c: Likewise.
20136         * sunrpc/clnt_simp.c: Likewise.
20137         * sunrpc/clnt_tcp.c: Likewise.
20138         * sunrpc/clnt_udp.c: Likewise.
20139         * sunrpc/clnt_unix.c: Likewise.
20140         * sunrpc/des_crypt.c: Likewise.
20141         * sunrpc/des_soft.c: Likewise.
20142         * sunrpc/get_myaddr.c: Likewise.
20143         * sunrpc/key_call.c: Likewise.
20144         * sunrpc/key_prot.c: Likewise.
20145         * sunrpc/netname.c: Likewise.
20146         * sunrpc/pm_getmaps.c: Likewise.
20147         * sunrpc/pm_getport.c: Likewise.
20148         * sunrpc/pmap_clnt.c: Likewise.
20149         * sunrpc/pmap_prot.c: Likewise.
20150         * sunrpc/pmap_prot2.c: Likewise.
20151         * sunrpc/pmap_rmt.c: Likewise.
20152         * sunrpc/publickey.c: Likewise.
20153         * sunrpc/rpc_cmsg.c: Likewise.
20154         * sunrpc/rpc_common.c: Likewise.
20155         * sunrpc/rpc_dtable.c: Likewise.
20156         * sunrpc/rpc_prot.c: Likewise.
20157         * sunrpc/rpc_thread.c: Likewise.
20158         * sunrpc/rtime.c: Likewise.
20159         * sunrpc/svc.c: Likewise.
20160         * sunrpc/svc_auth.c: Likewise.
20161         * sunrpc/svc_raw.c: Likewise.
20162         * sunrpc/svc_run.c: Likewise.
20163         * sunrpc/svc_tcp.c: Likewise.
20164         * sunrpc/svc_udp.c: Likewise.
20165         * sunrpc/svc_unix.c: Likewise.
20166         * sunrpc/svcauth_des.c: Likewise.
20167         * sunrpc/xcrypt.c: Likewise.
20168         * sunrpc/xdr.c: Likewise.
20169         * sunrpc/xdr_array.c: Likewise.
20170         * sunrpc/xdr_float.c: Likewise.
20171         * sunrpc/xdr_intXX_t.c: Likewise.
20172         * sunrpc/xdr_mem.c: Likewise.
20173         * sunrpc/xdr_rec.c: Likewise.
20174         * sunrpc/xdr_ref.c: Likewise.
20175         * sunrpc/xdr_sizeof.c: Likewise.
20176         * sunrpc/xdr_stdio.c: Likewise.
20178 2012-05-10  Roland McGrath  <roland@hack.frob.com>
20180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
20181         change.  Update copyright years.
20183 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20185         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
20187 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
20188             Joseph Myers  <joseph@codesourcery.com>
20189             Paul Pluzhnikov  <ppluzhnikov@google.com>
20191         [BZ #14012]
20192         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
20193         requiring rpcgen.
20194         [cross-compiling] (extra-libs): Likewise.
20195         [cross-compiling] (extra-libs-others): Likewise.
20196         [cross-compiling] (librpcsvc-routines): Likewise.
20197         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
20198         [cross-compiling] (omit-deps): Likewise.
20199         (sunrpc-CPPFLAGS): New variable.
20200         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
20201         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
20202         (cross-rpcgen-objs): New variable.
20203         (extra-objs): Append $(cross-rpcgen-objs).
20204         ($(cross-rpcgen-objs)): New rule.
20205         ($(objpfx)cross-rpcgen): Likewise.
20206         (rpcgen-cmd): Define to use $(built-program-file).  Expand
20207         comment.
20208         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
20209         ($(objpfx)x%.stmp): Likewise.
20210         * sunrpc/proto.h [IS_IN_build] (_): Define.
20211         [IS_IN_build] (_libc_intl_domainname): Likewise.
20213 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
20215         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
20216         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
20217         and R_X86_64_TPOFF64.
20219 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
20221         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
20222         sysdeps/unix/sysv/syscalls.list.
20223         (stime): Likewise.
20224         (utime): Likewise.
20225         * sysdeps/unix/sysv/syscalls.list: Remove file.
20227 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
20229         [BZ #3440]
20230         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
20231         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
20232         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
20233         (__LC_IDENTIFICATION): Make these macros useful in #if
20234         expressions, as required by C99.
20236 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
20238         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
20239         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
20240         after this.
20242 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
20244         * stdlib/longlong.h: Updated from GCC.
20246 2012-05-09  Andreas Jaeger  <aj@suse.de>
20248         * nscd/nscd.c (run_modes): Make named enum, reorder so that
20249         default is first entry.
20250         (run_mode): Set type.
20251         (main): Remove informal message about syslog.
20252         (options): Fix typo.
20254         [BZ #14053]
20255         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
20256         to asm.
20257         (lrint): Likewise.
20258         (llrintf): Likewise.
20259         (llrint): Likewise.
20260         (rint): Likewise.
20261         (rintf): Likewise.
20262         (nearbyint): Likewise.
20263         (nearbyintf): Likewise.
20265 2012-05-09  Andreas Jaeger  <aj@suse.de>
20266             Pedro Alves  <palves@redhat.com>
20268         * nscd/nscd.c (run_mode): Use enum.
20269         (main): Cleanup coding style issue.
20271 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
20272             Andreas Jaeger  <aj@suse.de>
20274         * nscd/nscd.c (go_background): Replaced with...
20275         (run_mode): ... this.
20276         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
20277         (options): Add -F --foreground.
20278         (main): Implement it.
20279         (parse_opt): Parse it.
20281 2012-05-09  Andreas Jaeger  <aj@suse.de>
20283         [BZ #14083]
20284         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
20285         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
20286         -Wconversion warning.
20287         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
20288         Likewise.
20290 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
20292         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
20293         == 0.
20294         (LC_ALL): Use macro-int-constant.
20295         (LC_COLLATE): Likewise.
20296         (LC_CTYPE): Likewise.
20297         (LC_MESSAGES): Likewise.
20298         (LC_MONETARY): Likewise.
20299         (LC_NUMERIC): Likewise.
20300         (LC_TIME): Likewise.
20301         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
20302         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20304         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
20305         Specify type.
20306         [C99-based standards] (float_t): Expect type.
20307         [C99-based standards] (double_t): Expect type.
20308         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
20309         type.
20310         [C99-based standards] (HUGE_VALL): Likewise.
20311         [C99-based standards] (INFINITY): Likewise.
20312         [C99-based standards] (NAN): Likewise.
20313         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
20314         [C99-based standards] (FP_NAN): Likewise.
20315         [C99-based standards] (FP_NORMAL): Likewise.
20316         [C99-based standards] (FP_SUBNORMAL): Likewise.
20317         [C99-based standards] (FP_ZERO): Likewise.
20318         [C99-based standards] (FP_FAST_FMA): Use
20319         optional-macro-int-constant.  Specify type.  Require == 1.
20320         [C99-based standards] (FP_FAST_FMAF): Likewise.
20321         [C99-based standards] (FP_FAST_FMAL): Likewise.
20322         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
20323         [C99-based standards] (FP_ILOGBNAN): Likewise.
20324         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
20325         Specify type.
20326         [C99-based standards] (MATH_ERREXCEPT): Likewise.
20327         [C99-based standards] (math_errhandling): Specify type.
20328         [ISO99 || ISO11] (signgam): Do not allow.
20329         [non-C99-based standards] (copysignf): Do not allow.
20330         [non-C99-based standards] (exp2f): Likewise.
20331         [non-C99-based standards] (log2f): Likewise.
20332         [non-C99-based standards] (modff): Allow.
20333         [non-C99-based standards] (erff): Do not allow.
20334         [non-C99-based standards] (erfcf): Likewise.
20335         [non-C99-based standards] (gammaf): Likewise.
20336         [non-C99-based standards] (hypotf): Likewise.
20337         [non-C99-based standards] (j0f): Likewise.
20338         [non-C99-based standards] (j1f): Likewise.
20339         [non-C99-based standards] (jnf): Likewise.
20340         [non-C99-based standards] (lgammaf): Likewise.
20341         [non-C99-based standards] (tgammaf): Likewise.
20342         [non-C99-based standards] (y0f): Likewise.
20343         [non-C99-based standards] (y1f): Likewise.
20344         [non-C99-based standards] (ynf): Likewise.
20345         [non-C99-based standards] (isnanf): Likewise.
20346         [non-C99-based standards] (acoshf): Likewise.
20347         [non-C99-based standards] (asinhf): Likewise.
20348         [non-C99-based standards] (atanhf): Likewise.
20349         [non-C99-based standards] (cbrtf): Likewise.
20350         [non-C99-based standards] (expm1f): Likewise.
20351         [non-C99-based standards] (ilogbf): Likewise.
20352         [non-C99-based standards] (log1pf): Likewise.
20353         [non-C99-based standards] (logbf): Likewise.
20354         [non-C99-based standards] (nextafterf): Likewise.
20355         [non-C99-based standards] (remainderf): Likewise.
20356         [non-C99-based standards] (rintf): Likewise.
20357         [non-C99-based standards] (scalbf): Likewise.
20358         [non-C99-based standards] (copysignl): Likewise.
20359         [non-C99-based standards] (exp2l): Likewise.
20360         [non-C99-based standards] (log2l): Likewise.
20361         [non-C99-based standards] (modfl): Allow.
20362         [non-C99-based standards] (erfl): Do not allow.
20363         [non-C99-based standards] (erfcl): Likewise.
20364         [non-C99-based standards] (gammal): Likewise.
20365         [non-C99-based standards] (hypotl): Likewise.
20366         [non-C99-based standards] (j0l): Likewise.
20367         [non-C99-based standards] (j1l): Likewise.
20368         [non-C99-based standards] (jnl): Likewise.
20369         [non-C99-based standards] (lgammal): Likewise.
20370         [non-C99-based standards] (tgammal): Likewise.
20371         [non-C99-based standards] (y0l): Likewise.
20372         [non-C99-based standards] (y1l): Likewise.
20373         [non-C99-based standards] (ynl): Likewise.
20374         [non-C99-based standards] (isnanl): Likewise.
20375         [non-C99-based standards] (acoshl): Likewise.
20376         [non-C99-based standards] (asinhl): Likewise.
20377         [non-C99-based standards] (atanhl): Likewise.
20378         [non-C99-based standards] (cbrtl): Likewise.
20379         [non-C99-based standards] (expm1l): Likewise.
20380         [non-C99-based standards] (ilogbl): Likewise.
20381         [non-C99-based standards] (log1pl): Likewise.
20382         [non-C99-based standards] (logbl): Likewise.
20383         [non-C99-based standards] (nextafterl): Likewise.
20384         [non-C99-based standards] (remainderl): Likewise.
20385         [non-C99-based standards] (rintl): Likewise.
20386         [non-C99-based standards] (scalbl): Likewise.
20387         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20388         [non-C99-based standards] (FP_*): Do not allow.
20389         [C99-based standards] (FP_*): Change to
20390         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
20391         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20392         allow.
20393         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
20394         (SIG_ERR): Likewise.
20395         [X/Open-based standards] (SIG_HOLD): Likewise.
20396         (SIG_IGN): Likewise.
20397         (SIGABRT): Use macro-int-constant.  Specify type.  Require
20398         positive value.
20399         (SIGFPE): Likewise.
20400         (SIGILL): Likewise.
20401         (SIGINT): Likewise.
20402         (SIGSEGV): Likewise.
20403         (SIGTER): Likewise.
20404         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
20405         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
20406         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
20407         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
20408         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
20409         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
20410         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
20411         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
20412         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
20413         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
20414         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
20415         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
20416         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
20417         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
20418         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
20419         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
20420         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
20421         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
20422         [X/Open-based standards] (SIGTRAP): Likewise.
20423         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
20424         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
20425         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
20426         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
20427         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20428         allow.
20430 2012-05-08  Ian Wienand  <ianw@vmware.com>
20432         [BZ #14080]
20433         * time/tzset.c (__tzset_parse_tz): Update default rules for
20434         daylight time changes in the Energy Policy Act of 2005.
20436 2012-05-09  Andreas Jaeger  <aj@suse.de>
20438         [BZ #13983]
20439         * elf/ldconfig.c (parse_conf): Change string to make clear that
20440         ldconfig only issued a warning if ld.so.conf does not exist.
20442 2012-05-08  David S. Miller  <davem@davemloft.net>
20444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
20445         movxtod instead of popping the value on the stack.
20447         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20449 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
20451         * config.h.in: Add HAVE_ARM_PCS_VFP.
20453 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
20455         [BZ #13979]
20456         * include/features.h: Warn if user requests __FORTIFY_SOURCE
20457         checking but the checks are disabled for any reason.
20459 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
20461         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
20462         and ELF64_R_TYPE with ELFW(R_TYPE).
20464 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
20466         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
20467         (ulimit): Likewise.
20469         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
20470         (settimeofday): Likewise.
20472 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
20474         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
20475         a struct th_u2 inside the union, and move tu_block/tu_code into
20476         a new th_u3 union of tu_block/tu_code inside of that.  Move
20477         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
20478         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
20479         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
20480         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
20481         (th_stuff): Change to th_u1.tu_stuff.
20482         (th_data): Define.
20483         (th_msg): Change to th_u1.th_u2.tu_data.
20485 2012-05-07  David S. Miller  <davem@davemloft.net>
20487         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20489         [BZ #14074]
20490         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
20491         (SETUP_PIC_REG): Use it.
20492         (SETUP_PIC_REG_LEAF): Use it.
20494 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
20496         [BZ #13885]
20497         [BZ #13923]
20498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20499         USE_AS_EXPM1L.
20500         (EXPL_FINITE): Likewise.
20501         (FLDLOG): Likewise.
20502         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20503         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20504         e_expl.S.
20505         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20506         USE_AS_EXPM1L.
20507         (EXPL_FINITE): Likewise.
20508         (FLDLOG): Likewise.
20509         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
20510         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
20511         e_expl.S.
20512         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
20513         test of -max_value argument for long double.
20514         * sysdeps/i386/fpu/libm-test-ulps: Update.
20515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20517 2012-05-06  David S. Miller  <davem@davemloft.net>
20519         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
20520         quad soft-float symbols whose references which are compiler
20521         generated.
20522         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20524 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
20526         [BZ #13884]
20527         [BZ #13914]
20528         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20529         USE_AS_EXP10L.
20530         (EXPL_FINITE): Likewise.
20531         (FLDLOG): Likewise.
20532         (c0): Likewise.
20533         (c1): Likewise.
20534         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20535         Adjust comments for base varying.
20536         (__expl_finite): Change alias to EXPL_FINITE.
20537         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
20538         e_expl.S.
20539         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
20540         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
20541         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20542         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
20543         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
20544         USE_AS_EXP10L.
20545         (EXPL_FINITE): Likewise.
20546         (FLDLOG): Likewise.
20547         (c0): Likewise.
20548         (c1): Likewise.
20549         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
20550         Adjust comments for base varying.
20551         (__expl_finite): Change alias to EXPL_FINITE.
20552         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
20553         tests for bugs.
20554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20556         [BZ #14064]
20557         * math/libm-test.inc (check_float_internal): Correct ulp
20558         calculation for subnormal expected results.
20560 2012-05-06  Andreas Jaeger  <aj@suse.de>
20562         * Makeconfig (+math-flags): New, set to -frounding-math.
20563         (+cflags): Add +math-flags so that all of glibc gets compiled with
20564         it.
20566         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
20568 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
20570         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
20571         Disable one test.
20573         [BZ #13787]
20574         [BZ #13922]
20575         [BZ #14036]
20576         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
20577         (__ieee754_expl): Allow for and saturate large arguments.
20578         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
20579         (u_threshold): Likewise.
20580         (__exp): Call __ieee754_exp before checking for overflow and
20581         underflow.
20582         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
20583         (u_threshold): Likewise.
20584         (__expf): Call __ieee754_expf before checking for overflow and
20585         underflow.
20586         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
20587         (u_threshold): Likewise.
20588         (__expl): Call __ieee754_expl before checking for overflow and
20589         underflow.
20590         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
20591         (__ieee754_expl): Allow for and saturate large arguments.
20592         * math/libm-test.inc (exp_test): Add another test.  Do not allow
20593         missing overflow exception on overflow.
20594         (expm1_test): Do not allow missing overflow exception on overflow.
20596         * sysdeps/i386/fpu/e_expl.c: Move to ...
20597         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
20598         rather than using inline asm.
20599         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
20600         * sysdeps/x86_64/fpu/e_expl.S: Copy from
20601         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
20603         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
20604         (nice): Likewise.
20605         (poll): Likewise.
20606         (signal): Likewise.
20607         (time): Likewise.
20608         (times): Likewise.
20610 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20612         * sysdeps/unix/syscalls.list (adjtime): Add entry from
20613         sysdeps/unix/common/syscalls.list.
20614         (fchmod): Likewise.
20615         (fchown): Likewise.
20616         (ftruncate): Likewise.
20617         (getrusage): Likewise.
20618         (gettimeofday): Likewise.
20619         (setpgid): Likewise.
20620         (setregid): Likewise.
20621         (setreuid): Likewise.
20622         (sigaction): Likewise.
20623         (truncate): Likewise.
20624         (vhangup): Likewise.
20625         * sysdeps/unix/common/syscalls.list: Remove file.
20626         * sysdeps/unix/bsd/Implies: Don't include unix/common.
20627         * sysdeps/unix/sysv/linux/Implies: Likewise.
20629 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
20631         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
20632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
20633         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
20634         Moved to ...
20635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20636         Here.
20637         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
20638         to ...
20639         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
20640         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
20641         to ...
20642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
20643         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
20644         to ...
20645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
20646         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
20647         to ...
20648         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
20649         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
20650         to ...
20651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
20652         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
20653         to ...
20654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
20655         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
20656         to ...
20657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
20658         Here.
20659         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
20660         to ...
20661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
20662         Here.
20663         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
20664         to ...
20665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
20666         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
20667         Moved to ...
20668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
20669         Here.
20670         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
20671         to ...
20672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
20674 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20676         * sysdeps/unix/common/bits/dirent.h: Remove file.
20677         * sysdeps/unix/common/bits/fcntl.h: Likewise.
20679         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
20680         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
20681         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
20682         * sysdeps/unix/bsd/isatty.c: Likewise.
20683         * sysdeps/unix/bsd/tcdrain.c: Likewise.
20684         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
20685         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
20687 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20689         [BZ #13563]
20690         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
20691         long double comparison inaccuracies.
20692         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20695 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
20697         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
20698         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
20700 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
20702         [BZ #14049]
20703         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
20704         nonzero digits before rounding a hex value.
20705         * stdlib/tst-strtod.c (tests): Add another test.
20707 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20709         * sysdeps/s390/fpu/libm-test-ulps: Update.
20711 2012-05-03  Andreas Jaeger  <aj@suse.de>
20713         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
20714         does not get optimized out.
20715         (malloc_opt_barrier): New.
20717 2012-05-03  Andreas Jaeger  <aj@suse.de>
20718             Roland McGrath  <roland@hack.frob.com>
20720         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
20721         intermediate file deletion.
20722         (generated): Add .symlist files.
20724 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
20726         [BZ #13775]
20727         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
20728         Redirect under this condition.
20729         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20730         [__USE_GNU] (__dprintf_chk): Not under this condition.
20731         [__USE_GNU] (__vdprintf_chk): Likewise.
20732         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
20733         under this condition.
20734         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
20735         [__USE_XOPEN2K8] (dprintf): Define under this condition.
20736         [__USE_XOPEN2K8] (vdprintf): Likewise.
20737         [__USE_GNU] (__dprintf_chk): Not under this condition.
20738         [__USE_GNU] (__vdprintf_chk): Likewise.
20739         [__USE_GNU] (dprintf): Likewise.
20740         [__USE_GNU] (vdprintf): Likewise.
20742 2012-05-03  Roland McGrath  <roland@hack.frob.com>
20744         * elf/Makefile (common-generated): Set this instead of generated for
20745         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
20746         $(all-built-dso)-derived lists.
20748 2012-05-03  Andreas Jaeger  <aj@suse.de>
20750         * sysdeps/i386/fpu/libm-test-ulps: Update.
20752         * FAQ: Removed.
20753         * FAQ.in: Likewise.
20754         * scripts/gen-FAQ.pl: Likewise.
20755         * manual/install.texi (Installation): Point to online location of
20756         FAQ.
20757         * Makefile (files-for-dist): Remove FAQ.
20758         (FAQ): Remove.
20760 2012-05-02  Allan McRae  <allan@archlinux.org>
20762         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
20763         (LDFLAGS-reldepmod5.so): Likewise.
20764         (LDFLAGS-reldep6mod1.so): Likewise.
20765         (LDFLAGS-reldep6mod4.so): Likewise.
20766         (LDFLAGS-reldep8mod3.so): Likewise.
20767         (LDFLAGS-unload4mod1.so): Likewise.
20768         (LDFLAGS-unload4mod2.so): Likewise.
20769         (LDFLAGS-tst-initorder): Likewise.
20770         (LDFLAGS-tst-initordera2.so): Likewise.
20771         (LDFLAGS-tst-initordera3.so): Likewise.
20772         (LDFLAGS-tst-initordera4.so): Likewise.
20773         (LDFLAGS-tst-initorderb2.so): Likewise.
20774         (LDFLAGS-noload): Likewise.
20775         (LDFLAGS-next): Likewise.
20776         (LDFLAGS-order2mod1.so): Likewise.
20777         (LDFLAGS-order2mod2.so): Likewise.
20778         (LDFLAGS-tst-initorder2): Likewise.
20779         (LDFLAGS-tst-initorder2a.so): Likewise.
20780         (LDFLAGS-tst-initorder2b.so): Likewise.
20781         (LDFLAGS-tst-initorder2c.so): Likewise.
20782         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
20784 2012-05-02  David S. Miller  <davem@davemloft.net>
20786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20788 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
20790         [BZ #14055]
20791         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
20793 2012-05-02  Andreas Jaeger  <aj@suse.de>
20795         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
20796         since we manipulate rounding mode.
20797         (CPPFLAGS-test-idouble.c): Likewise.
20798         (CPPFLAGS-test-ifloat.c): Likewise.
20799         (CFLAGS-test-ldouble.c): Likewise.
20800         (CFLAGS-test-double.c): Likewise.
20801         (CFLAGS-test-float.c): Likewise.
20802         (CFLAGS-test-misc.c): Likewise.
20803         (CFLAGS-test-test-fenv.c): Likewise.
20805 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20807         [BZ #2550]
20808         [BZ #2570]
20809         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
20810         comparisons to determine direction to adjust input.
20812 2012-05-01  Roland McGrath  <roland@hack.frob.com>
20814         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
20815         output to the target.
20817         * scripts/localplt.awk: New file.
20818         * elf/Makefile ($(objpfx)check-localplt): Target removed.
20819         (check-localplt-CFLAGS): Variable removed.
20820         ($(all-built-dso:=.jmprel)): New static pattern rule.
20821         (generated): Add those targets.
20822         (localplt-built-dso): New variable.
20823         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
20825         * elf/check-localplt.c: File removed.
20827         * scripts/check-execstack.awk: New file.
20828         * elf/Makefile ($(objpfx)check-execstack): Target removed.
20829         (check-execstack-CFLAGS): Variable removed.
20830         ($(objpfx)check-execstack.h): Target removed.
20831         ($(objpfx)execstack-default): New target.
20832         (generated): Add that instead of check-execstack.h.
20833         ($(all-built-dso:=.phdr)): New static pattern rule.
20834         (generated): Add those targets.
20835         * elf/check-execstack.c: File removed.
20837         * scripts/check-textrel.awk: New file.
20838         * elf/Makefile ($(objpfx)check-textrel): Target removed.
20839         (check-textrel-CFLAGS): Variable removed.
20840         (all-built-dso): Use := to define.o
20841         ($(all-built-dso:=.dyn)): New static pattern rule.
20842         (generated): Add those targets.
20843         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
20844         * config.make.in (READELF): New substituted variable.
20845         * elf/check-textrel.c: File removed.
20847 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
20849         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
20850         allow.
20851         * conform/data/ctype.h-data [C99-based standards] (isblank):
20852         Expect function.
20853         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
20854         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
20855         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20856         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
20857         Specify type.  Require positive value.
20858         (EILSEQ): Likewise.
20859         (ERANGE): Likewise.
20860         [ISO || POSIX] (EILSEQ): Do not expect.
20861         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
20862         Specify type.  Require positive value.
20863         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
20864         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
20865         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
20866         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
20867         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
20868         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
20869         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
20870         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
20871         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
20872         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
20873         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
20874         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
20875         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
20876         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
20877         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
20878         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
20879         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
20880         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
20881         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
20882         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
20883         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
20884         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
20885         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
20886         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
20887         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
20888         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
20889         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
20890         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
20891         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
20892         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
20893         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
20894         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
20895         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
20896         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
20897         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
20898         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
20899         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
20900         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
20901         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
20902         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
20903         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
20904         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
20905         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
20906         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
20907         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
20908         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
20909         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
20910         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
20911         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
20912         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
20913         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
20914         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
20915         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
20916         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
20917         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
20918         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
20919         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
20920         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
20921         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
20922         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
20923         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
20924         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
20925         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
20926         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
20927         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
20928         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
20929         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
20930         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
20931         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
20932         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
20933         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
20934         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
20935         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
20936         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
20937         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
20938         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
20939         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
20940         Require >= 2.
20941         (FLT_ROUNDS): Expect as macro, not constant.
20942         (FLT_MANT_DIG): Use macro-int-constant.
20943         (DBL_MANT_DIG): Likewise.
20944         (LDBL_MANT_DIG): Likewise.
20945         (FLT_DIG): Likewise.
20946         (DBL_DIG): Likewise.
20947         (LDBL_DIG): Likewise.
20948         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
20949         (DBL_MIN_EXP): Likewise.
20950         (LDBL_MIN_EXP): Likewise.
20951         (FLT_MAX_EXP): Use macro-int-constant.
20952         (DBL_MAX_EXP): Likewise.
20953         (LDBL_MAX_EXP): Likewise.
20954         (FLT_MAX_10_EXP): Likewise.
20955         (DBL_MAX_10_EXP): Likewise.
20956         (LDBL_MAX_10_EXP): Likewise.
20957         (FLT_MAX): Use macro-constant.
20958         (DBL_MAX): Likewise.
20959         (LDBL_MAX): Likewise.
20960         (FLT_EPSILON): Use macro-constant.  Give upper bound.
20961         (DBL_EPSILON): Likewise.
20962         (LDBL_EPSILON): Likewise.
20963         (FLT_MIN): Likewise.
20964         (DBL_MIN): Likewise.
20965         (LDBL_MIN): Likewise.
20966         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
20967         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
20968         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
20969         [ISO11] (FLT_HAS_SUBNORM): Likewise.
20970         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
20971         [ISO11] (DBL_DECIMAL_DIG): Likewise.
20972         [ISO11] (FLT_DECIMAL_DIG): Likewise.
20973         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
20974         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
20975         [ISO11] (FLT_TRUE_MIN): Likewise.
20976         [ISO11] (LDBL_TRUE_MIN): Likewise.
20977         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20978         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
20979         (SCHAR_MIN): Use macro-int-constant.  Specify type.
20980         (SCHAR_MAX): Likewise.
20981         (UCHAR_MAX): Likewise.
20982         (CHAR_MIN): Likewise.
20983         (CHAR_MAX): Likewise.
20984         (MB_LEN_MAX): Use macro-int-constant.
20985         (SHRT_MIN): Use macro-int-constant.  Specify type.
20986         (SHRT_MAX): Likewise.
20987         (USHRT_MAX): Likewise.
20988         (INT_MAX): Likewise.
20989         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
20990         bound negative.
20991         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20992         bound with "U".
20993         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20994         bound with "L".
20995         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
20996         bound negative.  Suffix upper bound with "L".
20997         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
20998         bound with "UL".
20999         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
21000         Specify type.
21001         [C99-based standards] (LLONG_MAX): Likewise.
21002         [C99-based standards] (ULLONG_MAX): Likewise.
21003         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
21004         == 0.
21005         [ISO11] (max_align_t): Require type.
21006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21008         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
21009         from $CFLAGS, without defining away __attribute__ calls.
21010         (checknamespace): Use $CFLAGS_namespace.
21012         * conform/conformtest.pl (@keywords): Only include C99 keywords
21013         for standards based on C99 or C11.
21015         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
21016         Disable tests.
21017         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
21018         UNIX98]: Likewise.
21020         * conform/conformtest.pl: Handle "macro-int-constant" and test for
21021         usability of symbols in #if.
21023         * conform/conformtest.pl: If macro or constant types start
21024         "promoted:", expect the symbol to be of the following type
21025         promoted by the integer promotions.
21027         * conform/conformtest.pl: Parse all "constant" and "macro" lines
21028         in one place.  Also handle "macro-constant".
21030         * conform/conformtest.pl: Only accept expected macro values with
21031         "==".  Parse all "macro" lines in one place.
21032         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
21034         * conform/conformtest.pl: Handle braced types on "constant" lines
21035         instead of handling "typed-constant".
21036         * conform/data/signal.h-data: Use "constant" instead of
21037         "typed-constant".
21039         * conform/conformtest.pl: Handle "optional-" at start of lines in
21040         one place rather than duplicating several cases.  Handle each
21041         format of "macro" line with initial "optional-".
21043         * conform/conformtest.pl: Only accept expected constant or
21044         optional-constant values with "==".  Parse all "constant" lines in
21045         one place.  Parse all "optional-constant" lines in one place.
21046         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
21047         * conform/data/fmtmsg.h-data: Likewise.
21048         * conform/data/netinet/in.h-data: Likewise.
21049         * conform/data/tar.h-data: Likewise.
21050         * conform/data/limits.h-data: Use "==" form on "constant" and
21051         "optional-constant" lines.
21053         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
21054         Use -std=c99 for XOPEN2K.
21055         (@knownproblems): Remove.
21056         (newtoken): Don't check %isknown.
21058         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
21059         Do not expect macro.
21060         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
21061         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
21062         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
21063         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
21064         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
21065         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
21066         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
21067         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
21068         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
21069         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
21070         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
21071         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
21072         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
21073         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
21074         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
21075         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
21076         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
21077         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
21078         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
21079         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
21080         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
21081         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
21082         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
21083         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
21084         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
21085         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
21086         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
21087         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
21088         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
21089         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
21090         [XPG3] (acosh): Likewise.
21091         [XPG3] (asinh): Likewise.
21092         [XPG3] (atanh): Likewise.
21093         [XPG3] (cbrt): Likewise.
21094         [XPG3] (expm1): Likewise.
21095         [XPG3] (ilogb): Likewise.
21096         [XPG3] (log1p): Likewise.
21097         [XPG3] (logb): Likewise.
21098         [XPG3] (nextafter): Likewise.
21099         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
21100         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
21101         [XPG3] (remainder): Likewise.
21102         [XPG3] (rint): Likewise.
21103         [XPG3 || XPG4 || UNIX98] (round): Likewise.
21104         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
21105         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
21106         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
21107         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
21108         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
21109         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
21110         [UNIX98 || XOPEN2K] (scalb): Expect.
21111         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
21112         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
21113         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
21114         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
21115         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
21116         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
21117         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
21118         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
21119         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
21120         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
21121         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
21122         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
21123         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
21124         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
21125         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
21126         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
21127         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
21128         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
21129         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
21130         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
21131         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
21132         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
21133         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
21134         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
21135         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
21136         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
21137         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
21138         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
21139         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
21140         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
21141         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
21142         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
21143         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
21144         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
21145         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
21146         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
21147         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
21148         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
21149         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
21150         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
21151         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
21152         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
21153         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
21154         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
21155         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
21156         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
21157         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
21158         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
21159         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
21160         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
21161         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
21162         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
21163         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
21164         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
21165         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
21166         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
21167         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
21168         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
21169         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
21170         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
21171         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
21172         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
21173         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
21174         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
21175         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
21176         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
21177         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
21178         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
21179         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
21180         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
21181         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
21182         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
21183         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
21184         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
21185         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
21186         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
21187         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
21188         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
21189         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
21190         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
21191         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
21192         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
21193         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
21194         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
21195         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
21196         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
21197         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
21198         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
21199         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
21200         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
21201         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
21202         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
21203         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
21204         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
21205         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
21206         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
21207         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
21208         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
21209         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
21210         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
21211         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
21212         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
21213         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
21214         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
21215         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
21216         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
21217         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
21218         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
21219         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
21220         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
21221         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
21222         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
21223         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
21224         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
21225         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
21226         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
21227         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
21228         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
21229         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
21230         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
21231         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
21232         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
21233         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
21234         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
21235         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
21236         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
21237         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
21238         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
21239         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
21240         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
21241         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
21242         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
21243         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
21244         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
21245         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
21246         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
21247         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
21249         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
21250         _XOPEN_SOURCE_EXTENDED for XPG4.
21252         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
21254         * Makeconfig (localtime): Remove variable.
21255         (inst_localtime-file): Likewise.
21257 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
21260         Update.
21261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21262         Update.
21263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
21264         Update.
21265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21266         Update.
21267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
21268         Update.
21269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
21270         Update.
21271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21272         Update.
21273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
21274         Update.
21275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21276         Update.
21278 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
21280         [BZ #2550]
21281         [BZ #2570]
21282         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
21283         comparisons to determine direction to adjust input.
21284         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
21285         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
21286         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
21287         Likewise.
21288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
21289         Likewise.
21290         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21291         Likewise.
21292         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
21293         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
21294         Likewise.
21295         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
21296         Likewise.
21297         * math/libm-test.inc (nexttoward_test): Add more tests.
21299 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21301         [BZ #14040]
21302         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
21303         in version GLIBC_2.1, not GLIBC_2.0.
21304         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
21305         Likewise.
21307 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
21309         [BZ #13942]
21310         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
21311         (1 - x) * (1 + x).
21312         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21313         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
21314         * math/libm-test.inc (acos_test): Add more tests.
21315         (asin_test): Likewise.
21316         * sysdeps/i386/fpu/libm-test-ulps: Update.
21317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21319         [BZ #14034]
21320         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
21321         of square root.
21322         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
21323         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
21324         * math/libm-test.inc (acos_test_tonearest): New function.
21325         (acos_test_towardzero): Likewise.
21326         (acos_test_downward): Likewise.
21327         (acos_test_upward): Likewise.
21328         (asin_test_tonearest): Likewise.
21329         (asin_test_towardzero): Likewise.
21330         (asin_test_downward): Likewise.
21331         (asin_test_upward): Likewise.
21332         (main): Call the new functions.
21333         * sysdeps/i386/fpu/libm-test-ulps: Update.
21334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21336         [BZ #13884]
21337         [BZ #13924]
21338         * math/e_exp10.c: Include <float.h>.
21339         (__ieee754_exp10): Handle underflow here rather than multiplying
21340         large negative argument by M_LN10.
21341         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
21342         of __ieee754_expf.
21343         * math/e_exp10l.c: Include <float.h>.
21344         (__ieee754_exp10l): Handle underflow here rather than multiplying
21345         large negative argument by M_LN10l.
21346         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
21347         spurious overflow exception on underflow.
21349 2012-04-29  Marek Polacek  <polacek@redhat.com>
21351         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
21352         (__fortify_function): New macro.
21353         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
21354         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
21355         __extern_always_inline.
21356         * libio/bits/stdio2.h: Likewise.
21357         * libio/bits/stdio.h: Likewise.
21358         * string/string.h: Likewise.
21359         * string/bits/string3.h: Likewise.
21360         * include/stdio.h: Likewise.
21361         * stdlib/bits/stdlib.h: Likewise.
21362         * stdlib/stdlib.h: Likewise.
21363         * rt/bits/mqueue2.h: Likewise.
21364         * rt/mqueue.h: Likewise.
21365         * posix/bits/unistd.h: Likewise.
21366         * posix/unistd.h: Likewise.
21367         * io/bits/poll2.h: Likewise.
21368         * io/bits/fcntl2.h: Likewise.
21369         * io/fcntl.h: Likewise.
21370         * io/sys/poll.h: Likewise.
21371         * misc/bits/syslog.h: Likewise.
21372         * misc/bits/syslog-ldbl.h: Likewise.
21373         * misc/sys/syslog.h: Likewise.
21374         * socket/bits/socket2.h: Likewise.
21375         * socket/sys/socket.h: Likewise.
21376         * debug/tst-chk1.c: Likewise.
21377         * wcsmbs/bits/wchar2.h: Likewise.
21378         * wcsmbs/bits/wchar-ldbl.h: Likewise.
21379         * wcsmbs/wchar.h: Likewise.
21381 2012-04-29  Andreas Jaeger  <aj@suse.de>
21383         * Makerules (tests): Remove enable-check-abi protection.
21384         (check-abi-warn): Remove.
21385         (check-abi-%): Remove check-abi-warn usage.
21387         * configure.in: Remove check-abi configure option.
21388         * configure: Regenerated.
21389         * config.make.in (enable-check-abi): Remove.
21391 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
21393         [BZ #14033]
21394         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
21395         double functions to double *_finite functions.
21397         [BZ #13941]
21398         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
21399         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
21400         LDBL_MIN_EXP.
21401         * stdio-common/Makefile (tests): Add tst-sprintf3.
21402         * stdio-common/tst-sprintf3.c: New file.
21404         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
21405         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
21407 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21409         * conform/conformtest.pl: Remove duplicate typed-constant
21410         handling.
21412 2012-04-28  David S. Miller  <davem@davemloft.net>
21414         * Makerules (%.abilist): Add vpath on sysdep_dirs.
21415         (check-abi-%): Remove AWK script prerequisite and explicit
21416         abilist directory.
21417         (check-abi): Rewrite to just diff the symlist with the abilist.
21418         (config-tls, config-abi-config): Delete, no longer used.
21419         (update-abi-%): Remove AWK script and explicit abilist directory.
21420         (update-abi): Rewrite to simply compare and conditionally copy the
21421         symlist and the sysdep abilist file.  Remove update-abi-config
21422         checks.
21423         * abilist/ld.abilist: Remove.
21424         * abilist/libBrokenLocale.abilist: Remove.
21425         * abilist/libanl.abilist: Remove.
21426         * abilist/libcrypt.abilist: Remove.
21427         * abilist/libdl.abilist: Remove.
21428         * abilist/librt.abilist: Remove.
21429         * abilist/libthread_db.abilist: Remove.
21430         * abilist/libutil.abilist: Remove.
21431         * scripts/extract-abilist.awk: Remove.
21432         * scripts/merge-abilist.awk: Remove.
21433         * sysdeps/generic/libcidn.abilist: New file.
21434         * sysdeps/generic/libnss_compat.abilist: New file.
21435         * sysdeps/generic/libnss_db.abilist: New file.
21436         * sysdeps/generic/libnss_dns.abilist: New file.
21437         * sysdeps/generic/libnss_files.abilist: New file.
21438         * sysdeps/generic/libnss_hesiod.abilist: New file.
21439         * sysdeps/generic/libnss_nis.abilist: New file.
21440         * sysdeps/generic/libnss_nisplus.abilist: New file.
21441         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
21442         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
21443         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
21444         file.
21445         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
21446         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
21447         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
21448         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
21449         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
21450         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
21451         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
21452         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
21453         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
21454         file.
21455         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
21456         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
21457         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
21458         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
21459         file.
21460         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
21461         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
21462         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
21463         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
21464         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
21465         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
21466         file.
21467         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
21468         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
21469         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
21470         file.
21471         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
21472         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
21473         New file.
21474         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
21475         New file.
21476         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
21477         New file.
21478         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
21479         New file.
21480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
21481         New file.
21482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
21483         New file.
21484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
21485         New file.
21486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
21487         New file.
21488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
21489         New file.
21490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
21491         New file.
21492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
21493         New file.
21494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
21495         New file.
21496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
21497         New file.
21498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
21499         file.
21500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
21501         New file.
21502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
21503         New file.
21504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
21505         file.
21506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
21507         New file.
21508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
21509         New file.
21510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
21511         file.
21512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
21513         New file.
21514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21515         New file.
21516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
21517         New file.
21518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
21519         New file.
21520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
21521         New file.
21522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
21523         New file.
21524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
21525         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
21526         file.
21527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
21528         New file.
21529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
21530         file.
21531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
21532         file.
21533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
21534         file.
21535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
21536         file.
21537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
21538         file.
21539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21540         New file.
21541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
21542         file.
21543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
21544         file.
21545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
21546         New file.
21547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
21548         file.
21549         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
21550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
21551         file.
21552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
21553         New file.
21554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
21555         file.
21556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
21557         file.
21558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
21559         file.
21560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
21561         file.
21562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
21563         file.
21564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21565         New file.
21566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
21567         file.
21568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
21569         file.
21570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
21571         New file.
21572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
21573         file.
21574         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
21575         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
21576         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
21577         file.
21578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
21579         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
21580         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
21581         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
21582         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
21583         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
21584         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
21585         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
21586         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
21587         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
21588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
21589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
21590         file.
21591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
21592         New file.
21593         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
21594         file.
21595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
21596         file.
21597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
21598         file.
21599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
21600         file.
21601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
21602         file.
21603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21604         New file.
21605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
21606         New file.
21607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
21608         file.
21609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
21610         New file.
21611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
21612         file.
21613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
21614         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
21615         file.
21616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
21617         New file.
21618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
21619         file.
21620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
21621         file.
21622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
21623         file.
21624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
21625         file.
21626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
21627         file.
21628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21629         New file.
21630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
21631         New file.
21632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
21633         file.
21634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
21635         New file.
21636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
21637         file.
21639 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
21641         * conform/conformtest.pl: Fix typo in handling typed-constant from
21642         allow-header.
21644 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21646         * README: Cut down references to pre-2.6 Linux kernels and
21647         Linuxthreads.  Update lists of configurations in libc and ports
21648         and sort alphabetically.  Say "or newer" with Linux kernel version
21649         requirements.
21651         * config.h.in [IS_IN_build]: Allow compiling without optimization.
21653 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21655         [BZ #887]
21656         * math/libm-test.inc (logb_test_downward): New test to expose
21657         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
21658         rounding mode.
21660 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
21662         [BZ #14027]
21663         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
21664         to be done.
21665         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
21666         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
21668 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
21670         * sysdeps/unix/i386/brk.S: Remove file.
21671         * sysdeps/unix/i386/dl-brk.S: Likewise.
21672         * sysdeps/unix/i386/pipe.S: Likewise.
21673         * sysdeps/unix/i386/sigreturn.S: Likewise.
21674         * sysdeps/unix/i386/syscall.S: Likewise.
21675         * sysdeps/unix/i386/vfork.S: Likewise.
21676         * sysdeps/unix/i386/wait.S: Likewise.
21678         * sysdeps/unix/common/tcsendbrk.c: Move to ...
21679         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
21681         * configure.in (arm*-none*): Do not allow without
21682         --enable-hacker-mode.
21683         (netbsd*): Remove case setting base_os.
21684         (386bsd*): Likewise.
21685         (freebsd*): Likewise.
21686         (bsdi*): Likewise.
21687         (osf*): Likewise.
21688         (sunos*): Likewise.
21689         (ultrix*): Likewise.
21690         (newsos*): Likewise.
21691         (dynix*): Likewise.
21692         (*bsd*): Likewise.
21693         (sysv*): Likewise.
21694         (isc*): Likewise.
21695         (esix*): Likewise.
21696         (sco*): Likewise.
21697         (minix*): Likewise.
21698         (irix4*): Likewise.
21699         (irix6*): Likewise.
21700         (solaris[2-9]*): Likewise.
21701         (none): Likewise.
21702         * configure: Regenerated.
21704 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21706         [BZ #11521]
21707         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
21708         overflow or cancellation in calculating denominator.
21709         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
21710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
21711         down expression to avoid unexpected rounding in newer GCCs.
21712         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
21714 2012-04-26  David S. Miller  <davem@davemloft.net>
21716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
21717         long-double compat symbols.
21718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
21719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
21722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21723         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
21724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
21725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
21726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
21727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
21728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
21729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
21730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
21732 2012-04-25  David S. Miller  <davem@davemloft.net>
21734         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
21735         HWCAP_* values only after the memory barriers have been defined.
21736         (atomic_full_barrier): Define.
21737         (atomic_read_barrier): Define.
21738         (atomic_write_barrier): Define.
21740 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * shlib-versions: Add libgcc_s version information.
21743         * sysdeps/generic/libgcc_s.h: Remove.
21744         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
21745         libgcc_s.h.
21746         * sysdeps/gnu/unwind-resume.c: Likewise.
21747         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
21749 2012-04-25  David S. Miller  <davem@davemloft.net>
21751         * sysdeps/unix/sparc/brk.S: Delete.
21752         * sysdeps/unix/sparc/dl-brk.S: Delete.
21753         * sysdeps/unix/sparc/pipe.S: Delete.
21754         * sysdeps/unix/sparc/sysdep.S: Delete.
21755         * sysdeps/unix/sparc/sysdep.h: Delete.
21756         * sysdeps/unix/sparc/vfork.S: Delete.
21757         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
21758         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
21759         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
21760         ret_ERRVAL, r0, r1, MOVE): Define.
21761         (JUMPTARGET): Remove.
21762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
21763         sysdeps/unix/sparc/sysdep.h
21764         (ENTRY, END): Remove.
21765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
21767 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
21769         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
21770         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
21771         -DIS_IN_build.
21773         * timezone/README: Update upstream location and email address for
21774         tzcode and tzdata.
21775         * timezone/zdump.c: Update from tzcode 2012b.
21776         * timezone/zic.c: Likewise.
21778         * configure.in (libc_cv_as_needed): Remove test.
21779         * configure: Regenerated.
21780         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
21781         conditional definition.
21782         [$(have-as-needed) != yes] (no-as-needed): Likewise.
21783         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
21784         * config.make.in (have-as-needed): Remove variable.
21786 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21787             Paul Pluzhnikov  <ppluzhnikov@google.com>
21789         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
21790         strings correctly.
21792 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21794         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
21795         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
21796         * sysdeps/sh/strlen.S: Likewise.
21798 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21800         * sysdeps/unix/fork.S: Remove file.
21801         * sysdeps/unix/i386/fork.S: Likewise.
21802         * sysdeps/unix/sparc/fork.S: Likewise.
21804         * sysdeps/unix/system.c: Remove file.
21805         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
21807         * sysdeps/unix/getegid.S: Remove file.
21808         * sysdeps/unix/geteuid.S: Likewise.
21810 2012-04-24  Roland McGrath  <roland@hack.frob.com>
21812         * scripts/check-localplt.awk: New file.
21813         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
21814         of diff.
21815         * scripts/data/localplt-generic.data: Add a comment.
21817         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
21818         NODE when __dir_mkfile failed.
21819         * sysdeps/mach/hurd/symlinkat.c: Likewise.
21820         Reported by Ludovic Courtès <ludo@gnu.org>.
21822 2012-04-24  Andreas Jaeger  <aj@suse.de>
21824         * Makerules (common-clean): Also remove gen-as-const-headers
21825         files.
21827 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21829         * Makerules (native-compile): Do not change working directory for
21830         build.  Use $(OUTPUT_OPTION) in command.
21831         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
21833 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21835         [BZ #13886]
21836         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
21837         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
21838         * math/libm-test.inc (floor_test): Add more tests.
21839         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
21841 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
21843         * sysdeps/unix/getdents.c: Remove file.
21844         * sysdeps/unix/sysv/getdents.c: Likewise.
21845         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
21847         * sysdeps/unix/syscalls.list (madvise): Add syscall from
21848         sysdeps/unix/mman/syscalls.list.
21849         (mmap): Likewise.
21850         (mprotect): Likewise.
21851         (msync): Likewise.
21852         (munmap): Likewise.
21853         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
21854         * sysdeps/unix/mman/syscalls.list: Remove.
21855         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
21857         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
21858         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
21859         * configure: Regenerated.
21860         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
21861         $(libgcc_s_suffix).
21862         * config.make.in (libgcc_s_suffix): Remove variable.
21864 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
21866         * sysdeps/unix/sysv/gethostname.c: Move to ...
21867         * sysdeps/posix/gethostname.c: ... here.
21869         * sysdeps/unix/execve.S: Remove file.
21871         * sysdeps/unix/_exit.S: Remove file.
21873 2012-04-23  Andreas Jaeger  <aj@suse.de>
21875         [BZ #13739]
21876         * manual/Makefile: Remove make dist support, there's no
21877         need for a stand-alone documentation tar ball.
21878         (TEXI2DVI): Define always, it's not in Makeconfig.
21879         (dist): Removed.
21880         (tar-it): Removed.
21881         (edition): Removed.
21882         (glibc-doc-$(edition).tar): Removed
21883         (%.Z): Removed.
21884         (%.gz): Removed.
21885         (%.uu): Removed.
21886         (ETAGS): Remove, it's in Makeconfig.
21887         (move-if-change): Remove, it's in Makeconfig.
21889 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
21891         [BZ #13970]
21892         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
21893         (strtod, strtof, strtold, strtol, strtoul, strtoq)
21894         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
21895         (strtod_l, strtof_l, strtold_l): Remove __wur.
21896         It is not necessarily an error to ignore strtol's return value.
21897         One can reliably look at the stored endptr to decide whether
21898         the number had valid syntax.
21900 2012-04-21  Andreas Jaeger  <aj@suse.de>
21902         [BZ #13739]
21903         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
21905 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
21907         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
21908         * sysdeps/unix/sysv/Versions: Remove file.
21910 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
21912         [BZ #13927]
21913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21915 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
21917         [BZ #7064]
21918         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
21919         version from __vm86.
21921 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
21923         * sysdeps/unix/common/lxstat.c: Remove file.
21924         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
21926         * sysdeps/unix/sysv/Makefile: Remove file.
21928         * sysdeps/unix/sysv/direct.h: Remove file.
21930         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
21931         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
21932         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
21933         * sysdeps/unix/sysv/bits/signum.h: Likewise.
21934         * sysdeps/unix/sysv/bits/stat.h: Likewise.
21935         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
21936         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
21938         * sysdeps/unix/sysv/setrlimit.c: Remove file.
21940         * sysdeps/unix/xmknod.c: Remove file.
21941         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
21943         * sysdeps/unix/sysv/settimeofday.c: Remove file.
21945         * sysdeps/unix/sysv/i386/time.S: Remove file.
21947         * sysdeps/unix/fxstat.c: Remove file.
21948         * sysdeps/unix/xstat.c: Likewise.
21949         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
21951         * sysdeps/unix/sysv/sigaction.c: Remove file.
21953         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
21954         (sysdep_headers): Remove variable.
21955         [termio.h not in sysdep_headers] (generated): Likewise.
21956         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
21957         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
21958         * sysdeps/unix/sysv/tcdrain.c: Likewise.
21959         * sysdeps/unix/sysv/tcflow.c: Likewise.
21960         * sysdeps/unix/sysv/tcflush.c: Likewise.
21961         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
21962         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
21963         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
21964         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
21965         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
21967         * sysdeps/unix/siglist.c: Remove file.
21969         * sysdeps/unix/getppid.S: Remove file.
21971         * sysdeps/unix/mkdir.c: Remove file.
21972         * sysdeps/unix/rmdir.c: Likewise.
21974 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
21976         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
21977         ERR_MAX value.
21978         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
21979         errlist-compat value.
21981 2012-04-18  David S. Miller  <davem@davemloft.net>
21983         * sysdeps/generic/memcopy.h (reg_char): Delete.
21984         * debug/strcat_chk.c: Use char, not reg_char.
21985         * debug/strcpy_chk.c: Likewise.
21986         * debug/strncat_chk.c: Likewise.
21987         * debug/strncpy_chk.c: Likewise.
21988         * string/memchr.c: Likewise.
21989         * string/memrchr.c: Likewise.
21990         * string/rawmemchr.c: Likewise.
21991         * string/strcat.c: Likewise.
21992         * string/strchr.c: Likewise.
21993         * string/strchrnul.c: Likewise.
21994         * string/strcmp.c: Likewise.
21995         * string/strcpy.c: Likewise.
21996         * string/strncat.c: Likewise.
21997         * string/strncmp.c: Likewise.
21998         * string/strncpy.c: Likewise.
22000 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22002         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
22003         __builtin_memcopy is called when src and dest ranges are known to not
22004         overlap.
22006 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22008         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
22009         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
22010         fwd_align_merge macro call.
22011         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
22012         bwd_align_merge macro call.
22013         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22015 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
22017         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
22018         bwd_align_merge macros.
22019         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
22020         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
22021         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22023 2012-04-18  David S. Miller  <davem@davemloft.net>
22025         * sysdeps/sparc/sparc64/memcopy.h: Delete.
22027 2012-04-18  Andreas Jaeger  <aj@suse.de>
22029         [BZ# 6794]
22030         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
22031         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
22032         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22034         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
22035         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
22036         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22038         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
22039         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
22040         Adjust for changed ldbl-128 files.
22042         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
22043         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
22044         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
22046 2012-04-17  David S. Miller  <davem@davemloft.net>
22048         * sysdeps/sparc/sparc32/memcopy.h: Delete.
22050 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
22052         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
22053         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
22054         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
22055         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
22056         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22057         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
22059 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22061         [BZ #6794]
22062         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
22063         * math/libm-test.inc: Add ilogb errno and exception tests.
22064         * math/w_ilogb.c: New file: ilogb wrapper.
22065         * math/w_ilogbf.c: New file: ilogbf wrapper.
22066         * math/w_ilogbl.c: New file: ilogbl wrapper.
22067         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
22068         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
22069         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
22070         exception being thrown with 0.0 as argument.
22071         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
22072         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
22073         exception being thrown with 0.0 as argument.
22074         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
22075         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22076         exception being thrown with 0.0 as argument.
22077         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
22078         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
22079         exception being thrown with 0.0 as argument.
22080         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
22081         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
22082         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
22083         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
22084         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
22085         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
22086         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
22087         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
22088         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
22090 2012-04-17  Petr Baudis  <pasky@ucw.cz>
22092         * include/sys/uio.h: Change __vector to __iovec to avoid clash
22093         with altivec.
22095 2012-04-16  Marek Polacek  <polacek@redhat.com>
22097         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
22099 2012-04-16  Marek Polacek  <polacek@redhat.com>
22101         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
22102         operands of fdivp instruction.
22104 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22106         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
22107         * elf/tst-auditmod3b.c: Likewise.
22108         * elf/tst-auditmod4b.c: Likewise.
22109         * elf/tst-auditmod5b.c: Likewise.
22110         * elf/tst-auditmod6b.c: Likewise.
22111         * elf/tst-auditmod6c.c: Likewise.
22112         * elf/tst-auditmod7b.c: Likewise.
22113         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
22114         * sysdeps/x86_64/preconfigure.in: Likewise.
22115         * sysdeps/x86_64/preconfigure: Regenerated.
22117 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
22119         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
22120         __ILP32__.
22122 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
22124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22125         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
22127 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
22129         [BZ #13973]
22130         * locale/iso-639.def: Fix gl language name. Spotted by
22131         Yaron Shahrabani.
22133 2012-04-12  Roland McGrath  <roland@hack.frob.com>
22135         [BZ #2074]
22136         * libio/libio.h (__io_write_fn): Update comment.
22138 2012-04-12  Petr Baudis  <pasky@ucw.cz>
22140         [BZ #2074]
22141         * stdio.texi (Hook Functions): The user provided writer function
22142         is not allowed to return -1.
22144 2012-04-11  David S. Miller  <davem@davemloft.net>
22146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22148 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
22150         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
22151         Add a leading slash to rtkaio.
22153 2012-04-11  Jim Meyering  <meyering@redhat.com>
22155         [BZ #11959]
22156         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
22157         It is not necessarily an error to ignore fwrite's return
22158         value.  One can reliably use ferror to test for errors after
22159         the fact.
22161 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22163         * bits/types.h (__snseconds_t): New type.
22164         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22166         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
22167         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22168         (__SNSECONDS_T_TYPE): Likewise.
22169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22170         (__SNSECONDS_T_TYPE): Likewise.
22171         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22172         (__SNSECONDS_T_TYPE): Likewise.
22174 2012-04-10  Andreas Jaeger  <aj@suse.de>
22176         [BZ #2636]
22177         * manual/time.texi (Processor Time): Return type of times is
22178         elapsed real time since an arbitrary point in the past.
22179         (CPU Time): Move CLK_TCK from here...
22180         (Processor Time): ...to here.  Correct description.
22181         * manual/conf.texi (Constants for Sysconf): Correct description of
22182         _SC_CLK_TCK.
22184 2012-04-10  David S. Miller  <davem@davemloft.net>
22186         [BZ #13967]
22187         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
22188         where the is a gap between DT_REL(A) and DT_JMPREL.
22190 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
22192         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
22193         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22194         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22196 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22198         * elf/dl-support.c (_dl_inhibit_cache): New variable.
22199         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
22200         (dl_main): Handle --inhibit-cache.
22201         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
22202         _dl_inhibit_cache.
22203         * elf/dl-load.c (_dl_map_object): Use it.
22204         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
22206 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22208         [BZ #13872]
22209         * sysdeps/i386/fpu/e_powl.S (p78): New object.
22210         (__ieee754_powl): Saturate large exponents rather than testing for
22211         overflow of y*log2(x).
22212         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22213         * math/libm-test.inc (pow_test): Do not permit spurious overflow
22214         exceptions.
22216         [BZ #11521]
22217         * math/s_ctan.c: Include <float.h>.
22218         (__ctan): Avoid internal overflow or cancellation in calculating
22219         denominator.
22220         * math/s_ctanf.c: Likewise.
22221         * math/s_ctanl.c: Likewise.
22222         * math/s_ctanh.c: Likewise.
22223         * math/s_ctanhf.c: Likewise.
22224         * math/s_ctanhl.c: Likewise.
22225         * math/libm-test.inc (ctan_test): Add more tests.
22226         (ctanh_test): Likewise.
22227         * sysdeps/i386/fpu/libm-test-ulps: Update.
22228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22230 2012-04-09  Andreas Jaeger  <aj@suse.de>
22232         [BZ #6894]
22233         * manual/filesys.texi (Directory Entries): Mention that d_namlen
22234         is an optional BSD extension.
22236         [BZ #10254]
22237         * manual/stdio.texi (Opening Streams): Document additional fopen
22238         parameters.
22240 2012-04-09  Roland McGrath  <roland@hack.frob.com>
22242         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
22243         %eax without telling the compiler.
22245 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
22247         [BZ # 13963]
22248         * manual/install.texi: Use sourceware.org.
22250 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
22252         [BZ #13873]
22253         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
22254         (__ieee754_pow): Generate overflow and underflow using huge*huge
22255         and tiny*tiny rather than just returning constant infinity or zero
22256         for large exponents.
22257         * math/libm-test.inc (pow_test): Require overflow exceptions for
22258         applicable cases of large exponents.
22260         [BZ #706]
22261         * sysdeps/i386/fpu/e_pow.S (p10): New object.
22262         (__ieee754_pow): Use iterative multiplication algorithm only for
22263         integer exponents with absolute value below 1024.  Check for odd
22264         integer exponents when using algorithm for real exponents.
22265         * math/libm-test.inc (pow_test): Add more tests.
22266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22268 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
22270         [BZ #13705]
22271         * math/libm-test.inc (exp_test): Do not allow overflow exception
22272         on underflow test.
22274 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
22276         [BZ #13705]
22277         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
22278         instead of __kernel_standard_f.
22280 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
22282         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
22283         * sysdeps/x86_64/memset_chk.S: Likewise.
22285 2012-04-08  Andreas Jaeger  <aj@suse.de>
22287         [BZ #10153]
22288         * manual/startup.texi (Environment Access): Describe return value
22289         for putenv and setenv.
22291         [BZ #6895]
22292         * manual/filesys.texi (Directory Entries): Add description for
22293         DT_LNK.
22295         [BZ #6890]
22296         * manual/filesys.texi (Directory Entries): Clarify that it's file
22297         system not operating system in the description of DT_UNKNOWN.
22299         [BZ #6578]
22300         * manual/syslog.texi (closelog): Fix reference, it's openlog.
22302 2012-04-08  Stephen Compall  <s11@member.fsf.org>
22304         [BZ #6649]
22305         * manual/llio.texi (Opening and Closing Files): Add cross
22306         reference to explain mode argument.
22308 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
22310         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
22311         * sysdeps/x86_64/memset_chk.S: Likewise.
22313 2012-04-07  David S. Miller  <davem@davemloft.net>
22315         * elf/elf.h (R_SPARC_WDISP10): Define.
22316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
22317         R_SPARC_SIZE32.
22318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
22319         R_SPARC_SIZE64 and R_SPARC_H34.
22321 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
22323         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
22324         conditions and remove no longer applicable assertion.
22326 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22328         * bits/byteswap.h: Include <features.h>.
22329         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
22330         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
22332 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
22334         * bits/byteswap.h (__bswap_16): Removed.
22335         Include <bits/byteswap-16.h> to get __bswap_16.
22336         * sysdeps/i386/bits/byteswap.h: Likewise.
22337         * sysdeps/s390/bits/byteswap.h: Likewise.
22338         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22339         * bits/byteswap-16.h: New file.
22340         * sysdeps/i386/bits/byteswap-16.h: Likewise.
22341         * sysdeps/s390/bits/byteswap-16.h: Likewise.
22342         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
22343         * string/Makefile (headers): Add bits/byteswap-16.h.
22345 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22347         [BZ #13895]
22348         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
22349         extra indirection.
22350         * nss/Makefile (tests-static, tests): Add tst-nss-static.
22351         * nss/tst-nss-static.c: New.
22353 2012-04-06  Robert Millan  <rmh@gnu.org>
22355         [BZ #6486]
22356         * manual/llio.texi (File Position Primitive): lseek
22357         refers to WHENCE when it really means OFFSET.
22359 2012-04-06  Andreas Jaeger  <aj@suse.de>
22361         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
22362         strncmp declarations.
22364         * abilist/libc.abilist: Add __poll and __ppoll.
22366 2012-04-05  David S. Miller  <davem@davemloft.net>
22368         * scripts/check-local-headers.sh: Accept a host triplet in the
22369         path matched by the exclude regexp.
22371         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
22372         definition.
22373         * sysdeps/powerpc/powerpc32/dl-machine.h
22374         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
22375         * sysdeps/s390/s390-32/dl-machine.h
22376         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22377         * sysdeps/sparc/sparc32/dl-machine.h
22378         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22379         * sysdeps/sparc/sparc64/dl-machine.h
22380         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
22382         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
22383         lazy binding.
22384         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
22385         undefined symbol errors.
22387         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
22388         DT_NEEDED entries.
22390 2012-04-05  Michael Matz  <matz@suse.de>
22392         [BZ #13592]
22393         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
22395 2012-04-05  Andreas Jaeger  <aj@suse.de>
22397         [BZ #13908]
22398         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
22399         comment.
22401 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22403         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
22404         which ROUND is no valid rounding mode.
22406 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22408         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
22409         read again.
22410         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
22412 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22414         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
22415         an exception using FPU order intentionally.
22417 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
22419         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
22420         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
22421         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
22422         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
22424 2012-04-05  Simon Josefsson  <simon@josefsson.org>
22426         [BZ #12340]
22427         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
22428         EINVAL when BUFLEN is too smal.
22430 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
22432         [BZ #13553]
22433         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
22434         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
22436 2012-04-03  Andreas Jaeger  <aj@suse.de>
22438         [BZ #13938]
22439         * manual/setjmp.texi (System V contexts): Fix sentence.
22441         [BZ #13926]
22442         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
22443         New macro for this case.
22444         [!__GNUC__] (__bswap_64): New inline function for this case.
22445         * sysdeps/x86_64/bits/byteswap.h: Likewise.
22446         * bits/byteswap.h: Likewise.
22447         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
22448         ull, guard with __GLIBC_HAVE_LONG_LONG.
22450         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
22451         __GLIBC_HAVE_LONG_LONG.
22453         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
22454         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
22456 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22458         [BZ #13691]
22459         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
22460         inptr and inend, rather than using last_ch.
22462 2012-04-02  David S. Miller  <davem@davemloft.net>
22464         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
22465         * stdio-common/printf-parse.h (read_int): Change return type to
22466         'int', return -1 on INT_MAX overflow.
22467         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
22468         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
22469         overflows INT_MAX.  Check for overflow of in-format-string precision
22470         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
22471         SIZE_MAX not INT_MAX for integer overflow test.
22472         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
22473         skip the construct in the format string but do not record anything.
22474         * stdio-common/bug22.c: Adjust to test both width/prevision
22475         INT_MAX overflow as well as total length INT_MAX overflow.  Check
22476         explicitly for proper errno values.
22478 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
22480         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
22481         CHAR_MAX.
22482         * string/test-strcmp.c [! WIDE]: Likewise.
22483         * time/tst-mktime2.c: Likewise for INT_MAX.
22484         * string/test-string.h: #include <sys/param.h> for MIN.
22486         * csu/init-first.c (__libc_init_first): Call __ctype_init.
22487         * sysdeps/i386/init-first.c (init): Likewise.
22488         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
22489         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
22490         * sysdeps/sh/init-first.c (init): Likewise.
22492 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
22494         * po/ru.po: Update from translation team.
22495         * po/vi.po: Likewise.
22497 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22499         * resolv/nss_dns/dns-host.c: Merge copyright years.
22501 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22503         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22504         Optimize memcpy with prefetch if
22505         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
22506         src, dst pointers have unequal 16 byte alignments.
22508 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22510         [BZ #13928]
22511         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
22512         from a CNAME entry and return the minimum ttl for the query.
22513         (gaih_getanswer_slice): Likewise.
22515 2012-03-30  Jeff Law  <law@redhat.com>
22517         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
22518         due to long keys.
22519         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
22520         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
22522         * resolv/nss_dns/dns-host.c: Update copyright year.
22524 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
22526         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
22527         requests to save a system call.  Fix check that all bytes are sent.
22529         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
22530         comments for sendmmsg.
22532 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22534         [BZ #13691]
22535         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
22536         with only 1 character between 0x0041 and 0x01b0.
22537         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
22538         * wcsmbs/tst-mbsnrtowcs.c: New file.
22540 2012-03-29  David S. Miller  <davem@davemloft.net>
22542         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
22543         small copies by hand.
22545 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22547         [BZ #13761]
22548         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
22549         _nss_compat_initgroups_dyn): Fall back to malloc/free
22550         for large group memberships.
22552 2012-03-28  David S. Miller  <davem@davemloft.net>
22554         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
22555         that branches into memcpy.
22556         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22557         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22558         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22559         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22560         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
22561         bits.
22562         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
22563         implementation too.
22564         * sysdeps/sparc/mempcpy.S: New file.
22566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
22567         the IFUNC routine in the libc case.
22568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22570         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
22571         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
22572         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
22573         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
22574         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
22575         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
22576         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
22577         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
22579         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
22580         loop to 256 bytes instead of 64 bytes and fix test signedness.
22582         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
22583         * sysdeps/sparc/sparc32/Makefile: rather than here...
22584         * sysdeps/sparc/sparc64/Makefile: and here.
22586 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
22588         * malloc/mallocbug.c: Avoid warnings about unused variables.
22590 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22592         [BZ #13760]
22593         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
22594         in the right place. Discard and retry query if response is
22595         larger than input buffer size.
22597 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
22599         [BZ #369]
22600         [BZ #2678]
22601         [BZ #3866]
22602         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
22603         x for large integer exponent.
22604         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22605         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
22606         sign of result as needed afterwards.
22607         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22608         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
22609         result for underflowing pow the same as for overflow.
22610         (__kernel_standard_l): Handle powl overflow and underflow here
22611         rather than calling __kernel_standard.
22612         * math/libm-test.inc (pow_test): Add more tests.
22614         [BZ #3868]
22615         [BZ #13879]
22616         [BZ #13910]
22617         [BZ #13911]
22618         [BZ #13912]
22619         [BZ #13913]
22620         [BZ #13915]
22621         [BZ #13916]
22622         [BZ #13917]
22623         [BZ #13918]
22624         [BZ #13919]
22625         [BZ #13920]
22626         [BZ #13921]
22627         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
22628         * sysdeps/ieee754/k_standard.c: Include <float.h>.
22629         (__kernel_standard_l): New function.
22630         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
22631         __kernel_standard.
22632         * math/w_acosl.c (__acosl): Likewise.
22633         * math/w_asinl.c (__asinl): Likewise.
22634         * math/w_atan2l.c (__atan2l): Likewise.
22635         * math/w_atanhl.c (__atanhl): Likewise.
22636         * math/w_coshl.c (__coshl): Likewise.
22637         * math/w_exp10l.c (__exp10l): Likewise.
22638         * math/w_exp2l.c (__exp2l): Likewise.
22639         * math/w_fmodl.c (__fmodl): Likewise.
22640         * math/w_hypotl.c (__hypotl): Likewise.
22641         * math/w_j0l.c (__j0l, __y0l): Likewise.
22642         * math/w_j1l.c (__j1l, __y1l): Likewise.
22643         * math/w_jnl.c (__jnl, __ynl): Likewise.
22644         * math/w_lgammal.c (__lgammal): Likewise.
22645         * math/w_log10l.c (__log10l): Likewise.
22646         * math/w_log2l.c (__log2l): Likewise.
22647         * math/w_logl.c (__logl): Likewise.
22648         * math/w_powl.c (__powl): Likewise.
22649         * math/w_remainderl.c (__remainderl): Likewise.
22650         * math/w_scalbl.c (sysv_scalbl): Likewise.
22651         * math/w_sinhl.c (__sinhl): Likewise.
22652         * math/w_sqrtl.c (__sqrtl): Likewise.
22653         * math/w_tgammal.c (__tgammal): Likewise.
22654         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
22655         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
22656         * math/libm-test.inc (acos_test): Add more tests.
22657         (acosh_test): Likewise.
22658         (asin_test): Likewise.
22659         (atanh_test): Likewise.
22660         (exp_test): Likewise.
22661         (exp10_test): Likewise.
22662         (exp2_test): Likewise.
22663         (expm1_test): Likewise.
22664         (lgamma_test): Likewise.
22665         (log_test): Likewise.
22666         (log10_test): Likewise.
22667         (log1p_test): Likewise.
22668         (log2_test): Likewise.
22669         (pow_test): Do not allow some spurious overflow exceptions.
22670         (sqrt_test): Add more tests.
22671         (tgamma_test): Likewise.
22672         (y0_test): Likewise.
22673         (y1_test): Likewise.
22674         (yn_test): Likewise.
22676 2012-03-27  Anton Blanchard  <anton@samba.org>
22678         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
22679         MAP_HUGETLB.
22680         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22681         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22682         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22684 2012-03-27  David S. Miller  <davem@davemloft.net>
22686         * conform/Makefile: Run run-conformtest.sh using $(BASH).
22688         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
22689         have-as-vis3 check.
22691 2012-03-27  Andreas Jaeger  <aj@suse.de>
22693         * sysdeps/x86_64/elf/configure.in: Moved to ...
22694         * sysdeps/x86_64/configure.in: ... here.
22695         * sysdeps/x86_64/elf/start.S: Moved to ...
22696         * sysdeps/x86_64/start.S: ... here.
22697         * sysdeps/x86_64/elf/configure: Delete.
22699         * sysdeps/x86_64/configure.in: Merge contents from
22700         sysdeps/i386/configure.in (without i686 check).
22702         * sysdeps/i386/elf/Versions: Merge into ...
22703         * sysdeps/i386/Versions: ... this.
22704         * sysdeps/i386/elf/Versions: Delete file.
22705         * sysdeps/i386/elf/start.S: Moved to ...
22706         * sysdeps/i386/start.S: ...here.
22707         * sysdeps/i386/elf/configure.in: Merge into...
22708         * sysdeps/i386/configure.in: ...here.
22709         * sysdeps/i386/elf/configure.in: Delete file.
22710         * sysdeps/i386/elf/configure: Delete file.
22712         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
22713         * debug/backtracesyms.c: ... here.
22714         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
22715         * debug/backtracesymsfd.c: ... here.
22716         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
22717         * sysdeps/generic/ifunc-sel.h: ... here.
22719         * sysdeps/unix/i386/start.c: Delete file.
22720         * sysdeps/unix/sparc/start.c: Delete file.
22721         * sysdeps/unix/start.c: Delete file.
22723         * sysdeps/sh/elf/configure.in: Moved to ...
22724         * sysdeps/sh/configure.in: ... here.
22725         * sysdeps/sh/elf/start.S: Moved to ...
22726         * sysdeps/sh/start.S: ... here.
22727         * sysdeps/sh/elf/configure: Delete file.
22729         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
22730         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
22731         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
22732         * sysdeps/powerpc/powerpc64/entry.h: ... here.
22733         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
22734         * sysdeps/powerpc/powerpc64/start.S: here.
22735         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
22736         * sysdeps/powerpc/powerpc64/Makefile: ... this.
22737         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
22738         * sysdeps/powerpc/powerpc64/configure.in: ... this.
22739         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
22741         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
22742         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
22743         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
22744         * sysdeps/powerpc/powerpc32/start.S: ... here.
22745         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
22746         * sysdeps/powerpc/powerpc32/configure.in: ... this.
22747         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
22749         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
22750         * sysdeps/powerpc/ifunc-sel.h: ... here.
22751         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
22752         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
22754         * sysdeps/sparc/elf/configure.in: Moved to ...
22755         * sysdeps/sparc/configure.in: ... here.
22756         * sysdeps/sparc/elf/configure: Delete file.
22757         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
22758         * sysdeps/sparc/sparc32/start.S: ... here.
22759         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
22760         * sysdeps/sparc/sparc64/start.S: ... here.
22761         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
22762         * sysdeps/sparc/sparc32/Makefile: ... this.
22763         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
22764         * sysdeps/sparc/sparc64/Makefile: ... this.
22766         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
22767         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
22768         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
22769         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
22770         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
22771         * sysdeps/s390/s390-32/setjmp.S: ... here.
22772         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
22773         * sysdeps/s390/s390-32/configure.in: ... here.
22774         * sysdeps/s390/s390-32/elf/configure: Delete file.
22775         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
22776         * sysdeps/s390/s390-32/start.S: ... here.
22778         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
22779         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
22780         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
22781         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
22782         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
22783         * sysdeps/s390/s390-64/setjmp.S: ... here.
22784         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
22785         * sysdeps/s390/s390-64/configure.in: ... here
22786         * sysdeps/s390/s390-64/elf/configure: Delete file.
22787         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
22788         * sysdeps/s390/s390-64/start.S: ... here.
22789         * sysdeps/s390/s390-64/elf/configure: Delete.
22791         * configure.in: Remove support for elf directories in sysdeps.
22793         * configure: Regenerated.
22794         * sysdeps/i386/configure: Regenerated.
22795         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22796         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22797         * sysdeps/s390/s390-32/configure: Regenerated.
22798         * sysdeps/s390/s390-64/configure: Regenerated.
22799         * sysdeps/sh/configure: Regenerated.
22800         * sysdeps/sparc/configure: Regenerated.
22801         * sysdeps/x86_64/configure: Regenerated.
22803 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
22805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22807         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
22808         denormal result into account.
22810 2012-03-25  Roland McGrath  <roland@hack.frob.com>
22812         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
22813         Reported by Allan McRae <allan@archlinux.org>.
22815 2012-03-23  Jeff Law  <law@redhat.com>
22817         * nss/getnssent.c (__nss_getent): Fix typo.
22819 2012-03-23  David S. Miller  <davem@davemloft.net>
22821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22823 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
22825         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
22826         to pad to uint64_t for each field.
22827         (dl_tls_index): Replace unsigned long with uint64_t.
22829 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
22830         Paul Pluzhnikov  <ppluzhnikov@google.com>
22832         [BZ #6528]
22833         * grp/Makefile (otherlibs): Don't set it.
22834         * inet/Makefile (otherlibs): Likewise.
22835         * login/Makefile (otherlibs): Likewise.
22836         * nscd/Makefile (otherlibs): Likewise.
22837         * posix/Makefile (otherlibs): Likewise.
22838         * pwd/Makefile (otherlibs): Likewise.
22839         * rt/Makefile (otherlibs): Likewise.
22840         * sunrpc/Makefile (otherlibs): Likewise.
22841         * nss/Makefile (otherlibs): Likewise.
22842         Add libnss_files to routines and static-only-routines.
22843         ($(objpfx)getent): Remove rule.
22844         * resolv/Makefile: Add libnss_dns and libresolv to routines and
22845         static-only-routines.
22847 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22849         [BZ #13892]
22850         * math/s_cexp.c: Include <float.h>.
22851         (__cexp): Handle exp result overflowing not necessarily
22852         overflowing both real and imaginary parts of result.
22853         * math/s_cexpf.c: Likewise.
22854         * math/s_cexpl.c: Likewise.
22855         * math/libm-test.inc (cexp_test): Add more tests.
22856         * sysdeps/i386/fpu/libm-test-ulps: Update.
22857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22859 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22861         * include/link.h (ELFW): New macro.
22862         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
22863         Replace ELF64_R_TYPE with ELFW(R_TYPE).
22865 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22867         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
22868         with uint64_t.
22870 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22872         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
22873         declaration.
22874         (struct La_x32_retval): Likewise.
22876 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22878         * sysdeps/x86_64/preconfigure.in: New file.
22879         * sysdeps/x86_64/preconfigure: New generated file.
22881 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #13824]
22884         * math/e_exp2l.c: Include <float.h>.
22885         (__ieee754_exp2l): Handle overflow and underflow cases
22886         separately.  Only pass fractional part of argument to
22887         __ieee754_expl.
22888         * math/libm-test.inc (exp2_test): Add more tests.
22890         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
22891         negating x to take absolute value.
22892         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
22893         Likewise.
22894         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22895         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
22896         Likewise.
22897         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
22898         computing low part if x was negated.
22899         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22901 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22903         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
22904         la_x32_gnu_pltexit.
22905         (pltexit): Cast int_retval to ptrdiff_t.
22906         * elf/tst-auditmod3b.c: Likewise.
22907         * elf/tst-auditmod4b.c: Likewise.
22908         * elf/tst-auditmod5b.c: Likewise.
22909         * elf/tst-auditmod6b.c: Likewise.
22910         * elf/tst-auditmod6c.c: Likewise.
22911         * elf/tst-auditmod7b.c: Likewise.
22913         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
22914         and x32_gnu_pltexit.
22916         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
22917         __ELF_NATIVE_CLASS.
22918         (La_x32_regs): New macro.
22919         (La_x32_retval): Likewise.
22920         (la_x32_gnu_pltenter): New function prototype.
22921         (la_x32_gnu_pltexit): Likewise.
22923 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
22925         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
22926         exponent.
22928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22930         * configure.in (libc_cv_cc_nofma): Check for option to disable
22931         generation of FMA instructions.
22932         * configure: Regenerate.
22933         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
22934         * sysdeps/ieee754/dbl-64/Makefile: New file.
22935         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22936         Remove brandred-fma4.
22937         (CFLAGS-brandred-fma4.c): Remove.
22938         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
22939         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
22940         define.
22941         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
22942         define.
22944 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22946         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22947         LLONG_MAX != LONG_MAX.
22948         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22949         (_fitoa_word): Likewise.
22950         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
22951         LLONG_MAX != LONG_MAX.
22952         * stdio-common/_itowa.h: Include <_itoa.h>.
22953         (_itowa_word): Use _ITOA_WORD_TYPE on value.
22954         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
22955         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
22956         only if not defined.
22957         (_ITOA_WORD_TYPE): Likewise.
22958         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22959         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
22961 2012-03-21  David S. Miller  <davem@davemloft.net>
22963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22965 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22967         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
22968         of x86_64 when setting libc_cv_slibdir, libdir and
22969         libc_cv_localedir.
22970         * sysdeps/unix/sysv/linux/configure: Regenerated.
22972 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22974         * manual/lang.texi (Old Varargs): Remove section.
22975         (How Variadic): Update menu.
22976         (va_start): Do not mention varargs.h.
22978 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22979             Joseph Myers  <joseph@codesourcery.com>
22981         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
22982         link test.
22983         * configure: Regenerated.
22985 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
22987         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
22988         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
22989         conformtest.pl
22991 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
22993         * NOTES: Remove.
22994         * Makefile (files-for-dist): Remove NOTES.
22995         (NOTES): Remove rule.
22996         * README: Don't refer to NOTES.
22997         * manual/creature.texi: Don't include macros.texi.
22998         * manual/intro.texi (creature.texi): Remove comment referring to
22999         NOTES.
23001         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
23002         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
23003         * configure: Regenerated.
23004         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
23005         LIBC_TRY_CC_OPTION.
23006         (libc_cv_as_i686): Likewise.
23007         (libc_cv_cc_avx): Likewise.
23008         (libc_cv_cc_sse2avx): Likewise.
23009         (libc_cv_cc_fma4): Likewise.
23010         (libc_cv_cc_novzeroupper): Likewise.
23011         * sysdeps/i386/configure: Regenerated.
23013         [BZ #13883]
23014         * sysdeps/i386/fpu/s_cexp.S: Remove.
23015         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23016         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23017         * math/libm-test.inc (cexp_test): Add more tests.
23018         * sysdeps/i386/fpu/libm-test-ulps: Update.
23019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23021 2012-03-21  Allan McRae  <allan@archlinux.org>
23023         * timezone/Makefile: Do not install iso3166.tab and zone.tab
23025 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
23027         [BZ #13871]
23028         * math/w_exp2.c: Do not include <float.h>.
23029         (o_threshold, u_threshold): Remove.
23030         (__exp2): Calculate result before checking finiteness and calling
23031         __kernel_standard.
23032         * math/w_exp2f.c: Likewise.
23033         * math/w_exp2l.c: Likewise.
23034         * math/libm-test.inc (exp2_test): Require overflow exception for
23035         1e6 input.
23037         [BZ #3866]
23038         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
23039         range of signed 64-bit integers before using fistpll.  Remove
23040         checks for whether integers fit in mantissa bits.
23041         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
23042         the range of signed 32-bit integers before using fistpl.  Remove
23043         checks for whether integers fit in mantissa bits.
23044         * sysdeps/i386/fpu/e_powl.S (p64): New object.
23045         (__ieee754_powl): Test for y outside the range of signed 64-bit
23046         integers before using fistpll.  Reduce 64-bit values to 63-bit
23047         ones as needed.
23048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
23049         divide-by-zero is raised for zero to large negative powers.
23050         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
23051         (__ieee754_powl): Test for y outside the range of signed 64-bit
23052         integers before using fistpll.  Reduce 64-bit values to 63-bit
23053         ones as needed.
23054         * math/libm-test.inc (pow_test): Add more tests.
23056 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23058         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
23059         <stdio-common/_itoa.h>.
23060         * debug/segfault.c: Likewise.
23061         * elf/dl-cache.c: Likewise.
23062         * elf/dl-minimal.c: Likewise.
23063         * elf/dl-misc.c: Likewise.
23064         * elf/dl-sysdep.c: Likewise.
23065         * elf/dl-version.c: Likewise.
23066         * elf/rtld.c: Likewise.
23067         * hurd/hurdsock.c: Likewise.
23068         * hurd/lookup-retry.c: Likewise.
23069         * malloc/malloc.c: Likewise.
23070         * malloc/mtrace.c: Likewise.
23071         * nscd/nscd_getgr_r.c: Likewise.
23072         * nscd/nscd_getpw_r.c: Likewise.
23073         * nscd/nscd_getserv_r.c: Likewise.
23074         * posix/getopt_init.c: Likewise.
23075         * posix/wordexp.c: Likewise.
23076         * stdio-common/_itoa.c: Likewise.
23077         * stdio-common/printf_fphex.c: Likewise.
23078         * stdio-common/vfprintf.c: Likewise.
23079         * string/_strerror.c: Likewise.
23080         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
23081         * sysdeps/i386/i686/hp-timing.h: Likewise.
23082         * sysdeps/mach/_strerror.c: Likewise.
23083         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
23084         * sysdeps/mach/hurd/sethostid.c: Likewise.
23085         * sysdeps/mach/hurd/xmknodat.c: Likewise.
23086         * sysdeps/mach/xpg-strerror.c: Likewise.
23087         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23089         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
23090         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
23091         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23092         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
23093         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
23094         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
23095         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
23096         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
23097         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
23098         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23099         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
23100         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23101         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23102         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
23103         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
23104         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
23105         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
23106         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
23107         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
23109         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
23111         * stdio-common/_itoa.h: Moved to ...
23112         * sysdeps/generic/_itoa.h: Here.
23114         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
23116         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
23117         instead of "_itoa.h" and "_itowa.h".
23118         * stdio-common/vfprintf.: Likewise.
23120 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23122         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
23123         <bits/wordsize.h>.
23124         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
23125         (__signbit): Likwise.
23126         (llrintf): Likwise.
23127         (llrint): Likwise.
23129 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
23131         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
23132         __WORDSIZE != 64.
23134 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
23136         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
23137         OVERFLOW_EXCEPTION_OK.
23138         * math/libm-test.inc ("Philosophy"): Update comment about
23139         exception testing.
23140         (OVERFLOW_EXCEPTION): Define.
23141         (OVERFLOW_EXCEPTION_OK): Likewise.
23142         (INVALID_EXCEPTION_OK): Renumber.
23143         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
23144         (IGNORE_ZERO_INF_SIGN): Likewise.
23145         (test_exceptions): Handle FE_OVERFLOW.
23146         (exp10_test): Expect overflow exceptions.
23147         (exp2_test): Likewise.
23148         (expm1_test): Likewise.
23149         (nextafter_test): Likewise.
23150         (pow_test): Likewise.
23151         (scalbn_test): Likewise.
23152         (scalbln_test): Likewise.
23154 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23156         * sysdeps/x86_64/bits/atomic.h
23157         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
23158         64bit integer.
23159         (atomic_exchange_acq): Likewise.
23160         (__arch_exchange_and_add_body): Likewise.
23161         (__arch_add_body): Likewise.
23162         (atomic_add_negative): Likewise.
23163         (atomic_add_zero): Likewise.
23165 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23167         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
23168         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
23170 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23172         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
23173         Check __x86_64__ instead of __WORDSIZE.
23175 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23177         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
23179 2012-03-19  David S. Miller  <davem@davemloft.net>
23181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23183         * sysdeps/sparc/fpu/fenv_private.h: New file.
23184         * sysdeps/sparc/fpu/math_private.h: Use it.
23185         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
23186         Remove.
23187         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
23188         (libc_feholdexcept_setroundl): Remove.
23189         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
23190         Remove.
23191         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
23192         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
23194 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23196         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
23197         int64_t instead of long int.
23198         (INSERT_WORDS64): Likwise.
23200 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
23202         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
23203         _Unwind_GetCFA return to _Unwind_Ptr first.
23205 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
23207         [BZ #13629]
23208         * math/s_clog.c: Include <float.h>.
23209         (__clog): Scale large or subnormal inputs.
23210         * math/s_clogf.c: Likewise.
23211         * math/s_clogl.c: Likewise.
23212         * math/s_clog10.c: Include <float.h>.
23213         (M_LOG10_2): Define.
23214         (__clog10): Scale large or subnormal inputs.
23215         * math/s_clog10f.c: Likewise.
23216         * math/s_clog10l.c: Likewise.
23217         * math/libm-test.inc (clog_test): Add more tests.
23218         (clog10_test): Likewise.
23219         * sysdeps/i386/fpu/libm-test-ulps: Update.
23220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23222         [BZ #11451]
23223         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
23224         x and y.
23225         * math/libm-test.inc (atan2_test): Add another test.
23227         * Makerules (common-objdir-compile): Remove.
23228         * sysdeps/unix/Makefile (config-generated): Do not add
23229         $(unix-generated) to variable.
23230         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
23231         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
23232         Remove rule.
23233         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
23234         Likewise.
23235         [generic bits/local_lim.h] (before-compile): Do not append to
23236         variable.
23237         [generic bits/local_lim.h] (common-generated): Likewise.
23238         [generic sys/param.h] (before-compile): Do not append to variable.
23239         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
23240         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
23241         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
23242         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
23243         include.
23244         [generic sys/param.h] (sys/param.h-includes): Remove variable.
23245         [generic sys/param.h] (sys/param.h-includes): Remove rule.
23246         [generic sys/param.h] ($(addprefix
23247         $(common-objpfx),$(sys/param.h-includes))): Likewise.
23248         [generic sys/param.h] (common-generated): Do not append to
23249         variable.
23250         [generic sys/param.h] (sysdep_headers): Likewise.
23251         [generic bits/errno.h] (before-compile): Do not append to
23252         variable.
23253         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
23254         rule.
23255         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
23256         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
23257         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
23258         [generic bits/errno.h] (common-generated): Do not append to
23259         variable.
23260         [generic bits/ioctls.h] (before-compile): Do not append to
23261         variable.
23262         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
23263         rule.
23264         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
23265         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
23266         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
23267         rule.
23268         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
23269         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
23270         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
23271         [generic bits/ioctls.h] (common-generated): Do not append to
23272         variable.
23273         [generic sys/syscall.h] (syscall.h): Remove variable.
23274         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
23275         rule.
23276         [generic sys/syscall.h] (before-compile): Do not append to
23277         variable.
23278         [generic sys/syscall.h] (common-generated): Likewise.
23279         * sysdeps/unix/errnos-tmpl.c: Remove file.
23280         * sysdeps/unix/errnos.awk: Likewise.
23281         * sysdeps/unix/ioctls-tmpl.c: Likewise.
23282         * sysdeps/unix/ioctls.awk: Likewise.
23283         * sysdeps/unix/mk-local_lim.c: Likewise.
23284         * sysdeps/unix/snarf-ioctls: Likewise.
23286 2012-03-19  Richard Henderson  <rth@twiddle.net>
23288         * sysdeps/i386/fpu/fenv_private.h: New file.
23289         * sysdeps/i386/fpu/math_private.h: Use it.
23290         (math_opt_barrier, math_force_eval): Remove.
23291         (libc_feholdexcept_setround_53bit): Remove.
23292         (libc_feupdateenv_53bit): Remove.
23293         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23294         (math_opt_barrier, math_force_eval): Remove.
23295         (libc_feholdexcept): Remove.
23296         (libc_feholdexcept_setround): Remove.
23297         (libc_fetestexcept, libc_fesetenv): Remove.
23298         (libc_feupdateenv_test): Remove.
23299         (libc_feupdateenv, libc_feholdsetround): Remove.
23300         (libc_feresetround): Remove.
23302         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
23303         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23305         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
23306         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
23307         (libc_feupdateenv_testl): New.
23308         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
23309         (libc_feupdateenv_testf): New.
23310         (libc_feupdateenv): Use libc_feupdateenv_test.
23311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
23312         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
23314         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
23315         (libc_feholdsetroundf, libc_feholdsetroundl): New.
23316         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
23317         (libc_feresetround_noex): New.
23318         (libc_feresetround_noexf): New.
23319         (libc_feresetround_noexl): New.
23320         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
23321         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
23322         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
23323         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
23324         SET_RESTORE_ROUND.
23325         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
23326         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
23327         (__cos): Likewise.
23328         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
23329         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23330         SET_RESTORE_ROUND_NOEX.
23331         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
23332         SET_RESTORE_ROUND_NOEXF.
23333         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
23334         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
23335         (libc_feholdsetroundf): New.
23336         (libc_feresetround, libc_feresetroundf): New.
23338         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
23339         (libc_feholdexcept_setround_53bit): Convert from macro to function.
23340         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
23342         * sysdeps/generic/math_private.h: Include <fenv.h>.
23343         (default_libc_feholdexcept): New.
23344         (default_libc_feholdexcept_setround): New.
23345         (default_libc_fesetenv, default_libc_feupdateenv): New.
23346         (libc_feholdexcept): Only define if undefined.
23347         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
23348         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
23349         (libc_feholdexcept_setroundl): Likewise.
23350         (libc_feholdexcept_setround_53bit): Likewise.
23351         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
23352         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
23353         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
23354         (libc_feupdateenv_53bit): Likewise.
23355         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
23356         (libc_feholdexcept): Convert from macro to inline function.
23357         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
23358         (libc_fesetenv, libc_feupdateenv): Likewise.
23360         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
23361         not previously defined.
23362         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
23363         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
23364         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
23365         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
23366         * sysdeps/ieee754/flt-32/math_private.h: New file.
23367         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
23368         math_private.h below SET_FLOAT_WORD.
23369         (__isnan, __isinf_ns, __finite): Remove.
23370         (__isnanf, __isinf_nsf, __finitef): Remove.
23372 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
23374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23376 2012-03-17  David S. Miller  <davem@davemloft.net>
23378         [BZ #6471]
23379         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
23380         for 2.16.
23382 2012-03-16  David S. Miller  <davem@davemloft.net>
23384         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
23385         warnings.
23387         [BZ #6471]
23388         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
23389         properly.
23390         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
23391         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
23392         sysdep_routines when subdir is sysvipc.
23393         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
23394         __getshmlba helper.
23396         * sysdeps/sparc/fpu/libm-test/ulps: Update.
23398 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23400         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
23401         [__LP64__].
23403 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23405         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
23406         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
23407         (__lround): Renamed to ...
23408         (__llround): This.  Replace long int with long long int.
23409         Define lround functions as aliases of llround functions.
23410         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
23412 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23414         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
23415         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
23416         adresses to uintptr_t.  Replace "long int" and "unsigned long
23417         int" with "greg_t" on va_arg.
23419 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23421         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
23422         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
23424         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
23425         Move e_machine check before EI_CLASS check.  Handle x32
23426         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
23427         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
23428         SKIP_EM_IA_64 and include
23429         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
23431         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
23432         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
23433         (add_system_dir): New macro.
23435         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
23436         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
23438 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23440         [BZ #2551]
23441         [BZ #2552]
23442         [BZ #2553]
23443         [BZ #2554]
23444         [BZ #2562]
23445         [BZ #2563]
23446         [BZ #2565]
23447         [BZ #2566]
23448         [BZ #2576]
23449         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
23450         (y0): Likewise.
23451         * math/w_j0f.c (j0f): Likewise.
23452         (y0f): Likewise.
23453         * math/w_j0l.c (__j0l): Likewise.
23454         (__y0l): Likewise.
23455         * math/w_j1.c (j1): Likewise.
23456         (y1): Likewise.
23457         * math/w_j1f.c (j1f): Likewise.
23458         (y1f): Likewise.
23459         * math/w_j1l.c (__j1l): Likewise.
23460         (__y1l): Likewise.
23461         * math/w_jn.c (jn): Likewise.
23462         (yn): Likewise.
23463         * math/w_jnf.c (jnf): Likewise.
23464         (ynf): Likewise.
23465         * math/w_jnl.c (__jnl): Likewise.
23466         (__ynl): Likewise.
23467         * math/libm-test.inc (j0_test): Add more tests.
23468         (j1_test): Likewise.
23469         (jn_test): Likewise.  Add trailing semicolon to existing test.
23470         (y0_test): Likewise.
23471         (y1_test): Likewise.
23472         * sysdeps/i386/fpu/libm-test-ulps: Update.
23473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23475         [BZ #13851]
23476         [BZ #13854]
23477         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23478         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
23479         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
23480         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
23481         (__tanl): Set errno for infinite argument.
23482         * sysdeps/i386/fpu/mptan.c: Remove.
23483         * sysdeps/i386/fpu/s_tan.S: Likewise.
23484         * sysdeps/i386/fpu/s_tanl.S: Likewise.
23485         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
23486         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
23487         * math/libm-test.inc (tan_test): Add more tests and enable more
23488         tests for double and long double.
23489         * sysdeps/i386/fpu/libm-test-ulps: Update.
23490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23492 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
23494         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
23495         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
23497 2012-03-16  Roland McGrath  <roland@hack.frob.com>
23499         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
23500         * configure.in: Use it for both main tree and add-ons.
23501         * configure: Regenerated.
23503 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23505         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
23507 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
23509         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
23510         in comment.
23512         [BZ #13851]
23513         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
23514         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
23515         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
23516         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
23517         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
23518         infinite argument.
23519         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
23520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
23521         != 0 for prec == 2.
23522         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
23523         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
23524         * sysdeps/i386/fpu/s_cosl.S: Likewise.
23525         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
23526         * sysdeps/i386/fpu/s_sinl.S: Likewise.
23527         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
23528         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
23529         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
23530         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
23531         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
23532         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
23533         * math/libm-test.inc (cos_test): Add more tests and enable more
23534         tests for long double.
23535         (sin_test): Likewise.
23536         (sincos_test): Likewise.
23537         * sysdeps/i386/fpu/libm-test-ulps: Update.
23538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23540 2012-03-16  David S. Miller  <davem@davemloft.net>
23542         * sysdeps/sparc/fpu/math_private.h: New file.
23544 2012-03-15  David S. Miller  <davem@davemloft.net>
23546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
23547         file.
23548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
23549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
23550         file.
23551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
23552         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
23553         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
23554         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
23555         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
23556         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
23557         sysdep routines.
23558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23560         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
23561         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
23563         * sysdeps/sparc/sparc-ifunc.h: New file.
23564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
23565         sparc-ifunc.h
23566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23568         Likewise.
23569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23570         Likewise.
23571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
23572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23575         Likewise.
23576         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
23578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
23580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
23581         Likewise.
23582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
23583         Likewise.
23584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
23587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
23588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23589         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23590         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
23591         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
23592         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23593         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23594         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23595         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
23596         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
23597         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
23598         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
23599         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23600         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
23601         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23602         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
23603         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23604         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
23605         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
23607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23609 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23611         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
23612         scaling.
23613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23615 2012-03-15  Andreas Jaeger  <aj@suse.de>
23617         [BZ #13852]
23618         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
23619         ieee754/flt-32 implementation for sin, cos and sincos.
23620         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
23621         * sysdeps/i386/fpu/s_cosf.S: Likewise.
23622         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
23623         * sysdeps/i386/fpu/s_sinf.S: Likewise.
23624         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
23625         ieee754/flt-32 implementation for tan.
23627         * math/libm-test.inc (cos_test): Enable some large input tests for
23628         float as well
23629         (sin_test): Likewise.
23630         (sincos_test): Likewise.
23631         (tan_test): Add tests for large input.
23633         * sysdeps/i386/fpu/libm-test-ulps: Update.
23635 2012-03-15  Andreas Jaeger  <aj@suse.de>
23637         [BZ #13658]
23638         * math/libm-test.inc (cos_test): Add more test cases.
23639         (sin_test): Likewise.
23640         (sincos_test): Likewise.
23642 2012-03-15  Andreas Jaeger  <aj@suse.de>
23644         [BZ #13837]
23645         * math/libm-test.inc (cos_test): Add a test case for large input
23646         value.
23647         (sin_test): Likewise.
23648         (sincos_test): Likewise.
23650 2012-03-15  Andreas Jaeger  <aj@suse.de>,
23651         Joseph Myers  <joseph@codesourcery.com>
23653         [BZ #13658]
23654         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
23655         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
23656         * sysdeps/i386/fpu/branred.c: Likewise.
23657         * sysdeps/i386/fpu/dosincos.c: Likewise.
23658         * sysdeps/i386/fpu/mpa.c: Likewise.
23659         * sysdeps/i386/fpu/s_cos.S: Likewise.
23660         * sysdeps/i386/fpu/s_sin.S: Likewise.
23661         * sysdeps/i386/fpu/s_sincos.S: Likewise.
23662         * sysdeps/i386/fpu/sincos32.c: Likewise.
23664         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
23665         Define.
23666         (libc_feupdateenv_53bit): Define.
23667         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
23668         Define.
23669         (libc_feupdateenv_53bit): Define.
23671         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
23672         53 bit (without extend i386 double precision).
23674         * math/libm-test.inc (sincos_test): Add tests for large input.
23675         (sin): Likewise.
23676         (cos): Likewise.
23678         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23680 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
23682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23684 2012-03-15  David S. Miller  <davem@davemloft.net>
23686         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
23687         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
23688         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
23689         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
23690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
23691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
23692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
23693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
23694         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
23695         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
23696         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
23697         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
23698         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
23699         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
23700         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
23701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
23702         file.
23703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
23704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
23705         file.
23706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
23707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
23708         file.
23709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
23710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
23711         file.
23712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
23713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
23714         fmin/fmax sysdep routines.
23715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
23717 2012-03-14  David S. Miller  <davem@davemloft.net>
23719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
23720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
23721         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
23722         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
23723         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
23724         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
23725         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
23726         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
23727         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
23728         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
23729         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
23730         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
23731         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
23732         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
23733         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
23734         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
23735         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
23736         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
23737         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
23738         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
23739         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
23740         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
23741         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
23742         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
23743         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
23744         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
23745         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
23746         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
23747         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
23748         routines.
23749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
23750         file.
23751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
23752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
23753         file.
23754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
23755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
23756         file.
23757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
23758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
23759         file.
23760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
23761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
23762         file.
23763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
23764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
23765         file.
23766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
23767         file.
23768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
23769         file.
23770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
23771         file.
23772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
23773         New file.
23774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
23775         file.
23776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
23777         file.
23778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
23779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
23780         file.
23781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
23782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
23783         file.
23784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
23785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
23786         file.
23787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
23788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
23789         VIS3 routines.
23791         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23792         New file.
23794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23796         * sysdeps/sparc/configure.in: New file.
23797         * sysdeps/sparc/configure: Generate.
23798         * configure.in (libc_cv_sparc_as_vis3): Substitute.
23799         * configure: Regenerate.
23800         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
23801         * config.make.in (have-as-vis3): New.
23802         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
23803         available use -Av9d instead of -Av9a.
23804         * sysdeps/sparc/sparc64/Makefile: Likewise.
23805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
23806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
23807         New file.
23808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
23809         file.
23810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
23811         New file.
23812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
23813         file.
23814         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
23815         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
23816         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
23817         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
23818         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
23820         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
23821         fzeros/fnegs to load 0x80000000 into a float register instead of
23822         using the stack.
23823         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
23825 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23828         bits/syscall.h.
23829         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
23830         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
23831         ($(inst_includedir)/bits/syscall.h): Remove rule.
23832         ($(objpfx)bits/syscall.d): Include instead of
23833         $(objpfx)syscall-list.d.
23834         (generated): Change syscall-list.h and syscall-list.d to
23835         bits/syscall.h and bits/syscall.d.
23837 2012-03-14  Roland McGrath  <roland@hack.frob.com>
23839         [BZ #13846]
23840         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
23842 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
23844         [BZ #13841]
23845         * math/s_csqrt.c: Include <float.h>.
23846         (__csqrt): Scale large or subnormal inputs.
23847         * math/s_csqrtf.c: Likewise.
23848         * math/s_csqrtl.c: Likewise.
23849         * math/libm-test.inc (csqrt_test): Add more tests.
23850         * sysdeps/i386/fpu/libm-test-ulps: Update.
23851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23853         [BZ #13840]
23854         * math/libm-test.inc (hypot_test): Add more tests.
23856 2012-03-13  David S. Miller  <davem@davemloft.net>
23858         [BZ #13840]
23859         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
23860         double-precision for the calculation instead of scaling.
23862 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
23864         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
23865         manipulate bits before adding and subtracting TWO52[sx].
23866         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
23867         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
23868         Likewise.
23869         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
23871 2012-03-13  David S. Miller  <davem@davemloft.net>
23873         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
23874         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
23875         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
23876         rtld-global-offsets.h
23877         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23879         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
23880         large parameters.
23882         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
23884         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
23885         'err' in the ifdef scope in which it is actually used.
23887         * nss/nss_db/db-init.c: Include string.h
23889 2012-03-12  David S. Miller  <davem@davemloft.net>
23891         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
23892         masking out of the most significant byte of random value used.
23893         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23894         Fix coding style in previous change.
23896         * sysdeps/unix/sysv/linux/kernel-features.h
23897         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
23898         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
23899         expression.
23900         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
23901         later.
23903 2012-03-11  David S. Miller  <davem@davemloft.net>
23905         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
23906         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
23907         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
23908         for 'resultvar' otherwise things get truncated on 64-bit.
23910         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23911         Fix masking out of the most significant byte of random value used.
23913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23915 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
23917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23919 2012-03-09  David S. Miller  <davem@davemloft.net>
23921         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
23922         variables with appropriate CPP guards.
23923         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
23924         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
23925         on resulting framesize and the management of the outregs buffer for pltexit.
23926         Preserve floating point return values across _dl_call_pltexit call.
23927         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
23928         framesize and the management of the outregs buffer for pltexit.
23929         Preserve floating point return values across _dl_call_pltexit
23930         call.
23931         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
23932         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
23933         (print_exit): Fix format string for return register value.
23935 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
23937         * sunrpc/Makefile (others): Add rpcgen.
23938         ($(objpfx)rpcgen): Remove special build rule and dependency on
23939         libc.
23940         * sunrpc/rpcgen.c: New file.
23942 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
23944         [BZ #13673]
23945         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
23946         * stdio-common/bug-vfprintf-nargs.c: Likewise.
23947         * sysdeps/i386/crti.S: Likewise.
23948         * sysdeps/i386/crtn.S: Likewise.
23949         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
23950         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
23951         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
23952         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
23953         * sysdeps/sh/crti.S: Likewise.
23954         * sysdeps/sh/crtn.S: Likewise.
23955         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
23957         [BZ #13673]
23958         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
23959         with URL.
23960         * locale/programs/locfile-kw.gperf: Likewise.
23961         * locale/programs/charmap-kw.h: Regenerated.
23962         * locale/programs/locfile-kw.h: Likewise.
23964         [BZ #13673]
23965         * intl/plural.y: Replace FSF snail mail address with URL.
23966         * intl/plural.c: Regenerated.
23968 2012-03-09  Richard Henderson  <rth@twiddle.net>
23970         * include/math_private.h: Remove file.
23971         * math/math_private.h: Move file ...
23972         * sysdeps/generic/math_private.h: ... here.
23974         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
23975         * sysdeps/powerpc/fpu/math_private.h: Likewise.
23976         * sysdeps/x86_64/fpu/math_private.h: Likewise.
23978         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
23979         and <math_private.h>.
23980         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
23981         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
23982         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
23983         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
23984         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
23985         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
23986         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23988         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23989         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23990         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23991         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23992         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23993         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23994         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23995         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23996         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23997         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23998         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23999         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
24000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24001         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24002         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24003         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24004         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24005         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24006         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24007         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24008         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24009         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24010         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24011         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24012         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24013         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24014         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24015         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24016         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24017         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24018         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24019         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24020         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
24021         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24022         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24023         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24024         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24025         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24026         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
24027         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24028         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24029         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24030         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24031         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
24032         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24033         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24034         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24035         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24036         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
24037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24038         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24039         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
24040         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24041         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24042         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24043         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24044         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
24045         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24046         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24047         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24048         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
24049         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
24050         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24051         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
24052         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24053         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24054         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
24055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
24056         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
24057         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
24059         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
24060         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24061         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
24062         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24063         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
24064         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24065         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
24066         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
24067         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
24068         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
24069         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24070         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24071         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
24072         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24073         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
24074         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
24075         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
24076         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
24077         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
24078         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
24079         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
24080         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
24081         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
24082         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
24083         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
24084         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24085         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
24086         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
24087         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
24088         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24089         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24090         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24091         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24092         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
24093         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24094         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
24095         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
24096         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24097         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24098         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24099         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
24100         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24101         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24102         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
24103         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
24104         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24105         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24106         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
24107         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
24108         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24109         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
24110         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
24111         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
24112         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24113         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
24114         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
24115         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24116         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
24117         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24118         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
24119         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
24120         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
24121         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24122         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24123         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
24124         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
24125         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24126         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24127         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24128         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
24129         * sysdeps/ieee754/k_standard.c: Likewise.
24130         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
24131         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
24132         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24133         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
24134         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
24135         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
24136         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
24137         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
24138         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
24139         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
24140         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
24141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
24142         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
24143         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
24144         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
24145         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
24146         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24147         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
24148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
24149         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
24150         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
24151         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
24152         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24153         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24154         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24155         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
24156         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24157         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24158         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24159         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24160         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24161         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24162         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24163         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24164         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24165         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24166         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24167         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
24168         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
24169         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24170         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24171         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24172         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24173         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24174         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24175         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24176         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24177         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24178         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24179         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24180         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24181         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24182         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24183         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
24184         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24185         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24186         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
24187         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
24188         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24189         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24190         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24191         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24192         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24193         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
24194         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24195         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24196         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
24197         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
24198         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
24199         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
24200         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
24201         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24202         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
24203         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
24204         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
24205         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
24206         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
24207         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
24208         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24209         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24210         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24211         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24212         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24214         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
24215         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24216         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24217         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
24218         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
24219         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24220         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
24221         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24222         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
24223         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24224         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24225         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24226         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
24227         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
24228         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
24229         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
24230         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24231         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24233         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24234         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
24235         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24236         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24237         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
24238         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
24239         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24240         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24241         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24242         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
24243         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24244         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
24245         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
24246         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
24247         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24248         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
24249         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
24250         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
24251         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
24252         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24253         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
24254         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24255         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
24256         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24257         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24258         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24260         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24261         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24262         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24263         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24264         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24265         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24266         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
24267         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24268         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24269         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
24270         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
24271         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24272         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
24273         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
24274         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24275         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24276         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24277         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24278         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24279         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
24280         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24281         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
24282         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24284         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
24285         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
24286         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24287         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24288         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24289         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24290         * sysdeps/ieee754/s_lib_version.c: Likewise.
24291         * sysdeps/ieee754/s_matherr.c: Likewise.
24292         * sysdeps/ieee754/s_signgam.c: Likewise.
24293         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24294         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24295         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
24296         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
24297         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
24298         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24299         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
24300         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
24301         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
24302         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
24303         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24304         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
24305         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24306         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24307         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
24308         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24309         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24310         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24311         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24312         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24313         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24315 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24317         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
24318         * sunrpc/rpc_main.c: Likewise.
24319         * sunrpc/rpc_svcout.c: Likewise.
24321 2012-03-09  David S. Miller  <davem@davemloft.net>
24323         * include/math_private.h: New file.
24325 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
24327         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
24328         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
24329         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
24330         from <bits/socket_type.h>.
24331         (enum __socket_type): Don't define here.
24332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
24333         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24334         bits/socket_type.h.
24336         [BZ #13566]
24337         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
24338         checking __USE_GNU.
24340         * Makerules ($(inst_includedir)/%.h): New rule.
24341         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
24342         (install-others): Remove variable setting.
24343         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
24345 2012-03-08  Richard Henderson  <rth@twiddle.net>
24347         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
24348         from macro to inline function; merge with the
24349         !__LIBC_INTERNAL_MATH_INLINES version.
24350         (__ieee754_sqrtf): Likewise.
24352         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
24353         to inline function.
24354         (__rintf, __floor, __floorf): Likewise.
24356         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
24357         macro to inline function.
24358         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
24360         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
24361         not <math/math_private.h>.
24363 2012-03-08  David S. Miller  <davem@davemloft.net>
24365         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
24366         copyright year.
24367         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
24369 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
24371         * resolv/gai_misc.c (handle_requests): Fix struct timespec
24372         normalization.
24373         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
24374         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
24376 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
24378         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
24379         be defined individually, they must be defined as a block.  Define
24380         S for printing a string instead of hidint the different by using a
24381         macro for adding the 'l'.
24382         * stdio-common/tst-fphex-wide.c: Adjust.
24384 2012-03-07  Marek Polacek  <polacek@redhat.com>
24386         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
24388 2012-03-08  Marek Polacek  <polacek@redhat.com>
24390         [BZ #13806]
24391         * stdio-common/Makefile (tests): Add tst-fphex-wide.
24392         * stdio-common/tst-fphex.c: Define a few macros to make the
24393         test reusable.  Use them.
24394         * stdio-common/tst-fphex-wide.c: New file.
24396 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
24398         [BZ #6911]
24399         * manual/macros.texi (gnusystems): New macro.
24400         (nongnusystems): Likewise.
24401         (gnulinuxhurdsystems): Likewise.
24402         (gnuhurdsystems): Likewise..
24403         (gnulinuxsystems): Likewise.
24404         * manual/charset.texi: Use new macros or @theglibc{} to refer to
24405         variants of the GNU system, not "GNU system".
24406         * manual/conf.texi: Likewise.
24407         * manual/errno.texi: Likewise.  Update example of errno macro
24408         expansion.
24409         * manual/filesys.texi: Likewise.
24410         (getumask): Document as specific to GNU/Hurd.
24411         * manual/install.texi: Likewise.  Reword some references to
24412         GNU/Linux.
24413         * manual/intro.texi: Likewise.
24414         * manual/io.texi: Likewise.
24415         (File Name Portability): Detail which constraints are inapplicable
24416         to all GNU systems and which are only inapplicable to GNU/Hurd.
24417         * manual/job.texi: Likewise.
24418         * manual/llio.texi: Likewise.
24419         (O_NOCTTY): Document as present on GNU/Linux.
24420         * manual/maint.texi: Likewise.
24421         * manual/memory.texi: Likewise.
24422         * manual/pattern.texi: Likewise.
24423         * manual/pipe.texi: Likewise.
24424         * manual/process.texi: Likewise.
24425         * manual/resource.texi: Likewise.
24426         (RUSAGE_CHILDREN): Remove statement about specifying a particular
24427         child on GNU/Hurd.
24428         * manual/setjmp.texi: Likewise.
24429         * manual/signal.texi: Likewise.
24430         * manual/startup.texi: Likewise.
24431         * manual/stdio.texi: Likewise.
24432         * manual/terminal.texi: Likewise.
24433         (ONLCR): Document as POSIX.
24434         (OXTABS): Document availability on GNU/Linux as XTABS.
24435         (ONOEOT): Document availability separately from other bits.
24436         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
24437         * manual/time.texi: Likewise.
24438         * manual/users.texi: Likewise.
24439         * INSTALL: Regenerated.
24440         * sysdeps/gnu/errlist.c: Regenerated.
24442         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
24443         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
24444         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
24445         puts.
24446         * configure: Regenerated.
24448 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
24450         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
24451         default includes instead of AC_HEADER_CHECK.
24452         * sysdeps/i386/configure: Regenerated.
24454         [BZ #10716]
24455         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
24456         * math/s_cacoshf.c (__cacoshf): Likewise.
24457         * math/s_cacoshl.c (__cacoshl): Likewise.
24458         * math/s_casinh.c (__casinh): Set signs of result from argument.
24459         * math/s_casinhf.c (__casinhf): Likewise.
24460         * math/s_casinhl.c (__casinhl): Likewise.
24461         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
24462         (casinh_test): Add more tests.
24463         * sysdeps/i386/fpu/libm-test-ulps: Update.
24464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24466 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
24468         * po/zh_TW.po: Update from translation team.
24470         * login/Makefile (distribute): Remove variable.
24471         * catgets/Makefile: Likewise.
24472         * mach/Makefile: Likewise.
24473         * malloc/Makefile: Likewise.
24474         * misc/Makefile: Likewise.
24475         * iconv/Makefile: Likewise.
24476         * nscd/Makefile: Likewise.
24477         * hurd/Makefile: Likewise.
24478         * manual/Makefile: Likewise.
24479         * locale/Makefile: Likewise.
24480         * intl/Makefile: Likewise.
24481         * conform/Makefile: Likewise.
24482         * nss/Makefile: Likewise.
24483         * time/Makefile: Likewise.
24484         * soft-fp/Makefile: Likewise.
24485         * dirent/Makefile: Likewise.
24486         * gmon/Makefile: Likewise.
24487         * po/Makefile: Likewise.
24488         * rt/Makefile: Likewise.
24489         * socket/Makefile: Likewise.
24490         * math/Makefile: Likewise.
24491         * signal/Makefile: Likewise.
24492         * debug/Makefile: Likewise.
24493         * elf/Makefile: Likewise.
24494         * timezone/Makefile: Likewise.
24495         * stdlib/Makefile: Likewise.
24496         * iconvdata/Makefile: Likewise.
24497         * sunrpc/Makefile: Likewise.
24498         * io/Makefile: Likewise.
24499         * argp/Makefile: Likewise.
24500         * inet/Makefile: Likewise.
24501         * hesiod/Makefile: Likewise.
24502         * grp/Makefile: Likewise.
24503         * csu/Makefile: Likewise.
24504         * wctype/Makefile: Likewise.
24505         * crypt/Makefile: Likewise.
24506         * libio/Makefile: Likewise.
24507         * string/Makefile: Likewise.
24508         * nis/Makefile: Likewise.
24509         * resolv/Makefile: Likewise.
24510         * stdio-common/Makefile: Likewise.
24511         * wcsmbs/Makefile: Likewise.
24512         * dlfcn/Makefile: Likewise.
24513         * posix/Makefile: Likewise.
24515         [BZ #6959]
24516         * timezone/Makefile: Don't install timezone files, just the programs
24517         and scripts.
24519 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
24521         * nss/databases.def: Add missing gshadow entry.
24523         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
24525 2012-03-06  Marek Polacek  <polacek@redhat.com>
24527         [BZ #13726]
24528         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
24529         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24530         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
24531         * stdio-common/tst-long-dbl-fphex.c: New file.
24533 2012-03-06  David S. Miller  <davem@davemloft.net>
24535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24536         (set_obp_int): New function.
24537         (get_obp_int): New function.
24538         (__get_clockfreq_via_dev_openprom): Likewise.
24539         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
24540         Avoid unused variable warnings on 'val' and use builtin_expect.
24541         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
24542         __builtin_expect.
24543         (INLINE_CLONE_SYSCALL): Likewise.
24545 2012-03-05  David S. Miller  <davem@davemloft.net>
24547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24549 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
24551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24553         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
24554         only for |x| >= 40.
24555         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
24557 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24559         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
24560         Replace gettimeofday with __vdso_gettimeofday.
24562         * sysdeps/unix/sysv/linux/x86_64/init-first.c
24563         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
24564         __vdso_clock_gettime and __vdso_getcpu.
24566         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
24567         time with __vdso_time.
24569 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24571         * manual/lang.texi (size_t): Note types to which size_t may be
24572         equivalent with the GNU C Library, but do not describe when
24573         differences between them are significant.
24575 2012-03-05  Andreas Jaeger  <aj@suse.de>
24577         * sysdeps/i386/fpu/libm-test-ulps: Update.
24579 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
24581         [BZ #3976]
24582         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
24583         (__ieee754_pow): Save and restore rounding mode and use
24584         round-to-nearest for main computations.
24585         * math/libm-test.inc (pow_test_tonearest): New function.
24586         (pow_test_towardzero): Likewise.
24587         (pow_test_downward): Likewise.
24588         (pow_test_upward): Likewise.
24589         (main): Call the new functions.
24590         * sysdeps/i386/fpu/libm-test-ulps: Update.
24591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24593         [BZ #3976]
24594         * math/libm-test.inc (cosh_test_tonearest): New function.
24595         (cosh_test_towardzero): Likewise.
24596         (cosh_test_downward): Likewise.
24597         (cosh_test_upward): Likewise.
24598         (sinh_test_tonearest): Likewise.
24599         (sinh_test_towardzero): Likewise.
24600         (sinh_test_downward): Likewise.
24601         (sinh_test_upward): Likewise.
24602         (main): Call the new functions.
24603         * sysdeps/i386/fpu/libm-test-ulps: Update.
24604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24606 2012-03-05  Tom de Vries  <tom@codesourcery.com>
24608         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
24609         default stack guard is set in last bytes.
24610         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
24612 2012-03-05  Kees Cook  <keescook@chromium.org>
24614         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
24616         [BZ #13656]
24617         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
24618         possibly allocate from heap instead of stack.
24619         * stdio-common/bug-vfprintf-nargs.c: New file.
24620         * stdio-common/Makefile (tests): Add nargs overflow test.
24622 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
24624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24626 2012-03-03  Marek Polacek  <polacek@redhat.com>
24628         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
24629         * math/math_private.h: Likewise.
24630         * stdlib/tst-strtod.c: Likewise.
24631         * sysdeps/i386/i486/bits/atomic.h: Likewise.
24632         * sysdeps/x86_64/bits/atomic.h: Likewise.
24634 2012-03-02  David S. Miller  <davem@davemloft.net>
24636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
24637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
24638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
24639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
24640         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
24641         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
24642         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
24643         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
24645 2012-03-02  Roland McGrath  <roland@hack.frob.com>
24647         [BZ #13792]
24648         * manual/examples/README: New file, says the example source files
24649         can be used under GPL>=2.
24650         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
24651         line containing just "*/".
24652         * manual/examples/add.c: Add copyright header (GPL>=2).
24653         * manual/examples/argp-ex1.c: Likewise.
24654         * manual/examples/argp-ex2.c: Likewise.
24655         * manual/examples/argp-ex3.c: Likewise.
24656         * manual/examples/argp-ex4.c: Likewise.
24657         * manual/examples/atexit.c: Likewise.
24658         * manual/examples/db.c: Likewise.
24659         * manual/examples/dir.c: Likewise.
24660         * manual/examples/dir2.c: Likewise.
24661         * manual/examples/execinfo.c: Likewise.
24662         * manual/examples/filecli.c: Likewise.
24663         * manual/examples/filesrv.c: Likewise.
24664         * manual/examples/fmtmsgexpl.c: Likewise.
24665         * manual/examples/genpass.c: Likewise.
24666         * manual/examples/inetcli.c: Likewise.
24667         * manual/examples/inetsrv.c: Likewise.
24668         * manual/examples/isockad.c: Likewise.
24669         * manual/examples/longopt.c: Likewise.
24670         * manual/examples/memopen.c: Likewise.
24671         * manual/examples/memstrm.c: Likewise.
24672         * manual/examples/mkfsock.c: Likewise.
24673         * manual/examples/mkisock.c: Likewise.
24674         * manual/examples/mygetpass.c: Likewise.
24675         * manual/examples/pipe.c: Likewise.
24676         * manual/examples/popen.c: Likewise.
24677         * manual/examples/rprintf.c: Likewise.
24678         * manual/examples/search.c: Likewise.
24679         * manual/examples/select.c: Likewise.
24680         * manual/examples/setjmp.c: Likewise.
24681         * manual/examples/sigh1.c: Likewise.
24682         * manual/examples/sigusr.c: Likewise.
24683         * manual/examples/stpcpy.c: Likewise.
24684         * manual/examples/strdupa.c: Likewise.
24685         * manual/examples/strftim.c: Likewise.
24686         * manual/examples/strncat.c: Likewise.
24687         * manual/examples/subopt.c: Likewise.
24688         * manual/examples/swapcontext.c: Likewise.
24689         * manual/examples/termios.c: Likewise.
24690         * manual/examples/testopt.c: Likewise.
24691         * manual/examples/testpass.c: Likewise.
24692         * manual/examples/timeval_subtract.c: Likewise.
24694         [BZ #13792]
24695         * manual/time.texi (Elapsed Time): Move timeval_subtract example
24696         function to ...
24697         * manual/timeval_subtract.c.texi: ... here, new file.
24699 2012-03-02  David S. Miller  <davem@davemloft.net>
24701         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
24703 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
24705         [BZ #3976]
24706         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
24707         (__sin): Save and restore rounding mode and use round-to-nearest
24708         for all computations.
24709         (__cos): Save and restore rounding mode and use round-to-nearest
24710         for all computations.
24711         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
24712         <fenv.h>.
24713         (tan): Save and restore rounding mode and use round-to-nearest for
24714         all computations.
24715         * math/libm-test.inc (cos_test_tonearest): New function.
24716         (cos_test_towardzero): Likewise.
24717         (cos_test_downward): Likewise.
24718         (cos_test_upward): Likewise.
24719         (sin_test_tonearest): Likewise.
24720         (sin_test_towardzero): Likewise.
24721         (sin_test_downward): Likewise.
24722         (sin_test_upward): Likewise.
24723         (tan_test_tonearest): Likewise.
24724         (tan_test_towardzero): Likewise.
24725         (tan_test_downward): Likewise.
24726         (tan_test_upward): Likewise.
24727         (main): Call the new functions.
24728         * sysdeps/i386/fpu/libm-test-ulps: Update.
24729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24731         [BZ #10135]
24732         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
24733         small n, then large n, before computing and testing k+n.
24734         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
24735         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
24736         Likewise.
24737         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
24738         Likewise.
24739         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
24740         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
24741         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
24742         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
24743         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24744         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24745         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
24746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
24747         * math/libm-test.inc (scalbn_test): Add more tests.
24748         (scalbln_test): Likewise.
24750         * manual/filesys.texi (mode_t): Describe constraints on size and
24751         signedness, not exact equivalence to a particular type.
24752         (ino_t): Likewise.
24753         (ino64_t): Likewise.
24754         (dev_t): Likewise.
24755         (nlink_t): Likewise.
24756         (blkcnt_t): Likewise.
24757         (blkcnt64_t): Likewise.
24758         * manual/llio.texi (off_t): Likewise.
24760         [BZ #3976]
24761         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
24762         (__ieee754_exp): Save and restore rounding mode and use
24763         round-to-nearest for all computations.
24764         * math/libm-test.inc (exp_test_tonearest): New function.
24765         (exp_test_towardzero): Likewise.
24766         (exp_test_downward): Likewise.
24767         (exp_test_upward): Likewise.
24768         (main): Call the new functions.
24769         * sysdeps/i386/fpu/libm-test-ulps: Update.
24770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24772 2012-03-01  Chris Demetriou  <cgd@google.com>
24774         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
24775         have predictable order.
24777 2012-03-01  David S. Miller  <davem@davemloft.net>
24779         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
24781         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
24782         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
24783         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
24784         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
24786         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
24787         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
24788         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
24789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
24790         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
24791         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
24792         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
24793         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
24794         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
24796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24798         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
24799         * sysdeps/sparc/fpu/libm-test-ulps: to here.
24800         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
24802         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
24803         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
24804         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
24805         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
24806         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
24807         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
24808         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
24809         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
24810         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
24811         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
24812         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
24813         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
24814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
24815         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
24816         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24818         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
24819         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
24820         * sysdeps/sparc/elf/configure: Regenerated.
24822 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
24824         * configure.in (AS, LD): Require binutils 2.20 or later.
24825         * configure: Regenerated.
24826         * manual/install.texi (Tools for Compilation): Give binutils 2.20
24827         as required minimum version.
24828         * INSTALL: Regenerated.
24830         [BZ #2541]
24831         [BZ #4108]
24832         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
24833         before squaring exponent.
24834         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
24835         bottom long double and 27 bits of top long double before squaring
24836         exponent.
24837         * math/libm-test.inc (erfc_test): Add more tests.
24838         * sysdeps/i386/fpu/libm-test-ulps: Update.
24839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24842 2012-03-01  Kai Tietz  <ktietz@redhat.com>
24844         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
24845         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
24846         containing bit-fields.
24847         * soft-fp/extended.h (_FP_UNION_E): Likewise.
24848         * soft-fp/single.h (_FP_UNION_S): Likewise.
24849         * soft-fp/double.h (_FP_UNION_D): Likewise.
24851 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24853         [BZ #13786]
24854         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
24855         not include ../strcmp.S.
24856         [USE_AS_STRNCASECMP_L]: Likewise.
24857         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
24858         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
24859         * sysdeps/i386/i686/multiarch/strncase_l-c.c
24860         (__strncasecmp_l_ia32): Define as alias to
24861         __strncasecmp_l_nonascii.
24863         [BZ #5794]
24864         * math/libm-test.inc (expm1_test): Add test for bug 5794.
24865         * sysdeps/i386/fpu/libm-test-ulps: Update.
24866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24868         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
24869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24871 2012-02-29  Jeff Law  <law@redhat.com>
24873         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
24874         out of bounds read.
24876 2012-02-29  Marek Polacek  <polacek@redhat.com>
24878         [BZ #13706]
24879         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
24880         * elf/Makefile: Add rules to run tst-unused-dep.out.
24882 2012-02-28  David S. Miller  <davem@davemloft.net>
24884         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
24885         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
24886         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
24887         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
24888         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
24889         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
24891 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
24893         * math/libm-test.inc (llround_test): Move one test from
24894         lround_test.  Use TEST_f_L in moved test.
24895         (lround_test): Move misplaced test to llround_test.  Add testcase
24896         from bug 2561.
24898 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
24900         * sysdeps/x86_64/fpu/e_expf.S: New file.
24901         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
24903 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
24905         [BZ #13637]
24906         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
24907         of remain_len that may cause incomplete multi-byte character and
24908         false match.
24909         * posix/bug-regex33.c: New file.
24910         * posix/Makefile (tests): Add bug-regex33.
24912 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
24914         * manual/macros.texi: New file.
24915         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
24916         * manual/libc.texinfo: Include macros.texi.
24917         * manual/creatute.texi: Likewise.
24918         * manual/install.texi: Likewise.
24919         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
24920         @glibcadj{} in references to the GNU C Library.
24921         * manual/charset.texi: Likewise.
24922         * manual/conf.texi: Likewise.
24923         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
24924         when not using those macros.
24925         * manual/creature.texi: Likewise.
24926         * manual/crypt.texi: Likewise.
24927         * manual/errno.texi: Likewise.
24928         * manual/filesys.texi: Likewise.
24929         * manual/header.texi: Likewise.
24930         * manual/install.texi: Likewise.
24931         * manual/intro.texi: Likewise.
24932         * manual/io.texi: Likewise.
24933         * manual/job.texi: Likewise.
24934         * manual/lang.texi: Likewise.
24935         * manual/libc.texiinfo: Likewise.
24936         * manual/llio.texi: Likewise.
24937         * manual/locale.texi: Likewise.
24938         * manual/maint.texi: Likewise.
24939         * manual/math.texi: Likewise.
24940         * manual/memory.texi: Likewise.
24941         * manual/message.texi: Likewise.
24942         * manual/nss.texi: Likewise.
24943         * manual/pattern.texi: Likewise.
24944         * manual/process.texi: Likewise.
24945         * manual/resource.texi: Likewise.
24946         * manual/search.texi: Likewise.
24947         * manual/setjmp.texi: Likewise.
24948         * manual/signal.texi: Likewise.
24949         * manual/socket.texi: Likewise.
24950         * manual/startup.texi: Likewise.
24951         * manual/stdio.texi: Likewise.
24952         * manual/string.texi: Likewise.
24953         * manual/sysinfo.texi: Likewise.
24954         * manual/syslog.texi: Likewise.
24955         * manual/terminal.texi: Likewise.
24956         * manual/time.texi: Likewise.
24957         * manual/users.texi: Likewise.
24958         * INSTALL: Regenerated.
24959         * NOTES: Regenerated.
24960         * sysdeps/gnu/errlist.c: Regenerated.
24962 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
24964         * include/dirent.h: Include <dirstream.h> before
24965         <dirent/dirent.h>.
24967 2012-02-28  David S. Miller  <davem@davemloft.net>
24969         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
24970         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
24971         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
24972         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
24974 2012-02-27  David S. Miller  <davem@davemloft.net>
24976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
24977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
24978         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
24979         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
24981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
24982         frame pointer instead of stack pointer relative arg slot.
24983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24984         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24985         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
24987 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
24989         [BZ #3992]
24990         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
24992 2012-02-27  David S. Miller  <davem@davemloft.net>
24994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
24995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
24996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
24998         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
24999         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
25000         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
25001         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
25003 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25005         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
25006         later.  Allow versions 5-9.
25007         * configure: Regenerated.
25008         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
25009         required minimum version and 4.6 as recommended version.  Do not
25010         mention bugs in GCC 2.7 and 2.8.
25011         * INSTALL: Regenerated.
25013 2012-02-27  David S. Miller  <davem@davemloft.net>
25015         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
25016         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
25017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
25018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
25019         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
25020         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
25021         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
25022         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
25024         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
25025         manipulate bits before adding and subtracting TWO112[sx].
25026         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25028 2012-02-27  Roland McGrath  <roland@hack.frob.com>
25030         [BZ #13775]
25031         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
25032         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
25033         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
25034         being in POSIX, because they are in 1003.1-2008.
25036         * rt/tst-aio.c: Include <fcntl.h>.
25037         * rt/tst-aio7.c: Likewise.
25038         * rt/tst-aio64.c: Likewise.
25040         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
25042 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
25044         * manual/install.texi (--with-headers): Describe headers as
25045         interface headers, not private headers.
25046         (Specific advice for GNU/Linux systems): Describe use of headers
25047         from "make headers_install", not private headers from older
25048         kernels.
25049         * INSTALL: Regenerated.
25050         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
25051         Change to 2.6.19.
25052         * sysdeps/unix/sysv/linux/configure: Regenerated.
25054         * manual/llio.texi (fclean): Remove documentation.
25056         * manual/Makefile (libc-texi-generated): New variable.  Include
25057         version.texi.
25058         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
25059         $(libc-texi-generated), not duplicated list of files.
25060         (version.texi, stamp-version): New rules.
25061         (realclean): Remove $(libc-texi-generated), not individual files
25062         from that list.  Do not remove dir-add.texinfo.
25063         * manual/libc.texinfo: Comment out uses of edition numbers and
25064         references to printed manual.  Remove last-updated dates.
25065         (EDITION): Comment out.
25066         (ISBN): Likewise.
25067         (VERSION, UPDATED): Remove.
25068         (version.texi): Include.
25070 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
25072         * sysdeps/posix/spawni.c: Include <signal.h>.
25073         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
25074         * sysdeps/pthread/aio_fsync.c: Likewise.
25076 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
25078         * conform/Makefile (tests): Run only when not cross-compiling and
25079         when fast-check is not defined.
25081         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
25082         * conform/data/limits.h-data: Fixes for POSIX2008.
25083         * conform/run-conformtest.sh: Run all tests.
25084         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
25085         headers.
25086         * include/bits/dlfcn.h: Likewise.
25087         * include/langinfo.h: Likewise.
25088         * include/monetary.h: Likewise.
25089         * include/sys/poll.h: Likewise.
25091         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
25092         for __USE_GNU.
25093         * posix/spawn.h: Define __need_sigset_t.
25094         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
25095         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
25096         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
25097         to get sigevent_t only.
25098         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
25099         only for __USE_GNU.
25100         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25101         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25102         process_vm_writev only for __USE_GNU.
25103         * termios/termios.h: Declare tcgetsid also for POSIX2008.
25105         * conform/Makefile: For now ignore errors from run-conformtest.
25106         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
25107         POSIX to avoid namespace pollution.  Don't prepend headers.
25108         * conform/data/aio.h-data: Fixes for POSIX testing.
25109         * conform/data/fcntl.h-data: Likewise.
25110         * conform/data/glob.h-data: Likewise.
25111         * conform/data/grp.h-data: Likewise.
25112         * conform/data/pthread.h-data: Likewise.
25113         * conform/data/pwd.h-data: Likewise.
25114         * conform/data/signal.h-data: Likewise.
25115         * conform/data/spawn.h-data: Likewise.
25116         * conform/data/stdio.h-data: Likewise.
25117         * conform/data/stdlib.h-data: Likewise.
25118         * conform/data/stropts.h-data: Likewise.
25119         * conform/data/sys/mman.h-data: Likewise.
25120         * conform/data/sys/stat.h-data: Likewise.
25121         * conform/data/sys/types.h-data: Likewise.
25122         * conform/data/sys/wait.h-data: Likewise.
25123         * conform/data/time.h-data: Likewise.
25124         * conform/data/unistd.h-data: Likewise.
25125         * conform/data/utime.h-data: Likewise.
25127         * io/sys/stat.h: fchmod was always in POSIX.
25128         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
25129         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
25130         * rt/aio.h: Define __need_timespec before including <time.h>.
25131         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
25132         struct.  Add forward declaration of pthread_attr_t and use it in
25133         sigevent.
25134         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25135         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25136         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
25137         always remove CLK_TCK definition.
25139 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
25141         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
25143 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
25145         * conform/run-conformtest.sh: New file.
25146         * conform/Makefile: Run run-conformtest for tests.
25147         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
25148         support.
25150         * conform/data/uchar.h-data: New file.
25151         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
25152         * conform/data/arpa/inet.h-data: Likewise.
25153         * conform/data/assert.h-data: Likewise.
25154         * conform/data/complex.h-data: Likewise.
25155         * conform/data/cpio.h-data: Likewise.
25156         * conform/data/ctype.h-data: Likewise.
25157         * conform/data/dirent.h-data: Likewise.
25158         * conform/data/dlfcn.h-data: Likewise.
25159         * conform/data/errno.h-data: Likewise.
25160         * conform/data/fcntl.h-data: Likewise.
25161         * conform/data/float.h-data: Likewise.
25162         * conform/data/fmtmsg.h-data: Likewise.
25163         * conform/data/fnmatch.h-data: Likewise.
25164         * conform/data/ftw.h-data: Likewise.
25165         * conform/data/glob.h-data: Likewise.
25166         * conform/data/grp.h-data: Likewise.
25167         * conform/data/iconv.h-data: Likewise.
25168         * conform/data/inttypes.h-data: Likewise.
25169         * conform/data/langinfo.h-data: Likewise.
25170         * conform/data/libgen.h-data: Likewise.
25171         * conform/data/limits.h-data: Likewise.
25172         * conform/data/locale.h-data: Likewise.
25173         * conform/data/math.h-data: Likewise.
25174         * conform/data/monetary.h-data: Likewise.
25175         * conform/data/mqueue.h-data: Likewise.
25176         * conform/data/ndbm.h-data: Likewise.
25177         * conform/data/net/if.h-data: Likewise.
25178         * conform/data/netdb.h-data: Likewise.
25179         * conform/data/netinet/in.h-data: Likewise.
25180         * conform/data/nl_types.h-data: Likewise.
25181         * conform/data/poll.h-data: Likewise.
25182         * conform/data/pthread.h-data: Likewise.
25183         * conform/data/pwd.h-data: Likewise.
25184         * conform/data/regex.h-data: Likewise.
25185         * conform/data/sched.h-data: Likewise.
25186         * conform/data/search.h-data: Likewise.
25187         * conform/data/semaphore.h-data: Likewise.
25188         * conform/data/setjmp.h-data: Likewise.
25189         * conform/data/signal.h-data: Likewise.
25190         * conform/data/spawn.h-data: Likewise.
25191         * conform/data/stdarg.h-data: Likewise.
25192         * conform/data/stdio.h-data: Likewise.
25193         * conform/data/stdlib.h-data: Likewise.
25194         * conform/data/string.h-data: Likewise.
25195         * conform/data/strings.h-data: Likewise.
25196         * conform/data/stropts.h-data: Likewise.
25197         * conform/data/sys/ipc.h-data: Likewise.
25198         * conform/data/sys/mman.h-data: Likewise.
25199         * conform/data/sys/msg.h-data: Likewise.
25200         * conform/data/sys/resource.h-data: Likewise.
25201         * conform/data/sys/select.h-data: Likewise.
25202         * conform/data/sys/sem.h-data: Likewise.
25203         * conform/data/sys/shm.h-data: Likewise.
25204         * conform/data/sys/socket.h-data: Likewise.
25205         * conform/data/sys/stat.h-data: Likewise.
25206         * conform/data/sys/statvfs.h-data: Likewise.
25207         * conform/data/sys/time.h-data: Likewise.
25208         * conform/data/sys/timeb.h-data: Likewise.
25209         * conform/data/sys/times.h-data: Likewise.
25210         * conform/data/sys/types.h-data: Likewise.
25211         * conform/data/sys/uio.h-data: Likewise.
25212         * conform/data/sys/un.h-data: Likewise.
25213         * conform/data/sys/utsname.h-data: Likewise.
25214         * conform/data/sys/wait.h-data: Likewise.
25215         * conform/data/syslog.h-data: Likewise.
25216         * conform/data/tar.h-data: Likewise.
25217         * conform/data/termios.h-data: Likewise.
25218         * conform/data/utime.h-data: Likewise.
25219         * conform/data/utmpx.h-data: Likewise.
25220         * conform/data/varargs.h-data: Likewise.
25221         * conform/data/wchar.h-data: Likewise.
25222         * conform/data/wctype.h-data: Likewise.
25223         * conform/data/wordexp.h-data: Likewise.
25225         * include/stropts.h: New file.
25226         * include/uchar.h: New file.
25227         * include/aio.h: Changes to allow conformtest.pl to use the headers.
25228         * include/assert.h: Likewise.
25229         * include/ctype.h: Likewise.
25230         * include/dirent.h: Likewise.
25231         * include/dlfcn.h: Likewise.
25232         * include/fcntl.h: Likewise.
25233         * include/fnmatch.h: Likewise.
25234         * include/glob.h: Likewise.
25235         * include/grp.h: Likewise.
25236         * include/libio.h: Likewise.
25237         * include/locale.h: Likewise.
25238         * include/math.h: Likewise.
25239         * include/net/if.h: Likewise.
25240         * include/netdb.h: Likewise.
25241         * include/netinet/in.h: Likewise.
25242         * include/pthread.h: Likewise.
25243         * include/pwd.h: Likewise.
25244         * include/regex.h: Likewise.
25245         * include/sched.h: Likewise.
25246         * include/search.h: Likewise.
25247         * include/setjmp.h: Likewise.
25248         * include/signal.h: Likewise.
25249         * include/stdio.h: Likewise.
25250         * include/stdlib.h: Likewise.
25251         * include/string.h: Likewise.
25252         * include/sys/cdefs.h: Likewise.
25253         * include/sys/mman.h: Likewise.
25254         * include/sys/msg.h: Likewise.
25255         * include/sys/resource.h: Likewise.
25256         * include/sys/select.h: Likewise.
25257         * include/sys/socket.h: Likewise.
25258         * include/sys/stat.h: Likewise.
25259         * include/sys/statvfs.h: Likewise.
25260         * include/sys/time.h: Likewise.
25261         * include/sys/times.h: Likewise.
25262         * include/sys/uio.h: Likewise.
25263         * include/sys/utsname.h: Likewise.
25264         * include/sys/wait.h: Likewise.
25265         * include/termios.h: Likewise.
25266         * include/time.h: Likewise.
25267         * include/ulimit.h: Likewise.
25268         * include/unistd.h: Likewise.
25269         * include/utime.h: Likewise.
25270         * include/wchar.h: Likewise.
25271         * include/wctype.h: Likewise.
25272         * include/wordexp.h: Likewise.
25274         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
25276         * time/time.h: TIME_UTC must be a macro.
25277         Make timespec_get available for ISO C11 only as well.
25279 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
25281         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
25282         Reported by Peng Haitao <penght@cn.fujitsu.com>.
25284 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25286         * configure.in: Use -o not -a in test for unsupported multi-arch.
25288 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25290         * manual/texinfo.tex: Update to version 2012-01-19.16.
25292 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
25294         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
25296 2012-02-24  Roland McGrath  <roland@hack.frob.com>
25298         [BZ #13738]
25299         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
25300         * manual/fdl-1.3.texi: New file.
25301         * manual/fdl-1.1.texi: File removed.
25303         [BZ #13738]
25304         * manual/libc.texinfo (FDL_VERSION): New @set.
25305         Use it for mention of FDL in cover text.
25306         (Documentation License): Use it in @include file name.
25308 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25309             Roland McGrath  <roland@hack.frob.com>
25311         [BZ #5461]
25312         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
25313         not LONG_LONG_MAX and LONG_LONG_MIN.
25314         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
25315         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
25316         name.
25317         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
25319 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25321         [BZ #2547]
25322         [BZ #11365]
25323         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
25324         manipulate bits before adding and subtracting TWO23[sx].
25325         * math/libm-test.inc (nearbyint_test): Add more tests.
25327 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25329         [BZ #2548]
25330         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
25331         bits before adding and subtracting TWO23[sx].
25332         * math/libm-test.inc (rint_test): Add more tests.
25333         (rint_test_tonearest): Likewise.
25334         (rint_test_towardzero): Likewise.
25335         (rint_test_downward): Likewise.
25336         (rint_test_upward: Likewise.
25338 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25340         [BZ #10110]
25341         * include/stdc-predef.h: New file.  Extracted from features.h.
25342         * include/features.h: Include stdc-predef.h.
25343         * Makefile (headers): Add stdc-predef.h.
25344         * CONFORMANCE (Compiler limitations): Update.
25346 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
25348         * manual/libc.texinfo (VERSION, UPDATED): Revert.
25350 2012-02-21  David S. Miller  <davem@davemloft.net>
25352         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
25353         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25355 2012-02-20  David S. Miller  <davem@davemloft.net>
25357         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
25358         using a normal save/restore sequence, rather than allocating a
25359         dummy stack frame just to store a frame pointer and restore.
25360         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25362 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25364         * manual/install.texi: Fix stray word in line-wrapped comment.
25366 2012-02-20  David S. Miller  <davem@davemloft.net>
25368         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
25369         both binutils and gcc support GOTDATA.
25371         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
25372         "rd %pc" in the PIC register setup sequences.
25374         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
25375         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
25376         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25377         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
25378         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25380         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25381         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25382         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
25383         (SYSCALL_ERROR_HANDLER): Likewise.
25384         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25385         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
25387         (SYSCALL_ERROR_HANDLER): Likewise.
25389         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
25390         (HAVE_GCC_GOTDATA): New.
25391         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
25392         relocation support in both binutils and gcc.
25393         * sysdeps/sparc/elf/configure: Regenerate.
25395         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
25396         * sysdeps/sparc/sparc32/elf/configure: Delete.
25397         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
25398         * sysdeps/sparc/sparc64/elf/configure: Delete.
25399         * sysdeps/sparc/elf/configure.in: New file.
25400         * sysdeps/sparc/elf/configure: Generate.
25402         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
25403         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
25404         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
25405         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
25406         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
25408 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25410         * manual/install.texi: Do not mention specific glibc version
25411         numbers.
25412         * manual/libc.texinfo (VERSION, UPDATED): Update.
25413         (@copying): Use @copyright{} and range of years.
25415 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
25417         [BZ #13695]
25418         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
25419         [crti.S not in sysdirs] (generated): Do not append.
25420         [crti.S not in sysdirs] (omit-deps): Likewise.
25421         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
25422         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
25423         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
25424         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
25425         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
25426         Likewise.
25427         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
25428         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
25429         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
25430         * csu/defs.awk: Remove file.
25431         * sysdeps/generic/initfini.c: Likewise.
25432         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
25433         variable.
25434         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
25435         Likewise.
25437 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25439         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
25440         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
25441         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
25442         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
25443         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25444         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
25445         <bits/epoll.h>.
25446         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
25447         (__EPOLL_PACKED): Define to empty if not defined by
25448         <bits/epoll.h>.
25449         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
25450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25451         bits/epoll.h.
25453 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25455         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
25456         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
25457         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
25458         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
25459         <bits/timerfd.h>.
25460         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
25461         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25462         bits/timerfd.h.
25464 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
25466         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
25467         in C locale.
25468         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25469         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25470         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
25471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25473 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
25475         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25476         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
25478 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
25480         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
25481         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
25482         defined.
25483         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
25484         Likewise.
25485         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
25486         entry for 2.16.
25488 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
25490         * math/w_acos.c: Use non-signaling floating-point comparisons.
25491         * math/w_acosf.c: Likewise.
25492         * math/w_acosh.c: Likewise.
25493         * math/w_acoshf.c: Likewise.
25494         * math/w_acoshl.c: Likewise.
25495         * math/w_acosl.c: Likewise.
25496         * math/w_asin.c: Likewise.
25497         * math/w_asinf.c: Likewise.
25498         * math/w_asinl.c: Likewise.
25499         * math/w_atanh.c: Likewise.
25500         * math/w_atanhf.c: Likewise.
25501         * math/w_atanhl.c: Likewise.
25502         * math/w_exp2.c: Likewise.
25503         * math/w_exp2f.c: Likewise.
25504         * math/w_exp2l.c: Likewise.
25505         * math/w_j0.c: Likewise.
25506         * math/w_j0f.c: Likewise.
25507         * math/w_j0l.c: Likewise.
25508         * math/w_j1.c: Likewise.
25509         * math/w_j1f.c: Likewise.
25510         * math/w_j1l.c: Likewise.
25511         * math/w_jn.c: Likewise.
25512         * math/w_jnf.c: Likewise.
25513         * math/w_log.c: Likewise.
25514         * math/w_log10.c: Likewise.
25515         * math/w_log10f.c: Likewise.
25516         * math/w_log10l.c: Likewise.
25517         * math/w_log2.c: Likewise.
25518         * math/w_log2f.c: Likewise.
25519         * math/w_log2l.c: Likewise.
25520         * math/w_logf.c: Likewise.
25521         * math/w_logl.c: Likewise.
25522         * math/w_sqrt.c: Likewise.
25523         * math/w_sqrtf.c: Likewise.
25524         * math/w_sqrtl.c: Likewise.
25525         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25526         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
25527         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25528         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
25529         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
25531 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25533         [BZ #9739]
25534         * manual/string.texi (strnlen): Use correct parameter name in
25535         equivalent expression.
25537 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25539         [BZ #11174]
25540         * manual/users.texi (seteuid): Consistently use neweuid for
25541         argument name.
25543 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
25545         [BZ #13704]
25546         * manual/nss.texi (Services in the NSS configuration): Correct
25547         list of services in example configuration file.
25549 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
25551         [BZ #11322]
25552         * manual/arith.texi: Remove statements about negative zero
25553         behaving identically to zero.
25555 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25557         [BZ #5993]
25558         * manual/install.texi: Do not document upgrading from libc5.
25560 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
25562         [BZ #4596]
25563         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
25565 2012-02-18  David S. Miller  <davem@davemloft.net>
25567         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
25568         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
25569         %o7 across the call.
25570         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
25571         instead.
25572         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
25573         SETUP_PIC_REG_LEAF.
25574         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25575         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
25576         * sysdeps/sparc/crtn.S: Likewise.
25578 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
25580         * aout/Makefile: Remove.
25582 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
25584         [BZ #13058]
25585         * manual/examples/argp-ex1.c (main): Format definition in GNU
25586         style.
25587         * manual/examples/argp-ex2.c (main): Likewise.
25588         * manual/examples/argp-ex3.c (main): Likewise.
25589         * manual/examples/argp-ex4.c (main): Likewise.
25590         * manual/examples/longopt.c (main): Use new-style prototype
25591         definition.
25592         * manual/examples/strncat.c (main): Specify return type and use
25593         (void) for arguments.
25594         * manual/examples/subopt.c (main): Use char **argv argument.
25596 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25598         [BZ #5077]
25599         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
25600         rounding modes.
25602 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
25604         [BZ #6907]
25605         * manual/string.texi (strchr): Change when strchrnul is
25606         recommended.
25608 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
25610         [BZ #174]
25611         * manual/locale.texi (setlocale): Document LOCPATH.
25613 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25615         [BZ #10210]
25616         * manual/process.texi (execle): Move @dots{} before last argument.
25618 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
25620         [BZ #12047]
25621         * manual/charset.texi (Generic Charset Conversion): Fix typo
25622         (LC_TYPE -> LC_CTYPE).
25624 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
25626         [BZ #5805]
25627         * manual/arith.texi (scalbn): Use @var{} on parameter names.
25628         (scalbnf): Likewise.
25629         (scalbnl): Likewise.
25630         (scalbln): Likewise.
25631         (scalblnf): Likewise.
25632         (scalblnl): Likewise.
25633         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
25634         (vwarnx): Likewise.
25635         (verr): Likewise.
25636         (verrx): Likewise.
25637         * manual/filesys.texi (telldir): Use braces around return type.
25638         * manual/llio.texi (mmap): Add space after comma.
25639         (mmap64): Likewise.
25640         * manual/math.texi (jn): Use @var{} on parameter names.
25641         (jnf): Likewise.
25642         (jnl): Likewise.
25643         (yn): Likewise.
25644         (ynf): Likewise.
25645         (ynl): Likewise.
25646         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
25647         line.
25648         * manual/resource.texi (ulimit): Use @dots{} instead of literal
25649         "...".
25650         (sched_get_priority_min): Remove semicolon on @deftypefun line.
25651         (sched_get_priority_max): Likewise.
25652         * manual/signal.texi (sigvec): Add space after comma.
25653         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
25654         names.
25655         (if_indextoname): Likewise.
25656         (if_freenameindex): Likewise.
25657         (sendto): Use ',' instead of '.' in prototype.
25658         * manual/startup.texi (syscall): Use @dots{} instead of literal
25659         "...".
25660         * manual/stdio.texi (__fpending): Separate initial words of
25661         paragraph from @deftypefun line.
25662         * manual/syslog.texi (syslog): Use @dots{} instead of literal
25663         "...".
25664         (vsyslog): Use @var{} on parameter names.
25665         * manual/terminal.texi (stty): Use @var{} on parameter names.
25666         * manual/users.texi (getutmp): Use @var{} on parameter names.
25667         (getutmpx): Likewise.
25669 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25671         [BZ #6884]
25672         * manual/stdio.texi (fopen): Fix typos in description of
25673         ",ccs=STRING".
25675 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
25677         [BZ #4026]
25678         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
25679         get clock_id definition.
25681 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
25683         [BZ #4822]
25684         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
25685         (madvise): Cast every argument to void on its own.
25687 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25689         [BZ #9902]
25690         * manual/startup.texi (Exit Status): Fix typo.
25692 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
25694         [BZ #10140]
25695         * manual/examples/argp-ex1.c: Include <stdlib.h>.
25696         * manual/examples/argp-ex2.c: Likewise.
25697         * manual/examples/argp-ex3.c: Likewise.
25699 2012-02-16  Richard Henderson  <rth@redhat.com>
25701         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
25702         * sysdeps/s390/s390-32/initfini.c: Remove.
25703         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
25704         * sysdeps/s390/s390-64/initfini.c: Remove.
25706 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25708         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
25709         compiler output for sysdeps/generic/initfini.c.
25710         * sysdeps/sh/elf/initfini.c: Remove file.
25712 2012-02-16  David S. Miller  <davem@davemloft.net>
25714         [BZ #11494]
25715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
25717         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
25718         * sysdeps/sparc/crti.S: New file.
25719         * sysdeps/sparc/crtn.S: New file.
25720         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
25721         * sysdeps/sparc/sparc64/Makefile: Likewise.
25723 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
25725         [BZ #3335]
25726         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
25728 2012-02-15  Roland McGrath  <roland@hack.frob.com>
25730         [BZ #4822]
25731         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
25733         * mach/devstream.c (cookie_io_functions_t): Macro removed.
25734         (write, read, close): Likewise.
25735         Patch by Aurelien Jarno <aurelien@aurel32.net>.
25737 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
25739         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
25740         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
25741         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
25742         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
25743         <bits/signalfd.h>.
25744         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
25745         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25746         bits/signalfd.h.
25748 2012-02-14  Marek Polacek  <polacek@redhat.com>
25750         * sysdeps/x86_64/crti.S: New file.
25751         * sysdeps/x86_64/crtn.S: New file.
25752         * sysdeps/x86_64/elf/initfini.c: Remove file.
25754 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25756         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
25757         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
25759         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
25760         <bits/inotify.h>.
25761         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
25762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25763         bits/inotify.h.
25765 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
25767         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
25768         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
25769         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
25770         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
25771         <bits/eventfd.h>.
25772         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
25773         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25774         bits/eventfd.h.
25776 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
25778         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
25779         __feraiseexcept instead of feraiseexcept.
25781         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
25782         nanosleep invocations.
25783         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
25784         strings, and add error checking for a nanosleep invocations.
25786 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
25788         Replace FSF snail mail address with URLs, as per GNU coding standards.
25789         Most of the snail mail addresses were wrong anyway, and omitting
25790         them makes the source code easier to maintain.  Almost all of the
25791         changes are to license notices and to locale LC_IDENTIFICATION
25792         addresses, except for this one:
25793         * manual/libc.texinfo: In "Published by", give the FSF's URL,
25794         not its snail mail address.
25796 2012-02-09  Richard Henderson  <rth@twiddle.net>
25798         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
25799         of kernel-features.h.
25801         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
25803 2012-02-08  Marek Polacek  <polacek@redhat.com>
25805         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
25806         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
25807         * sysdeps/gnu/_G_config.h: Likewise.
25808         * sysdeps/generic/_G_config.h: Likewise.
25810 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
25812         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
25813         tests.
25814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25816         * sysdeps/powerpc/powerpc32/crti.S: New file.
25817         * sysdeps/powerpc/powerpc32/crtn.S: New file.
25818         * sysdeps/powerpc/powerpc64/crti.S: New file.
25819         * sysdeps/powerpc/powerpc64/crtn.S: New file.
25821         * Makeconfig (have-initfini): Don't set.
25822         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
25823         * configure.in (nopic_initfini): Don't substitute.
25824         * config.h.in (HAVE_INITFINI): Don't #undef.
25825         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
25826         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
25828 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
25830         Support crti.S and crtn.S provided directly by architectures.
25831         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
25832         [crti.S in sysdirs] (omit-deps): Likewise.
25833         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
25834         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
25835         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
25836         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
25837         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
25838         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
25839         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
25840         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
25841         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
25842         compiler output for sysdeps/generic/initfini.c.
25843         * sysdeps/i386/elf/Makefile: Remove file.
25844         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
25846 2012-02-07  Marek Polacek  <polacek@redhat.com>
25848         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
25849         * sysdeps/gnu/_G_config.h: Likewise.
25850         * sysdeps/mach/hurd/_G_config.h: Likewise.
25852 2012-02-07  Marek Polacek  <polacek@redhat.com>
25854         * math/Makefile (tests): Add tst-CMPLX2.
25855         * math/tst-CMPLX2.c: New file.
25857 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
25859         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
25861         * math/libm-test.inc (jn_test): Add missing L suffix.
25863 2012-02-06  Marek Polacek  <polacek@redhat.com>
25865         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
25866         * sysdeps/i386/fpu/e_powf.S: Likewise.
25867         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25868         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25869         * sysdeps/i386/fpu/e_acosh.S: Likewise.
25870         * sysdeps/i386/fpu/e_pow.S: Likewise.
25871         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25872         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25873         * sysdeps/i386/fpu/s_expm1.S: Likewise.
25874         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25875         * sysdeps/i386/fpu/e_log2.S: Likewise.
25876         * sysdeps/i386/fpu/e_log2l.S: Likewise.
25877         * sysdeps/i386/fpu/e_scalb.S: Likewise.
25878         * sysdeps/i386/fpu/e_powl.S: Likewise.
25879         * sysdeps/i386/fpu/s_log1p.S: Likewise.
25880         * sysdeps/i386/fpu/e_log10f.S: Likewise.
25881         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25882         * sysdeps/i386/fpu/e_logl.S: Likewise.
25883         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25884         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
25885         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25886         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25887         * sysdeps/i386/fpu/e_log2f.S: Likewise.
25888         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25889         * sysdeps/i386/fpu/e_log.S: Likewise.
25890         * sysdeps/i386/fpu/s_cexp.S: Likewise.
25891         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25892         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
25893         * sysdeps/i386/fpu/e_logf.S: Likewise.
25894         * sysdeps/i386/fpu/e_log10l.S: Likewise.
25895         * sysdeps/i386/fpu/e_atanh.S: Likewise.
25896         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
25897         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25898         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25899         * sysdeps/i386/fpu/e_log10.S: Likewise.
25900         * sysdeps/i386/fpu/s_frexp.S: Likewise.
25901         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25902         * sysdeps/i386/fpu/s_asinh.S: Likewise.
25903         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25904         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25905         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25906         * sysdeps/i386/asm-syntax.h: Likewise.
25907         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25908         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25909         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25910         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
25911         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
25912         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25913         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25914         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25915         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25916         * sysdeps/powerpc/sysdep.h: Likewise.
25917         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
25918         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25920 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25922         [BZ #411]
25923         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
25925 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
25927         * sysdeps/i386/sysdep.h: Include <features.h>.
25928         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
25929         version.
25931 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
25933         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
25934         Define.
25935         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
25936         LOAD_PIC_REG_STR.
25938 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25940         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
25941         (SETUP_PIC_REG): Use GET_PC_THUNK.
25942         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
25943         macro.
25945 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25947         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
25948         for non-PIC compilation.
25949         (SETUP_PIC_REG): Add .p2align directive.
25950         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
25951         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25952         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25953         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25954         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25955         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25956         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25957         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25958         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25959         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25960         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25961         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25962         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25963         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25964         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25965         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25966         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25967         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25968         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25969         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25970         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25971         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25972         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25973         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25974         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25976         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25977         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25978         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25979         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25980         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25981         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25982         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25983         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25984         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25985         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25986         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25987         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25988         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25989         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25990         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
25994         * math/tst-CMPLX.c: Include <stdio.h>.
25996 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
25998         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
25999         float.
26000         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26001         * sysdeps/sparc/bits/mathdef.h: Likewise.
26003 2012-01-31  Marek Polacek  <polacek@redhat.com>
26005         * libio/libio.h: Don't define _PARAMS.
26006         * locale/programs/config.h: Don't define PARAMS.
26007         * stdlib/strtol_l.c: Likewise.
26008         (__strtol_l): Remove PARAMS from the prototype.
26010 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
26012         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
26013         names.  Just use the correct names.  Remove unnecessary wrapper
26014         functions.
26015         * malloc/arena.c: Likewise.
26016         * malloc/hooks.c: Likewise.
26018         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
26019         ARENA_TEST says not to.  Simplify test for creation of a new arena.
26020         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
26022 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
26024         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
26025         into tail calls.
26026         (update_get_addr): New function.
26027         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
26028         GET_ADDR_MODULE parameter.
26030 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26032         * crypt/cert.c: Remove __STDC__ conditionals.
26033         * crypt/crypt-entry.c: Likewise.
26034         * crypt/crypt_util.c: Likewise.
26035         * libio/filedoalloc.c: Likewise.
26036         * libio/fileops.c: Likewise.
26037         * libio/genops.c: Likewise.
26038         * libio/iofclose.c: Likewise.
26039         * libio/iofdopen.c: Likewise.
26040         * libio/iofopen.c: Likewise.
26041         * libio/iofopen64.c: Likewise.
26042         * libio/iogetdelim.c: Likewise.
26043         * libio/iopopen.c: Likewise.
26044         * libio/obprintf.c: Likewise.
26045         * libio/oldfileops.c: Likewise.
26046         * libio/oldiofclose.c: Likewise.
26047         * libio/oldiofdopen.c: Likewise.
26048         * libio/oldiofopen.c: Likewise.
26049         * libio/oldiopopen.c: Likewise.
26050         * libio/wfiledoalloc.c: Likewise.
26051         * libio/wgenops.c: Likewise.
26052         * locale/programs/xmalloc.c: Likewise.
26053         * misc/syslog.c: Likewise.
26054         * stdio-common/xbug.c: Likewise.
26055         * string/memchr.c: Likewise.
26056         * string/memcmp.c: Likewise.
26057         * string/memrchr.c: Likewise.
26058         * string/rawmemchr.c: Likewise.
26059         * sysdeps/posix/getcwd.c: Likewise.
26060         * time/strftime_l.c: Likewise.
26062 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
26064         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
26065         * config.make.in (config-cflags-sse2avx): Define.
26066         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
26067         Fix typo.
26069 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
26071         * scripts/config.guess: Update from upstream config git repository.
26072         * scripts/config.sub: Likewise.
26074 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
26076         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
26077         (EM_NUM): Update.
26078         (R_TILEPRO_*, R_TILEGX_*): New macros.
26080         * scripts/firstversions.awk: Fix bug in version range handling.
26082         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
26084         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
26086         * include/sys/epoll.h: New file.
26087         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
26088         libc_hidden_def.
26090 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
26092         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
26093         Avoid unnecessary __WORDSIZE == 64 test.
26094         (fmaxf): Use VEX format if possible.
26095         (fmax): Likewise.
26096         (fminf): Likewise.
26097         (fmin): Likewise.
26099         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
26100         * math/math_private.h: Remove libc_fegetround* and
26101         libc_fesetround*.
26102         * sysdeps/i386/configure.in: Check for -msse2avx.
26103         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
26104         also if SSE2AVX is defined.
26105         Remove libc_fegetround* and libc_fesetround*.
26106         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
26107         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
26108         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
26109         of HAS_YMM_USABLE.
26110         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26111         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26112         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26113         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26116         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
26118 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26120         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
26121         size is not set.
26122         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26124 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
26126         [BZ #13618]
26127         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
26128         relocation.
26129         * Makeconfig (libm): Define.
26130         * elf/Makefile: Add rules to build and run tst-relsort1.
26131         * elf/tst-relsort1.c: New file.
26132         * elf/tst-relsort1mod1.c: New file.
26133         * elf/tst-relsort1mod2.c: New file.
26135 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
26137         * math/s_ldexp.c: Remove __STDC__ conditionals.
26138         * math/s_ldexpf.c: Likewise.
26139         * math/s_ldexpl.c: Likewise.
26140         * math/s_nextafter.c: Likewise.
26141         * math/s_nexttowardf.c: Likewise.
26142         * math/s_significand.c: Likewise.
26143         * math/s_significandf.c: Likewise.
26144         * math/s_significandl.c: Likewise.
26145         * math/w_jnl.c: Likewise.
26146         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26147         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26148         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26149         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26150         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26151         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26152         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
26153         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26154         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26155         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26156         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26158         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26159         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26160         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26161         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26163         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26164         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26165         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26166         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26167         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26168         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26169         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26170         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26171         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26172         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26173         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26174         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26175         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26176         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26177         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26178         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26179         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26180         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26181         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26182         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26183         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26184         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26185         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26186         * sysdeps/ieee754/k_standard.c: Likewise.
26187         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26188         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26189         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26190         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26191         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26192         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26193         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26194         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26195         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26196         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26197         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26198         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26199         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26200         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26201         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26203         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26204         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26205         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26206         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26207         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26208         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26209         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26214         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26215         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26216         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26217         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26218         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
26219         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26222         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26223         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
26224         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26225         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26226         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
26227         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
26228         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26229         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26230         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
26231         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26232         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26233         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26234         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26235         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26236         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26237         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
26238         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26239         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26240         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26242         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26243         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
26244         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26245         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26246         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26247         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26248         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26249         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26250         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26251         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26252         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26253         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26254         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26255         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26256         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26257         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26258         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26259         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26262         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26263         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26264         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26265         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26266         * sysdeps/ieee754/s_matherr.c: Likewise.
26267         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26268         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26269         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26272 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26274         * crypt/md5.h: Remove __STDC__ conditionals.
26275         * libio/libioP.h: Likewise.
26276         * locale/programs/config.h: Likewise.
26277         * sysdeps/generic/sysdep.h: Likewise.
26278         * sysdeps/i386/asm-syntax.h: Likewise.
26279         * sysdeps/s390/asm-syntax.h: Likewise.
26280         * sysdeps/unix/sysdep.h: Likewise.
26281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26284 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
26286         * libio/libio.h: Remove __STDC__ conditionals.
26287         * malloc/obstack.h: Likewise.
26288         * math/complex.h: Likewise.
26289         * math/math.h: Likewise.
26290         * sysdeps/generic/_G_config.h: Likewise.
26291         * sysdeps/gnu/_G_config.h: Likewise.
26292         * sysdeps/mach/hurd/_G_config.h: Likewise.
26293         * sysdeps/powerpc/bits/mathdef.h: Likewise.
26294         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
26295         * sysdeps/sparc/bits/mathdef.h: Likewise.
26297 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
26299         [BZ #13583]
26300         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
26301         Clean up HAS_* macros.
26302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
26303         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
26304         possible.
26305         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
26306         HAS_AVX.
26307         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26308         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26309         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26310         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26311         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26313 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
26315         * elf/tst-unique3.cc (gets): Remove declaration.
26316         * elf/tst-unique3lib.cc (gets): Likewise.
26317         * elf/tst-unique3lib2.cc (gets): Likewise.
26318         * elf/tst-unique4.cc (gets): Likewise.
26320 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
26322         * include/stdio.h: Add C++ protection.  Add gets declarations and
26323         definitions.
26324         * debug/tst-chk1.c: Don't declare gets here.
26325         * stdio-common/tst-gets.c: Likewise.
26327 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26329         * posix/glob: Remove directory.
26331 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
26333         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
26335 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
26337         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
26338         of the non-standard EPFNOSUPPORT.
26340 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26342         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
26343         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
26344         ANYWHERE set to 1 only on KERN_NO_SPACE error.
26346 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
26348         * wcsmbs/uchar.h: Test __STDC_VERSION__.
26350 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
26352         * nscd/aicache.c (addhstaiX): Do not cache negative results of
26353         transient errors.
26354         * nscd/grpcache.c (cache_addgr): Likewise.
26355         * nscd/hstcache.c (cache_addhst): Likewise.
26356         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26357         * nscd/pwdcache.c (cache_addpw): Likewise.
26358         * nscd/servicescache.c (cache_addserv): Likewise.
26360 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
26362         * malloc/malloc.c: Various cleanups.
26363         * malloc/hooks.c: Likewise.
26365         * stdlib/Makefile (tests): Add bug-fmtmsg1.
26366         * stdlib/bug-fmtmsg1.c: New file.
26368         * stdlib/fmtmsg.c (init): Add missing unlock.
26369         Patch by Peng Haitao <penght@cn.fujitsu.com>.
26371 2012-01-12  Marek Polacek  <polacek@redhat.com>
26373         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
26374         and _GNU_SOURCE.
26376 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
26378         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
26379         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
26380         macro to ensure uniqueness of label name.
26381         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
26382         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
26384 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
26386         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
26388         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
26389         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26390         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26391         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
26393 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
26395         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
26397         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
26398         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26399         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26401         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
26403         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
26404         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26405         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
26408         * math/bits/math-finite.h: Add ldexp support.
26410 2012-01-10  Marek Polacek  <polacek@redhat.com>
26412         * locale/programs/localedef.h (show_archive_content): Add noreturn
26413         attribute.
26415 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
26417         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
26419 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26421         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
26423         * io/Makefile (headers): Add bits/poll2.h.
26425 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
26427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
26428         typo #include statement.
26430 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26432         * include/sys/cdefs.h: Define __attribute_alloc_size.
26433         * catgets/gencat.c: Add alloc_size attribute and apply consistently
26434         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
26435         * elf/pldd.c: Likewise.
26436         * iconv/iconv_charmap.c: Likewise.
26437         * iconv/iconvconfig.c: Likewise.
26438         * iconv/strtab.c: Likewise.
26439         * locale/programs/locale.c: Likewise.
26440         * locale/programs/localedef.h: Likewise.
26441         * locale/programs/simple-hash.c: Likewise.
26442         * nscd/nscd.h: Likewise.
26443         * nss/makedb.c: Likewise.
26444         * sysdeps/generic/ldconfig.h: Likewise.
26445         * locale/programs/localedef.c: Remove xmalloc prototype.
26446         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
26448 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26450         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
26451         appropriate.
26453 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
26455         * math/Makefile (tests): Add tst-CMPLX.
26456         * math/tst-CMPLX.c: New file.
26458         * math/complex.h (CMPLXL): Fix typo.
26460         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
26461         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
26462         GLIBC_2.16.
26463         * debug/tst-chk1.c: Add poll and ppoll tests.
26464         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
26465         * include/sys/poll.h: Add hidden proto for ppoll.
26466         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
26467         * sysdeps/mach/hurd/ppoll.c: Likewise.
26468         * io/ppoll.c: Likewise.
26469         * debug/poll_chk.c: New file.
26470         * debug/ppoll_chk.c: New file.
26471         * include/bits/poll2.h: New file.
26472         * io/bits/poll2.h: New file.
26474         [BZ #1350]
26475         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
26477         * configure.in: static is always set to yes.  Remove.
26478         * config.make.in: Don't set build-static.
26479         * Makeconfig: Remove use of build-static.
26480         * dlfcn/Makefile: Likewise.
26481         * elf/Makefile: Likewise.
26482         * math/Makefile: Likewise.
26483         * misc/Makefile: Likewise.
26484         * nptl/Makefile: Likewise.
26485         * sysdeps/mach/hurd/Makefile: Likewise.
26487         * configure.in: PWD_P is not used anymore.
26488         * config.make.in: Remove PWD_P entry.
26490         * configure.in: Remove last remnants of RANLIB.
26491         No need to check for signed size_t anymore.
26492         Don't set libc_commonpagesize and libc_relro_required here for Alpha
26493         and IA-64.
26494         Remove __builtin_expect test because we require at least gcc 3.4.
26495         * aclocal.m4: Likewise.
26497         * wcsmbs/mbrtoc16.c: Implement using towc function.
26498         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
26499         * wcsmbs/wcsmbsload.c: Likewise.
26500         * iconv/gconv_simple.c: Likewise.
26501         * iconv/gconv_int.h: Likewise.
26502         * iconv/gconv_builtin.h: Likewise.
26503         * iconv/iconv_prog.c: Remove CHAR16 handling.
26505         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
26507         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
26509         * configure.in: Remove --with-elf and --enable-bounded options.
26510         Dont set base_machine for ia64.  More non-ELF conditions removed.
26511         Remove testing and setting of leading underscore information.
26512         * config.make.in (build-bounded): Set to no.
26513         * config.h.in: Remove NO_UNDERSCORES entry.
26514         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
26515         them.
26516         * csu/start.c: Remove !NO_UNDERSCORE code.
26517         * locale/localeinfo.h: Likewise.
26518         * sysdeps/generic/machine-gmon.h: Likewise.
26519         * sysdeps/generic/sysdep.h: Likewise.
26520         * sysdeps/i386/sysdep.h: Likewise.
26521         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26522         * sysdeps/mach/sysdep.h: Likewise.
26523         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26524         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26525         * sysdeps/sh/sysdep.h: Likewise.
26526         * sysdeps/sparc/sparc32/alloca.S: Likewise.
26527         * sysdeps/unix/i386/sysdep.S: Likewise.
26528         * sysdeps/unix/sparc/start.c: Likewise.
26529         * sysdeps/unix/sparc/sysdep.S: Likewise.
26530         * sysdeps/unix/sparc/sysdep.h: Likewise.
26531         * sysdeps/unix/start.c: Likewise.
26532         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26533         * sysdeps/x86_64/sysdep.h: Likewise.
26535 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
26537         [BZ #13553]
26538         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
26539         for non-gcc.
26540         * argp/argp-fmtstream.h: Use const instead __const.
26541         * argp/argp.h: Likewise.
26542         * assert/assert.h: Likewise.
26543         * bits/fenv.h: Likewise.
26544         * bits/sched.h: Likewise.
26545         * bits/sigset.h: Likewise.
26546         * bits/sigthread.h: Likewise.
26547         * catgets/nl_types.h: Likewise.
26548         * conform/data/pthread.h-data: Likewise.
26549         * crypt/crypt-private.h: Likewise.
26550         * crypt/crypt.h: Likewise.
26551         * crypt/crypt_util.c: Likewise.
26552         * ctype/ctype.h: Likewise.
26553         * debug/execinfo.h: Likewise.
26554         * debug/mbsnrtowcs_chk.c: Likewise.
26555         * debug/mbsrtowcs_chk.c: Likewise.
26556         * debug/wcsnrtombs_chk.c: Likewise.
26557         * debug/wcsrtombs_chk.c: Likewise.
26558         * debug/wcstombs_chk.c: Likewise.
26559         * dirent/dirent.h: Likewise.
26560         * dlfcn/dlfcn.h: Likewise.
26561         * elf/neededtest4.c: Likewise.
26562         * grp/grp.h: Likewise.
26563         * gshadow/gshadow.h: Likewise.
26564         * iconv/gconv.h: Likewise.
26565         * iconv/gconv_int.h: Likewise.
26566         * iconv/gconv_simple.c: Likewise.
26567         * iconv/iconv.h: Likewise.
26568         * iconv/loop.c: Likewise.
26569         * iconv/skeleton.c: Likewise.
26570         * include/aio.h: Likewise.
26571         * include/aliases.h: Likewise.
26572         * include/argz.h: Likewise.
26573         * include/arpa/inet.h: Likewise.
26574         * include/assert.h: Likewise.
26575         * include/dirent.h: Likewise.
26576         * include/dlfcn.h: Likewise.
26577         * include/execinfo.h: Likewise.
26578         * include/fcntl.h: Likewise.
26579         * include/fenv.h: Likewise.
26580         * include/glob.h: Likewise.
26581         * include/grp.h: Likewise.
26582         * include/libintl.h: Likewise.
26583         * include/mntent.h: Likewise.
26584         * include/netdb.h: Likewise.
26585         * include/pwd.h: Likewise.
26586         * include/rpc/netdb.h: Likewise.
26587         * include/sched.h: Likewise.
26588         * include/search.h: Likewise.
26589         * include/shadow.h: Likewise.
26590         * include/signal.h: Likewise.
26591         * include/stdio.h: Likewise.
26592         * include/stdlib.h: Likewise.
26593         * include/string.h: Likewise.
26594         * include/sys/socket.h: Likewise.
26595         * include/sys/stat.h: Likewise.
26596         * include/sys/statfs.h: Likewise.
26597         * include/sys/statvfs.h: Likewise.
26598         * include/sys/syslog.h: Likewise.
26599         * include/sys/time.h: Likewise.
26600         * include/sys/uio.h: Likewise.
26601         * include/time.h: Likewise.
26602         * include/unistd.h: Likewise.
26603         * include/utmp.h: Likewise.
26604         * include/wchar.h: Likewise.
26605         * include/wctype.h: Likewise.
26606         * inet/aliases.h: Likewise.
26607         * inet/arpa/inet.h: Likewise.
26608         * inet/netinet/ether.h: Likewise.
26609         * inet/netinet/in.h: Likewise.
26610         * intl/libintl.h: Likewise.
26611         * io/bits/fcntl2.h: Likewise.
26612         * io/fcntl.h: Likewise.
26613         * io/ftw.h: Likewise.
26614         * io/sys/poll.h: Likewise.
26615         * io/sys/stat.h: Likewise.
26616         * io/sys/statfs.h: Likewise.
26617         * io/sys/statvfs.h: Likewise.
26618         * io/utime.h: Likewise.
26619         * libio/bits/stdio.h: Likewise.
26620         * libio/bits/stdio2.h: Likewise.
26621         * libio/libio.h: Likewise.
26622         * libio/libioP.h: Likewise.
26623         * libio/stdio.h: Likewise.
26624         * locale/lc-ctype.c: Likewise.
26625         * locale/locale.h: Likewise.
26626         * login/utmp.h: Likewise.
26627         * malloc/arena.c: Likewise.
26628         * malloc/malloc.c: Likewise.
26629         * malloc/malloc.h: Likewise.
26630         * malloc/mcheck.c: Likewise.
26631         * malloc/mtrace.c: Likewise.
26632         * math/bits/mathcalls.h: Likewise.
26633         * math/fenv.h: Likewise.
26634         * math/math_private.h: Likewise.
26635         * misc/bits/error.h: Likewise.
26636         * misc/bits/syslog.h: Likewise.
26637         * misc/err.h: Likewise.
26638         * misc/error.h: Likewise.
26639         * misc/fstab.h: Likewise.
26640         * misc/mntent.h: Likewise.
26641         * misc/regexp.h: Likewise.
26642         * misc/search.h: Likewise.
26643         * misc/sgtty.h: Likewise.
26644         * misc/sys/mman.h: Likewise.
26645         * misc/sys/syslog.h: Likewise.
26646         * misc/sys/uio.h: Likewise.
26647         * misc/sys/xattr.h: Likewise.
26648         * misc/ttyent.h: Likewise.
26649         * nis/rpcsvc/ypclnt.h: Likewise.
26650         * nss/nss.h: Likewise.
26651         * posix/bits/unistd.h: Likewise.
26652         * posix/fnmatch.h: Likewise.
26653         * posix/glob.h: Likewise.
26654         * posix/sched.h: Likewise.
26655         * posix/spawn.h: Likewise.
26656         * posix/sys/wait.h: Likewise.
26657         * posix/unistd.h: Likewise.
26658         * posix/wordexp.h: Likewise.
26659         * pwd/pwd.h: Likewise.
26660         * resolv/netdb.h: Likewise.
26661         * resource/sys/resource.h: Likewise.
26662         * rt/aio.h: Likewise.
26663         * rt/bits/mqueue2.h: Likewise.
26664         * rt/mqueue.h: Likewise.
26665         * shadow/shadow.h: Likewise.
26666         * signal/signal.h: Likewise.
26667         * socket/send.c: Likewise.
26668         * socket/sendto.c: Likewise.
26669         * socket/sys/socket.h: Likewise.
26670         * stdio-common/printf.h: Likewise.
26671         * stdlib/bits/stdlib.h: Likewise.
26672         * stdlib/fmtmsg.h: Likewise.
26673         * stdlib/monetary.h: Likewise.
26674         * stdlib/stdlib.h: Likewise.
26675         * stdlib/ucontext.h: Likewise.
26676         * streams/stropts.h: Likewise.
26677         * string/argz.h: Likewise.
26678         * string/bits/string2.h: Likewise.
26679         * string/string.h: Likewise.
26680         * string/strings.h: Likewise.
26681         * sunrpc/rpc/auth.h: Likewise.
26682         * sunrpc/rpc/auth_des.h: Likewise.
26683         * sunrpc/rpc/clnt.h: Likewise.
26684         * sunrpc/rpc/netdb.h: Likewise.
26685         * sunrpc/rpc/pmap_clnt.h: Likewise.
26686         * sunrpc/rpc/xdr.h: Likewise.
26687         * sysdeps/generic/inttypes.h: Likewise.
26688         * sysdeps/generic/net/if.h: Likewise.
26689         * sysdeps/generic/sys/swap.h: Likewise.
26690         * sysdeps/gnu/net/if.h: Likewise.
26691         * sysdeps/gnu/utmpx.h: Likewise.
26692         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
26693         * sysdeps/i386/i486/bits/string.h: Likewise.
26694         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
26695         * sysdeps/s390/bits/string.h: Likewise.
26696         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
26697         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
26698         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
26699         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
26700         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
26701         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
26702         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
26703         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
26704         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
26705         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
26706         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
26707         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26708         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
26709         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26710         * sysdeps/unix/sysv/linux/readv.c: Likewise.
26711         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
26712         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26714         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26715         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26716         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
26717         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
26718         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
26719         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
26720         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
26721         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
26722         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
26723         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26724         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
26725         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
26726         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
26727         * sysvipc/sys/ipc.h: Likewise.
26728         * sysvipc/sys/msg.h: Likewise.
26729         * sysvipc/sys/sem.h: Likewise.
26730         * sysvipc/sys/shm.h: Likewise.
26731         * termios/termios.h: Likewise.
26732         * time/sys/time.h: Likewise.
26733         * time/time.h: Likewise.
26734         * wcsmbs/bits/wchar2.h: Likewise.
26735         * wcsmbs/uchar.h: Likewise.
26736         * wcsmbs/wchar.h: Likewise.
26737         * wctype/wctype.h: Likewise.
26739         [BZ #13551]
26740         * Makeconfig: Remove all but ELF support including AIX support.
26741         * Makerules: Likewise.
26742         * config.h.in: Likewise.
26743         * config.make.in: Likewise.
26744         * configure: Likewise.
26745         * configure.in: Likewise.
26746         * csu/Makefile: Likewise.
26747         * csu/version.c: Likewise.
26748         * debug/Makefile: Likewise.
26749         * dlfcn/Makefile: Likewise.
26750         * elf/Makefile: Likewise.
26751         * extra-lib.mk: Likewise.
26752         * iconv/Makefile: Likewise.
26753         * include/libc-symbols.h: Likewise.
26754         * include/shlib-compat.h: Likewise.
26755         * resolv/Makefile: Likewise.
26756         * resolv/res_libc.c: Likewise.
26757         * rt/Makefile: Likewise.
26758         * sysdeps/i386/asm-syntax.h: Likewise.
26759         * sysdeps/i386/sysdep.h: Likewise.
26760         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
26761         * sysdeps/mach/sysdep.h: Likewise.
26762         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
26763         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
26764         * sysdeps/s390/asm-syntax.h: Likewise.
26765         * sysdeps/s390/s390-32/sysdep.h: Likewise.
26766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26767         * sysdeps/sh/sysdep.h: Likewise.
26768         * sysdeps/unix/sparc/sysdep.h: Likewise.
26769         * sysdeps/wordsize-32/divdi3.c: Likewise.
26770         * sysdeps/x86_64/sysdep.h: Likewise.
26772         * argp/Versions: Remove _argp_unlock_xxx.
26774         [BZ #13559]
26775         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
26776         * abilist/libBrokenLocale.abilist: Likewise.
26777         * abilist/libanl.abilist: Likewise.
26778         * abilist/libc.abilist: Likewise.
26779         * abilist/libcrypt.abilist: Likewise.
26780         * abilist/libdl.abilist: Likewise.
26781         * abilist/libm.abilist: Likewise.
26782         * abilist/libnsl.abilist: Likewise.
26783         * abilist/libpthread.abilist: Likewise.
26784         * abilist/libresolv.abilist: Likewise.
26785         * abilist/librt.abilist: Likewise.
26786         * abilist/libthread_db.abilist: Likewise.
26787         * abilist/libutil.abilist: Likewise.
26788         * abilist/libnss_db.abilist: New file.
26790         * scripts/abilist.awk: Add support for indirect functions.
26792         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
26794         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
26796         * shlib-versions: Remove entries for ports architectures.
26798         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
26799         files in ports.
26800         * elf/stackguard-macros.h: Remove support for IA-64.
26801         * elf/tst-auditmod1.c: Likewise.
26802         * sysdeps/generic/ldsodefs.h: Likewise.
26804         * sysdeps/unix/sysv/linux/configure.in: Ports should define
26805         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
26806         configure files.
26808         [BZ #13552]
26809         * configure.in: Remove --enable-omitfp support.
26810         * FAQ.in: Adjust.
26811         * config.make.in: Likewise.
26812         * Makeconfig: Likewise.
26813         * manual/install.texi: Likewise.
26815         In case anyone cares, the IA-64 architecture could move to ports.
26816         * sysdeps/ia64/*: Removed.
26817         * sysdeps/unix/sysv/linux/ia64/*: Removed.
26818         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
26820         [BZ #13555]
26821         * configure.in: Remove entries for unsupported architectures.
26823         [BZ #13533]
26824         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
26825         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
26826         routines.
26827         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
26828         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
26829         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
26830         fall back to using wcrtomb.
26831         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
26832         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
26833         renaming.
26834         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
26835         * wcsmbs/tst-c16c32-1.c: New file.
26837         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
26838         local variable.
26840         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
26842         * elf/tst-unique3.cc: Add explicit declaration of gets.
26843         * elf/tst-unique3lib.cc: Likewise.
26844         * elf/tst-unique3lib2.cc: Likewise.
26845         * elf/tst-unique4.cc: Likewise.
26847         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
26849 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #13566]
26852         * assert/assert.h (static_assert): Don't define for C++.
26853         * libio/stdio.h (gets): Do declare for C++ <= C++11.
26854         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
26856 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
26858         * iconv/loop.c (single loop): Fix assertion in storing of
26859         remaining bytes.
26861         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
26863 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
26865         * posix/getconf.c: Update copyright year.
26866         * nss/getent.c: Likewise.
26867         * nss/makedb.c: Likewise.
26868         * iconv/iconvconfig.c: Likewise.
26869         * iconv/iconv_prog.c: Likewise.
26870         * elf/ldconfig.c: Likewise.
26871         * elf/pldd.c: Likewise.
26872         * elf/sotruss.ksh: Likewise.
26873         * catgets/gencat.c: Likewise.
26874         * csu/version.c: Likewise.
26875         * elf/ldd.bash.in: Likewise.
26876         * elf/sprof.c (print_version): Likewise.
26877         * locale/programs/locale.c: Likewise.
26878         * locale/programs/localedef.c: Likewise.
26879         * login/programs/pt_chown.c: Likewise.
26880         * nscd/nscd.c (print_version): Likewise.
26881         * debug/xtrace.sh: Likewise.
26882         * malloc/memusage.sh: Likewise.
26883         * malloc/mtrace.pl: Likewise.
26884         * debug/catchsegv.sh: Likewise.
26886 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
26888         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
26889         pure attribute.
26891 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
26893         [BZ #13533]
26894         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
26895         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
26896         transformations.
26897         * iconv/gconv_int.h: Likewise.
26898         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
26899         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
26900         from libc for GLIBC_2.16.
26901         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
26902         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
26903         * wcsmbs/uchar.h: Really define mbstate_t.
26904         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
26905         * wcsmbs/c16rtomb.c: New file.
26906         * wcsmbs/mbrtoc16.c: New file.
26907         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
26908         for C/POSIX locale.
26909         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
26910         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
26912         * wcsmbs/wchar.h: Add missing __restrict.
26914 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26916         [BZ #13532]
26917         * time/Makefile (routines): Add timespec_get.
26918         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
26919         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
26920         timespec for ISO C11.
26921         * time/timespec_get.c: New file.
26922         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
26923         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
26925         [BZ #13531]
26926         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
26927         * stdlib/stdlib.h: Declare aligned_alloc.
26928         * Versions.def: Add GLIBC_2.16 for libc.
26929         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
26931         [BZ 13527]
26932         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
26933         ISO C11.
26935         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
26936         code.
26938         [BZ #13528]
26939         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
26941         [BZ #13529]
26942         * assert/assert.h (static_assert): Define.
26944         * version.h: Update for 2.16 development version.
26946         [BZ #13526]
26947         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
26948         _ISOC11_SOURCE.
26950         * version.h (RELEASE): Bump for 2.15 release.
26951         * include/features.h (__GLIBC_MINOR__): Bump to 15.
26953         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
26954         Patch by Marek Polacek <mpolacek@redhat.com>.
26956         * bits/byteswap.h: Protect long long constants with __extension__.
26957         * sysdeps/i386/bits/byteswap.h: Likewise.
26958         * sysdeps/ia64/bits/byteswap.h: Likewise.
26959         * sysdeps/s390/bits/byteswap.h: Likewise.
26960         * sysdeps/x86_64/bits/byteswap.h: Likewise.
26962 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26964         [BZ #13540]
26965         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
26966         destination buffer.
26967         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26969 2011-12-23  Marek Polacek  <polacek@redhat.com>
26971         * elf/dl-addr.c (determine_info): Add inline keyword.
26972         * elf/tst-auditmod4b.c (check_avx): Likewise.
26973         * elf/tst-auditmod6b.c (check_avx): Likewise.
26974         * elf/tst-auditmod6c.c (check_avx): Likewise.
26975         * elf/tst-auditmod7b.c (check_avx): Likewise.
26977 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
26979         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
26980         !__SSE_MATH__.
26982 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26984         [BZ #13540]
26985         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
26986         processing for last bytes.
26988 2011-08-06  Bruno Haible  <bruno@clisp.org>
26990         [BZ #13061]
26991         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
26992         U+0385, not to U+1FEE.
26994         [BZ #13062]
26995         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
26996         entry for U+00A5 U+0301.
26998 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27000         [BZ #13166]
27001         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
27002         buffer for the output is too small.
27004         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
27005         optimization.
27007         [BZ #13185]
27008         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
27009         SSE flags if possible.
27011 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27013         [BZ #13540]
27014         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
27015         processing for last bytes.
27017 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
27019         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
27020         (syscall-list-default-options, syscall-list-default-condition)
27021         (syscall-list-includes): Define.
27022         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
27023         list of ABIs and options and #if conditions for each ABI.  Do not
27024         handle common syscalls between ABIs specially.
27025         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
27026         Remove.
27027         (syscall-list-variants, syscall-list-32bit-options)
27028         (syscall-list-32bit-condition, syscall-list-64bit-options)
27029         (syscall-list-64bit-condition): Define.
27030         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
27031         (syscall-list-variants, syscall-list-32bit-options)
27032         (syscall-list-32bit-condition, syscall-list-64bit-options)
27033         (syscall-list-64bit-condition): Define.
27034         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
27035         Remove.
27036         (syscall-list-variants, syscall-list-32bit-options)
27037         (syscall-list-32bit-condition, syscall-list-64bit-options)
27038         (syscall-list-64bit-condition): Define.
27039         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
27040         Remove.
27041         (syscall-list-variants, syscall-list-32bit-options)
27042         (syscall-list-32bit-condition, syscall-list-64bit-options)
27043         (syscall-list-64bit-condition): Define.
27045 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
27047         * locale/iso-639.def: Add brx entry.
27049         [BZ #13328]
27050         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
27051         Proposed by Mariusz_Cukr <marcukr@op.pl>.
27053         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
27054         __feraiseexcept_renamed.
27056 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27058         [BZ #13538]
27059         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
27060         EPOLLET with unsigned values.
27061         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27062         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27064         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
27065         to large cancellation.
27066         * math/s_cacoshf.c: Likewise.
27067         * math/s_cacoshl.c: Likewise.
27069 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
27071         [BZ #13305]
27072         [BZ #12786]
27073         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
27074         * math/s_cacoshf.c: Likewise.
27075         * math/s_cacoshl.c: Likewise.
27077 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
27079         [BZ #13439]
27080         * iconv/gconv.h: Define __GCONV_SWAP.
27081         * iconvdata/unicode.c: The swap bit must be stored in __flags.
27082         * iconvdata/utf-16.c: Likewise.
27083         * iconvdata/utf-32.c: Likewise.
27085 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27087         [BZ #13524]
27088         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
27089         numerator after shifting it by one limb.
27091 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
27093         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
27094         under [__USE_EXTERN_INLINES].
27096 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27098         [BZ #13446]
27099         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
27101 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27103         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
27104         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
27105         optimized code.
27106         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
27107         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
27108         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
27109         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
27110         for strncasecmp/strncasecmp_l compilation.
27111         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
27112         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
27114 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
27116         [BZ #13484]
27117         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
27118         of __asm__.
27120 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
27122         [BZ #13506]
27123         * time/tzfile.c (__tzfile_read): Check values from file header.
27125 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
27127         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
27128         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
27129         * powerpc/powerpc32/dl-start.S: Likewise.
27130         * powerpc/powerpc32/elf/start.S: Likewise.
27131         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
27132         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
27133         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
27134         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
27135         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27136         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
27137         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
27138         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27139         * powerpc/powerpc32/fpu/s_round.S: Likewise.
27140         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27141         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27142         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27143         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
27144         * powerpc/powerpc32/memset.S: Likewise.
27145         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27146         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27147         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27148         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27149         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27150         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27151         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27152         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27153         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
27154         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
27155         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
27156         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27157         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27159 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27161         * math/libm-test.inc: Added more nearbyint tests.
27162         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
27163         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
27164         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
27165         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
27167 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
27169         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
27170         FD_CLOEXEC.
27172 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27174         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
27175         Add wcscpy-ssse3 wcscpy-c.
27176         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
27177         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
27178         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
27179         * sysdeps/x86_64/wcschr.S: New file.
27180         * sysdeps/x86_64/wcsrchr.S: New file.
27181         * string/test-strcmp.c: Remove checking of wcscmp function for
27182         wrong alignments.
27183         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
27184         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
27185         wcsrchr-sse2 wcsrchr-c.
27186         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
27187         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
27188         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
27189         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
27190         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
27191         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
27192         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
27193         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
27194         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
27195         * wcsmbc/wcschr.c (WCSCHR): New macro.
27197 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27199         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
27200         * wcsmbs/test-wcsrchr.c: New file.
27201         * string/test-strrchr.c: Add wcsrchr support.
27202         (WIDE): New macro.
27203         * wcsmbs/test-wcscpy.c: New file.
27204         * string/test-strcpy.c: Add wcscpy support.
27205         (WIDE): New macro.
27207 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
27209         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
27210         the inner loop.
27212 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
27214         [BZ #13472]
27215         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
27217 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
27219         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
27220         Minor optimizations.
27222         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
27223         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
27224         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27226 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
27228         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
27229         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
27230         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
27231         for gcc to avoid warnings.
27232         * inet/Makefile (tests): Add tst-checks.
27233         * inet/tst-checks.c: New file.
27235         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
27236         warning.
27238         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
27239         __wmemcmp_sse2.
27241         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
27242         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
27244         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
27246 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
27248         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
27249         problem.
27251         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
27253 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
27255         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
27256         conditional on GCC version.
27257         (__arch_compare_and_exchange_val_8_acq)
27258         (__arch_compare_and_exchange_val_16_acq)
27259         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
27260         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
27261         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
27263 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
27265         * sysdeps/sh/backtrace.c: New file.
27267 2011-12-02  Andreas Schwab  <schwab@redhat.com>
27269         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
27270         parenthesis.
27272 2011-12-01  Andreas Schwab  <schwab@redhat.com>
27274         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
27275         falling back to utime.
27277 2011-11-30  Andreas Schwab  <schwab@redhat.com>
27279         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
27280         expectations for float.
27282 2011-11-29  Andreas Schwab  <schwab@redhat.com>
27284         * locale/weight.h (findidx): Add parameter len.
27285         * locale/weightwc.h (findidx): Likewise.
27286         * posix/fnmatch_loop.c (FCT): Adjust caller.
27287         * posix/regcomp.c (build_equiv_class): Likewise.
27288         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
27289         * posix/regexec.c (check_node_accept_bytes): Likewise.
27290         * string/strcoll_l.c (STRCOLL): Likewise.
27291         * string/strxfrm_l.c (STRXFRM): Likewise.
27293 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
27295         * Makefile.in: Remove CVSOPT handling.
27296         * configure.in: Remove use of AC_REVISION.
27297         * iconvdata/Makefile (distribute): No need to filter out CVS.
27298         * scripts/list-sources.sh: Remove CVS, subversion and monotone
27299         handling.
27301 2011-11-16  Andreas Schwab  <schwab@redhat.com>
27303         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
27304         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
27305         [USE_AS_STRNCASECMP_L]: Likewise.
27306         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
27307         NO_TLS_DIRECT_SEG_REFS.
27308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
27309         Fix argument offsets for non-PIC.
27310         [USE_AS_STRNCASECMP_L]: Likewise.
27311         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
27312         NO_TLS_DIRECT_SEG_REFS.
27314 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27316         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
27317         O_CLOEXEC.
27318         * locale/loadlocale.c (_nl_load_locale): Likewise.
27320 2011-11-15  Andreas Schwab  <schwab@redhat.com>
27322         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
27323         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
27324         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
27325         (SYSCALL_GETTIME): Set errno on error.
27327         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
27328         count references to noai6ai_cached.
27330 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
27332         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
27334         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
27335         FD_CLOEXEC for /proc/self/maps.
27337         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
27338         FD_CLOEXEC for /proc/meminfo.
27340         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
27341         gai.conf.
27343         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
27344         FD_CLOEXEC for given file.
27346         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
27348         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
27349         FD_CLOEXEC for /etc/hosts.
27350         (_gethtent): Likewise.
27352         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
27354         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
27355         cancellation and set FD_CLOEXEC for /etc/netgroup.
27357         * nss/nss_files/files-key.c (search): Don't allow cancellation when
27358         reading /etc/publickey.
27360         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
27361         allow cancellation when reading /etc/group.
27363         * nss/nss_files/files-alias.c (internal_setent): Don't allow
27364         cancellation.
27365         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
27367         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
27368         when using data file.
27370         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
27372         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
27373         (write_nis_obj): Use "c" and "e" in fopen.
27375         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
27377         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
27379         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
27381         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
27383         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
27384         locale.alias.
27386         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
27388         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
27390         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
27392         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
27393         file parsing and set FD_CLOEXEC.
27395 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27397         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
27399 2011-11-14  Andreas Schwab  <schwab@redhat.com>
27401         * malloc/arena.c (arena_get2): Don't call reused_arena when
27402         _int_new_arena failed.
27404 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
27406         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
27407         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
27408         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
27409         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27410         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27411         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
27412         to compile strcasecmp and strncasecmp.
27413         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
27414         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
27416         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
27418 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
27420         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
27421         locale-defines.sym to gen-as-const-headers.
27422         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
27423         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
27424         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
27425         to compile strcasecmp and strncasecmp.
27426         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
27427         strcasecmp_l and strncasecmp_l.
27428         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
27429         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
27430         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
27431         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
27432         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
27433         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
27434         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
27435         * sysdeps/i386/i686/multiarch/strncase.S: New file.
27436         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
27437         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
27438         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
27440 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
27442         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
27443         result of SYSDEP_GETTIME_CPU to retval.
27444         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
27445         parameter list to macro.  Remove trailing semicolon.  Adjust users.
27447         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
27448         variable.
27450         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
27451         mantissa words.
27452         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27454         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
27455         from unused variable.
27457         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
27458         DWARF definitions.
27459         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
27460         for assembling.
27462         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
27463         over namespaces.
27465         * sunrpc/rpc_prot.c (rejected): Fix case value.
27467         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
27468         unsigned long long int to avoid warnings in shift.
27470         * posix/regex_internal.c (re_string_reconstruct): Actually use result
27471         of use of trans.
27472         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
27473         variable tmp.
27475         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
27476         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
27477         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
27479         * nis/nis_table.c (nis_list): Use variable of correct type for
27480         result of __follow_path call.
27482 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27484         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
27485         of math functions ceil, trunc, floor, round, and sqrt, when
27486         avaliable on the platform.
27487         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
27488         name clash.
27489         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27490         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27491         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27493 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
27495         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
27496         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
27498 2011-11-11  Roland McGrath  <roland@hack.frob.com>
27500         * include/unistd.h: Fix __readlink return type.
27501         Reported by Chris Metcalf <cmetcalf@tilera.com>.
27503 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
27505         * stdlib/ucontext.h: Undo last change for makecontext.
27507 2011-11-11  Andreas Schwab  <schwab@redhat.com>
27509         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
27511         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
27512         * setjmp/setjmp.h: Mark functions as non-leaf.
27513         * setjmp/bits/setjmp2.h: Likewise.
27514         * stdlib/ucontext.h: Likewise.
27516 2011-11-10  Andreas Schwab  <schwab@redhat.com>
27518         * malloc/arena.c (_int_new_arena): Don't increment narenas.
27519         (reused_arena): Don't check arena limit.
27520         (arena_get2): Atomically check arena limit.
27522 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
27524         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
27525         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
27527         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
27528         instructions.
27530 2011-11-07  Andreas Schwab  <schwab@redhat.com>
27532         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
27533         handler when locking.
27535         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27536         Fix size of allocated buffer.
27538 2011-11-04  Andreas Schwab  <schwab@redhat.com>
27540         [BZ #10103]
27541         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
27542         declarations for long double functions.
27543         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
27545         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
27547 2011-11-03  Andreas Schwab  <schwab@redhat.com>
27549         * nscd/nscd.c (main): Don't start AVC thread until credentials are
27550         installed.
27552         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
27553         is disabled.
27555 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27557         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
27559 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27561         * include/alloca.h (stackinfo_alloca_round): Define.
27562         (extend_alloca): Use it.
27563         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
27564         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
27565         here.
27567         * scripts/check-local-headers.sh: Ignore libaudit.h.
27569         * nscd/Makefile (extra-objs): Make recursively expanded.
27571 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
27573         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
27574         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27576         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
27577         * posix/tst-rfc3484-2.c: Likewise.
27578         * posix/tst-rfc3484-3.c: Likewise.
27580         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27581         process_vm_writev.
27582         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
27583         process_vm_writev.
27584         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
27585         process_vm_writev from libc using GLIBC_2.15 version.
27587         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
27589 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
27591         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
27592         stack usage.
27594 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
27596         [BZ #13367]
27597         * nss/getent.c (initgroups_keys): Show error message in case no group
27598         names are given.
27600         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
27601         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
27602         __bump_nl_timestamp.
27603         * nscd/connections (nscd_init): When host database is served open
27604         netlink socket and request notification about configuration changes.
27605         (main_loop_poll): Track netlink file descriptor and bump timestamp
27606         in case data becomes available.
27607         (main_loop_epoll): Likewise.
27608         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
27609         (database_pers_head): Add extra_data fileds.
27610         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
27611         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
27612         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
27613         Adjust caller.
27614         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
27615         in6ai data, call __free_in6ai.
27616         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
27617         Add -DHAVE_NETLINK.
27618         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
27619         interface information.  Reuse previous data if netlink timestamp
27620         is not changed.
27621         (__bump_nl_timestamp): New function.
27622         (__free_in6ai): New function.
27624 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
27626         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
27627         close_not_cancel_no_status here.
27628         (__check_pf): Reorganize code a bit to not call close twice if OOM.
27630 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27632         [BZ #13276]
27633         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
27634         return value.
27636         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
27637         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
27638         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
27640 2011-07-03  Andreas Jaeger  <aj@suse.de>
27642         [BZ #10709]
27643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
27644         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
27645         * math/libm-test.inc (sin_test): Add test case.
27647 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
27649         [BZ #13337]
27650         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
27651         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27653         * elf/chroot_canon.c (chroot_canon): Cleanups.
27655         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
27657         [BZ #13335]
27658         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
27659         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
27661         * string/test-strchr.c: Make usable for strchrnul testing.
27662         * string/test-strchrnul.c: New file.
27663         * string/Makefile (strop-tests): Add strchrnul.
27665         * po/it.po: Update from translation team.
27666         * po/es.po: Likewise.
27668 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
27670         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
27671         the three constants needed as parameters.  Drop the others.
27672         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
27673         __m128i_strloadu_tolower.
27674         Create and initialize variable zero and use it in all the places
27675         where _mm_setzero_si128 was used.
27677         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
27678         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
27679         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
27680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
27681         anymore.
27682         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
27683         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
27684         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
27685         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
27686         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
27687         __mpranred, __mptan.
27688         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
27689         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
27690         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
27691         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
27692         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
27693         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
27694         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
27695         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
27696         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
27698 2011-10-28  Andreas Schwab  <schwab@redhat.com>
27700         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
27701         redefine if SHARED.
27702         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
27704         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
27705         wide char related routines to wcsmbs subdir.
27707 2011-10-27  Andreas Schwab  <schwab@redhat.com>
27709         [BZ #13344]
27710         * misc/sys/cdefs.h (__THROWNL): Define.
27711         * posix/unistd.h: Use __THREADNL instead of __THREAD
27712         for memory synchronization functions.
27714 2011-10-26  Roland McGrath  <roland@hack.frob.com>
27716         [BZ #13349]
27717         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
27718         doesn't exist.
27719         * manual/stdio.texi (Obstack Streams): Node removed.
27721 2011-10-26  Andreas Schwab  <schwab@redhat.com>
27723         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
27724         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27725         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27727         * math/math_private.h (math_force_eval): Allow non-addressable
27728         arguments.
27729         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
27731 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27733         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
27734         file is not needed.
27736         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
27737         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27738         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27739         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27740         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27741         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27743         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
27744         Add AVX variants.
27745         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
27746         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
27747         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
27748         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
27749         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
27750         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
27751         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
27752         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
27753         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
27754         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
27755         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
27756         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
27757         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
27758         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
27759         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
27760         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
27761         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
27762         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
27763         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
27765         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
27766         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
27768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
27769         place.  Use VEX encoding when compiling for AVX.
27771 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27773         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
27774         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27776         * string/test-strchr.c (do_test): Don't generate NUL bytes.
27778 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27780         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
27781         useless if() expression.
27782         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27783         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27784         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27785         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27786         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27787         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27788         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27789         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27790         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27791         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27792         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27793         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27794         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27795         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27796         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27798         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27799         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27800         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27802         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
27804 2011-10-25  Andreas Schwab  <schwab@redhat.com>
27806         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
27807         condition.
27808         * elf/dl-fini.c (_dl_sort_fini): Likewise.
27810 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
27812         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
27813         .text section.  Avoid duplicate constants.
27814         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27815         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27816         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27817         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27820         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27822         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27823         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
27824         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27825         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
27826         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
27827         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
27828         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
27829         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
27830         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
27831         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27832         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27833         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27834         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27835         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27836         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27837         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
27838         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
27839         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
27840         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
27841         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
27842         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
27843         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
27844         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
27845         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
27846         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
27847         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
27848         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
27849         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
27850         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
27851         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
27852         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
27853         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
27854         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
27855         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
27856         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
27857         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
27858         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
27860 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
27862         * sysdeps/x86_64/dla.h: Move to ...
27863         * sysdeps/x86_64/fpu/dla.h: ...here.
27864         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
27865         situations.  Use __builtin_fma only for gcc 4.6 and up.
27867         * config.make.in: Add have-mfma4 entry.
27868         * configure.in: Substitute libc_cv_cc_fma4.
27869         * math/Makefile (dbl-only-routines): Add sincostab.
27870         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
27871         Use __sincostab not sincos.
27872         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
27873         name is a macro.
27874         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27875         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27876         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27877         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
27878         using __copysign.
27879         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
27880         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
27881         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
27882         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
27883         and __inv.
27884         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
27885         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
27886         __copysign.
27887         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
27888         define aliases when function name is a macro.
27889         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
27890         sysdeps/ieee754/dbl-64/sincos.tbl.
27891         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
27892         fma4-enabled routines.
27893         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
27894         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
27895         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
27896         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
27897         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
27898         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
27899         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
27900         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
27901         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
27902         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
27903         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
27904         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
27905         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
27906         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
27907         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
27908         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
27909         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
27910         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
27911         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
27912         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
27913         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
27914         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
27915         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
27916         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
27917         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
27918         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
27919         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
27920         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
27921         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
27922         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
27924         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
27925         rename.
27926         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27929         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27931         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27932         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27935 2011-10-24  Andreas Schwab  <schwab@redhat.com>
27937         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
27939 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
27941         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
27943         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
27944         prediction.
27945         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
27947         * string/strnlen.c: Don't define STRNLEN, reverse logic.
27948         Remove unused variable magic_bits.
27949         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
27951         * string/strnlen.c: Define and use STRNLEN macro.
27952         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
27953         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
27954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
27955         * wcsmbs/wcslen.c: Define and use WCSLEN.
27956         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
27957         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
27958         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
27959         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
27960         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
27961         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
27962         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27964 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27966         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27967         strnlen-sse2-no-bsf.
27968         Rename strlen-no-bsf to strlen-sse2-no-bsf.
27969         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
27970         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
27971         Add strnlen support.
27972         (USE_AS_STRNLEN): New macro.
27973         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
27974         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
27975         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
27976         * sysdeps/x86_64/wcslen.S: New file.
27978 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
27980         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
27981         XMM-moves are used for copying on small sizes.
27983 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27985         * wcsmbs/Makefile (strop-tests): Add wcschr.
27986         * wcsmbs/test-wcschr.c: New file.
27987         * string/test-strchr.c: Update.
27988         Add wcschr support.
27989         (WIDE): New macro.
27991 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27993         * wcsmbs/Makefile (strop-tests): Add wcslen.
27994         * wcsmbs/test-wcslen.c: New file.
27995         * string/test-strlen.c: Update.
27996         Add wcslen support.
27997         (WIDE): New macro.
27999 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28001         * po/it.po: Update from translation team.
28003 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28005         * sysdeps/x86_64/wcscmp.S: Update.
28006         Fix wrong comparison semantics.
28007         wcscmp shall use signed comparison not unsigned.
28008         Don't use substraction to avoid overflow bug.
28009         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28010         * wcsmbc/wcscmp.c: Likewise.
28011         * string/test-strcmp.c: Likewise.
28012         Add new tests to check cases with negative values.
28014 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
28016         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
28017         * sysdeps/x86_64/dla.h: ...here.  New file.
28018         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
28019         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28020         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28021         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28022         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28023         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28024         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28025         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28026         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28028 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
28030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
28031         __ynl_finite aliases.
28033 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28035         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28037         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
28038         define DLA_FMA.
28039         [DLA_FMA] (EMULV): Use DLA_FMA.
28040         [DLA_FMA] (MUL12): Use EMULV.
28041         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
28042         that are not needed.
28043         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28045         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28046         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28047         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28048         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28049         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28051 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
28053         * math/s_nan.c: Undef __nan.
28054         * math/s_nanf.c: Undef __nanf.
28055         * math/s_nanl.c: Undef __nanl.
28056         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
28057         "math_private.h".
28059 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
28061         * math/s_catan.c: Add branch predictions.
28062         * math/s_catanf.c: Likewise.
28063         * math/s_catanh.c: Likewise.
28064         * math/s_catanhf.c: Likewise.
28065         * math/s_catanhl.c: Likewise.
28066         * math/s_catanl.c: Likewise.
28067         * math/s_cexp.c: Likewise.
28068         * math/s_cexpf.c: Likewise.
28069         * math/s_cexpl.c: Likewise.
28070         * math/s_clog.c: Likewise.
28071         * math/s_clog10.c: Likewise.
28072         * math/s_clog10f.c: Likewise.
28073         * math/s_clog10l.c: Likewise.
28074         * math/s_clogf.c: Likewise.
28075         * math/s_clogl.c: Likewise.
28076         * math/s_csqrt.c: Likewise.
28077         * math/s_csqrtf.c: Likewise.
28078         * math/s_csqrtl.c: Likewise.
28079         * math/s_ctanf.c: Likewise.
28080         * math/s_ctanh.c: Likewise.
28081         * math/s_ctanhf.c: Likewise.
28082         * math/s_ctanhl.c: Likewise.
28083         * math/s_ctanl.c: Likewise.
28085         * math/math_private.h: Define __nan, __nanf, __nanl.
28086         * math/s_cacosh.c: Include <math_private.h>.
28087         * math/s_cacoshl.c: Likewise.
28088         * math/s_casinh.c: Likewise.
28089         * math/s_casinhf.c: Likewise.
28090         * math/s_casinhl.c: Likewise.
28091         * math/s_ccos.c: Rely entire on ccosh.
28092         * math/s_ccosf.c: Rely entire on ccoshf.
28093         * math/s_ccosl.c: Rely entirely on ccoshl.
28094         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
28095         Remove tests for FE_INVALID.
28096         * math/s_ccoshf.c: Likewise.
28097         * math/s_ccoshl.c: Likewise.
28098         * math/s_csin.c: Likewise.
28099         * math/s_csinf.c: Likewise.
28100         * math/s_csinh.c Likewise.
28101         * math/s_csinhf.c: Likewise.
28102         * math/s_csinhl.c: Likewise.
28103         * math/s_csinl.c: Likewise.
28104         * math/s_ctan.c: Likewise.
28105         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
28106         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
28107         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
28109 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
28111         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
28112         compilation problems.
28114         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
28115         __builtin_expect.
28117 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
28119         * sysdeps/i386/configure.in: Test for -mfma4 option.
28120         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
28121         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
28122         COMMON_CPUID_INDEX_80000001.
28123         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
28124         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
28125         use it if FMA3 is not supported.
28126         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
28128         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
28129         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
28131 2011-10-20  Andreas Schwab  <schwab@redhat.com>
28133         [BZ #12892]
28134         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
28135         it would create a cycle with a link time dependency.
28137 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
28139         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
28140         instruction.
28141         * string/Makefile (strop-tests): Add rawmemchr.
28142         * string/test-rawmemchr.c: New file.
28144         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
28145         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
28146         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
28147         when compiling str{,n}casecmp and when AVX is available.  Hook up
28148         new optimized code in initializers.
28150 2011-10-19  Andreas Schwab  <schwab@redhat.com>
28152         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
28153         __feraiseexcept instead of feraiseexcept.
28155 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
28157         * math/math_private.h: Define defaults for libc_fetestexcept and
28158         libc_feupdateenv.
28159         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
28160         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
28161         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28162         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28163         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
28164         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28165         libc_fetestexcept and libc_feupdateenv.
28167         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
28168         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
28169         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
28170         * sysdeps/x86_64/fpu/math_private.h: Define special version of
28171         libc_feholdexcept_setround.
28173         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
28174         Add s_nearbyint-c and s_nearbyintf-c.
28175         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
28176         nearbyintf inlines.
28177         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
28178         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
28179         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
28180         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
28182         * math/math_private.h: Define defaults for libc_fegetround,
28183         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
28184         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
28185         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
28186         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
28187         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
28188         standard functions.
28189         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28190         Remove comments and hacks for old compiler versions.
28191         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
28192         libc_fegetround, libc_fesetround, libc_feholdexcept, and
28193         libc_feholdexceptl.
28195 2011-10-18  Andreas Schwab  <schwab@redhat.com>
28197         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
28198         (__feraiseexcept_renamed): Add __NTH.
28199         (feraiseexcept): Add __NTH.  Rename local variables to fix
28200         namespace violations.
28202 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
28204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
28206         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
28208         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
28209         recently added interfaces.
28210         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
28212         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
28213         about macro parameter expansion.
28215         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
28216         __NO_MATH_INLINES is defined.  Cleanups.
28218         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
28219         and __floorf is target has SSE4.1.
28220         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
28221         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
28222         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
28223         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
28225         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
28226         name.
28227         (floorf): Likewise.
28229         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
28231 2011-10-17  Andreas Schwab  <schwab@redhat.com>
28233         * misc/sys/cdefs.h: Fix last change.
28235         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
28236         database lookup.
28238 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
28240         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
28242         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
28243         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28244         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
28245         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28246         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28247         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
28248         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28249         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28250         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
28251         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
28252         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
28253         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
28254         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
28255         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
28256         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
28257         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
28258         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
28259         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
28260         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
28261         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
28262         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
28263         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
28265         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
28266         ceil, ceilf, floor, floorf.
28268         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
28269         Perform IRELATIVE relocations last.
28271         * elf/do-rel.h: Add another parameter nrelative, replacing the
28272         local variable with the same name.  Change name of the function
28273         to end in Rel or Rela (uppercase).
28274         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
28275         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
28276         elf_dynamic_do_##reloc function.
28278 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28280         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
28281         is sufficient, at least on modern CPUs.
28283         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
28285         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
28286         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
28288         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
28289         __expl_finite.
28290         * math/bits/math-finite.h: Add entries for exp.
28291         * math/e_expl.c: Add __*_finite alias.
28292         * sysdeps/i386/fpu/e_exp.S: Likewise.
28293         * sysdeps/i386/fpu/e_expf.S: Likewise.
28294         * sysdeps/i386/fpu/e_expl.c: Likewise.
28295         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28296         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
28297         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28298         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28299         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
28300         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28301         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28303         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
28304         is sufficient, at least on modern CPUs.
28306         * ctype/ctype-info.c (__ctype_init): Define.
28307         * include/ctype.h (__ctype_init): Declare.
28308         (__ctype_b_loc): The variable is always initialized.
28309         (__ctype_toupper_loc): Likewise.
28310         (__ctype_tolower_loc): Likewise.
28311         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
28312         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
28314 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
28316         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
28318         * configure.in: Also look in $cxxmachine/include for C++ system
28319         headers.
28321 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28323         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
28324         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
28325         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
28326         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
28327         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
28328         (USE_AS_WMEMCMP): New macro.
28329         Fixing indents.
28330         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
28331         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
28332         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
28333         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
28334         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28335         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
28336         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
28337         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
28338         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
28339         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
28340         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
28341         (USE_AS_WMEMCMP): New macro.
28342         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
28343         * sysdeps/string/test-memcmp.c: Update.
28344         Fix simple_wmemcmp.
28345         Add new tests.
28346         * wcsmbs/wmemcmp.c: Update.
28347         (WMEMCMP): New macro.
28348         Fix overflow bug.
28350 2011-10-12  Andreas Jaeger  <aj@suse.de>
28352         [BZ #13268]
28353         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
28355 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
28357         * libio/iofwide.c (do_length): Avoid warning.
28359         * ctype/ctype.h (__isctype_f): Add missing __THROW.
28361 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
28363         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
28365         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
28366         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
28367         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
28368         * sysdeps/i386/i686/fpu/e_log.S: New file.
28369         * sysdeps/i386/i686/fpu/e_logf.S: New file.
28370         * sysdeps/i386/i686/fpu/e_logl.S: New file.
28372         * ctype/ctype.h: Add support for inlined isXXX functions when
28373         compiling C++ code.
28375 2011-10-14  Andreas Schwab  <schwab@redhat.com>
28377         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28379         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
28381 2011-10-13  Roland McGrath  <roland@hack.frob.com>
28383         [BZ #13291]
28384         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
28386 2011-10-13  Andreas Schwab  <schwab@redhat.com>
28388         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
28389         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
28390         feraiseexcept.
28392         * sysdeps/x86_64/memrchr.S: Check for zero size.
28394         * string/stratcliff.c: Add memrchr tests.
28396 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28399         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
28400         rawmemchr-sse2 rawmemchr-sse2-bsf.
28401         * sysdeps/i386/i686/multiarch/memchr.S: New file.
28402         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
28403         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
28404         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
28405         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
28406         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
28407         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
28408         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
28409         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
28410         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
28411         * string/memrchr.c (MEMRCHR): New macro.
28413 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
28415         Add integration with gcc's -ffinite-math-only and optimize wrapper
28416         functions in libm.
28417         * Versions.def: Define GLIBC_2.15 version for libm.
28418         * math/Makefile (headers): Add bits/math-finite.h.
28419         * math/bits/math-finite.h: New file.
28420         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
28421         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
28422         * math/e_acoshl.c: Add __*_finite alias.
28423         * math/e_acosl.c: Likewise.
28424         * math/e_asinl.c: Likewise.
28425         * math/e_atan2l.c: Likewise.
28426         * math/e_atanhl.c: Likewise.
28427         * math/e_coshl.c: Likewise.
28428         * math/e_exp10.c: Likewise.
28429         * math/e_exp10f.c: Likewise.
28430         * math/e_exp10l.c: Likewise.
28431         * math/e_exp2l.c: Likewise.
28432         * math/e_fmodl.c: Likewise.
28433         * math/e_gammal_r.c: Likewise.
28434         * math/e_hypotl.c: Likewise.
28435         * math/e_j0l.c: Likewise.
28436         * math/e_j1l.c: Likewise.
28437         * math/e_jnl.c: Likewise.
28438         * math/e_lgammal_r.c: Likewise.
28439         * math/e_log10l.c: Likewise.
28440         * math/e_log2l.c: Likewise.
28441         * math/e_logl.c: Likewise.
28442         * math/e_powl.c: Likewise.
28443         * math/e_sinhl.c: Likewise.
28444         * math/e_sqrtl.c: Likewise.
28445         * math/e_scalb.c: Completely rewritten and optimized.
28446         * math/e_scalbf.c: Likewise.
28447         * math/e_scalbl.c: Likewise.
28448         * math/w_acos.c: Likewise.
28449         * math/w_acosf.c: Likewise.
28450         * math/w_acosl.c: Likewise.
28451         * math/w_acosh.c: Likewise.
28452         * math/w_acoshf.c: Likewise.
28453         * math/w_acoshl.c: Likewise.
28454         * math/w_asin.c: Likewise.
28455         * math/w_asinf.c: Likewise.
28456         * math/w_asinl.c: Likewise.
28457         * math/w_atan2.c: Likewise.
28458         * math/w_atan2f.c: Likewise.
28459         * math/w_atan2l.c: Likewise.
28460         * math/w_atanh.c: Likewise.
28461         * math/w_atanhf.c: Likewise.
28462         * math/w_atanhl.c: Likewise.
28463         * math/w_exp10.c: Likewise.
28464         * math/w_exp10f.c: Likewise.
28465         * math/w_exp10l.c: Likewise.
28466         * math/w_fmod.c: Likewise.
28467         * math/w_fmodf.c: Likewise.
28468         * math/w_fmodl.c: Likewise.
28469         * math/w_j0.c: Likewise.
28470         * math/w_j0f.c: Likewise.
28471         * math/w_j0l.c: Likewise.
28472         * math/w_j1.c: Likewise.
28473         * math/w_j1f.c: Likewise.
28474         * math/w_j1l.c: Likewise.
28475         * math/w_jn.c: Likewise.
28476         * math/w_jnf.c: Likewise.
28477         * math/w_log.c: Likewise.
28478         * math/w_logf.c: Likewise.
28479         * math/w_logl.c: Likewise.
28480         * math/w_log10.c: Likewise.
28481         * math/w_log10f.c: Likewise.
28482         * math/w_log10l.c: Likewise.
28483         * math/w_log2.c: Likewise.
28484         * math/w_log2f.c: Likewise.
28485         * math/w_log2l.c: Likewise.
28486         * math/w_pow.c: Likewise.
28487         * math/w_powf.c: Likewise.
28488         * math/w_powl.c: Likewise.
28489         * math/w_remainder.c: Likewise.
28490         * math/w_remainderf.c: Likewise.
28491         * math/w_remainderl.c: Likewise.
28492         * math/w_scalb.c: Likewise.
28493         * math/w_scalbf.c: Likewise.
28494         * math/w_scalbl.c: Likewise.
28495         * math/w_sqrt.c: Likewise.
28496         * math/w_sqrtf.c: Likewise.
28497         * math/w_sqrtl.c: Likewise.
28498         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
28499         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
28500         used.
28501         * math/math_private.h: Declare __kernel_standard_f.
28502         * math/w_cosh.c: Remove cruft and optimize a bit.
28503         * math/w_coshf.c: Likewise.
28504         * math/w_coshl.c: Likewise.
28505         * math/w_exp2.c: Likewise.
28506         * math/w_exp2f.c: Likewise.
28507         * math/w_exp2l.c: Likewise.
28508         * math/w_hypot.c: Likewise.
28509         * math/w_hypotf.c: Likewise.
28510         * math/w_hypotl.c: Likewise.
28511         * math/w_lgamma.c: Likewise.
28512         * math/w_lgamma_r.c: Likewise.
28513         * math/w_lgammaf.c: Likewise.
28514         * math/w_lgammaf_r.c: Likewise.
28515         * math/w_lgammal.c: Likewise.
28516         * math/w_lgammal_r.c: Likewise.
28517         * math/w_sinh.c: Likewise.
28518         * math/w_sinhf.c: Likewise.
28519         * math/w_sinhl.c: Likewise.
28520         * math/w_tgamma.c: Likewise.
28521         * math/w_tgammaf.c: Likewise.
28522         * math/w_tgammal.c: Likewise.
28523         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28524         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28525         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
28526         Minor optimizations.  Pretty printing.  Remove cruft.
28527         * sysdeps/i386/fpu/e_acosf.S: Likewise.
28528         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28529         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28530         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28531         * sysdeps/i386/fpu/e_acosl.c: Likewise.
28532         * sysdeps/i386/fpu/e_asin.S: Likewise.
28533         * sysdeps/i386/fpu/e_asinf.S: Likewise.
28534         * sysdeps/i386/fpu/e_atan2.S: Likewise.
28535         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
28536         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
28537         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28538         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28539         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28540         * sysdeps/i386/fpu/e_exp10.S: Likewise.
28541         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
28542         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
28543         * sysdeps/i386/fpu/e_exp2.S: Likewise.
28544         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
28545         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
28546         * sysdeps/i386/fpu/e_fmod.S: Likewise.
28547         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
28548         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
28549         * sysdeps/i386/fpu/e_hypot.S: Likewise.
28550         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
28551         * sysdeps/i386/fpu/e_log.S: Likewise.
28552         * sysdeps/i386/fpu/e_log10.S: Likewise.
28553         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28554         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28555         * sysdeps/i386/fpu/e_log2.S: Likewise.
28556         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28557         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28558         * sysdeps/i386/fpu/e_logf.S: Likewise.
28559         * sysdeps/i386/fpu/e_logl.S: Likewise.
28560         * sysdeps/i386/fpu/e_pow.S: Likewise.
28561         * sysdeps/i386/fpu/e_powf.S: Likewise.
28562         * sysdeps/i386/fpu/e_powl.S: Likewise.
28563         * sysdeps/i386/fpu/e_remainder.S: Likewise.
28564         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
28565         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
28566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28567         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28568         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28569         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
28570         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
28571         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
28572         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
28573         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28574         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28575         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
28576         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
28577         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
28578         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
28579         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
28580         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28581         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28582         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
28583         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
28584         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28585         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
28586         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
28587         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28588         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
28589         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
28590         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
28591         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28592         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
28593         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
28594         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28595         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28596         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
28597         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
28598         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
28599         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
28600         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
28601         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
28602         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28603         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
28604         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
28605         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
28606         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
28607         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
28608         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
28609         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
28610         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
28611         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
28612         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
28613         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
28614         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
28615         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
28616         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28617         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
28618         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
28619         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
28620         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
28621         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
28622         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
28623         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
28627         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
28631         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
28632         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
28633         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
28634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28635         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28636         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
28637         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
28638         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
28639         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
28640         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
28641         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
28642         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
28643         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
28644         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
28645         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
28646         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
28647         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
28648         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
28649         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
28650         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
28652         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28653         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
28654         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
28655         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28656         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28657         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
28658         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
28659         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
28660         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
28661         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
28662         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28663         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28664         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28665         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28666         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28667         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28668         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28669         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
28670         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
28671         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
28672         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
28673         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
28674         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
28675         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
28676         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28677         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28678         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28679         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28680         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
28681         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28682         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
28683         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
28684         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
28685         (__isnanf): Likewise.
28686         (__isinf_ns): Likewise.
28687         (__isinf_nsf): Likewise.
28688         (__finite): Likewise.
28689         (__finitef): Likewise.
28690         (__ieee754_sqrt): Define as macro.
28691         (__ieee754_sqrtf): Define as macro.
28692         (__ieee754_sqrtl): Define as macro.
28693         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
28694         inlined copy.
28695         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
28696         __FINITE_MATH_ONLY__ consistent.
28697         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
28699 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
28701         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
28702         of rawmemchr.
28704         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
28706 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
28708         * po/ja.po: Update from translation team.
28710 2011-10-08  Roland McGrath  <roland@hack.frob.com>
28712         * locale/programs/locarchive.c (prepare_address_space): New function.
28713         (create_archive, enlarge_archive, open_archive): Use it.
28715         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
28716         inside [SHARED], where it is used.
28718         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
28720         * nss/getent.c (netgroup_keys): Remove unused variable.
28721         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
28723 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
28725         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
28726         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
28727         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
28728         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
28729         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
28730         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
28731         * math/Makefile (libm-calls): Add s_isinf_ns.
28732         * math/divtc3.c: Use __isinf_nsl instead of isinf.
28733         * math/multc3.c: Likewise.
28734         * math/s_casin.c: Likewise.
28735         * math/s_casinf.c: Likewise.
28736         * math/s_casinl.c: Likewise.
28737         * math/s_ccos.c: Likewise.
28738         * math/s_ccosf.c: Likewise.
28739         * math/s_ccosl.c: Likewise.
28740         * math/s_ctan.c: Likewise.
28741         * math/s_ctanf.c: Likewise.
28742         * math/s_ctanh.c: Likewise.
28743         * math/s_ctanhf.c: Likewise.
28744         * math/s_ctanhl.c: Likewise.
28745         * math/s_ctanl.c: Likewise.
28746         * math/w_fmod.c: Likewise.
28747         * math/w_fmodf.c: Likewise.
28748         * math/w_fmodl.c: Likewise.
28749         * math/w_remainder.c: Likewise.
28750         * math/w_remainderf.c: Likewise.
28751         * math/w_remainderl.c: Likewise.
28752         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
28753         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
28754         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
28755         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
28756         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
28757         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
28758         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
28759         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
28761         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
28762         of the number.
28763         * stdio-common/printf_fphex.c: Likewise.
28764         * stdio-common/printf_size.c: Likewise.
28766         * math/e_exp10.c: Include math_private.h using <...> not "...".
28767         * math/e_exp10f.c: Likewise.
28768         * math/e_exp10l.c: Likewise.
28769         * math/e_exp2l.c: Likewise.
28770         * math/e_j0l.c: Likewise.
28771         * math/e_j1l.c: Likewise.
28772         * math/e_jnl.c: Likewise.
28773         * math/e_lgammal_r.c: Likewise.
28774         * math/e_rem_pio2l.c: Likewise.
28775         * math/e_scalb.c: Likewise.
28776         * math/e_scalbf.c: Likewise.
28777         * math/e_scalbl.c: Likewise.
28778         * math/k_cosl.c: Likewise.
28779         * math/k_sinl.c: Likewise.
28780         * math/k_tanl.c: Likewise.
28781         * math/s_cacoshf.c: Likewise.
28782         * math/s_catan.c: Likewise.
28783         * math/s_catanf.c: Likewise.
28784         * math/s_catanh.c: Likewise.
28785         * math/s_catanhf.c: Likewise.
28786         * math/s_catanhl.c: Likewise.
28787         * math/s_catanl.c: Likewise.
28788         * math/s_ccosh.c: Likewise.
28789         * math/s_ccoshf.c: Likewise.
28790         * math/s_ccoshl.c: Likewise.
28791         * math/s_cexp.c: Likewise.
28792         * math/s_cexpf.c: Likewise.
28793         * math/s_cexpl.c: Likewise.
28794         * math/s_clog.c: Likewise.
28795         * math/s_clog10.c: Likewise.
28796         * math/s_clog10f.c: Likewise.
28797         * math/s_clog10l.c: Likewise.
28798         * math/s_clogf.c: Likewise.
28799         * math/s_clogl.c: Likewise.
28800         * math/s_csin.c: Likewise.
28801         * math/s_csinf.c: Likewise.
28802         * math/s_csinh.c: Likewise.
28803         * math/s_csinhf.c: Likewise.
28804         * math/s_csinhl.c: Likewise.
28805         * math/s_csinl.c: Likewise.
28806         * math/s_csqrt.c: Likewise.
28807         * math/s_csqrtf.c: Likewise.
28808         * math/s_csqrtl.c: Likewise.
28809         * math/s_ctan.c: Likewise.
28810         * math/s_ctanf.c: Likewise.
28811         * math/s_ctanh.c: Likewise.
28812         * math/s_ctanhf.c: Likewise.
28813         * math/s_ctanhl.c: Likewise.
28814         * math/s_ctanl.c: Likewise.
28815         * math/s_ldexp.c: Likewise.
28816         * math/s_ldexpf.c: Likewise.
28817         * math/s_ldexpl.c: Likewise.
28818         * math/s_significand.c: Likewise.
28819         * math/s_significandf.c: Likewise.
28820         * math/s_significandl.c: Likewise.
28821         * math/w_acos.c: Likewise.
28822         * math/w_acosf.c: Likewise.
28823         * math/w_acosh.c: Likewise.
28824         * math/w_acoshf.c: Likewise.
28825         * math/w_acoshl.c: Likewise.
28826         * math/w_acosl.c: Likewise.
28827         * math/w_asin.c: Likewise.
28828         * math/w_asinf.c: Likewise.
28829         * math/w_asinl.c: Likewise.
28830         * math/w_atan2.c: Likewise.
28831         * math/w_atan2f.c: Likewise.
28832         * math/w_atan2l.c: Likewise.
28833         * math/w_atanh.c: Likewise.
28834         * math/w_atanhf.c: Likewise.
28835         * math/w_atanhl.c: Likewise.
28836         * math/w_cosh.c: Likewise.
28837         * math/w_coshf.c: Likewise.
28838         * math/w_coshl.c: Likewise.
28839         * math/w_dremf.c: Likewise.
28840         * math/w_exp10.c: Likewise.
28841         * math/w_exp10f.c: Likewise.
28842         * math/w_exp10l.c: Likewise.
28843         * math/w_exp2.c: Likewise.
28844         * math/w_exp2f.c: Likewise.
28845         * math/w_fmod.c: Likewise.
28846         * math/w_fmodf.c: Likewise.
28847         * math/w_fmodl.c: Likewise.
28848         * math/w_hypot.c: Likewise.
28849         * math/w_hypotf.c: Likewise.
28850         * math/w_hypotl.c: Likewise.
28851         * math/w_j0.c: Likewise.
28852         * math/w_j0f.c: Likewise.
28853         * math/w_j0l.c: Likewise.
28854         * math/w_j1.c: Likewise.
28855         * math/w_j1f.c: Likewise.
28856         * math/w_j1l.c: Likewise.
28857         * math/w_jn.c: Likewise.
28858         * math/w_jnf.c: Likewise.
28859         * math/w_jnl.c: Likewise.
28860         * math/w_lgamma.c: Likewise.
28861         * math/w_lgamma_r.c: Likewise.
28862         * math/w_lgammaf.c: Likewise.
28863         * math/w_lgammaf_r.c: Likewise.
28864         * math/w_lgammal.c: Likewise.
28865         * math/w_lgammal_r.c: Likewise.
28866         * math/w_log.c: Likewise.
28867         * math/w_log10.c: Likewise.
28868         * math/w_log10f.c: Likewise.
28869         * math/w_log10l.c: Likewise.
28870         * math/w_log2.c: Likewise.
28871         * math/w_log2f.c: Likewise.
28872         * math/w_log2l.c: Likewise.
28873         * math/w_logf.c: Likewise.
28874         * math/w_logl.c: Likewise.
28875         * math/w_pow.c: Likewise.
28876         * math/w_powf.c: Likewise.
28877         * math/w_powl.c: Likewise.
28878         * math/w_remainder.c: Likewise.
28879         * math/w_remainderf.c: Likewise.
28880         * math/w_remainderl.c: Likewise.
28881         * math/w_scalb.c: Likewise.
28882         * math/w_scalbf.c: Likewise.
28883         * math/w_scalbl.c: Likewise.
28884         * math/w_sinh.c: Likewise.
28885         * math/w_sinhf.c: Likewise.
28886         * math/w_sinhl.c: Likewise.
28887         * math/w_sqrt.c: Likewise.
28888         * math/w_sqrtf.c: Likewise.
28889         * math/w_sqrtl.c: Likewise.
28890         * math/w_tgamma.c: Likewise.
28891         * math/w_tgammaf.c: Likewise.
28892         * math/w_tgammal.c: Likewise.
28894         * po/ja.po: Update from translation team.
28896 2011-09-29  Andreas Jaeger  <aj@suse.de>
28898         [BZ #13179]
28899         * sunrpc/netname.c (netname2host): Fix logic.
28901         [BZ #6779]
28902         [BZ #6783]
28903         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
28904         correctly.
28905         * math/w_remainder.c (__remainder): Likewise.
28906         * math/w_remainderf.c (__remainderf): Likewise.
28907         * math/libm-test.inc (remainder_test): Add test cases.
28909 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28911         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
28912         sdiv_qrnnd.
28914 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28916         * string/test-memcmp.c: Avoid unncessary #defines.
28917         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
28919 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28921         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
28922         Use new sse2 version for core i3 - i7 as it's faster
28923         than sse42 version.
28924         (bit_Prefer_PMINUB_for_stringop): New.
28925         * sysdeps/x86_64/rawmemchr.S: Update.
28926         Replace with faster SSE2 version.
28927         * sysdeps/x86_64/memrchr.S: New file.
28928         * sysdeps/x86_64/memchr.S: Update.
28929         Replace with faster SSE2 version.
28931 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
28933         * elf/dl-load.c (lose): Add cast to avoid warning.
28935 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
28937         * po/ca.po: Update from translation team.
28939         * inet/getnetgrent_r.c: Hook up nscd.
28940         * nscd/Makefile (routines): Add nscd_netgroup.
28941         (nscd-modules): Add netgroupcache.
28942         (CFLAGS-netgroupcache.c): Define.
28943         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
28944         (cache_search): Add const to second parameter.
28945         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
28946         INNETGR.
28947         (dbs): Add netgrdb entry.
28948         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
28949         (verify_persistent_db): Handle netgrdb.
28950         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
28951         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
28952         GETFDNETGR.
28953         (netgroup_response_header): Define.
28954         (innetgroup_response_header): Define.
28955         (datahead): Add netgroup_response_header and innetgroup_response_header
28956         elements.
28957         * nscd/nscd.conf: Add entries for netgroup cache.
28958         * nscd/nscd.h (dbtype): Add netgrdb.
28959         (_PATH_NSCD_NETGROUP_DB): Define.
28960         (netgroup_iov_disabled): Declare.
28961         (xmalloc, xcalloc, xrealloc): Move declarations here.
28962         (cache_search): Adjust prototype.
28963         Add netgroup-related prototypes.
28964         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
28965         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
28966         (__nscd_innetgr): Declare.
28967         * nscd/selinux.c (perms): Use access_vector_t as element type and
28968         add netgroup-related initializers.
28969         * nscd/netgroupcache.c: New file.
28970         * nscd/nscd_netgroup.c: New file.
28971         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
28972         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
28973         For four parameters use innetgr.
28974         * nss/nss_files/files-init.c: Add definition and callback for netgr.
28975         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
28976         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
28977         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
28979         * nscd/connections.c (register_traced_file): Don't register file
28980         for disabled databases.
28982 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
28984         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
28986         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
28987         from tree and freeing node.
28989 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
28991         * nss/nsswitch.c (__nss_database_lookup): Handle
28992         nss_parse_service_list out of memory case.
28994 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
28996         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
28997         out of memory case.
28999 2011-10-04  Andreas Schwab  <schwab@redhat.com>
29001         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
29002         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
29003         pass it down.
29004         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
29005         elf_machine_rela, elf_machine_lazy_rel.
29006         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
29007         (ELF_DYNAMIC_DO_REL): Likewise.
29008         (ELF_DYNAMIC_DO_RELA): Likewise.
29009         (ELF_DYNAMIC_RELOCATE): Likewise.
29010         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
29011         to ELF_DYNAMIC_DO_REL.
29012         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
29013         (dl_main): In trace mode always set __RTLD_NOIFUNC.
29014         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
29015         elf_machine_rela.
29016         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
29017         skip_ifunc, don't call ifunc function if non-zero.
29018         (elf_machine_rela): Likewise.
29019         (elf_machine_lazy_rel): Likewise.
29020         (elf_machine_lazy_rela): Likewise.
29021         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
29022         (elf_machine_lazy_rel): Likewise.
29023         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
29024         Likewise.
29025         (elf_machine_lazy_rel): Likewise.
29026         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29027         Likewise.
29028         (elf_machine_lazy_rel): Likewise.
29029         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
29030         (elf_machine_lazy_rel): Likewise.
29031         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
29032         (elf_machine_lazy_rel): Likewise.
29033         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29034         (elf_machine_lazy_rel): Likewise.
29035         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
29036         (elf_machine_lazy_rel): Likewise.
29037         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
29038         (elf_machine_lazy_rel): Likewise.
29039         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29040         (elf_machine_lazy_rel): Likewise.
29042 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
29044         * nss/nss_files/files-init.c (_nss_files_init): Use static
29045         initialization for all the *_traced_file variables.
29047 2011-09-28  Andreas Schwab  <schwab@redhat.com>
29049         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29051 2011-09-27  Roland McGrath  <roland@hack.frob.com>
29053         [BZ #13226]
29054         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
29056 2011-09-27  Andreas Schwab  <schwab@redhat.com>
29058         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
29059         Reread the line before reparsing it.
29061 2011-09-26  Andreas Schwab  <schwab@redhat.com>
29063         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
29065 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
29066             Maxim Kuvyrkov  <maxim@codesourcery.com>
29067             Joseph Myers  <joseph@codesourcery.com>
29069         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
29070         if needed for __stack_chk_guard.
29072 2011-09-19  Roland McGrath  <roland@hack.frob.com>
29074         * sysdeps/posix/spawni.c (script_execute): Always define it.
29075         It will be optimized away if unused.
29076         (maybe_script_execute): New function.
29077         (__spawni): Call it.
29079         * Makerules: Don't include tls.make.
29080         (config-tls): Always set to thread.
29081         * tls.make.c: File removed.
29083 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
29085         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
29086         * config.make.in (CPPFLAGS-config): New substituted variable.
29088 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29090         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
29092         [BZ #13192]
29093         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
29094         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
29096 2011-09-15  Roland McGrath  <roland@hack.frob.com>
29098         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
29099         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
29100         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
29101         (CALL_FAIL): Likewise.
29102         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
29103         (CALL_FAIL): Macro removed.
29104         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
29106 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
29108         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
29109         for __FINITE_MATH_ONLY__ == 1.
29111 2011-09-15  Andreas Schwab  <schwab@redhat.com>
29113         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
29114         __ieee754_sqrt instead of sqrt.
29115         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
29116         __ieee754_sqrtf instead of sqrtf.
29117         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
29118         __floorf instead of floorf.
29119         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
29120         __floorf, __truncf instead of floorf, truncf.
29122 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
29124         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
29126         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
29127         __extern_always_inline.
29128         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
29129         32-bit.
29131 2011-09-14  Andreas Schwab  <schwab@redhat.com>
29133         * elf/rtld.c (dl_main): Also relocate in dependency order when
29134         doing symbol dependency testing.
29136 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
29138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29139         Always define `refsym'.
29141 2011-09-13  Andreas Schwab  <schwab@redhat.com>
29143         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
29144         (__FD_ELT): Renamed from __FDELT.
29145         * misc/bits/select2.h (__FD_ELT): Likewise.
29146         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
29147         __FD_MASK instead of __FDELT, __FDMASK.
29148         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29149         Likewise.
29150         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
29151         Likewise.
29153         * elf/Makefile (gen-ldd): Fix pattern.
29155         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
29156         (init_tls): Likewise.
29158 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
29160         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
29162 2011-09-12  Andreas Schwab  <schwab@redhat.com>
29164         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
29165         `struct cmsghdr *' instead of `void *'.
29166         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
29167         Likewise.
29169 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
29171         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
29172         if non-absolute.
29173         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
29174         ldd_rewrite_script.
29176 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
29178         * configure.in: Remove --with-tls option.
29179         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
29180         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
29181         out in case it is missing.
29182         * sysdeps/ia64/elf/configure.in: Likewise.
29183         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
29184         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
29185         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
29186         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
29187         * sysdeps/sh/elf/configure.in: Likewise.
29188         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
29189         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
29190         * sysdeps/x86_64/elf/configure.in: Likewise.
29191         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
29192         * sysdeps/mach/hurd/tls.h: Likewise.
29194         [BZ #13067]
29195         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
29197         [BZ #13090]
29198         * configure.in: Fix use of AC_INIT.
29200         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
29202 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
29204         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
29205         __set_errno.
29206         * malloc/hooks.c: Likewise.
29208         [BZ #11929]
29209         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
29210         variables statically.
29211         (narenas): Initialize.
29212         (list_lock): Initialize.
29213         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
29214         initializtion of main_arena and list_lock.  Small cleanups.
29215         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
29216         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
29217         Add initializers to main_arena and mp_.
29218         (malloc_state): Remove pagesize member.  Change all users to use
29219         GLRO(dl_pagesize).
29221         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
29222         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
29223         is always initialized.
29225         * malloc/malloc.c: Removed unused configurations and dead code.
29226         * malloc/arena.c: Likewise.
29227         * malloc/hooks.c: Likewise.
29228         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
29230         * include/tls.h: Removed.  USE___THREAD must always be defined.
29231         * bits/libc-tsd.h: Don't handle !USE___THREAD.
29232         * elf/dl-libc.c: Likewise.
29233         * elf/dl-tsd.c: Likewise.
29234         * include/errno.h: Likewise.
29235         * include/netdb.h: Likewise.
29236         * include/resolv.h: Likewise.
29237         * inet/herrno-loc.c: Likewise.
29238         * inet/herrno.c: Likewise.
29239         * malloc/arena.c: Likewise.
29240         * malloc/hooks.c: Likewise.
29241         * malloc/malloc.c: Likewise.
29242         * resolv/res-state.c: Likewise.
29243         * resolv/res_libc.c: Likewise.
29244         * sysdeps/i386/dl-machine.h: Likewise.
29245         * sysdeps/ia64/dl-machine.h: Likewise.
29246         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
29247         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29248         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
29249         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
29250         * sysdeps/sh/dl-machine.h: Likewise.
29251         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
29252         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
29253         * sysdeps/unix/i386/sysdep.S: Likewise.
29254         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29255         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
29256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
29257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29258         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
29259         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29260         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29262         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29263         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29264         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29265         * sysdeps/x86_64/dl-machine.h: Likewise.
29266         * tls.make.c: Likewise.
29268         * configure.in: Remove --with-__thread option.  Make tests for
29269         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
29270         tls_model attribute fail if no support is available.  Remove
29271         USE_IN_LIBIO.
29272         * Makeconfig: Adjust for dropped configure option.  All features are
29273         now mandatory.
29274         * Makerules: Likewise.
29275         * Versions.def: Likewise.
29276         * argp/argp-fmtstream.c: Likewise.
29277         * argp/argp-fmtstream.h: Likewise.
29278         * argp/argp-help.c: Likewise.
29279         * assert/assert.c: Likewise.
29280         * config.h.in: Likewise.
29281         * config.make.in: Likewise.
29282         * configure: Likewise.
29283         * configure.in: Likewise.
29284         * csu/Versions: Likewise.
29285         * csu/init.c: Likewise.
29286         * elf/tst-audit2.c: Likewise.
29287         * elf/tst-tls10.c: Likewise.
29288         * elf/tst-tls10.h: Likewise.
29289         * elf/tst-tls11.c: Likewise.
29290         * elf/tst-tls12.c: Likewise.
29291         * elf/tst-tls14.c: Likewise.
29292         * elf/tst-tlsmod11.c: Likewise.
29293         * elf/tst-tlsmod12.c: Likewise.
29294         * elf/tst-tlsmod13.c: Likewise.
29295         * elf/tst-tlsmod13a.c: Likewise.
29296         * elf/tst-tlsmod14a.c: Likewise.
29297         * elf/tst-tlsmod15b.c: Likewise.
29298         * elf/tst-tlsmod16a.c: Likewise.
29299         * elf/tst-tlsmod16b.c: Likewise.
29300         * elf/tst-tlsmod7.c: Likewise.
29301         * elf/tst-tlsmod8.c: Likewise.
29302         * elf/tst-tlsmod9.c: Likewise.
29303         * gmon/gmon.c: Likewise.
29304         * grp/fgetgrent_r.c: Likewise.
29305         * grp/putgrent.c: Likewise.
29306         * hurd/fopenport.c: Likewise.
29307         * include/libc-symbols.h: Likewise.
29308         * include/tls.h: Likewise.
29309         * intl/gettextP.h: Likewise.
29310         * intl/loadinfo.h: Likewise.
29311         * locale/global-locale.c: Likewise.
29312         * locale/localeinfo.h: Likewise.
29313         * mach/devstream.c: Likewise.
29314         * malloc/arena.c: Likewise.
29315         * malloc/set-freeres.c: Likewise.
29316         * misc/err.c: Likewise.
29317         * misc/getttyent.c: Likewise.
29318         * misc/mntent_r.c: Likewise.
29319         * posix/getopt.c: Likewise.
29320         * posix/wordexp.c: Likewise.
29321         * pwd/fgetpwent_r.c: Likewise.
29322         * resolv/Versions: Likewise.
29323         * resolv/res_hconf.c: Likewise.
29324         * shadow/fgetspent_r.c: Likewise.
29325         * shadow/putspent.c: Likewise.
29326         * stdio-common/printf_fphex.c: Likewise.
29327         * stdio-common/tmpfile.c: Likewise.
29328         * stdlib/abort.c: Likewise.
29329         * stdlib/fmtmsg.c: Likewise.
29330         * sunrpc/auth_unix.c: Likewise.
29331         * sunrpc/clnt_perr.c: Likewise.
29332         * sunrpc/clnt_tcp.c: Likewise.
29333         * sunrpc/clnt_udp.c: Likewise.
29334         * sunrpc/clnt_unix.c: Likewise.
29335         * sunrpc/openchild.c: Likewise.
29336         * sunrpc/svc_simple.c: Likewise.
29337         * sunrpc/svc_tcp.c: Likewise.
29338         * sunrpc/svc_udp.c: Likewise.
29339         * sunrpc/svc_unix.c: Likewise.
29340         * sunrpc/xdr.c: Likewise.
29341         * sunrpc/xdr_array.c: Likewise.
29342         * sunrpc/xdr_rec.c: Likewise.
29343         * sunrpc/xdr_ref.c: Likewise.
29344         * sunrpc/xdr_stdio.c: Likewise.
29346 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29348         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29350 2011-07-03  Andreas Jaeger  <aj@suse.de>
29352         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
29353         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
29354         regenerate with gen-libm-tests.pl.
29356 2010-05-12  Petr Baudis  <pasky@suse.cz>
29358         [BZ #11589]
29359         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
29360         around j0() zero points by switching to j1().
29361         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29362         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29363         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29364         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29366 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29368         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
29369         instead of 0.
29370         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
29371         instead of 0.
29372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29373         Patch in part by Pavel Roskin <proski@gnu.org>.
29375         [BZ #13138]
29376         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
29377         realloc.
29378         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
29379         Free memory block if necessary.
29381         [BZ #12847]
29382         * libio/genops.c (INTDEF): For string streams the _lock pointer can
29383         be NULL.  Don't lock in this case.
29385 2011-09-09  Roland McGrath  <roland@hack.frob.com>
29387         * elf/elf.h (ELFOSABI_GNU): New macro.
29388         (ELFOSABI_LINUX): Define to that.
29390 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
29392         * string/strncat.c (strncat): Undef the symbol in case it has been
29393         defined in bits/string.h.
29395 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
29397         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
29399         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
29400         link map.
29402 2011-08-17  Andreas Jaeger  <aj@suse.de>
29404         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
29406 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
29407             Ian Lance Taylor  <iant@google.com>
29409         * math/libm-test.inc (lround_test): New testcase.
29410         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
29412 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
29414         * Makefile: Remove support for automatic cvs check-ins.
29415         * Makerules: Likewise.
29416         * config.make.in: Likewise.
29417         * configure.in: Likewise.
29418         * intl/Makefile: Likewise.
29419         * locale/Makefile: Likewise.
29420         * po/Makefile: Likewise.
29421         * posix/Makefile: Likewise.
29422         * sysdeps/gnu/Makefile: Likewise.
29423         * sysdeps/mach/hurd/Makefile: Likewise.
29424         * sysdeps/sparc/sparc32/Makefile: Likewise.
29426         [BZ #13118]
29427         * posix/Makefile (bug-regex32-ENV): Define.
29428         Patch by John Stanley <jpsinthemix@verizon.net>.
29430         * misc/Makefile (headers): Add bits/select2.h.
29431         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
29432         * misc/bits/select2.h: New file.
29433         * include/bits/select2.h: New file.
29434         * debug/Makefile (routines): Add fdelt_chk.
29435         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
29436         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
29437         FD_ISSET.
29438         * debug/fdelt_chk.c: New file.
29440         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
29441         * wcsmbs/test-wmemcmp.c: Likewise.
29442         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
29443         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
29445 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29447         * string/Makefile (strop-tests): Add memcmp.
29448         * string/test-wmemcmp.c: New file.
29449         * string/test-memcmp.c: Add wmemcmp support.
29451 2011-09-08  Roland McGrath  <roland@hack.frob.com>
29453         [BZ #13153]
29454         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
29455         2011-07-19 change.
29457         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
29458         garbage value in a __mach_port_mod_refs call in the cases of the
29459         task-self and thread-self ports.
29461 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29463         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
29465 2011-09-08  Andreas Schwab  <schwab@redhat.com>
29467         * elf/dl-load.c (lose): Check for non-null L.
29469 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29471         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
29473         * elf/dl-libc.c (dlerror_run): Pass back error code from
29474         dl_catch_error.
29476         [BZ #13123]
29477         * elf/dl-load.c (lose): Free l_origin if it is valid.
29479         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
29480         names.
29481         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29482         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29483         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29484         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29485         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29486         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
29488 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29490         * sysdeps/powerpc/fpu/e_hypot.c: New file.
29491         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
29492         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
29493         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
29494         * sysdeps/powerpc/fpu/k_cosf.c: New file.
29495         * sysdeps/powerpc/fpu/k_sinf.c: New file.
29496         * sysdeps/powerpc/fpu/s_cosf.c: New file.
29497         * sysdeps/powerpc/fpu/s_sinf.c: New file.
29498         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
29499         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
29501 2011-08-15  Alan Modra  <amodra@gmail.com>
29503         [BZ #13092]
29504         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
29505         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
29506         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
29507         ppc_mcount to static-only-routines.
29508         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
29509         __mcount_internal.
29510         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
29511         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
29513 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
29515         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
29516         for finite and infinity parameters.
29518 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29520         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
29521         and add nop instructions for throughput optimization.
29522         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29524 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
29526         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
29527         aligned copy for power7 with vector-scalar instructions.
29528         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
29530 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
29532         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
29533         AVX check.
29535 2011-09-07  Andreas Schwab  <schwab@redhat.com>
29537         [BZ #13144]
29538         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
29539         last change.
29541 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
29543         * sysdeps/unix/sysv/linux/x86_64/init-first.c
29544         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
29545         syscall wrapper around clock_gettime in __vdso_clock_gettime.
29546         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
29547         clock_gettime.
29549 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29551         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
29552         Forgot to demangle the pointer.
29554         * sysdeps/i386/sysdep.h: Define atom_text_section.
29555         * sysdeps/x86_64/sysdep.h: Likewise.
29556         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
29557         section with atom_text_section.
29558         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29559         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29560         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
29561         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
29562         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
29564         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
29565         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
29566         already be defined.  Change to take two parameters and don't assign
29567         result to variable.  Adjust all users.
29568         Define INTERNAL_GETTIME if not already defined.
29569         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
29570         call.
29571         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
29572         HAVE_CLOCK_GETTIME_VSYSCALL.
29573         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
29575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
29576         gettimeofday vsyscall, just use time.
29578 2011-09-06  Andreas Schwab  <schwab@redhat.com>
29580         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
29581         <errno.h>.
29583 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
29585         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
29586         syscall on x86-64.
29587         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
29588         syscall.
29589         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
29590         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
29591         syscall if possible.
29593 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29595         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
29596         e_ident.  Don't pass to find_mapsXX.
29597         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
29599 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29601         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29602         strchr-sse2-no-bsf strrchr-sse2-no-bsf
29603         * sysdeps/x86_64/multiarch/strchr.S: Update.
29604         Check bit_slow_BSF bit.
29605         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29606         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
29607         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
29609 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29611         [BZ #13134]
29612         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
29613         before glibc 2.15.
29614         (tryshell): Define.
29615         (__spawni): Change last parameter to be flag.  Test
29616         SPAWN_XFLAGS_USE_PATH flag to use path or not.
29617         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
29618         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
29619         * posix/spawni.c: Likewise.
29620         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
29621         * posix/spawnp.c: Likewise.  Change normal version to use
29622         SPAWN_XFLAGS_USE_PATH.
29623         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
29624         SPAWN_XFLAGS_TRY_SHELL.
29626         [BZ #13150]
29627         * posix/glob.h: Remove gcc 1.x support.
29629         [BZ #13068]
29630         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
29632 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29634         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29635         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
29636         strrchr-sse2-bsf
29637         * sysdeps/i386/i686/multiarch/strchr.S: New file.
29638         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
29639         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
29640         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
29641         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
29642         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
29644 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29646         * sysdeps/x86_64/wcscmp.S: New file.
29648         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
29649         wcscmp-c wcscmp-sse2
29650         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
29651         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
29652         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
29653         * wcsmbs/wcscmp.c: Allow renaming.
29655 2011-09-05  David S. Miller  <davem@davemloft.net>
29657         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
29658         stack slot, rather than the struct return pointer slot.
29659         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
29660         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
29661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
29662         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
29664 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
29666         * po/ja.po: Update from translation team.
29668         [BZ #13144]
29669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
29670         kernel in 64-bit binaries.
29672 2011-09-01  David S. Miller  <davem@davemloft.net>
29674         * elf/elf.h (HWCAP_SPARC_*): Move to..
29675         * sysdeps/sparc/sysdep.h: this new file and add new values.
29676         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
29677         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
29678         _DL_HWCAP_COUNT to 24.
29679         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29680         entries.
29681         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
29682         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
29683         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
29684         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
29685         instead of magic constants.
29686         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29688 2011-08-31  David S. Miller  <davem@davemloft.net>
29690         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
29691         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
29692         Reimplement to do errno handling inline.
29693         (SYSCALL_ERROR_HANDLER): New macro.
29694         (__SYSCALL_STRING): Do not do errno handling in asm.
29695         (__CLONE_SYSCALL_STRING): Delete.
29696         (__INTERNAL_SYSCALL_STRING): Delete.
29697         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
29698         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
29699         (PSEUDO): Reimplement to do errno handling inline.
29700         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
29701         (SYSCALL_ERROR_HANDLER): New macro.
29702         (__SYSCALL_STRING): Do not do errno handling in asm.
29703         (__CLONE_SYSCALL_STRING): Delete.
29704         (__INTERNAL_SYSCALL_STRING): Delete.
29705         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
29706         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
29707         i386.
29708         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
29709         (inline_syscall*): Add 'err' argument.
29710         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
29711         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
29712         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
29713         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
29715         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
29716         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
29718 2011-08-30  Andreas Schwab  <schwab@redhat.com>
29720         * elf/rtld.c (dl_main): Relocate objects in dependency order.
29722 2011-08-29  Jiri Olsa <jolsa@redhat.com>
29724         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
29725         directive.
29727 2011-08-24  David S. Miller  <davem@davemloft.net>
29729         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
29731 2011-08-24  Andreas Schwab  <schwab@redhat.com>
29733         * elf/Makefile: Add rules to build and run unload8 test.
29734         * elf/unload8.c: New file.
29735         * elf/unload8mod1.c: New file.
29736         * elf/unload8mod1x.c: New file.
29737         * elf/unload8mod2.c: New file.
29738         * elf/unload8mod3.c: New file.
29740         * elf/dl-close.c (_dl_close_worker): Reset private search list if
29741         it wasn't used.
29743 2011-08-23  David S. Miller  <davem@davemloft.net>
29745         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
29746         subtract stack bias.
29747         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
29748         %sp not %fp in calculations.
29749         (_JMPBUF_UNWINDS_ADJ): Likewise.
29751         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
29752         (aio_suspend): Call it to force an exception region around the
29753         AIO_MISC_WAIT() invocation.
29755 2011-08-23  Andreas Schwab  <schwab@redhat.com>
29757         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
29758         backslash.
29760 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
29762         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
29763         protection macro.
29764         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
29765         and <dl-machine.h>.
29766         (Elf64_FuncDesc): Remove.
29768 2011-08-22  David S. Miller  <davem@davemloft.net>
29770         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
29771         sigaltstack check, add missing cfi directives.
29772         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
29773         missing cfi directives, and sigaltstack handling.
29775 2011-08-16  Andreas Schwab  <schwab@redhat.com>
29777         [BZ #11724]
29778         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
29779         object is seen twice.
29780         * elf/dl-fini.c (_dl_sort_fini): Likewise.
29782         * elf/Makefile (distribute): Add tst-initorder2.c.
29783         (tests): Add tst-initorder2.
29784         (modules-names): Add tst-initorder2a tst-initorder2b
29785         tst-initorder2c tst-initorder2d.  Add rules to build them.
29786         ($(objpfx)tst-initorder2.out): New rule.
29787         * elf/tst-initorder2.c: New file.
29788         * elf/tst-initorder2.exp: New file.
29790 2011-08-22  Andreas Schwab  <schwab@redhat.com>
29792         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
29794         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
29795         dependencies back to end of function.
29797         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
29798         $(elfobjdir)/ld.so.
29800 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
29802         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
29803         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
29804         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
29805         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
29806         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
29807         of __vdso_gettimeofday.
29808         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
29809         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
29810         attribute_hidden.
29811         (_libc_vdso_platform_setup): Remove initialization of
29812         __vdso_gettimeofday and __vdso_time.
29814 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29816         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
29817         and fgetc_unlocked.
29818         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
29819         getc_unlocked.
29821         * elf/dl-open.c (add_to_global): Report additions to the global scope
29822         for LD_DEBUG=scopes.
29823         (dl_open_worker): Also print scope of newly loaded dependencies.
29824         (_dl_show_scope): Indicate if there is no scope.
29826         [BZ #13114]
29827         * stdio-common/Makefile (tests): Add bug24.
29828         * stdio-common/bug24.c: New file.
29830 2011-08-19  Andreas Jaeger  <aj@suse.de>
29832         [BZ #13114]
29833         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
29834         non-existant file when using close-on-exec mode.
29836 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
29838         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
29839         the very first instruction.
29841         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
29842         the CFI state in the end.
29843         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
29844         inclusion of dl-trampoline.h.
29845         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
29847 2011-08-19  Andreas Schwab  <schwab@redhat.com>
29849         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
29850         expectations for long double.
29852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
29853         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
29855 2011-08-14  David S. Miller  <davem@davemloft.net>
29857         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
29858         artificual limit depends upon the system page size.
29860 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29862         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
29863         * resolv/Makefile: Define CFLAGS-libresolv.
29865 2011-08-17  Andreas Schwab  <schwab@redhat.com>
29867         * nss/makedb.c (compute_tables): Make variables used in nested
29868         function static.
29870 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
29872         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
29873         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
29874         if buffer was too small.
29876         * elf/pldd.c (main): Attach to all threads in the process.
29877         Rewrite /proc handling to use *at functions.
29879 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
29881         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
29882         specifies first scope to show.
29883         (dl_open_worker): Update callers.  Move printing scope of new
29884         object to before the relocation.
29885         * elf/rtld.c (dl_main): Update _dl_show_scope call.
29886         * sysdeps/generic/ldsodefs.h: Update declaration.
29888         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
29889         string for the scope number.
29891 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
29893         * nscd/servicescache.c (cache_addserv): Make sure written is always
29894         initialized.
29896 2011-08-14  Roland McGrath  <roland@hack.frob.com>
29898         * sysdeps/i386/i486/bits/atomic.h
29899         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
29900         statement expression, so as to suppress "set but not used" warning.
29901         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
29903         * string/strncat.c (STRNCAT): Use prototype definition.
29905         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
29906         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
29907         -Iprograms here.
29908         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
29909         (localedef-modules): Add localedef.
29910         (locale-modules): Add locale.
29912         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
29913         * elf/rtld.c (dl_main): Invert order of assignment in last change,
29914         to avoid a warning.
29916 2011-08-14  David S. Miller  <davem@davemloft.net>
29918         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
29919         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
29921 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
29923         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
29924         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
29925         * elf/rtld.c (dl_main): Set l_name of vDSO.
29926         Call _dl_show_scope when DL_DEBUG_SCOPES.
29927         (process_dl_debug): Recognize scopes flag and also set it for all.
29928         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
29929         Declare _dl_show_scope.
29931         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
29932         (do_dlopen): Pass caller_dlopen to dl_open.
29933         (__libc_dlopen_mode): Initialize caller_dlopen.
29935         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
29936         of libc.  Make tolower call locale-independent.  Optimize a bit by
29937         using isdigit instead of isalnum.
29938         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
29940 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
29942         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
29943         was a dependency or dynamically loaded.
29945 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
29947         * intl/l10nflist.c: Allow architecture-specific pop function.
29948         * sysdeps/x86_64/l10nflist.c: New file.
29950         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
29951         classification.
29953 2011-08-10  Andreas Schwab  <schwab@redhat.com>
29955         * include/dirent.h: Add libc_hidden_proto for scandirat and
29956         scandirat64.  Don't declare __scandirat64.
29957         * dirent/scandirat.c: Add libc_hidden_def.
29958         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
29959         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
29961 2011-08-10  David S. Miller  <davem@davemloft.net>
29963         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
29964         enum.
29965         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29966         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29967         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29969 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
29971         * Versions.def [libc]: Add GLIBC_2.15.
29972         * dirent/Makefile (routines): Add scandirat and scandirat64.
29973         * dirent/Versions [libc]: Export scandirat and scandirat64 for
29974         GLIBC_2.15.
29975         * dirent/dirent.h: Declare scandirat and scandirat64.
29976         * dirent/scandirat.c: New file.
29977         * dirent/scandirat64.c: New file.
29978         * sysdeps/wordsize-64/scandirat.c: New file.
29979         * sysdeps/wordsize-64/scandirat64.c: New file.
29980         * dirent/opendir.c: Define opendirat.
29981         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
29982         using scandirat.
29983         * dirent/scandir64.c: Adjust for scandir.c change.
29984         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
29985         __scandirat64, and __scandir_cancel_handler.
29986         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
29987         additional parameter and use openat instead of open (outside of ld.so).
29988         Add new __opendir as wrapper around __opendirat.
29989         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
29990         here without requiring old scandirat implementation.
29992 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
29994         * dirent/scandir.c (cancel_handler): Renamed to
29995         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
29996         defined.  Adjust users.
29997         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
29998         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
30000 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
30002         * string/test-string.h (IMPL): Use __STRING to expand name and then
30003         stringify it.
30005         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
30006         of cleanups.
30008 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30010         * string/Makefile: Update.
30011         (strop-tests): Append strncat.
30012         * string/test-wcscmp.c: New file.
30013         New comprehensive test for wcscmp.
30014         * string/test-strcmp.c: Update.
30015         (WIDE): New define.
30017 2011-07-22  Andreas Schwab  <schwab@redhat.com>
30019         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
30020         line.
30022 2011-07-26  Andreas Schwab  <schwab@redhat.com>
30024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30025         encoding to ACE if AI_IDN.
30027 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
30029         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
30030         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
30032 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30034         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
30035         Fix overflow bug in strncat.
30036         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
30038         * string/test-strncat.c: Update.
30039         Add new tests for checking overflow bugs.
30041 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30043         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30044         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
30045         * sysdeps/i386/i686/multiarch/strcat.S: New file.
30046         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
30047         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
30048         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
30049         * sysdeps/i386/i686/multiarch/strncat.S: New file.
30050         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
30051         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
30053         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
30054         (USE_AS_STRCAT): Define.
30055         Add strcat and strncat support.
30056         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30058 2011-07-25  Andreas Schwab  <schwab@redhat.com>
30060         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
30061         __n bigger than INT_MAX+1.
30062         (__strncmp_g): Likewise.
30064 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
30066         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
30067         * libio/stido.h: Likewise.
30069         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
30070         (AF_NFC): Define.
30071         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
30072         (AF_NFC): Define.
30074         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
30075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30077         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
30078         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30080         [BZ #13021]
30081         * scripts/test-installation.pl: Don't expect libnss_test1 to be
30082         installed.
30084         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
30085         typo.
30086         (_dl_x86_64_save_sse): Likewise.
30088 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
30090         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
30091         OSXSAVE.
30092         (_dl_x86_64_save_sse): Likewise.
30094         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
30096         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
30098 2011-07-21  Andreas Schwab  <schwab@redhat.com>
30100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
30101         change.
30102         (_dl_x86_64_save_sse): Use correct AVX check.
30104 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30106         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
30107         bug in strncpy/strncat.
30108         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30110 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
30112         * string/tester.c (test_strcat): Add tests for different alignments
30113         of source and destination.
30114         (test_strncat): Likewise.
30116 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30118         [BZ #12852]
30119         * posix/glob.c (glob): Check passed in values before using them in
30120         expressions to avoid some overflows.
30121         (glob_in_dir): Likewise.
30123         [BZ #13007]
30124         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
30125         check for AVX enablement so that we don't crash with old kernels and
30126         new hardware.
30127         * elf/tst-audit4.c: Add same checks here.
30128         * elf/tst-audit6.c: Likewise.
30130         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
30132 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
30134         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
30136 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
30138         * po/cs.po: Update from translation team.
30139         * po/bg.po: Likewise.
30141 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
30143         * misc/sys/cdefs.h: Add support for const attribute.
30144         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
30145         to gnu_dev_{major,minor,makedev} functions.
30147 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
30149         * intl/dcigettext.c (get_output_charset): Add missing bracket.
30151 2011-07-20  Andreas Schwab  <schwab@redhat.com>
30153         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
30154         strlen results.
30156 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
30159         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
30160         register in order to avoid conflicts with the soft frame pointer
30161         being held in r11 when necessary.
30162         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
30163         (INTERNAL_VSYSCALL_NCS): Likewise.
30165 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
30167         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
30168         * elf/dl-fini.c (_dl_fini): Adjust caller.
30169         * elf/dl-close.c (_dl_close_worker): Likewise.
30170         * sysdeps/generic/ldsodefs.h: Adjust declaration.
30172 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30174         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
30175         "aux_cache->nlibs < 0".
30177         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
30178         in the reload-count case.
30180 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30182         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30183         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
30184         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
30185         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
30186         * sysdeps/x86_64/multiarch/strcat.S: New file.
30187         * sysdeps/x86_64/multiarch/strncat.S: New file.
30188         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
30189         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
30190         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
30191         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
30192         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
30193         (USE_AS_STRCAT): Define.
30194         Add strcat and strncat support.
30195         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30196         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30197         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
30198         * string/strncat.c: Update.
30199         (USE_AS_STRNCAT): Define.
30200         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30201         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
30202         and i7.
30203         * sysdeps/x86_64/multiarch/init-arch.h
30204         (bit_Prefer_PMINUB_for_stringop): New.
30205         (index_Prefer_PMINUB_for_stringop): Likewise.
30206         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
30207         bit_Prefer_PMINUB_for_stringop.
30209 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30211         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
30212         buffer64.
30213         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
30214         of casting of buffer.
30215         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
30216         buffer32 and buffer64.
30217         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
30218         writes instead of casting of buffer.
30219         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
30220         buffer32.
30221         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
30222         casting of buffer.
30224 2011-07-19  Andreas Schwab  <schwab@redhat.com>
30226         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
30228 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
30230         * nscd/nscd.c (termination_handler): Don't do anything for a database
30231         if it has not yet been initialized.
30233 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30235         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30237 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
30239         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
30241 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
30243         * po/nl.po: Update from translation team.
30244         * po/sv.po: Likewise.
30246 2011-07-16  Roland McGrath  <roland@hack.frob.com>
30248         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
30249         now disallowed by GCC.
30251         * configure.in (use-default-link): Default to yes if a test -shared
30252         link meets our qualifications.
30253         * configure: Regenerated.
30255         * config.make.in (output-format): New variable.
30256         * configure.in: Check for ld --print-output-format support.
30257         * configure: Regenerated.
30258         * Makerules ($(common-objpfx)format.lds)
30259         [$(output-format) != unknown]: Just use $(output-format),
30260         instead of the linker-script munging.
30262 2011-07-14  Roland McGrath  <roland@hack.frob.com>
30264         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
30265         of $(common-objpfx)shlib.lds.
30266         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
30268         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
30269         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
30271         * configure.in (-z relro check): Adjust test code to add a large
30272         writable data section after it.
30273         * configure: Regenerated.
30275 2011-07-11  Roland McGrath  <roland@hack.frob.com>
30277         * configure.in (-z relro check): Fix test code to make the variable
30278         truly const.
30279         * configure: Regenerated.
30281 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
30283         * nscd/nscd.h (struct traced_file): Define.
30284         (struct database_dyn): Remove inotify_descr, reset_res, and filename
30285         elements.  Add traced_files.
30286         (inotify_fd): Declare.
30287         (register_traced_file): Declare.
30288         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
30289         (inotify_fd): Export.
30290         (resolv_conf_descr): Remove.
30291         (nscd_init): Move inotify descriptor creation to main.
30292         Don't register files for notification here.
30293         (register_traced_file): New function.
30294         (invalidate_cache): Don't use reset_res to determine whether to call
30295         res_init, go through the list of registered files.
30296         (main_loop_poll): The inotify descriptors are now stored in the
30297         structures for the traced files.
30298         (main_loop_epoll): Likewise
30299         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
30300         to __nss_disable_nscd.
30301         * nscd/cache.c (prune_cache): There is no single inotify descriptor
30302         for a database anymore.  Check the records for all the registered
30303         files instead.
30304         * nss/Makefile (libnss_files-routines): Add files-init.
30305         (libnss_db-routines): Add db-init.
30306         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
30307         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
30308         * nss/nss_db/db-init.c: New file.
30309         * nss/nss_files/files-init.c: New file.
30310         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
30311         __nss_lookup_function.
30312         (__nss_lookup_function): Call nss_load_library.
30313         (nss_load_all_libraries): New function.
30314         (__nss_disable_nscd): Take parameter with callback function for files
30315         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
30316         used for the cached services.
30317         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
30318         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
30319         options for features to all the files in nscd.
30321         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
30323 2011-07-10  Roland McGrath  <roland@hack.frob.com>
30325         * csu/elf-init.c (__libc_csu_init): Comment typo.
30327 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
30329         * po/pl.po: Update from translation team.
30330         * po/ja.po: Likewise.
30331         * po/ru.po: Likewise.
30332         * po/ko.po: Likewise.
30333         * po/fr.po: Likewise.
30335 2011-07-09  Roland McGrath  <roland@hack.frob.com>
30337         * configure.in (.ctors/.dtors header and trailer check):
30338         Use an empirical test on a built program.
30339         * configure: Regenerated.
30341         * configure.in (-z relro check): Use an empirical test on a built DSO.
30342         Detect, but do not require, on ia64.
30343         * configure: Regenerated.
30345         * configure.in (READELF): Find it with AC_CHECK_TOOL.
30346         Update tests that use readelf to use $READELF instead.
30347         * configure: Regenerated.
30349 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
30351         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
30352         if the result is not used.
30354 2011-07-05  Andreas Jaeger  <aj@suse.de>
30356         [BZ#9696]
30357         * stdlib/tst-strtod.c: Add testcase.
30359 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
30361         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
30362         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
30363         The latter has a higher limit.  Take additional parameter to pass to
30364         the new function.
30365         (__pathconf): Pass file to __statfs_link_max.
30366         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
30367         __statfs_link_max.
30368         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
30369         __statfs_link_max.
30371         [BZ #12868]
30372         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
30373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30374         Handle Lustre.
30375         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
30376         (__statfs_filesize_max): Likewise.
30377         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
30379 2011-07-05  Andreas Jaeger  <aj@suse.de>
30381         * resolv/res_comp.c (dn_skipname): Remove unused variable.
30383 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
30385         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
30386         `status' variable.
30387         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
30388         Likewise.
30390 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
30392         * Makefile (strop-tests): Add strncat.
30393         * string/test-strncat.c: New file.
30395 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
30397         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
30399 2011-06-21  Andreas Jaeger  <aj@suse.de>
30401         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
30402         Copy rule from iconvdata/Makefile.
30404 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30406         [BZ #12922]
30407         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
30408         but no long options are defined, just return 'W'.
30410 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
30412         [BZ #9696]
30413         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
30415 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
30417         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
30418         netgroups to read.
30419         (innetgr): Likewise.
30421 2011-07-05  Roland McGrath  <roland@hack.frob.com>
30423         * config.make.in (install_root): Default to $(DESTDIR).
30425 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
30427         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
30429 2011-07-02  Roland McGrath  <roland@hack.frob.com>
30431         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
30433         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
30434         containing directory rather than embedding absolute directory names.
30436         * scripts/check-local-headers.sh: Rewritten using awk.
30437         Match by word, not by line.  Print error messages for matches.
30438         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
30440         * Makerules [shlib-lds-flags empty]:
30441         ($(common-objpfx)libc_pic.opts): New target.
30442         ($(common-objpfx)libc_pic.os.clean): New target.
30443         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
30445         * config.make.in (OBJCOPY): New variable.
30446         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
30447         * configure: Regenerated.
30449         * config.make.in (use-default-link): New variable.
30450         * configure.in (use_default_link): Grok --with-default-link to set it.
30451         * configure: Regenerated.
30452         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
30453         (shlib-lds, shlib-lds-flags): Define to empty.
30455         * Makerules (shlib-lds): New variable.
30456         (shlib-lds-flags): New variable.
30457         (build-shlib, build-moduile, build-module-asneeded): Use it.
30458         ($(common-objpfx)libc.so): Use $(shlib-lds).
30459         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
30460         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
30462         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
30463         DT_FLAGS/DT_FLAGS_1 with zero flags.
30465         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
30466         linker script munging.
30468 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
30470         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
30471         as 128-bit value.
30472         * crypt/sha512.c (sha512_process_block): Perform total addition using
30473         128-bit if possible.
30474         (__sha512_finish_ctx): Likewise.
30475         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
30476         as 64-bit value.
30477         * crypt/sha256.c (SWAP64): Define.
30478         (sha256_process_block): Perform total addition using 64-bit if
30479         possible.
30480         (__sha256_finish_ctx): Likewise.
30482 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
30484         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
30485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30486         * nscd/hstcache.c (cache_addhst): Likewise.
30487         * nscd/grpcache.c (cache_addgr): Likewise.
30488         * nscd/aicache.c (addhstaiX): Likewise
30489         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
30491 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
30493         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
30494         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30495         * nscd/hstcache.c (cache_addhst): Likewise.
30496         * nscd/grpcache.c (cache_addgr): Likewise.
30497         * nscd/aicache.c (addhstaiX): Likewise
30499 2011-07-01  Andreas Schwab  <schwab@redhat.com>
30501         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
30502         domain only when needed.
30504 2011-06-30  Andreas Schwab  <schwab@redhat.com>
30506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
30507         is always restored.
30509 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
30511         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
30512         are re-adding the entry.
30513         * nscd/servicescache.c (cache_addserv): Likewise.
30515 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
30517         * sysdeps/generic/dl-irel.h: fix protection against multiple
30518         inclusions.
30519         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
30521 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
30523         [BZ #12935]
30524         * malloc/memusage.sh: Fix quoting in message.
30525         * debug/xtrace.sh: Likewise.
30527         * configure.in: Remove support for --experimental-malloc option, make
30528         it the default.
30529         * config.make.in: Likewise.
30530         * malloc/Makefile: Likewise.
30532 2011-06-27  Andreas Schwab  <schwab@redhat.com>
30534         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
30535         two-byte characters.
30537 2011-06-27  Roland McGrath  <roland@hack.frob.com>
30539         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
30540         AC_CACHE_CHECK invocation.
30541         * configure: Regenerated.
30543         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
30545 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
30547         [BZ #12350]
30548         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
30549         bit from old_res_options.
30551         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
30553         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
30554         value type for setfct.
30556 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
30558         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30559         __gettimeofday instead of gettimeofday.
30561 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
30563         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
30565 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
30567         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
30569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
30570         info.
30572 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30575         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30576         strcpy-sse2-unaligned strncpy-sse2-unaligned
30577         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
30578         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
30579         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
30580         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
30581         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
30582         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
30583         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
30584         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
30585         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
30586         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
30587         (STRCPY): Support SSE2 and SSSE3 versions.
30589 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
30591         [BZ #12874]
30592         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
30593         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
30594         kernels which artificially limit size of requests.
30596 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
30598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30599         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
30600         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
30601         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
30602         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
30603         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
30604         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
30605         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
30606         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
30607         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
30608         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
30609         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
30610         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
30611         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
30612         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
30613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30614         Enable unaligned load optimization for Intel Core i3, i5 and i7
30615         processors.
30616         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
30617         Define.
30618         (index_Fast_Unaligned_Load): Define.
30619         (HAS_FAST_UNALIGNED_LOAD): Define.
30621 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
30623         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
30625 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30627         [BZ #12907]
30628         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
30629         until it is clear that the information is realy needed.
30630         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
30632 2011-06-22  Andreas Schwab  <schwab@redhat.com>
30634         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
30636 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
30638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
30639         /sys/devices/system/cpu/online if it is usable.
30641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
30642         reading the information from the /proc filesystem to once a second.
30644 2011-06-21  Andreas Jaeger  <aj@suse.de>
30646         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
30647         NULL after inclusion of kernel headers.
30649 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
30651         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
30652         calls to internal_setent.
30654         [BZ #12885]
30655         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
30656         addresses using gethostbyname4_r ignore IPv4 addresses.
30658         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
30659         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
30661         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
30663 2011-06-20  David S. Miller  <davem@davemloft.net>
30665         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
30666         inclusions.
30667         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
30669         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
30670         (elf_irel): Use it.
30671         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
30672         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
30673         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
30674         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
30675         * sysdeps/x86_64/dl-irel.h: Likewise.
30677         * elf/dl-runtime.c: Use elf_ifunc_invoke.
30678         * elf/dl-sym.c: Likewise.
30680 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30682         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
30683         need to dereference resplen2.
30685 2011-06-14  Andreas Schwab  <schwab@redhat.com>
30687         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
30689 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
30691         * Makeconfig: Define vardbdir and inst_vardbdir.
30692         * nss/Makefile: Add rules to install db-Makefile.
30694         * nss/nss_db/db-XXX.c: Cleanup.
30696         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
30697         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
30698         GLIBC_PRIVATE.
30699         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
30700         * nss/makedb.c: Implement -g option to specify that value strings
30701         are generated and should not be added to table iterated over for
30702         get*ent calls.
30703         * nss/nss_db/db-initgroups.c: New file.
30705         * nss/getent.c: Add support for initgroups lookups through getgrouplist
30706         interface.
30708         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
30709         (internal_getgrouplist): Adjust to name change.
30710         Update use_initgroups_entry if this is not the first call.
30711         * nss/databases.def: Add initgroups entry.
30713         * nss/makedb.c (compute_tables): Check result of multiple hash table
30714         sizes to minimize maximum chain length.
30716 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
30718         * Versions.def: Add entry for libnss_db.
30719         * shlib-versions: Likewise.
30720         * nss/Makefile: Add rules to build libnss_db.
30721         * nss/Versions: Add libnss_db information.  Organize libnss_files
30722         entries better.
30723         * nss/db-Makefile: Add gshadow support.  Change rules for the new
30724         makedb progra.  Some minor improvements to generate smaller files.
30725         * nss/nss_db/nss_db.h: Move NSS database header data structures to
30726         here from...
30727         * nss/makedb.c: ...here.
30728         Improve database format to be smaller and require less memory at
30729         runtime.
30730         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
30731         db anymore.
30732         * nss/nss_db/db-netgrp.c: Likewise.
30733         * nss/nss_db/db-open.c: Likewise.
30734         * nss/nss_files/flies-XXX.x: Adjust comments.
30735         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
30736         * nss/nss_files/files-grp.c: Likewise.
30737         * nss/nss_files/files-hosts.c: Likewise.
30738         * nss/nss_files/files-network.c: Likewise.
30739         * nss/nss_files/files-proto.c: Likewise.
30740         * nss/nss_files/files-pwd.c: Likewise.
30741         * nss/nss_files/files-rpc.c: Likewise.
30742         * nss/nss_files/files-service.c: Likewise.
30743         * nss/nss_files/files-sgrp.c: Likewise.
30744         * nss/nss_files/files-spwd.c: Likewise.
30745         * nss/nss_db/db-alias.c: Removed.
30746         * nss/nss_db/dummy-db.h: Removed.
30748 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
30750         * nss/makedb.c: Rewritten to not use database library.
30751         * nss/Makefile: Update to build new makedb program.
30753 2011-06-14  Andreas Jaeger  <aj@suse.de>
30755         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
30756         memset declaration.
30758 2011-06-10  Andreas Schwab  <schwab@redhat.com>
30760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
30761         tmpbuf.
30763 2011-06-10  Roland McGrath  <roland@hack.frob.com>
30765         * Makerules (shlib.lds): Fail if the linker script comes out empty.
30766         * elf/Makefile ($(objpfx)ld.so): Likewise.
30768         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
30769         Don't list ld.so twice in dependencies.
30771         * posix/bug-regex31.c: Include <stdlib.h>.
30773         * nscd/hstcache.c (cache_addhst): Remove unused variable.
30775         * nis/nss_compat/compat-spwd.c
30776         (getspent_next_nss_netgr): Remove unused variable.
30777         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
30779         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
30780         nonmembers" output to use the right array.
30782         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
30784         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
30786         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
30787         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
30788         * catgets/gencat.c (read_input_file): Likewise.
30789         * locale/programs/locarchive.c (enlarge_archive): Likewise.
30791         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
30792         variable definition inside #if's controlling its use.
30794         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
30796         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
30798         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
30800         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
30801         unreachable code.
30803         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
30805         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
30806         * configure: Regenerated.
30808         * Makerules: Revert last change.
30809         * elf/Makefile: Likewise.
30811 2011-06-09  Roland McGrath  <roland@hack.frob.com>
30813         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
30814         * elf/Makefile ($(objpfx)librtld.os): Likewise.
30815         (reloc-link): Likewise.
30817 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
30819         * elf/Makefile: Add rules to build pldd.
30820         * elf/pldd.c: New file.
30821         * elf/pldd-xx.c: New file.
30823 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
30825         * version.h: Update for 2.15 development version.
30827 2011-06-07  David S. Miller  <davem@davemloft.net>
30829         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
30830         ifuncs.
30831         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
30832         elf_machine_lazy_rel): Likewise.
30833         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
30834         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
30835         elf_machine_lazy_rel): Likewise.
30836         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
30837         dl_hwcap via passed in argument.
30838         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
30839         Likewise.
30841 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30843         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
30845 2011-06-06  Roland McGrath  <roland@hack.frob.com>
30847         [BZ #12849]
30848         * manual/fdl-1.1.texi: New file, verbatim from:
30849         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
30850         * manual/lgpl-2.1.texi: New file, verbatim from:
30851         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
30852         * manual/Makefile (licenses): New variable, list those new file names.
30853         (texis): Use it.
30854         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
30856         * manual/fdl.texi: File removed.
30857         * manual/lesser.texi: File removed.
30858         * manual/libc.texinfo (Copying, Documentation License):
30859         Use new @include file names, put @appendix directive before @include.
30861 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
30863         [BZ #12841]
30864         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
30865         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
30866         (mq_open): Add __NTH.
30868 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
30870         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30871         Assume Intel Core i3/i5/i7 processor if AVX is available.
30873 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30876         typo.
30878 2011-05-31  Andreas Schwab  <schwab@redhat.com>
30880         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
30881         memory.  Use alloca_account.  Fix memory leak when retrying.
30883 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
30885         * version.h (RELEASE): Bump for 2.14 release.
30886         * include/features.h (__GLIBC_MINOR__): Bump to 14.
30888         * config.make.in (RANLIB): Remove entry.
30890 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
30892         * po/Makefile (po-sed-cmd): Add ksh to extensions.
30893         (libc.pot): Work around missing support for .ksh extension in xgettext.
30895         [BZ #12684]
30896         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
30897         if both request failed.
30898         (send_dg): In case of server errors clear resplen or *resplen2.
30900         [BZ #12454]
30901         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
30902         when there are multiple maps.
30903         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
30904         (_dl_fini): Remove test here.
30906         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
30908 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
30910         [BZ #12350]
30911         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
30912         bit from old_res_options.
30913         (gaih_inet): Likewise.
30915         [BZ #11099]
30916         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
30917         as signed.
30919         * resolv/res_init.c (res_setoptions): Make the code more compact.
30921         [BZ #11558]
30922         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
30923         set RES_USEVC.
30925         [BZ #11634]
30926         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
30928         * malloc/malloc.h: Mark malloc hook variables as deprecated.
30930         [BZ #11781]
30931         * malloc/malloc.h: Declare malloc hook variables as volatile.
30933         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
30934         in last patch.
30936         [BZ #11799]
30937         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
30938         raise in the comment.
30939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
30940         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30941         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
30943 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
30945         [BZ #12811]
30946         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
30947         grow the buffers more if it already has to be sufficient.
30948         (build_wcs_upper_buffer): Likewise.
30949         * posix/regexec.c (check_matching): Likewise.
30950         (clean_state_log_if_needed): Likewise.
30951         (extend_buffers): Don't enlarge buffers beyond size of the input
30952         buffer.
30953         Patches mostly by Emil Wojak <emil@wojak.eu>.
30954         * posix/bug-regex32.c: New file.
30955         * posix/Makefile (tests): Add bug-regex32.
30957         * locale/findlocale.c (_nl_find_locale): Return right away if
30958         _nl_explode_name failed.
30959         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
30961         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
30963         * debug/xtrace.sh: Unify messages.
30964         * malloc/memusage.sh: Likewise.
30966         [BZ #12813]
30967         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
30968         time symbol from vDSO.  Substitute with vsyscall if not available.
30969         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
30970         __vdso_time.
30972         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
30973         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
30974         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
30975         Add sendmmsg and internal_sendmmsg.
30976         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
30977         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
30978         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
30980         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
30981         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
30982         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
30984 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
30986         [BZ #12813]
30987         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
30988         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
30989         available.
30990         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
30991         __vdso_getcpu.
30993         [BZ #12814]
30994         * iconvdata/Makefile (tests): Add bug-iconv9.
30995         * iconvdata/bug-iconv9.c: New file.
30997 2011-05-27  Andreas Schwab  <schwab@redhat.com>
30999         [BZ #12814]
31000         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
31002 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
31004         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31005         (struct user_regs_struct): Change intcs field back to cs.
31007 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
31009         * po/ja.po: Update from translation team.
31011 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
31013         [BZ #12795]
31014         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
31015         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
31017 2011-05-20  Andreas Schwab  <schwab@redhat.com>
31019         * stdlib/longlong.h: Update from GCC.
31021 2011-05-23  Andreas Schwab  <schwab@redhat.com>
31023         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
31024         parameter name.
31025         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
31026         Add parameter name.
31027         (__sysconf): Pass it down.
31029 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
31031         [BZ #12671]
31032         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
31033         some situations.
31034         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
31035         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
31036         add in in __libc_use_alloca calls.  Adjust callers.
31037         (glob): Use malloc in some situations.
31039         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
31040         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
31041         pltexit.
31043 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
31045         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
31046         and CLOCK_BOOTTIME_ALARM.
31048         [BZ #12782]
31049         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
31050         is returned.
31052         * string/_strerror.c (__strerror_r): Print negative errors as signed
31053         numbers.
31055         [BZ #12777]
31056         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
31057         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
31058         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
31060         * configure.in: Fix typo in redirection and correct removal of test
31061         files in two cases.
31063         [BZ #12788]
31064         * locale/setlocale.c (new_composite_name): Fix test to check for
31065         identical name of all categories.
31067         [BZ #12792]
31068         * libio/filedoalloc.c (local_isatty): New function.
31069         (_IO_file_doallocate): Use local_isatty.
31070         * stdio-common/perror.c (perror): In case a new stream is used
31071         forward the stream error.
31072         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
31073         error flag.
31075 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
31077         [BZ #11869]
31078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
31079         alloca.
31080         * include/alloca.h (extend_alloca_account): Define.
31082         [BZ #11857]
31083         * posix/regex.h: Fix comments with documentation of user-accessible
31084         fields after compilation and describe correct free'ing of pattern
31085         after re_compile_pattern.
31086         Patch by Reuben Thomas <rrt@sc3d.org>.
31088 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
31090         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
31091         and -mno-altivec to prevent the compiler from using Altivec and/or
31092         VSX instructions when the corresponding registers are not available.
31094 2011-05-19  Andreas Schwab  <schwab@redhat.com>
31096         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
31098 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
31100         * libio/freopen.c (freopen): Use __dup2, not dup2.
31101         * libio/freopen64.c (freopen64): Likewise.
31103 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
31105         [BZ #12775]
31106         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
31107         * math/Makefile (tests): Add test-powl.
31108         (CFLAGS-test-powl.c): Define.
31109         * math/test-powl.c: New file.
31111 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
31113         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
31115 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
31117         [BZ #11837]
31118         * iconvdata/gb18030.c: Update to GB18020-2005.
31120 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
31122         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
31123         RE_SYNTAX_POSIX_AWK): Update to match recent development.
31124         Patch by Aharon Robbins <arnold@skeeve.com>.
31126         [BZ #11892]
31127         * stdlib/putenv.c (putenv): Don't always create copy of the variable
31128         on the stack.
31130         [BZ #11895]
31131         * misc/pselect.c (__pselect): Handle timeout value errors hidden
31132         through underflows.
31134         [BZ #12766]
31135         * misc/error.c (error_at_line): Ensure file_name and old_file_name
31136         point to strings before performing equality test for error_one_per_line
31137         mode.
31139         [BZ #11697]
31140         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
31142         [BZ #11820]
31143         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
31144         (struct user_fpregs_struct): Avoid __uint*_t types.
31146         [BZ #6420]
31147         * malloc/mtrace.c (tr_where): Add additional parameter to point to
31148         symbol info.  Use it instead of calling _dl_addr locally.
31149         (lock_and_info): New function.
31150         (tr_freehook): Call lock_and_info and pass symbol info as additional
31151         parameter to tr_where.
31152         (tr_mallochook): Likewise.
31153         (tr_reallochook): Likewise.
31154         (tr_memalignhook): Likewise.
31156         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
31157         used and couldn't be at all thread-safe.
31159 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
31161         * libio/freopen.c (freopen): Don't close old file descriptor
31162         before the new one is opened.  Instead dup the new file descriptor
31163         to the old one after the new stream is created.
31164         * libio/freopen64.c (freopen64): Likewise.
31165         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
31166         * libio/fileops.c (_IO_new_file_close_it): Handle new
31167         _IO_FLAGS2_NOCLOSE flag.
31168         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
31169         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
31170         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
31171         _IO_FLAGS2_NOCLOSE flag.
31172         * include/unistd.h: Add hidden_proto for dup3.
31173         Define __have_dup3.
31174         * io/dup3.c: Define hidden symbol.
31175         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
31177         [BZ #7101]
31178         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
31179         when an incomplete long option is used.
31180         * posix/tst-getopt_long1.c: New file.
31181         * posix/Makefile (tests): Add tst-getopt_long1.
31183         [BZ #10138]
31184         * scripts/config.guess: Update from autoconf-2.68.
31185         * scripts/config.sub: Likewise.
31187         [BZ #10157]
31188         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
31189         tests into ...
31190         (has_cpuclock): ...this.  New function.
31191         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
31192         macro here based on has_cpuclock code.
31194         [BZ #10149]
31195         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31196         First byte (not low byte) is now always NUL.
31197         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
31199         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
31200         Use non-cancelable interfaces.
31202         [BZ #9809]
31203         * locale/iso-639.def: Add entry for Sorani.
31205         [BZ #11901]
31206         * include/stdlib.h: Move include protection to the right place.
31207         Define abort_msg_s.  Declare __abort_msg with it.
31208         * stdlib/abort.c (__abort_msg): Adjust type.
31209         * assert/assert.c (__assert_fail_base): New function.  Majority
31210         of code from __assert_fail.  Allocate memory for __abort_msg with
31211         mmap.
31212         (__assert_fail): Now call __assert_fail_base.
31213         * assert/assert-perr.c: Remove bulk of implementation.  Use
31214         __assert_fail_base.
31215         * include/assert.hL Declare __assert_fail_base.
31216         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
31217         mmap.
31218         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
31220 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
31222         [BZ #11952]
31223         [BZ #12453]
31224         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
31225         until all modules are registered in the DTV.
31226         * elf/Makefile: Add rules to build and run tst-tls19.
31227         * elf/tst-tls19.c: New file.
31228         * elf/tst-tls19mod1.c: New file.
31229         * elf/tst-tls19mod2.c: New file.
31230         * elf/tst-tls19mod3.c: New file.
31231         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
31233         [BZ #12083]
31234         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
31235         correctly.
31237         [BZ #12601]
31238         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
31239         two-byte sequence errors.
31240         * iconvdata/Makefile (tests): Add bug-iconv8.
31241         * iconvdata/bug-iconv8.c: New file.
31243         [BZ #12626]
31244         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
31245         buf2 definition.
31247         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
31249         [BZ #12432]
31250         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
31251         (dummy_getcfa): New function.
31252         (init): Get _Unwind_GetCFA address, use dummy if not found.
31253         (backtrace_helper): In recursion check, also check whether CFA changes.
31254         (__backtrace): Completely initialize arg.
31256         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
31257         storing incomplete byte sequence in state object.  Avoid testing for
31258         guaranteed too small input if we know there is enough data available.
31260 2011-05-11  Andreas Schwab  <schwab@redhat.com>
31262         * Makeconfig (+link-pie): Indent.
31263         * Rules (binaries-pie): Define if $(have-fpie) and
31264         $(build-shared).
31265         (binaries-shared): Also filter out $(binaries-pie).
31266         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
31267         * nscd/Makefile (others-pie): Add nscd.
31268         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
31269         ($(objpfx)nscd): Remove command override.
31270         * login/Makefile (others-pie): Add pt_chown.
31271         ($(objpfx)pt_chown): Remove command override.
31272         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
31273         remove command overrides.
31275 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
31277         * libio/tst_putwc.c: Fix error messages.
31279         [BZ #12724]
31280         * libio/fileops.c (_IO_new_file_close_it): Always flush when
31281         currently writing and seek to current position when not.
31282         * libio/Makefile (tests): Add bug-fclose1.
31283         * libio/bug-fclose1.c: New file.
31285 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
31287         [BZ #12511]
31288         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
31289         don't set DF_1_NODELETE here.
31290         (do_lookup_x): When entering new entry test for copy relocation
31291         and if necessary set DF_1_NODELETE flag.
31292         * elf/tst-unique4.cc: New file.
31293         * elf/tst-unique4.h: New file.
31294         * elf/tst-unique4lib.cc: New file.
31295         * elf/Makefile: Add rules to build and run tst-unique4.
31296         Patch by Piotr Bury <pbury@goahead.com>.
31298 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
31300         [BZ #12052]
31301         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
31303         [BZ #12625]
31304         * misc/mntent_r.c (addmntent): Flush the stream after the output
31306         [BZ #12393]
31307         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
31308         (is_trusted_path_normalize): Skip initial colon.  Append slash
31309         to empty buffer.  Duplicate is_trusted_path code but allow
31310         constructed patch to be prefix.
31311         (is_dst): Allow $ORIGIN followed by /.
31312         (_dl_dst_substitute): Correct clearing of check_for_trusted.
31313         Correct testing of result of is_trusted_path_normalize
31314         (decompose_rpath): Fix warning.
31316 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
31318         [BZ #11257]
31319         * grp/initgroups.c (internal_getgrouplist): When we found the service
31320         list through the initgroups entry in nsswitch.conf do not always
31321         continue on a successful lookup.  Don't always use the
31322         __nss_group_database value if it is set.
31323         * nss/nsswitch.conf (initgroups): Change action for successful db
31324         lookup to continue for compatibility.
31326 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
31328         [BZ #11532]
31329         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
31330         and CP774 modules.
31331         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
31332         and CP774 modules.
31333         * iconvdata/tst-tables.sh: Likewise.
31334         * iconvdata/cp770.c: New file.
31335         * iconvdata/cp771.c: New file.
31336         * iconvdata/cp772.c: New file.
31337         * iconvdata/cp773.c: New file.
31338         * iconvdata/cp774.c: New file.
31339         * iconvdata/testdata/CP770: New file.
31340         * iconvdata/testdata/CP770..UTF8: New file.
31341         * iconvdata/testdata/CP771: New file.
31342         * iconvdata/testdata/CP771..UTF8: New file.
31343         * iconvdata/testdata/CP772: New file.
31344         * iconvdata/testdata/CP772..UTF8: New file.
31345         * iconvdata/testdata/CP773: New file.
31346         * iconvdata/testdata/CP773..UTF8: New file.
31347         * iconvdata/testdata/CP774: New file.
31348         * iconvdata/testdata/CP774..UTF8: New file.
31350         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
31351         END CHARMAP line.
31352         * iconvdata/gen-8bit-gap.sh: Likewise.
31353         * iconvdata/gen-8bit.sh: Likewise.
31355         * locale/iso-639.def: Add ary entry.
31357         [BZ #11258]
31358         * locale/C-translit.h.in: Add U20A1 transliteration.
31360         [BZ #12178]
31361         * locale/iso-639.def: Add wae entry.
31362         Patch by Kevin Bortis <bortis@translate-wae.ch>.
31364         [BZ #12545]
31365         * locale/programs/localedef.c (construct_output_path): Use ssize_t
31366         for n.
31368         [BZ #12711]
31369         * locale/C-translit.h.in: Add entry for U20B9.
31370         Patch by pravin.d.s@gmail.com.
31372 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
31374         [BZ #12713]
31375         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
31376         ENAMETOOLONG use generic getcwd.
31377         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
31378         in rtld.  Use *stat64.
31379         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
31380         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
31381         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
31382         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
31383         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
31384         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
31385         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
31386         __fstatat64 macros.
31387         * include/dirent.h: Add libc_hidden_proto for rewinddir.
31388         * dirent/rewinddir.c: Add libc_hidden_def.
31389         * sysdeps/mach/hurd/rewinddir.c: Likewise.
31390         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
31392         * include/dirent.h (__alloc_dir): Add flags parameter.
31393         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
31394         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
31395         __alloc_dir.
31396         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
31397         from fdopendir if O_CLOEXEC is already set.
31399 2011-03-15  Alan Modra  <amodra@gmail.com>
31401         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
31402         l_tls_firstbyte_offset non-zero.  Save padding offset in
31403         l_tls_firstbyte_offset for later use.
31404         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
31405         freeing static tls block.
31407 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
31409         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
31410         where #ifdef was intended.  The intent is to prevent ARG_MAX from
31411         being defined by the kernel headers.
31413 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
31415         [BZ #12734]
31416         * resolv/resolv.h: Define RES_NOTLDQUERY.
31417         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
31418         no-tld-query and set RES_NOTLDQUERY.
31419         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
31420         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
31421         modern BIND to search name as TLD unless forbidden.
31423 2011-05-07  Petr Baudis  <pasky@suse.cz>
31424             Ulrich Drepper  <drepper@gmail.com>
31426         [BZ #12393]
31427         * elf/dl-load.c (fillin_rpath): Move trusted path check...
31428         (is_trusted_path): ...to here.
31429         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
31430         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
31431         using is_trusted_path_normalize() in setuid scripts.
31433 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31435         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
31436         __BEGIN/__END_DECLS.
31438 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
31440         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
31441         NSS_STATUS_NOTFOUND if no record was found.
31443 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31445         * sunrpc/Makefile (headers): Add rpc/netdb.h.
31446         (headers-not-in-tirpc): Remove rpc/netdb.h
31447         * resolv/netdb.h: Revert last change.
31449 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31451         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
31452         circular dependency between libgcc.a and libc.a.
31454 2011-05-05  Andreas Schwab  <schwab@redhat.com>
31456         * resolv/netdb.h: Don't include <rpc/netdb.h>.
31457         * nis/Makefile: Don't install rpcsvc/*.
31458         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
31459         instead of <rpc/types.h>.
31460         (MAXHOSTNAMELEN): Define.
31462 2011-05-03  Andreas Schwab  <schwab@redhat.com>
31464         * elf/ldconfig.c (add_dir): Don't crash on empty path.
31466 2011-04-28  Maciej Babinski  <mbabinski@google.com>
31468         [BZ #12714]
31469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
31470         gethostbyname4_r when IPv6 results are possible.
31472 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
31474         [BZ #12723]
31475         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
31476         _PC_PIPE_BUF handling.
31478 2011-04-30  Bruno Haible  <bruno@clisp.org>
31480         [BZ #12717]
31481         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
31482         * resolv/netdb.h (getnameinfo): Change type of flags parameter
31483         to 'int'.
31484         * inet/getnameinfo.c (getnameinfo): Likewise.
31486 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
31488         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
31489         to groups setting in database lookup.
31490         * nss/nsswitch.conf: Add initgroups entry.
31492 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
31494         [BZ #12685]
31495         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
31496         mode string.
31497         Patch by Eric Blake <eblake@redhat.com>.
31499 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
31501         * sunrpc/Makefile (need-export-routines): Add svc_run.
31502         (routines): Remove svc_run.
31503         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
31504         * sunrpc/clnt_perr.c (clnt_perrno): Export.
31505         * sunrpc/svc_run.c (svc_run): Likewise.
31506         * sunrpc/svc_udp.c (svcudp_create): Likewise.
31508 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
31510         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
31511         problem in reallocation in last patch.
31513 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
31515         * sunrpc/Makefile: Move inclusion of Rules.
31517 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31519         * nss/nss_files/files-initgroups.c: New file.
31520         * nss/Makefile (libnss_files-routines): Add files-initgroups.
31521         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
31522         _nss_files_initgroups_dyn.
31524 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
31526         * elf/elf.h (R_ARM_IRELATIVE): Define.
31528 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
31530         * po/ru.po: Update from translation team.
31532 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31534         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
31535         dependencies.
31537 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
31539         [BZ #12653]
31540         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
31541         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
31542         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
31543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31544         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31546 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
31548         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
31549         differing bytes.
31550         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31551         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31552         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31554 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
31556         [BZ #12420]
31557         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
31558         storing it.
31559         * stdlib/bug-getcontext.c: New file.
31560         * stdlib/Makefile: Add rules to build and run bug-getcontext.
31562 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31564         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
31565         instructions into .machine "z9-109".
31566         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
31567         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
31569 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31571         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
31572         between environment variables and auxiliary vector.
31574 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
31576         * Makefile: Add rules to build linkobj/libc.so.
31577         * include/libc-symbols.h: Define libc_hidden_nolink.
31578         * include/rpc/auth.h: Mark functions which are to be hidden.
31579         * include/rpc/auth_des.h: Likewise.
31580         * include/rpc/auth_unix.h: Likewise.
31581         * include/rpc/clnt.h: Likewise.
31582         * include/rpc/des_crypt.h: Likewise.
31583         * include/rpc/key_prot.h: Likewise.
31584         * include/rpc/pmap_clnt.h: Likewise.
31585         * include/rpc/pmap_prot.h: Likewise.
31586         * include/rpc/pmap_rmt.h: Likewise.
31587         * include/rpc/rpc_msg.h: Likewise.
31588         * include/rpc/svc.h: Likewise.
31589         * include/rpc/svc_auth.h: Likewise.
31590         * include/rpc/xdr.h: Likewise.
31591         * nis/Makefile: Link all DSOs against linkobj/libc.so.
31592         * nss/Makefile: Likewise.
31593         * sunrpc/Makefile: Don't install headers.  Build library with normal
31594         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
31595         * sunrpc/auth_des.c: Hide exported symbols by default, export some
31596         for the compat linking library.  Remove use of INTDEF/INTUSE.
31597         * sunrpc/auth_none.c: Likewise.
31598         * sunrpc/auth_unix.c: Likewise.
31599         * sunrpc/authdes_prot.c: Likewise.
31600         * sunrpc/authuxprot.c: Likewise.
31601         * sunrpc/clnt_gen.c: Likewise.
31602         * sunrpc/clnt_perr.c: Likewise.
31603         * sunrpc/clnt_raw.c: Likewise.
31604         * sunrpc/clnt_simp.c: Likewise.
31605         * sunrpc/clnt_tcp.c: Likewise.
31606         * sunrpc/clnt_udp.c: Likewise.
31607         * sunrpc/clnt_unix.c: Likewise.
31608         * sunrpc/des_crypt.c: Likewise.
31609         * sunrpc/des_soft.c: Likewise.
31610         * sunrpc/get_myaddr.c: Likewise.
31611         * sunrpc/key_call.c: Likewise.
31612         * sunrpc/key_prot.c: Likewise.
31613         * sunrpc/netname.c: Likewise.
31614         * sunrpc/pm_getmaps.c: Likewise.
31615         * sunrpc/pm_getport.c: Likewise.
31616         * sunrpc/pmap_clnt.c: Likewise.
31617         * sunrpc/pmap_prot.c: Likewise.
31618         * sunrpc/pmap_prot2.c: Likewise.
31619         * sunrpc/pmap_rmt.c: Likewise.
31620         * sunrpc/publickey.c: Likewise.
31621         * sunrpc/rpc_cmsg.c: Likewise.
31622         * sunrpc/rpc_common.c: Likewise.
31623         * sunrpc/rpc_dtable.c: Likewise.
31624         * sunrpc/rpc_prot.c: Likewise.
31625         * sunrpc/rpc_thread.c: Likewise.
31626         * sunrpc/rtime.c: Likewise.
31627         * sunrpc/svc.c: Likewise.
31628         * sunrpc/svc_auth.c: Likewise.
31629         * sunrpc/svc_authux.c: Likewise.
31630         * sunrpc/svc_raw.c: Likewise.
31631         * sunrpc/svc_run.c: Likewise.
31632         * sunrpc/svc_simple.c: Likewise.
31633         * sunrpc/svc_tcp.c: Likewise.
31634         * sunrpc/svc_udp.c: Likewise.
31635         * sunrpc/svc_unix.c: Likewise.
31636         * sunrpc/svcauth_des.c: Likewise.
31637         * sunrpc/xcrypt.c: Likewise.
31638         * sunrpc/xdr.c: Likewise.
31639         * sunrpc/xdr_array.c: Likewise.
31640         * sunrpc/xdr_float.c: Likewise.
31641         * sunrpc/xdr_intXX_t.c: Likewise.
31642         * sunrpc/xdr_mem.c: Likewise.
31643         * sunrpc/xdr_rec.c: Likewise.
31644         * sunrpc/xdr_ref.c: Likewise.
31645         * sunrpc/xdr_sizeof.c: Likewise.
31646         * sunrpc/xdr_stdio.c: Likewise.
31648 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
31650         [BZ #12650]
31651         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
31652         * sysdeps/ia64/dl-tls.h: Likewise.
31653         * sysdeps/powerpc/dl-tls.h: Likewise.
31654         * sysdeps/s390/dl-tls.h: Likewise.
31655         * sysdeps/sh/dl-tls.h: Likewise.
31656         * sysdeps/sparc/dl-tls.h: Likewise.
31657         * sysdeps/x86_64/dl-tls.h: Likewise.
31658         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
31660 2011-03-14  Andreas Schwab  <schwab@redhat.com>
31662         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
31663         rpath element also skip the following colon.
31664         (expand_dynamic_string_token): Add is_path parameter and pass
31665         down to DL_DST_REQUIRED and _dl_dst_substitute.
31666         (decompose_rpath): Call expand_dynamic_string_token with
31667         non-zero is_path.  Ignore empty rpaths.
31668         (_dl_map_object_from_fd): Call expand_dynamic_string_token
31669         with zero is_path.
31671 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
31673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
31674         Make cancelable.
31676 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
31678         [BZ #12655]
31679         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
31680         Patch by Filipe David Manana <fdmanana@apache.org>.
31682 2011-04-07  Andreas Schwab  <schwab@redhat.com>
31684         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
31685         Maintain aligned stack.
31686         (CHECK_RSP): Remove unused macro.
31688 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
31690         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
31691         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
31693 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
31695         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
31697         * include/features.h: Mention __USE_XOPEN2K8 in comment.
31699 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
31701         [BZ #12518]
31702         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
31703         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
31704         * sysdeps/x86_64/memmove.c: New file.
31705         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
31706         (memcpy): Renamed to ...
31707         (__new_memcpy): This.
31708         (memcpy): Provide GLIBC_2_14 memcpy.
31709         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
31710         (memcpy): Provide GLIBC_2_2_5 memcpy.
31712 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31714         [BZ #12631]
31715         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
31717 2011-03-30  Andreas Schwab  <schwab@redhat.com>
31719         * misc/syncfs.c: New file.
31720         * misc/Makefile (routines): Add syncfs.
31721         * posix/unistd.h: Declare syncfs.
31722         * sysdeps/unix/syscalls.list: Add syncfs.
31724 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31726         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
31727         open_by_handle_at.
31728         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31729         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31731         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31733         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
31734         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31736 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
31739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31740         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
31741         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31742         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31743         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31746         * io/Makefile: Compile fallocate.c, fallocate64.c, and
31747         sync_file_range.c with -fexceptions.
31748         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
31749         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
31750         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
31751         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
31752         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
31753         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
31754         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
31755         sync_file_range as cancellation point
31756         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
31757         now a wrapper around __call_sync_file_range with cancellation handling.
31758         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
31759         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
31760         function name to __call_sync_file_range.
31761         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
31762         Add call_sync_file_range.
31764 2011-04-01  Andreas Schwab  <schwab@redhat.com>
31766         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31767         bits/timex.h.
31769 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
31771         * iconv/iconv.h: Fix typo in comment.
31772         * io/fcntl.h: Likewise.
31773         * libio/stdio.h: Likewise.
31774         * posix/spawn.h: Likewise.
31775         * posix/unistd.h: Likewise.
31776         * stdlib/stdlib.h: Likewise.
31777         * time/time.h: Likewise.
31778         * wcsmbs/wchar.h: Likewise.
31780         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
31781         open_by_handle): Add.
31782         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
31783         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
31784         Augment a few comments.
31785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
31786         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31787         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31788         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31789         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31790         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
31791         open_by_handle.
31793         * io/fcntl.h (AT_EMPTY_PATH): Define.
31795 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
31797         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
31798         * sysdeps/unix/sysv/linux/bits/time.h: New file.
31799         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
31800         to...
31801         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
31802         * Versions.def: Add GLIBC_2.14.
31803         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
31804         Export.
31806 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
31808         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
31809         round counter.
31810         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31812 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31814         [BZ #12597]
31815         * string/test-strncmp.c (do_page_test): New function.
31816         (check2): Likewise.
31817         (test_main): Call check2.
31818         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
31820 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
31822         [BZ #12587]
31823         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
31824         Handle cache information in CPU leaf 4.
31825         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
31827 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
31829         [BZ #12583]
31830         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
31831         character representation.
31832         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
31834 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
31836         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
31837         END(__isnan) to END(__isnanf) to match function entry point/label
31838         EALIGN(__isnanf,...).
31840 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
31842         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
31844 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
31846         [BZ #12510]
31847         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
31848         copy from the symbol referenced in the relocation to initialize the
31849         used variable.
31850         Patch by Piotr Bury <pbury@goahead.com>.
31851         * elf/Makefile: Add rules to build and tst-unique3.
31852         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
31853         * elf/tst-unique3.cc: New file.
31854         * elf/tst-unique3.h: New file.
31855         * elf/tst-unique3lib.cc: New file.
31856         * elf/tst-unique3lib2.cc: New file.
31858         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
31860 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
31862         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
31863         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
31864         to _start.
31866 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
31868         * elf/dl-load.c (_dl_map_object): If we are looking for the first
31869         to-be-loaded object along a path to loader is ld.so.
31871 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31872             Ulrich Drepper  <drepper@gmail.com>
31874         * sysdeps/x86_64/memset.S: After aligning destination, code
31875         branches to different locations depending on the value of
31876         misalignment, when multiarch is enabled. Fix this.
31878 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
31880         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
31881         Set _x86_64_preferred_memory_instruction for AMD processsors.
31882         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31883         Set bit_Prefer_SSE_for_memop for AMD processors.
31885 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
31887         * libio/fmemopen.c (fmemopen): Optimize a bit.
31889 2011-03-03  Andreas Schwab  <schwab@redhat.com>
31891         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
31893 2011-03-03  Roland McGrath  <roland@redhat.com>
31895         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
31897 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
31899         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
31900         __bzero_ultra1 instead of __memset_ultra1.
31902 2011-02-23  Andreas Schwab  <schwab@redhat.com>
31903             Ulrich Drepper  <drepper@gmail.com>
31905         [BZ #12509]
31906         * include/link.h (struct link_map): Add l_orig_initfini.
31907         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
31908         returning unsuccessfully.
31909         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
31910         close of a file loaded at startup, restore the original l_initfini
31911         list.
31912         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
31913         list, store the pointer.
31914         * elf/Makefile ($(objpfx)noload-mem): New rule.
31915         (noload-ENV): Define.
31916         (tests): Add $(objpfx)noload-mem.
31917         * elf/noload.c: Include <memcheck.h>.
31918         (main): Call mtrace.  Close all opened handles.
31920 2011-02-17  Andreas Schwab  <schwab@redhat.com>
31922         [BZ #12454]
31923         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
31924         dependencies are missing.
31926 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31928         Fix __if_freereq crash: Unlike the generic version which uses free,
31929         Hurd needs munmap.
31930         * sysdeps/mach/hurd/ifreq.h: New file.
31932 2011-01-27  Petr Baudis  <pasky@suse.cz>
31933             Ulrich Drepper  <drepper@gmail.com>
31935         [BZ 12445]#
31936         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
31937         to extend_alloca().
31938         * stdio-common/bug23.c: New file.
31939         * stdio-common/Makefile (tests): Add bug23.
31941 2010-09-28  Andreas Schwab  <schwab@redhat.com>
31942             Ulrich Drepper  <drepper@gmail.com>
31944         [BZ #12489]
31945         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
31946         before performing relro protection.  At old place add assertion
31947         to make sure nothing changed.
31949 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
31950             Glauber de Oliveira Costa  <glommer@gmail.com>
31952         * elf/elf.h: Add new ARM TLS relocs.
31954 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
31956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
31957         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
31958         cast from r3.
31959         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
31960         'tests' variable.
31961         * sysdeps/wordsize-64/tst-writev.c: New file.
31963 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
31965         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
31966         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
31967         insns in _dl_start to prevent a TOC reference before relocs are
31968         resolved.
31970 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
31972         [BZ #12469]
31973         * Makeconfig: Remove RANLIB definition.
31974         * Makerules: Don't use RANLIB.
31975         * aclocal.m4: Remove ranlib test.
31976         * configure.in: No need to check for ranlib.
31977         * elf/rtld-Rules: Don't use RANLIB.
31979 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31981         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
31982         protection macro.
31983         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
31984         inclusion protection macro.
31986         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
31987         SIGRTMIN and SIGRTMAX and print information in that case only when
31988         SIGRTMIN is defined.
31990 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
31992         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
31993         arginfo fn returning -1.
31995         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
31996         and thousands string is zero terminated.
31998 2011-02-03  Andreas Schwab  <schwab@redhat.com>
32000         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
32001         sysdeps/unix/sysv/linux/bits/socket.h.
32003 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32005         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
32006         (__CPU_COUNT): Remove old macros.
32007         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
32008         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
32009         (__CPU_ALLOC, __CPU_FREE): Add macros.
32010         (__sched_cpualloc, __sched_cpufree): Add declarations.
32012 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
32014         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
32015         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
32016         * nscd/aicache.c (addhstaiX): Return timeout of added value.
32017         (readdhstai): Return value of addhstaiX call.
32018         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
32019         (addgrbyX): Return value returned by cache_addgr.
32020         (readdgrbyname): Return value returned by addgrbyX.
32021         (readdgrbygid): Likewise.
32022         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
32023         (addpwbyX): Return value returned by cache_addpw.
32024         (readdpwbyname): Return value returned by addhstbyX.
32025         (readdpwbyuid): Likewise.
32026         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
32027         (addservbyX): Return value returned by cache_addserv.
32028         (readdservbyname): Return value returned by addservbyX:
32029         (readdservbyport): Likewise.
32030         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
32031         (addhstbyX): Return value returned by cache_addhst.
32032         (readdhstbyname): Return value returned by addhstbyX.
32033         (readdhstbyaddr): Likewise.
32034         (readdhstbynamev6): Likewise.
32035         (readdhstbyaddrv6): Likewise.
32036         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
32037         (readdinitgroups): Return value returned by addinitgroupsX.
32038         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
32039         (prune_cache): Keep track of timeout value of re-added entries.
32040         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
32041         * nscd/nscd.h: Adjust prototypes of readd* functions.
32043 2011-02-04  Roland McGrath  <roland@redhat.com>
32045         * nis/nis_server.c (nis_servstate): Use the right name for 0.
32046         (nis_stats): Likewise.
32047         * nis/nis_modify.c (nis_modify): Likewise.
32048         * nis/nis_remove.c (nis_remove): Likewise.
32049         * nis/nis_add.c (nis_add): Likewise.
32051         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
32053         * posix/fnmatch_loop.c: Add some consts.
32055         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
32057 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
32059         [BZ #12460]
32060         * config.make.in (config-cflags-novzeroupper): Define.
32061         * configure.in: Substitute libc_cv_cc_novzeroupper.
32062         * elf/Makefile (AVX-CFLAGS): Define.
32063         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
32064         (CFLAGS-tst-auditmod4a.c): Likewise.
32065         (CFLAGS-tst-auditmod4b.c): Likewise.
32066         (CFLAGS-tst-auditmod6b.c): Likewise.
32067         (CFLAGS-tst-auditmod6c.c): Likewise.
32068         (CFLAGS-tst-auditmod7b.c): Likewise.
32069         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
32071 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
32073         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
32074         function to the callback.
32075         Patch partly by Jiri Olsa <jolsa@redhat.com>.
32077 2011-02-02  Andreas Schwab  <schwab@redhat.com>
32079         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
32080         of errno.
32082 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
32084         [BZ #11724]
32085         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
32086         of constructors.
32087         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
32088         of destructors.
32089         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
32091         [BZ #11724]
32092         * elf/Makefile: Add rules to build and run new test.
32093         * elf/tst-initorder.c: New file.
32094         * elf/tst-initorder.exp: New file.
32095         * elf/tst-initordera1.c: New file.
32096         * elf/tst-initordera2.c: New file.
32097         * elf/tst-initordera3.c: New file.
32098         * elf/tst-initordera4.c: New file.
32099         * elf/tst-initorderb1.c: New file.
32100         * elf/tst-initorderb2.c: New file.
32101         * elf/tst-order-a1.c: New file.
32102         * elf/tst-order-a2.c: New file.
32103         * elf/tst-order-a3.c: New file.
32104         * elf/tst-order-a4.c: New file.
32105         * elf/tst-order-b1.c: New file.
32106         * elf/tst-order-b2.c: New file.
32107         * elf/tst-order-main.c: New file.
32108         New test case by George Gensure <werkt0@gmail.com>.
32110 2010-10-01  Andreas Schwab  <schwab@redhat.com>
32112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32113         decoding ACE if AI_CANONIDN.
32115 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
32117         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
32119 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
32121         * version.h (RELEASE): Bump for 2.13 release.
32122         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
32124         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
32126         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
32127         MADV_NOHUGEPAGE.
32128         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
32129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
32130         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32131         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32132         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32133         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32135         * posix/getconf.c: Update copyright year.
32136         * catgets/gencat.c: Likewise.
32137         * csu/version.c: Likewise.
32138         * debug/catchsegv.sh: Likewise.
32139         * debug/xtrace.sh: Likewise.
32140         * elf/ldconfig.c: Likewise.
32141         * elf/ldd.bash.in: Likewise.
32142         * elf/sprof.c (print_version): Likewise.
32143         * iconv/iconv_prog.c: Likewise.
32144         * iconv/iconvconfig.c: Likewise.
32145         * locale/programs/locale.c: Likewise.
32146         * locale/programs/localedef.c: Likewise.
32147         * malloc/memusage.sh: Likewise.
32148         * malloc/mtrace.pl: Likewise.
32149         * nscd/nscd.c (print_version): Likewise.
32150         * nss/getent.c: Likewise.
32152         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
32153         PF_CAIF, and PF_ALG.
32154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32156 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
32158         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
32159         (modules-names): Use them.
32160         (ifunc-test-modules, ifunc-pie-tests): Define.
32161         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
32162         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
32163         (test-extras): Likewise.
32164         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
32165         $(compile-command.c).
32166         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
32167         (all-built-dso): Define.
32168         (check-textrel.out, check-execstack.out): Depend on it.
32170         * configure.in: Don't override --enable-multi-arch.
32172 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
32174         [BZ #6812]
32175         * nscd/hstcache.c (tryagain): Define.
32176         (cache_addhst): Return tryagain not notfound for temporary errors.
32177         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
32178         failed.
32180 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
32182         [BZ #10563]
32183         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
32184         to make the syscall.
32185         * sysdeps/unix/sysv/linux/setgroups.c: New file.
32187         [BZ #12378]
32188         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
32189         and fall back to matching as normal character if the string ends before
32190         the matching ']' is found.  This is what POSIX requires.
32191         * posix/testfnm.c: Adjust test result.
32192         * posix/globtest.sh: Adjust test result.  Add new test.
32193         * posix/tst-fnmatch.input: Likewise.
32194         * posix/tst-fnmatch2.c: Add new test.
32196 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
32198         * elf/Makefile (check-execstack): Revert last change.  Depend on
32199         check-execstack.h.
32200         (check-execstack.h): New target.
32201         (generated): Add check-execstack.h.
32202         * elf/check-execstack.c: Include "check-execstack.h".
32203         (main): Revert last change.
32204         (handle_file): Return zero if GNU_STACK is absent and
32205         DEFAULT_STACK_PERMS doesn't include PF_X.
32207 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
32209         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
32210         in child fails because the descriptor is already closed.
32211         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
32212         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
32213         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
32215         [BZ #12397]
32216         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
32217         syscall.
32219         [BZ #10484]
32220         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
32221         temporary buffer used to handle multi lookups locally.
32222         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
32224 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32226         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
32227         loader is ld.so.
32229 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
32231         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
32232         alignment for SSE2.
32234 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
32236         [BZ #12394]
32237         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
32238         characters.  When rounding increased number of integer digits recompute
32239         number of groups.
32240         * stdio-common/tst-grouping.c: New file.
32241         * stdio-common/Makefile: Add rules to build and run tst-grouping.
32243 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
32245         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
32246         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
32248         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
32249         void.
32250         * bits/select.h: Likewise.
32252 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
32254         * po/ja.po: Update from translation team.
32256 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
32258         [BZ #11155]
32259         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
32260         implementation just like for lxstat, fxstatat, et al.
32262 2010-12-27  Jim Meyering  <meyering@redhat.com>
32264         [BZ #12348]
32265         * posix/regexec.c (build_trtable): Return failure indication upon
32266         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
32268 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
32270         [BZ #12201]
32271         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
32272         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
32273         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
32274         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
32276         [BZ #12207]
32277         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
32279         [BZ #12204]
32280         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
32281         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
32283 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
32285         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
32286         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
32287         script has SORT_BY_INIT_PRIORITY.
32288         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
32289         NO_CTORS_DTORS_SECTIONS is defined.
32290         * elf/soinit.c: Likewise.
32291         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
32292         NO_CTORS_DTORS_SECTIONS is defined.
32293         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
32294         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
32295         * sysdeps/sh/init-first.c: Likewise.
32296         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
32298 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
32300         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
32301         always use the slow path.
32303 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
32305         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
32306         similar rule which adds the sysdep directories to the header search in
32307         order to pick up the correct platform stackinfo.h.
32308         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
32309         perform test if it is, otherwise return successfully without testing.
32310         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
32311         DEFAULT_STACK_PERMS define in stackinfo.h.
32312         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
32313         defined in stackinfo.h.
32314         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
32315         DEFAULT_STACK_PERMS defined in stackinfo.h.
32316         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
32317         * sysdeps/ia64/stackinfo.h: Likewise.
32318         * sysdeps/s390/stackinfo.h: Likewise.
32319         * sysdeps/sh/stackinfo.h: Likewise.
32320         * sysdeps/sparc/stackinfo.h: Likewise.
32321         * sysdeps/x86_64/stackinfo.h: Likewise.
32322         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
32323         PF_X for powerpc64.  Retain PF_X for powerpc32.
32325 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
32327         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
32328         accurately.
32329         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
32330         GETDENTS_64BIT_ALIGNED.
32332 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
32334         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
32336 2010-12-10  Andreas Schwab  <schwab@redhat.com>
32338         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
32339         _GNU_SOURCE.
32341         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
32342         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
32343         Remove __restrict.
32344         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
32345         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
32347 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
32349         [BZ #11655]
32350         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
32351         are initialized.
32353 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
32355         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
32357 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
32359         * po/it.po: Update from translation team.
32361 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
32363         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
32364         unused codes.
32366 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
32368         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
32370 2010-11-24  Andreas Schwab  <schwab@redhat.com>
32372         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
32373         specially.
32374         (gaih_getanswer_slice): Likewise.
32376 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
32378         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
32380 2010-05-31  Petr Baudis  <pasky@suse.cz>
32382         [BZ #11149]
32383         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
32384         silently even in the chroot mode.
32386 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
32388         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
32389         last patch a bit.  Pretty printing
32391 2010-05-31  Petr Baudis <pasky@suse.cz>
32393         [BZ #10085]
32394         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
32395         initialization of skip_initgroups_dyn.
32397 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
32399         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
32400         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
32402 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
32404         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
32406 2010-11-11  Andreas Schwab  <schwab@redhat.com>
32408         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
32409         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
32410         (tst-fnmatch-ENV): Set MALLOC_TRACE.
32411         ($(objpfx)tst-fnmatch-mem): New rule.
32412         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
32413         * posix/tst-fnmatch.c (main): Call mtrace.
32415 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
32417         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32418         Support Intel processor model 6 and model 0x2c.
32420 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
32422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
32423           signed comparison.
32425 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
32427         [BZ #12205]
32428         * string/test-strncasecmp.c (check_result): New function.
32429         (do_one_test): Use it.
32430         (check1): New function.
32431         (test_main): Use it.
32432         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
32433         Support strcasecmp and strncasecmp.
32435 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
32437         [BZ #12194]
32438         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
32439         * sysdeps/x86_64/bits/byteswap.h: Likewise.
32441 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32443         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
32444         IFUNC support.
32445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32446         memset-x86-64.
32447         * sysdeps/x86_64/multiarch/bzero.S: New file.
32448         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
32449         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
32450         * sysdeps/x86_64/multiarch/memset.S: New file.
32451         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
32452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32453         Set bit_Prefer_SSE_for_memop for Intel processors.
32454         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
32455         Define.
32456         (index_Prefer_SSE_for_memop): Define.
32457         (HAS_PREFER_SSE_FOR_MEMOP): Define.
32459 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
32461         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
32462         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
32464 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
32466         [BZ #12191]
32467         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32468         (__x86_64_raw_data_cache_size_half): Likewise.
32469         (__x86_64_raw_shared_cache_size): Likewise.
32470         (__x86_64_raw_shared_cache_size_half): Likewise.
32472         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
32473         (__x86_64_raw_data_cache_size_half): Likewise.
32474         (__x86_64_raw_shared_cache_size): Likewise.
32475         (__x86_64_raw_shared_cache_size_half): Likewise.
32476         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
32477         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
32478         and __x86_64_raw_shared_cache_size_half.  Round
32479         __x86_64_data_cache_size_half, __x86_64_data_cache_size
32480         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
32481         to multiple of 256 bytes.
32483 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
32485         [BZ #12167]
32486         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
32487         of inacessible symlinks.  Verify result of symlink before returning it.
32488         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
32489         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
32491 2010-10-28  Erich Ritz  <erichritz@gmail.com>
32493         * math/math.h (isinf): Fix typo in comment.
32495 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
32497         * po/da.po: Update from translation team.
32499 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
32501         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
32502         is added to the list.
32504 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32505             Ulrich Drepper  <drepper@gmail.com>
32507         * elf/dl-object.c (_dl_new_object): Don't append the new object to
32508         the global list here.  Move code to...
32509         (_dl_add_to_namespace_list): ...here.  New function.
32510         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
32511         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
32512         * elf/dl-load.c (lose): Don't remove the element from the list.
32513         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
32514         (_dl_map_object): Likewise.
32516 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
32518         [BZ #12159]
32519         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
32520         into all bytes of SSE register.
32521         Patch by Richard Li <richardpku@gmail.com>.
32523 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
32525         [BZ #12140]
32526         * malloc/malloc.c (_int_free): Fill correct number of bytes when
32527         perturbing.
32529 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
32531         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
32532         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
32533         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
32534         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
32536         submachine.
32537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
32539 2010-10-22  Andreas Schwab  <schwab@redhat.com>
32541         * include/dlfcn.h (__RTLD_SECURE): Define.
32542         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
32543         mode & __RTLD_SECURE instead.
32544         (open_path): Rename preloaded parameter to secure.
32545         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
32546         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
32547         * elf/dl-deps.c (openaux): Likewise.
32548         * elf/rtld.c (struct map_args): Remove is_preloaded.
32549         (map_doit): Don't use it.
32550         (dl_main): Likewise.
32551         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
32552         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
32554 2010-09-09  Andreas Schwab  <schwab@redhat.com>
32556         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
32557         (sysd-rules-targets): Remove duplicates.
32558         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
32559         rtld-%.$o dependency.
32561 2010-10-18  Andreas Schwab  <schwab@redhat.com>
32563         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
32564         _dl_map_object do it.
32566 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
32568         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
32569         fast fma builtins, define the macros in the C99 standard.
32570         (FP_FAST_FMAF): Likewise.
32571         (FP_FAST_FMAL): Likewise.
32572         * sysdeps/x86_64/bits/mathdef.h: Likewise.
32574         * bits/mathdef.h: Update copyright year.
32575         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32577 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
32579         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
32580         builtins, define the macros in the C99 standard.
32581         (FP_FAST_FMAF): Likewise.
32582         (FP_FAST_FMAL): Likewise.
32583         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
32584         multiply/add.
32585         (FP_FAST_FMAF): Likewise.
32587 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
32589         [BZ #3268]
32590         * math/libm-test.inc (fma_test): Some new testcases.
32591         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
32592         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
32593         y and infinite z.  Do multiplication by C already in long double.
32594         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
32595         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
32596         y and infinite z.  Do bitwise or of inexact bit into u.d.
32597         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
32598         * sysdeps/i386/fpu/s_fmaf.S: Removed.
32599         * sysdeps/i386/fpu/s_fma.S: Removed.
32600         * sysdeps/i386/fpu/s_fmal.S: Removed.
32602 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
32604         [BZ #3268]
32605         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
32606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
32607         computation is not scheduled after fetestexcept.  Fix value
32608         of minimum denormal long double.
32610 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
32612         [BZ #3268]
32613         * math/libm-test.inc (fma_test): Add some more tests.
32614         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
32615         correctly.
32617 2010-10-15  Andreas Schwab  <schwab@redhat.com>
32619         * scripts/data/localplt-s390-linux-gnu.data: New file.
32620         * scripts/data/localplt-s390x-linux-gnu.data: New file.
32622 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
32624         [BZ #3268]
32625         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
32626         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
32627         instead of dbl-64.
32628         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
32629         inlines.
32630         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
32631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
32632         if one of x and y is very large and the other is subnormal.
32633         * sysdeps/s390/fpu/s_fmaf.c: New file.
32634         * sysdeps/s390/fpu/s_fma.c: New file.
32635         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
32636         * sysdeps/powerpc/fpu/s_fma.S: New file.
32637         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
32638         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
32639         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
32641 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
32643         [BZ #3268]
32644         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
32645         fma tests.
32646         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
32647         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
32648         * sysdeps/i386/i686/multiarch/s_fma.c: Include
32649         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
32650         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
32651         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
32652         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
32654 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
32656         [BZ #12078]
32657         * posix/regcomp.c (parse_branch): One more memory leak plugged.
32658         * posix/bug-regex31.input: Add test case.
32660 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32662         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
32663         * posix/bug-regex31.input: New file.
32665         [BZ #12078]
32666         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
32667         (parse_sub_exp): Fix last change, use postorder.
32669         * posix/bug-regex31.c: New file.
32670         * posix/Makefile: Add rules to build and run bug-regex31.
32672         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
32674         [BZ #12078]
32675         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
32677         [BZ #12108]
32678         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
32679         to have entries in sys_siglist.
32681         [BZ #12093]
32682         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
32683         be NULL.
32685 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
32687         [BZ #3268]
32688         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
32689         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
32690         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
32691         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
32692         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
32693         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
32694         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
32695         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
32696         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
32697         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
32698         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
32699         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
32700         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
32701         * math/ftestexcept.c (fetestexcept): Likewise.
32702         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
32703         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
32704         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32705         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
32706         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
32707         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
32708         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32710 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
32712         [BZ #12107]
32713         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
32714         newline.
32716 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
32718         * string/bug-strstr1.c: New file.
32719         * string/Makefile: Add rules to build and run bug-strstr1.
32721 2010-10-05  Eric Blake  <eblake@redhat.com>
32723         [BZ #12092]
32724         * string/str-two-way.h (two_way_long_needle): Always clear memory
32725         when skipping input due to the shift table.
32727 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
32729         [BZ #12005]
32730         * malloc/mcheck.c: Handle large requests.
32732         [BZ #12077]
32733         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
32734         for strncmp and strncasecmp.
32735         * string/stratcliff.c: Add tests for strcmp and strncmp.
32736         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
32738 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
32740         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
32741         __set_fpscr.
32743 2010-09-30  Andreas Jaeger  <aj@suse.de>
32745         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
32746         (CGROUP_SUPER_MAGIC): Define.
32747         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32748         Handle btrfs and cgroup file systems.
32749         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
32750         Likewise.
32752 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
32754         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
32755         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
32757 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32759         [BZ #12067]
32760         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
32761         trying to locate the ELF header.
32763 2010-09-27  Andreas Schwab  <schwab@redhat.com>
32765         [BZ #11611]
32766         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
32767         Mask out sign-bit copies when constructing f_fsid.
32769 2010-09-24  Petr Baudis <pasky@suse.cz>
32771         * debug/stack_chk_fail_local.c: Add missing licence exception.
32772         * debug/warning-nop.c: Likewise.
32774 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
32776         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
32777         implementing getdents64 using getdents syscall, set d_type if
32778         __ASSUME_GETDENTS32_D_TYPE.
32780 2010-09-16  Andreas Schwab  <schwab@redhat.com>
32782         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
32783         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
32785 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
32787         [BZ #12037]
32788         * posix/unistd.h: Undo change of feature selection for ftruncate from
32789         2010-01-11.
32791 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
32793         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
32794         detection.
32796 2010-09-20  Andreas Schwab  <schwab@redhat.com>
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
32799         fanotify_mark.
32800         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
32802 2010-09-14  Andreas Schwab  <schwab@redhat.com>
32804         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
32805         variables after CHECK_SP call.
32806         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
32808 2010-09-13  Andreas Schwab  <schwab@redhat.com>
32809             Ulrich Drepper  <drepper@redhat.com>
32811         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
32812         re-relocationg ld.so.
32813         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
32814         _dl_init_paths call.
32815         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
32816         here anymore.
32818 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
32820         * resolv/res_init.c (__res_vinit): Count the default server we added.
32822 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
32823             Ulrich Drepper  <drepper@redhat.com>
32825         [BZ #11968]
32826         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32827         (____longjmp_chk): Use %ebx for saving value across system call.
32828         Add unwind info.
32830 2010-09-06  Andreas Schwab  <schwab@redhat.com>
32832         * manual/Makefile: Don't mix pattern rules with normal rules.
32834 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
32836         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
32837         operation.
32838         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
32839         * libio/iofopncook.c (_IO_cookie_init): Likewise.
32840         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
32841         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
32842         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32843         Likewise.
32845 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
32847         [BZ #11979]
32848         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
32849         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
32851 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
32853         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
32854         * sysdeps/x86_64/addmul_1.S: Likewise.
32855         * sysdeps/x86_64/lshift.S: Likewise.
32856         * sysdeps/x86_64/mul_1.S: Likewise.
32857         * sysdeps/x86_64/rshift.S: Likewise.
32858         * sysdeps/x86_64/sub_n.S: Likewise.
32859         * sysdeps/x86_64/submul_1.S: Likewise.
32861 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32863         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
32864         Define __sched_param instead of SCHED_* and sched_param when
32865         <bits/sched.h> is included with __need_schedparam defined.
32866         * bits/sched.h [__need_schedparam]
32867         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
32868         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
32869         (__defined_schedparam): Define to 1.
32870         (__sched_param): New structure, identical to sched_param.
32871         (__need_schedparam): Undefine.
32873 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
32875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
32876         (epoll_create1): Declare.
32878         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
32880 2010-08-31  Andreas Schwab  <schwab@redhat.com>
32882         [BZ #7066]
32883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
32884         shifting retval into place.
32886 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
32888         * nis/rpcsvc/nis.h: Update copyright notice.
32889         * nis/rpcsvc/nis.x: Likewise.
32890         * nis/rpcsvc/nis_callback.h: Likewise.
32891         * nis/rpcsvc/nis_callback.x: Likewise.
32892         * nis/rpcsvc/nis_object.x: Likewise.
32893         * nis/rpcsvc/nis_tags.h: Likewise.
32894         * nis/rpcsvc/yp.h: Likewise.
32895         * nis/rpcsvc/yp.x: Likewise.
32896         * nis/rpcsvc/ypupd.h: Likewise.
32897         * nis/yp_xdr.c: Likewise.
32898         * nis/ypupdate_xdr.c: Likewise.
32900         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
32901         mainly the body of pmap_getport.  Add parameters to specify timeouts.
32902         (pmap_getport): Use __libc_rpc_getport.
32903         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
32904         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
32905         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
32907 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
32909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
32910         fanotify_mark.
32912 2010-08-27  Roland McGrath  <roland@redhat.com>
32914         * sysdeps/i386/i686/multiarch/Makefile
32915         (CFLAGS-varshift.c): New variable.
32917 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
32919         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
32920         * sysdeps/i386/i686/multiarch/varshift.c: New file.
32922         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
32924         * sysdeps/x86_64/strlen.S: Minimal code improvement.
32926 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32928         * sysdeps/x86_64/strlen.S: Unroll the loop.
32929         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32930         strlen-sse2 strlen-sse2-bsf.
32931         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
32932         __strlen_no_bsf if bit_Slow_BSF is set.
32933         (__strlen_sse42): Removed.
32934         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
32935         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
32937 2010-08-25  Roland McGrath  <roland@redhat.com>
32939         * sysdeps/x86_64/multiarch/varshift.S: File removed.
32940         * sysdeps/x86_64/multiarch/varshift.c: New file.
32941         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
32942         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
32943         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
32944         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32946 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32948         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32949         strlen-sse2 strlen-sse2-bsf.
32950         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
32951         __strlen_sse2_bsf if bit_Slow_BSF is unset.
32952         (__strlen_sse2): Removed.
32953         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
32954         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
32955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
32956         bit_Slow_BSF for Atom.
32957         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
32958         (index_Slow_BSF): Define.
32959         (HAS_SLOW_BSF): Define.
32961 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
32963         [BZ #10851]
32964         * resolv/res_init.c (__res_vinit): When no server address at all
32965         is given default to loopback.
32967 2010-08-24  Roland McGrath  <roland@redhat.com>
32969         * configure.in: Remove config-name.h generation.
32970         * configure: Regenerated.
32971         * config-name.in: File removed.
32972         * scripts/config-uname.sh: New file.
32973         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
32974         ($(objdir)config-name.h): New target.
32976         * sunrpc/rpc_parse.h: Avoid nested comment.
32978 2010-08-24  Richard Henderson  <rth@redhat.com>
32979             Ulrich Drepper  <drepper@redhat.com>
32980             H.J. Lu  <hongjiu.lu@intel.com>
32982         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
32983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
32984         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
32985         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
32986         _mm_alignr_epi8 with _mm_loadu_si128.
32987         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
32988         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
32989         (__m128i_shift_right): Removed.
32990         * sysdeps/i386/i686/multiarch/varshift.h: New file.
32991         * sysdeps/i386/i686/multiarch/varshift.S: New file.
32992         * sysdeps/x86_64/multiarch/varshift.h: New file.
32993         * sysdeps/x86_64/multiarch/varshift.S: New file.
32995 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
32997         * configure.in: Move assembler checks to before sysdep dir checking.
32999 2010-08-20  Petr Baudis  <pasky@suse.cz>
33001         * LICENSES: Sync the sunrpc license.
33003 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
33005         * sunrpc/auth_des.c: Update copyright notice once again.
33006         * sunrpc/auth_none.c: Likewise.
33007         * sunrpc/auth_unix.c: Likewise.
33008         * sunrpc/authdes_prot.c: Likewise.
33009         * sunrpc/authuxprot.c: Likewise.
33010         * sunrpc/bindrsvprt.c: Likewise.
33011         * sunrpc/clnt_gen.c: Likewise.
33012         * sunrpc/clnt_perr.c: Likewise.
33013         * sunrpc/clnt_raw.c: Likewise.
33014         * sunrpc/clnt_simp.c: Likewise.
33015         * sunrpc/clnt_tcp.c: Likewise.
33016         * sunrpc/clnt_udp.c: Likewise.
33017         * sunrpc/clnt_unix.c: Likewise.
33018         * sunrpc/des_crypt.c: Likewise.
33019         * sunrpc/des_soft.c: Likewise.
33020         * sunrpc/get_myaddr.c: Likewise.
33021         * sunrpc/getrpcport.c: Likewise.
33022         * sunrpc/key_call.c: Likewise.
33023         * sunrpc/key_prot.c: Likewise.
33024         * sunrpc/openchild.c: Likewise.
33025         * sunrpc/pm_getmaps.c: Likewise.
33026         * sunrpc/pm_getport.c: Likewise.
33027         * sunrpc/pmap_clnt.c: Likewise.
33028         * sunrpc/pmap_prot.c: Likewise.
33029         * sunrpc/pmap_prot2.c: Likewise.
33030         * sunrpc/pmap_rmt.c: Likewise.
33031         * sunrpc/rpc/auth.h: Likewise.
33032         * sunrpc/rpc/auth_unix.h: Likewise.
33033         * sunrpc/rpc/clnt.h: Likewise.
33034         * sunrpc/rpc/des_crypt.h: Likewise.
33035         * sunrpc/rpc/key_prot.h: Likewise.
33036         * sunrpc/rpc/netdb.h: Likewise.
33037         * sunrpc/rpc/pmap_clnt.h: Likewise.
33038         * sunrpc/rpc/pmap_prot.h: Likewise.
33039         * sunrpc/rpc/pmap_rmt.h: Likewise.
33040         * sunrpc/rpc/rpc.h: Likewise.
33041         * sunrpc/rpc/rpc_des.h: Likewise.
33042         * sunrpc/rpc/rpc_msg.h: Likewise.
33043         * sunrpc/rpc/svc.h: Likewise.
33044         * sunrpc/rpc/svc_auth.h: Likewise.
33045         * sunrpc/rpc/types.h: Likewise.
33046         * sunrpc/rpc/xdr.h: Likewise.
33047         * sunrpc/rpc_clntout.c: Likewise.
33048         * sunrpc/rpc_cmsg.c: Likewise.
33049         * sunrpc/rpc_common.c: Likewise.
33050         * sunrpc/rpc_cout.c: Likewise.
33051         * sunrpc/rpc_dtable.c: Likewise.
33052         * sunrpc/rpc_hout.c: Likewise.
33053         * sunrpc/rpc_main.c: Likewise.
33054         * sunrpc/rpc_parse.c: Likewise.
33055         * sunrpc/rpc_parse.h: Likewise.
33056         * sunrpc/rpc_prot.c: Likewise.
33057         * sunrpc/rpc_sample.c: Likewise.
33058         * sunrpc/rpc_scan.c: Likewise.
33059         * sunrpc/rpc_scan.h: Likewise.
33060         * sunrpc/rpc_svcout.c: Likewise.
33061         * sunrpc/rpc_tblout.c: Likewise.
33062         * sunrpc/rpc_util.c: Likewise.
33063         * sunrpc/rpc_util.h: Likewise.
33064         * sunrpc/rpcinfo.c: Likewise.
33065         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
33066         * sunrpc/rpcsvc/key_prot.x: Likewise.
33067         * sunrpc/rpcsvc/klm_prot.x: Likewise.
33068         * sunrpc/rpcsvc/mount.x: Likewise.
33069         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
33070         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
33071         * sunrpc/rpcsvc/rex.x: Likewise.
33072         * sunrpc/rpcsvc/rstat.x: Likewise.
33073         * sunrpc/rpcsvc/rusers.x: Likewise.
33074         * sunrpc/rpcsvc/sm_inter.x: Likewise.
33075         * sunrpc/rpcsvc/spray.x: Likewise.
33076         * sunrpc/rpcsvc/yppasswd.x: Likewise.
33077         * sunrpc/rtime.c: Likewise.
33078         * sunrpc/svc.c: Likewise.
33079         * sunrpc/svc_auth.c: Likewise.
33080         * sunrpc/svc_authux.c: Likewise.
33081         * sunrpc/svc_raw.c: Likewise.
33082         * sunrpc/svc_run.c: Likewise.
33083         * sunrpc/svc_simple.c: Likewise.
33084         * sunrpc/svc_tcp.c: Likewise.
33085         * sunrpc/svc_udp.c: Likewise.
33086         * sunrpc/svc_unix.c: Likewise.
33087         * sunrpc/svcauth_des.c: Likewise.
33088         * sunrpc/xcrypt.c: Likewise.
33089         * sunrpc/xdr.c: Likewise.
33090         * sunrpc/xdr_array.c: Likewise.
33091         * sunrpc/xdr_float.c: Likewise.
33092         * sunrpc/xdr_mem.c: Likewise.
33093         * sunrpc/xdr_rec.c: Likewise.
33094         * sunrpc/xdr_ref.c: Likewise.
33095         * sunrpc/xdr_sizeof.c: Likewise.
33096         * sunrpc/xdr_stdio.c: Likewise.
33098         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
33099         handling.
33101 2010-08-19  Andreas Schwab  <schwab@redhat.com>
33103         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
33105 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
33107         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
33108         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
33109         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
33110         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
33111         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
33112         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
33113         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
33114         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
33115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
33116         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
33117         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
33118         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
33119         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
33120         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
33122 2010-07-26  Anton Blanchard  <anton@samba.org>
33124         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
33125         * malloc/arena.c (heap_trim): Likewise.
33127 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
33129         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
33130         here.  Not...
33131         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
33132         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
33134 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33136         * sysdeps/i386/elf/Makefile: New file.
33138 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33140         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
33141         from fanotify_init.
33142         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
33143         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33145 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
33147         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
33148         of strncasecmp_l.
33149         * sysdeps/multiarch/strcmp.S: Likewise.
33151 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
33153         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33154         strncase_l-nonascii.
33155         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33156         Add strncase_l-ssse3.
33157         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
33158         * sysdeps/x86_64/strcmp.S: Likewise.
33159         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
33160         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
33161         * sysdeps/x86_64/strncase.S: New file.
33162         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
33163         * sysdeps/x86_64/strncase_l.S: New file.
33164         * string/Makefile (strop-tests): Add strncasecmp.
33165         * string/test-strncasecmp.c: New file.
33167         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
33168         warning.
33170         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
33171         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
33173 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
33175         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
33177 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
33179         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
33180         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
33181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
33183 2010-05-01  Alan Modra  <amodra@gmail.com>
33185         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
33186         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
33187         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
33188         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
33189         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
33190         tidying.  Don't tail-call __sigjmp_save for static lib.
33191         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
33192         save location.
33193         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
33194         (CALL_MCOUNT): Add eh info, and nop after bl.
33195         (TAIL_CALL_SYSCALL_ERROR): New macro.
33196         (PSEUDO_RET): Use it.
33197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
33198         Correct save location of integer regs and cr.
33199         (_dl_profile_resolve): Correct cr save location.  Delete nops
33200         after bl when SHARED.  Reduce cfi size a little by better
33201         placement of cfi directives.
33202         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
33203         make a stack frame.  Instead use parm save area as a temp.
33204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
33205         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
33206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
33207         Don't make a stack frame for parent, use parm save area.
33208         Increase child stack frame to 112 bytes.  Don't save unused reg,
33209         and adjust reg usage.  Set up cfi on error recovery and
33210         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
33211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
33212         (__makecontext): Add dummy nop after jump to exit.
33213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
33214         Use correct parm save area and cr save, reduce stack frame.
33215         Correct cfi for possible PSEUDO_RET frame setup.
33216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
33217         Branch to local label emitted by PSEUDO_RET rather than
33218         __syscall_error.
33220 2010-08-12  Andreas Schwab  <schwab@redhat.com>
33222         [BZ #11904]
33223         * locale/programs/locale.c (print_assignment): New function.
33224         (show_locale_vars): Use it.
33226 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
33228         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
33229         field.
33230         (struct statfs64): Likewise.
33231         (_STATFS_F_FLAGS): Define.
33232         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
33233         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33234         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
33235         (ST_VALID): Define locally.
33236         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
33237         __statvfs_getflags, use the provided value.
33238         * sysdeps/unix/sysv/linux/kernel-features.h: Define
33239         __ASSUME_STATFS_F_FLAGS.
33241         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
33243         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
33244         Add sys/fanotify.h.
33245         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
33246         fanotify_mask for GLIBC_2.13.
33247         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
33248         fanotify_init and fanotify_mark.
33249         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
33250         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
33252         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
33253         Add prlimit.
33254         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
33255         prlimit64 for GLIBC_2.13.
33256         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
33257         prlimit64.
33258         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
33259         syscall.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
33261         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33262         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
33263         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
33264         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
33265         add prlimit alias.
33266         * sysdeps/unix/sysv/linux/prlimit.c: New file.
33268         [BZ #11903]
33269         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
33270         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
33272         * nss/Makefile: Add rules to build and run tst-nss-test1.
33273         * shlib-versions: Add entry for libnss_test1.
33274         * nss/nss_test1.c: New file.
33275         * nss/tst-nss-test1.c: New file.
33277         * nss/nsswitch.c (__nss_database_custom): Define new variable.
33278         (__nss_configure_lookup): Set appropriate entry in
33279         __nss_configure_lookup to true.
33280         * nss/nsswitch.h: Define enum with indeces of databases in
33281         databases and __nss_database_custom arrays.  Declare
33282         __nss_database_custom.
33283         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
33284         to avoid using nscd when custom rules are installed.
33285         * nss/getXXbyYY_r.c: Likewise.
33286         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33288         * nss/nss_files/files-parse.c: Whitespace fixes.
33290 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
33292         [BZ #11883]
33293         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
33294         * posix/fnmatch_loop.c: Likewise.
33296 2010-07-17  Andi Kleen  <ak@linux.intel.com>
33298         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
33299         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
33300         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
33301         * Versions.def [GLIBC_2.13]: Add.
33303 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
33305         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33306         Also fail if tpwd after pwuid call is NULL.
33308 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33310         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
33311         when converting to ms.
33313 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33315         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
33316         EOPNOTSUPP errors with ENOTTY.
33317         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
33318         EOPNOTSUPP errors with ENOTTY.
33320 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
33322         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
33323         Add strcasecmp_l-ssse3.
33324         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
33325         strcasecmp.
33326         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
33327         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
33328         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
33330 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
33332         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
33334         * string/Makefile (strop-tests): Add strcasecmp.
33335         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
33336         strcasecmp_l-nonascii.
33337         (gen-as-const-headers): Add locale-defines.sym.
33338         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
33339         * sysdeps/x86_64/strcasecmp.S: New file.
33340         * sysdeps/x86_64/strcasecmp_l.S: New file.
33341         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
33342         * sysdeps/x86_64/locale-defines.sym: New file.
33343         * string/test-strcasecmp.c: New file.
33345         * string/test-strcasestr.c: Test both ends of the range of characters.
33346         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
33348 2010-07-29  Roland McGrath  <roland@redhat.com>
33350         [BZ #11856]
33351         * manual/locale.texi (Yes-or-No Questions): Fix example code.
33353 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
33355         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
33356         for ld.so.
33358 2010-07-27  Andreas Schwab  <schwab@redhat.com>
33360         * manual/memory.texi (Malloc Tunable Parameters): Document
33361         M_PERTURB.
33363 2010-07-26  Roland McGrath  <roland@redhat.com>
33365         [BZ #11840]
33366         * configure.in (-fgnu89-inline check): Set and substitute
33367         gnu89_inline, not libc_cv_gnu89_inline.
33368         * configure: Regenerated.
33369         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
33371 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
33373         * string/test-strnlen.c: New file.
33374         * string/Makefile (strop-tests): Add strnlen.
33375         * string/tester.c (test_strnlen): Add a few more test cases.
33376         * string/tst-strlen.c: Better error reporting.
33378         * sysdeps/x86_64/strnlen.S: New file.
33380 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
33382         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
33383         lower-latency instructions.
33385 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
33387         * string/test-strcasestr.c: New file.
33388         * string/test-strstr.c: New file.
33389         * string/Makefile (strop-tests): Add strstr and strcasestr.
33390         * string/str-two-way.h: Don't undefine MAX.
33391         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
33393 2010-07-21  Andreas Schwab  <schwab@redhat.com>
33395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33396         strcasestr-nonascii.
33397         (CFLAGS-strcasestr-nonascii.c): Define.
33398         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
33399         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
33400         Remove unused attribute.
33402 2010-07-20  Roland McGrath  <roland@redhat.com>
33404         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
33405         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
33406         ld.so.cache was broken.  With it, there is no way to disable dsocaps
33407         like LD_HWCAP_MASK can disable hwcaps.
33409 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33411         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
33413 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
33415         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
33416         call in strcasestr.
33417         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
33418         __strcasestr_sse42_nonascii.
33419         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
33420         strcasestr-nonascii.c.
33421         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
33423 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
33425         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
33426         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
33427         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
33428         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
33430 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
33432         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
33433         fcntl.
33435 2010-07-06  Andreas Schwab  <schwab@redhat.com>
33437         [BZ #11577]
33438         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
33439         dl_signal_cerror.
33441 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
33443         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
33444         _PC_PIPE_BUF using F_GETPIPE_SZ.
33446 2010-07-05  Roland McGrath  <roland@redhat.com>
33448         * manual/arith.texi (Rounding Functions): Fix rint description
33449         implicit in round description.
33451 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
33453         * elf/Makefile: Fix linking for a few tests to make recent linker
33454         happy.
33456 2010-06-30  Andreas Schwab  <schwab@redhat.com>
33458         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33459         $(common-objpfx)libc_nonshared.a.
33461 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
33463         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
33464         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
33465         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33466         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33467         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
33468         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
33469         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33470         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
33473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
33474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
33475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
33476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
33477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
33478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
33479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
33480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
33481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
33482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
33483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
33484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
33485         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
33486         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
33487         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
33488         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
33489         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
33490         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
33491         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
33492         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
33493         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
33494         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
33495         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
33496         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
33497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
33498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
33499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
33500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
33501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
33502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
33503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
33504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
33505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
33506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
33509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
33510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
33512 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
33514         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
33515         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
33516         * string/memmove.c (memmove): Renamed to ...
33517         (MEMMOVE): ...this.  Default to memmove.
33518         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
33519         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
33520         (END_CHK): Define.
33521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33522         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
33523         mempcpy-ssse3-back memmove-ssse3-back.
33524         * sysdeps/x86_64/multiarch/bcopy.S: New file .
33525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
33526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
33527         * sysdeps/x86_64/multiarch/memcpy.S: New file.
33528         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
33529         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
33530         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
33531         * sysdeps/x86_64/multiarch/memmove.c: New file.
33532         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
33533         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
33534         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
33535         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
33536         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
33537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
33538         Define.
33539         (index_Fast_Copy_Backward): Define.
33540         (HAS_ARCH_FEATURE): Define.
33541         (HAS_FAST_REP_STRING): Define.
33542         (HAS_FAST_COPY_BACKWARD): Define.
33544 2010-06-21  Andreas Schwab  <schwab@redhat.com>
33546         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33547         Restore proper fallback handling.
33549 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
33551         [BZ #11701]
33552         * posix/group_member.c (__group_member): Correct checking loop.
33554         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
33555         OOM in getpwuid_r correctly.  Return error number when the caller
33556         should return, otherwise -1.
33557         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
33558         call returning > 0 value.
33559         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
33561 2010-06-07  Andreas Schwab  <schwab@redhat.com>
33563         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
33564         libc_nonshared.a from targets in modules-names.
33566 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
33568         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
33569         requires it.
33571 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
33573         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
33574         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
33575         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
33576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
33578 2010-06-02  Andreas Schwab  <schwab@redhat.com>
33580         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
33582 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
33584         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
33585         and F_GETPIPE_SZ.
33586         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33587         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33588         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33589         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33590         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33591         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
33593 2010-06-14  Roland McGrath  <roland@redhat.com>
33595         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
33597 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
33599         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
33600         __REDIRECT followed by __THROW.
33601         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
33602         * posix/getopt.h (getopt): Likewise.
33604 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
33606         * hurd/lookup-at.c (__file_name_lookup_at): Accept
33607         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
33608         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
33609         in AT_FLAGS.
33610         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
33611         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
33613 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
33615         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
33617 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
33619         [BZ #11640]
33620         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33621         Properly check family and model.
33623 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
33625         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
33627 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
33629         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
33631 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
33633         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
33634         symbol reference.
33636 2010-05-19  Andreas Schwab  <schwab@redhat.com>
33638         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
33639         symbol reference.
33641 2010-05-21  Andreas Schwab  <schwab@redhat.com>
33643         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
33644         and internal_recvmmsg.
33645         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
33646         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
33647         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
33648         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
33650         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
33651         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33652         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33654 2010-05-20  Andreas Schwab  <schwab@redhat.com>
33656         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
33658 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
33660         POWER7 optimizations.
33661         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
33662         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
33664 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
33666         * version.h: Update for 2.13 development version.
33668 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
33670         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
33671         exceptions.  Return 0.
33673 2010-05-07  Roland McGrath  <roland@redhat.com>
33675         * elf/ldconfig.c (main): Add a const.
33677 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
33679         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
33680         (args_options): Add no-idn option.
33681         (ahosts_keys_int): Add idn_flags to ai_flags.
33682         (parse_option): Handle 'i' option to clear idn_flags.
33684         * malloc/malloc.c (_int_free): Possible race in the most recently
33685         added check.  Only act on the data if no current modification
33686         happened.
33688 See ChangeLog.17 for earlier changes.